Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local RenderStepped = game.RunService.RenderStepped
- local HumanoidRootPart = Player.Character:WaitForChild("HumanoidRootPart", 5)
- function CharacterPosition(p, a, b, c, x, y, z)
- local BodyForce = Instance.new("BodyForce")
- BodyForce.Force = Vector3.new(0, 196.2, 0) * p:GetMass()
- BodyForce.Parent = p
- RenderStepped:Connect(function()
- p.CFrame = HumanoidRootPart.CFrame * CFrame.new(a, b, c) * CFrame.Angles(x, y, z)
- end)
- p:BreakJoints()
- end
- CharacterPosition(Player.Character["Left Arm"], -1, 1.5, 0, 0, 0, math.rad(-90))
- CharacterPosition(Player.Character["Right Arm"], 1.5, 1, 0, 0, 0, math.rad(180))
- CharacterPosition(Player.Character["Left Leg"], -1.5, -1, 0, 0, 0, math.rad(0))
- CharacterPosition(Player.Character["Right Leg"], 1, -1.5, 0, 0, 0, math.rad(90))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement