Deviliishh

God mode script

Sep 16th, 2019
61,996
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. godmode = false
  2.  
  3. game:GetService('RunService').Stepped:connect(function()
  4.     if godmode == true then
  5.         if game.Players.LocalPlayer.Character ~= nil then
  6.             if game.Players.LocalPlayer.Character:FindFirstChild("Right Leg") then
  7.                 game.Players.LocalPlayer.Character:FindFirstChild("Right Leg"):Destroy()
  8.             end
  9.         end
  10.     end
  11.     end)
  12.  
  13.  
  14. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  15. local lower = string.lower(msg)
  16.  
  17. if string.find(lower,";god") then
  18.     godmode = true      
  19. game.Players.LocalPlayer.Character:BreakJoints()
  20. end
  21.  
  22. if string.find(lower,";ungod") then
  23.     godmode = false      
  24. game.Players.LocalPlayer.Character:BreakJoints()
  25. end
  26. end)
  27. --[[
  28. Made by Link
  29. --]]
RAW Paste Data