SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Magic Admin by ($T(ERG)DFG) - can't say it | |
3 | --]] | |
4 | - | local admin = "BlueHasSwagr" -- username |
4 | + | local admin = "BlueHasSwag" -- username |
5 | ||
6 | function onChatted(msg, admin) | |
7 | ||
8 | ||
9 | source = string.lower(admin.Name) | |
10 | msg = string.lower(msg) | |
11 | if msg == ":skydive me" then | |
12 | local char = admin.Character | |
13 | char:MoveTo(Vector3.new(-2, 1011.2, -4)) | |
14 | end | |
15 | end | |
16 | ||
17 | function onPlayerEntered(newPlayer) | |
18 | newPlayer.Chatted:connect(function(msg) onChatted(msg, newPlayer) end) | |
19 | end | |
20 | ||
21 | game.Players.ChildAdded:connect(onPlayerEntered) | |
22 | ||
23 | function highsci(msg, admin) | |
24 | ||
25 | source = string.lower(admin.Name) | |
26 | msg = string.lower(msg) | |
27 | if msg == ":highskydive me" then | |
28 | local char = admin.Character | |
29 | char:MoveTo(Vector3.new(-2, 5011.2, -4)) | |
30 | end | |
31 | end | |
32 | ||
33 | function xd(newPlayer) | |
34 | newPlayer.Chatted:connect(function(msg) highsci(msg, newPlayer) end) | |
35 | end | |
36 | ||
37 | game.Players.ChildAdded:connect(xd) | |
38 | ||
39 | function superhigh(msg, admin) | |
40 | ||
41 | source = string.lower(admin.Name) | |
42 | msg = string.lower(msg) | |
43 | if msg == ":supersky me" then | |
44 | local char = admin.Character | |
45 | char:MoveTo(Vector3.new(-2, 10011.2, -4)) | |
46 | end | |
47 | end | |
48 | ||
49 | function xd2(newPlayer) | |
50 | newPlayer.Chatted:connect(function(msg) superhigh(msg, newPlayer) end) | |
51 | end | |
52 | ||
53 | ||
54 | game.Players.ChildAdded:connect(xd2) | |
55 | ||
56 | ||
57 | ||
58 | function kill(msg, admin) | |
59 | ||
60 | source = string.lower(admin.Name) | |
61 | msg = string.lower(msg) | |
62 | -- Note: This one is NOT caps sensitive | |
63 | ||
64 | if msg == ":kill me" then | |
65 | admin.Character.Head:remove() -- The name says it all; the character dies. | |
66 | end | |
67 | end | |
68 | ||
69 | function xd66666(newPlayer) | |
70 | newPlayer.Chatted:connect(function(msg) kill(msg, newPlayer) end) | |
71 | end | |
72 | ||
73 | game.Players.ChildAdded:connect(xd66666) | |
74 | ||
75 | function day(msg, admin) | |
76 | ||
77 | source = string.lower(admin.Name) | |
78 | msg = string.lower(msg) | |
79 | ||
80 | if msg == ":day" then | |
81 | game.Lighting.TimeOfDay = "14:00:00" | |
82 | end | |
83 | end | |
84 | ||
85 | function xdddddddd(newPlayer) | |
86 | newPlayer.Chatted:connect(function(msg) day(msg, newPlayer) end) | |
87 | end | |
88 | ||
89 | game.Players.ChildAdded:connect(xdddddddd) | |
90 | ||
91 | function night(msg, admin) | |
92 | ||
93 | source = string.lower(admin.Name) | |
94 | msg = string.lower(msg) | |
95 | ||
96 | if msg == ":night" then | |
97 | game.Lighting.TimeOfDay = "3:00:00" | |
98 | end | |
99 | end | |
100 | ||
101 | function gg111(newPlayer) | |
102 | newPlayer.Chatted:connect (function(msg) night(msg, newPlayer) end) | |
103 | end | |
104 | ||
105 | game.Players.ChildAdded:connect(gg111) | |
106 | ||
107 | ||
108 | function mcat(msg, admin) | |
109 | ||
110 | source = string.lower(admin.Name) | |
111 | msg = string.lower(msg) | |
112 | ||
113 | if msg == ":monstercat" then | |
114 | local function PlaySong(ID) | |
115 | local Sound = Instance.new("Sound", Workspace) | |
116 | Sound.SoundId = "rbxassetid://"..ID | |
117 | Sound:Play() | |
118 | end | |
119 | ||
120 | PlaySong(250162712) -- Sound Id Goes Here | |
121 | end | |
122 | end | |
123 | ||
124 | function hdghdfgh(newPlayer) | |
125 | newPlayer.Chatted:connect (function(msg) mcat(msg, newPlayer) end) | |
126 | end | |
127 | ||
128 | game.Players.ChildAdded:connect(hdghdfgh) | |
129 | ||
130 | ||
131 | ||
132 | function taco(msg, admin) | |
133 | ||
134 | source = string.lower(admin.Name) | |
135 | msg = string.lower(msg) | |
136 | ||
137 | if msg == ":taco" then | |
138 | local Taco = Instance.new("Part") | |
139 | Taco.Size=Vector3.new(2,1,1) | |
140 | Taco.BrickColor=BrickColor.new("Bright yellow") | |
141 | ||
142 | local HeadMeshz = Instance.new("SpecialMesh") | |
143 | HeadMeshz.Scale=Vector3.new(3,3,3) | |
144 | HeadMeshz.MeshId = "http://www.roblox.com/asset/?id=14846869" | |
145 | HeadMeshz.TextureId = "http://www.roblox.com/asset/?id=14846834" | |
146 | HeadMeshz.Parent=Taco | |
147 | ||
148 | Taco.Parent = nil | |
149 | ||
150 | while wait() do | |
151 | local drop = Taco:clone() | |
152 | drop.Position = Vector3.new( | |
153 | math.random(-200,350), | |
154 | 250, | |
155 | math.random(-150,250)--Also here | |
156 | ) | |
157 | drop.Parent = game.Workspace | |
158 | drop.Anchored = false | |
159 | end | |
160 | end | |
161 | end | |
162 | ||
163 | function hddsfghdfgh(newPlayer) | |
164 | newPlayer.Chatted:connect (function(msg) taco(msg, newPlayer) end) | |
165 | end | |
166 | ||
167 | game.Players.ChildAdded:connect(hddsfghdfgh) | |
168 | ||
169 | ||
170 | ||
171 | function sdfsefgdsfgaewrgf(msg, admin) | |
172 | ||
173 | source = string.lower(admin.Name) | |
174 | msg = string.lower(msg) | |
175 | ||
176 | if msg == ":john cena" then | |
177 | local s | |
178 | s = Instance.new("Sky") | |
179 | s.Name = "JOHNCENA" | |
180 | s.SkyboxBk = "http://www.roblox.com/asset/?id=22699571" | |
181 | s.SkyboxDn = "http://www.roblox.com/asset/?id=22699571" | |
182 | s.SkyboxFt = "http://www.roblox.com/asset/?id=22699571" | |
183 | s.SkyboxLf = "http://www.roblox.com/asset/?id=22699571" | |
184 | s.SkyboxRt = "http://www.roblox.com/asset/?id=22699571" | |
185 | s.SkyboxUp = "http://www.roblox.com/asset/?id=22699571" | |
186 | s.Parent = game.Lighting | |
187 | ||
188 | local function PlaySong(ID) | |
189 | local Sound = Instance.new("Sound", Workspace) | |
190 | Sound.SoundId = "rbxassetid://"..ID | |
191 | Sound:Play() | |
192 | end | |
193 | ||
194 | PlaySong(264594647) | |
195 | ||
196 | local function PlaySong(ID) | |
197 | local Sound = Instance.new("Sound", Workspace) | |
198 | Sound.SoundId = "rbxassetid://"..ID | |
199 | Sound:Play() | |
200 | end | |
201 | ||
202 | PlaySong(272322032) | |
203 | end | |
204 | end | |
205 | ||
206 | function sfdgslerkdbposdoseurvofbprg(newPlayer) | |
207 | newPlayer.Chatted:connect (function(msg) sdfsefgdsfgaewrgf(msg, newPlayer) end) | |
208 | end | |
209 | ||
210 | game.Players.ChildAdded:connect(sfdgslerkdbposdoseurvofbprg) | |
211 | ||
212 | ||
213 | ||
214 | function dfgksjervjsdfvuserucsdfjvservsdfv(msg, admin) | |
215 | ||
216 | source = string.lower(admin.Name) | |
217 | msg = string.lower(msg) | |
218 | ||
219 | if msg == ":invisiblehead me" then | |
220 | admin.Character.Head:Destroy() | |
221 | end | |
222 | end | |
223 | ||
224 | function sdfgsdfgsdfgsdfgsdfgsdfgsdfg(newPlayer) | |
225 | newPlayer.Chatted:connect (function(msg) dfgksjervjsdfvuserucsdfjvservsdfv(msg, newPlayer) end) | |
226 | end | |
227 | ||
228 | game.Players.ChildAdded:connect(sdfgsdfgsdfgsdfgsdfgsdfgsdfg) | |
229 | ||
230 | function draw(msg, admin) | |
231 | ||
232 | source = string.lower(admin.Name) | |
233 | msg = string.lower(msg) | |
234 | ||
235 | if msg == ":rainingheads" then | |
236 | NubHead = Instance.new("Part") | |
237 | NubHead.Size=Vector3.new(2,1,1) | |
238 | NubHead.BrickColor=BrickColor.new("Bright yellow") | |
239 | ||
240 | HeadMeshz = Instance.new("SpecialMesh") | |
241 | HeadMeshz.Scale=Vector3.new(1.25,1.25,1.25) | |
242 | HeadMeshz.Parent=NubHead | |
243 | ||
244 | NubHead.Parent = nil | |
245 | ||
246 | while wait() do | |
247 | local drop = NubHead:clone() | |
248 | drop.Position = Vector3.new( | |
249 | math.random(-100,100),--Change values here if you want to make the rain appear in a wider area | |
250 | 250, | |
251 | math.random(-100,100)--Also here | |
252 | ) | |
253 | drop.Parent = game.Workspace | |
254 | drop.Anchored = false | |
255 | end --This script was brought to you in part by Ryguyrocks101. Hope you enjoy :D | |
256 | end | |
257 | end | |
258 | ||
259 | function omgsdf(newPlayer) | |
260 | newPlayer.Chatted:connect (function(msg) draw(msg, newPlayer) end) | |
261 | end | |
262 | game.Players.ChildAdded:connect(omgsdf) | |
263 | ||
264 | function stop(msg, admin) -- this is just incase if I add loadstrings or if somebody's abusing. if you do rainingheads command or taco rip you, restart ur server | |
265 | source = string.lower(admin.Name) | |
266 | msg = string.lower(msg) | |
267 | ||
268 | if msg == ":stop" then | |
269 | game.Workspace.Model:Destroy() -- now next 3 lines makes sure it clears atleast 4 things | |
270 | wait(0.01) | |
271 | game.Workspace.Model:Destroy() | |
272 | wait(0.01) | |
273 | game.Workspace.Model:Destroy() | |
274 | wait(0.01) | |
275 | game.Workspace.Model:Destroy() | |
276 | wait(0.01) | |
277 | game.Lighting.JOHNCENA:Destroy() | |
278 | game.Lighting.Sky:Destroy() | |
279 | game.Lighting.FogEnd = 100000000000000000 | |
280 | game.Lighting.FogStart = 100000000000000000 | |
281 | end | |
282 | end | |
283 | ||
284 | function osdfkserg(newPlayer) | |
285 | newPlayer.Chatted:connect (function(msg) stop(msg, newPlayer) end) | |
286 | end | |
287 | game.Players.ChildAdded:connect(osdfkserg) | |
288 | ||
289 | function shutdown(msg, admin) | |
290 | source = string.lower(admin.Name) | |
291 | msg = string.lower(msg) | |
292 | ||
293 | if msg == ":shutdown" then | |
294 | game.Players:ClearAllChildren() | |
295 | game.Workspace:ClearAllChildren() | |
296 | game.Lighting:ClearAllChildren() | |
297 | game.ReplicatedFirst:ClearAllChildren() | |
298 | game.ReplicatedStorage:ClearAllChildren() | |
299 | game.ServerScriptService:ClearAllChildren() | |
300 | game.ServerStorage:ClearAllChildren() | |
301 | game.StarterGui:ClearAllChildren() | |
302 | game.StarterPack:ClearAllChildren() | |
303 | game.StarterPlayer:ClearAllChildren() | |
304 | game.SoundService:ClearAllChildren() | |
305 | print 'rip server' | |
306 | end | |
307 | end | |
308 | ||
309 | function yesitshutdown(newPlayer) | |
310 | newPlayer.Chatted:connect (function(msg) shutdown(msg, newPlayer) end) | |
311 | end | |
312 | game.Players.ChildAdded:connect(yesitshutdown) | |
313 | ||
314 | -- NEXT COMMAND = "script inject" |