Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function _G.keyPress(k, func)
- local key if #k == 1 then key = k:upper() else key = k end
- game:GetService("UserInputService").InputBegan:Connect(function(io, gpe)
- if not gpe and io.KeyCode == Enum.KeyCode[key] then
- func()
- end
- end)
- end
- function _G.keyRelease(k, func)
- local key if #k == 1 then key = k:upper() else key = k end
- game:GetService("UserInputService").InputEnded:Connect(function(io, gpe)
- if not gpe and io.KeyCode == Enum.KeyCode[key] then
- func()
- end
- end)
- end
- _G.kill = function(plr)
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:match(plr) then
- Instance.new("Explosion", v.Character:FindFirstChild("UpperTorso"))
- end
- end
- end
- _G.killOthers = function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name ~= "abs_0" then
- v.Character.Humanoid.Health = 0
- end
- end
- end
- function _G.ct()
- workspace.Terrain:Clear()
- end
- _G.alwaysAlive = function(plr)
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:match(plr) then
- while true do
- v.Character.Humanoid.Health = 1000
- wait()
- end
- end
- end
- end
- function _G.ws(plr)
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:match(plr) then
- v.Character.Humanoid.WalkSpeed = 100
- end
- end
- end
- function _G.grav(int)
- workspace.Gravity = int
- end
- function _G.jp(plr, int)
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:match(plr) then
- v.Character.Humanoid.JumpPower = int
- end
- end
- end
- function _G.plr(plr)
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:match(plr) then
- return v
- end
- end
- end
- function _G.des(p)
- _G.char(p):Destroy()
- end
- function _G.char(p)
- return _G.plr(p).Character
- end
- function _G.hum(p)
- return _G.char(p).Humanoid
- end
- _G.h = game.Players.abs_0.Character.Humanoid.Health
Add Comment
Please, Sign In to add comment