Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 100% original localscript
- -- commands
- -- kill;playername
- -- kick;playername
- -- ff;playername
- -- unff;playername
- player = game.Players.LocalPlayer
- print("28nard's admin, loaded for "..player.Name.."!")
- player.Chatted:connect(function(msg,rec)
- if string.sub(msg,1,5) == "kill;" then
- local plr = game.Players:FindFirstChild(string.sub(msg,6))
- if plr then
- if plr.Character then
- plr.Character:breakJoints()
- end
- end
- end
- if string.sub(msg,1,5) == "kick;" then
- local plr = game.Players:FindFirstChild(string.sub(msg,6))
- if plr then
- plr:Destroy()
- end
- end
- if string.sub(msg,1,3) == "ff;" then
- local plr = game.Players:FindFirstChild(string.sub(msg,4))
- if plr then
- local ff = Instance.new("ForceField",plr.Character)
- end
- end
- if string.sub(msg,1,5) == "unff;" then
- local plr = game.Players:FindFirstChild(string.sub(msg,6))
- if plr then
- local unff = plr.Character:FindFirstChild("ForceField")
- if unff then
- unff:Destroy()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement