Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = owner
- char = plr.Character
- root = char.HumanoidRootPart
- tors = char.Torso
- hum = char.Humanoid
- spin = 0
- ezweld = function(p, a, b, cf)
- local weld = Instance.new("Weld",p)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = cf
- return weld
- end
- local mesh = Instance.new("SpecialMesh",tors)
- mesh.MeshId = "rbxassetid://444363980"
- mesh.TextureId = "rbxassetid://444363992"
- mesh.VertexColor = Vector3.new(1, 1, 1)
- mesh.Offset = Vector3.new(0, 0, 0)
- mesh.Scale = Vector3.new(0.5,0.5,0.5)
- local tilt = ezweld(char, tors, root, CFrame.Angles(0, math.rad(-90), 0))
- for i,v in pairs (char:GetDescendants()) do
- if v:IsA("Part") and v ~= tors then
- v.Transparency = 1
- end
- if v:IsA("Decal") then
- v:remove()
- end
- end
- while true do
- wait()
- hum.JumpPower = 67.5
- spin = spin + 40
- local state = hum:GetState()
- if state == Enum.HumanoidStateType.FallingDown or state == Enum.HumanoidStateType.Freefall or state == Enum.HumanoidStateType.Jumping then
- tilt.C0 = CFrame.Angles(spin, math.rad(-90), 0)
- else
- tilt.C0 = CFrame.Angles(0, math.rad(-90), 0)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement