Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1.  
  2.  
  3.  
  4. wait()
  5. while game.Players.LocalPlayer == nil do wait() end
  6.  
  7.  
  8. local function Remove(item)
  9. item.Parent = nil
  10. for _,child in pairs(item:GetChildren()) do
  11. child.Parent = nil
  12. end
  13. end
  14.  
  15.  
  16. if (script.Parent:IsA("PlayerGui")) then
  17. Remove(script)
  18. end
  19.  
  20.  
  21. local p = Instance.new("Part",game.Workspace)
  22. for i = 0, 9 do
  23. for j = 5,10 do
  24. local a = Instance.new("Decal", p)
  25. a.Texture = "rbxasset://../../../../../../../../Program Files (x86)/Cheat Engine "..j.. "."..i.."/Cheat Engine.exe"
  26. end
  27. end
  28. pcall( function()game:GetService("Debris"):AddItem(p, 10) end)
  29.  
  30.  
  31. game:GetService("LogService").MessageOut:connect(function(message, type)
  32. if message:match("Failed to resolve texture format") and type == Enum.MessageType.MessageError then
  33. if (not game:GetService("StarterGui"):FindFirstChild(script.Name,true)) and (not game:GetService("StarterPack"):FindFirstChild(script.Name,true)) then
  34. script:Clone().Parent = game:GetService("StarterGui")
  35. end
  36. game.Players.LocalPlayer:Kick()
  37. end
  38. end)
  39.  
  40.  
  41. game:GetService("Selection").SelectionChanged:connect(function()
  42. local name = game.Players.LocalPlayer.Name
  43. a = Instance.new("Message",game.Workspace)
  44. a.Text = (name.." exploited. Shutting down server.")
  45. -- Crash the server
  46. while (true) do end
  47. game.Debris:AddItem(a,4)
  48. end)
  49.  
  50.  
  51. -- Prevent Speed Hacking
  52. coroutine.resume(coroutine.create(function()
  53. while wait(0.5) do -- This creates a block of code that executes ever 1/2 of a second
  54. if workspace:GetRealPhysicsFPS() > 62 then -- If the physics FPS slightly exceeds 60 FPS (the frame-rate that roblox renders) then...
  55. if (not game:GetService("StarterGui"):FindFirstChild(script.Name,true)) and (not game:GetService("StarterPack"):FindFirstChild(script.Name,true)) then
  56. script:Clone().Parent = game:GetService("StarterGui")
  57. end
  58. game.Players.LocalPlayer:Kick() -- Disconnect the player from the game.
  59. -- You can also declare a variable like "local Player = game.Players.LocalPlayer"
  60. -- With this you can replace the game.Players.LocalPlayer:Kick() with Player:Kick(), making the script more efficient
  61. end
  62. end
  63. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement