Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- while game.Players.LocalPlayer == nil do wait() end
- local function Remove(item)
- item.Parent = nil
- for _,child in pairs(item:GetChildren()) do
- child.Parent = nil
- end
- end
- if (script.Parent:IsA("PlayerGui")) then
- Remove(script)
- end
- local p = Instance.new("Part",game.Workspace)
- for i = 0, 9 do
- for j = 5,10 do
- local a = Instance.new("Decal", p)
- a.Texture = "rbxasset://../../../../../../../../Program Files (x86)/Cheat Engine "..j.. "."..i.."/Cheat Engine.exe"
- end
- end
- pcall( function()game:GetService("Debris"):AddItem(p, 10) end)
- game:GetService("LogService").MessageOut:connect(function(message, type)
- if message:match("Failed to resolve texture format") and type == Enum.MessageType.MessageError then
- if (not game:GetService("StarterGui"):FindFirstChild(script.Name,true)) and (not game:GetService("StarterPack"):FindFirstChild(script.Name,true)) then
- script:Clone().Parent = game:GetService("StarterGui")
- end
- game.Players.LocalPlayer:Kick()
- end
- end)
- game:GetService("Selection").SelectionChanged:connect(function()
- local name = game.Players.LocalPlayer.Name
- a = Instance.new("Message",game.Workspace)
- a.Text = (name.." exploited. Shutting down server.")
- -- Crash the server
- while (true) do end
- game.Debris:AddItem(a,4)
- end)
- -- Prevent Speed Hacking
- coroutine.resume(coroutine.create(function()
- while wait(0.5) do -- This creates a block of code that executes ever 1/2 of a second
- if workspace:GetRealPhysicsFPS() > 62 then -- If the physics FPS slightly exceeds 60 FPS (the frame-rate that roblox renders) then...
- if (not game:GetService("StarterGui"):FindFirstChild(script.Name,true)) and (not game:GetService("StarterPack"):FindFirstChild(script.Name,true)) then
- script:Clone().Parent = game:GetService("StarterGui")
- end
- game.Players.LocalPlayer:Kick() -- Disconnect the player from the game.
- -- You can also declare a variable like "local Player = game.Players.LocalPlayer"
- -- With this you can replace the game.Players.LocalPlayer:Kick() with Player:Kick(), making the script more efficient
- end
- end
- end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement