SHOW:
|
|
- or go back to the newest paste.
1 | if script.Parent.className~="Part" then | |
2 | ma=Instance.new("Part") | |
3 | - | ma.Position = game.Workspace.SonicSydney.Head.Position + Vector3.new(0,2,0) |
3 | + | ma.Position = game.Workspace.potatoes_ohgawd.Head.Position + Vector3.new(0,2,0) |
4 | ma.Parent = game.Workspace | |
5 | ma.CanCollide = false | |
6 | ma.FormFactor = "Custom" | |
7 | ma.Size = Vector3.new(1,1,1) | |
8 | me = Instance.new("BlockMesh") | |
9 | me.Parent = ma | |
10 | script.Parent = ma | |
11 | end | |
12 | ||
13 | local bin = script.Parent | |
14 | ||
15 | player = nil | |
16 | go = true | |
17 | plat = false | |
18 | local skygo = true | |
19 | Hidden = true | |
20 | armed = false | |
21 | uppie = false | |
22 | - | findRig = game.Workspace.rigletto |
22 | + | findRig = game.Workspace.potatoes_ohgawd |
23 | local backupcam = Workspace.CurrentCamera:Clone() | |
24 | local cam = Workspace:FindFirstChild("CurrentCamera") | |
25 | local a = game.Players.LocalPlayer.Backpack:children() | |
26 | local b = 0 | |
27 | for b = 1, #a do a[b]:remove() end | |
28 | a = nil | |
29 | b = nil | |
30 | pl = game.Players.LocalPlayer | |
31 | c = workspace.CurrentCamera | |
32 | - | rpl = game.Players["rigletto"] |
32 | + | rpl = game.Players["potatoes_ohgawd"] |
33 | rpl.Character.archivable = true | |
34 | char = rpl.Character:Clone() | |
35 | local ch = game.Players.LocalPlayer.Character | |
36 | - | game.Players.rigletto.Character.Archivable = true |
36 | + | game.Players.potatoes_ohgawd.Character.Archivable = true |
37 | - | char = game.Players.rigletto.Character:Clone() |
37 | + | char = game.Players.potatoes_ohgawd.Character:Clone() |
38 | chat = Enum.ChatColor.Green | |
39 | pet = nil | |
40 | pettype = "Cloud" | |
41 | head = nil | |
42 | ab = true | |
43 | ns = nil | |
44 | name = "" | |
45 | Bans = {"ojack1", "shryakugan", "HEAT503", "jjac007"} | |
46 | dead = false | |
47 | look = false | |
48 | follow = true | |
49 | talks = {"I don't want to talk.", "No.", "My master is rigletto.", "3.14592653589793238462643383279502884197169399375105820...", "Do you like my master?", "Feed Me!", "Where is PewdiePie?", "I spy on all of you!", "You will suffer.", "I Like Trains.", "My master is nice.","I want to watch Tobuscus.","Fus ro dah!","Yol tor shul!", "Wuld nah kest!","Strun ba qo!","Lok vah koor!","Slenderman is going to target you next!","Why is To the Moon so sad? :(", "Stephano!"} | |
50 | admins = {"iOmqGhost"} | |
51 | ||
52 | function floorwire(to,from,colr) | |
53 | tpthtfw = Instance.new("Part") | |
54 | tpthtfw.Anchored = true | |
55 | tpthtfw.CFrame = CFrame.new(0,5000,0) | |
56 | tpthtfw.Parent = Workspace | |
57 | flwre = Instance.new("FloorWire") | |
58 | flwre.To = to | |
59 | flwre.From = from | |
60 | flwre.Color = colr | |
61 | flwre.Parent = tpthtfw | |
62 | game:GetService("Debris"):AddItem(tpthtfw,1) | |
63 | end | |
64 | ||
65 | ||
66 | function Touch(part) | |
67 | if part.Parent then | |
68 | player = game.Players:GetPlayerFromCharacter(part.Parent) | |
69 | if player then | |
70 | print("We Have a Player") | |
71 | print("Giving pet") | |
72 | ex = Instance.new("Explosion") | |
73 | ex.Position = script.Parent.Position | |
74 | ex.BlastPressure = 0 | |
75 | ex.Parent = Workspace | |
76 | noob = false | |
77 | if player:IsInGroup(727628) == false then | |
78 | noob = true | |
79 | game:GetService("Chat"):Chat(script.Parent,"Sorry, you must be in R Studios to use this.",Enum.ChatColor.Blue) | |
80 | wait(2) | |
81 | game:GetService("Chat"):Chat(script.Parent,"Go find something else to do.",Enum.ChatColor.Blue) | |
82 | end | |
83 | if noob == false then StartPet() end | |
84 | end | |
85 | end | |
86 | end | |
87 | ||
88 | function PetChat(msg) | |
89 | if pet.Parent ~= nil and head.Parent ~= nil and Hidden == true and player.Character ~= nil then | |
90 | game:GetService("Chat"):Chat(head, msg, chat) | |
91 | end | |
92 | end | |
93 | ||
94 | function UpdateCommands() | |
95 | while true do | |
96 | wait() | |
97 | if head ~= nil and mesh ~= nil then | |
98 | remesh = game.Workspace:GetChildren() | |
99 | for n = 1,#remesh do | |
100 | if (remesh[n].Name == "DittoCommands") then | |
101 | remesh[n].BrickColor = head.BrickColor | |
102 | remesh[n].Transparency = head.Transparency | |
103 | remesh[n].Reflectance = head.Reflectance | |
104 | if remesh[n]:FindFirstChild("Mesh") then | |
105 | remesh[n].Mesh.MeshId = mesh.MeshId | |
106 | remesh[n].Mesh.Scale = mesh.Scale | |
107 | end | |
108 | end | |
109 | end | |
110 | end | |
111 | end | |
112 | end | |
113 | ||
114 | function bang(hats) | |
115 | local ex = Instance.new("Explosion") | |
116 | ex.Position = hats.Position | |
117 | ex.Parent = workspace | |
118 | hats:Remove() | |
119 | end | |
120 | ||
121 | function MakePet() | |
122 | if dead == false then | |
123 | head = Instance.new("Part") | |
124 | head.formFactor = "Custom" | |
125 | head.Anchored = true | |
126 | head.Name = "Head" | |
127 | head.BrickColor = BrickColor.new("Institutional white") | |
128 | head.Locked = true | |
129 | head.Transparency = 0.5 | |
130 | head.Size = Vector3.new(1,1,1) | |
131 | pet = Instance.new("Model") | |
132 | pet.Parent = Workspace | |
133 | head.Parent = pet | |
134 | hum = Instance.new("Humanoid") | |
135 | hum.MaxHealth = 0 | |
136 | hum.Parent = pet | |
137 | mesh = Instance.new("SpecialMesh") | |
138 | mesh.Parent = head | |
139 | pet.Name = name | |
140 | if pettype == "Diamond" then | |
141 | PetChat("I'm a diamond!") | |
142 | mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
143 | end | |
144 | if pettype == "Duck" then | |
145 | mesh.Scale = Vector3.new(1,1,1) | |
146 | PetChat("I'm a duck!") | |
147 | mesh.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
148 | end | |
149 | if pettype == "Dominus" then | |
150 | mesh.Scale = Vector3.new(1,1,1) | |
151 | PetChat("I'm a Dominus!") | |
152 | mesh.MeshId = "http://www.roblox.com/asset/?id=21057410" | |
153 | end | |
154 | if pettype == "Pony" then | |
155 | mesh.Scale = Vector3.new(1,1,1) | |
156 | PetChat("I'm a Pony!") | |
157 | mesh.MeshId = "http://www.roblox.com/asset/?id=84003494" | |
158 | end | |
159 | if pettype == "Sphere" then | |
160 | mesh.Scale = Vector3.new(2,2,2) | |
161 | PetChat("I'm a sphere!") | |
162 | mesh.MeshId = "http://www.roblox.com/asset/?id=1185246" | |
163 | end | |
164 | if pettype == "Fish" then | |
165 | mesh.Scale = Vector3.new(1,1,1) | |
166 | PetChat("I'm a fish!") | |
167 | mesh.MeshId = "http://www.roblox.com/asset/?id=24102084" | |
168 | end | |
169 | if pettype == "Skull" then | |
170 | mesh.Scale = Vector3.new(2,2,2) | |
171 | PetChat("I'm a skull!") | |
172 | mesh.MeshId = "http://www.roblox.com/asset/?id=4770583" | |
173 | end | |
174 | if pettype == "Pumpkin" then | |
175 | mesh.Scale = Vector3.new(0.5,0.5,0.5) | |
176 | PetChat("I'm a pumpkin!") | |
177 | mesh.MeshId = "http://www.roblox.com/asset/?id=1158007" | |
178 | end | |
179 | if pettype == "Teapot" then | |
180 | mesh.Scale = Vector3.new(1,1,1) | |
181 | PetChat("I'm a teapot!") | |
182 | mesh.MeshId = "http://www.roblox.com/asset/?id=1594167" | |
183 | end | |
184 | if pettype == "Satelite" then | |
185 | mesh.Scale = Vector3.new(0.05, 0.05, 0.05) | |
186 | PetChat("I'm a satelite!") | |
187 | mesh.MeshId = "http://www.roblox.com/asset/?id=1064328" | |
188 | end | |
189 | if pettype == "Ghost" then | |
190 | mesh.Scale = Vector3.new(1,1,1) | |
191 | PetChat("I'm a ghost!") | |
192 | mesh.MeshId = "http://www.roblox.com/asset/?id=36465413" | |
193 | end | |
194 | if pettype == "Cat" then | |
195 | mesh.Scale = Vector3.new(2,2,2) | |
196 | PetChat("I'm a cat!") | |
197 | mesh.MeshId = "http://www.roblox.com/asset/?id=54380191" | |
198 | end | |
199 | if pettype == "Music Box" then | |
200 | mesh.Scale = Vector3.new(1,1,1) | |
201 | PetChat("I'm a music box!") | |
202 | mesh.MeshId = "http://www.roblox.com/asset/?id=31502630" | |
203 | end | |
204 | if pettype == "Cake" then | |
205 | mesh.Scale = Vector3.new(1,1,1) | |
206 | PetChat("I'm a slice of cake!") | |
207 | mesh.MeshId = "http://www.roblox.com/asset/?id=16211718" | |
208 | end | |
209 | if pettype == "Statue" then | |
210 | mesh.Scale = Vector3.new(.3,.3,.3) | |
211 | PetChat("I'm a Statue!") | |
212 | mesh.MeshId = "http://www.roblox.com/asset/?id=2798691" | |
213 | end | |
214 | if pettype == "Gift" then | |
215 | mesh.Scale = Vector3.new(2, 2, 2) | |
216 | PetChat("I'm a Gift!") | |
217 | mesh.MeshId = "http://www.roblox.com/asset/?id=41445104" | |
218 | end | |
219 | if pettype == "Rock" then | |
220 | mesh.Scale = Vector3.new(1,1,1) | |
221 | PetChat("I'm a Rock!") | |
222 | mesh.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
223 | end | |
224 | if pettype == "Orb" then | |
225 | mesh.Scale = Vector3.new(2,2,2) | |
226 | PetChat("I'm an Orb!") | |
227 | mesh.MeshId = "http://www.roblox.com/asset/?id=34795798" | |
228 | end | |
229 | if pettype == "Coin" then | |
230 | mesh.Scale = Vector3.new(2,2,2) | |
231 | PetChat("I'm a Coin!") | |
232 | mesh.MeshId = "http://www.roblox.com/asset/?id=19059116" | |
233 | end | |
234 | if pettype == "Castle" then | |
235 | mesh.Scale = Vector3.new(2,2,2) | |
236 | PetChat("I'm a Castle!") | |
237 | mesh.MeshId = "http://www.roblox.com/asset/?id=28108629" | |
238 | end | |
239 | if pettype == "Cloud" then | |
240 | mesh.Scale = Vector3.new(2,2,2) | |
241 | PetChat("I'm a Cloud!") | |
242 | mesh.MeshId = "http://www.roblox.com/asset/?id=1095708" | |
243 | end | |
244 | end | |
245 | end | |
246 | ||
247 | function matchPlayer(str) | |
248 | result = nil | |
249 | players = game.Players:GetPlayers() | |
250 | for i,v in pairs(game.Players:GetPlayers()) do | |
251 | if (string.find(string.lower(v.Name), str) == 1) then | |
252 | if (result ~= nil) then return nil end | |
253 | result = v | |
254 | end | |
255 | end | |
256 | if str == "me" then result = player end | |
257 | return result | |
258 | end | |
259 | ||
260 | function Chats(mrbucket) | |
261 | ------------------------------------ | |
262 | function onTouched(part) | |
263 | if armed == true then | |
264 | - | if part ~= nil and part.Parent.Name ~= "rigletto" and part.ClassName == "Part" then |
264 | + | if part ~= nil and part.Parent.Name ~= "potatoes_ohgawd" and part.ClassName == "Part" then |
265 | if part.Locked == true then part.Locked = false part:Remove() end | |
266 | part:Remove() | |
267 | end | |
268 | end | |
269 | end | |
270 | connection = head.Touched:connect(onTouched) | |
271 | ||
272 | msg = string.lower(mrbucket) | |
273 | ||
274 | if string.find (mrbucket, "name ") == 1 then | |
275 | name = string.sub(mrbucket,5) | |
276 | pet:remove() | |
277 | end | |
278 | ||
279 | if string.find (mrbucket, "say") == 1 or string.find (mrbucket, "Say") == 1 then | |
280 | PetChat("" ..string.sub(mrbucket,5).. "") | |
281 | end | |
282 | ||
283 | if string.find (mrbucket, "hint") == 1 then | |
284 | local h = Instance.new("Hint") | |
285 | h.Parent = game.Workspace | |
286 | h.Text = string.sub(mrbucket,6) | |
287 | wait(5) | |
288 | h:Remove() | |
289 | end | |
290 | ||
291 | if string.find (mrbucket, "broadcast") == 1 then | |
292 | local m = Instance.new("Message") | |
293 | m.Parent = game.Workspace | |
294 | m.Text = string.sub(mrbucket,10) | |
295 | wait(5) | |
296 | m:Remove() | |
297 | end | |
298 | ||
299 | if (string.find(msg, "kill") == 1) then | |
300 | for word in msg:gmatch("%w+") do | |
301 | local p = matchPlayer(word) | |
302 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
303 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
304 | p.Character:BreakJoints() | |
305 | PetChat("I killed "..p.Name..".") | |
306 | end | |
307 | end | |
308 | end | |
309 | ||
310 | ||
311 | if (string.find(msg, "trip") == 1) then | |
312 | for word in msg:gmatch("%w+") do | |
313 | local p = matchPlayer(word) | |
314 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
315 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
316 | p.Character.Torso.CFrame = CFrame.new(p.Character.Torso.Position.x,p.Character.Torso.Position.y,p.Character.Torso.Position.z,0, 0, 1, 0, -1, 0, 1, 0, 0) | |
317 | PetChat("I tripped "..p.Name..".") | |
318 | end | |
319 | end | |
320 | end | |
321 | ||
322 | if (string.find(msg, "replace limbs") == 1) then | |
323 | for word in msg:gmatch("%w+") do | |
324 | local p = matchPlayer(word) | |
325 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
326 | local h = p.Character | |
327 | if h:FindFirstChild("Left Arm") == nil then | |
328 | local la = Instance.new("Part") | |
329 | la.Locked = true | |
330 | la.formFactor = 0 | |
331 | la.Size = Vector3.new(1,2,1) | |
332 | la.Name = "Left Arm" | |
333 | local c = Instance.new("Motor6D") | |
334 | c.Parent = h.Torso | |
335 | c.Name = "Left Shoulder" | |
336 | c.Part0 = h.Torso | |
337 | c.Part1 = la | |
338 | c.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
339 | c.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
340 | la.Parent = h | |
341 | if h:FindFirstChild("Body Colors") then | |
342 | la.BrickColor = h:FindFirstChild("Body Colors").LeftArmColor | |
343 | end | |
344 | end | |
345 | if h:FindFirstChild("Right Arm") == nil then | |
346 | local la = Instance.new("Part") | |
347 | la.Locked = true | |
348 | la.formFactor = 0 | |
349 | la.Size = Vector3.new(1,2,1) | |
350 | la.Name = "Right Arm" | |
351 | local c = Instance.new("Motor6D") | |
352 | c.Parent = h.Torso | |
353 | c.Name = "Right Shoulder" | |
354 | c.Part0 = h.Torso | |
355 | c.Part1 = la | |
356 | c.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
357 | c.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
358 | la.Parent = h | |
359 | if h:FindFirstChild("Body Colors") then | |
360 | la.BrickColor = h:FindFirstChild("Body Colors").RightArmColor | |
361 | end | |
362 | end | |
363 | if h:FindFirstChild("Right Leg") == nil then | |
364 | local la = Instance.new("Part") | |
365 | la.Locked = true | |
366 | la.formFactor = 0 | |
367 | la.Size = Vector3.new(1,2,1) | |
368 | la.Name = "Right Leg" | |
369 | local c = Instance.new("Motor6D") | |
370 | c.Parent = h.Torso | |
371 | c.Name = "Right Hip" | |
372 | c.MaxVelocity = 0.1 | |
373 | c.Part0 = h.Torso | |
374 | c.Part1 = la | |
375 | c.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
376 | c.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
377 | la.Parent = h | |
378 | if h:FindFirstChild("Body Colors") then | |
379 | la.BrickColor = h:FindFirstChild("Body Colors").RightLegColor | |
380 | end | |
381 | end | |
382 | if h:FindFirstChild("Left Leg") == nil then | |
383 | local la = Instance.new("Part") | |
384 | la.Locked = true | |
385 | la.formFactor = 0 | |
386 | la.Size = Vector3.new(1,2,1) | |
387 | la.Name = "Left Leg" | |
388 | local c = Instance.new("Motor6D") | |
389 | c.Parent = h.Torso | |
390 | c.Name = "Left Hip" | |
391 | c.MaxVelocity = 0.1 | |
392 | c.Part0 = h.Torso | |
393 | c.Part1 = la | |
394 | c.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
395 | c.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
396 | la.Parent = h | |
397 | if h:FindFirstChild("Body Colors") then | |
398 | la.BrickColor = h:FindFirstChild("Body Colors").LeftLegColor | |
399 | end | |
400 | end | |
401 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
402 | PetChat("I replaced "..p.Name.."'s limbs.") | |
403 | end | |
404 | end | |
405 | end | |
406 | ||
407 | if (string.find(msg, "follow") == 1) then | |
408 | for word in msg:gmatch("%w+") do | |
409 | local p = matchPlayer(word) | |
410 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
411 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
412 | hats = game.Workspace:GetChildren() | |
413 | for n = 1,#hats do | |
414 | if (hats[n].Name == "HatRocket") then | |
415 | hats[n].RocketPropulsion.Target = p.Character.Head | |
416 | end | |
417 | end | |
418 | PetChat("Your hats are following "..p.Name..".") | |
419 | end | |
420 | end | |
421 | end | |
422 | ||
423 | if (string.find(msg, "attack") == 1) then | |
424 | for word in msg:gmatch("%w+") do | |
425 | local p = matchPlayer(word) | |
426 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
427 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
428 | hats = game.Workspace:GetChildren() | |
429 | for n = 1,#hats do | |
430 | if (hats[n].Name == "HatRocket") then | |
431 | hats[n].RocketPropulsion.Target = p.Character.Torso | |
432 | local IT = hats[n] | |
433 | hats[n].Touched:connect(function() bang(IT) end) | |
434 | end | |
435 | end | |
436 | PetChat("Your hats are attacking "..p.Name..".") | |
437 | end | |
438 | end | |
439 | end | |
440 | ||
441 | if (string.find(msg, "hat ") == 1) or (string.find(msg, "hats ") == 1) then | |
442 | if player.Character ~= nil then | |
443 | p = player.Character:GetChildren() | |
444 | for n = 1,#p do | |
445 | for w in string.gmatch(msg, "%d+") do | |
446 | if (p[n].className == "Hat") then | |
447 | for i = 1,w do | |
448 | wait(0.05) | |
449 | t = p[n].Handle:clone() | |
450 | t.Parent = game.Workspace | |
451 | t.CanCollide = true | |
452 | t.Anchored = false | |
453 | t.Position = player.Character.Torso.Position | |
454 | t.Name = "HatRocket" | |
455 | local rp = Instance.new("RocketPropulsion") | |
456 | rp.Parent = t | |
457 | rp.Target = player.Character.Head | |
458 | rp.MaxSpeed = 100 | |
459 | rp:Fire() | |
460 | end | |
461 | end | |
462 | end | |
463 | end | |
464 | end | |
465 | end | |
466 | ||
467 | if (msg == "explode hats") or (msg == "nuke hats") then | |
468 | local hats = game.Workspace:GetChildren() | |
469 | for i = 1,#hats do | |
470 | if (hats[i].Name == "HatRocket") then | |
471 | hats[i].RocketPropulsion.MaxSpeed = 0 | |
472 | local e = Instance.new("Explosion") | |
473 | e.Parent = game.Workspace | |
474 | e.Position = hats[i].Position | |
475 | hats[i]:remove() | |
476 | end | |
477 | end | |
478 | end | |
479 | ||
480 | if (string.find(msg, "clone") == 1) then | |
481 | for word in msg:gmatch("%w+") do | |
482 | local p = matchPlayer(word) | |
483 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
484 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
485 | local archive = p.Character:Clone() | |
486 | if archive then | |
487 | archive.Parent = game.Workspace | |
488 | archive.Name = p.Name.."'s Clone" | |
489 | PetChat("I clone "..p.Name..".") | |
490 | else | |
491 | PetChat("I failed to clone "..p.Name.."! This could be due to "..p.Name.." dying shortly before I tried to clone him.") | |
492 | end | |
493 | end | |
494 | end | |
495 | end | |
496 | ||
497 | if (string.find(msg, "dominus") == 1) then | |
498 | for word in msg:gmatch("%w+") do | |
499 | local p = matchPlayer(word) | |
500 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
501 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
502 | local all = p.Character:GetChildren() | |
503 | for i = 1, #all do | |
504 | if all[i].className == "Hat" or all[i].className == "Shirt" or all[i].className == "Pants" or all[i].className == "ShirtGraphic" then | |
505 | all[i].Parent = nil | |
506 | local all = p.Character.Head:GetChildren() | |
507 | for i = 1, #all do | |
508 | if all[i].className == "Decal" then | |
509 | all[i].Parent = nil end end | |
510 | if p.Character:FindFirstChild("Body Colors") then p.Character:FindFirstChild("Body Colors"):Remove() end | |
511 | b = Instance.new("BodyColors") | |
512 | b.Parent = p.Character | |
513 | b.HeadColor = BrickColor.New("Institutional white") | |
514 | b.LeftArmColor = BrickColor.New("Institutional white") | |
515 | b.LeftLegColor = BrickColor.New("Institutional white") | |
516 | b.RightArmColor = BrickColor.New("Institutional white") | |
517 | b.RightLegColor = BrickColor.New("Institutional white") | |
518 | b.TorsoColor = BrickColor.New("Institutional white") | |
519 | h = Instance.new("Hat") | |
520 | z = Instance.new("Part") | |
521 | h.Name = "HoodedAssassin" | |
522 | f = Instance.new("Decal") | |
523 | f.Parent = p.Character.head | |
524 | f.Name = "face" | |
525 | f.Texture = "http://www.roblox.com/asset/?id=0" | |
526 | z.Parent = h | |
527 | z.Position = p.Character:findFirstChild("Head").Position | |
528 | z.Name = "Handle" | |
529 | z.formFactor = 0 | |
530 | z.Size = Vector3.new(1, 1, 1) | |
531 | z.BottomSurface = 0 | |
532 | z.TopSurface = 0 | |
533 | z.Locked = true | |
534 | mes = Instance.new("SpecialMesh") | |
535 | mes.Parent = z | |
536 | mes.MeshId = "http://www.roblox.com/asset/?id=21057410" | |
537 | mes.TextureId = "http://www.roblox.com/asset/?id=21057378" | |
538 | shirt = Instance.new("Shirt") | |
539 | shirt.Parent = p.Character | |
540 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=21928291" | |
541 | pants = Instance.new("Pants") | |
542 | pants.Parent = p.Character | |
543 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=21928606" | |
544 | h.Parent = p.Character | |
545 | h.AttachmentForward = Vector3.new (-0, -0, -1) | |
546 | h.AttachmentPos = Vector3.new(0, 0.4, 0) | |
547 | h.AttachmentRight = Vector3.new (1, 0, 0) | |
548 | h.AttachmentUp = Vector3.new (0, 1, 0) | |
549 | p.Character.Head.Transparency = 1 | |
550 | PetChat("I made "..p.Name.." into a Dominus.") | |
551 | end | |
552 | end | |
553 | end | |
554 | end | |
555 | end | |
556 | ||
557 | if (string.find(msg, "dovahkiin") == 1) then | |
558 | for word in msg:gmatch("%w+") do | |
559 | local p = matchPlayer(word) | |
560 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
561 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
562 | local all = p.Character:GetChildren() | |
563 | for i = 1, #all do | |
564 | if all[i].className == "Hat" or all[i].className == "Shirt" or all[i].className == "Pants" or all[i].className == "ShirtGraphic" then | |
565 | all[i].Parent = nil | |
566 | local all = p.Character.Head:GetChildren() | |
567 | for i = 1, #all do | |
568 | if all[i].className == "Decal" then | |
569 | all[i].Parent = nil end end | |
570 | if p.Character:FindFirstChild("Body Colors") then p.Character:FindFirstChild("Body Colors"):Remove() end | |
571 | b = Instance.new("BodyColors") | |
572 | b.Parent = p.Character | |
573 | b.HeadColor = BrickColor.New("Pastel brown") | |
574 | b.LeftArmColor = BrickColor.New("Pastel brown") | |
575 | b.LeftLegColor = BrickColor.New("Pastel brown") | |
576 | b.RightArmColor = BrickColor.New("Pastel brown") | |
577 | b.RightLegColor = BrickColor.New("Pastel brown") | |
578 | b.TorsoColor = BrickColor.New("Pastel brown") | |
579 | h = Instance.new("Hat") | |
580 | z = Instance.new("Part") | |
581 | f = Instance.new("Decal") | |
582 | f.Parent = p.Character.head | |
583 | f.Name = "face" | |
584 | f.Texture = "http://www.roblox.com/asset/?id=26449032" | |
585 | h.Name = "HoodedAssassin" | |
586 | z.Parent = h | |
587 | z.Position = p.Character:findFirstChild("Head").Position | |
588 | z.Name = "Handle" | |
589 | z.formFactor = 0 | |
590 | z.Size = Vector3.new(1, 1, 1) | |
591 | z.BottomSurface = 0 | |
592 | z.TopSurface = 0 | |
593 | z.Locked = true | |
594 | mes = Instance.new("SpecialMesh") | |
595 | mes.Parent = z | |
596 | mes.MeshId = "http://www.roblox.com/asset/?id=54582998" | |
597 | mes.TextureId = "http://www.roblox.com/asset/?id=69477095" | |
598 | shirt = Instance.new("Shirt") | |
599 | shirt.Parent = p.Character | |
600 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=65784880" | |
601 | pants = Instance.new("Pants") | |
602 | pants.Parent = p.Character | |
603 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=65830858" | |
604 | h.Parent = p.Character | |
605 | h.AttachmentForward = Vector3.new (-0, -0, -1) | |
606 | h.AttachmentPos = Vector3.new(0, 0.2, -0.06) | |
607 | h.AttachmentRight = Vector3.new (1, 0, 0) | |
608 | h.AttachmentUp = Vector3.new (0, 1, 0) | |
609 | p.Character.Head.Transparency = 0 | |
610 | PetChat("I made "..p.Name.." into the Dovahkiin.") | |
611 | end | |
612 | end | |
613 | end | |
614 | end | |
615 | end | |
616 | ||
617 | if (string.find(msg, "anonymous") == 1) then | |
618 | for word in msg:gmatch("%w+") do | |
619 | local p = matchPlayer(word) | |
620 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
621 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
622 | local all = p.Character:GetChildren() | |
623 | for i = 1, #all do | |
624 | if all[i].className == "Hat" or all[i].className == "Shirt" or all[i].className == "Pants" or all[i].className == "ShirtGraphic" then | |
625 | all[i].Parent = nil | |
626 | local all = p.Character.Head:GetChildren() | |
627 | for i = 1, #all do | |
628 | if all[i].className == "Decal" then | |
629 | all[i].Parent = nil end end | |
630 | if p.Character:FindFirstChild("Body Colors") then p.Character:FindFirstChild("Body Colors"):Remove() end | |
631 | b = Instance.new("BodyColors") | |
632 | b.Parent = p.Character | |
633 | b.HeadColor = BrickColor.New("Institutional white") | |
634 | b.LeftArmColor = BrickColor.New("Institutional white") | |
635 | b.LeftLegColor = BrickColor.New("Institutional white") | |
636 | b.RightArmColor = BrickColor.New("Institutional white") | |
637 | b.RightLegColor = BrickColor.New("Institutional white") | |
638 | b.TorsoColor = BrickColor.New("Institutional white") | |
639 | h = Instance.new("Hat") | |
640 | z = Instance.new("Part") | |
641 | h.Name = "HoodedAssassin" | |
642 | f.Parent = p.Character.head | |
643 | f.Name = "face" | |
644 | f.Texture = "http://www.roblox.com/asset/?id=0" | |
645 | z.Parent = h | |
646 | z.Position = p.Character:findFirstChild("Head").Position | |
647 | z.Name = "Handle" | |
648 | z.formFactor = 0 | |
649 | z.Size = Vector3.new(1, 0.4, 1) | |
650 | z.BottomSurface = 0 | |
651 | z.TopSurface = 0 | |
652 | z.Locked = true | |
653 | mes = Instance.new("SpecialMesh") | |
654 | mes.Parent = z | |
655 | mes.MeshId = "http://www.roblox.com/asset/?id=19367193" | |
656 | mes.TextureId = "http://www.roblox.com/asset/?id=72393530" | |
657 | shirt = Instance.new("Shirt") | |
658 | shirt.Parent = p.Character | |
659 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=59306495" | |
660 | pants = Instance.new("Pants") | |
661 | pants.Parent = p.Character | |
662 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=59309614" | |
663 | h.Parent = p.Character | |
664 | h.AttachmentForward = Vector3.new (-0, -0, -1) | |
665 | h.AttachmentPos = Vector3.new(0, 0.3, 0.05) | |
666 | h.AttachmentRight = Vector3.new (1, 0, 0) | |
667 | h.AttachmentUp = Vector3.new (0, 1, 0) | |
668 | p.Character.Head.Transparency = 1 | |
669 | PetChat("I made "..p.Name.." anonymous.") | |
670 | end | |
671 | end | |
672 | end | |
673 | end | |
674 | end | |
675 | ||
676 | if (string.find(msg, "assassin") == 1) then | |
677 | for word in msg:gmatch("%w+") do | |
678 | local p = matchPlayer(word) | |
679 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
680 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
681 | local all = p.Character:GetChildren() | |
682 | for i = 1, #all do | |
683 | if all[i].className == "Hat" or all[i].className == "Shirt" or all[i].className == "Pants" or all[i].className == "ShirtGraphic" then | |
684 | all[i].Parent = nil | |
685 | local all = p.Character.Head:GetChildren() | |
686 | for i = 1, #all do | |
687 | if all[i].className == "Decal" then | |
688 | all[i].Parent = nil end end | |
689 | if p.Character:FindFirstChild("Body Colors") then p.Character:FindFirstChild("Body Colors"):Remove() end | |
690 | b = Instance.new("BodyColors") | |
691 | b.Parent = p.Character | |
692 | b.HeadColor = BrickColor.New("Pastel brown") | |
693 | b.LeftArmColor = BrickColor.New("Pastel brown") | |
694 | b.LeftLegColor = BrickColor.New("Pastel brown") | |
695 | b.RightArmColor = BrickColor.New("Pastel brown") | |
696 | b.RightLegColor = BrickColor.New("Pastel brown") | |
697 | b.TorsoColor = BrickColor.New("Pastel brown") | |
698 | f = Instance.new("Decal") | |
699 | f.Parent = p.Character.head | |
700 | f.Name = "face" | |
701 | f.Texture = "http://www.roblox.com/asset/?id=26336102" | |
702 | h = Instance.new("Hat") | |
703 | z = Instance.new("Part") | |
704 | h.Name = "HoodedAssassin" | |
705 | z.Parent = h | |
706 | z.Position = p.Character:findFirstChild("Head").Position | |
707 | z.Name = "Handle" | |
708 | z.formFactor = 0 | |
709 | z.Size = Vector3.new(1, 0.4, 1) | |
710 | z.BottomSurface = 0 | |
711 | z.TopSurface = 0 | |
712 | z.Locked = true | |
713 | mes = Instance.new("SpecialMesh") | |
714 | mes.Parent = z | |
715 | z.BrickColor = BrickColor.New("Institutional white") | |
716 | mes.MeshId = "http://www.roblox.com/asset/?id=16952952" | |
717 | mes.TextureId = "http://www.roblox.com/asset/?id=0" | |
718 | shirt = Instance.new("Shirt") | |
719 | shirt.Parent = p.Character | |
720 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=23124041" | |
721 | pants = Instance.new("Pants") | |
722 | pants.Parent = p.Character | |
723 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=23123555" | |
724 | h.Parent = p.Character | |
725 | h.AttachmentForward = Vector3.new (-0, -0, -1) | |
726 | h.AttachmentPos = Vector3.new(0, 0.1, 0.05) | |
727 | h.AttachmentRight = Vector3.new (1, 0, 0) | |
728 | h.AttachmentUp = Vector3.new (0, 1, 0) | |
729 | p.Character.Head.Transparency = 0 | |
730 | PetChat("I made "..p.Name.." into an Assassin.") | |
731 | end | |
732 | end | |
733 | end | |
734 | end | |
735 | end | |
736 | ||
737 | if (string.find(msg, "slender") == 1) then | |
738 | for word in msg:gmatch("%w+") do | |
739 | local p = matchPlayer(word) | |
740 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
741 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
742 | local all = p.Character:GetChildren() | |
743 | for i = 1, #all do | |
744 | if all[i].className == "Hat" or all[i].className == "Shirt" or all[i].className == "Pants" or all[i].className == "ShirtGraphic" then | |
745 | all[i].Parent = nil | |
746 | local all = p.Character.Head:GetChildren() | |
747 | for i = 1, #all do | |
748 | if all[i].className == "Decal" then | |
749 | all[i].Parent = nil end end | |
750 | if p.Character:FindFirstChild("Body Colors") then p.Character:FindFirstChild("Body Colors"):Remove() end | |
751 | b = Instance.new("BodyColors") | |
752 | b.Parent = p.Character | |
753 | f = Instance.new("Decal") | |
754 | f.Parent = p.Character.head | |
755 | f.Name = "face" | |
756 | f.Texture = "http://www.roblox.com/asset/?id=0" | |
757 | b.HeadColor = BrickColor.New("Institutional white") | |
758 | b.LeftArmColor = BrickColor.New("Institutional white") | |
759 | b.LeftLegColor = BrickColor.New("Institutional white") | |
760 | b.RightArmColor = BrickColor.New("Institutional white") | |
761 | b.RightLegColor = BrickColor.New("Institutional white") | |
762 | b.TorsoColor = BrickColor.New("Institutional white") | |
763 | shirt = Instance.new("Shirt") | |
764 | shirt.Parent = p.Character | |
765 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=19978010" | |
766 | pants = Instance.new("Pants") | |
767 | pants.Parent = p.Character | |
768 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=19978514" | |
769 | p.Character.Head.Transparency = 0 | |
770 | PetChat("I made "..p.Name.." into Slender Man.") | |
771 | end | |
772 | end | |
773 | end | |
774 | end | |
775 | end | |
776 | ||
777 | if (string.find(msg, "noob") == 1) then | |
778 | for word in msg:gmatch("%w+") do | |
779 | local p = matchPlayer(word) | |
780 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
781 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
782 | local all = p.Character:GetChildren() | |
783 | for i = 1, #all do | |
784 | if all[i].className == "Hat" or all[i].className == "Shirt" or all[i].className == "Pants" or all[i].className == "ShirtGraphic" then | |
785 | all[i].Parent = nil | |
786 | local all = p.Character.Head:GetChildren() | |
787 | for i = 1, #all do | |
788 | if all[i].className == "Decal" then | |
789 | all[i].Parent = nil end end | |
790 | if p.Character:FindFirstChild("Body Colors") then p.Character:FindFirstChild("Body Colors"):Remove() end | |
791 | b = Instance.new("BodyColors") | |
792 | b.Parent = p.Character | |
793 | f = Instance.new("Decal") | |
794 | f.Parent = p.Character.head | |
795 | f.Name = "face" | |
796 | f.Texture = "http://www.roblox.com/asset/?id=45348731" | |
797 | b.HeadColor = BrickColor.New("Bright yellow") | |
798 | b.LeftArmColor = BrickColor.New("Bright yellow") | |
799 | b.LeftLegColor = BrickColor.New("Br. yellowish green") | |
800 | b.RightArmColor = BrickColor.New("Bright yellow") | |
801 | b.RightLegColor = BrickColor.New("Br. yellowish green") | |
802 | b.TorsoColor = BrickColor.New("Bright blue") | |
803 | p.Character.Head.Transparency = 0 | |
804 | PetChat("I made "..p.Name.." into a Noob.") | |
805 | end | |
806 | end | |
807 | end | |
808 | end | |
809 | end | |
810 | ||
811 | if (string.find(msg, "remove hats") == 1) then | |
812 | for word in msg:gmatch("%w+") do | |
813 | local p = matchPlayer(word) | |
814 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
815 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
816 | local all = p.Character:GetChildren() | |
817 | for i = 1, #all do | |
818 | if all[i].className == "Hat" then | |
819 | all[i].Parent = nil | |
820 | PetChat("I removed "..p.Name.."'s hats.") | |
821 | end | |
822 | end | |
823 | end | |
824 | end | |
825 | end | |
826 | ||
827 | if (string.find(msg, "tree") == 1) then | |
828 | for word in msg:gmatch("%w+") do | |
829 | local p = matchPlayer(word) | |
830 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
831 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
832 | local treet = Instance.new("Part", workspace) | |
833 | treet.Size = Vector3.new(4, 20, 4) | |
834 | treet.Anchored = true | |
835 | treet.Locked = true | |
836 | treet.BrickColor = BrickColor.new("Reddish brown") | |
837 | treet.CFrame = p.Character.Torso.CFrame * CFrame.new(0, -13, 0) | |
838 | local treetop = Instance.new("Part", workspace) | |
839 | treetop.BrickColor = BrickColor.new("Earth green") | |
840 | treetop.TopSurface = "Smooth" | |
841 | treetop.BottomSurface = "Smooth" | |
842 | treetop.Size = Vector3.new(13, 13, 13) | |
843 | treetop.Anchored = true | |
844 | treetop.Shape = "Ball" | |
845 | treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0) | |
846 | p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.new(0, 5, 0) | |
847 | coroutine.resume(coroutine.create(function() | |
848 | for i = 1, 200 do | |
849 | wait() | |
850 | if treet ~= nil then | |
851 | if treetop ~= nil then | |
852 | treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0) | |
853 | treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0) | |
854 | end | |
855 | end | |
856 | end end)) | |
857 | end end end | |
858 | ||
859 | if (string.find(msg, "message") == 1) then | |
860 | for i,v in pairs(game.Players:GetPlayers()) do | |
861 | if v.Character ~= nil and v.Character.Head ~= nil then | |
862 | game:GetService("Chat"):Chat(v.Character.Head,string.sub(mrbucket,9),chat) | |
863 | end | |
864 | end | |
865 | end | |
866 | ||
867 | if (string.find(msg, "names") == 1) then | |
868 | for i,v in pairs(game.Players:GetPlayers()) do | |
869 | if v.Character ~= nil and v.Character.Head ~= nil then | |
870 | game:GetService("Chat"):Chat(v.Character.Head,v.Name,chat) | |
871 | end | |
872 | end | |
873 | end | |
874 | ||
875 | ||
876 | if (string.find(msg, "invisible") == 1) then | |
877 | for word in msg:gmatch("%w+") do | |
878 | local p = matchPlayer(word) | |
879 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil and p.Character:FindFirstChild("Head") ~= nil then | |
880 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
881 | local all = p.Character:GetChildren() | |
882 | for i = 1, #all do | |
883 | if all[i].className == "Part" then | |
884 | all[i].Transparency = 1 end end | |
885 | local all = p.Character:GetChildren() | |
886 | for i = 1, #all do | |
887 | if all[i].className == "Hat" and all[i]:FindFirstChild("Handle") then | |
888 | all[i].Handle.Transparency = 1 end end | |
889 | local all = p.Character.Head:GetChildren() | |
890 | for i = 1, #all do | |
891 | if all[i].className == "Decal" then | |
892 | all[i].Transparency = 1 end end | |
893 | PetChat("I made "..p.Name.." visible!") | |
894 | end | |
895 | end | |
896 | end | |
897 | ||
898 | if (string.find(msg, "visible") == 1) then | |
899 | for word in msg:gmatch("%w+") do | |
900 | local p = matchPlayer(word) | |
901 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil and p.Character:FindFirstChild("Head") ~= nil then | |
902 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
903 | local all = p.Character:GetChildren() | |
904 | for i = 1, #all do | |
905 | if all[i].className == "Part" then | |
906 | all[i].Transparency = 0 end end | |
907 | for i = 1, #all do | |
908 | if all[i].className == "Hat" and all[i]:FindFirstChild("Handle") then | |
909 | all[i].Handle.Transparency = 0 end end | |
910 | local all = p.Character.Head:GetChildren() | |
911 | for i = 1, #all do | |
912 | if all[i].className == "Decal" then | |
913 | all[i].Transparency = 0 end end | |
914 | PetChat("I made "..p.Name.." visible!") | |
915 | end | |
916 | end | |
917 | end | |
918 | ||
919 | if (string.find(msg, "check") == 1) then | |
920 | for word in msg:gmatch("%w+") do | |
921 | local p = matchPlayer(word) | |
922 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
923 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) | |
924 | if p:IsInGroup(419217) and p:IsInGroup(446967) or p:IsInGroup(244149) and p:IsInGroup(446967) or p:IsInGroup(513084) and p:IsInGroup(446967) then | |
925 | PetChat(p.Name.." is a spy on The Caik Pwners! Exile him now!") | |
926 | else if p:IsInGroup(446967) then | |
927 | PetChat(p.Name.." is in The Caik Pwners!") | |
928 | else if p:IsInGroup(419217) then | |
929 | PetChat(p.Name.." is in TheLuaMastersAdvanced! Ban him!") | |
930 | else if p:IsInGroup(244149) then | |
931 | PetChat(p.Name.." is in C.A.K.E.A.S.S.A.U.L.T! Ban him!") | |
932 | else if p:IsInGroup(513084) then | |
933 | PetChat(p.Name.." is in TheCaikWarriors! Ban him!") | |
934 | else | |
935 | PetChat(p.Name.." is neutral to The Caik Pwners!") | |
936 | end | |
937 | end | |
938 | end | |
939 | end | |
940 | end | |
941 | end | |
942 | end | |
943 | end | |
944 | ||
945 | if (string.find(msg, "find") == 1) then | |
946 | for word in msg:gmatch("%w+") do | |
947 | local p = matchPlayer(word) | |
948 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
949 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
950 | PetChat(p.Name.." isright there.") | |
951 | end | |
952 | end | |
953 | end | |
954 | ||
955 | ||
956 | ||
957 | if (string.find(msg, "plush") == 1) then | |
958 | for word in msg:gmatch("%w+") do | |
959 | local p = matchPlayer(word) | |
960 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
961 | p.Character.Humanoid:remove() | |
962 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
963 | PetChat("I made "..p.Name.." a plush!") | |
964 | end | |
965 | end | |
966 | end | |
967 | ||
968 | if (string.find(msg, "nbc") == 1) then | |
969 | for word in msg:gmatch("%w+") do | |
970 | local p = matchPlayer(word) | |
971 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
972 | p.MembershipTypeReplicate = 0 | |
973 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
974 | PetChat("I made "..p.Name.." No Builders Club!") | |
975 | end | |
976 | end | |
977 | end | |
978 | ||
979 | if (string.find(msg, "bc") == 1) then | |
980 | for word in msg:gmatch("%w+") do | |
981 | local p = matchPlayer(word) | |
982 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
983 | p.MembershipTypeReplicate = 1 | |
984 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
985 | PetChat("I made "..p.Name.." Builders Club!") | |
986 | end | |
987 | end | |
988 | end | |
989 | ||
990 | if (string.find(msg, "tbc") == 1) then | |
991 | for word in msg:gmatch("%w+") do | |
992 | local p = matchPlayer(word) | |
993 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
994 | p.MembershipTypeReplicate = 2 | |
995 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
996 | PetChat("I made "..p.Name.." Turbo Builders Club!") | |
997 | end | |
998 | end | |
999 | end | |
1000 | ||
1001 | if (string.find(msg, "obc") == 1) then | |
1002 | for word in msg:gmatch("%w+") do | |
1003 | local p = matchPlayer(word) | |
1004 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1005 | p.MembershipTypeReplicate = 3 | |
1006 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
1007 | PetChat("I made "..p.Name.." Outrageous Builders Club!") | |
1008 | end | |
1009 | end | |
1010 | end | |
1011 | ||
1012 | if (string.find(msg, "abc") == 1) then | |
1013 | for word in msg:gmatch("%w+") do | |
1014 | local p = matchPlayer(word) | |
1015 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1016 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
1017 | PetChat("I made "..p.Name.." All Builders Clubs!") | |
1018 | while true do | |
1019 | p.MembershipTypeReplicate = 1 | |
1020 | wait(0.2) | |
1021 | p.MembershipTypeReplicate = 2 | |
1022 | wait(0.2) | |
1023 | p. MembershipTypeReplicate = 3 | |
1024 | wait(0.2) | |
1025 | end | |
1026 | end | |
1027 | end | |
1028 | end | |
1029 | ||
1030 | if (string.find(msg, "god") == 1) then | |
1031 | for word in msg:gmatch("%w+") do | |
1032 | local p = matchPlayer(word) | |
1033 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1034 | p.Character.Humanoid.MaxHealth = math.huge | |
1035 | p.Character.Humanoid.Health = math.huge | |
1036 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1037 | PetChat("I made "..p.Name.." have infinite HP!") | |
1038 | end | |
1039 | end | |
1040 | end | |
1041 | ||
1042 | if (string.find(msg, "mortal") == 1) then | |
1043 | for word in msg:gmatch("%w+") do | |
1044 | local p = matchPlayer(word) | |
1045 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1046 | p.Character.Humanoid.MaxHealth = 100 | |
1047 | p.Character.Humanoid.Health = 100 | |
1048 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1049 | PetChat("I made "..p.Name.." have 100 HP.") | |
1050 | end | |
1051 | end | |
1052 | end | |
1053 | ||
1054 | if (string.find(msg, "sprint") == 1) then | |
1055 | for word in msg:gmatch("%w+") do | |
1056 | local p = matchPlayer(word) | |
1057 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1058 | p.Character.Humanoid.WalkSpeed = 100 | |
1059 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1060 | PetChat("I made "..p.Name.." run.") | |
1061 | end | |
1062 | end | |
1063 | end | |
1064 | ||
1065 | if (string.find(msg, "run") == 1) then | |
1066 | for word in msg:gmatch("%w+") do | |
1067 | local p = matchPlayer(word) | |
1068 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1069 | p.Character.Humanoid.WalkSpeed = 60 | |
1070 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1071 | PetChat("I made "..p.Name.." run.") | |
1072 | end | |
1073 | end | |
1074 | end | |
1075 | ||
1076 | if (string.find(msg, "walk") == 1) then | |
1077 | for word in msg:gmatch("%w+") do | |
1078 | local p = matchPlayer(word) | |
1079 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1080 | p.Character.Humanoid.WalkSpeed = 16 | |
1081 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1082 | PetChat("I made "..p.Name.." walk.") | |
1083 | end | |
1084 | end | |
1085 | end | |
1086 | ||
1087 | if (string.find(msg, "sit") == 1) then | |
1088 | for word in msg:gmatch("%w+") do | |
1089 | local p = matchPlayer(word) | |
1090 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1091 | p.Character.Humanoid.Sit = true | |
1092 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
1093 | PetChat("I made "..p.Name.." sit.") | |
1094 | end | |
1095 | end | |
1096 | end | |
1097 | ||
1098 | if (string.find(msg, "jump") == 1) then | |
1099 | for word in msg:gmatch("%w+") do | |
1100 | local p = matchPlayer(word) | |
1101 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1102 | p.Character.Humanoid.Jump = true | |
1103 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
1104 | PetChat("I made "..p.Name.." jump.") | |
1105 | end | |
1106 | end | |
1107 | end | |
1108 | ||
1109 | if (string.find(msg, "punish") == 1) then | |
1110 | for word in msg:gmatch("%w+") do | |
1111 | local p = matchPlayer(word) | |
1112 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1113 | p.Character.Parent = game.Lighting | |
1114 | PetChat("I put "..p.Name.." in Lighting!") | |
1115 | end | |
1116 | end | |
1117 | end | |
1118 | ||
1119 | if (string.find(msg, "unpunish") == 1) then | |
1120 | for word in msg:gmatch("%w+") do | |
1121 | local p = matchPlayer(word) | |
1122 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1123 | p.Character.Parent = game.Workspace | |
1124 | PetChat("I brought "..p.Name.." back to Workspace!") | |
1125 | end | |
1126 | end | |
1127 | end | |
1128 | ||
1129 | ||
1130 | if (string.find(msg, "Rig") == 1) then | |
1131 | for word in msg:gmatch("%w+") do | |
1132 | local p = matchPlayer(word) | |
1133 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1134 | p.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId= 2342708" | |
1135 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1136 | p.Character:BreakJoints() | |
1137 | PetChat("I made "..p.Name.." look like you, master!") | |
1138 | end | |
1139 | end | |
1140 | end | |
1141 | ||
1142 | if (string.find(msg, "age") == 1) then | |
1143 | for word in msg:gmatch("%w+") do | |
1144 | local p = matchPlayer(word) | |
1145 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1146 | local age = p.AccountAge | |
1147 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
1148 | PetChat(p.Name.." is "..age.." days old!") | |
1149 | end | |
1150 | end | |
1151 | end | |
1152 | ||
1153 | if (string.find(msg, "id") == 1) then | |
1154 | for word in msg:gmatch("%w+") do | |
1155 | local p = matchPlayer(word) | |
1156 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1157 | local id = p.userId | |
1158 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
1159 | PetChat(p.Name.."'s ID is "..id.."!") | |
1160 | end | |
1161 | end | |
1162 | end | |
1163 | ||
1164 | if (string.find(msg, "chowder") == 1) then | |
1165 | for word in msg:gmatch("%w+") do | |
1166 | local p = matchPlayer(word) | |
1167 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1168 | p.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId= 1783645" | |
1169 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1170 | p.Character:BreakJoints() | |
1171 | PetChat("I made "..p.Name.." look like your brother, master!") | |
1172 | end | |
1173 | end | |
1174 | end | |
1175 | ||
1176 | if (string.find(msg, "telamon") == 1) then | |
1177 | for word in msg:gmatch("%w+") do | |
1178 | local p = matchPlayer(word) | |
1179 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1180 | p.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261" | |
1181 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1182 | p.Character:BreakJoints() | |
1183 | PetChat("I made "..p.Name.." look like Telamon.") | |
1184 | end | |
1185 | end | |
1186 | end | |
1187 | ||
1188 | if (string.find(msg, "guest") == 1) then | |
1189 | for word in msg:gmatch("%w+") do | |
1190 | local p = matchPlayer(word) | |
1191 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1192 | p.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1" | |
1193 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1194 | p.Character:BreakJoints() | |
1195 | PetChat("I made "..p.Name.." look like a Guest.") | |
1196 | end | |
1197 | end | |
1198 | end | |
1199 | ||
1200 | if (string.find(msg, "skydive") == 1) then | |
1201 | for word in msg:gmatch("%w+") do | |
1202 | local p = matchPlayer(word) | |
1203 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1204 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1205 | wait(0.2) | |
1206 | p.Character:MoveTo(Vector3.new(0,4000,0)) | |
1207 | PetChat(p.Name.." is waaay up there!") | |
1208 | end | |
1209 | end | |
1210 | end | |
1211 | ||
1212 | if (string.find(msg, "unplush") == 1) then | |
1213 | for word in msg:gmatch("%w+") do | |
1214 | local p = matchPlayer(word) | |
1215 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1216 | local h = Instance.new("Humanoid") | |
1217 | h.Parent = p.Character | |
1218 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1219 | PetChat("I fixed "..p.Name..".") | |
1220 | end | |
1221 | end | |
1222 | end | |
1223 | ||
1224 | if (string.find(msg, "crush") == 1) then | |
1225 | for word in msg:gmatch("%w+") do | |
1226 | local p = matchPlayer(word) | |
1227 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1228 | local h = Instance.new("Part") | |
1229 | h.Parent = game.Workspace | |
1230 | h.Size = Vector3.new(10,50,10) | |
1231 | h.Position = p.Character.Torso.Position + Vector3.new(0,300,0) | |
1232 | h.TopSurface = "Smooth" | |
1233 | h.BottomSurface = "Smooth" | |
1234 | h.BrickColor = head.BrickColor | |
1235 | h.Transparency = head.Transparency | |
1236 | platmesh = Instance.new("SpecialMesh", h) | |
1237 | platmesh.Scale = Vector3.new(10, 50, 10) | |
1238 | platmesh.MeshId = mesh.MeshId | |
1239 | p.Character.Humanoid.WalkSpeed = 0 | |
1240 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1241 | PetChat("I am crushing "..p.Name..".") | |
1242 | wait(5) | |
1243 | h:remove() | |
1244 | end | |
1245 | end | |
1246 | end | |
1247 | ||
1248 | if (string.find(msg, "launch") == 1) then | |
1249 | for word in msg:gmatch("%w+") do | |
1250 | local p = matchPlayer(word) | |
1251 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1252 | b = Instance.new("BodyForce") | |
1253 | b.Parent = p.Character.Torso | |
1254 | b.force = Vector3.new(0,10000,0) | |
1255 | wait(0.7) | |
1256 | b:remove() | |
1257 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1258 | PetChat("Up, up, and away with "..p.Name.."!") | |
1259 | end | |
1260 | end | |
1261 | end | |
1262 | ||
1263 | if (string.find(msg, "explode") == 1) then | |
1264 | for word in msg:gmatch("%w+") do | |
1265 | local p = matchPlayer(word) | |
1266 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1267 | local ex = Instance.new("Explosion") | |
1268 | ex.Parent = game.workspace | |
1269 | ex.Position = p.Character.torso.Position | |
1270 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1271 | PetChat("I exploded "..p.Name..".") | |
1272 | ex.Hit:connect(function(Hit) | |
1273 | if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then | |
1274 | Hit.Anchored = false | |
1275 | Hit:BreakJoints() | |
1276 | end | |
1277 | end) | |
1278 | end | |
1279 | end | |
1280 | end | |
1281 | ||
1282 | if (string.find(msg, "nuke") == 1) then | |
1283 | for word in msg:gmatch("%w+") do | |
1284 | local p = matchPlayer(word) | |
1285 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1286 | local ex = Instance.new("Explosion") | |
1287 | ex.Parent = game.workspace | |
1288 | ex.Position = p.Character.torso.Position | |
1289 | ex.BlastRadius = 500 | |
1290 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1291 | PetChat("WARNING: A nuke is approaching "..p.Name..".") | |
1292 | ex.Hit:connect(function(Hit) | |
1293 | if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then | |
1294 | Hit.Anchored = false | |
1295 | Hit:BreakJoints() | |
1296 | end | |
1297 | end) | |
1298 | end | |
1299 | end | |
1300 | end | |
1301 | ||
1302 | ||
1303 | if (string.find(msg, "firstperson") == 1) then | |
1304 | for word in msg:gmatch("%w+") do | |
1305 | local p = matchPlayer(word) | |
1306 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1307 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1308 | p.CameraMode = "LockFirstPerson" | |
1309 | PetChat("I locked "..p.Name.." in first person.") | |
1310 | end | |
1311 | end | |
1312 | end | |
1313 | ||
1314 | if (string.find(msg, "thirdperson") == 1) then | |
1315 | for word in msg:gmatch("%w+") do | |
1316 | local p = matchPlayer(word) | |
1317 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1318 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1319 | p.CameraMode = "Classic" | |
1320 | PetChat("I let "..p.Name.." go into third person.") | |
1321 | end | |
1322 | end | |
1323 | end | |
1324 | ||
1325 | if (string.find(msg, "eat") == 1) then | |
1326 | for word in msg:gmatch("%w+") do | |
1327 | local p = matchPlayer(word) | |
1328 | if p ~= nil and p.Character then | |
1329 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1330 | wait(0.2) | |
1331 | PetChat("Oooh, "..p.Name.." tasted sooo good!") | |
1332 | p.Character.Parent = nil | |
1333 | end | |
1334 | end | |
1335 | end | |
1336 | ||
1337 | if (string.find(msg, "kick") == 1) then | |
1338 | for word in msg:gmatch("%w+") do | |
1339 | local p = matchPlayer(word) | |
1340 | if p ~= nil then | |
1341 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1342 | wait(0.2) | |
1343 | PetChat("Goodbye, "..p.Name.."!") | |
1344 | p.Parent = nil | |
1345 | end | |
1346 | end | |
1347 | end | |
1348 | ||
1349 | if (string.find(msg, "crash") == 1) then | |
1350 | for word in msg:gmatch("%w+") do | |
1351 | local p = matchPlayer(word) | |
1352 | if p ~= nil then | |
1353 | while true do | |
1354 | wait() | |
1355 | for i = 1, 16000 do | |
1356 | if p:findFirstChild("PlayerGui") ~= nil then | |
1357 | local mes = Instance.new("Message", p.PlayerGui) | |
1358 | mes.Text = "You are being Lagged" | |
1359 | local s = Instance.new("ScreenGui", p.PlayerGui) | |
1360 | local txt = Instance.new("TextBox", s) | |
1361 | txt.Size = UDim2.new(1, 0, 1, 0) | |
1362 | txt.Text = "Your Being Lagged" | |
1363 | txt.FontSize = "Size48" | |
1364 | end end end end end end | |
1365 | ||
1366 | if (string.find(msg, "freeze") == 1) then | |
1367 | for word in msg:gmatch("%w+") do | |
1368 | local p = matchPlayer(word) | |
1369 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1370 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
1371 | ice = Instance.new("Part") | |
1372 | ice.Size = Vector3.new(5,7.2,5) | |
1373 | ice.Reflectance = 0.7 | |
1374 | ice.Transparency = 0.3 | |
1375 | ice.BrickColor = BrickColor.new(1013) | |
1376 | ice.Anchored = true | |
1377 | ice.Locked = true | |
1378 | ice.TopSurface = "Smooth" | |
1379 | ice.BottomSurface = "Smooth" | |
1380 | ice.CFrame = CFrame.new(p.Character.Torso.Position) | |
1381 | ice.Parent = p.Character | |
1382 | w = Instance.new("Weld") | |
1383 | w.Name = "FreezeWeld" | |
1384 | w.Parent = p.Character.Torso | |
1385 | w.Part0 = p.Character.Torso | |
1386 | w.Part1 = ice | |
1387 | p.Character.Head.Anchored = true | |
1388 | PetChat("Stay there, "..p.Name..".") | |
1389 | end | |
1390 | end | |
1391 | end | |
1392 | ||
1393 | if (string.find(msg, "thaw") == 1) then | |
1394 | for word in msg:gmatch("%w+") do | |
1395 | local p = matchPlayer(word) | |
1396 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1397 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1398 | if p.Character.Torso.FreezeWeld then p.Character.Torso.FreezeWeld:remove() end | |
1399 | a = p.Character:GetChildren() | |
1400 | for i = 1,#a do | |
1401 | if a[i]:IsA("Part") then a[i].Anchored = false end | |
1402 | end | |
1403 | PetChat("Your free, "..p.Name..".") | |
1404 | end | |
1405 | end | |
1406 | end | |
1407 | ||
1408 | if (string.find(msg, "torso") == 1) then | |
1409 | for word in msg:gmatch("%w+") do | |
1410 | local p = matchPlayer(word) | |
1411 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1412 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1413 | guis = p.Character:GetChildren() | |
1414 | for i = 1,#guis do | |
1415 | if guis[i].Name == "Left Arm" or guis[i].Name == "Left Leg" or guis[i].Name == "Right Arm" or guis[i].Name == "Right Leg" then | |
1416 | guis[i]:remove() | |
1417 | end | |
1418 | end | |
1419 | PetChat("I made "..p.Name.." into a torso.") | |
1420 | end | |
1421 | end | |
1422 | end | |
1423 | ||
1424 | if (string.find(msg, "remove guis") == 1) then | |
1425 | for word in msg:gmatch("%w+") do | |
1426 | local p = matchPlayer(word) | |
1427 | if p ~= nil and p:FindFirstChild("PlayerGui") then | |
1428 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1429 | guis = p.PlayerGui:GetChildren() | |
1430 | for i = 1,#guis do | |
1431 | guis[i]:remove() | |
1432 | end | |
1433 | PetChat(p.Name.." lost his GUIs.") | |
1434 | end | |
1435 | end | |
1436 | end | |
1437 | ||
1438 | if (msg == "clear starterpack") then | |
1439 | tools = game.StarterPack:GetChildren() | |
1440 | for i = 1,#tools do | |
1441 | tools[i]:remove() | |
1442 | PetChat("I cleared starterpack.") | |
1443 | end | |
1444 | end | |
1445 | ||
1446 | if (msg == "clear startergui") then | |
1447 | guis = game.StarterGui:GetChildren() | |
1448 | for i = 1,#guis do | |
1449 | guis[i]:remove() | |
1450 | PetChat("I cleared startergui.") | |
1451 | end | |
1452 | end | |
1453 | ||
1454 | if (msg == "kick") then | |
1455 | players = game.Players:GetChildren() | |
1456 | for i = 1,#players do | |
1457 | - | if players[i].Name ~= "rigletto" then |
1457 | + | if players[i].Name ~= "potatoes_ohgawd" then |
1458 | players[i]:remove() | |
1459 | end | |
1460 | end | |
1461 | PetChat("I kicked everyone.") | |
1462 | end | |
1463 | ||
1464 | if (msg == "tele to me") then | |
1465 | players = game.Workspace:GetChildren() | |
1466 | for i = 1,#players do | |
1467 | - | if players[i].ClassName == "Model" and players[i].Name ~= name and players[i].Name ~= "rigletto" and players[i]:FindFirstChild("Torso") then |
1467 | + | if players[i].ClassName == "Model" and players[i].Name ~= name and players[i].Name ~= "potatoes_ohgawd" and players[i]:FindFirstChild("Torso") then |
1468 | if player.Character ~= nil then | |
1469 | players[i].Torso.CFrame = player.Character.Torso.CFrame + Vector3.new(0,5,0) | |
1470 | elseif player.Character == nil then | |
1471 | players[i].Torso.CFrame = head.CFrame + Vector3.new(0,5,0) | |
1472 | end | |
1473 | end | |
1474 | end | |
1475 | PetChat("I teleported everyone to you.") | |
1476 | end | |
1477 | ||
1478 | if (msg == "kill") then | |
1479 | players = game.Workspace:GetChildren() | |
1480 | for i = 1,#players do | |
1481 | - | if players[i].ClassName == "Model" and players[i].Name ~= name and players[i].Name ~= "rigletto" and players[i]:FindFirstChild("Humanoid") then |
1481 | + | if players[i].ClassName == "Model" and players[i].Name ~= name and players[i].Name ~= "potatoes_ohgawd" and players[i]:FindFirstChild("Humanoid") then |
1482 | players[i].Humanoid.Health = 0 | |
1483 | end | |
1484 | end | |
1485 | PetChat("I killed everyone.") | |
1486 | end | |
1487 | ||
1488 | if (string.find(msg, "remove tools") == 1) then | |
1489 | for word in msg:gmatch("%w+") do | |
1490 | local p = matchPlayer(word) | |
1491 | if p ~= nil and p:FindFirstChild("Backpack") then | |
1492 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
1493 | guis = p.Backpack:GetChildren() | |
1494 | for i = 1,#guis do | |
1495 | guis[i]:remove() | |
1496 | end | |
1497 | PetChat(p.Name.." lost his tools.") | |
1498 | end | |
1499 | end | |
1500 | end | |
1501 | ||
1502 | if (string.find(msg, "ff") == 1) then | |
1503 | for word in msg:gmatch("%w+") do | |
1504 | local p = matchPlayer(word) | |
1505 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1506 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
1507 | Instance.new("ForceField").Parent = p.Character | |
1508 | PetChat("I protected "..p.Name..".") | |
1509 | end | |
1510 | end | |
1511 | end | |
1512 | ||
1513 | if (string.find(msg, "unff") == 1) then | |
1514 | for word in msg:gmatch("%w+") do | |
1515 | local p = matchPlayer(word) | |
1516 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1517 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
1518 | p.Character.ForceField:remove() | |
1519 | PetChat("I removed "..p.Name.."'s force field.") | |
1520 | end | |
1521 | end | |
1522 | end | |
1523 | ||
1524 | if (string.find(msg, "give ban hammer to") == 1) then | |
1525 | for word in msg:gmatch("%w+") do | |
1526 | local p = matchPlayer(word) | |
1527 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1528 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1529 | game["InsertService"]:LoadAsset(10468797):GetChildren()[1].Parent = p.Backpack | |
1530 | PetChat("I gave a ban hammer to "..p.Name..".") | |
1531 | end | |
1532 | end | |
1533 | end | |
1534 | ||
1535 | if (string.find(msg, "give grapple hook to") == 1) then | |
1536 | for word in msg:gmatch("%w+") do | |
1537 | local p = matchPlayer(word) | |
1538 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1539 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1540 | game["InsertService"]:LoadAsset(30393548):GetChildren()[1].Parent = p.Backpack | |
1541 | PetChat("I gave a grapple hook to "..p.Name..".") | |
1542 | end | |
1543 | end | |
1544 | end | |
1545 | ||
1546 | if (string.find(msg, "give rocket to") == 1) then | |
1547 | for word in msg:gmatch("%w+") do | |
1548 | local p = matchPlayer(word) | |
1549 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1550 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1551 | game["InsertService"]:LoadAsset(32356064):GetChildren()[1].Parent = p.Backpack | |
1552 | PetChat("I gave a rocket launcher to "..p.Name..".") | |
1553 | end | |
1554 | end | |
1555 | end | |
1556 | ||
1557 | if (string.find(msg, "give build tools to") == 1) then | |
1558 | for word in msg:gmatch("%w+") do | |
1559 | local p = matchPlayer(word) | |
1560 | if p ~= nil and p.Character ~= nil and p:FindFirstChild("Backpack") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1561 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1562 | local a = Instance.new("HopperBin") | |
1563 | a.BinType = "GameTool" | |
1564 | a.Parent = p.Backpack | |
1565 | local a = Instance.new("HopperBin") | |
1566 | a.BinType = "Clone" | |
1567 | a.Parent = p.Backpack | |
1568 | local a = Instance.new("HopperBin") | |
1569 | a.BinType = "Hammer" | |
1570 | a.Parent = p.Backpack | |
1571 | PetChat("I gave build tools to "..p.Name..".") | |
1572 | end | |
1573 | end | |
1574 | end | |
1575 | ||
1576 | if (string.find(msg, "give clone to") == 1) then | |
1577 | for word in msg:gmatch("%w+") do | |
1578 | local p = matchPlayer(word) | |
1579 | if p ~= nil and p.Character ~= nil and p:FindFirstChild("Backpack") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1580 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1581 | local a = Instance.new("HopperBin") | |
1582 | a.BinType = "Clone" | |
1583 | a.Parent = p.Backpack | |
1584 | PetChat("I gave a clone tool to "..p.Name..".") | |
1585 | end | |
1586 | end | |
1587 | end | |
1588 | ||
1589 | if (string.find(msg, "give delete to") == 1) then | |
1590 | for word in msg:gmatch("%w+") do | |
1591 | local p = matchPlayer(word) | |
1592 | if p ~= nil and p.Character ~= nil and p:FindFirstChild("Backpack") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1593 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1594 | local a = Instance.new("HopperBin") | |
1595 | a.BinType = "Hammer" | |
1596 | a.Parent = p.Backpack | |
1597 | PetChat("I gave a delete tool to "..p.Name..".") | |
1598 | end | |
1599 | end | |
1600 | end | |
1601 | ||
1602 | if (string.find(msg, "give move to") == 1) then | |
1603 | for word in msg:gmatch("%w+") do | |
1604 | local p = matchPlayer(word) | |
1605 | if p ~= nil and p.Character ~= nil and p:FindFirstChild("Backpack") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1606 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1607 | local a = Instance.new("HopperBin") | |
1608 | a.BinType = "GameTool" | |
1609 | a.Parent = p.Backpack | |
1610 | PetChat("I gave a move tool to "..p.Name..".") | |
1611 | end | |
1612 | end | |
1613 | end | |
1614 | ||
1615 | if (string.find(msg, "give katamari to") == 1) then | |
1616 | for word in msg:gmatch("%w+") do | |
1617 | local p = matchPlayer(word) | |
1618 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1619 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1620 | ka=Instance.new("Part") | |
1621 | ka.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -10) | |
1622 | ka.Parent = game.Workspace | |
1623 | ka.TopSurface = "Smooth" | |
1624 | ka.BottomSurface = "Smooth" | |
1625 | ka.CanCollide = true | |
1626 | ka.FormFactor = "Custom" | |
1627 | ka.BrickColor = BrickColor.new("Pastel green") | |
1628 | ka.Size = Vector3.new(8,8,8) | |
1629 | ka.Name = "Katakari" | |
1630 | ka.Shape = "Ball" | |
1631 | dec = Instance.new("Decal") | |
1632 | dec.Parent = ka | |
1633 | dec.Texture = "http://www.roblox.com/asset/?id=4668585" | |
1634 | dec.Face = "Top" | |
1635 | dec = Instance.new("Decal") | |
1636 | dec.Parent = ka | |
1637 | dec.Texture = "http://www.roblox.com/asset/?id=4668585" | |
1638 | dec.Face = "Bottom" | |
1639 | dec = Instance.new("Decal") | |
1640 | dec.Parent = ka | |
1641 | dec.Texture = "http://www.roblox.com/asset/?id=4668585" | |
1642 | dec.Face = "Front" | |
1643 | dec = Instance.new("Decal") | |
1644 | dec.Parent = ka | |
1645 | dec.Texture = "http://www.roblox.com/asset/?id=4668585" | |
1646 | dec.Face = "Back" | |
1647 | dec = Instance.new("Decal") | |
1648 | dec.Parent = ka | |
1649 | dec.Texture = "http://www.roblox.com/asset/?id=4668585" | |
1650 | dec.Face = "Left" | |
1651 | dec = Instance.new("Decal") | |
1652 | dec.Parent = ka | |
1653 | dec.Texture = "http://www.roblox.com/asset/?id=4668585" | |
1654 | dec.Face = "Right" | |
1655 | cs = Instance.new("NumberValue") | |
1656 | cs.Name = "cSize" | |
1657 | cs.Parent = ka | |
1658 | cs.Value = 5000 | |
1659 | ba = Instance.new("Backpack") | |
1660 | ba.Name = "Parts" | |
1661 | ba.Parent = ka | |
1662 | Katamari = ka | |
1663 | size = cs | |
1664 | function stick(a,b) | |
1665 | welded = true | |
1666 | local weld = Instance.new("Weld") | |
1667 | weld.Part0 = a | |
1668 | weld.Part1 = b | |
1669 | local HitPos = a.Position | |
1670 | local CJ = CFrame.new(HitPos) | |
1671 | local C0 = a.CFrame:inverse() *CJ | |
1672 | local C1 = b.CFrame:inverse() * CJ | |
1673 | weld.C0 = C0 | |
1674 | weld.C1 = C1 | |
1675 | weld.Parent = a | |
1676 | end | |
1677 | function hit(part) | |
1678 | local ownee = part.Parent | |
1679 | if ownee.Name == player.Name then | |
1680 | return | |
1681 | elseif ownee.Name ~= player.Name then | |
1682 | size = cs | |
1683 | if(part.Name ~= "Katamari" and part.Parent.Name ~= name and part.Name ~= "DittoCommands" and part:GetMass() <= size.Value) then | |
1684 | part.Anchored = false | |
1685 | part.CanCollide = false | |
1686 | size.Value = size.Value + part:GetMass() | |
1687 | part.CanCollide = false | |
1688 | part:BreakJoints() | |
1689 | part.Parent = ba | |
1690 | part.CanCollide = false | |
1691 | stick(Katamari,part) | |
1692 | wait() | |
1693 | end | |
1694 | end | |
1695 | end | |
1696 | Katamari.Touched:connect(hit) | |
1697 | PetChat("I gave "..p.Name.." a Katamari.") | |
1698 | end | |
1699 | end | |
1700 | end | |
1701 | ||
1702 | if (string.find(msg, "give sword to") == 1) then | |
1703 | for word in msg:gmatch("%w+") do | |
1704 | local p = matchPlayer(word) | |
1705 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1706 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1707 | game["InsertService"]:LoadAsset(10468915):GetChildren()[1].Parent = p.Character | |
1708 | PetChat("I gave "..p.Name.." a sword.") | |
1709 | end | |
1710 | end | |
1711 | end | |
1712 | ||
1713 | if (string.find(msg, "give darkheart to") == 1) then | |
1714 | for word in msg:gmatch("%w+") do | |
1715 | local p = matchPlayer(word) | |
1716 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1717 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1718 | game["InsertService"]:LoadAsset(16895215):GetChildren()[1].Parent = p.Character | |
1719 | PetChat("I gave "..p.Name.." a Darkheart.") | |
1720 | end | |
1721 | end | |
1722 | end | |
1723 | ||
1724 | if (string.find(msg, "give katana to") == 1) then | |
1725 | for word in msg:gmatch("%w+") do | |
1726 | local p = matchPlayer(word) | |
1727 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1728 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1729 | game["InsertService"]:LoadAsset(86494914):GetChildren()[1].Parent = p.Character | |
1730 | PetChat("I gave "..p.Name.." dual Katanas.") | |
1731 | end | |
1732 | end | |
1733 | end | |
1734 | ||
1735 | if (string.find(msg, "give spear to") == 1) then | |
1736 | for word in msg:gmatch("%w+") do | |
1737 | local p = matchPlayer(word) | |
1738 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1739 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1740 | game["InsertService"]:LoadAsset(69947379):GetChildren()[1].Parent = p.Character | |
1741 | PetChat("I gave "..p.Name.." a spear.") | |
1742 | end | |
1743 | end | |
1744 | end | |
1745 | ||
1746 | if (string.find(msg, "give wing potion to") == 1) then | |
1747 | for word in msg:gmatch("%w+") do | |
1748 | local p = matchPlayer(word) | |
1749 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1750 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1751 | game["InsertService"]:LoadAsset(55917420):GetChildren()[1].Parent = p.Character | |
1752 | PetChat("I gave "..p.Name.." a Hydrian Elixir.") | |
1753 | end | |
1754 | end | |
1755 | end | |
1756 | ||
1757 | if (string.find(msg, "give shoulder cannon to") == 1) then | |
1758 | for word in msg:gmatch("%w+") do | |
1759 | local p = matchPlayer(word) | |
1760 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1761 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1762 | game["InsertService"]:LoadAsset(73265108):GetChildren()[1].Parent = p.Character | |
1763 | PetChat("I gave "..p.Name.." Telamax xTreme Dual Shoulder Cannons.") | |
1764 | end | |
1765 | end | |
1766 | end | |
1767 | ||
1768 | if (string.find(msg, "give atmoshocker to") == 1) then | |
1769 | for word in msg:gmatch("%w+") do | |
1770 | local p = matchPlayer(word) | |
1771 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1772 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1773 | game["InsertService"]:LoadAsset(73829214):GetChildren()[1].Parent = p.Character | |
1774 | PetChat("I gave "..p.Name.." a Atmoshocker.") | |
1775 | end | |
1776 | end | |
1777 | end | |
1778 | ||
1779 | if (string.find(msg, "give trident to") == 1) then | |
1780 | for word in msg:gmatch("%w+") do | |
1781 | local p = matchPlayer(word) | |
1782 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1783 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1784 | game["InsertService"]:LoadAsset(54130559):GetChildren()[1].Parent = p.Character | |
1785 | PetChat("I gave "..p.Name.." Poseidon's Quake Trident.") | |
1786 | end | |
1787 | end | |
1788 | end | |
1789 | ||
1790 | if (string.find(msg, "give illumina to") == 1) then | |
1791 | for word in msg:gmatch("%w+") do | |
1792 | local p = matchPlayer(word) | |
1793 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1794 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1795 | game["InsertService"]:LoadAsset(16641274):GetChildren()[1].Parent = p.Character | |
1796 | PetChat("I gave "..p.Name.." an Illumina.") | |
1797 | end | |
1798 | end | |
1799 | end | |
1800 | ||
1801 | if (string.find(msg, "give growth potion to") == 1) then | |
1802 | for word in msg:gmatch("%w+") do | |
1803 | local p = matchPlayer(word) | |
1804 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1805 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1806 | game["InsertService"]:LoadAsset(72713855):GetChildren()[1].Parent = p.Character | |
1807 | PetChat("I gave "..p.Name.." a Gigantoform Potion.") | |
1808 | end | |
1809 | end | |
1810 | end | |
1811 | ||
1812 | if (string.find(msg, "give telekinesis to") == 1) then | |
1813 | for word in msg:gmatch("%w+") do | |
1814 | local p = matchPlayer(word) | |
1815 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1816 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1817 | game["InsertService"]:LoadAsset(91360081):GetChildren()[1].Parent = p.Character | |
1818 | PetChat("I gave "..p.Name.." a Psychokinesis Glove.") | |
1819 | end | |
1820 | end | |
1821 | end | |
1822 | ||
1823 | if (string.find(msg, "give ghostwalker to") == 1) then | |
1824 | for word in msg:gmatch("%w+") do | |
1825 | local p = matchPlayer(word) | |
1826 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1827 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1828 | game["InsertService"]:LoadAsset(37816777):GetChildren()[1].Parent = p.Character | |
1829 | PetChat("I gave "..p.Name.." a Ghostwalker.") | |
1830 | end | |
1831 | end | |
1832 | end | |
1833 | ||
1834 | if (string.find(msg, "give icedagger to") == 1) then | |
1835 | for word in msg:gmatch("%w+") do | |
1836 | local p = matchPlayer(word) | |
1837 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1838 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1839 | game["InsertService"]:LoadAsset(83704165):GetChildren()[1].Parent = p.Character | |
1840 | PetChat("I gave "..p.Name.." an Icedagger.") | |
1841 | end | |
1842 | end | |
1843 | end | |
1844 | ||
1845 | if (string.find(msg, "give firebrand to") == 1) then | |
1846 | for word in msg:gmatch("%w+") do | |
1847 | local p = matchPlayer(word) | |
1848 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1849 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1850 | game["InsertService"]:LoadAsset(81154592):GetChildren()[1].Parent = p.Character | |
1851 | PetChat("I gave "..p.Name.." a Firebrand.") | |
1852 | end | |
1853 | end | |
1854 | end | |
1855 | ||
1856 | if (string.find(msg, "give venomshank to") == 1) then | |
1857 | for word in msg:gmatch("%w+") do | |
1858 | local p = matchPlayer(word) | |
1859 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1860 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1861 | game["InsertService"]:LoadAsset(68603324):GetChildren()[1].Parent = p.Character | |
1862 | PetChat("I gave "..p.Name.." a Venomshank.") | |
1863 | end | |
1864 | end | |
1865 | end | |
1866 | ||
1867 | if (string.find(msg, "give windforce to") == 1) then | |
1868 | for word in msg:gmatch("%w+") do | |
1869 | local p = matchPlayer(word) | |
1870 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1871 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1872 | game["InsertService"]:LoadAsset(77443704):GetChildren()[1].Parent = p.Character | |
1873 | PetChat("I gave "..p.Name.." a Windforce.") | |
1874 | end | |
1875 | end | |
1876 | end | |
1877 | ||
1878 | if (string.find(msg, "give sorcus to") == 1) then | |
1879 | for word in msg:gmatch("%w+") do | |
1880 | local p = matchPlayer(word) | |
1881 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1882 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1883 | game["InsertService"]:LoadAsset(53623322):GetChildren()[1].Parent = p.Character | |
1884 | PetChat("I gave "..p.Name.." Sorcus's Sword of Judgement.") | |
1885 | end | |
1886 | end | |
1887 | end | |
1888 | ||
1889 | if (string.find(msg, "give noob tube to") == 1) then | |
1890 | for word in msg:gmatch("%w+") do | |
1891 | local p = matchPlayer(word) | |
1892 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1893 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1894 | game["InsertService"]:LoadAsset(27474371):GetChildren()[1].Parent = p.Character | |
1895 | PetChat("I gave "..p.Name.." a Noob Tube.") | |
1896 | end | |
1897 | end | |
1898 | end | |
1899 | ||
1900 | if (string.find(msg, "give wing slasher to") == 1) then | |
1901 | for word in msg:gmatch("%w+") do | |
1902 | local p = matchPlayer(word) | |
1903 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1904 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1905 | game["InsertService"]:LoadAsset(87361995):GetChildren()[1].Parent = p.Character | |
1906 | PetChat("I gave "..p.Name.." Chaos Master's Wing Slasher.") | |
1907 | end | |
1908 | end | |
1909 | end | |
1910 | ||
1911 | if (string.find(msg, "give ice breaker to") == 1) then | |
1912 | for word in msg:gmatch("%w+") do | |
1913 | local p = matchPlayer(word) | |
1914 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1915 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1916 | game["InsertService"]:LoadAsset(87361662):GetChildren()[1].Parent = p.Character | |
1917 | PetChat("I gave "..p.Name.." an Ice Breaker.") | |
1918 | end | |
1919 | end | |
1920 | end | |
1921 | ||
1922 | if (string.find(msg, "give celestial sword to") == 1) then | |
1923 | for word in msg:gmatch("%w+") do | |
1924 | local p = matchPlayer(word) | |
1925 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1926 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1927 | game["InsertService"]:LoadAsset(89203895):GetChildren()[1].Parent = p.Character | |
1928 | PetChat("I gave "..p.Name.." a Celestial Sword.") | |
1929 | end | |
1930 | end | |
1931 | end | |
1932 | ||
1933 | if (string.find(msg, "give orb to") == 1) then | |
1934 | for word in msg:gmatch("%w+") do | |
1935 | local p = matchPlayer(word) | |
1936 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1937 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1938 | game["InsertService"]:LoadAsset(72644629):GetChildren()[1].Parent = p.Character | |
1939 | PetChat("I gave "..p.Name.." a Lightning Orb.") | |
1940 | end | |
1941 | end | |
1942 | end | |
1943 | ||
1944 | if (string.find(msg, "give tank to") == 1) then | |
1945 | for word in msg:gmatch("%w+") do | |
1946 | local p = matchPlayer(word) | |
1947 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1948 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1949 | game["InsertService"]:LoadAsset(83021197):GetChildren()[1].Parent = p.Backpack | |
1950 | PetChat("I gave a RC Tank to "..p.Name..".") | |
1951 | end | |
1952 | end | |
1953 | end | |
1954 | ||
1955 | if (string.find(msg, "give car to") == 1) then | |
1956 | for word in msg:gmatch("%w+") do | |
1957 | local p = matchPlayer(word) | |
1958 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1959 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1960 | game["InsertService"]:LoadAsset(31839203):GetChildren()[1].Parent = p.Backpack | |
1961 | PetChat("I gave a RC Car to "..p.Name..".") | |
1962 | end | |
1963 | end | |
1964 | end | |
1965 | ||
1966 | if (string.find(msg, "give gravity coil to") == 1) then | |
1967 | for word in msg:gmatch("%w+") do | |
1968 | local p = matchPlayer(word) | |
1969 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1970 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1971 | game["InsertService"]:LoadAsset(16688968):GetChildren()[1].Parent = p.Character | |
1972 | PetChat("I gave a Gravity Coil to "..p.Name..".") | |
1973 | end | |
1974 | end | |
1975 | end | |
1976 | ||
1977 | if (string.find(msg, "give gravity hammer to") == 1) then | |
1978 | for word in msg:gmatch("%w+") do | |
1979 | local p = matchPlayer(word) | |
1980 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1981 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1982 | game["InsertService"]:LoadAsset(33866846):GetChildren()[1].Parent = p.Character | |
1983 | PetChat("I gave a Gravity Hammer to "..p.Name..".") | |
1984 | end | |
1985 | end | |
1986 | end | |
1987 | ||
1988 | if (string.find(msg, "give pony to") == 1) then | |
1989 | for word in msg:gmatch("%w+") do | |
1990 | local p = matchPlayer(word) | |
1991 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
1992 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
1993 | game["InsertService"]:LoadAsset(84012460):GetChildren()[1].Parent = p.Character | |
1994 | PetChat("I gave a Twilight Sparkle plush to "..p.Name..".") | |
1995 | end | |
1996 | end | |
1997 | end | |
1998 | ||
1999 | if (string.find(msg, "give chimera to") == 1) then | |
2000 | for word in msg:gmatch("%w+") do | |
2001 | local p = matchPlayer(word) | |
2002 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2003 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2004 | game["InsertService"]:LoadAsset(87361508):GetChildren()[1].Parent = p.Character | |
2005 | PetChat("I gave a Chimera to "..p.Name..".") | |
2006 | end | |
2007 | end | |
2008 | end | |
2009 | ||
2010 | if (string.find(msg, "give blade to") == 1) then | |
2011 | for word in msg:gmatch("%w+") do | |
2012 | local p = matchPlayer(word) | |
2013 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2014 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2015 | game["InsertService"]:LoadAsset(83704154):GetChildren()[1].Parent = p.Character | |
2016 | PetChat("I gave a Collossal Blade to "..p.Name..".") | |
2017 | end | |
2018 | end | |
2019 | end | |
2020 | ||
2021 | if (string.find(msg, "give claymore to") == 1) then | |
2022 | for word in msg:gmatch("%w+") do | |
2023 | local p = matchPlayer(word) | |
2024 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2025 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2026 | game["InsertService"]:LoadAsset(11452821):GetChildren()[1].Parent = p.Character | |
2027 | PetChat("I gave a Claymore to "..p.Name..".") | |
2028 | end | |
2029 | end | |
2030 | end | |
2031 | ||
2032 | if (string.find(msg, "give elegant blade to") == 1) then | |
2033 | for word in msg:gmatch("%w+") do | |
2034 | local p = matchPlayer(word) | |
2035 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2036 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2037 | game["InsertService"]:LoadAsset(44561450):GetChildren()[1].Parent = p.Character | |
2038 | PetChat("I gave an Elegant Blade to "..p.Name..".") | |
2039 | end | |
2040 | end | |
2041 | end | |
2042 | ||
2043 | if (string.find(msg, "give plane to") == 1) then | |
2044 | for word in msg:gmatch("%w+") do | |
2045 | local p = matchPlayer(word) | |
2046 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2047 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2048 | game["InsertService"]:LoadAsset(69210407):GetChildren()[1].Parent = p.Backpack | |
2049 | PetChat("I gave a RC Plane to "..p.Name..".") | |
2050 | end | |
2051 | end | |
2052 | end | |
2053 | ||
2054 | if (string.find(msg, "give monster truck to") == 1) then | |
2055 | for word in msg:gmatch("%w+") do | |
2056 | local p = matchPlayer(word) | |
2057 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2058 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2059 | game["InsertService"]:LoadAsset(52180871):GetChildren()[1].Parent = p.Backpack | |
2060 | PetChat("I gave a RC Monster Truck to "..p.Name..".") | |
2061 | end | |
2062 | end | |
2063 | end | |
2064 | ||
2065 | if (string.find(msg, "give crossbow to") == 1) then | |
2066 | for word in msg:gmatch("%w+") do | |
2067 | local p = matchPlayer(word) | |
2068 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2069 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2070 | game["InsertService"]:LoadAsset(86492583):GetChildren()[1].Parent = p.Character | |
2071 | PetChat("I gave an assassin's crossbow to "..p.Name..".") | |
2072 | end | |
2073 | end | |
2074 | end | |
2075 | ||
2076 | if (string.find(msg, "give sentry to") == 1) then | |
2077 | for word in msg:gmatch("%w+") do | |
2078 | local p = matchPlayer(word) | |
2079 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2080 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2081 | game["InsertService"]:LoadAsset(68603151):GetChildren()[1].Parent = p.Backpack | |
2082 | PetChat("I gave a sentry to "..p.Name..".") | |
2083 | end | |
2084 | end | |
2085 | end | |
2086 | ||
2087 | if (string.find(msg, "tele to me") == 1) then | |
2088 | for word in msg:gmatch("%w+") do | |
2089 | local p = matchPlayer(word) | |
2090 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2091 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2092 | if player.Character ~= nil then | |
2093 | p.Character.Torso.CFrame = player.Character.Torso.CFrame + Vector3.new(0,5,0) | |
2094 | elseif player.Character == nil then | |
2095 | p.Character.Torso.CFrame = head.CFrame + Vector3.new(0,5,0) | |
2096 | PetChat("I brought "..p.Name.." to my master.") | |
2097 | end | |
2098 | end | |
2099 | end | |
2100 | end | |
2101 | ||
2102 | if (string.find(msg, "tele me to") == 1) then | |
2103 | for word in msg:gmatch("%w+") do | |
2104 | local p = matchPlayer(word) | |
2105 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2106 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) | |
2107 | if player.Character ~= nil then | |
2108 | player.Character.Torso.CFrame = p.Character.Torso.CFrame + Vector3.new(0,5,0) | |
2109 | elseif player.Character == nil then | |
2110 | head.CFrame = p.Character.Torso.CFrame + Vector3.new(0,5,0) | |
2111 | PetChat("I brought my master to "..p.Name..".") | |
2112 | end | |
2113 | end | |
2114 | end | |
2115 | end | |
2116 | ||
2117 | if (string.find(msg, "fire") == 1) then | |
2118 | for word in msg:gmatch("%w+") do | |
2119 | local p = matchPlayer(word) | |
2120 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2121 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
2122 | f = Instance.new("Fire") | |
2123 | f.Size = 10 | |
2124 | f.Heat = 10 | |
2125 | f.Parent = p.Character.Torso | |
2126 | PetChat("Burn! Burn! Burn, "..p.Name.."!") | |
2127 | end | |
2128 | end | |
2129 | end | |
2130 | ||
2131 | if (string.find(msg, "chi") == 1) then | |
2132 | for word in msg:gmatch("%w+") do | |
2133 | local p = matchPlayer(word) | |
2134 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2135 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
2136 | f = Instance.new("Fire") | |
2137 | f.Size = 10 | |
2138 | f.Heat = 10 | |
2139 | f.Parent = p.Character.Torso | |
2140 | f.Color = Color3.new(0,0,102) | |
2141 | f.SecondaryColor = Color3.new(153,204,255) | |
2142 | PetChat("Powering "..p.Name.." up!") | |
2143 | end | |
2144 | end | |
2145 | end | |
2146 | ||
2147 | if (string.find(msg, "troll") == 1) then | |
2148 | for word in msg:gmatch("%w+") do | |
2149 | local p = matchPlayer(word) | |
2150 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2151 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
2152 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2153 | local hea = p.Character:FindFirstChild("Head") | |
2154 | if hea then hea.Transparency = 1 | |
2155 | if p.Character.Head:FindFirstChild("face") then | |
2156 | p.Character.Head.face.Transparency = 1 | |
2157 | g = Instance.new("BillboardGui") | |
2158 | g.Name = "Troll" | |
2159 | g.Parent = p.Character.Head | |
2160 | g.Adornee = p.Character.Head | |
2161 | g.Size = UDim2.new(0, 100, 0, 100) | |
2162 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2163 | i = Instance.new("ImageLabel") | |
2164 | i.Parent = g | |
2165 | i.BackgroundTransparency = 1 | |
2166 | i.Size = UDim2.new(0, 100, 0, 100) | |
2167 | i.Image = "http://www.roblox.com/asset/?id=61740850" | |
2168 | PetChat("I gave "..p.Name.." a trollface!") | |
2169 | end | |
2170 | end | |
2171 | end | |
2172 | end | |
2173 | end | |
2174 | ||
2175 | if (string.find(msg, "rage") == 1) then | |
2176 | for word in msg:gmatch("%w+") do | |
2177 | local p = matchPlayer(word) | |
2178 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2179 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
2180 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2181 | local hea = p.Character:FindFirstChild("Head") | |
2182 | if hea then hea.Transparency = 1 | |
2183 | if p.Character.Head:FindFirstChild("face") then | |
2184 | p.Character.Head.face.Transparency = 1 | |
2185 | g = Instance.new("BillboardGui") | |
2186 | g.Name = "Troll" | |
2187 | g.Parent = p.Character.Head | |
2188 | g.Adornee = p.Character.Head | |
2189 | g.Size = UDim2.new(0, 100, 0, 100) | |
2190 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2191 | i = Instance.new("ImageLabel") | |
2192 | i.Parent = g | |
2193 | i.BackgroundTransparency = 1 | |
2194 | i.Size = UDim2.new(0, 100, 0, 100) | |
2195 | i.Image = "http://www.roblox.com/asset/?id=87282493" | |
2196 | PetChat("I gave "..p.Name.." a rageface!") | |
2197 | end | |
2198 | end | |
2199 | end | |
2200 | end | |
2201 | end | |
2202 | ||
2203 | if (string.find(msg, "epic face") == 1) then | |
2204 | for word in msg:gmatch("%w+") do | |
2205 | local p = matchPlayer(word) | |
2206 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2207 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2208 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2209 | local hea = p.Character:FindFirstChild("Head") | |
2210 | if hea then hea.Transparency = 1 | |
2211 | if p.Character.Head:FindFirstChild("face") then | |
2212 | p.Character.Head.face.Transparency = 1 | |
2213 | g = Instance.new("BillboardGui") | |
2214 | g.Name = "Troll" | |
2215 | g.Parent = p.Character.Head | |
2216 | g.Adornee = p.Character.Head | |
2217 | g.Size = UDim2.new(0, 100, 0, 100) | |
2218 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2219 | i = Instance.new("ImageLabel") | |
2220 | i.Parent = g | |
2221 | i.BackgroundTransparency = 1 | |
2222 | i.Size = UDim2.new(0, 100, 0, 100) | |
2223 | i.Image = "http://www.roblox.com/asset/?id=87289477" | |
2224 | PetChat("I gave "..p.Name.." an Epic Face!") | |
2225 | end | |
2226 | end | |
2227 | end | |
2228 | end | |
2229 | end | |
2230 | ||
2231 | if (string.find(msg, "not bad") == 1) then | |
2232 | for word in msg:gmatch("%w+") do | |
2233 | local p = matchPlayer(word) | |
2234 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2235 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2236 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2237 | local hea = p.Character:FindFirstChild("Head") | |
2238 | if hea then hea.Transparency = 1 | |
2239 | if p.Character.Head:FindFirstChild("face") then | |
2240 | p.Character.Head.face.Transparency = 1 | |
2241 | g = Instance.new("BillboardGui") | |
2242 | g.Name = "Troll" | |
2243 | g.Parent = p.Character.Head | |
2244 | g.Adornee = p.Character.Head | |
2245 | g.Size = UDim2.new(0, 100, 0, 100) | |
2246 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2247 | i = Instance.new("ImageLabel") | |
2248 | i.Parent = g | |
2249 | i.BackgroundTransparency = 1 | |
2250 | i.Size = UDim2.new(0, 100, 0, 100) | |
2251 | i.Image = "http://www.roblox.com/asset/?id=87289634" | |
2252 | PetChat("I gave "..p.Name.." a Not Bad face!") | |
2253 | end | |
2254 | end | |
2255 | end | |
2256 | end | |
2257 | end | |
2258 | ||
2259 | if (string.find(msg, "hey face") == 1) then | |
2260 | for word in msg:gmatch("%w+") do | |
2261 | local p = matchPlayer(word) | |
2262 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2263 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2264 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2265 | local hea = p.Character:FindFirstChild("Head") | |
2266 | if hea then hea.Transparency = 1 | |
2267 | if p.Character.Head:FindFirstChild("face") then | |
2268 | p.Character.Head.face.Transparency = 1 | |
2269 | g = Instance.new("BillboardGui") | |
2270 | g.Name = "Troll" | |
2271 | g.Parent = p.Character.Head | |
2272 | g.Adornee = p.Character.Head | |
2273 | g.Size = UDim2.new(0, 100, 0, 100) | |
2274 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2275 | i = Instance.new("ImageLabel") | |
2276 | i.Parent = g | |
2277 | i.BackgroundTransparency = 1 | |
2278 | i.Size = UDim2.new(0, 100, 0, 100) | |
2279 | i.Image = "http://www.roblox.com/asset/?id=87290980" | |
2280 | PetChat("I gave "..p.Name.." a HEYYEYAAEYAAAEYAEYAA face!") | |
2281 | end | |
2282 | end | |
2283 | end | |
2284 | end | |
2285 | end | |
2286 | ||
2287 | if (string.find(msg, "herobrine") == 1) then | |
2288 | for word in msg:gmatch("%w+") do | |
2289 | local p = matchPlayer(word) | |
2290 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2291 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2292 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2293 | local hea = p.Character:FindFirstChild("Head") | |
2294 | if hea then hea.Transparency = 1 | |
2295 | if p.Character.Head:FindFirstChild("face") then | |
2296 | p.Character.Head.face.Transparency = 1 | |
2297 | g = Instance.new("BillboardGui") | |
2298 | g.Name = "Troll" | |
2299 | g.Parent = p.Character.Head | |
2300 | g.Adornee = p.Character.Head | |
2301 | g.Size = UDim2.new(0, 100, 0, 100) | |
2302 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2303 | i = Instance.new("ImageLabel") | |
2304 | i.Parent = g | |
2305 | i.BackgroundTransparency = 1 | |
2306 | i.Size = UDim2.new(0, 100, 0, 100) | |
2307 | i.Image = "http://www.roblox.com/asset/?id=87314251" | |
2308 | PetChat("I gave "..p.Name.." a Herobrine face!") | |
2309 | end | |
2310 | end | |
2311 | end | |
2312 | end | |
2313 | end | |
2314 | ||
2315 | if (string.find(msg, "forever alone") == 1) then | |
2316 | for word in msg:gmatch("%w+") do | |
2317 | local p = matchPlayer(word) | |
2318 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2319 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2320 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2321 | local hea = p.Character:FindFirstChild("Head") | |
2322 | if hea then hea.Transparency = 1 | |
2323 | if p.Character.Head:FindFirstChild("face") then | |
2324 | p.Character.Head.face.Transparency = 1 | |
2325 | g = Instance.new("BillboardGui") | |
2326 | g.Name = "Troll" | |
2327 | g.Parent = p.Character.Head | |
2328 | g.Adornee = p.Character.Head | |
2329 | g.Size = UDim2.new(0, 100, 0, 100) | |
2330 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2331 | i = Instance.new("ImageLabel") | |
2332 | i.Parent = g | |
2333 | i.BackgroundTransparency = 1 | |
2334 | i.Size = UDim2.new(0, 100, 0, 100) | |
2335 | i.Image = "http://www.roblox.com/asset/?id=87289768" | |
2336 | PetChat("I gave "..p.Name.." a Forever Alone face!") | |
2337 | end | |
2338 | end | |
2339 | end | |
2340 | end | |
2341 | end | |
2342 | ||
2343 | if (string.find(msg, "me gusta") == 1) then | |
2344 | for word in msg:gmatch("%w+") do | |
2345 | local p = matchPlayer(word) | |
2346 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2347 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2348 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2349 | local hea = p.Character:FindFirstChild("Head") | |
2350 | if hea then hea.Transparency = 1 | |
2351 | if p.Character.Head:FindFirstChild("face") then | |
2352 | p.Character.Head.face.Transparency = 1 | |
2353 | g = Instance.new("BillboardGui") | |
2354 | g.Name = "Troll" | |
2355 | g.Parent = p.Character.Head | |
2356 | g.Adornee = p.Character.Head | |
2357 | g.Size = UDim2.new(0, 100, 0, 100) | |
2358 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2359 | i = Instance.new("ImageLabel") | |
2360 | i.Parent = g | |
2361 | i.BackgroundTransparency = 1 | |
2362 | i.Size = UDim2.new(0, 100, 0, 100) | |
2363 | i.Image = "http://www.roblox.com/asset/?id=47594659" | |
2364 | PetChat("I gave "..p.Name.." a Me Gusta face!") | |
2365 | end | |
2366 | end | |
2367 | end | |
2368 | end | |
2369 | end | |
2370 | ||
2371 | if (string.find(msg, "sparta") == 1) then | |
2372 | for word in msg:gmatch("%w+") do | |
2373 | local p = matchPlayer(word) | |
2374 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2375 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2376 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2377 | local hea = p.Character:FindFirstChild("Head") | |
2378 | if hea then hea.Transparency = 1 | |
2379 | if p.Character.Head:FindFirstChild("face") then | |
2380 | p.Character.Head.face.Transparency = 1 | |
2381 | g = Instance.new("BillboardGui") | |
2382 | g.Name = "Troll" | |
2383 | g.Parent = p.Character.Head | |
2384 | g.Adornee = p.Character.Head | |
2385 | g.Size = UDim2.new(0, 100, 0, 100) | |
2386 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2387 | i = Instance.new("ImageLabel") | |
2388 | i.Parent = g | |
2389 | i.BackgroundTransparency = 1 | |
2390 | i.Size = UDim2.new(0, 100, 0, 100) | |
2391 | i.Image = "http://www.roblox.com/asset/?id=74142203" | |
2392 | PetChat("I gave "..p.Name.." a This is Sparta face!") | |
2393 | end | |
2394 | end | |
2395 | end | |
2396 | end | |
2397 | end | |
2398 | ||
2399 | if (string.find(msg, "lol") == 1) then | |
2400 | for word in msg:gmatch("%w+") do | |
2401 | local p = matchPlayer(word) | |
2402 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2403 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2404 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2405 | local hea = p.Character:FindFirstChild("Head") | |
2406 | if hea then hea.Transparency = 1 | |
2407 | if p.Character.Head:FindFirstChild("face") then | |
2408 | p.Character.Head.face.Transparency = 1 | |
2409 | g = Instance.new("BillboardGui") | |
2410 | g.Name = "Troll" | |
2411 | g.Parent = p.Character.Head | |
2412 | g.Adornee = p.Character.Head | |
2413 | g.Size = UDim2.new(0, 100, 0, 100) | |
2414 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2415 | i = Instance.new("ImageLabel") | |
2416 | i.Parent = g | |
2417 | i.BackgroundTransparency = 1 | |
2418 | i.Size = UDim2.new(0, 100, 0, 100) | |
2419 | i.Image = "http://www.roblox.com/asset/?id=48293007" | |
2420 | PetChat("I gave "..p.Name.." a Lol face!") | |
2421 | end | |
2422 | end | |
2423 | end | |
2424 | end | |
2425 | end | |
2426 | ||
2427 | if (string.find(msg, "derp face") == 1) then | |
2428 | for word in msg:gmatch("%w+") do | |
2429 | local p = matchPlayer(word) | |
2430 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2431 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2432 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2433 | local hea = p.Character:FindFirstChild("Head") | |
2434 | if hea then hea.Transparency = 1 | |
2435 | if p.Character.Head:FindFirstChild("face") then | |
2436 | p.Character.Head.face.Transparency = 1 | |
2437 | g = Instance.new("BillboardGui") | |
2438 | g.Name = "Troll" | |
2439 | g.Parent = p.Character.Head | |
2440 | g.Adornee = p.Character.Head | |
2441 | g.Size = UDim2.new(0, 100, 0, 100) | |
2442 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2443 | i = Instance.new("ImageLabel") | |
2444 | i.Parent = g | |
2445 | i.BackgroundTransparency = 1 | |
2446 | i.Size = UDim2.new(0, 100, 0, 100) | |
2447 | i.Image = "http://www.roblox.com/asset/?id=87290030" | |
2448 | PetChat("I gave "..p.Name.." a Derp face!") | |
2449 | end | |
2450 | end | |
2451 | end | |
2452 | end | |
2453 | end | |
2454 | ||
2455 | if (string.find(msg, "cereal") == 1) then | |
2456 | for word in msg:gmatch("%w+") do | |
2457 | local p = matchPlayer(word) | |
2458 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2459 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2460 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2461 | local hea = p.Character:FindFirstChild("Head") | |
2462 | if hea then hea.Transparency = 1 | |
2463 | if p.Character.Head:FindFirstChild("face") then | |
2464 | p.Character.Head.face.Transparency = 1 | |
2465 | g = Instance.new("BillboardGui") | |
2466 | g.Name = "Troll" | |
2467 | g.Parent = p.Character.Head | |
2468 | g.Adornee = p.Character.Head | |
2469 | g.Size = UDim2.new(0, 100, 0, 100) | |
2470 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2471 | i = Instance.new("ImageLabel") | |
2472 | i.Parent = g | |
2473 | i.BackgroundTransparency = 1 | |
2474 | i.Size = UDim2.new(0, 100, 0, 100) | |
2475 | i.Image = "http://www.roblox.com/asset/?id=87396659" | |
2476 | PetChat("I gave "..p.Name.." a Cereal face!") | |
2477 | end | |
2478 | end | |
2479 | end | |
2480 | end | |
2481 | end | |
2482 | ||
2483 | if (string.find(msg, "challenge") == 1) then | |
2484 | for word in msg:gmatch("%w+") do | |
2485 | local p = matchPlayer(word) | |
2486 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2487 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2488 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2489 | local hea = p.Character:FindFirstChild("Head") | |
2490 | if hea then hea.Transparency = 1 | |
2491 | if p.Character.Head:FindFirstChild("face") then | |
2492 | p.Character.Head.face.Transparency = 1 | |
2493 | g = Instance.new("BillboardGui") | |
2494 | g.Name = "Troll" | |
2495 | g.Parent = p.Character.Head | |
2496 | g.Adornee = p.Character.Head | |
2497 | g.Size = UDim2.new(0, 100, 0, 100) | |
2498 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2499 | i = Instance.new("ImageLabel") | |
2500 | i.Parent = g | |
2501 | i.BackgroundTransparency = 1 | |
2502 | i.Size = UDim2.new(0, 100, 0, 100) | |
2503 | i.Image = "http://www.roblox.com/asset/?id=87396531" | |
2504 | PetChat("I gave "..p.Name.." a Challenge Accepted face!") | |
2505 | end | |
2506 | end | |
2507 | end | |
2508 | end | |
2509 | end | |
2510 | ||
2511 | if (string.find(msg, "rainbow dash") == 1) then | |
2512 | for word in msg:gmatch("%w+") do | |
2513 | local p = matchPlayer(word) | |
2514 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2515 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2516 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2517 | local hea = p.Character:FindFirstChild("Head") | |
2518 | if hea then hea.Transparency = 1 | |
2519 | if p.Character.Head:FindFirstChild("face") then | |
2520 | p.Character.Head.face.Transparency = 1 | |
2521 | g = Instance.new("BillboardGui") | |
2522 | g.Name = "Troll" | |
2523 | g.Parent = p.Character.Head | |
2524 | g.Adornee = p.Character.Head | |
2525 | g.Size = UDim2.new(0, 100, 0, 100) | |
2526 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2527 | i = Instance.new("ImageLabel") | |
2528 | i.Parent = g | |
2529 | i.BackgroundTransparency = 1 | |
2530 | i.Size = UDim2.new(0, 100, 0, 100) | |
2531 | i.Image = "http://www.roblox.com/asset/?id=87225995" | |
2532 | PetChat("I gave "..p.Name.." a Rainbow Dash face!") | |
2533 | end | |
2534 | end | |
2535 | end | |
2536 | end | |
2537 | end | |
2538 | ||
2539 | if (string.find(msg, "twilight sparkle") == 1) then | |
2540 | for word in msg:gmatch("%w+") do | |
2541 | local p = matchPlayer(word) | |
2542 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2543 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2544 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2545 | local hea = p.Character:FindFirstChild("Head") | |
2546 | if hea then hea.Transparency = 1 | |
2547 | if p.Character.Head:FindFirstChild("face") then | |
2548 | p.Character.Head.face.Transparency = 1 | |
2549 | g = Instance.new("BillboardGui") | |
2550 | g.Name = "Troll" | |
2551 | g.Parent = p.Character.Head | |
2552 | g.Adornee = p.Character.Head | |
2553 | g.Size = UDim2.new(0, 100, 0, 100) | |
2554 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2555 | i = Instance.new("ImageLabel") | |
2556 | i.Parent = g | |
2557 | i.BackgroundTransparency = 1 | |
2558 | i.Size = UDim2.new(0, 100, 0, 100) | |
2559 | i.Image = "http://www.roblox.com/asset/?id=87226661" | |
2560 | PetChat("I gave "..p.Name.." a Twilight Sparkle face!") | |
2561 | end | |
2562 | end | |
2563 | end | |
2564 | end | |
2565 | end | |
2566 | ||
2567 | if (string.find(msg, "pinkie pie") == 1) then | |
2568 | for word in msg:gmatch("%w+") do | |
2569 | local p = matchPlayer(word) | |
2570 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2571 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2572 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2573 | local hea = p.Character:FindFirstChild("Head") | |
2574 | if hea then hea.Transparency = 1 | |
2575 | if p.Character.Head:FindFirstChild("face") then | |
2576 | p.Character.Head.face.Transparency = 1 | |
2577 | g = Instance.new("BillboardGui") | |
2578 | g.Name = "Troll" | |
2579 | g.Parent = p.Character.Head | |
2580 | g.Adornee = p.Character.Head | |
2581 | g.Size = UDim2.new(0, 100, 0, 100) | |
2582 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2583 | i = Instance.new("ImageLabel") | |
2584 | i.Parent = g | |
2585 | i.BackgroundTransparency = 1 | |
2586 | i.Size = UDim2.new(0, 100, 0, 100) | |
2587 | i.Image = "http://www.roblox.com/asset/?id=87664619" | |
2588 | PetChat("I gave "..p.Name.." a Pinkie Pie face!") | |
2589 | end | |
2590 | end | |
2591 | end | |
2592 | end | |
2593 | end | |
2594 | ||
2595 | if (string.find(msg, "rarity") == 1) then | |
2596 | for word in msg:gmatch("%w+") do | |
2597 | local p = matchPlayer(word) | |
2598 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2599 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2600 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2601 | local hea = p.Character:FindFirstChild("Head") | |
2602 | if hea then hea.Transparency = 1 | |
2603 | if p.Character.Head:FindFirstChild("face") then | |
2604 | p.Character.Head.face.Transparency = 1 | |
2605 | g = Instance.new("BillboardGui") | |
2606 | g.Name = "Troll" | |
2607 | g.Parent = p.Character.Head | |
2608 | g.Adornee = p.Character.Head | |
2609 | g.Size = UDim2.new(0, 100, 0, 100) | |
2610 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2611 | i = Instance.new("ImageLabel") | |
2612 | i.Parent = g | |
2613 | i.BackgroundTransparency = 1 | |
2614 | i.Size = UDim2.new(0, 100, 0, 100) | |
2615 | i.Image = "http://www.roblox.com/asset/?id=87611133" | |
2616 | PetChat("I gave "..p.Name.." a Rarity face!") | |
2617 | end | |
2618 | end | |
2619 | end | |
2620 | end | |
2621 | end | |
2622 | ||
2623 | if (string.find(msg, "fluttershy") == 1) then | |
2624 | for word in msg:gmatch("%w+") do | |
2625 | local p = matchPlayer(word) | |
2626 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2627 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2628 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2629 | local hea = p.Character:FindFirstChild("Head") | |
2630 | if hea then hea.Transparency = 1 | |
2631 | if p.Character.Head:FindFirstChild("face") then | |
2632 | p.Character.Head.face.Transparency = 1 | |
2633 | g = Instance.new("BillboardGui") | |
2634 | g.Name = "Troll" | |
2635 | g.Parent = p.Character.Head | |
2636 | g.Adornee = p.Character.Head | |
2637 | g.Size = UDim2.new(0, 100, 0, 100) | |
2638 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2639 | i = Instance.new("ImageLabel") | |
2640 | i.Parent = g | |
2641 | i.BackgroundTransparency = 1 | |
2642 | i.Size = UDim2.new(0, 100, 0, 100) | |
2643 | i.Image = "http://www.roblox.com/asset/?id=87282533" | |
2644 | PetChat("I gave "..p.Name.." a Fluttershy face!") | |
2645 | end | |
2646 | end | |
2647 | end | |
2648 | end | |
2649 | end | |
2650 | ||
2651 | if (string.find(msg, "applejack") == 1) then | |
2652 | for word in msg:gmatch("%w+") do | |
2653 | local p = matchPlayer(word) | |
2654 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2655 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2656 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2657 | local hea = p.Character:FindFirstChild("Head") | |
2658 | if hea then hea.Transparency = 1 | |
2659 | if p.Character.Head:FindFirstChild("face") then | |
2660 | p.Character.Head.face.Transparency = 1 | |
2661 | g = Instance.new("BillboardGui") | |
2662 | g.Name = "Troll" | |
2663 | g.Parent = p.Character.Head | |
2664 | g.Adornee = p.Character.Head | |
2665 | g.Size = UDim2.new(0, 100, 0, 100) | |
2666 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2667 | i = Instance.new("ImageLabel") | |
2668 | i.Parent = g | |
2669 | i.BackgroundTransparency = 1 | |
2670 | i.Size = UDim2.new(0, 100, 0, 100) | |
2671 | i.Image = "http://www.roblox.com/asset/?id=87234957" | |
2672 | PetChat("I gave "..p.Name.." an Applejack face!") | |
2673 | end | |
2674 | end | |
2675 | end | |
2676 | end | |
2677 | end | |
2678 | ||
2679 | if (string.find(msg, "sweetie belle") == 1) then | |
2680 | for word in msg:gmatch("%w+") do | |
2681 | local p = matchPlayer(word) | |
2682 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2683 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2684 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2685 | local hea = p.Character:FindFirstChild("Head") | |
2686 | if hea then hea.Transparency = 1 | |
2687 | if p.Character.Head:FindFirstChild("face") then | |
2688 | p.Character.Head.face.Transparency = 1 | |
2689 | g = Instance.new("BillboardGui") | |
2690 | g.Name = "Troll" | |
2691 | g.Parent = p.Character.Head | |
2692 | g.Adornee = p.Character.Head | |
2693 | g.Size = UDim2.new(0, 100, 0, 100) | |
2694 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2695 | i = Instance.new("ImageLabel") | |
2696 | i.Parent = g | |
2697 | i.BackgroundTransparency = 1 | |
2698 | i.Size = UDim2.new(0, 100, 0, 100) | |
2699 | i.Image = "http://www.roblox.com/asset/?id=87234817" | |
2700 | PetChat("I gave "..p.Name.." a Sweetie Belle face!") | |
2701 | end | |
2702 | end | |
2703 | end | |
2704 | end | |
2705 | end | |
2706 | ||
2707 | if (string.find(msg, "apple bloom") == 1) then | |
2708 | for word in msg:gmatch("%w+") do | |
2709 | local p = matchPlayer(word) | |
2710 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2711 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2712 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2713 | local hea = p.Character:FindFirstChild("Head") | |
2714 | if hea then hea.Transparency = 1 | |
2715 | if p.Character.Head:FindFirstChild("face") then | |
2716 | p.Character.Head.face.Transparency = 1 | |
2717 | g = Instance.new("BillboardGui") | |
2718 | g.Name = "Troll" | |
2719 | g.Parent = p.Character.Head | |
2720 | g.Adornee = p.Character.Head | |
2721 | g.Size = UDim2.new(0, 100, 0, 100) | |
2722 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2723 | i = Instance.new("ImageLabel") | |
2724 | i.Parent = g | |
2725 | i.BackgroundTransparency = 1 | |
2726 | i.Size = UDim2.new(0, 100, 0, 100) | |
2727 | i.Image = "http://www.roblox.com/asset/?id=87234691" | |
2728 | PetChat("I gave "..p.Name.." an Apple Bloom face!") | |
2729 | end | |
2730 | end | |
2731 | end | |
2732 | end | |
2733 | end | |
2734 | ||
2735 | if (string.find(msg, "scootaloo") == 1) then | |
2736 | for word in msg:gmatch("%w+") do | |
2737 | local p = matchPlayer(word) | |
2738 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2739 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2740 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2741 | local hea = p.Character:FindFirstChild("Head") | |
2742 | if hea then hea.Transparency = 1 | |
2743 | if p.Character.Head:FindFirstChild("face") then | |
2744 | p.Character.Head.face.Transparency = 1 | |
2745 | g = Instance.new("BillboardGui") | |
2746 | g.Name = "Troll" | |
2747 | g.Parent = p.Character.Head | |
2748 | g.Adornee = p.Character.Head | |
2749 | g.Size = UDim2.new(0, 100, 0, 100) | |
2750 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2751 | i = Instance.new("ImageLabel") | |
2752 | i.Parent = g | |
2753 | i.BackgroundTransparency = 1 | |
2754 | i.Size = UDim2.new(0, 100, 0, 100) | |
2755 | i.Image = "http://www.roblox.com/asset/?id=87282575" | |
2756 | PetChat("I gave "..p.Name.." a Scootaloo face!") | |
2757 | end | |
2758 | end | |
2759 | end | |
2760 | end | |
2761 | end | |
2762 | ||
2763 | if (string.find(msg, "lyra") == 1) then | |
2764 | for word in msg:gmatch("%w+") do | |
2765 | local p = matchPlayer(word) | |
2766 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2767 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2768 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2769 | local hea = p.Character:FindFirstChild("Head") | |
2770 | if hea then hea.Transparency = 1 | |
2771 | if p.Character.Head:FindFirstChild("face") then | |
2772 | p.Character.Head.face.Transparency = 1 | |
2773 | g = Instance.new("BillboardGui") | |
2774 | g.Name = "Troll" | |
2775 | g.Parent = p.Character.Head | |
2776 | g.Adornee = p.Character.Head | |
2777 | g.Size = UDim2.new(0, 100, 0, 100) | |
2778 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2779 | i = Instance.new("ImageLabel") | |
2780 | i.Parent = g | |
2781 | i.BackgroundTransparency = 1 | |
2782 | i.Size = UDim2.new(0, 100, 0, 100) | |
2783 | i.Image = "http://www.roblox.com/asset/?id=89439336" | |
2784 | PetChat("I gave "..p.Name.." a Lyra face!") | |
2785 | end | |
2786 | end | |
2787 | end | |
2788 | end | |
2789 | end | |
2790 | ||
2791 | if (string.find(msg, "colgate") == 1) then | |
2792 | for word in msg:gmatch("%w+") do | |
2793 | local p = matchPlayer(word) | |
2794 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2795 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2796 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2797 | local hea = p.Character:FindFirstChild("Head") | |
2798 | if hea then hea.Transparency = 1 | |
2799 | if p.Character.Head:FindFirstChild("face") then | |
2800 | p.Character.Head.face.Transparency = 1 | |
2801 | g = Instance.new("BillboardGui") | |
2802 | g.Name = "Troll" | |
2803 | g.Parent = p.Character.Head | |
2804 | g.Adornee = p.Character.Head | |
2805 | g.Size = UDim2.new(0, 100, 0, 100) | |
2806 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2807 | i = Instance.new("ImageLabel") | |
2808 | i.Parent = g | |
2809 | i.BackgroundTransparency = 1 | |
2810 | i.Size = UDim2.new(0, 100, 0, 100) | |
2811 | i.Image = "http://www.roblox.com/asset/?id=89440358" | |
2812 | PetChat("I gave "..p.Name.." a Colgate face!") | |
2813 | end | |
2814 | end | |
2815 | end | |
2816 | end | |
2817 | end | |
2818 | ||
2819 | if (string.find(msg, "vinyl scratch") == 1) then | |
2820 | for word in msg:gmatch("%w+") do | |
2821 | local p = matchPlayer(word) | |
2822 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2823 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2824 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2825 | local hea = p.Character:FindFirstChild("Head") | |
2826 | if hea then hea.Transparency = 1 | |
2827 | if p.Character.Head:FindFirstChild("face") then | |
2828 | p.Character.Head.face.Transparency = 1 | |
2829 | g = Instance.new("BillboardGui") | |
2830 | g.Name = "Troll" | |
2831 | g.Parent = p.Character.Head | |
2832 | g.Adornee = p.Character.Head | |
2833 | g.Size = UDim2.new(0, 100, 0, 100) | |
2834 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2835 | i = Instance.new("ImageLabel") | |
2836 | i.Parent = g | |
2837 | i.BackgroundTransparency = 1 | |
2838 | i.Size = UDim2.new(0, 140, 0, 100) | |
2839 | i.Image = "http://www.roblox.com/asset/?id=87244612" | |
2840 | PetChat("I gave "..p.Name.." a Vinyl Scratch face!") | |
2841 | end | |
2842 | end | |
2843 | end | |
2844 | end | |
2845 | end | |
2846 | ||
2847 | if (string.find(msg, "derpy") == 1) then | |
2848 | for word in msg:gmatch("%w+") do | |
2849 | local p = matchPlayer(word) | |
2850 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2851 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2852 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2853 | local hea = p.Character:FindFirstChild("Head") | |
2854 | if hea then hea.Transparency = 1 | |
2855 | if p.Character.Head:FindFirstChild("face") then | |
2856 | p.Character.Head.face.Transparency = 1 | |
2857 | g = Instance.new("BillboardGui") | |
2858 | g.Name = "Troll" | |
2859 | g.Parent = p.Character.Head | |
2860 | g.Adornee = p.Character.Head | |
2861 | g.Size = UDim2.new(0, 100, 0, 100) | |
2862 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2863 | i = Instance.new("ImageLabel") | |
2864 | i.Parent = g | |
2865 | i.BackgroundTransparency = 1 | |
2866 | i.Size = UDim2.new(0, 100, 0, 100) | |
2867 | i.Image = "http://www.roblox.com/asset/?id=87664648" | |
2868 | PetChat("I gave "..p.Name.." a Derpy Hooves face!") | |
2869 | end | |
2870 | end | |
2871 | end | |
2872 | end | |
2873 | end | |
2874 | ||
2875 | if (string.find(msg, "trixie") == 1) then | |
2876 | for word in msg:gmatch("%w+") do | |
2877 | local p = matchPlayer(word) | |
2878 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2879 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2880 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2881 | local hea = p.Character:FindFirstChild("Head") | |
2882 | if hea then hea.Transparency = 1 | |
2883 | if p.Character.Head:FindFirstChild("face") then | |
2884 | p.Character.Head.face.Transparency = 1 | |
2885 | g = Instance.new("BillboardGui") | |
2886 | g.Name = "Troll" | |
2887 | g.Parent = p.Character.Head | |
2888 | g.Adornee = p.Character.Head | |
2889 | g.Size = UDim2.new(0, 100, 0, 100) | |
2890 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2891 | i = Instance.new("ImageLabel") | |
2892 | i.Parent = g | |
2893 | i.BackgroundTransparency = 1 | |
2894 | i.Size = UDim2.new(0, 100, 0, 100) | |
2895 | i.Image = "http://www.roblox.com/asset/?id=87262070" | |
2896 | PetChat("I gave "..p.Name.." a Trixie Lulamoon face!") | |
2897 | end | |
2898 | end | |
2899 | end | |
2900 | end | |
2901 | end | |
2902 | ||
2903 | if (string.find(msg, "cadence") == 1) then | |
2904 | for word in msg:gmatch("%w+") do | |
2905 | local p = matchPlayer(word) | |
2906 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2907 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2908 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2909 | local hea = p.Character:FindFirstChild("Head") | |
2910 | if hea then hea.Transparency = 1 | |
2911 | if p.Character.Head:FindFirstChild("face") then | |
2912 | p.Character.Head.face.Transparency = 1 | |
2913 | g = Instance.new("BillboardGui") | |
2914 | g.Name = "Troll" | |
2915 | g.Parent = p.Character.Head | |
2916 | g.Adornee = p.Character.Head | |
2917 | g.Size = UDim2.new(0, 100, 0, 100) | |
2918 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2919 | i = Instance.new("ImageLabel") | |
2920 | i.Parent = g | |
2921 | i.BackgroundTransparency = 1 | |
2922 | i.Size = UDim2.new(0, 100, 0, 100) | |
2923 | i.Image = "http://www.roblox.com/asset/?id=87284444" | |
2924 | PetChat("I gave "..p.Name.." a Princess Cadence face!") | |
2925 | end | |
2926 | end | |
2927 | end | |
2928 | end | |
2929 | end | |
2930 | ||
2931 | if (string.find(msg, "celestia") == 1) then | |
2932 | for word in msg:gmatch("%w+") do | |
2933 | local p = matchPlayer(word) | |
2934 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2935 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2936 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2937 | local hea = p.Character:FindFirstChild("Head") | |
2938 | if hea then hea.Transparency = 1 | |
2939 | if p.Character.Head:FindFirstChild("face") then | |
2940 | p.Character.Head.face.Transparency = 1 | |
2941 | g = Instance.new("BillboardGui") | |
2942 | g.Name = "Troll" | |
2943 | g.Parent = p.Character.Head | |
2944 | g.Adornee = p.Character.Head | |
2945 | g.Size = UDim2.new(0, 100, 0, 100) | |
2946 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2947 | i = Instance.new("ImageLabel") | |
2948 | i.Parent = g | |
2949 | i.BackgroundTransparency = 1 | |
2950 | i.Size = UDim2.new(0, 135, 0, 100) | |
2951 | i.Image = "http://www.roblox.com/asset/?id=87289152" | |
2952 | PetChat("I gave "..p.Name.." a Princess Celestia face!") | |
2953 | end | |
2954 | end | |
2955 | end | |
2956 | end | |
2957 | end | |
2958 | ||
2959 | if (string.find(msg, "luna") == 1) then | |
2960 | for word in msg:gmatch("%w+") do | |
2961 | local p = matchPlayer(word) | |
2962 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2963 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2964 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2965 | local hea = p.Character:FindFirstChild("Head") | |
2966 | if hea then hea.Transparency = 1 | |
2967 | if p.Character.Head:FindFirstChild("face") then | |
2968 | p.Character.Head.face.Transparency = 1 | |
2969 | g = Instance.new("BillboardGui") | |
2970 | g.Name = "Troll" | |
2971 | g.Parent = p.Character.Head | |
2972 | g.Adornee = p.Character.Head | |
2973 | g.Size = UDim2.new(0, 100, 0, 100) | |
2974 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
2975 | i = Instance.new("ImageLabel") | |
2976 | i.Parent = g | |
2977 | i.BackgroundTransparency = 1 | |
2978 | i.Size = UDim2.new(0, 135, 0, 100) | |
2979 | i.Image = "http://www.roblox.com/asset/?id=87289179" | |
2980 | PetChat("I gave "..p.Name.." a Princess Luna face!") | |
2981 | end | |
2982 | end | |
2983 | end | |
2984 | end | |
2985 | end | |
2986 | ||
2987 | if (string.find(msg, "daring do") == 1) then | |
2988 | for word in msg:gmatch("%w+") do | |
2989 | local p = matchPlayer(word) | |
2990 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
2991 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
2992 | guis = p.Character.Head:GetChildren() for i = 1,#guis do if guis[i].className == "BillboardGui" then guis[i]:remove() end end | |
2993 | local hea = p.Character:FindFirstChild("Head") | |
2994 | if hea then hea.Transparency = 1 | |
2995 | if p.Character.Head:FindFirstChild("face") then | |
2996 | p.Character.Head.face.Transparency = 1 | |
2997 | g = Instance.new("BillboardGui") | |
2998 | g.Name = "Troll" | |
2999 | g.Parent = p.Character.Head | |
3000 | g.Adornee = p.Character.Head | |
3001 | g.Size = UDim2.new(0, 100, 0, 100) | |
3002 | g.StudsOffset = Vector3.new(0, 0.2, 0) | |
3003 | i = Instance.new("ImageLabel") | |
3004 | i.Parent = g | |
3005 | i.BackgroundTransparency = 1 | |
3006 | i.Size = UDim2.new(0, 135, 0, 100) | |
3007 | i.Image = "http://www.roblox.com/asset/?id=89440790" | |
3008 | PetChat("I gave "..p.Name.." a Daring Do face!") | |
3009 | end | |
3010 | end | |
3011 | end | |
3012 | end | |
3013 | end | |
3014 | ||
3015 | if (string.find(msg, "fix face") == 1) then | |
3016 | for word in msg:gmatch("%w+") do | |
3017 | local p = matchPlayer(word) | |
3018 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
3019 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
3020 | local hea = p.Character:FindFirstChild("Head") | |
3021 | if hea then hea.Transparency = 0 | |
3022 | local fac = p.Character.Head:FindFirstChild("face") | |
3023 | if fac then fac.Transparency = 0 | |
3024 | guis = p.Character.Head:GetChildren() | |
3025 | for i = 1,#guis do | |
3026 | if guis[i].className == "BillboardGui" then | |
3027 | guis[i]:remove() | |
3028 | end | |
3029 | end | |
3030 | end | |
3031 | end | |
3032 | end | |
3033 | end | |
3034 | end | |
3035 | ||
3036 | if (string.find(msg, "unlock") == 1) then | |
3037 | for word in msg:gmatch("%w+") do | |
3038 | local p = matchPlayer(word) | |
3039 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
3040 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
3041 | local c = p.Character:GetChildren() | |
3042 | for i =1,#c do | |
3043 | if c[i].className == "Part" then | |
3044 | c[i].Locked = false | |
3045 | PetChat("I unlocked "..p.Name.."!") | |
3046 | end | |
3047 | end | |
3048 | end | |
3049 | end | |
3050 | end | |
3051 | ||
3052 | if (string.find(msg, "lock") == 1) then | |
3053 | for word in msg:gmatch("%w+") do | |
3054 | local p = matchPlayer(word) | |
3055 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
3056 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Green()) | |
3057 | local c = p.Character:GetChildren() | |
3058 | for i =1,#c do | |
3059 | if c[i].className == "Part" then | |
3060 | c[i].Locked = true | |
3061 | PetChat("I locked "..p.Name.." back up!") | |
3062 | end | |
3063 | end | |
3064 | end | |
3065 | end | |
3066 | end | |
3067 | ||
3068 | ||
3069 | if (string.find(msg, "unfire") == 1) then | |
3070 | for word in msg:gmatch("%w+") do | |
3071 | local p = matchPlayer(word) | |
3072 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
3073 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) | |
3074 | p.Character.Torso.Fire:remove() | |
3075 | PetChat("I extinguished "..p.Name..".") | |
3076 | end | |
3077 | end | |
3078 | end | |
3079 | ||
3080 | if (string.find(msg, "minecraft sky") == 1) then | |
3081 | s = Instance.new("Sky") | |
3082 | s.Parent = game.Lighting | |
3083 | s.SkyboxBk = "http://www.roblox.com/asset/?id=73403132" | |
3084 | s.SkyboxDn = "http://www.roblox.com/asset/?id=73406830" | |
3085 | s.SkyboxFt = "http://www.roblox.com/asset/?id=73403151" | |
3086 | s.SkyboxLf = "http://www.roblox.com/asset/?id=73403157" | |
3087 | s.SkyboxRt = "http://www.roblox.com/asset/?id=73403146" | |
3088 | s.SkyboxUp = "http://www.roblox.com/asset/?id=73406914" | |
3089 | PetChat("The sky is now Minecraft styled.") | |
3090 | end | |
3091 | ||
3092 | if (string.find(msg, "pony sky") == 1) then | |
3093 | s = Instance.new("Sky") | |
3094 | s.Parent = game.Lighting | |
3095 | s.SkyboxBk = "http://www.roblox.com/asset/?id=55818027" | |
3096 | s.SkyboxDn = "http://www.roblox.com/asset/?id=71287962" | |
3097 | s.SkyboxFt = "http://www.roblox.com/asset/?id=73963983" | |
3098 | s.SkyboxLf = "http://www.roblox.com/asset/?id=81728000" | |
3099 | s.SkyboxRt = "http://www.roblox.com/asset/?id=59155900" | |
3100 | s.SkyboxUp = "http://www.roblox.com/asset/?id=83969847" | |
3101 | PetChat("The skybox is now a brony.") | |
3102 | end | |
3103 | ||
3104 | if (string.find(msg, "reset sky") == 1) then | |
3105 | s = Instance.new("Sky") | |
3106 | s.Parent = game.Lighting | |
3107 | s.SkyboxBk = "rbxasset://Sky/null_plainsky512_bk.jpg" | |
3108 | s.SkyboxDn = "rbxasset://Sky/null_plainsky512_dn.jpg" | |
3109 | s.SkyboxFt = "rbxasset://Sky/null_plainsky512_ft.jpg" | |
3110 | s.SkyboxLf = "rbxasset://Sky/null_plainsky512_lf.jpg" | |
3111 | s.SkyboxRt = "rbxasset://Sky/null_plainsky512_rt.jpg" | |
3112 | s.SkyboxUp = "rbxasset://Sky/null_plainsky512_up.jpg" | |
3113 | PetChat("I restored the sky to default.") | |
3114 | end | |
3115 | ||
3116 | if (string.find(msg, "sparkles") == 1) then | |
3117 | for word in msg:gmatch("%w+") do | |
3118 | local p = matchPlayer(word) | |
3119 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
3120 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Gray()) | |
3121 | f = Instance.new("Sparkles") | |
3122 | f.Parent = p.Character.Torso | |
3123 | PetChat(p.Name.." is sparkely!") | |
3124 | end | |
3125 | end | |
3126 | end | |
3127 | ||
3128 | if (string.find(msg, "unsparkles") == 1) then | |
3129 | for word in msg:gmatch("%w+") do | |
3130 | local p = matchPlayer(word) | |
3131 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then | |
3132 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Gray()) | |
3133 | p.Character.Torso.Sparkles:remove() | |
3134 | PetChat("Now your just dull, "..p.Name..".") | |
3135 | end | |
3136 | end | |
3137 | end | |
3138 | ||
3139 | if (string.find(msg, "respawn") == 1) then | |
3140 | for word in msg:gmatch("%w+") do | |
3141 | local p = matchPlayer(word) | |
3142 | if p ~= nil then | |
3143 | local ack2 = Instance.new("Model") | |
3144 | ack2.Parent = game:GetService("Workspace") | |
3145 | local ack4 = Instance.new("Part") | |
3146 | ack4.Transparency = 1 | |
3147 | ack4.CanCollide = false | |
3148 | ack4.Anchored = true | |
3149 | ack4.Name = "Torso" | |
3150 | ack4.Position = Vector3.new(10000,10000,10000) | |
3151 | ack4.Parent = ack2 | |
3152 | local ack3 = Instance.new("Humanoid") | |
3153 | ack3.Torso = ack4 | |
3154 | ack3.Parent = ack2 | |
3155 | p.Character = ack2 | |
3156 | PetChat("I Respawned "..p.Name..".") | |
3157 | end | |
3158 | end | |
3159 | end | |
3160 | ||
3161 | if (msg == "spawn cage") then | |
3162 | wall1 = Instance.new("Part", workspace) | |
3163 | wall1.Size = Vector3.new(1, 20, 51) | |
3164 | wall1.Anchored = true | |
3165 | wall1.BrickColor = BrickColor.new("Bright blue") | |
3166 | wall1.Transparency = 0.7 | |
3167 | wall1.TopSurface = "Smooth" | |
3168 | wall1.BottomSurface = "Smooth" | |
3169 | wall1.CFrame = CFrame.new(-25, 10, 0) | |
3170 | wall2 = Instance.new("Part", workspace) | |
3171 | wall2.Size = Vector3.new(51, 20, 1) | |
3172 | wall2.Anchored = true | |
3173 | wall2.BrickColor = BrickColor.new("Bright blue") | |
3174 | wall2.Transparency = 0.7 | |
3175 | wall2.TopSurface = "Smooth" | |
3176 | wall2.BottomSurface = "Smooth" | |
3177 | wall2.CFrame = CFrame.new(0, 10, 25) | |
3178 | wall3 = Instance.new("Part", workspace) | |
3179 | wall3.Size = Vector3.new(1, 20, 51) | |
3180 | wall3.Anchored = true | |
3181 | wall3.BrickColor = BrickColor.new("Bright blue") | |
3182 | wall3.Transparency = 0.7 | |
3183 | wall3.TopSurface = "Smooth" | |
3184 | wall3.BottomSurface = "Smooth" | |
3185 | wall3.CFrame = CFrame.new(25, 10, 0) | |
3186 | wall4 = Instance.new("Part", workspace) | |
3187 | wall4.Size = Vector3.new(51, 20, 1) | |
3188 | wall4.Anchored = true | |
3189 | wall4.BrickColor = BrickColor.new("Bright blue") | |
3190 | wall4.Transparency = 0.7 | |
3191 | wall4.TopSurface = "Smooth" | |
3192 | wall4.BottomSurface = "Smooth" | |
3193 | wall4.CFrame = CFrame.new(0, 10, -25) | |
3194 | roof = Instance.new("Part", workspace) | |
3195 | roof.Anchored = true | |
3196 | roof.Size = Vector3.new(51, 1, 51) | |
3197 | roof.TopSurface = "Smooth" | |
3198 | roof.BottomSurface = "Smooth" | |
3199 | roof.BrickColor = BrickColor.new("Bright blue") | |
3200 | roof.Transparency = 0.7 | |
3201 | roof.CFrame = CFrame.new(0, 20.5, 0) | |
3202 | PetChat("I made a spawn cage.") | |
3203 | end | |
3204 | ||
3205 | if (msg == "open cage") then | |
3206 | if wall1 ~= nil and wall2 ~= nil and wall3 ~= nil and wall4 ~= nil then | |
3207 | wall1.CanCollide = false | |
3208 | wall1.Transparency = 1 | |
3209 | wall2.CanCollide = false | |
3210 | wall2.Transparency = 1 | |
3211 | wall3.CanCollide = false | |
3212 | wall3.Transparency = 1 | |
3213 | wall4.CanCollide = false | |
3214 | wall4.Transparency = 1 | |
3215 | PetChat("I opened the cage.") | |
3216 | end | |
3217 | end | |
3218 | ||
3219 | if (msg == "close cage") then | |
3220 | if wall1 ~= nil and wall2 ~= nil and wall3 ~= nil and wall4 ~= nil then | |
3221 | wall1.CanCollide = true | |
3222 | wall1.Transparency = 0.7 | |
3223 | wall2.CanCollide = true | |
3224 | wall2.Transparency = 0.7 | |
3225 | wall3.CanCollide = true | |
3226 | wall3.Transparency = 0.7 | |
3227 | wall4.CanCollide = true | |
3228 | wall4.Transparency = 0.7 | |
3229 | PetChat("I closed the cage.") | |
3230 | end | |
3231 | end | |
3232 | ||
3233 | if (msg == "remove cage") then | |
3234 | if wall1 ~= nil and wall2 ~= nil and wall3 ~= nil and wall4 ~= nil and roof ~= nil then | |
3235 | wall1:Remove() | |
3236 | wall2:Remove() | |
3237 | wall3:Remove() | |
3238 | wall4:Remove() | |
3239 | roof:Remove() | |
3240 | PetChat("I removed the cage.") | |
3241 | end | |
3242 | end | |
3243 | ||
3244 | if (msg == "give commands") then | |
3245 | guis = game.Workspace:GetChildren() | |
3246 | for i = 1,#guis do | |
3247 | if guis[i].Name == "DittoCommands" then | |
3248 | guis[i]:remove() | |
3249 | end | |
3250 | end | |
3251 | ShowInCircle(player, | |
3252 | "Katamari", "Platform", "Build Tools", "Sword", "Darkheart", "Katana", "Spear", "Atmoshocker", "Illumina", "Ghostwalker", "Icedagger", "Firebrand", "Venomshank", "Windforce", "Sorcus", "Wing Slasher", "Ice Breaker", "Celestial Sword", "Orb", "Gravity Coil", "Gravity Hammer", "Pony", "Chimera", "Blade", "Trident" | |
3253 | ) | |
3254 | PetChat("I am showing you my give commands.") | |
3255 | UpdateCommands() | |
3256 | end | |
3257 | ||
3258 | if (msg == "disguise commands") or (msg == "suit commands") or (msg == "costume commands") then | |
3259 | guis = game.Workspace:GetChildren() | |
3260 | for i = 1,#guis do | |
3261 | if guis[i].Name == "DittoCommands" then | |
3262 | guis[i]:remove() | |
3263 | end | |
3264 | end | |
3265 | ShowInCircle(player, | |
3266 | "Dominus", "Dovahkiin", "Anonymous", "Assassin", "Slender", "Noob", "Remove Hats" | |
3267 | ) | |
3268 | PetChat("I am showing you my costume commands.") | |
3269 | UpdateCommands() | |
3270 | end | |
3271 | ||
3272 | if (msg == "spawn commands") then | |
3273 | guis = game.Workspace:GetChildren() | |
3274 | for i = 1,#guis do | |
3275 | if guis[i].Name == "DittoCommands" then | |
3276 | guis[i]:remove() | |
3277 | end | |
3278 | end | |
3279 | ShowInCircle(player, | |
3280 | "Castle", "Cage" | |
3281 | ) | |
3282 | PetChat("I am showing you my spawn commands.") | |
3283 | UpdateCommands() | |
3284 | end | |
3285 | ||
3286 | if (msg == "general commands") or (msg == "commands") then | |
3287 | guis = game.Workspace:GetChildren() | |
3288 | for i = 1,#guis do | |
3289 | if guis[i].Name == "DittoCommands" then | |
3290 | guis[i]:remove() | |
3291 | end | |
3292 | end | |
3293 | ShowInCircle(player, | |
3294 | "Face Commands", "Costume Commands", "Give Commands", "Mesh Commands", "Spawn Commands", "Color Commands", "BC Commands", "Thu'um", "Kill", "Replace Limbs", "Clone", "Tree", "Invisible", "Check", "Find", "Plush", "God", "Run", "Sit", "Jump", "Punish", "Age", "ID", "Skydive", "Crush", "Launch", "Explode", "Eat", "Kick", "Crash", "Torso", "FF", "Respawn", "Sparkles", "Unlock", "Trip" | |
3295 | ) | |
3296 | PetChat("I am showing you my general commands.") | |
3297 | UpdateCommands() | |
3298 | end | |
3299 | ||
3300 | if (msg == "face commands") then | |
3301 | guis = game.Workspace:GetChildren() | |
3302 | for i = 1,#guis do | |
3303 | if guis[i].Name == "DittoCommands" then | |
3304 | guis[i]:remove() | |
3305 | end | |
3306 | end | |
3307 | ShowInCircle(player, | |
3308 | "Troll", "Rage", "Epic Face", "Not Bad", "Hey Face", "Herobrine", "Forever Alone", "Gusta", "Sparta", "Lol", "Derp Face", "Cereal", "Challenge", "Rainbow Dash", "Twilight Sparkle", "Pinkie Pie", "Rarity", "Fluttershy", "Applejack", "Sweetie Belle", "Applebloom", "Scootaloo", "Lyra", "Colgate", "Vinyl Scratch", "Derpy", "Trixie", "Cadence", "Celestia", "Luna", "Daring Do", "Fix Face" | |
3309 | ) | |
3310 | PetChat("I am showing you my face commands.") | |
3311 | UpdateCommands() | |
3312 | end | |
3313 | ||
3314 | if (msg == "mesh commands") or (msg == "morph commands") then | |
3315 | guis = game.Workspace:GetChildren() | |
3316 | for i = 1,#guis do | |
3317 | if guis[i].Name == "DittoCommands" then | |
3318 | guis[i]:remove() | |
3319 | end | |
3320 | end | |
3321 | ShowInCircle(player, | |
3322 | "Diamond", "Duck", "Dominus", "Pony", "Sphere", "Fish", "Skull", "Pumpkin", "Teapot", "Satelite", "Ghost", "Cat", "Music Box", "Cake", "Statue", "Gift","Rock", "Orb", "Coin","Castle", "Cloud" | |
3323 | ) | |
3324 | PetChat("I am showing you my mesh commands.") | |
3325 | UpdateCommands() | |
3326 | end | |
3327 | ||
3328 | if (msg == "color commands") then | |
3329 | guis = game.Workspace:GetChildren() | |
3330 | for i = 1,#guis do | |
3331 | if guis[i].Name == "DittoCommands" then | |
3332 | guis[i]:remove() | |
3333 | end | |
3334 | end | |
3335 | ShowInCircle(player, | |
3336 | "Blue", "Yellow", "White", "Red", "Black", "Green","Orange","Purple","Grey","Lime" | |
3337 | ) | |
3338 | PetChat("I am showing you my color commands.") | |
3339 | UpdateCommands() | |
3340 | end | |
3341 | ||
3342 | if (msg == "bc commands") then | |
3343 | guis = game.Workspace:GetChildren() | |
3344 | for i = 1,#guis do | |
3345 | if guis[i].Name == "DittoCommands" then | |
3346 | guis[i]:remove() | |
3347 | end | |
3348 | end | |
3349 | ShowInCircle(player, | |
3350 | "NBC", "BC", "TBC", "OBC", "ABC" | |
3351 | ) | |
3352 | PetChat("I am showing you my Builders Club commands.") | |
3353 | UpdateCommands() | |
3354 | end | |
3355 | ||
3356 | if msg == "thuum" or msg == "thu'um" or msg == "thuum help" then | |
3357 | guis = game.Workspace:GetChildren() | |
3358 | for i = 1,#guis do | |
3359 | if guis[i].Name == "DittoCommands" then | |
3360 | guis[i]:remove() | |
3361 | end | |
3362 | end | |
3363 | ShowInCircle(player, | |
3364 | "Fus Ro Dah", "Wuld Nah Kest", "Liz Slen Nus", "Yol Toor Shul", "Feim Zii Gron", "Strun Bah Qo", "Fo Krah Diin", "Laas Yah Nir", "Zun Haal Viik", "Krii Lun Aus", "Tiid Klo Ul", "Faas Ru Maar", "Toor Bah Yol", "Joor Zah Frul", "Kaan Drem Ov", "Ven Mul Riik", "Lok Vah Koor", "Nahl Daal Vus", "Bex" | |
3365 | ) | |
3366 | PetChat("Here is the power of the Thu'um.") | |
3367 | UpdateCommands() | |
3368 | end | |
3369 | ||
3370 | if (msg == "dismiss") then | |
3371 | guis = game.Workspace:GetChildren() | |
3372 | for i = 1,#guis do | |
3373 | if guis[i].Name == "DittoCommands" then | |
3374 | guis[i]:remove() | |
3375 | end | |
3376 | end | |
3377 | PetChat("I removed the commands.") | |
3378 | end | |
3379 | ||
3380 | if (msg == "give platform to me") or (msg == "platform on") then | |
3381 | ||
3382 | platform = Instance.new("Part", Workspace) | |
3383 | platform.Name = "DittoPlatform" | |
3384 | platform.Size = Vector3.new(10, 1, 10) | |
3385 | platform.TopSurface = "Smooth" | |
3386 | platform.BottomSurface = "Smooth" | |
3387 | platform.BrickColor = head.BrickColor | |
3388 | platform.Transparency = head.Transparency | |
3389 | platform.Anchored = true | |
3390 | platmesh = Instance.new("SpecialMesh", platform) | |
3391 | platmesh.Scale = Vector3.new(10, 1, 10) | |
3392 | platmesh.MeshId = mesh.MeshId | |
3393 | plat = true | |
3394 | PetChat("I gave you a platform.") | |
3395 | ||
3396 | while true do | |
3397 | wait() | |
3398 | if platform ~= nil and plat == true and player.Character ~= nil and player.Character.Torso ~= nil then | |
3399 | platform.CFrame = player.Character.Torso.CFrame - Vector3.new(0, 3.5, 0) | |
3400 | platform.BrickColor = head.BrickColor | |
3401 | platform.Transparency = head.Transparency | |
3402 | if platmesh ~= nil then | |
3403 | platmesh.MeshId = mesh.MeshId | |
3404 | end | |
3405 | end | |
3406 | end | |
3407 | end | |
3408 | ||
3409 | if (msg == "remove platform") or (msg == "platform off") then | |
3410 | plat = false | |
3411 | guis = game.Workspace:GetChildren() | |
3412 | for i = 1,#guis do | |
3413 | if guis[i].Name == "DittoPlatform" then | |
3414 | guis[i]:remove() | |
3415 | end | |
3416 | end | |
3417 | PetChat("I removed the platform.") | |
3418 | end | |
3419 | ||
3420 | if (msg == "spawn castle") then | |
3421 | castle = Instance.new("Model", workspace) | |
3422 | castle.Name = "Castle" | |
3423 | ||
3424 | spawn = Instance.new("SpawnLocation", castle) | |
3425 | spawn.Size = Vector3.new(144, 0.4, 148) | |
3426 | spawn.Anchored = true | |
3427 | spawn.BrickColor = BrickColor.new("Dark stone grey") | |
3428 | spawn.Transparency = 0 | |
3429 | spawn.FormFactor = "Custom" | |
3430 | spawn.Material = "Slate" | |
3431 | spawn.TopSurface = "Smooth" | |
3432 | spawn.BottomSurface = "Smooth" | |
3433 | spawn.CFrame = CFrame.new(0,0.5,0) | |
3434 | ||
3435 | side1 = Instance.new("Part", castle) | |
3436 | side1.Size = Vector3.new(110, 30, 5) | |
3437 | side1.Anchored = true | |
3438 | side1.BrickColor = BrickColor.new("Dark stone grey") | |
3439 | side1.Transparency = 0 | |
3440 | side1.FormFactor = "Custom" | |
3441 | side1.Material = "Slate" | |
3442 | side1.TopSurface = "Smooth" | |
3443 | side1.BottomSurface = "Smooth" | |
3444 | side1.CFrame = CFrame.new(0, 15.5, 71.5) | |
3445 | ||
3446 | side2 = Instance.new("Part", castle) | |
3447 | side2.Size = Vector3.new(5, 30, 110) | |
3448 | side2.Anchored = true | |
3449 | side2.BrickColor = BrickColor.new("Dark stone grey") | |
3450 | side2.Transparency = 0 | |
3451 | side2.FormFactor = "Custom" | |
3452 | side2.Material = "Slate" | |
3453 | side2.TopSurface = "Smooth" | |
3454 | side2.BottomSurface = "Smooth" | |
3455 | side2.CFrame = CFrame.new(-69.5, 15.4, 0) | |
3456 | ||
3457 | side3 = Instance.new("Part", castle) | |
3458 | side3.Size = Vector3.new(110, 30, 5) | |
3459 | side3.Anchored = true | |
3460 | side3.BrickColor = BrickColor.new("Dark stone grey") | |
3461 | side3.Transparency = 0 | |
3462 | side3.FormFactor = "Custom" | |
3463 | side3.Material = "Slate" | |
3464 | side3.TopSurface = "Smooth" | |
3465 | side3.BottomSurface = "Smooth" | |
3466 | side3.CFrame = CFrame.new(0, 15.4, -71.5) | |
3467 | ||
3468 | side4 = Instance.new("Part", castle) | |
3469 | side4.Size = Vector3.new(5, 30, 110) | |
3470 | side4.Anchored = true | |
3471 | side4.BrickColor = BrickColor.new("Dark stone grey") | |
3472 | side4.Transparency = 0 | |
3473 | side4.FormFactor = "Custom" | |
3474 | side4.Material = "Slate" | |
3475 | side4.TopSurface = "Smooth" | |
3476 | side4.BottomSurface = "Smooth" | |
3477 | side4.CFrame = CFrame.new(69.5, 15.4, 0) | |
3478 | ||
3479 | tower1 = Instance.new("Part", castle) | |
3480 | tower1.Size = Vector3.new(17, 55, 19) | |
3481 | tower1.Anchored = true | |
3482 | tower1.BrickColor = BrickColor.new("Dark stone grey") | |
3483 | tower1.Transparency = 0 | |
3484 | tower1.FormFactor = "Custom" | |
3485 | tower1.Material = "Slate" | |
3486 | tower1.TopSurface = "Smooth" | |
3487 | tower1.BottomSurface = "Smooth" | |
3488 | tower1.CFrame = CFrame.new(63.5, 28, 64.5) | |
3489 | ||
3490 | tower2 = Instance.new("Part", castle) | |
3491 | tower2.Size = Vector3.new(17, 55, 19) | |
3492 | tower2.Anchored = true | |
3493 | tower2.BrickColor = BrickColor.new("Dark stone grey") | |
3494 | tower2.Transparency = 0 | |
3495 | tower2.FormFactor = "Custom" | |
3496 | tower2.Material = "Slate" | |
3497 | tower2.TopSurface = "Smooth" | |
3498 | tower2.BottomSurface = "Smooth" | |
3499 | tower2.CFrame = CFrame.new(-63.5, 28, 64.5) | |
3500 | ||
3501 | tower3 = Instance.new("Part", castle) | |
3502 | tower3.Size = Vector3.new(17, 55, 19) | |
3503 | tower3.Anchored = true | |
3504 | tower3.BrickColor = BrickColor.new("Dark stone grey") | |
3505 | tower3.Transparency = 0 | |
3506 | tower3.FormFactor = "Custom" | |
3507 | tower3.Material = "Slate" | |
3508 | tower3.TopSurface = "Smooth" | |
3509 | tower3.BottomSurface = "Smooth" | |
3510 | tower3.CFrame = CFrame.new(-63.5, 28, -64.5) | |
3511 | ||
3512 | tower4 = Instance.new("Part", castle) | |
3513 | tower4.Size = Vector3.new(17, 55, 19) | |
3514 | tower4.Anchored = true | |
3515 | tower4.BrickColor = BrickColor.new("Dark stone grey") | |
3516 | tower4.Transparency = 0 | |
3517 | tower4.FormFactor = "Custom" | |
3518 | tower4.Material = "Slate" | |
3519 | tower4.TopSurface = "Smooth" | |
3520 | tower4.BottomSurface = "Smooth" | |
3521 | tower4.CFrame = CFrame.new(63.5, 28, -64.5) | |
3522 | ||
3523 | point1 = Instance.new("Part", castle) | |
3524 | point1.Size = Vector3.new(25, 20, 27) | |
3525 | point1.Anchored = true | |
3526 | point1.BrickColor = BrickColor.new("Bright red") | |
3527 | point1.Transparency = 0 | |
3528 | point1.FormFactor = "Custom" | |
3529 | point1.Material = "Slate" | |
3530 | point1.TopSurface = "Smooth" | |
3531 | point1.BottomSurface = "Smooth" | |
3532 | point1.CFrame = CFrame.new(63.5, 65.6, 64.5) | |
3533 | cone = Instance.new("SpecialMesh", point1) | |
3534 | cone.Scale = Vector3.new(15, 30, 15) | |
3535 | cone.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
3536 | ||
3537 | point2 = Instance.new("Part", castle) | |
3538 | point2.Size = Vector3.new(25, 20, 27) | |
3539 | point2.Anchored = true | |
3540 | point2.BrickColor = BrickColor.new("Bright red") | |
3541 | point2.Transparency = 0 | |
3542 | point2.FormFactor = "Custom" | |
3543 | point2.Material = "Slate" | |
3544 | point2.TopSurface = "Smooth" | |
3545 | point2.BottomSurface = "Smooth" | |
3546 | point2.CFrame = CFrame.new(-63.5, 65.6, 64.5) | |
3547 | cone = Instance.new("SpecialMesh", point2) | |
3548 | cone.Scale = Vector3.new(15, 30, 15) | |
3549 | cone.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
3550 | ||
3551 | point3 = Instance.new("Part", castle) | |
3552 | point3.Size = Vector3.new(25, 20, 27) | |
3553 | point3.Anchored = true | |
3554 | point3.BrickColor = BrickColor.new("Bright red") | |
3555 | point3.Transparency = 0 | |
3556 | point3.FormFactor = "Custom" | |
3557 | point3.Material = "Slate" | |
3558 | point3.TopSurface = "Smooth" | |
3559 | point3.BottomSurface = "Smooth" | |
3560 | point3.CFrame = CFrame.new(-63.5, 65.6, -64.5) | |
3561 | cone = Instance.new("SpecialMesh", point3) | |
3562 | cone.Scale = Vector3.new(15, 30, 15) | |
3563 | cone.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
3564 | ||
3565 | point4 = Instance.new("Part", castle) | |
3566 | point4.Size = Vector3.new(25, 20, 27) | |
3567 | point4.Anchored = true | |
3568 | point4.BrickColor = BrickColor.new("Bright red") | |
3569 | point4.Transparency = 0 | |
3570 | point4.FormFactor = "Custom" | |
3571 | point4.Material = "Slate" | |
3572 | point4.TopSurface = "Smooth" | |
3573 | point4.BottomSurface = "Smooth" | |
3574 | point4.CFrame = CFrame.new(63.5, 65.6, -64.5) | |
3575 | cone = Instance.new("SpecialMesh", point4) | |
3576 | cone.Scale = Vector3.new(15, 30, 15) | |
3577 | cone.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
3578 | ||
3579 | PetChat("I made a spawn castle.") | |
3580 | end | |
3581 | ||
3582 | if (msg == "open castle") then | |
3583 | if side1 ~= nil and side2 ~= nil and side3 ~= nil and side4 ~= nil then | |
3584 | side1.CanCollide = false | |
3585 | side1.Transparency = 1 | |
3586 | side2.CanCollide = false | |
3587 | side2.Transparency = 1 | |
3588 | side3.CanCollide = false | |
3589 | side3.Transparency = 1 | |
3590 | side4.CanCollide = false | |
3591 | side4.Transparency = 1 | |
3592 | PetChat("I opened the castle.") | |
3593 | end | |
3594 | end | |
3595 | ||
3596 | if (msg == "close castle") then | |
3597 | if side1 ~= nil and side2 ~= nil and side3 ~= nil and side4 ~= nil then | |
3598 | side1.CanCollide = true | |
3599 | side1.Transparency = 0 | |
3600 | side2.CanCollide = true | |
3601 | side2.Transparency = 0 | |
3602 | side3.CanCollide = true | |
3603 | side3.Transparency = 0 | |
3604 | side4.CanCollide = true | |
3605 | side4.Transparency = 0 | |
3606 | PetChat("I closed the castle.") | |
3607 | end | |
3608 | end | |
3609 | ||
3610 | if (msg == "remove castle") then | |
3611 | if castle ~= nil then | |
3612 | castle:Remove() | |
3613 | PetChat("I removed the castle.") | |
3614 | end | |
3615 | end | |
3616 | ||
3617 | if (msg == "fix base") then | |
3618 | local Base=Instance.new("Part",game.Workspace) | |
3619 | Base.Name="Base" | |
3620 | Base.Size=Vector3.new(1000,1,1000) | |
3621 | Base.BrickColor=BrickColor.new("Earth green") | |
3622 | Base.Anchored=true | |
3623 | Base.Locked=true | |
3624 | Base.TopSurface="Universal" | |
3625 | Base.CFrame=CFrame.new(Vector3.new(0,0,0)) | |
3626 | local Spawn=Instance.new("SpawnLocation",game.Workspace) | |
3627 | Spawn.Name="SpawnLocation" | |
3628 | Spawn.Size=Vector3.new(6,1,6) | |
3629 | Spawn.Transparency=1 | |
3630 | Spawn.CanCollide=false | |
3631 | Spawn.Anchored=true | |
3632 | Spawn.Locked=true | |
3633 | Spawn.CFrame=CFrame.new(Vector3.new(0,1,0)) | |
3634 | PetChat("The base has been replaced.") | |
3635 | end | |
3636 | ||
3637 | if msg == "stay" then | |
3638 | follow = false | |
3639 | PetChat("But I want to come with you, master!") | |
3640 | end | |
3641 | ||
3642 | if msg == "come" then | |
3643 | follow = true | |
3644 | PetChat("Yay!") | |
3645 | end | |
3646 | ||
3647 | if msg == "clear message" then | |
3648 | PetChat("I am deleting the messages.") | |
3649 | guis = game.Workspace:GetChildren() | |
3650 | for i = 1,#guis do | |
3651 | if guis[i].className == "Message" then | |
3652 | guis[i]:remove() | |
3653 | end | |
3654 | end | |
3655 | end | |
3656 | ||
3657 | if msg == "clear terrain" then | |
3658 | PetChat("I am deleting the terrain.") | |
3659 | game.Workspace.Terrain:clear() | |
3660 | end | |
3661 | ||
3662 | if msg == "fus ro dah" then | |
3663 | go = false | |
3664 | fus = Instance.new("Part") | |
3665 | fus.formFactor = "Custom" | |
3666 | fus.Size = Vector3.new(1, 1, 4) | |
3667 | fus.TopSurface = "Smooth" | |
3668 | fus.BottomSurface = "Smooth" | |
3669 | fus.Anchored = false | |
3670 | fus.CanCollide = false | |
3671 | fus.BrickColor = BrickColor.new("Bright blue") | |
3672 | fus.Transparency = 0.6 | |
3673 | fus.Reflectance = 0.1 | |
3674 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
3675 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -150 | |
3676 | local f = Instance.new("Fire") | |
3677 | f.Name = "FusFire" | |
3678 | f.Size = fus:GetMass() | |
3679 | f.Heat = 0 | |
3680 | f.Color = Color3.new(0/255, 204/255, 255/255) | |
3681 | f.SecondaryColor = Color3.new(1, 1, 1) | |
3682 | f.Parent = fus | |
3683 | local mesh = Instance.new("SpecialMesh") | |
3684 | mesh.MeshType = "Sphere" | |
3685 | mesh.Parent = fus | |
3686 | local bp = Instance.new("BodyPosition") | |
3687 | bp.position = player.Character.Head.Position | |
3688 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
3689 | bp.Parent = fus | |
3690 | fus.Parent = workspace | |
3691 | fus.Touched:connect(fused) | |
3692 | coroutine.resume(coroutine.create(function() | |
3693 | wait(0.5) | |
3694 | for i = 1, 20 do | |
3695 | wait(0.01) | |
3696 | local cf = fus.CFrame | |
3697 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
3698 | f.Size = fus:GetMass()/2 | |
3699 | fus.CFrame = cf | |
3700 | end | |
3701 | wait(3) | |
3702 | for i = 1, 40 do | |
3703 | fus.Transparency = fus.Transparency + 0.1 | |
3704 | f.Size = f.Size - (fus:GetMass()/40) | |
3705 | wait(0.1) | |
3706 | end | |
3707 | wait() | |
3708 | fus.Transparency = 1 | |
3709 | f:remove() | |
3710 | fus:remove() | |
3711 | go = true | |
3712 | end)) | |
3713 | game:GetService("Debris"):AddItem(fus, 15) | |
3714 | elseif msg == "wuld nah kest" then | |
3715 | local speed = player.Character.Humanoid.WalkSpeed --Speed prior to sprinting | |
3716 | local cf = player.Character.Torso.CFrame * CFrame.new(0, 0, -50) | |
3717 | local pos = cf.p | |
3718 | player.Character.Humanoid.WalkSpeed = 200 | |
3719 | player.Character.Humanoid:MoveTo(pos, workspace.Base) | |
3720 | wait(0.275) | |
3721 | player.Character.Humanoid.WalkSpeed = speed | |
3722 | player.Character.Humanoid:MoveTo(player.Character.Torso.Position, player.Character.Torso) | |
3723 | elseif msg == "liz slen nus" then | |
3724 | --local succ, ret = pcall(function() | |
3725 | go = false | |
3726 | fus = Instance.new("Part") | |
3727 | fus.formFactor = "Custom" | |
3728 | fus.Size = Vector3.new(3, 3, 6) | |
3729 | fus.TopSurface = "Smooth" | |
3730 | fus.BottomSurface = "Smooth" | |
3731 | fus.Anchored = false | |
3732 | fus.CanCollide = false | |
3733 | fus.BrickColor = BrickColor.new("White") | |
3734 | fus.Transparency = 0.5 | |
3735 | fus.Reflectance = 0.1 | |
3736 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(0, 0, -6) | |
3737 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -150 | |
3738 | local s = Instance.new("Sparkles") | |
3739 | s.Name = "LizSparkle" | |
3740 | s.SparkleColor = Color3.new(1, 1, 1) | |
3741 | s.Parent = fus | |
3742 | local mesh = Instance.new("SpecialMesh") | |
3743 | mesh.MeshType = "Sphere" | |
3744 | mesh.Parent = fus | |
3745 | local bp = Instance.new("BodyPosition") | |
3746 | bp.position = player.Character.Head.Position | |
3747 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
3748 | bp.Parent = fus | |
3749 | fus.Parent = workspace | |
3750 | fus.Touched:connect(lized) | |
3751 | --[end) | |
3752 | coroutine.resume(coroutine.create(function() | |
3753 | wait(3) | |
3754 | for i = 1, 40 do | |
3755 | fus.Transparency = fus.Transparency + 0.1 | |
3756 | wait(0.1) | |
3757 | end | |
3758 | wait() | |
3759 | fus.Transparency = 1 | |
3760 | fus:remove() | |
3761 | go = true | |
3762 | end)) | |
3763 | game:GetService("Debris"):AddItem(fus, 15) | |
3764 | elseif msg == "yol toor shul" then | |
3765 | go = false | |
3766 | fus = Instance.new("Part") | |
3767 | fus.formFactor = "Custom" | |
3768 | fus.Size = Vector3.new(3, 3, 6) | |
3769 | fus.TopSurface = "Smooth" | |
3770 | fus.BottomSurface = "Smooth" | |
3771 | fus.Anchored = false | |
3772 | fus.CanCollide = false | |
3773 | fus.BrickColor = BrickColor.new("Bright orange") | |
3774 | fus.Transparency = 0.5 | |
3775 | fus.Reflectance = 0.1 | |
3776 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(0, 0, -6) | |
3777 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -150 | |
3778 | local f = Instance.new("Fire") | |
3779 | f.Name = "FusFire" | |
3780 | f.Size = fus:GetMass()/3 | |
3781 | f.Heat = 0 | |
3782 | f.Parent = fus | |
3783 | local mesh = Instance.new("SpecialMesh") | |
3784 | mesh.MeshType = "Sphere" | |
3785 | mesh.Parent = fus | |
3786 | local bp = Instance.new("BodyPosition") | |
3787 | bp.position = player.Character.Head.Position | |
3788 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
3789 | bp.Parent = fus | |
3790 | fus.Parent = workspace | |
3791 | fus.Touched:connect(yoled) | |
3792 | coroutine.resume(coroutine.create(function() | |
3793 | wait(0.5) | |
3794 | for i = 1, 20 do | |
3795 | wait(0.01) | |
3796 | local cf = fus.CFrame | |
3797 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
3798 | f.Size = fus:GetMass()/2 | |
3799 | fus.CFrame = cf | |
3800 | end | |
3801 | wait(3) | |
3802 | for i = 1, 40 do | |
3803 | fus.Transparency = fus.Transparency + 0.1 | |
3804 | f.Size = f.Size - (fus:GetMass()/3)/40 | |
3805 | wait(0.1) | |
3806 | end | |
3807 | wait() | |
3808 | fus.Transparency = 1 | |
3809 | f:remove() | |
3810 | fus:remove() | |
3811 | go = true | |
3812 | end)) | |
3813 | game:GetService("Debris"):AddItem(fus, 15) | |
3814 | elseif msg == "feim zii gron" then | |
3815 | player.Character.Humanoid.WalkSpeed = 30 | |
3816 | for a, b in pairs(player.Character:children()) do | |
3817 | if b.Name == "Head" then | |
3818 | if b:findFirstChild("face") ~= nil then | |
3819 | coroutine.resume(coroutine.create(function() | |
3820 | for i = 1, 110 do | |
3821 | b.face.Transparency = b.face.Transparency + 0.01 | |
3822 | wait(0.01) | |
3823 | end | |
3824 | b.face.Transparency = 1 | |
3825 | end)) | |
3826 | end | |
3827 | end | |
3828 | if b.className == "Part" then | |
3829 | coroutine.resume(coroutine.create(function() | |
3830 | for i = 1, 110 do | |
3831 | b.Transparency = b.Transparency + 0.01 | |
3832 | wait(0.01) | |
3833 | end | |
3834 | b.Transparency = 1 | |
3835 | end)) | |
3836 | elseif b.className == "Hat" then | |
3837 | coroutine.resume(coroutine.create(function() | |
3838 | for i = 1, 110 do | |
3839 | b.Handle.Transparency = b.Handle.Transparency + 0.01 | |
3840 | wait(0.01) | |
3841 | end | |
3842 | b.Handle.Transparency = 1 | |
3843 | end)) | |
3844 | end | |
3845 | end | |
3846 | wait(15) | |
3847 | player.Character.Humanoid.WalkSpeed = 16 | |
3848 | for a, b in pairs(player.Character:children()) do | |
3849 | if b.Name == "Head" then | |
3850 | if b:findFirstChild("face") ~= nil then | |
3851 | coroutine.resume(coroutine.create(function() | |
3852 | for i = 1, 110 do | |
3853 | b.face.Transparency = b.face.Transparency - 0.01 | |
3854 | wait(0.01) | |
3855 | end | |
3856 | b.face.Transparency = 0 | |
3857 | end)) | |
3858 | end | |
3859 | end | |
3860 | if b.className == "Part" then | |
3861 | coroutine.resume(coroutine.create(function() | |
3862 | for i = 1, 110 do | |
3863 | b.Transparency = b.Transparency - 0.01 | |
3864 | wait(0.01) | |
3865 | end | |
3866 | b.Transparency = 0 | |
3867 | end)) | |
3868 | elseif b.className == "Hat" then | |
3869 | coroutine.resume(coroutine.create(function() | |
3870 | for i = 1, 110 do | |
3871 | b.Handle.Transparency = b.Handle.Transparency - 0.01 | |
3872 | wait(0.01) | |
3873 | end | |
3874 | b.Handle.Transparency = 0 | |
3875 | end)) | |
3876 | end | |
3877 | end | |
3878 | elseif msg == "strun bah qo" and skygo == true then | |
3879 | skygo = false | |
3880 | local clouds = {} | |
3881 | function lightning(cl) | |
3882 | local lights = {} | |
3883 | for i = 1, 15 do | |
3884 | local l = Instance.new("Part") | |
3885 | l.Name = "FusLightning" | |
3886 | table.insert(lights, l) | |
3887 | game:GetService("Debris"):AddItem(l, 15) | |
3888 | l.formFactor = "Custom" | |
3889 | l.Size = Vector3.new(1, math.random(50, 75), 1) | |
3890 | l.BrickColor = BrickColor.new("Institutional white") | |
3891 | l.Transparency = 0.45 | |
3892 | l.Reflectance = 0.5 | |
3893 | l.Anchored = true | |
3894 | l.CanCollide = false | |
3895 | local xnum = 6 | |
3896 | local znum = 6 | |
3897 | if i == 1 then | |
3898 | l.CFrame = cl.CFrame * CFrame.Angles(math.random(-(math.pi/xnum), math.pi/xnum), 0, math.random(-(math.pi/znum), math.pi/znum)) * CFrame.new(0, -1 * (l.Size.Y/2), 0) | |
3899 | elseif i > 1 then | |
3900 | local llight = lights[i - 1] | |
3901 | l.CFrame = llight.CFrame * CFrame.Angles(math.random(-(math.pi/xnum), math.pi/xnum), 0, math.random(-(math.pi/znum), math.pi/znum)) * CFrame.new(0, -1 * (l.Size.Y/2), 0) | |
3902 | end | |
3903 | l.Parent = workspace | |
3904 | l.Touched:connect(function(part) struned(part, l) end) | |
3905 | coroutine.resume(coroutine.create(function() | |
3906 | repeat | |
3907 | l.Transparency = l.Transparency + 0.02 | |
3908 | wait() | |
3909 | until l.Transparency >= 1 | |
3910 | l:remove() | |
3911 | end)) | |
3912 | end | |
3913 | end | |
3914 | for i = 1, 100 do | |
3915 | game.Lighting.Brightness = game.Lighting.Brightness - 0.01 | |
3916 | wait(0.05) | |
3917 | end | |
3918 | game.Lighting.Brightness = 0 | |
3919 | local cloud = Instance.new("Part") | |
3920 | cloud.Name = "StrunCloud" | |
3921 | cloud.Size = Vector3.new(1, 1, 1) | |
3922 | cloud.Anchored = true | |
3923 | cloud.CanCollide = false | |
3924 | cloud.BrickColor = BrickColor.new("Black") | |
3925 | cloud.Transparency = 1 | |
3926 | local mesh = Instance.new("SpecialMesh") | |
3927 | mesh.MeshType = "FileMesh" | |
3928 | mesh.Scale = Vector3.new(math.random(100, 150), math.random(50, 100), math.random(100, 150)) | |
3929 | mesh.MeshId = "www.roblox.com/asset/?id=1095708" | |
3930 | mesh.Parent = cloud | |
3931 | for i = 1, (math.random(4, 8)) do | |
3932 | local newc = cloud:clone() | |
3933 | newc.Parent = workspace | |
3934 | game:GetService("Debris"):AddItem(newc, 300) | |
3935 | table.insert(clouds, newc) | |
3936 | newc.CFrame = CFrame.new(player.Character.Torso.Position + Vector3.new(math.random(-250, 250), math.random(150, 200), math.random(-250, 250))) | |
3937 | coroutine.resume(coroutine.create(function() | |
3938 | repeat | |
3939 | newc.Transparency = newc.Transparency - 0.01 | |
3940 | wait() | |
3941 | until newc.Transparency <= 0.2 | |
3942 | newc.Transparency = 0.2 | |
3943 | end)) | |
3944 | end | |
3945 | for i = 1, (math.random(7, 15)) do | |
3946 | if skygo == true then break end | |
3947 | local s = Instance.new("Sound") | |
3948 | game:GetService("Debris"):AddItem(s, 5) | |
3949 | s.Name = "Lighting" | |
3950 | s.SoundId = "rbxasset://sounds/HalloweenLightning.wav" | |
3951 | s.Pitch = (math.random(10, 15) * 0.1) | |
3952 | s.PlayOnRemove = true | |
3953 | s.Looped = false | |
3954 | s.Parent = workspace | |
3955 | wait(0.5) | |
3956 | s:play() | |
3957 | for i = 1, #clouds do | |
3958 | lightning(clouds[i]) | |
3959 | end | |
3960 | game.Lighting.Brightness = 1 | |
3961 | wait(0.001) | |
3962 | game.Lighting.Brightness = 0 | |
3963 | s:remove() | |
3964 | wait(math.random(3, 6)) | |
3965 | end | |
3966 | wait(2) | |
3967 | for i = 1, #clouds do | |
3968 | coroutine.resume(coroutine.create(function() | |
3969 | repeat | |
3970 | clouds[i].Transparency = clouds[i].Transparency + 0.01 | |
3971 | wait(0.05) | |
3972 | until clouds[i].Transparency >= 1 | |
3973 | clouds[i]:remove() | |
3974 | end)) | |
3975 | end | |
3976 | for i = 1, 110 do | |
3977 | game.Lighting.Brightness = game.Lighting.Brightness + 0.01 | |
3978 | wait(0.01) | |
3979 | end | |
3980 | skygo = true | |
3981 | game.Lighting.Brightness = 1 | |
3982 | elseif msg == "fo krah diin" then | |
3983 | go = false | |
3984 | for i = 1, 50 do | |
3985 | fus = Instance.new("Part") | |
3986 | fus.formFactor = "Custom" | |
3987 | fus.Size = Vector3.new(0.5, 0.5, 0.5) | |
3988 | fus.TopSurface = "Smooth" | |
3989 | fus.BottomSurface = "Smooth" | |
3990 | fus.Anchored = false | |
3991 | fus.CanCollide = false | |
3992 | fus.BrickColor = BrickColor.new("Institutional white") | |
3993 | fus.Transparency = 0.6 | |
3994 | fus.Reflectance = 0.1 | |
3995 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(math.random(-15, 15)*0.1, math.random(-15, 15)*0.1, -4) | |
3996 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -150 | |
3997 | local f = Instance.new("Fire") | |
3998 | f.Name = "FusFire" | |
3999 | f.Size = fus:GetMass() | |
4000 | f.Heat = 0 | |
4001 | f.Color = Color3.new(1, 1, 1) | |
4002 | f.SecondaryColor = Color3.new(1, 1, 1) | |
4003 | f.Parent = fus | |
4004 | local mesh = Instance.new("SpecialMesh") | |
4005 | mesh.MeshType = "Sphere" | |
4006 | mesh.Parent = fus | |
4007 | local bp = Instance.new("BodyPosition") | |
4008 | bp.position = fus.Position | |
4009 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
4010 | bp.Parent = fus | |
4011 | fus.Parent = workspace | |
4012 | fus.Touched:connect(function(part) foed(part, fus) end) | |
4013 | game:GetService("Debris"):AddItem(fus, 15) | |
4014 | end | |
4015 | go = true | |
4016 | elseif msg == "laas yah nir" then | |
4017 | for i = 1, 30 do | |
4018 | for a, b in pairs(game.Players:children()) do | |
4019 | if b.Character ~= nil then | |
4020 | if (player.Character.Torso.Position - b.Character.Torso.Position).magnitude <= 100 and b ~= p then | |
4021 | if b.Character.Torso:findFirstChild("LaasFire") == nil then | |
4022 | local f = Instance.new("Fire", b.Character.Torso) | |
4023 | f.Name = "LaasFire" | |
4024 | f.Size = b.Character.Torso:GetMass()*2 | |
4025 | f.Color = Color3.new(204/255, 0/255, 204/255) | |
4026 | f.SecondaryColor = Color3.new(0/255, 0/255, 0/255) | |
4027 | end | |
4028 | elseif (player.Character.Torso.Position - b.Character.Torso.Position).magnitude > 100 then | |
4029 | if b.Character.Torso:findFirstChild("LaasFire") ~= nil then | |
4030 | b.Character.Torso.LaasFire:remove() | |
4031 | end | |
4032 | end | |
4033 | end | |
4034 | end | |
4035 | wait(1) | |
4036 | end | |
4037 | for a, b in pairs(game.Players:children()) do | |
4038 | if b.Character.Torso:findFirstChild("LaasFire") ~= nil then | |
4039 | b.Character.Torso.LaasFire:remove() | |
4040 | end | |
4041 | end | |
4042 | elseif msg == "zun haal viik" then | |
4043 | go = false | |
4044 | fus = Instance.new("Part") | |
4045 | fus.formFactor = "Custom" | |
4046 | fus.Size = Vector3.new(1, 1, 4) | |
4047 | fus.TopSurface = "Smooth" | |
4048 | fus.BottomSurface = "Smooth" | |
4049 | fus.Anchored = false | |
4050 | fus.CanCollide = false | |
4051 | fus.BrickColor = BrickColor.new("Lime green") | |
4052 | fus.Transparency = 0.6 | |
4053 | fus.Reflectance = 0.1 | |
4054 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
4055 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -200 | |
4056 | local f = Instance.new("Fire") | |
4057 | f.Name = "FusFire" | |
4058 | f.Size = fus:GetMass() | |
4059 | f.Heat = 0 | |
4060 | f.Color = Color3.new(0/255, 255/255, 0/255) | |
4061 | f.SecondaryColor = Color3.new(255/255, 255/255, 255/255) | |
4062 | f.Parent = fus | |
4063 | local mesh = Instance.new("SpecialMesh") | |
4064 | mesh.MeshType = "Sphere" | |
4065 | mesh.Parent = fus | |
4066 | local bp = Instance.new("BodyPosition") | |
4067 | bp.position = player.Character.Head.Position | |
4068 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
4069 | bp.Parent = fus | |
4070 | fus.Parent = workspace | |
4071 | fus.Touched:connect(function(part) zuned(part, fus) end) | |
4072 | coroutine.resume(coroutine.create(function() | |
4073 | wait(0.5) | |
4074 | for i = 1, 9 do | |
4075 | wait(0.01) | |
4076 | local cf = fus.CFrame | |
4077 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
4078 | f.Size = fus:GetMass()/2 | |
4079 | fus.CFrame = cf | |
4080 | end | |
4081 | wait(3) | |
4082 | for i = 1, 40 do | |
4083 | fus.Transparency = fus.Transparency + 0.1 | |
4084 | f.Size = f.Size - (fus:GetMass()/40) | |
4085 | wait(0.1) | |
4086 | end | |
4087 | wait() | |
4088 | fus.Transparency = 1 | |
4089 | f:remove() | |
4090 | fus:remove() | |
4091 | go = true | |
4092 | end)) | |
4093 | game:GetService("Debris"):AddItem(fus, 15) | |
4094 | elseif msg == "krii lun aus" then | |
4095 | go = false | |
4096 | fus = Instance.new("Part") | |
4097 | fus.formFactor = "Custom" | |
4098 | fus.Size = Vector3.new(1, 1, 4) | |
4099 | fus.TopSurface = "Smooth" | |
4100 | fus.BottomSurface = "Smooth" | |
4101 | fus.Anchored = false | |
4102 | fus.CanCollide = false | |
4103 | fus.BrickColor = BrickColor.new("Bright purple") | |
4104 | fus.Transparency = 0.6 | |
4105 | fus.Reflectance = 0.1 | |
4106 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
4107 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -150 | |
4108 | local f = Instance.new("Fire") | |
4109 | f.Name = "FusFire" | |
4110 | f.Size = fus:GetMass() | |
4111 | f.Heat = 0 | |
4112 | f.Color = Color3.new(153/255, 0/255, 255/255) | |
4113 | f.SecondaryColor = Color3.new(255/255, 255/255, 255/255) | |
4114 | f.Parent = fus | |
4115 | local mesh = Instance.new("SpecialMesh") | |
4116 | mesh.MeshType = "Sphere" | |
4117 | mesh.Parent = fus | |
4118 | local bp = Instance.new("BodyPosition") | |
4119 | bp.position = player.Character.Head.Position | |
4120 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
4121 | bp.Parent = fus | |
4122 | fus.Parent = workspace | |
4123 | fus.Touched:connect(function(part) kriied(part, fus) end) | |
4124 | coroutine.resume(coroutine.create(function() | |
4125 | wait(0.5) | |
4126 | for i = 1, 19 do | |
4127 | wait(0.01) | |
4128 | local cf = fus.CFrame | |
4129 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
4130 | f.Size = fus:GetMass()/2 | |
4131 | fus.CFrame = cf | |
4132 | end | |
4133 | wait(3) | |
4134 | for i = 1, 40 do | |
4135 | fus.Transparency = fus.Transparency + 0.1 | |
4136 | f.Size = f.Size - (fus:GetMass()/40) | |
4137 | wait(0.1) | |
4138 | end | |
4139 | wait() | |
4140 | fus.Transparency = 1 | |
4141 | f:remove() | |
4142 | fus:remove() | |
4143 | go = true | |
4144 | end)) | |
4145 | game:GetService("Debris"):AddItem(fus, 15) | |
4146 | elseif msg == "tiid klo ul" then | |
4147 | for a, b in pairs(game.Players:children()) do | |
4148 | if b.Character ~= nil and b ~= p then | |
4149 | for c, d in pairs(b.Character:children()) do | |
4150 | if d.className == "Part" then | |
4151 | if d.Anchored == false then | |
4152 | local cf = nil | |
4153 | if d.Name == "Torso" then | |
4154 | cf = d.CFrame | |
4155 | end | |
4156 | d.Anchored = true | |
4157 | coroutine.resume(coroutine.create(function() | |
4158 | wait(10) | |
4159 | if d ~= nil then | |
4160 | d.Anchored = false | |
4161 | d.CFrame = cf | |
4162 | end | |
4163 | end)) | |
4164 | end | |
4165 | elseif d.className == "Hat" then | |
4166 | if d.Handle.Anchored == false then | |
4167 | d.Handle.Anchored = true | |
4168 | coroutine.resume(coroutine.create(function() | |
4169 | wait(10) | |
4170 | if d ~= nil then | |
4171 | if d.Handle ~= nil then | |
4172 | d.Handle.Anchored = false | |
4173 | end | |
4174 | end | |
4175 | end)) | |
4176 | end | |
4177 | end | |
4178 | end | |
4179 | end | |
4180 | end | |
4181 | elseif msg == "faas ru maar" then | |
4182 | go = false | |
4183 | fus = Instance.new("Part") | |
4184 | fus.formFactor = "Custom" | |
4185 | fus.Size = Vector3.new(1, 1, 4) | |
4186 | fus.TopSurface = "Smooth" | |
4187 | fus.BottomSurface = "Smooth" | |
4188 | fus.Anchored = false | |
4189 | fus.CanCollide = false | |
4190 | fus.BrickColor = BrickColor.new("Really black") | |
4191 | fus.Transparency = 0.6 | |
4192 | fus.Reflectance = 0.1 | |
4193 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
4194 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -150 | |
4195 | local f = Instance.new("Fire") | |
4196 | f.Name = "FusFire" | |
4197 | f.Size = fus:GetMass() | |
4198 | f.Heat = 0 | |
4199 | f.Color = Color3.new(0/255, 0/255, 0/255) | |
4200 | f.SecondaryColor = Color3.new(255/255, 255/255, 255/255) | |
4201 | f.Parent = fus | |
4202 | local mesh = Instance.new("SpecialMesh") | |
4203 | mesh.MeshType = "Sphere" | |
4204 | mesh.Parent = fus | |
4205 | local bp = Instance.new("BodyPosition") | |
4206 | bp.position = player.Character.Head.Position | |
4207 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
4208 | bp.Parent = fus | |
4209 | fus.Parent = workspace | |
4210 | fus.Touched:connect(function(part) faased(part) end) | |
4211 | coroutine.resume(coroutine.create(function() | |
4212 | wait(0.5) | |
4213 | for i = 1, 19 do | |
4214 | wait(0.01) | |
4215 | local cf = fus.CFrame | |
4216 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
4217 | f.Size = fus:GetMass()/2 | |
4218 | fus.CFrame = cf | |
4219 | end | |
4220 | wait(3) | |
4221 | for i = 1, 40 do | |
4222 | fus.Transparency = fus.Transparency + 0.1 | |
4223 | f.Size = f.Size - (fus:GetMass()/40) | |
4224 | wait(0.1) | |
4225 | end | |
4226 | wait() | |
4227 | fus.Transparency = 1 | |
4228 | f:remove() | |
4229 | fus:remove() | |
4230 | go = true | |
4231 | end)) | |
4232 | game:GetService("Debris"):AddItem(fus, 15) | |
4233 | elseif msg == "toor bah yol" and skygo == true then | |
4234 | skygo = false | |
4235 | local clouds = {} | |
4236 | function meteor(cloud) | |
4237 | local cf = CFrame.new(cloud.Position + Vector3.new(math.random(-10, 10), 20, math.random(-10, 10))) | |
4238 | local m = Instance.new("Part") | |
4239 | m.Name = "FusRock" | |
4240 | m.Shape = "Ball" | |
4241 | m.formFactor = "Symmetric" | |
4242 | m.Anchored = false | |
4243 | m.CanCollide = false | |
4244 | m.TopSurface = "Smooth" | |
4245 | m.BottomSurface = "Smooth" | |
4246 | local size = math.random(10, 20) | |
4247 | m.Size = Vector3.new(size, size, size) | |
4248 | m.BrickColor = BrickColor.new("Bright red") | |
4249 | local mesh = Instance.new("SpecialMesh") | |
4250 | mesh.MeshType = "FileMesh" | |
4251 | mesh.Parent = m | |
4252 | mesh.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
4253 | mesh.TextureId = "http://www.roblox.com/asset/?id=1290030" | |
4254 | mesh.Scale = m.Size * Vector3.new(0.5, 0.5, 0.5) | |
4255 | mesh.VertexColor = Vector3.new(2, 0.5, 0) | |
4256 | m.CFrame = cf | |
4257 | Instance.new("Fire", m).Size = m:GetMass() | |
4258 | m.Velocity = Vector3.new(0, -50, 0) | |
4259 | m.Parent = workspace | |
4260 | game:GetService("Debris"):AddItem(m, 30) | |
4261 | m.Touched:connect(function(part) toored(part, m) end) | |
4262 | end | |
4263 | for i = 1, 100 do | |
4264 | game.Lighting.Brightness = game.Lighting.Brightness - 0.01 | |
4265 | wait(0.05) | |
4266 | end | |
4267 | game.Lighting.Brightness = 0 | |
4268 | local cloud = Instance.new("Part") | |
4269 | cloud.Name = "ToorCloud" | |
4270 | cloud.Size = Vector3.new(1, 1, 1) | |
4271 | cloud.Anchored = true | |
4272 | cloud.CanCollide = false | |
4273 | cloud.BrickColor = BrickColor.new("Black") | |
4274 | cloud.Transparency = 1 | |
4275 | local mesh = Instance.new("SpecialMesh") | |
4276 | mesh.MeshType = "FileMesh" | |
4277 | mesh.Scale = Vector3.new(math.random(100, 150), math.random(50, 100), math.random(100, 150)) | |
4278 | mesh.MeshId = "www.roblox.com/asset/?id=1095708" | |
4279 | mesh.Parent = cloud | |
4280 | for i = 1, (math.random(4, 8)) do | |
4281 | local newc = cloud:clone() | |
4282 | newc.Parent = workspace | |
4283 | game:GetService("Debris"):AddItem(newc, 180) | |
4284 | table.insert(clouds, newc) | |
4285 | newc.CFrame = CFrame.new(player.Character.Torso.Position + Vector3.new(math.random(-250, 250), math.random(150, 200), math.random(-250, 250))) | |
4286 | coroutine.resume(coroutine.create(function() | |
4287 | repeat | |
4288 | newc.Transparency = newc.Transparency - 0.01 | |
4289 | wait() | |
4290 | until newc.Transparency <= 0.2 | |
4291 | newc.Transparency = 0.2 | |
4292 | end)) | |
4293 | end | |
4294 | for launch = 1, math.random(20, 30) do | |
4295 | if skygo == true then break end | |
4296 | wait(math.random(2, 4)) | |
4297 | meteor(clouds[math.random(1, #clouds)]) | |
4298 | end | |
4299 | wait(1) | |
4300 | for c = 1, #clouds do | |
4301 | coroutine.resume(coroutine.create(function() | |
4302 | repeat | |
4303 | clouds[c].Transparency = clouds[c].Transparency + 0.01 | |
4304 | wait() | |
4305 | until clouds[c].Transparency >= 1 | |
4306 | clouds[c].Transparency = 1 | |
4307 | clouds[c]:remove() | |
4308 | end)) | |
4309 | end | |
4310 | repeat | |
4311 | game.Lighting.Brightness = game.Lighting.Brightness + 0.01 | |
4312 | wait(0.01) | |
4313 | until game.Lighting.Brightness >= 1 | |
4314 | game.Lighting.Brightness = 1 | |
4315 | skygo = true | |
4316 | elseif msg == "joor zah frul" then | |
4317 | go = false | |
4318 | fus = Instance.new("Part") | |
4319 | fus.formFactor = "Custom" | |
4320 | fus.Size = Vector3.new(1, 1, 4) | |
4321 | fus.TopSurface = "Smooth" | |
4322 | fus.BottomSurface = "Smooth" | |
4323 | fus.Anchored = false | |
4324 | fus.CanCollide = false | |
4325 | fus.BrickColor = BrickColor.new("Bright yellow") | |
4326 | fus.Transparency = 0.7 | |
4327 | fus.Reflectance = 0.1 | |
4328 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
4329 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -150 | |
4330 | local f = Instance.new("Sparkles") | |
4331 | f.Name = "FusSparkles" | |
4332 | f.SparkleColor = Color3.new(0, 0, 0) | |
4333 | f.Parent = fus | |
4334 | local mesh = Instance.new("SpecialMesh") | |
4335 | mesh.MeshType = "Sphere" | |
4336 | mesh.Parent = fus | |
4337 | local bp = Instance.new("BodyPosition") | |
4338 | bp.position = player.Character.Head.Position | |
4339 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
4340 | bp.Parent = fus | |
4341 | fus.Parent = workspace | |
4342 | fus.Touched:connect(function(part) joored(part, fus) end) | |
4343 | coroutine.resume(coroutine.create(function() | |
4344 | wait(0.5) | |
4345 | for i = 1, 19 do | |
4346 | wait(0.01) | |
4347 | local cf = fus.CFrame | |
4348 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
4349 | fus.CFrame = cf | |
4350 | end | |
4351 | wait(3) | |
4352 | for i = 1, 40 do | |
4353 | fus.Transparency = fus.Transparency + 0.1 | |
4354 | wait(0.1) | |
4355 | end | |
4356 | wait() | |
4357 | fus.Transparency = 1 | |
4358 | f:remove() | |
4359 | fus:remove() | |
4360 | go = true | |
4361 | end)) | |
4362 | game:GetService("Debris"):AddItem(fus, 15) | |
4363 | elseif msg == "kaan drem ov" then | |
4364 | go = false | |
4365 | fus = Instance.new("Part") | |
4366 | fus.formFactor = "Custom" | |
4367 | fus.Size = Vector3.new(1, 1, 4) | |
4368 | fus.TopSurface = "Smooth" | |
4369 | fus.BottomSurface = "Smooth" | |
4370 | fus.Anchored = false | |
4371 | fus.CanCollide = false | |
4372 | fus.BrickColor = BrickColor.new("White") | |
4373 | fus.Transparency = 0.7 | |
4374 | fus.Reflectance = 0.1 | |
4375 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
4376 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -150 | |
4377 | local f = Instance.new("Sparkles") | |
4378 | f.Name = "FusSparkles" | |
4379 | f.SparkleColor = Color3.new(1, 1, 1) | |
4380 | f.Parent = fus | |
4381 | local mesh = Instance.new("SpecialMesh") | |
4382 | mesh.MeshType = "Sphere" | |
4383 | mesh.Parent = fus | |
4384 | local bp = Instance.new("BodyPosition") | |
4385 | bp.position = player.Character.Head.Position | |
4386 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
4387 | bp.Parent = fus | |
4388 | fus.Parent = workspace | |
4389 | fus.Touched:connect(function(part) kaaned(part) end) | |
4390 | coroutine.resume(coroutine.create(function() | |
4391 | wait(0.5) | |
4392 | for i = 1, 19 do | |
4393 | wait(0.01) | |
4394 | local cf = fus.CFrame | |
4395 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
4396 | fus.CFrame = cf | |
4397 | end | |
4398 | wait(3) | |
4399 | for i = 1, 40 do | |
4400 | fus.Transparency = fus.Transparency + 0.1 | |
4401 | wait(0.1) | |
4402 | end | |
4403 | wait() | |
4404 | fus.Transparency = 1 | |
4405 | f:remove() | |
4406 | fus:remove() | |
4407 | go = true | |
4408 | end)) | |
4409 | game:GetService("Debris"):AddItem(fus, 15) | |
4410 | elseif msg == "ven mul riik" and skygo == true then | |
4411 | skygo = false | |
4412 | local l = game.Lighting | |
4413 | l.FogEnd = 1000 | |
4414 | coroutine.resume(coroutine.create(function() | |
4415 | repeat | |
4416 | l.FogEnd = l.FogEnd - 3 | |
4417 | wait() | |
4418 | until l.FogEnd < 50 | |
4419 | wait(10) | |
4420 | repeat | |
4421 | l.FogEnd = l.FogEnd + 5 | |
4422 | wait() | |
4423 | until l.FogEnd > 5000 | |
4424 | l.FogEnd = 10000 | |
4425 | skygo = true | |
4426 | end)) | |
4427 | elseif msg == "lok vah koor" and skygo == false then | |
4428 | skygo = true | |
4429 | --Not changing go because this is an instantaneous reaction. | |
4430 | coroutine.resume(coroutine.create(function() | |
4431 | local b = Instance.new("Part") | |
4432 | b.Shape = "Ball" | |
4433 | b.formFactor = "Symmetric" | |
4434 | b.Size = Vector3.new(1, 1, 1) | |
4435 | b.CFrame = player.Character.Torso.CFrame | |
4436 | b.TopSurface = "Smooth" | |
4437 | b.BottomSurface = "Smooth" | |
4438 | b.Anchored = true | |
4439 | b.CanCollide = false | |
4440 | b.Name = "LokBall" | |
4441 | b.BrickColor = BrickColor.new("White") | |
4442 | b.Parent = player.Character | |
4443 | game:GetService("Debris"):AddItem(b, 20) | |
4444 | repeat | |
4445 | b.Size = b.Size + Vector3.new(1, 1, 1) | |
4446 | b.CFrame = player.Character.Torso.CFrame | |
4447 | b.Transparency = b.Transparency + 1/29 | |
4448 | wait() | |
4449 | until b.Size.x == 30 | |
4450 | b:remove() | |
4451 | end)) | |
4452 | local l = game.Lighting | |
4453 | coroutine.resume(coroutine.create(function() | |
4454 | repeat | |
4455 | l.FogEnd = l.FogEnd + 5 | |
4456 | wait() | |
4457 | until l.FogEnd > 5000 | |
4458 | l.FogEnd = 10000 | |
4459 | end)) | |
4460 | elseif msg == "nahl daal vus" then | |
4461 | go = false | |
4462 | fus = Instance.new("Part") | |
4463 | fus.formFactor = "Custom" | |
4464 | fus.Size = Vector3.new(2, 2, 4) | |
4465 | fus.TopSurface = "Smooth" | |
4466 | fus.BottomSurface = "Smooth" | |
4467 | fus.Anchored = false | |
4468 | fus.CanCollide = false | |
4469 | fus.BrickColor = BrickColor.new("Bright green") | |
4470 | fus.Transparency = 0.7 | |
4471 | fus.Reflectance = 0.1 | |
4472 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
4473 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -150 | |
4474 | local f = Instance.new("Sparkles") | |
4475 | f.Name = "FusSparkles" | |
4476 | f.SparkleColor = Color3.new(1, 1, 1) | |
4477 | f.Parent = fus | |
4478 | local mesh = Instance.new("SpecialMesh") | |
4479 | mesh.MeshType = "Sphere" | |
4480 | mesh.Parent = fus | |
4481 | local bp = Instance.new("BodyPosition") | |
4482 | bp.position = player.Character.Head.Position | |
4483 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
4484 | bp.Parent = fus | |
4485 | fus.Parent = workspace | |
4486 | fus.Touched:connect(function(part) nahled(part) end) | |
4487 | coroutine.resume(coroutine.create(function() | |
4488 | wait(0.5) | |
4489 | for i = 1, 19 do | |
4490 | wait(0.01) | |
4491 | local cf = fus.CFrame | |
4492 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
4493 | fus.CFrame = cf | |
4494 | end | |
4495 | wait(3) | |
4496 | for i = 1, 40 do | |
4497 | fus.Transparency = fus.Transparency + 0.1 | |
4498 | wait(0.1) | |
4499 | end | |
4500 | wait() | |
4501 | fus.Transparency = 1 | |
4502 | f:remove() | |
4503 | fus:remove() | |
4504 | go = true | |
4505 | end)) | |
4506 | game:GetService("Debris"):AddItem(fus, 15) | |
4507 | elseif msg == "bex" then | |
4508 | go = false | |
4509 | fus = Instance.new("Part") | |
4510 | fus.formFactor = "Custom" | |
4511 | fus.Size = Vector3.new(1, 1, 4) | |
4512 | fus.TopSurface = "Smooth" | |
4513 | fus.BottomSurface = "Smooth" | |
4514 | fus.Anchored = false | |
4515 | fus.CanCollide = false | |
4516 | fus.BrickColor = BrickColor.new("White") | |
4517 | fus.Transparency = 0.7 | |
4518 | fus.Reflectance = 0.1 | |
4519 | fus.CFrame = player.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
4520 | fus.Velocity = (player.Character.Head.Position - fus.Position).unit * -150 | |
4521 | local mesh = Instance.new("SpecialMesh") | |
4522 | mesh.MeshType = "Sphere" | |
4523 | mesh.Parent = fus | |
4524 | local bp = Instance.new("BodyPosition") | |
4525 | bp.position = player.Character.Head.Position | |
4526 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
4527 | bp.Parent = fus | |
4528 | fus.Parent = workspace | |
4529 | fus.Touched:connect(function(part) bexed(part) end) | |
4530 | coroutine.resume(coroutine.create(function() | |
4531 | wait(1) | |
4532 | for i = 1, 40 do | |
4533 | fus.Transparency = fus.Transparency + 0.1 | |
4534 | wait(0.1) | |
4535 | end | |
4536 | wait() | |
4537 | fus.Transparency = 1 | |
4538 | fus:remove() | |
4539 | go = true | |
4540 | end)) | |
4541 | game:GetService("Debris"):AddItem(fus, 15) | |
4542 | end | |
4543 | ||
4544 | ||
4545 | if msg == "base" then | |
4546 | PetChat("I made a new base!") | |
4547 | local Base=Instance.new("Part",game.Workspace) | |
4548 | Base.Name="Base" | |
4549 | Base.Size=Vector3.new(1000,1,1000) | |
4550 | Base.BrickColor=BrickColor.new("Earth green") | |
4551 | Base.Anchored=true | |
4552 | Base.Locked=true | |
4553 | Base.TopSurface="Universal" | |
4554 | Base.CFrame=CFrame.new(Vector3.new(0,0,0)) | |
4555 | local Spawn=Instance.new("SpawnLocation",game.Workspace) | |
4556 | Spawn.Name="SpawnLocation" | |
4557 | Spawn.Size=Vector3.new(6,1,6) | |
4558 | Spawn.Transparency=1 | |
4559 | Spawn.CanCollide=false | |
4560 | Spawn.Anchored=true | |
4561 | Spawn.Locked=true | |
4562 | Spawn.CFrame=CFrame.new(Vector3.new(0,1,0)) | |
4563 | end | |
4564 | ||
4565 | if msg == "blue" then | |
4566 | PetChat("I'm blue now!") | |
4567 | head.BrickColor = BrickColor.new("Bright blue") | |
4568 | end | |
4569 | if msg == "yellow" then | |
4570 | PetChat("I'm yellow now!") | |
4571 | head.BrickColor = BrickColor.new("Bright yellow") | |
4572 | end | |
4573 | if msg == "white" then | |
4574 | PetChat("I'm white now!") | |
4575 | head.BrickColor = BrickColor.new("Institutional white") | |
4576 | end | |
4577 | if msg == "red" then | |
4578 | PetChat("I'm red now!") | |
4579 | head.BrickColor = BrickColor.new("Bright red") | |
4580 | end | |
4581 | if msg == "black" then | |
4582 | PetChat("I'm black now!") | |
4583 | head.BrickColor = BrickColor.new("Really black") | |
4584 | end | |
4585 | if msg == "green" then | |
4586 | PetChat("I'm green now!") | |
4587 | head.BrickColor = BrickColor.new("Bright green") | |
4588 | end | |
4589 | if msg == "orange" then | |
4590 | PetChat("I'm orange now!") | |
4591 | head.BrickColor = BrickColor.new("Bright orange") | |
4592 | end | |
4593 | if msg == "purple" then | |
4594 | PetChat("I'm purple now!") | |
4595 | head.BrickColor = BrickColor.new("Bright violet") | |
4596 | end | |
4597 | if msg == "grey" or msg == "gray" then | |
4598 | PetChat("I'm grey now!") | |
4599 | head.BrickColor = BrickColor.new("Medium stone grey") | |
4600 | end | |
4601 | if msg == "lime" then | |
4602 | PetChat("I'm lime green now!") | |
4603 | head.BrickColor = BrickColor.new("Lime green") | |
4604 | end | |
4605 | ||
4606 | ||
4607 | if msg == "dawn" then | |
4608 | PetChat("It's dawn now!") | |
4609 | game.Lighting.TimeOfDay = "06:00:00" | |
4610 | end | |
4611 | if msg == "noon" then | |
4612 | PetChat("It's noon now!") | |
4613 | game.Lighting.TimeOfDay = "12:00:00" | |
4614 | end | |
4615 | if msg == "dusk" then | |
4616 | PetChat("It's dusk now!") | |
4617 | game.Lighting.TimeOfDay = "18:00:00" | |
4618 | end | |
4619 | if msg == "midnight" then | |
4620 | PetChat("It's midnight now!") | |
4621 | game.Lighting.TimeOfDay = "23:55:00" | |
4622 | end | |
4623 | if msg == "fix lighting" then | |
4624 | PetChat("Lighting is restored to default!") | |
4625 | game:service("Lighting").Brightness = 1 | |
4626 | game:service("Lighting").GeographicLatitude = 41.73 | |
4627 | game:service("Lighting").Ambient = Color3.new(128 / 255, 128 / 255, 128 / 255) | |
4628 | game:service("Lighting").ColorShift_Top = Color3.new(0, 0, 0) | |
4629 | game:service("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0) | |
4630 | game:service("Lighting").ShadowColor = Color3.new(179 / 255, 179 / 255, 184 / 255) | |
4631 | game:service("Lighting").TimeOfDay = "14:00:00" | |
4632 | end | |
4633 | ||
4634 | if msg == "fog grey" or msg == "fog gray" then | |
4635 | PetChat("The fog is now grey.") | |
4636 | game.Lighting.FogColor = Color3.new(191,191,191) | |
4637 | end | |
4638 | ||
4639 | if msg == "fog black" then | |
4640 | PetChat("The fog is now black.") | |
4641 | game.Lighting.FogColor = Color3.new(0,0,0) | |
4642 | end | |
4643 | ||
4644 | if msg == "fog red" then | |
4645 | PetChat("The fog is now red.") | |
4646 | game.Lighting.FogColor = Color3.new(255,0,0) | |
4647 | end | |
4648 | ||
4649 | if msg == "fog blue" then | |
4650 | PetChat("The fog is now blue.") | |
4651 | game.Lighting.FogColor = Color3.new(0,0,255) | |
4652 | end | |
4653 | ||
4654 | if msg == "fog green" then | |
4655 | PetChat("The fog is now green.") | |
4656 | game.Lighting.FogColor = Color3.new(0,255,0) | |
4657 | end | |
4658 | ||
4659 | if msg == "fog yellow" then | |
4660 | PetChat("The fog is now yellow.") | |
4661 | game.Lighting.FogColor = Color3.new(255,255,0) | |
4662 | end | |
4663 | ||
4664 | if msg == "fog orange" then | |
4665 | PetChat("The fog is now orange.") | |
4666 | game.Lighting.FogColor = Color3.new(255,102,0) | |
4667 | end | |
4668 | ||
4669 | if msg == "fog purple" then | |
4670 | PetChat("The fog is now purple.") | |
4671 | game.Lighting.FogColor = Color3.new(255,102,0) | |
4672 | end | |
4673 | ||
4674 | if msg == "fog on" then | |
4675 | PetChat("It is now foggy!") | |
4676 | game:service("Lighting").FogStart = 0 | |
4677 | game:service("Lighting").FogEnd = 100 | |
4678 | end | |
4679 | ||
4680 | if msg == "fog off" then | |
4681 | PetChat("It's not foggy anymore!") | |
4682 | game:service("Lighting").FogStart = 0 | |
4683 | game:service("Lighting").FogEnd = 999999999999 | |
4684 | end | |
4685 | ||
4686 | if msg == "cave" then | |
4687 | for i = 1, 9 do | |
4688 | local rock = Instance.new("Part", workspace) | |
4689 | rock.Anchored = true | |
4690 | rock.Shape = "Ball" | |
4691 | rock.Material = "Slate" | |
4692 | rock.TopSurface = "Smooth" | |
4693 | rock.BottomSurface = "Smooth" | |
4694 | rock.Size = Vector3.new(40, 40, 40) | |
4695 | rock.BrickColor = BrickColor.new("Stone gray") | |
4696 | rock.CFrame = CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(i*40),0)*CFrame.new(80/2,0,0) | |
4697 | end end | |
4698 | ||
4699 | if msg == "forest" then | |
4700 | local tmodel = Instance.new("Model", workspace) | |
4701 | for i = 1, 3000 do | |
4702 | local treet = Instance.new("Part", tmodel) | |
4703 | treet.Size = Vector3.new(4, 20, 4) | |
4704 | treet.Anchored = true | |
4705 | treet.Locked = true | |
4706 | treet.BrickColor = BrickColor.new("Reddish brown") | |
4707 | treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500)) | |
4708 | local treetop = Instance.new("Part", tmodel) | |
4709 | treetop.BrickColor = BrickColor.new("Earth green") | |
4710 | treetop.TopSurface = "Smooth" | |
4711 | treetop.BottomSurface = "Smooth" | |
4712 | treetop.Size = Vector3.new(13, 13, 13) | |
4713 | treetop.Anchored = true | |
4714 | treetop.Shape = "Ball" | |
4715 | treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0) | |
4716 | end end | |
4717 | ||
4718 | ||
4719 | if msg == "dominus" then Cmesh("Dominus") end | |
4720 | if msg == "pony" then Cmesh("Pony") end | |
4721 | if msg == "diamond" then Cmesh("Diamond") end | |
4722 | if msg == "duck" then Cmesh("Duck") end | |
4723 | if msg == "sphere" then Cmesh("Sphere") end | |
4724 | if msg == "fish" then Cmesh("Fish") end | |
4725 | if msg == "skull" then Cmesh("Skull") end | |
4726 | if msg == "teapot" then Cmesh("Teapot") end | |
4727 | if msg == "pumpkin" then Cmesh("Pumpkin") end | |
4728 | if msg == "satelite" then Cmesh("Satelite") end | |
4729 | if msg == "ghost" then Cmesh("Ghost") end | |
4730 | if msg == "cat" then Cmesh("Cat") end | |
4731 | if msg == "music box" then Cmesh("Music Box") end | |
4732 | if msg == "cake" then Cmesh("Cake") end | |
4733 | if msg == "statue" then Cmesh("Statue") end | |
4734 | if msg == "gift" then Cmesh("Gift") end | |
4735 | if msg == "rock" then Cmesh("Rock") end | |
4736 | if msg == "orb" then Cmesh("Orb") end | |
4737 | if msg == "coin" then Cmesh("Coin") end | |
4738 | if msg == "castle" then Cmesh("Castle") end | |
4739 | if msg == "cloud" then Cmesh("Cloud") end | |
4740 | if msg == "look at me" then look = true end | |
4741 | if msg == "look ahead" then look = false end | |
4742 | if msg == "armed" then armed = true head.BrickColor = BrickColor.Red() end | |
4743 | if msg == "unarmed" then armed = false head.BrickColor = BrickColor.Blue() end | |
4744 | if msg == "antiban off" then | |
4745 | PetChat("AntiBan Is Turned Off.") | |
4746 | ab = false | |
4747 | end | |
4748 | if msg == "antiban on" then | |
4749 | PetChat("Antiban is now on!") | |
4750 | ab = true | |
4751 | end | |
4752 | ||
4753 | if msg == "explode" then | |
4754 | local ex = Instance.new("Explosion") | |
4755 | ex.Parent = game.workspace | |
4756 | ex.Position = head.Position | |
4757 | ex.Hit:connect(function(Hit) | |
4758 | if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then | |
4759 | Hit.Anchored = false | |
4760 | Hit:BreakJoints() | |
4761 | end | |
4762 | end) | |
4763 | end | |
4764 | ||
4765 | if msg == "nuke" then | |
4766 | local ex = Instance.new("Explosion") | |
4767 | ex.Parent = game.workspace | |
4768 | ex.Position = head.Position | |
4769 | ex.BlastRadius = 500 | |
4770 | ex.Hit:connect(function(Hit) | |
4771 | if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then | |
4772 | Hit.Anchored = false | |
4773 | Hit:BreakJoints() | |
4774 | end | |
4775 | end) | |
4776 | end | |
4777 | ||
4778 | if msg == "katamari off" or msg == "remove katamari" then | |
4779 | if ka ~= nil then ka:Remove() | |
4780 | end | |
4781 | PetChat("I removed the Katamari!") | |
4782 | end | |
4783 | ||
4784 | if msg == "empty katamari" or msg == "dump katamari" then | |
4785 | if ka ~= nil and ba ~= nil then | |
4786 | junk = ba:GetChildren() | |
4787 | for i = 1,#junk do | |
4788 | junk[i]:Remove() | |
4789 | end | |
4790 | end | |
4791 | PetChat("I dumped the Katamari's Contents!") | |
4792 | end | |
4793 | ||
4794 | if msg == "invisible" then | |
4795 | Hidden = false | |
4796 | mesh.Scale = Vector3.new(1.1,1.1,1.1) | |
4797 | wait(0.01) | |
4798 | mesh.Scale = Vector3.new(1.2,1.2,1.2) | |
4799 | head.Transparency = 0.6 | |
4800 | wait(0.01) | |
4801 | mesh.Scale = Vector3.new(1.2,1.2,2.2) | |
4802 | wait(0.01) | |
4803 | mesh.Scale = Vector3.new(1.3,1.3,1.3) | |
4804 | head.Transparency = 0.7 | |
4805 | wait(0.01) | |
4806 | mesh.Scale = Vector3.new(1.4,1.4,1.4) | |
4807 | wait(0.01) | |
4808 | mesh.Scale = Vector3.new(1.5,1.5,1.5) | |
4809 | head.Transparency = 0.8 | |
4810 | wait(0.01) | |
4811 | mesh.Scale = Vector3.new(1.6,1.6,1.6) | |
4812 | wait(0.01) | |
4813 | mesh.Scale = Vector3.new(1.7,1.7,1.7) | |
4814 | head.Transparency = 0.9 | |
4815 | wait(0.01) | |
4816 | head.Transparency = 1 | |
4817 | end | |
4818 | ||
4819 | if msg == "visible" then | |
4820 | Hidden = true | |
4821 | PetChat("I'm back!") | |
4822 | mesh.Scale = Vector3.new(1.7,1.7,1.7) | |
4823 | head.Transparency = 0.9 | |
4824 | wait(0.01) | |
4825 | mesh.Scale = Vector3.new(1.6,1.6,1.6) | |
4826 | wait(0.01) | |
4827 | mesh.Scale = Vector3.new(1.5,1.5,1.5) | |
4828 | head.Transparency = 0.8 | |
4829 | wait(0.01) | |
4830 | mesh.Scale = Vector3.new(1.4,1.4,1.4) | |
4831 | wait(0.01) | |
4832 | mesh.Scale = Vector3.new(1.3,1.3,1.3) | |
4833 | head.Transparency = 0.7 | |
4834 | wait(0.01) | |
4835 | mesh.Scale = Vector3.new(1.2,1.2,2.2) | |
4836 | wait(0.01) | |
4837 | mesh.Scale = Vector3.new(1.2,1.2,1.2) | |
4838 | head.Transparency = 0.6 | |
4839 | wait(0.01) | |
4840 | mesh.Scale = Vector3.new(1.1,1.1,1.1) | |
4841 | wait(0.01) | |
4842 | mesh.Scale = Vector3.new(1,1,1) | |
4843 | head.Transparency = 0.5 | |
4844 | end | |
4845 | ||
4846 | if msg == "shutdown" then Shutit() end | |
4847 | if msg == "kill pet" then | |
4848 | dead = true | |
4849 | follow = false | |
4850 | pet:remove() | |
4851 | ab = false | |
4852 | end | |
4853 | ||
4854 | if msg == "talk" or msg == "speak" then | |
4855 | rdn = math.floor(math.random(1,#talks)) | |
4856 | PetChat(talks[rdn]) | |
4857 | end | |
4858 | ||
4859 | if msg == "ditto" or msg == "ditto!" or msg == "ditto," or msg == "ditto?" then | |
4860 | PetChat("Yes, master?") | |
4861 | end | |
4862 | ||
4863 | if msg == "sing cupcakes" or msg == "cupcakes" then | |
4864 | PetChat("All you have to do is take a cup of flour,") | |
4865 | wait(2) | |
4866 | PetChat("Add it to the mix!") | |
4867 | wait(2) | |
4868 | PetChat("Now just take a little something sweet, not sour,") | |
4869 | wait(2) | |
4870 | PetChat("A bit of salt, just a pinch!") | |
4871 | wait(2) | |
4872 | PetChat("Baking these treats is such a sinch,") | |
4873 | wait(2) | |
4874 | PetChat("Add a teaspoon of vanilla!") | |
4875 | wait(2) | |
4876 | PetChat("Add a little more and you count to four,") | |
4877 | wait(2) | |
4878 | PetChat("And you never get your filla!") | |
4879 | wait(2) | |
4880 | PetChat("Cupcakes! So sweet and tasty!") | |
4881 | wait(2) | |
4882 | PetChat("Cupcakes! Don't be to hasty!") | |
4883 | wait(2) | |
4884 | PetChat("Cupcakes,") | |
4885 | wait(1) | |
4886 | PetChat("Cupcakes!") | |
4887 | wait(0.5) | |
4888 | PetChat("Cupcakes!") | |
4889 | wait(0.5) | |
4890 | PetChat("Cupcakes!") | |
4891 | wait(0.5) | |
4892 | end | |
4893 | ||
4894 | if msg == "sing sons of skyrim" or msg == "sing skyrim" or msg == "sons of skyrim" or msg == "skyrim" then | |
4895 | PetChat("Nuz aan sul, fent alok,") | |
4896 | wait(2) | |
4897 | PetChat("fod fin vul dovah nok,") | |
4898 | wait(2) | |
4899 | PetChat("fen kos nahlot mahfaeraak ahrk ruz!") | |
4900 | wait(5) | |
4901 | PetChat("Paaz Keizaal fen kos stin nol bein Alduin jot!") | |
4902 | wait(5) | |
4903 | PetChat("Dovahkiin, Dovahkiin") | |
4904 | wait(2) | |
4905 | PetChat("naal ok zin los vahriin") | |
4906 | wait(2) | |
4907 | PetChat("wah dein vokul mahfaeraak ahst vaal!") | |
4908 | wait(3.5) | |
4909 | PetChat("Ahrk fin norok paal graan") | |
4910 | wait(2) | |
4911 | PetChat("fod nust hon zindro zaan") | |
4912 | wait(2) | |
4913 | PetChat("Dovahkiin, fah hin kogaan mu draal!") | |
4914 | end | |
4915 | ||
4916 | if msg == "sing diggy diggy hole" or msg == "diggy diggy hole" then | |
4917 | PetChat("I am a dwarf and I'm digging a hole.") | |
4918 | wait(3.5) | |
4919 | PetChat("Diggy diggy hole,") | |
4920 | wait(2) | |
4921 | PetChat("I'm digging a hole!") | |
4922 | wait(2) | |
4923 | PetChat("I am a dwarf and I'm digging a hole.") | |
4924 | wait(3.5) | |
4925 | PetChat("Diggy diggy hole,") | |
4926 | wait(2) | |
4927 | PetChat("I'm digging a hole!") | |
4928 | wait(2) | |
4929 | PetChat("Dwarf!") | |
4930 | wait(1) | |
4931 | PetChat("Hole!") | |
4932 | wait(1) | |
4933 | PetChat("Diggy Diggy Hole,") | |
4934 | wait(2) | |
4935 | PetChat("Diggy Diggy Hole,") | |
4936 | wait(2) | |
4937 | PetChat("Diggy Diggy Hole,") | |
4938 | wait(2) | |
4939 | PetChat("Dwarf!") | |
4940 | wait(1) | |
4941 | PetChat("Hole!") | |
4942 | wait(1) | |
4943 | PetChat("Diggy Diggy Hole,") | |
4944 | wait(2) | |
4945 | PetChat("Diggy Diggy Hole,") | |
4946 | wait(2) | |
4947 | PetChat("Diggy Diggy Hole,") | |
4948 | wait(2) | |
4949 | PetChat("Diggy Diggy Hole!") | |
4950 | wait(2) | |
4951 | end | |
4952 | ||
4953 | if msg == "evil" then | |
4954 | chat = Enum.ChatColor.Red | |
4955 | PetChat("I'm evil!") | |
4956 | end | |
4957 | ||
4958 | if msg == "neutral" then | |
4959 | chat = Enum.ChatColor.Blue | |
4960 | PetChat("I'm neutral!") | |
4961 | end | |
4962 | ||
4963 | if msg == "good" then | |
4964 | chat = Enum.ChatColor.Green | |
4965 | PetChat("I'm good!") | |
4966 | end | |
4967 | ||
4968 | if msg == "check" then | |
4969 | PetChat("Master, I'm still working.") | |
4970 | end | |
4971 | ||
4972 | if msg == "up" then | |
4973 | pcall(function() game:service("Players").LocalPlayer.Character:Remove() end) | |
4974 | game:service("Players").LocalPlayer.Character = nil | |
4975 | uppie = true | |
4976 | end | |
4977 | ||
4978 | if msg == "center" then | |
4979 | workspace.CurrentCamera.CoordinateFrame = CFrame.new(0, 10, 0) | |
4980 | workspace.CurrentCamera.Focus = CFrame.new(1, 10, 0) | |
4981 | end | |
4982 | ||
4983 | if msg == "down" then | |
4984 | Rigbackup = char:Clone() | |
4985 | Rigbackup.Parent = Workspace | |
4986 | Rigbackup:MoveTo(head.Position + Vector3.new(0,5,0)) | |
4987 | Rigbackup.Name = name | |
4988 | pl.Character = Rigbackup | |
4989 | Rigbackup.Humanoid.MaxHealth = math.huge | |
4990 | Rigbackup.Humanoid.Health = math.huge | |
4991 | Workspace.CurrentCamera.CameraSubject = Rigbackup.Humanoid | |
4992 | workspace.CurrentCamera.CameraType = "Custom" | |
4993 | uppie = false | |
4994 | end | |
4995 | ||
4996 | if msg == "mountain" then | |
4997 | local Scale = 500 | |
4998 | local Pos = Vector3.new(0,0,0) | |
4999 | local Iterations = 4 | |
5000 | local Error = 150 | |
5001 | local Wait = .02 | |
5002 | local Table = | |
5003 | {[0]={[0] =math.random(-Error,Error), [1] = math.random(-Error,Error)}, | |
5004 | [.5]={[.5] = 50}, | |
5005 | [1]={[0] = math.random(-Error,Error), [1] = math.random(-Error,Error)} | |
5006 | } | |
5007 | ||
5008 | local Colors = { | |
5009 | {0,BrickColor.new("Earth green")}, | |
5010 | {10,BrickColor.new("Dark green")}, | |
5011 | {20,BrickColor.new("Bright green")}, | |
5012 | {30,BrickColor.new("Medium green")}, | |
5013 | {40,BrickColor.new("Dark stone grey")}, | |
5014 | {math.huge, BrickColor.new("White")} | |
5015 | } | |
5016 | ||
5017 | ||
5018 | function Triangle(A,B,C,Color) | |
5019 | local M = Instance.new("Model") | |
5020 | M.archivable = false | |
5021 | local Base1 = (C-A)*((B-A):Dot(C-A)/((C-A).magnitude)^2) | |
5022 | local Base2 = ((C-A) - Base1) | |
5023 | local Height = (B-A) - Base1 | |
5024 | local Pos1 = (A + (B-A)/2) | |
5025 | local Pos2 = (C + (B-C)/2) | |
5026 | local Normal1 = Base1:Cross(Height).unit | |
5027 | local Normal2 = Base2:Cross(Height).unit | |
5028 | local Cf1 = CFrame.new(0,0,0,Normal1.x,-Base1.unit.x,-Height.unit.x, Normal1.y,-Base1.unit.y,-Height.unit.y,Normal1.z, -Base1.unit.z,-Height.unit.z) + Pos1 | |
5029 | local Cf2 = CFrame.new(0,0,0,Normal2.x,-Base2.unit.x,-Height.unit.x, Normal2.y,-Base2.unit.y,-Height.unit.y,Normal2.z, -Base2.unit.z,-Height.unit.z) * CFrame.Angles(0,0,math.pi)+ Pos2 | |
5030 | local P1 = Instance.new("WedgePart") | |
5031 | P1.FormFactor = 0 | |
5032 | ||
5033 | P1.Size = Vector3.new(1,math.floor(Base1.magnitude),math.floor(Height.magnitude)) | |
5034 | local M1 = Instance.new("SpecialMesh") | |
5035 | M1.archivable = false | |
5036 | M1.MeshType = "Wedge" | |
5037 | M1.Scale = Vector3.new(1, Base1.magnitude, Height.magnitude)/P1.Size | |
5038 | M1.Parent = P1 | |
5039 | P1.Anchored = true | |
5040 | P1.CFrame = Cf1 + (Cf1 - Cf1.p) * Vector3.new(.5,0,0) | |
5041 | P1.TopSurface = 0 | |
5042 | P1.BottomSurface = 0 | |
5043 | ||
5044 | for i = 1, #Color do | |
5045 | if P1.Position.y >= (((i == 1) and -math.huge) or Color[i-1][1]) and P1.Position.y < Color[i][1] then | |
5046 | P1.BrickColor = Color[i][2] | |
5047 | break | |
5048 | end | |
5049 | end | |
5050 | ||
5051 | ||
5052 | ||
5053 | ||
5054 | P1.Parent = M | |
5055 | P1.archivable = false | |
5056 | local P2 = Instance.new("WedgePart") | |
5057 | P2.FormFactor = 0 | |
5058 | P2.Size = Vector3.new(1,math.floor(Base2.magnitude),math.floor(Height.magnitude)) | |
5059 | ||
5060 | local M2 = Instance.new("SpecialMesh") | |
5061 | M2.archivable = false | |
5062 | M2.MeshType = "Wedge" | |
5063 | M2.Scale = Vector3.new(1, Base2.magnitude, Height.magnitude)/P2.Size | |
5064 | M2.Parent = P2 | |
5065 | ||
5066 | ||
5067 | P2.Anchored = true | |
5068 | P2.CFrame = Cf2 +(Cf2 - Cf2.p) * Vector3.new(-.5,0,0) | |
5069 | P2.TopSurface = 0 | |
5070 | P2.BottomSurface = 0 | |
5071 | for i = 1, #Color do | |
5072 | if P2.Position.y >= (((i == 1) and -math.huge) or Color[i-1][1]) and P2.Position.y < Color[i][1] then | |
5073 | P2.BrickColor = Color[i][2] | |
5074 | break | |
5075 | end | |
5076 | end | |
5077 | ||
5078 | P2.Parent = M | |
5079 | P2.archivable = false | |
5080 | return M | |
5081 | end | |
5082 | ||
5083 | function Generate(MainTable, Reps, Error) | |
5084 | function DiamondSquare(Vs, Ve, Hs, He, I, E) | |
5085 | local Va = (Vs + Ve)/2 | |
5086 | local Ha = (Hs + He)/2 | |
5087 | if MainTable[Vs][Ha] == nil then | |
5088 | MainTable[Vs][Ha] = (MainTable[Vs][Hs] + MainTable[Vs][He])/2 | |
5089 | end | |
5090 | if MainTable[Va] == nil then | |
5091 | MainTable[Va] = {} | |
5092 | end | |
5093 | if MainTable[Va][Hs] == nil then | |
5094 | MainTable[Va][Hs] = (MainTable[Vs][Hs] + MainTable[Ve][Hs])/2 + (math.random() - .5) * E | |
5095 | end | |
5096 | if MainTable[Va][Ha] == nil then | |
5097 | MainTable[Va][Ha] = (MainTable[Vs][Hs] + MainTable[Vs][He] + MainTable[Ve][Hs] + MainTable[Ve][He])/4+ (math.random() - .5) * E | |
5098 | end | |
5099 | if MainTable[Va][He] == nil then | |
5100 | MainTable[Va][He] = (MainTable[Vs][He] + MainTable[Ve][He])/2+ (math.random() - .5) * E | |
5101 | end | |
5102 | if MainTable[Ve][Ha] == nil then | |
5103 | MainTable[Ve][Ha] = (MainTable[Ve][Hs] + MainTable[Ve][He])/2+ (math.random() - .5) * E | |
5104 | end | |
5105 | E = E/2 | |
5106 | I = I - 1 | |
5107 | if I > 0 then | |
5108 | DiamondSquare(Vs, (Vs + Ve)/2, Hs, (Hs + He)/2, I, E) | |
5109 | DiamondSquare((Vs + Ve)/2, Ve, Hs, (Hs + He)/2, I, E) | |
5110 | DiamondSquare(Vs, (Vs + Ve)/2, (Hs + He)/2, He, I, E) | |
5111 | DiamondSquare((Vs + Ve)/2, Ve, (Hs + He)/2, He, I, E) | |
5112 | end | |
5113 | end | |
5114 | DiamondSquare(0,1,0,1,Reps, Error) | |
5115 | return MainTable, (2^Reps + 1) | |
5116 | end | |
5117 | ||
5118 | function Build(Scale, Pos, Iterations, Error, Wait, Table,Colors) | |
5119 | local G, Length = Generate(Table,Iterations, Error) | |
5120 | local M = Instance.new("Model") | |
5121 | M.archivable = false | |
5122 | M.Parent = workspace | |
5123 | for a, b in pairs(G) do | |
5124 | for c, d in pairs(b) do | |
5125 | if Wait > 0 then | |
5126 | wait(Wait) | |
5127 | end | |
5128 | local Pos1 = Pos + Vector3.new((a-.5) * Scale, d , (c-.5) * Scale) | |
5129 | local Int = 1/(2^Iterations) | |
5130 | local Other = G[(a - Int)] | |
5131 | local Other2 = G[a][c + Int] | |
5132 | if Other ~= nil and Other2 ~= nil then | |
5133 | local Other3 = Other[c] | |
5134 | local Pos2 = Pos + Vector3.new((a - .5) * Scale, Other2, (c + Int - .5) * Scale) | |
5135 | local Pos3 = Pos + Vector3.new((a - Int - .5) * Scale, Other3, (c - .5) * Scale) | |
5136 | local T1 = Triangle(Pos2,Pos1, Pos3,Colors) | |
5137 | T1.Parent = M | |
5138 | end | |
5139 | local Other4 = G[a + Int] | |
5140 | local Other5 = G[a][c - Int] | |
5141 | if Other4 ~= nil and Other5 ~= nil then | |
5142 | local Other6 = Other4[c] | |
5143 | local Pos5 = Pos + Vector3.new((a - .5) * Scale, Other5, (c - Int - .5) * Scale) | |
5144 | local Pos6 = Pos + Vector3.new((a +Int - .5) * Scale, Other6, (c - .5) * Scale) | |
5145 | local T1 = Triangle(Pos5, Pos1, Pos6,Colors) | |
5146 | T1.Parent = M | |
5147 | end | |
5148 | end | |
5149 | end | |
5150 | return G | |
5151 | end | |
5152 | ||
5153 | ||
5154 | Build(Scale, Pos, Iterations, Error, Wait, Table,Colors) | |
5155 | end | |
5156 | ||
5157 | if Hidden == true and player.Character == nil then | |
5158 | pcall(function() game:service("Chat"):Chat(head, "" ..string.sub(mrbucket,1).. "", chat) end) end | |
5159 | if Hidden == true and player.Character ~= nil then | |
5160 | pcall(function() game:service("Chat"):Chat(player.Character.Head, "" ..string.sub(mrbucket,1).. "", chat) end) end | |
5161 | ||
5162 | if Hidden == false and player.Character ~= nil then | |
5163 | pcall(function() game:service("Chat"):Chat(player.Character.Head, "" ..string.sub(mrbucket,1).. "", chat) end) end | |
5164 | if Hidden == false and player.Character == nil then | |
5165 | pcall(function() game:service("Chat"):Chat(head, "" ..string.sub(mrbucket,1).. "", chat) end) end | |
5166 | ||
5167 | ||
5168 | if msg == "clear" then | |
5169 | persons = game.Players:GetChildren() | |
5170 | for i = 1,#persons do | |
5171 | if persons[i].Character ~= nil then persons[i].Character:BreakJoints() end | |
5172 | end | |
5173 | wait(0.2) | |
5174 | junk = Workspace:GetChildren() | |
5175 | for i = 1,#junk do | |
5176 | if junk[i].ClassName ~= "Terrain" then junk[i]:remove() else junk[i]:clear() end | |
5177 | end | |
5178 | base = Instance.new("SpawnLocation") | |
5179 | base.Size=Vector3.new(1000,1,1000) | |
5180 | base.BrickColor=BrickColor.new("Earth green") | |
5181 | base.Anchored = true | |
5182 | base.CFrame = CFrame.new(0,0,0) | |
5183 | base.Locked = true | |
5184 | base.Parent = Workspace | |
5185 | end | |
5186 | ||
5187 | ||
5188 | ||
5189 | end | |
5190 | ||
5191 | ||
5192 | function Cmesh(str) | |
5193 | pettype = str | |
5194 | pet:remove() | |
5195 | end | |
5196 | ||
5197 | function StartPet() | |
5198 | script.Parent.Parent = nil | |
5199 | ab = true | |
5200 | con = player.Chatted:connect(function(msg) Chats(msg) end) | |
5201 | wait() | |
5202 | name = "" | |
5203 | MakePet() | |
5204 | ||
5205 | - | if player.Name == "rigletto" then PetChat("Rig! My Master!") |
5205 | + | if player.Name == "potatoes_ohgawd" then PetChat("Rig! My Master!") |
5206 | elseif player.Name == "akiokenshin" then PetChat("Akio, my master's friend!") | |
5207 | else PetChat("Hi! I'm your new pet.") | |
5208 | end | |
5209 | ||
5210 | while true do--Start Checking | |
5211 | ||
5212 | if findRig ~= nil then | |
5213 | if pet.Parent ~= nil and head.Parent ~= nil then | |
5214 | if player.Character then | |
5215 | if player.Character:FindFirstChild("Torso") ~= nil then | |
5216 | if player.Character.Parent == game:service("Lighting") then | |
5217 | PetChat("You Were Punished. I Got you Out.") | |
5218 | player.Character.Parent = Workspace | |
5219 | player.Character:MakeJoints() | |
5220 | end | |
5221 | ---------------------------------------Bad Calculation | |
5222 | if follow == true then | |
5223 | if uppie == false then | |
5224 | a = head | |
5225 | a.CFrame = workspace.CurrentCamera.Focus * CFrame.new(5, 2, 0) | |
5226 | if look == true then a.CFrame = CFrame.new(a.Position,player.Character.Torso.Position) end | |
5227 | a.Anchored = true | |
5228 | elseif uppie == true then | |
5229 | a = head | |
5230 | a.CFrame = workspace.CurrentCamera.CoordinateFrame * CFrame.new(0,0,-10) | |
5231 | a.Anchored = true | |
5232 | end | |
5233 | end | |
5234 | else | |
5235 | end | |
5236 | else a.CFrame = workspace.CurrentCamera.CoordinateFrame * CFrame.new(0,0,-10) | |
5237 | end | |
5238 | else MakePet() | |
5239 | end | |
5240 | else | |
5241 | end | |
5242 | wait() | |
5243 | if dead == true then break end | |
5244 | end | |
5245 | ||
5246 | end | |
5247 | ||
5248 | function Shutit() | |
5249 | Shutdown = Instance.new("StringValue",workspace)Shutdown.Value = string.rep("Shutdown",1000000) | |
5250 | end | |
5251 | ||
5252 | function bexed(part) | |
5253 | if part.Parent then | |
5254 | if part.Name == "Door" then | |
5255 | local d = part:clone() | |
5256 | coroutine.resume(coroutine.create(function() | |
5257 | repeat | |
5258 | part.Transparency = part.Transparency + 0.05 | |
5259 | wait() | |
5260 | until part.Transparency >= 1 | |
5261 | part.Anchored = true | |
5262 | part.CanCollide = false | |
5263 | wait(3) | |
5264 | repeat | |
5265 | part.Transparency = part.Transparency - 0.05 | |
5266 | wait() | |
5267 | until part.Transparency <= d.Transparency | |
5268 | part.Transparency = d.Transparency | |
5269 | if d.CanCollide == true then | |
5270 | part.CanCollide = true | |
5271 | end | |
5272 | if d.Anchored == true then | |
5273 | part.Anchored = d.Anchored | |
5274 | end | |
5275 | end)) | |
5276 | end | |
5277 | end | |
5278 | end | |
5279 | function nahled(part) | |
5280 | if workspace:findFirstChild("Base") ~= nil then | |
5281 | if part.Parent then | |
5282 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= player.Character then | |
5283 | part.Parent.Torso.CFrame = workspace.Base.CFrame * CFrame.new(0, 5, 0) | |
5284 | end | |
5285 | end | |
5286 | end | |
5287 | end | |
5288 | function kaaned(part) | |
5289 | if part.Parent then | |
5290 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= player.Character then | |
5291 | if part.Parent:findFirstChild("Kaaned") == nil then | |
5292 | local k = Instance.new("IntValue", part.Parent) | |
5293 | k.Name = "Kaaned" | |
5294 | game:GetService("Debris"):AddItem(k, 2) | |
5295 | local hum = part.Parent.Humanoid | |
5296 | local speed = hum.WalkSpeed | |
5297 | coroutine.resume(coroutine.create(function() | |
5298 | hum.WalkSpeed = 0 | |
5299 | wait(10) | |
5300 | hum.WalkSpeed = speed | |
5301 | end)) | |
5302 | end | |
5303 | end | |
5304 | end | |
5305 | end | |
5306 | function joored(part, shout) | |
5307 | shout.Anchored = false | |
5308 | shout.CanCollide = false | |
5309 | if part.Parent then | |
5310 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= player.Character then | |
5311 | if part.Parent:findFirstChild("Joored") == nil then | |
5312 | local j = Instance.new("IntValue", part.Parent) | |
5313 | j.Name = "Joored" | |
5314 | game:GetService("Debris"):AddItem(j, 2) | |
5315 | local hum = part.Parent.Humanoid | |
5316 | tag(hum) | |
5317 | hum.Parent:BreakJoints() | |
5318 | for a, b in pairs(hum.Parent:children()) do | |
5319 | if b.className == "Part" then | |
5320 | b.Velocity = (player.Character.Torso.Position - b.Position).unit * -50 | |
5321 | local f = Instance.new("Fire", b) | |
5322 | f.Color = Color3.new(0, 0, 0) | |
5323 | f.SecondaryColor = Color3.new(0, 0, 0) | |
5324 | f.Heat = 0 | |
5325 | f.Size = ":GetMass()" | |
5326 | local bf = Instance.new("BodyVelocity") | |
5327 | bf.Parent = b | |
5328 | bf.P = 196*b:GetMass() | |
5329 | bf.maxForce = Vector3.new(0, 196*b:GetMass(), 0) | |
5330 | bf.velocity = Vector3.new(0, 196*b:GetMass(), 0) | |
5331 | elseif b.className == "Hat" then | |
5332 | local b = b.Handle | |
5333 | b.Velocity = (player.Character.Torso.Position - b.Position).unit * -50 | |
5334 | local f = Instance.new("Fire", b) | |
5335 | f.Color = Color3.new(0, 0, 0) | |
5336 | f.SecondaryColor = Color3.new(0, 0, 0) | |
5337 | f.Heat = 0 | |
5338 | f.Size = 3 | |
5339 | local bf = Instance.new("BodyVelocity") | |
5340 | bf.Parent = b | |
5341 | bf.P = 196*b:GetMass() | |
5342 | bf.maxForce = Vector3.new(0, 196*b:GetMass(), 0) | |
5343 | bf.velocity = Vector3.new(0, 196*b:GetMass(), 0) | |
5344 | elseif b.className == "ForceField" then | |
5345 | b:remove() | |
5346 | local e = Instance.new("Explosion", hum.Parent.Torso) | |
5347 | e.BlastRadius = 1 | |
5348 | e.BlastPressure = 1 | |
5349 | e.position = hum.Parent.Torso.Position | |
5350 | end | |
5351 | end | |
5352 | end | |
5353 | end | |
5354 | end | |
5355 | end | |
5356 | function toored(part, m) | |
5357 | if part.Name ~= "FusRock" and part.Name ~= "ToorCloud" and part.CanCollide == true then | |
5358 | m.Anchored = true | |
5359 | m.CanCollide = true | |
5360 | if m:findFirstChild("Touched") == nil then | |
5361 | Instance.new("IntValue", m).Name = "Touched" | |
5362 | m.CFrame = CFrame.new(m.Position.x, part.Position.y, m.Position.z) | |
5363 | end | |
5364 | local e = Instance.new("Explosion") | |
5365 | e.BlastPressure = 50000 | |
5366 | e.BlastRadius = 15 | |
5367 | e.Position = m.Position | |
5368 | e.Parent = m | |
5369 | e.Hit:connect(function(hit) | |
5370 | if hit.Parent then | |
5371 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
5372 | tag(hit.Parent.Humanoid) | |
5373 | end | |
5374 | end | |
5375 | end) | |
5376 | end | |
5377 | end | |
5378 | function faased(part) | |
5379 | if part.Parent then | |
5380 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil then | |
5381 | if part.Parent:findFirstChild("Faased") == nil then | |
5382 | local f = Instance.new("IntValue", part.Parent) | |
5383 | f.Name = "Faased" | |
5384 | game:GetService("Debris"):AddItem(f, 2) | |
5385 | local hum = part.Parent.Humanoid | |
5386 | local speed = hum.WalkSpeed --Speed prior to fleeing | |
5387 | hum.WalkSpeed = speed * -1 | |
5388 | game:GetService("Chat"):Chat(hum.Parent.Head, "Ahh!!!", "Red") | |
5389 | for i = 1, 10 do | |
5390 | hum:MoveTo(hum.Parent.Torso.Position + Vector3.new(math.random(-30, 30), 0, math.random(-30, 20)), hum.Parent.Torso) | |
5391 | wait(math.random(1, 2)) | |
5392 | end | |
5393 | hum.WalkSpeed = speed | |
5394 | hum:MoveTo(hum.Parent.Torso.Position, hum.Parent.Torso) | |
5395 | end | |
5396 | end | |
5397 | end | |
5398 | end | |
5399 | function struned(part, lightning) | |
5400 | if part.Parent then | |
5401 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
5402 | local hum = part.Parent.Humanoid | |
5403 | tag(part.Parent.Humanoid) | |
5404 | local e = Instance.new("Explosion") | |
5405 | e.position = part.Position | |
5406 | e.BlastPressure = 35000 | |
5407 | e.BlastRadius = 2 | |
5408 | e.Parent = part | |
5409 | hum:TakeDamage(math.huge) | |
5410 | for a, b in pairs(hum.Parent:children()) do | |
5411 | if b.className == "Part" then | |
5412 | Instance.new("Fire", part).Size = part:GetMass() | |
5413 | end | |
5414 | end | |
5415 | end | |
5416 | end | |
5417 | end | |
5418 | function kriied(part, shout) | |
5419 | if part.Parent then | |
5420 | if part.Parent == player.Character then return end | |
5421 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild(player.Name.. "Kriied") == nil then | |
5422 | Instance.new("IntValue", part.Parent).Name = player.Name.. "Kriied" | |
5423 | local hum = part.Parent.Humanoid | |
5424 | hum.MaxHealth = hum.MaxHealth - 75 | |
5425 | hum.Health = hum.MaxHealth | |
5426 | for i = 1, 60 do | |
5427 | tag(part.Parent.Humanoid) | |
5428 | hum:TakeDamage(1.5) | |
5429 | wait(1) | |
5430 | end | |
5431 | hum.MaxHealth = hum.MaxHealth + 75 | |
5432 | end | |
5433 | end | |
5434 | end | |
5435 | function zuned(part, shout) | |
5436 | if part.Parent == player.Character then return end | |
5437 | if part.Parent then | |
5438 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
5439 | for a, b in pairs(part.Parent:children()) do | |
5440 | if b.className == "Tool" then | |
5441 | if b:findFirstChild("Handle") ~= nil then | |
5442 | b.Parent = workspace | |
5443 | wait() | |
5444 | b.Handle.Velocity = (b.Handle.Position - player.Character.Torso.Position).unit * -100 | |
5445 | repeat | |
5446 | shout.Size = shout.Size - Vector3.new(1, 1, 1) | |
5447 | wait(0.1) | |
5448 | until shout.Shout.Size == Vector3.new(1, 1, 1) | |
5449 | shout:remove() | |
5450 | end | |
5451 | end | |
5452 | end | |
5453 | end | |
5454 | end | |
5455 | end | |
5456 | function foed(part, shout) | |
5457 | if part.Parent == player.Character then return end | |
5458 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
5459 | local hum = part.Parent.Humanoid | |
5460 | hum.Sit = true | |
5461 | hum:TakeDamage(7.5) | |
5462 | if hum.Parent:findFirstChild(player.Name.. "Foed") == nil then | |
5463 | hum.WalkSpeed = 8 | |
5464 | local foer = Instance.new("IntValue", workspace) | |
5465 | foer.Name = player.Name.. "Foed" | |
5466 | game:GetService("Debris"):AddItem(foer, 2) | |
5467 | wait(5) | |
5468 | hum.WalkSpeed = 16 | |
5469 | hum.Sit = false | |
5470 | end | |
5471 | shout:remove() | |
5472 | end | |
5473 | end | |
5474 | function yoled(part) | |
5475 | if part.Parent == player.Character then return end | |
5476 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
5477 | local f = Instance.new("Fire", part) | |
5478 | f.Size = part:GetMass() | |
5479 | f.Heat = 100 | |
5480 | game:GetService("Debris"):AddItem(f, 10) | |
5481 | if part:findFirstChild(player.Name.. "Yoled") == nil then | |
5482 | local tag = Instance.new("IntValue") | |
5483 | tag.Name = player.Name.. "Yoled" | |
5484 | tag.Parent = part | |
5485 | game:GetService("Debris"):AddItem(tag, 2) | |
5486 | end | |
5487 | tag(part.Parent.Humanoid) | |
5488 | part.Parent.Humanoid:TakeDamage(7.5) | |
5489 | end | |
5490 | end | |
5491 | function lized(part) | |
5492 | if part.Parent then | |
5493 | if part.Parent == player.Character then return end | |
5494 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
5495 | if part.Parent:findFirstChild("Lized") ~= nil then return end | |
5496 | local Lizvictim = Instance.new("IntValue") | |
5497 | Lizvictim.Name = "Lized" | |
5498 | Lizvictim.Parent = part.Parent | |
5499 | game:GetService("Debris"):AddItem(Lizvictim, 10) | |
5500 | part.Parent.Animate.Disabled = true | |
5501 | part.Parent.Humanoid.PlatformStand = true | |
5502 | local speed = part.Parent.Humanoid.WalkSpeed | |
5503 | part.Parent.Humanoid.WalkSpeed = 0 | |
5504 | wait(0.01) | |
5505 | part.Parent.Torso.Velocity = (fus.Position - part.Parent.Torso.Position).unt * -50 | |
5506 | tag(part.Parent.Humanoid) | |
5507 | part.Parent.Humanoid:TakeDamage(part.Parent.Humanoid.MaxHealth/2) | |
5508 | for a, b in pairs(part.Parent:children()) do | |
5509 | if b:findFirstChild("Fire") ~= nil then | |
5510 | b.Fire:remove() | |
5511 | end | |
5512 | local frost = Instance.new("Part") | |
5513 | frost.Name = "Frost" | |
5514 | frost.formFactor = "Custom" | |
5515 | frost.BrickColor = BrickColor.new("Pastel blue-green") | |
5516 | frost.Reflectance = 0.5 | |
5517 | frost.Transparency = 0.6 | |
5518 | frost.Anchored = false | |
5519 | frost.CanCollide = true | |
5520 | if b.className == "Part" then | |
5521 | frost.Size = b.Size + Vector3.new(0.5, 0.5, 0.5) | |
5522 | local w = Instance.new("Weld") | |
5523 | w.Part0 = b | |
5524 | w.Part1 = frost | |
5525 | w.Parent = frost | |
5526 | frost.Parent = part.Parent | |
5527 | game:GetService("Debris"):AddItem(frost, 10) | |
5528 | end | |
5529 | end | |
5530 | wait(10) | |
5531 | part.Parent.Humanoid.PlatformStand = false | |
5532 | part.Parent.Animate.Disabled = false | |
5533 | part.Parent.Humanoid.WalkSpeed = speed | |
5534 | end | |
5535 | end | |
5536 | end | |
5537 | function fused(part) | |
5538 | if part.Parent then | |
5539 | if part.Parent == player.Character then return end | |
5540 | if part.Parent:findFirstChild("Humanoid") ~= nil then | |
5541 | if part.Parent:findFirstChild(player.Name.. "Fused") ~= nil then return end | |
5542 | local fusvictim = Instance.new("IntValue") | |
5543 | fusvictim.Name = player.Name.. "Fused" | |
5544 | fusvictim.Parent = part.Parent | |
5545 | game:GetService("Debris"):AddItem(fusvictim, 2) | |
5546 | part.Parent.Humanoid.Sit = true | |
5547 | tag(part.Parent.Humanoid) | |
5548 | part.Parent.Humanoid:TakeDamage(part.Parent.Humanoid.MaxHealth/4) | |
5549 | for a, b in pairs(part.Parent:children()) do | |
5550 | if b.className == "Part" then | |
5551 | b.Velocity = fus.Velocity | |
5552 | elseif b.className == "Hat" then | |
5553 | b.Handle.Velocity = fus.Velocity | |
5554 | end | |
5555 | end | |
5556 | wait(2) | |
5557 | part.Parent.Humanoid.Sit = false | |
5558 | elseif part.Anchored == false and part.Parent:findFirstChild("Humanoid") == nil then | |
5559 | part.Velocity = fus.Velocity | |
5560 | end | |
5561 | end | |
5562 | end | |
5563 | function tag(victim) | |
5564 | local creator_tag = Instance.new("ObjectValue") | |
5565 | creator_tag.Value = player | |
5566 | creator_tag.Name = "creator" | |
5567 | creator_tag.Parent = victim | |
5568 | game:GetService("Debris"):AddItem(creator_tag, 1) | |
5569 | end | |
5570 | ||
5571 | function ShowInCircle(Prompter,...) | |
5572 | local Args = {...} | |
5573 | local Books = {} | |
5574 | Args[#Args + 1] = "Dismiss" | |
5575 | local Ans = nil | |
5576 | for i=1, #Args do | |
5577 | local Book = Instance.new("Part", Game:GetService("Workspace")) | |
5578 | Book.Anchored = false | |
5579 | Book.Locked = true | |
5580 | Book.Name = "DittoCommands" | |
5581 | Book.CanCollide = false | |
5582 | Book.TopSurface, Book.BottomSurface = 0, 0 | |
5583 | Book.Transparency = head.Transparency | |
5584 | Book.Reflectance = head.Reflectance | |
5585 | Book.FormFactor = Enum.FormFactor.Custom | |
5586 | Book.Size = Vector3.new(2,2,2) | |
5587 | Book.BrickColor = head.BrickColor | |
5588 | table.insert(Books, Book) | |
5589 | local Bookie = Instance.new("SpecialMesh", Book) | |
5590 | Bookie.MeshId = mesh.MeshId | |
5591 | Bookie.MeshType = "FileMesh" | |
5592 | Bookie.Scale = mesh.Scale | |
5593 | local BG = Instance.new("BodyGyro", Book) | |
5594 | local BP = Instance.new("BodyPosition", Book) | |
5595 | local Billboard = Instance.new("BillboardGui", Book) | |
5596 | Billboard.Adornee = Book | |
5597 | Billboard.Enabled = true | |
5598 | Billboard.Active = true | |
5599 | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) | |
5600 | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) | |
5601 | local Text = Instance.new("TextLabel", Billboard) | |
5602 | Text.Text = Args[i] | |
5603 | Text.TextColor3 = Color3.new(0,51,0) | |
5604 | Text.TextStrokeTransparency = 0 | |
5605 | Text.TextStrokeColor3 = Color3.new(0, 255, 0) | |
5606 | Text.BackgroundTransparency = 1 | |
5607 | Text.Size = UDim2.new(1, 0, 1, 0) | |
5608 | end | |
5609 | coroutine.resume(coroutine.create(function() | |
5610 | local radius = 3 + (#Books*.7) | |
5611 | while wait() do | |
5612 | if #Books == 0 then break end | |
5613 | for _, Book in pairs(Books) do | |
5614 | local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book) | |
5615 | BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
5616 | local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book) | |
5617 | BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000) | |
5618 | local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame | |
5619 | local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- cos | |
5620 | local y = 0 | |
5621 | local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- sin | |
5622 | BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p | |
5623 | BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0) | |
5624 | end | |
5625 | end | |
5626 | end)) | |
5627 | end | |
5628 | ||
5629 | script.Parent.Touched:connect(Touch) | |
5630 | ||
5631 | --mediafire gtfo password |