Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can I attach something to my character so it follows me?

So, I'm trying to make something so I can push it around and control it, and I thought I might be able to attach it to my character. I might sound stupid, but I'm new to scripting. If this is possible, can someone tell me how to do it? If not, how else can I control and move a model?

1 answer

Yes this is very possible. To attach something to your character, we can use a Weld. Welds can be used like so:

local Player = game:GetService("Players").LocalPlayer

local Weld = Instance.new("Weld")
Weld.Part0 = Player.Character.HumanoidRootPart
Weld.C0 = Weld.Part0.CFrame:inverse()
Weld.Part1 = WHATEVERYOUWANTTOWELD
Weld.C1 = Weld.Part1.CFrame:inverse()

This discussion is preserved as it was. New answers, comments, and votes are closed.