Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. --SynapseX Decompiler
  2.  
  3. local Table = {
  4. EverySecondsLoop = 0.025,
  5. KickReason = "You have been kicked for using exploits.",
  6. MaxWalkSpeed = 30,
  7. MaxJumpPower = 100,
  8. MaxMagnitude = 200,
  9. RandomName = true
  10. }
  11. local uis = game:GetService("UserInputService")
  12. local Player = game.Players.LocalPlayer
  13. local Backpack = Player.Backpack
  14. local Character = Player.Character or Player.CharacterAdded:Wait()
  15. local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
  16. local PlayerHumanoid = Character:WaitForChild("Humanoid", 60)
  17. local SavedHRPPosition = HumanoidRootPart.Position
  18. local ExtraHRPPosition = HumanoidRootPart.Position
  19. local TpStreak = 1
  20. local function CheckForTP()
  21. if TpStreak == 1 then
  22. SavedHRPPosition = HumanoidRootPart.Position
  23. if (SavedHRPPosition - ExtraHRPPosition).Magnitude >= Table.MaxMagnitude then
  24. Player:Kick(Table.KickReason)
  25. end
  26. TpStreak = 2
  27. elseif TpStreak == 2 then
  28. ExtraHRPPosition = HumanoidRootPart.Position
  29. if (SavedHRPPosition - ExtraHRPPosition).Magnitude >= Table.MaxMagnitude then
  30. Player:Kick(Table.KickReason)
  31. end
  32. TpStreak = 1
  33. end
  34. end
  35. local function CheckForBtools()
  36. for i, v in pairs(Backpack:GetChildren()) do
  37. if v:IsA("HopperBin") and (v.Name == "GameTool" or v.Name == "Hammer" or v.Name == "Clone") then
  38. v:Destroy()
  39. end
  40. end
  41. end
  42. local function CheckForHumChanges()
  43. if PlayerHumanoid.WalkSpeed >= Table.MaxWalkSpeed then
  44. Player:Kick(Table.KickReason)
  45. end
  46. if PlayerHumanoid.JumpPower >= Table.MaxJumpPower then
  47. Player:Kick(Table.KickReason)
  48. end
  49. end
  50. local function CheckForFly()
  51. if Backpack:FindFirstChild("Fly Tool") or Backpack:FindFirstChild("Fly tool") or Backpack:FindFirstChild("Fly") then
  52. Player:Kick(Table.KickReason)
  53. end
  54. end
  55. if uis.KeyboardEnabled == true then
  56. while wait(Table.EverySecondsLoop) do
  57. CheckForHumChanges()
  58. CheckForTP()
  59. CheckForBtools()
  60. end
  61. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement