MaxproGlitcher

code play animation with servers side not my

Jun 26th, 2026
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1.  
  2.  
  3. local LocalPlayer = game:GetService("Players").LocalPlayer
  4. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  5.  
  6. task.spawn(function()
  7. local torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
  8. local root = Character.PrimaryPart
  9. if not torso or not torso:IsA("BasePart") or not root then return end
  10.  
  11. local positions = {
  12. vector.create(0, -4, 0),
  13. vector.create(0, 11, 15),
  14. vector.create(0, 11, -15),
  15. vector.create(-15, 11, 0),
  16. vector.create(15, 11, 0),
  17. vector.create(0, 26, 0),
  18. }
  19.  
  20. local rotations = {
  21. vector.create(0, 0, 90),
  22. vector.create(0, 90, 0),
  23. vector.create(0, 90, 0),
  24. vector.create(90, 0, 0),
  25. vector.create(90, 0, 0),
  26. vector.create(0, 0, 90),
  27. }
  28.  
  29. local newCF = CFrame.new
  30. local rootPos = root.Position
  31. for i = 1, #positions do
  32. torso.CFrame = newCF(rootPos + positions[i])
  33. torso.Rotation = rotations[i]
  34. end
  35. end)
Advertisement
Add Comment
Please, Sign In to add comment