How To Make a Wearable Vest | Roblox Studio

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 73

  • @LiOntae
    @LiOntae Год назад +17

    local function onPromptTrigger(player)
    if player.Character:findFirstChild("Humanoid") ~= nil and player.Character:findFirstChild("Handle") == nil then
    local g = script.Parent.Parent.Parent.Vest:Clone()
    g.Parent = player.Character
    local C = g:GetChildren()
    for i=1, #C do
    if C[i].ClassName == "Part" or C[i].ClassName == "UnionOperation" or C[i].ClassName == "MeshPart" then
    local W = Instance.new("Weld")
    W.Part0 = g.Middle
    W.Part1 = C[i]
    local CJ = CFrame.new(g.Middle.Position)
    local C0 = g.Middle.CFrame:Inverse()*CJ
    local C1 = C[i]CFrame:Inverse()
    W.C0 = C0
    W.C1 = C1
    W.Parent = g.Middle
    end
    local Y = Instance.new("Weld")
    Y.Part0 = player.Character.UpperTorso
    Y.Part1 = g.Middle
    Y.C0 = CFrame.new(0, 0, 0)
    Y.Parent = Y.Part0
    end
    local h = g:GetChildren()
    for i = 1, # h do
    h[i].Anchored = false
    h[i].CanCollide = false
    end
    end
    end
    script.Parent.Trggered:Connect(onPromptTriggered)

    • @matevarga5906
      @matevarga5906 Год назад

      a

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      -- You had a couple typos
      -- Actual Script below
      local function onPromptTrigger(player)
      if player.Character:findFirstChild("Humanoid") ~= nil and player.Character:findFirstChild("Vest") == nil then
      local g = script.Parent.Parent.Parent.Vest:Clone()
      g.Parent = player.Character
      local C = g:GetChildren()
      for i=1, #C do
      if C[i].ClassName == "Part" or C[i].ClassName == "UnionOperation" or C[i].ClassName == "MeshPart" then
      local W = Instance.new("Weld")
      W.Part0 = g.Middle
      W.Part1 = C[i]
      local CJ = CFrame.new(g.Middle.Position)
      local C0 = g.Middle.CFrame:Inverse()*CJ
      local C1 = C[i].CFrame:Inverse()*CJ
      W.C0 = C0
      W.C1 = C1
      W.Parent = g.Middle
      end
      local Y = Instance.new("Weld")
      Y.Part0 = player.Character.UpperTorso
      Y.Part1 = g.Middle
      Y.C0 = CFrame.new(0, 0, 0)
      Y.Parent = Y.Part0
      end
      local h = g:GetChildren()
      for i = 1, # h do
      h[i].Anchored = false
      h[i].CanCollide = false
      end
      end
      end
      -- Connect prompt events to handling functions
      script.Parent.Triggered:Connect(onPromptTrigger)

    • @cartersgaming3662
      @cartersgaming3662 2 месяца назад

      @@IRUnofficialMedia thanks

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      @@cartersgaming3662 np

  • @GuyWhoPlaysVideoGames
    @GuyWhoPlaysVideoGames Год назад

    awesome, every other tutorial for this is just about how to make MONEY, thank you so much

  • @johnnymiller272
    @johnnymiller272 11 месяцев назад +2

    If I place my vest on a table and try to equip it, I’m stuck inside of it. Im sure its a common question/isse but how do you fix that?

    • @luckysam48
      @luckysam48 11 месяцев назад

      don’t anchor it, weld it

    • @johnnymiller272
      @johnnymiller272 11 месяцев назад +1

      @@luckysam48 I got it fixed, thanks.

  • @iplaygames8655
    @iplaygames8655 9 месяцев назад +2

    tutorial on how to make these awsome vests

  • @Oper8tor_Torii
    @Oper8tor_Torii 8 месяцев назад

    Yo Tacdev I'm working on a game and Im new yo devving I wanna make a click to equip uniforms could you make a video about that?
    Cause all the videos i watched on how to make click to equip clothes dont work

    • @TacDeveloper
      @TacDeveloper  8 месяцев назад

      Will do, video should be released within the next 2-3 hours! Stay safe!

  • @Treyasure1
    @Treyasure1 2 месяца назад

    Hey! I am making a Los Angeles Based game and I was wondering if you wanted to be the head dev? I have been the only dev and it has been really stressful.

    • @TacDeveloper
      @TacDeveloper  2 месяца назад

      This is an interesting opportunity. I have a few questions. Please add my Discord @kilethro

    • @Treyasure1
      @Treyasure1 2 месяца назад

      @@TacDeveloper Thank you! I will add you soon!

    • @Treyasure1
      @Treyasure1 2 месяца назад

      @@TacDeveloper I sent you one.

    • @NEZEKUVR
      @NEZEKUVR Месяц назад

      Hello, I sent you a Discord friend request but I’m wondering how do I even make a vest because I’m trying to make it for my friends game and I don’t even know how to get a vest make a vest and I wouldn’t know how to send it to him to import it to his game

  • @Oper8tor_Torii
    @Oper8tor_Torii 8 месяцев назад

    Hey TacDev I was wondering do you know how to make click to equip vests,helmets,belts etc etc instead of the proximity?

  • @GoToTheAlmightyJesus
    @GoToTheAlmightyJesus 9 месяцев назад

    when you bought the locker did it come with stuff in it or did you have to put stuff in it?

  • @MP2Gaming-q4o
    @MP2Gaming-q4o 19 дней назад

    How do you get the () just the other one the strait one?

  • @Nex12343
    @Nex12343 6 месяцев назад

    Question. What gear(Like multicam or JPC etc from your store) would an average u.s army Milsim

    • @TacDeveloper
      @TacDeveloper  6 месяцев назад

      the average american infantry soldiers uses IOTV carriers.

    • @Nex12343
      @Nex12343 6 месяцев назад

      @@TacDeveloper I hope I'm not bothering you but what Carrier should I buy if my faction is based on the afghanistan war?

    • @TacDeveloper
      @TacDeveloper  6 месяцев назад

      @@Nex12343 Im releasing some gear packs based around that era on my payhip soon

    • @Nex12343
      @Nex12343 6 месяцев назад

      @@TacDeveloper Great. Tysm!

  • @NSWRPROBLOX
    @NSWRPROBLOX 11 месяцев назад

    Nice

  • @NEZEKUVR
    @NEZEKUVR Месяц назад

    Hello, I sent you a Discord for request, but I’m wondering how to I make a vest and then send it to my friend for his game

  • @Cadet-CobraKSP
    @Cadet-CobraKSP 6 месяцев назад +1

    Hiya, was just wondering if you would be able to help me with a vest? i've done everything in the video but nothing seems to be working!

    • @brookvlogs8323
      @brookvlogs8323 3 месяца назад

      I'm having the same problem

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      @@Cadet-CobraKSP I have replied to several comments with the same issue. Try the code from there

  • @boomersawyer4976
    @boomersawyer4976 Год назад

    Hey, I recognize that gear locker from SIMSTORE. How did you set it up?

    • @TacDeveloper
      @TacDeveloper  Год назад

      Hey! I actually made the gear locker, however I used SimStores locker as a reference!

  • @JustAzureYT..
    @JustAzureYT.. Год назад +1

    TacDev is Underrated

  • @TacDeveloper
    @TacDeveloper  Год назад +1

    Middle Part Link: create.roblox.com/marketplace/asset/13611263299/Middle-Part
    Milsim Asset Website: payhip.com/TacReal

  • @McAlexedits
    @McAlexedits 6 месяцев назад

    Can you help me geta a black vest into my game ?

    • @TacDeveloper
      @TacDeveloper  6 месяцев назад

      Yes, feel free to reach out to me on Discord. @TacDev

  • @W-keyHxrry
    @W-keyHxrry Год назад

    Please can you help me, i got all of the middle part, i done the script, i done everything u said to do. But, it dosent work when i press and hold interact. And, im in R6 and everything. Please help me.

    • @TacDeveloper
      @TacDeveloper  Год назад

      Please contact my discord if you’re experiencing problems. Thanks!

  • @Acrylllic
    @Acrylllic Год назад

    Hi tacdev, for some reason, when i try to put it on it puts me in the ground how can i fix this?

  • @roadrunne_r
    @roadrunne_r Год назад

    This is really good but can you post the scripting here in the comments to make it easier?

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      local function onPromptTrigger(player)
      if player.Character:findFirstChild("Humanoid") ~= nil and player.Character:findFirstChild("Vest") == nil then
      local g = script.Parent.Parent.Parent.Vest:Clone()
      g.Parent = player.Character
      local C = g:GetChildren()
      for i=1, #C do
      if C[i].ClassName == "Part" or C[i].ClassName == "UnionOperation" or C[i].ClassName == "MeshPart" then
      local W = Instance.new("Weld")
      W.Part0 = g.Middle
      W.Part1 = C[i]
      local CJ = CFrame.new(g.Middle.Position)
      local C0 = g.Middle.CFrame:Inverse()*CJ
      local C1 = C[i].CFrame:Inverse()*CJ
      W.C0 = C0
      W.C1 = C1
      W.Parent = g.Middle
      end
      local Y = Instance.new("Weld")
      Y.Part0 = player.Character.UpperTorso
      Y.Part1 = g.Middle
      Y.C0 = CFrame.new(0, 0, 0)
      Y.Parent = Y.Part0
      end
      local h = g:GetChildren()
      for i = 1, # h do
      h[i].Anchored = false
      h[i].CanCollide = false
      end
      end
      end
      -- Connect prompt events to handling functions
      script.Parent.Triggered:Connect(onPromptTrigger)

  • @BishopGabby
    @BishopGabby Год назад

    Can we really have the script? I don't know how to script, not do I understand the entirity of it. I hope you would, the build is amazing so I hope you would. Thanks, man!

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      local function onPromptTrigger(player)
      if player.Character:findFirstChild("Humanoid") ~= nil and player.Character:findFirstChild("Vest") == nil then
      local g = script.Parent.Parent.Parent.Vest:Clone()
      g.Parent = player.Character
      local C = g:GetChildren()
      for i=1, #C do
      if C[i].ClassName == "Part" or C[i].ClassName == "UnionOperation" or C[i].ClassName == "MeshPart" then
      local W = Instance.new("Weld")
      W.Part0 = g.Middle
      W.Part1 = C[i]
      local CJ = CFrame.new(g.Middle.Position)
      local C0 = g.Middle.CFrame:Inverse()*CJ
      local C1 = C[i].CFrame:Inverse()*CJ
      W.C0 = C0
      W.C1 = C1
      W.Parent = g.Middle
      end
      local Y = Instance.new("Weld")
      Y.Part0 = player.Character.UpperTorso
      Y.Part1 = g.Middle
      Y.C0 = CFrame.new(0, 0, 0)
      Y.Parent = Y.Part0
      end
      local h = g:GetChildren()
      for i = 1, # h do
      h[i].Anchored = false
      h[i].CanCollide = false
      end
      end
      end
      -- Connect prompt events to handling functions
      script.Parent.Triggered:Connect(onPromptTrigger)

  • @caughtby_trym
    @caughtby_trym 5 месяцев назад

    I want the assets where is the discord link?

  • @brookvlogs8323
    @brookvlogs8323 3 месяца назад

    it doesn't work for me

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      local function onPromptTrigger(player)
      if player.Character:findFirstChild("Humanoid") ~= nil and player.Character:findFirstChild("Vest") == nil then
      local g = script.Parent.Parent.Parent.Vest:Clone()
      g.Parent = player.Character
      local C = g:GetChildren()
      for i=1, #C do
      if C[i].ClassName == "Part" or C[i].ClassName == "UnionOperation" or C[i].ClassName == "MeshPart" then
      local W = Instance.new("Weld")
      W.Part0 = g.Middle
      W.Part1 = C[i]
      local CJ = CFrame.new(g.Middle.Position)
      local C0 = g.Middle.CFrame:Inverse()*CJ
      local C1 = C[i].CFrame:Inverse()*CJ
      W.C0 = C0
      W.C1 = C1
      W.Parent = g.Middle
      end
      local Y = Instance.new("Weld")
      Y.Part0 = player.Character.UpperTorso
      Y.Part1 = g.Middle
      Y.C0 = CFrame.new(0, 0, 0)
      Y.Parent = Y.Part0
      end
      local h = g:GetChildren()
      for i = 1, # h do
      h[i].Anchored = false
      h[i].CanCollide = false
      end
      end
      end
      -- Connect prompt events to handling functions
      script.Parent.Triggered:Connect(onPromptTrigger)

  • @qihh1023
    @qihh1023 10 месяцев назад

    why i cant wear it???

    • @TacDeveloper
      @TacDeveloper  10 месяцев назад

      Rewatch the video, you most likely made a grammatical error.

    • @qihh1023
      @qihh1023 10 месяцев назад +1

      ok thanks@@TacDeveloper

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      @@qihh1023 local function onPromptTrigger(player)
      if player.Character:findFirstChild("Humanoid") ~= nil and player.Character:findFirstChild("Vest") == nil then
      local g = script.Parent.Parent.Parent.Vest:Clone()
      g.Parent = player.Character
      local C = g:GetChildren()
      for i=1, #C do
      if C[i].ClassName == "Part" or C[i].ClassName == "UnionOperation" or C[i].ClassName == "MeshPart" then
      local W = Instance.new("Weld")
      W.Part0 = g.Middle
      W.Part1 = C[i]
      local CJ = CFrame.new(g.Middle.Position)
      local C0 = g.Middle.CFrame:Inverse()*CJ
      local C1 = C[i].CFrame:Inverse()*CJ
      W.C0 = C0
      W.C1 = C1
      W.Parent = g.Middle
      end
      local Y = Instance.new("Weld")
      Y.Part0 = player.Character.UpperTorso
      Y.Part1 = g.Middle
      Y.C0 = CFrame.new(0, 0, 0)
      Y.Parent = Y.Part0
      end
      local h = g:GetChildren()
      for i = 1, # h do
      h[i].Anchored = false
      h[i].CanCollide = false
      end
      end
      end
      -- Connect prompt events to handling functions
      script.Parent.Triggered:Connect(onPromptTrigger)

  • @hypertykkel2445
    @hypertykkel2445 8 месяцев назад

    doesnt work i did all right

    • @TacDeveloper
      @TacDeveloper  4 месяца назад

      then you didn’t do it right. check the output. It has and still does work for multiple other viewers.

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      local function onPromptTrigger(player)
      if player.Character:findFirstChild("Humanoid") ~= nil and player.Character:findFirstChild("Vest") == nil then
      local g = script.Parent.Parent.Parent.Vest:Clone()
      g.Parent = player.Character
      local C = g:GetChildren()
      for i=1, #C do
      if C[i].ClassName == "Part" or C[i].ClassName == "UnionOperation" or C[i].ClassName == "MeshPart" then
      local W = Instance.new("Weld")
      W.Part0 = g.Middle
      W.Part1 = C[i]
      local CJ = CFrame.new(g.Middle.Position)
      local C0 = g.Middle.CFrame:Inverse()*CJ
      local C1 = C[i].CFrame:Inverse()*CJ
      W.C0 = C0
      W.C1 = C1
      W.Parent = g.Middle
      end
      local Y = Instance.new("Weld")
      Y.Part0 = player.Character.UpperTorso
      Y.Part1 = g.Middle
      Y.C0 = CFrame.new(0, 0, 0)
      Y.Parent = Y.Part0
      end
      local h = g:GetChildren()
      for i = 1, # h do
      h[i].Anchored = false
      h[i].CanCollide = false
      end
      end
      end
      -- Connect prompt events to handling functions
      script.Parent.Triggered:Connect(onPromptTrigger)

  • @Eu_DE_Games
    @Eu_DE_Games 11 месяцев назад

    doesnt work :(

    • @TacDeveloper
      @TacDeveloper  10 месяцев назад

      Check the output tab! you most likely made a grammatical error.

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      local function onPromptTrigger(player)
      if player.Character:findFirstChild("Humanoid") ~= nil and player.Character:findFirstChild("Vest") == nil then
      local g = script.Parent.Parent.Parent.Vest:Clone()
      g.Parent = player.Character
      local C = g:GetChildren()
      for i=1, #C do
      if C[i].ClassName == "Part" or C[i].ClassName == "UnionOperation" or C[i].ClassName == "MeshPart" then
      local W = Instance.new("Weld")
      W.Part0 = g.Middle
      W.Part1 = C[i]
      local CJ = CFrame.new(g.Middle.Position)
      local C0 = g.Middle.CFrame:Inverse()*CJ
      local C1 = C[i].CFrame:Inverse()*CJ
      W.C0 = C0
      W.C1 = C1
      W.Parent = g.Middle
      end
      local Y = Instance.new("Weld")
      Y.Part0 = player.Character.UpperTorso
      Y.Part1 = g.Middle
      Y.C0 = CFrame.new(0, 0, 0)
      Y.Parent = Y.Part0
      end
      local h = g:GetChildren()
      for i = 1, # h do
      h[i].Anchored = false
      h[i].CanCollide = false
      end
      end
      end
      -- Connect prompt events to handling functions
      script.Parent.Triggered:Connect(onPromptTrigger)

  • @sky_1468
    @sky_1468 Год назад

    Didnt work

    • @TacDeveloper
      @TacDeveloper  Год назад

      Contact me on Discord and I will help you find the issue!

    • @sky_1468
      @sky_1468 Год назад

      never mind, I figured out what was the problem.@@TacDeveloper

    • @pumpkinwarrior5713
      @pumpkinwarrior5713 4 месяца назад

      @@sky_1468 yo what was the problem? im having the same thing i think, i have the code and everything right it just wont let me

    • @MIROSLAV94
      @MIROSLAV94 3 месяца назад

      @@pumpkinwarrior5713 Same bro, have you figured it out yet?

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      local function onPromptTrigger(player)
      if player.Character:findFirstChild("Humanoid") ~= nil and player.Character:findFirstChild("Vest") == nil then
      local g = script.Parent.Parent.Parent.Vest:Clone()
      g.Parent = player.Character
      local C = g:GetChildren()
      for i=1, #C do
      if C[i].ClassName == "Part" or C[i].ClassName == "UnionOperation" or C[i].ClassName == "MeshPart" then
      local W = Instance.new("Weld")
      W.Part0 = g.Middle
      W.Part1 = C[i]
      local CJ = CFrame.new(g.Middle.Position)
      local C0 = g.Middle.CFrame:Inverse()*CJ
      local C1 = C[i].CFrame:Inverse()*CJ
      W.C0 = C0
      W.C1 = C1
      W.Parent = g.Middle
      end
      local Y = Instance.new("Weld")
      Y.Part0 = player.Character.UpperTorso
      Y.Part1 = g.Middle
      Y.C0 = CFrame.new(0, 0, 0)
      Y.Parent = Y.Part0
      end
      local h = g:GetChildren()
      for i = 1, # h do
      h[i].Anchored = false
      h[i].CanCollide = false
      end
      end
      end
      -- Connect prompt events to handling functions
      script.Parent.Triggered:Connect(onPromptTrigger)

  • @idk_what_put_here
    @idk_what_put_here 3 месяца назад

    Suck,Dont work

    • @IRUnofficialMedia
      @IRUnofficialMedia 2 месяца назад

      local function onPromptTrigger(player)
      if player.Character:findFirstChild("Humanoid") ~= nil and player.Character:findFirstChild("Vest") == nil then
      local g = script.Parent.Parent.Parent.Vest:Clone()
      g.Parent = player.Character
      local C = g:GetChildren()
      for i=1, #C do
      if C[i].ClassName == "Part" or C[i].ClassName == "UnionOperation" or C[i].ClassName == "MeshPart" then
      local W = Instance.new("Weld")
      W.Part0 = g.Middle
      W.Part1 = C[i]
      local CJ = CFrame.new(g.Middle.Position)
      local C0 = g.Middle.CFrame:Inverse()*CJ
      local C1 = C[i].CFrame:Inverse()*CJ
      W.C0 = C0
      W.C1 = C1
      W.Parent = g.Middle
      end
      local Y = Instance.new("Weld")
      Y.Part0 = player.Character.UpperTorso
      Y.Part1 = g.Middle
      Y.C0 = CFrame.new(0, 0, 0)
      Y.Parent = Y.Part0
      end
      local h = g:GetChildren()
      for i = 1, # h do
      h[i].Anchored = false
      h[i].CanCollide = false
      end
      end
      end
      -- Connect prompt events to handling functions
      script.Parent.Triggered:Connect(onPromptTrigger)

  • @kaiserluch9322
    @kaiserluch9322 Год назад

    Yo do you have discord I can pay u to help me with some stuff.

    • @TacDeveloper
      @TacDeveloper  Год назад

      Sure, however I wont be available for the month of july due to personal issues.

  • @FLRsoxxx
    @FLRsoxxx 4 месяца назад

    does it have to be r6?

    • @TacDeveloper
      @TacDeveloper  4 месяца назад

      Nope. It should work with R15.