Advertisement
plytalent

god mode =)

Jul 15th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. local plrl = game:GetService("Players").LocalPlayer
  2. local mouse = plrl:GetMouse()
  3. local Character = plrl.Character
  4. god = false
  5. mouse.KeyDown:connect(function(key)
  6. if key == "q" then
  7. Character.Parent = workspace.Camera
  8. game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Part").Transparency = 0
  9. print("god = "..god)
  10. god = true
  11. end
  12. if key == "e" then
  13. Character.Parent = workspace
  14. game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Part").Transparency = 0
  15. print("god = "..god)
  16. god = false
  17. end
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement