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

My handle for my tool keeps glitching, can somebody help?

I had built a model for the first time, I am wanting to get the hang of building guns and all that. But when I joined my game I turned on the Handle and the gun fell of my arms. I'm new at scripting and I have nun clue on what to do. I would appreciate it if somebody can help me on scripting. My Profile is http://www.roblox.com/User.aspx?ID=18650646&ForcePublicView=true I am planning on building Modern, but yet futuristic guns. They won't have the real names, for example, M4A1, M16, AK-47, RPG, Etc. I wouldn't mind if I can have a partner either.

wisemarine

3 answers

Umm, so, did you remember to put into your custom a part that says handle?

3 comments

0

The new update with the studio I need to get use to. I tried inserting a part, formed the gun, then I did my best with the whole Handle thing.

0

Do I anchor the Model?

0

Not sure, sorry. Since you have the new update :P

If you have trouble DON'T anchor the model, but weld it together...

also you might want to weld it to a players hand.

--Welds

local weld = script.Parent:GetChildren()
for i=1, #weld do
local w = Instance.new("Weld")
w.Part0 = weld[i]
w.Part1 = script.Parent.Handle
w.C1 = CFrame.Angles() *CFrame.new()
w.Parent = weld[i]

Im not sure if this works.

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