Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plrl = game:GetService("Players").LocalPlayer
- local mouse = plrl:GetMouse()
- local Character = plrl.Character
- god = false
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- Character.Parent = workspace.Camera
- game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Part").Transparency = 0
- print("god = "..god)
- god = true
- end
- if key == "e" then
- Character.Parent = workspace
- game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Part").Transparency = 0
- print("god = "..god)
- god = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement