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

Can someone please help me with CFraming your character?

Asked by 9 years ago

My friend gave me some coding and I turned it into a gui script and it makes your character turn into a crawler. I need help so change it so that it makes your character stand up like a normal robloxian character. I have been messing with the numbers to try my best to change it back to normal and I can't figure it out besides suiciding. Can someone please help me? If so, here is the coding:

function die() script.Parent.Parent.Parent.Parent.Character.Torso.Neck.C0 = CFrame.new(0,1.3,.2) * CFrame.Angles(math.rad(200),0,0) script.Parent.Parent.Parent.Parent.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(180),0,0) script.Parent.Parent.Parent.Parent.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(math.rad(-90),math.rad(90),0) script.Parent.Parent.Parent.Parent.Character.Torso["Left Shoulder"].C0 = CFrame.new(-2,0.5,0) * CFrame.Angles(math.rad(-90),math.rad(90),0) script.Parent.Parent.Parent.Parent.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(110),math.rad(-40)) script.Parent.Parent.Parent.Parent.Character.Torso["Left Hip"].C0 = CFrame.new(-.3,-1,0.4) * CFrame.Angles(0,math.rad(65),math.rad(-40)) end

script.Parent.MouseButton1Down:connect(die)

2
Code block it Mystdar 352 — 9y
0
script.Parent.Parent.Parent.Parent.Character:MakeJoints()? EzraNehemiah_TF2 3552 — 9y

Answer this question