Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

is there a way i can weld a tool on to a characters hand?

Asked by 4 years ago

I'm trying to weld a tool to a character. the tool has multiple parts in there. so i just grouped it together and welded it together. i want it stay on that spot relative to the model as the player moves.. basically i want it to be welded on to the characters wrist/fist/hand...... ty for reading and if you know the answer can you please elaborate or just paste the script. and can you tell me what script to use like local or just a normal script

1 answer

Log in to vote
1
Answered by 4 years ago
Edited 4 years ago

If you welded the tool together, then you could just weld the handle to the player's hand using a script

local tool -- the tool
local weld = Instance.new("weld")
weld.P0 = tool.handle
weld.P1 = player.Character.RightHand
weld.C1 = CFrame.new() * CFrame.Angles() -- use this to position the first where you want it relative to the hand
weld.Parent = tool.handle

This should be done in a server script if you want others to see the tool

0
ty so much Fxding_cam 60 — 4y
Ad

Answer this question