SHOW:
|
|
- or go back to the newest paste.
1 | -- 100% original localscript | |
2 | ||
3 | -- commands | |
4 | -- kill;playername | |
5 | -- kick;playername | |
6 | -- ff;playername | |
7 | -- unff;playername | |
8 | player = game.Players.LocalPlayer | |
9 | - | print("28nard's admin, loaded for "..player.Name.."!") |
9 | + | print("mnms999 admin, loaded for "..player.Name.."!") |
10 | player.Chatted:connect(function(msg,rec) | |
11 | if string.sub(msg,1,5) == "kill;" then | |
12 | local plr = game.Players:FindFirstChild(string.sub(msg,6)) | |
13 | if plr then | |
14 | if plr.Character then | |
15 | plr.Character:breakJoints() | |
16 | end | |
17 | end | |
18 | end | |
19 | if string.sub(msg,1,5) == "kick;" then | |
20 | local plr = game.Players:FindFirstChild(string.sub(msg,6)) | |
21 | if plr then | |
22 | plr:Destroy() | |
23 | end | |
24 | end | |
25 | if string.sub(msg,1,3) == "ff;" then | |
26 | local plr = game.Players:FindFirstChild(string.sub(msg,4)) | |
27 | if plr then | |
28 | local ff = Instance.new("ForceField",plr.Character) | |
29 | end | |
30 | end | |
31 | if string.sub(msg,1,5) == "unff;" then | |
32 | local plr = game.Players:FindFirstChild(string.sub(msg,6)) | |
33 | if plr then | |
34 | local unff = plr.Character:FindFirstChild("ForceField") | |
35 | if unff then | |
36 | unff:Destroy() | |
37 | end | |
38 | end | |
39 | end | |
40 | end) |