Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plrx = game:GetService"Players".LocalPlayer
- local mx = plrx:GetMouse()
- local noGrav = false
- mx.KeyDown:connect(function(kx)
- if kx == "t" then
- if noGrav == false then
- noGrav = true
- game.workspace.Gravity = 30
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "No Gravity: ON",
- Color = Color3.new(0, 1, 0)
- })
- else
- game.workspace.Gravity = 196.2
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "No Gravity: OFF",
- Color = Color3.new(1, 0, 0)
- })
- noGrav = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement