Im working on a fps game and I want it to look realistic/cool. Help/Teach me if you can.
COMMUNITY QUESTION
How would I put gloves on a players hand?
1 answer
you need to create Right Glove with name RightGlove and put it into ReplicatedStorage, same with Left Glove
game.Players.PlayerAdded:Connect(function(player)
local char = player.Character or player.CharacterAdded:Wait()
local rhand = char:WaitForChild("RightHand")
local lhand = char:WaitForChild("LeftHand")
local rglove = game.ReplicatedStorage:WaitForChild("RightGlove")
local lglove = game.ReplicatedStorage:WaitForChild("LeftGlove")
rglove:Clone()
rglove.Parent = rhand
lglove:Clone()
lglove.Parent = lhand
local weld = Instance.new("Weld")
weld.Parent = rhand
weld.Part0 = rhand
weld.Part1 = rglove
local weld2 = Instance.new("Weld")
weld2.Parent = lhand
weld2.Part0 = lhand
weld2.Part1 = lglove
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
