Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Functions
- function AP(Char, M6Name, o1, o2, o3, p1, p2, p3)
- local o = CFrame.fromOrientation(tonumber(o1), tonumber(o2), tonumber(o3))
- local p = Vector3.new(tonumber(p1), tonumber(p2), tonumber(p3))
- if Char:FindFirstChild("Torso") then
- if Char.Torso:FindFirstChild(M6Name) then
- Char.Torso:FindFirstChild(M6Name).C1 = o + p
- end
- end
- end
- -- Run
- while true do
- for i, Player in pairs(game.Players:GetChildren()) do
- if game.Workspace:FindFirstChild(Player.Name) then
- AP(game.Workspace:FindFirstChild(Player.Name), 'Left Hip', -2.5, 135, 0, 0, -0.5, 0)
- AP(game.Workspace:FindFirstChild(Player.Name), 'Left Shoulder', -2.5, 135, 0, 0, -0.5, 0)
- AP(game.Workspace:FindFirstChild(Player.Name), 'Right Shoulder', -2.5, 135, 0, 0, -0.5, 0)
- AP(game.Workspace:FindFirstChild(Player.Name), 'Right Hip', -2.5, 135, 0, 0, -0.5, 0)
- end
- end
- wait(0.05)
- end
Advertisement
Add Comment
Please, Sign In to add comment