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

How to weld this?

Hi guys I'd like to weld a part called "Ring" to player legs.

if chat:lower() == "fly" and checkadmin(v) and v.onstand.Value == true and v.fly.Value == false then
		v.fly.Value = true
		t = game.Workspace.Rest.Ring
		copy = game.Lighting.FlyScript:Clone()
		copy.Parent = v.Backpack
		copy.Disabled = false	

It should look like player is flying on the part, Can You please help me?

2 answers

✓ Accepted answer

I guess you want something like this?

v.fly.Value = true
local t = game.Workspace.Rest.Ring:clone()
t.Parent = game.Workspace

local w = Instance.new( "Weld",  v.Character.Torso )
w.Part0 = w.Parent
w.Part1 = t
w.C0 = CFrame.new( 0, -3, 0 )

local copy = game.Lighting.FlyScript:clone()
copy.Parent = v.Backpack
copy.Disabled = false

1 comment

0

Yes Thank You!

If you want to learn more about welding and how to weld things yourself watch this video, it taught me how to weld things.

https://www.youtube.com/watch?v=eBMWLUAgNMs

note: I wanted to post this as a comment and not as an answer but I didn't see where comment reply was

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