SHOW:
|
|
- or go back to the newest paste.
1 | print'Cubot by COOLBRAYDENNOOB Loaded.' | |
2 | --[[ | |
3 | Hello. | |
4 | This is some random script i wrote while completely bored, and had no internet. | |
5 | Its a command bot i guess. Lol. | |
6 | The worst command you can run on this is kill. It kills you. lel. | |
7 | Please do not steal. | |
8 | Please do not abuse if you add abusive commands. | |
9 | Feel free to modify, if you can find your way through this nightmare of coding. | |
10 | The way the commands are styled Command then Semicolon. | |
11 | EX: | |
12 | ff; | |
13 | kill; | |
14 | Have fun with this really bad script. | |
15 | i think this is gonna be a local script. Idk l0l | |
16 | gyazo to the rescueee. | |
17 | ]]-- | |
18 | - | print"Basic Commands: ff,kill,god,fire,punish,unpunish,heal,nohead,yeshead,freeze,thaw,notorso,yestorso,neon,invisible,visible,nohuman,explode,unname" |
18 | + | |
19 | p.Chatted:connect(function(m) | |
20 | - | function chatted(m) |
20 | + | |
21 | local ff=Instance.new("ForceField") | |
22 | ff.Parent=p.Character | |
23 | end | |
24 | if m:lower()=="kill;" then | |
25 | p.Character.Humanoid.Health=0 | |
26 | end | |
27 | if m:lower()=="god;" then | |
28 | p.Character.Humanoid.MaxHealth=math.huge | |
29 | p.Character.Humanoid.Health=math.huge | |
30 | end | |
31 | if m:lower()=="fire;" then | |
32 | local fire=Instance.new("Fire") | |
33 | fire.Parent=p.Torso | |
34 | - | fire.Parent=p.Character.Torso |
34 | + | |
35 | if m:lower()=="punish;" then | |
36 | p.Character.Parent=game.Lighting | |
37 | end | |
38 | if m:lower()=="unpunish;" then | |
39 | if game.Lighting:FindFirstChild(p.Name) then | |
40 | game.Lighting:FindFirstChild(p.Name).Parent=game.Workspace | |
41 | end | |
42 | if m:lower()=="heal;" then | |
43 | p.Character.Humanoid.Health=p.Character.Humanoid.MaxHealth | |
44 | end | |
45 | if m:lower()=="nohead;" then | |
46 | p.Character.Head.Transparency=1 | |
47 | p.Character.Head.CanCollide=false | |
48 | end | |
49 | if m:lower()=="yeshead;" then | |
50 | p.Character.Head.Transparency=0 | |
51 | p.Character.Head.CanCollide=true | |
52 | end | |
53 | if m:lower()=="freeze;" then | |
54 | p.Character.Torso.Anchored=true | |
55 | p.Character["Left Leg"].Anchored=true | |
56 | p.Character["Right Leg"].Anchored=true | |
57 | p.Character["Left Arm"].Anchored=true | |
58 | p.Character["Right Arm"].Anchored=true | |
59 | p.Character.Head.Anchored=true | |
60 | end | |
61 | if m:lower()=="thaw;" then | |
62 | p.Character.Torso.Anchored=false | |
63 | p.Character["Left Leg"].Anchored=false | |
64 | p.Character["Right Leg"].Anchored=false | |
65 | p.Character["Left Arm"].Anchored=false | |
66 | p.Character["Right Arm"].Anchored=false | |
67 | p.Character.Head.Anchored=false | |
68 | end | |
69 | if m:lower()=="notorso;" then | |
70 | p.Character.Torso.Transparency=1 | |
71 | p.Character.Torso.CanCollide=false | |
72 | end | |
73 | if m:lower()=="yestorso;" then | |
74 | p.Character.Torso.Transparency=0 | |
75 | p.Character.Torso.CanCollide=true | |
76 | end | |
77 | ||
78 | if m:lower()=="neon;" then | |
79 | p.Character.Torso.Material="Neon" | |
80 | p.Character["Left Leg"].Material="Neon" | |
81 | p.Character["Right Leg"].Material="Neon" | |
82 | p.Character["Left Arm"].Material="Neon" | |
83 | p.Character["Right Arm"].Material="Neon" | |
84 | p.Character.Head.Material="Neon" | |
85 | end | |
86 | if m:lower()=="invisible;" then | |
87 | p.Character.Torso.Transparency=1 | |
88 | p.Character["Left Leg"].Transparency=1 | |
89 | p.Character["Right Leg"].Transparency=1 | |
90 | p.Character["Left Arm"].Transparency=1 | |
91 | p.Character["Right Arm"].Transparency=1 | |
92 | p.Character.Head.Transparency=1 | |
93 | end | |
94 | if m:lower()=="visible" then | |
95 | - | if m:lower()=="visible;" then |
95 | + | |
96 | p.Character["Left Leg"].Transparency=0 | |
97 | p.Character["Right Leg"].Transparency=0 | |
98 | p.Character["Left Arm"].Transparency=0 | |
99 | p.Character["Right Arm"].Transparency=0 | |
100 | p.Character.Head.Transparency=0 | |
101 | end | |
102 | end |