Advertisement
Zuklim65

Test.lol

Jan 10th, 2025
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. Humanoid
  2.  
  3. repeat
  4. RootPart.CFrame = getgenv().OldPos * CFrame.new(0, .5, 0)
  5. Character:SetPrimaryPartCFrame(getgenv().OldPos * CFrame.new(0, .5, 0))
  6. Humanoid:ChangeState("GettingUp")
  7. table.foreach(Character:GetChildren(), function(_, x)
  8. if x:IsA("BasePart") then
  9. x.Velocity, x.RotVelocity = Vector3.new(), Vector3.new()
  10. end
  11. end)
  12. task.wait()
  13. until (RootPart.Position - getgenv().OldPos.p).Magnitude < 25
  14. workspace.FallenPartsDestroyHeight = getgenv().FPDH
  15. else
  16. return Message("Error Occurred", "Random error", 5)
  17. end
  18. end
  19.  
  20. TextButton.MouseButton1Click:Connect(function()
  21. local targetName = TextBox.Text
  22. local targetPlayer = GetPlayer(targetName)
  23.  
  24. if targetPlayer then
  25. SkidFling(targetPlayer)
  26. else
  27. Message("Error Occurred", "Invalid username", 5)
  28. end
  29. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement