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

How do I attach a part to a character's hand like a weapon?

Asked by 6 years ago
Edited 6 years ago

I've tried using weld constraints and attachments but they always end up glitching the char out. I'm not sure what else to do at this point. Here's what keeps happening: https://gyazo.com/bfbd104efdef01dcbe29fe90c3f12d79

Here's part of my script as well:

local s = game.ReplicatedStorage.RedBlade:Clone() s.Parent = game.Workspace s.CFrame = char.HumanoidRootPart.CFrame s.CanCollide = false s.Anchored = false local w = Instance.new("Weld") w.Parent = char w.Part0 = char.RightHand w.Part1 = s w.C0 = char.RightHand.CFrame en = true

0
why don't you use a tool? chomboghai 2044 — 6y
0
its supposed to be an ability that attachs a weapon to your body for a few seconds NikkoTheJesusMan 3 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

You would make a Weld and have Part0 set as your hand, and Part1 set as the Handle or part that you’re trying to connect.

0
didnt work NikkoTheJesusMan 3 — 6y
Ad

Answer this question