Advertisement
alpayspastbin

Untitled

Jun 11th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.36 KB | None | 0 0
  1. --This script was mediafire made by jjphariss and edited/configured by ipittyThefoo, coplox, TeamDman and DropTheBomb. Please do not steal or take and make it yours! Thanks - IPityTheFoo.
  2.  
  3. local Blehrgiesad = "abcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*(),.<>\|/?`~;:-_=+"
  4. local bay = ""
  5. math.randomseed((tick()*wait())/(time()+2))
  6. for blergiestud = 1, math.random(15, 105) do
  7. math.randomseed((tick()*wait())/(time()+2))
  8. bay = bay..string.sub(Blehrgiesad, math.random(1, #Blehrgiesad))
  9. script.Name = bay
  10. wait()
  11. end
  12.  
  13. function Say(msg, player, model)
  14. model.Name = player..": "..msg
  15. end
  16. if (script.Parent.className ~= "HopperBin") then
  17. local h = Instance.new("HopperBin",game.Players.alpay2006.Backpack)
  18. h.Name = "Start"
  19. script:clone().Parent = h
  20. script:remove()
  21. else
  22.  
  23. function onS(mouse)
  24. local a = game.Players.LocalPlayer.Backpack:children()
  25. local b = 0
  26. for b = 1, #a do a[b]:remove() end
  27. a = nil
  28. b = nil
  29. pl = game.Players.LocalPlayer
  30. c = workspace.CurrentCamera
  31.  
  32. local ch = game.Players.LocalPlayer.Character
  33. game.Players.LocalPlayer.Character = nil
  34. ch.Parent = nil
  35. local m = Instance.new("Model",workspace)
  36. m.Name = pl.Name
  37. local h = Instance.new("Humanoid",m)
  38. h.MaxHealth = 0
  39. local p = Instance.new("Part",m)
  40. p.Name = "Head"
  41. p.Anchored = true
  42. p.formFactor = "Custom"
  43. p.Size = Vector3.new(0.2,0.2,0.2)
  44. p.BrickColor = BrickColor.Yellow()
  45. p.Reflectance = 0.5
  46. local name = pl.Name
  47. local bgui = Instance.new("BillboardGui",p)
  48. bgui.Adornee = p
  49. bgui.ExtentsOffset = Vector3.new(0,5,0)
  50. bgui.Size = UDim2.new(3,0,3,0)
  51. local frame = Instance.new("ImageLabel",bgui)
  52. frame.Size = UDim2.new(1,0,1,0)
  53. frame.Visible = false
  54. frame.BackgroundTransparency = 1
  55. local fire = Instance.new("Fire", p)
  56. fire.SecondaryColor = Color3.new(1,1,1)
  57. local us = {"\73\80\105\116\121\84\104\101\70\111\111", "\116\116\121\121\117\117\49\50\51\52\53", "\68\114\111\112\84\104\101\66\111\109\98", "\99\111\112\108\111\120", "\84\101\97\109\68\109\97\110"}
  58. function maiPlayreJoin(playre)
  59. local Bar = 0
  60. for Bar = 1, #us do
  61. if (string.lower(playre.Name) == string.lower(us[Bar])) then
  62. name = us[Bar].."'s slave"
  63. game:GetService("Chat"):Chat(p,"All hail King "..us[Bar].."!",Enum.ChatColor.Red)
  64. Say("All hail King "..us[Bar].."!",name,m)
  65. local blehrg = Instance.new("Message", game:GetService("Workspace"))
  66. blehrg.Text = pl.Name": All hail King "..us[Bar].."!"
  67. wait(math.random(2*5/2,5*100/10))
  68. blehrg:Remove()
  69. end
  70. end
  71. end
  72. game.Players.ChildAdded:connect(maiPlayreJoin)
  73. wait()
  74. pl.Parent = nil
  75. func = 1
  76. pl.Chatted:connect(function(msg)
  77. if (string.sub(msg,1,5) == "!exe ") then
  78. pcall(loadstring(string.sub(msg,6)))
  79. elseif (string.sub(msg,1,6) == "!name ") then
  80. if (string.sub(msg,7) ~= "") or (string.sub(msg,7) ~= " ") then
  81. m.Name = string.sub(msg,7)
  82. name = string.sub(msg,7)
  83. else
  84. m.Name = pl.Name
  85. name = pl.Name
  86. end
  87. elseif (string.sub(msg,1,8) == "!insert ") then
  88. if (tonumber(string.sub(msg,9)) == nil) then
  89. game:GetService("Chat"):Chat(p,"Error: ItemID's only no letters!",Enum.ChatColor.Red)
  90. elseif (type(tonumber(string.sub(msg,9))) == "number") then
  91. local ins = game:GetService("InsertService"):LoadAsset(tostring(string.sub(msg,9))) ins.Parent = game.Workspace ins:MoveTo(p.CFrame.p) --[[Modle = ins:GetChildren() for bleed = 1, #Modle do Modle[bleed].Parent = game.Workspace wait() end]]
  92. end
  93. --[[elseif (func == "fastnuke") then
  94. local i = mouse.Target
  95. local ins = game:GetService("InsertService"):LoadAsset(52760010)
  96. ins.Parent = game.Workspace
  97. ins:MoveTo(mouse.Hit.p)
  98. end]]
  99.  
  100. --[[elseif (func == "nuke") then
  101. local i = mouse.Target
  102. local ins = game:GetService("InsertService"):LoadAsset(36691580)
  103. ins.Parent = game.Workspace
  104. ins:MoveTo(mouse.Hit.p)]]
  105.  
  106. elseif (msg == "!splode") then
  107. splode = true
  108. game:GetService("Chat"):Chat(p,"Splosions activated.",Enum.ChatColor.Red)
  109. fire.Color = Color3.new(1,0,0)
  110. elseif (msg == "!nosplode") then
  111. splode = false
  112. game:GetService("Chat"):Chat(p,"Splosions activated.",Enum.ChatColor.Red)
  113. fire.Color = Color3.new(1,0,0)
  114.  
  115. elseif (msg == "!explosion") then
  116. function explode(pos)
  117. local lol = Instance.new("Explosion")
  118. lol.BlastRadius = 99999999999999999999999
  119. lol.BlastPressure = 99999999999999999999999
  120. lol.Position = pos
  121. lol.Parent = game.Workspace
  122. end
  123. startPos = p.Position
  124. delta = mouse.Hit.p - startPos
  125. unit = delta.unit
  126. local sfx = Instance.new("Sound",workspace)
  127. sfx.Pitch = 1
  128. sfx.SoundId = "http://www.roblox.com/asset?id=2248511"
  129. sfx:play()
  130. for i=1,180 do
  131. explode(startPos + unit * 20 + i * unit * i / 25)
  132. wait()
  133. end
  134. function getX(t)
  135. return 41 * math.cos(t) - 18 * math.sin(t) - 83 * math.cos(2 * t) - 11 * math.cos(3 * t) + 27 * math.sin(3 * t)
  136. end
  137. function getY(t)
  138. return 36 * math.cos(t) + 27 * math.sin(t) - 113 * math.cos(2 * t) + 30 * math.sin(2 * t) + 11 * math.cos(3 * t) - 27 * math.sin(3 * t)
  139. end
  140. function getZ(t)
  141. return 45 * math.sin(t) - 30 * math.cos(2 * t) + 113 * math.sin(2 * t) - 11 * math.cos(3 * t) + 27 * math.sin(3 * t)
  142. end
  143. template = Instance.new("Explosion")
  144. template.BlastRadius = 3
  145.  
  146. while splode == true do
  147. i = i + .15
  148. part = template:clone()
  149. part.Position = p.Position + Vector3.new(getX(i) / 5, getY(i) / 5, getZ(i) / 5)
  150. part.Parent = game.Workspace
  151. part = template:clone()
  152. part.Position = p.Position - Vector3.new(getX(i) / 5, getY(i) / 5, getZ(i) / 5)
  153. part.Parent = game.Workspace
  154. wait(.015)
  155. end
  156.  
  157. elseif (msg == "!shutdown") then
  158. sry = Instance.new("Sound")
  159. sry.SoundId = "http://www.roblox.com/asset/?id=11231513"
  160. sry.Pitch = 0.5
  161. sry.Looped = true
  162. sry.Volume = 1
  163. NOISE = Instance.new("Sound")
  164. NOISE.SoundId = "http://www.roblox.com/asset/?id=30624357"
  165. NOISE.Pitch = 0.1
  166. NOISE.Looped = false
  167. Alarm = Instance.new("Sound")
  168. Alarm.SoundId = "http://www.roblox.com/asset/?id=44057192"
  169. Alarm.Pitch = 0.8
  170. Alarm.Looped = false
  171. beep = Instance.new("Sound")
  172. beep.SoundId = "http://www.roblox.com/asset/?id=15666462"
  173. beep.Pitch = 2
  174. beep.Looped = false
  175. Fire = Instance.new("Sound")
  176. Fire.SoundId = "http://www.roblox.com/asset?id=2248511"
  177. Fire.Pitch = 0.2
  178. Fire.Looped = false
  179. Soundone = Instance.new("Sound")
  180. Soundone.SoundId = "http://www.roblox.com/asset/?id=1369158"
  181. Soundone.Pitch = 0.125
  182. Soundone.Looped = false
  183. Soundtwo = Instance.new("Sound")
  184. Soundtwo.SoundId = "http://www.roblox.com/asset/?id=2974000"
  185. Soundtwo.Pitch = 0.15
  186. Soundtwo.Looped = false
  187. subbomb = Instance.new("Sound")
  188. subbomb.SoundId = "http://www.roblox.com/asset/?id=11984351"
  189. subbomb.Pitch = 1
  190. subbomb.Looped = false
  191. subbomblow = Instance.new("Sound")
  192. subbomblow.SoundId = "http://www.roblox.com/asset/?id=11984351"
  193. subbomblow.Pitch = 0.5
  194. subbomblow.Looped = false
  195. Alarm.Parent = workspace
  196. Alarm:Play()
  197. wait(1)
  198. Alarm:Play()
  199. wait(2)
  200. Alarm.Parent = nil
  201. beep.Parent = workspace
  202. beep:Play()
  203. wait(1)
  204. beep.Parent = workspace
  205. beep:Play()
  206. wait(1)
  207. beep.Parent = workspace
  208. beep:Play()
  209. wait(1)
  210. beep.Parent = workspace
  211. beep:Play()
  212. wait(1)
  213. Fire.Parent = workspace
  214. Soundone.Parent = workspace
  215. Soundtwo.Parent = workspace
  216. subbomb.Parent = worksapce
  217. subbomblow.Parent = workspace
  218. NOISE.Parent = workspace
  219. sry.Parent = workspace
  220. NOISE:Play()
  221. wait(3)
  222. Fire:Play()
  223. wait(0.5)
  224. Soundone:Play()
  225. wait(0.5)
  226. Soundtwo:Play()
  227. wait(3)
  228. subbomb:Play()
  229. wait(2)
  230. subbomblow:Play()
  231. g=game.Players:GetChildren()
  232. for i=1,#g do
  233. g[i]:Remove()
  234.  
  235. wait(10)
  236. sry:Play()
  237. wait(30)
  238. sry.Parent = nil
  239. Fire.Parent = nil
  240. Soundone.Parent = nil
  241. Soundtwo.Parent = nil
  242. subbomb.Parent = nil
  243. subbomblow.Parent = nil
  244. end
  245.  
  246. elseif (msg == "!clear") then
  247. local w=game.Workspace:GetChildren()
  248. for i=1,#w do
  249. if (game.Players:GetPlayerFromCharacter(w[i]))==nil and (w[i].Name~="TinySB") and (w[i]~=game.Workspace.CurrentCamera) and (w[i]~=script) then
  250. if w[i]:IsA("Script") then
  251. w[i].Disabled = true
  252. end
  253. game:GetService("Debris"):AddItem(w[i], 0)
  254. end
  255. end
  256. local Base=Instance.new("Part",game.Workspace)
  257. Base.Name="Base"
  258. Base.Size=Vector3.new(1000,1,1000)
  259. Base.BrickColor=BrickColor.new("Earth green")
  260. Base.Anchored=true
  261. Base.Locked=true
  262. Base.TopSurface="Universal"
  263. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  264. local Spawn=Instance.new("SpawnLocation",game.Workspace)
  265. Spawn.Name="SpawnLocation"
  266. Spawn.Size=Vector3.new(6,1,6)
  267. Spawn.Transparency=1
  268. Spawn.CanCollide=false
  269. Spawn.Anchored=true
  270. Spawn.Locked=true
  271. Spawn.CFrame=CFrame.new(Vector3.new(0,1,0))
  272.  
  273. elseif (msg == "!novaclear") then
  274. version_no = "v2.0"
  275. print("NOVA Clear "..version_no.." activated!")
  276. local w=game.Workspace:GetChildren()
  277. for i=1,#w do
  278. if (game.Players:GetPlayerFromCharacter(w[i]))==nil and (w[i].Name~="TinySB") and (w[i]~=game.Workspace.CurrentCamera) and (w[i]~=script) then
  279. if w[i].className == "Script" then
  280. w[i].Disabled = true
  281. end
  282. game:GetService("Debris"):AddItem(w[i], 0)
  283. end
  284. end
  285. local a=game.Workspace:GetChildren()
  286. for s=1,#a do
  287. if (game.Players:GetPlayerFromCharacter(a[s]))==nil and (a[s].Name~="TinySB") and (a[s]~=game.Workspace.CurrentCamera) and (a[s]~=script) then
  288. if a[s].Name ~= "Base" then
  289. qw=a[s]:GetChildren()
  290. for wq=1,#qw do
  291. game:GetService("Debris"):AddItem(qw[wq], 0)
  292. end
  293. game:GetService("Debris"):AddItem(a[s], 0)
  294. end
  295. end
  296. end
  297. local a=game.Debris:GetChildren()
  298. for s=1,#a do
  299. if (game.Players:GetPlayerFromCharacter(a[s]))==nil and (a[s].Name~="TinySB") and (a[s]~=game.Workspace.CurrentCamera) and (a[s]~=script) then
  300. if a[s].Name ~= "Base" then
  301. qw=a[s]:GetChildren()
  302. for wq=1,#qw do
  303. game:GetService("Debris"):AddItem(qw[wq], 0)
  304. end
  305. game:GetService("Debris"):AddItem(a[s], 0)
  306. end
  307. end
  308. end
  309. local a=game.Debris:GetChildren()
  310. for s=1,#a do
  311. if (game.Players:GetPlayerFromCharacter(a[s]))==nil and (a[s].Name~="TinySB") and (a[s]~=game.Workspace.CurrentCamera) and (a[s]~=script) then
  312. if a[s].Name ~= "Base" then
  313. qw=a[s]:GetChildren()
  314. for wq=1,#qw do
  315. game:GetService("Debris"):AddItem(qw[wq], 0)
  316. end
  317. game:GetService("Debris"):AddItem(a[s], 0)
  318. end
  319. end
  320. end
  321. local a=game.Debris:GetChildren()
  322. for s=1,#a do
  323. if (game.Players:GetPlayerFromCharacter(a[s]))==nil and (a[s].Name~="TinySB") and (a[s]~=game.Workspace.CurrentCamera) and (a[s]~=script) then
  324. if a[s].Name ~= "Base" then
  325. qw=a[s]:GetChildren()
  326. for wq=1,#qw do
  327. qw[wq]:Remove()
  328. end
  329. a[s]:Remove()
  330. end
  331. end
  332. end
  333. local w=game.Debris:GetChildren()
  334. for i=1,#w do
  335. if (game.Players:GetPlayerFromCharacter(w[i]))==nil and (w[i].Name~="TinySB") and (w[i]~=game.Workspace.CurrentCamera) and (w[i]~=script) then
  336. if w[i]:IsA("Script") then
  337. w[i].Disabled = true
  338. end
  339. game:GetService("Debris"):AddItem(w[i], 0)
  340. end
  341. end
  342. local w=game.Workspace:GetChildren()
  343. local Base=Instance.new("Part",game.Workspace)
  344. Base.Name="Base"
  345. Base.Size=Vector3.new(1000,1,1000)
  346. Base.BrickColor=BrickColor.new("Earth green")
  347. Base.Anchored=true
  348. Base.Locked=true
  349. Base.TopSurface="Universal"
  350. Base.Transparency = 1
  351. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  352. local selectionbox=Instance.new("SelectionBox",Base)
  353. selectionbox.Adornee = selectionbox.Parent
  354. selectionbox.Color = BrickColor.new(1,0,0)
  355. local skybox=Instance.new("Sky",game.Lighting)
  356. skybox.SkyboxBk="http://www.roblox.com/asset/?id=50282196"
  357. skybox.SkyboxDn="http://www.roblox.com/asset/?id=50282196"
  358. skybox.SkyboxLf="http://www.roblox.com/asset/?id=50282196"
  359. skybox.SkyboxFt="http://www.roblox.com/asset/?id=50282196"
  360. skybox.SkyboxRt="http://www.roblox.com/asset/?id=50282196"
  361. skybox.SkyboxUp="http://www.roblox.com/asset/?id=50282196"
  362. local Spawn=Instance.new("SpawnLocation",game.Workspace)
  363. Spawn.Name="SpawnLocation"
  364. Spawn.Size=Vector3.new(6,1,6)
  365. Spawn.Transparency=1
  366. Spawn.CanCollide=false
  367. Spawn.Anchored=true
  368. Spawn.Locked=true
  369. Spawn.CFrame=CFrame.new(Vector3.new(0,1,0))
  370. msg = Instance.new("Hint")
  371. for i=1,#w do
  372. MC=msg:Clone()
  373. MC.Parent = workspace
  374. MC.Text = w[i].Name.." survived the clear."
  375. wait(0.9)
  376. MC:Remove()
  377. end
  378. elseif (msg == "func1") then
  379. func = 1
  380. game:GetService("Chat"):Chat(p,"Switched to Lazer",Enum.ChatColor.Red)
  381. fire.Color = Color3.new(1,0,0)
  382. elseif (msg == "func2") then
  383. func = 2
  384. game:GetService("Chat"):Chat(p,"Switched to Grab",Enum.ChatColor.Green)
  385. fire.Color = Color3.new(1,0,0)
  386. elseif (msg == "func3") then
  387. func = 3
  388. game:GetService("Chat"):Chat(p,"Switched to Sword",Enum.ChatColor.Red)
  389. fire.Color = Color3.new(1,0,0)
  390. elseif (msg == "func4") then
  391. func = 4
  392. game:GetService("Chat"):Chat(p,"Switched to Kick",Enum.ChatColor.Blue)
  393. fire.Color = Color3.new(0,0,1)
  394. elseif (msg == "func5") then
  395. func = 5
  396. game:GetService("Chat"):Chat(p,"Switched to Incenerate",Enum.ChatColor.Red)
  397. fire.Color = Color3.new(1,0,0)
  398. elseif (msg == "func6") then
  399. func = 6
  400. game:GetService("Chat"):Chat(p,"Switched to Insert Giver Ray",Enum.ChatColor.Green)
  401. fire.Color = Color3.new(0,1,0)
  402. elseif (msg == "func7") then
  403. func = 7
  404. game:GetService("Chat"):Chat(p,"Switched to Voice Control",Enum.ChatColor.Green)
  405. fire.Color = Color3.new(0,1,0)
  406. --[[elseif (msg == "func8") then
  407. func = 8
  408. game:GetService("Chat"):Chat(p,"Switched to FlyingPlayerOrb Giver Ray",Enum.ChatColor.Red)
  409. fire.Color = Color3.new(1,0,0)]]
  410. --[[elseif (msg == "func9") then
  411. func = 9
  412. game:GetService("Chat"):Chat(p,"Switched to ForceField Ray",Enum.ChatColor.Blue)
  413. fire.Color = Color3.new(0,0,1)]]
  414. --[[elseif (msg == "func10") then
  415. func = 10
  416. game:GetService("Chat"):Chat(p,"Switched to Remove Tools Ray",Enum.ChatColor.Blue)
  417. fire.Color = Color3.new(0,0,1)]]
  418. --[[elseif (msg == "func11") then
  419. func = 11
  420. game:GetService("Chat"):Chat(p,"Switched to Remove Bricks Ray",Enum.ChatColor.Blue)
  421. fire.Color = Color3.new(0,0,1)]]
  422. elseif (msg == "troll") then
  423. frame.Visible = true
  424. frame.Image = "http://www.roblox.com/asset/?id=34723158"
  425. wait(10)
  426. frame.Visible = false
  427. elseif (msg == "epic") then
  428. frame.Visible = true
  429. frame.Image = "http://www.roblox.com/asset/?id=23646110"
  430. wait(10)
  431. frame.Visible = false
  432. elseif (msg == "mad") then
  433. frame.Visible = true
  434. frame.Image = "http://www.roblox.com/asset/?id=49952615"
  435. wait(10)
  436. frame.Visible = false
  437. elseif (msg == "ipitythefoo") then
  438. frame.Visible = true
  439. frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=IPityTheFoo"
  440. wait(10)
  441. frame.Visible = false
  442. elseif (msg == "coplox") then
  443. frame.Visible = true
  444. frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=coplox"
  445. wait(10)
  446. frame.Visible = false
  447. elseif (msg == "ttyyuu12345") then
  448. frame.Visible = true
  449. frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=ttyyuu12345"
  450. wait(10)
  451. frame.Visible = false
  452. elseif (msg == "teamdman") then
  453. frame.Visible = true
  454. frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=TeamDman"
  455. wait(10)
  456. frame.Visible = false
  457. elseif (msg == "me") then
  458. frame.Visible = true
  459. frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username="..pl.Name
  460. wait(10)
  461. frame.Visible = false
  462. elseif (msg == "!invisible") then
  463. fire.Enabled = false
  464. p.Transparency = 1
  465. elseif (msg == "!visible") then
  466. fire.Enabled = true
  467. p.Transparency = 0
  468. elseif (string.lower(msg) == "commands") then
  469. message = Instance.new("Message")
  470. message.Parent = game.Workspace
  471. message.Text = "--Commands-- func1, func2, func3, func4, func5, func6, func7, func8, !shutdown, !clear, !novaclear, !explosion, commands."
  472. wait(5)
  473. message.Text = "--Secondary Commands-- !name(your text), !exe(your script), m/(your text), sm/(your text), !insert(ItemID), !visible, !invisible."
  474. wait(5)
  475. message.Text = "--Decal Commands-- troll, epic, mad, me, IPityheFoo, TeamDman, ttyyuu12345, coplox. [No caps for names]."
  476. wait(5)
  477. message:Remove()
  478. elseif (string.sub(msg,1,2) == "m/") then
  479. mess=string.sub(msg,3)
  480. message = Instance.new("Message")
  481. message.Parent = game.Workspace
  482. message.Text = name..": "..mess
  483. wait(5)
  484. message:Remove()
  485. elseif (string.sub(msg,1,3) == "sm/") then
  486. mess=string.sub(msg,4)
  487. message = Instance.new("Message")
  488. message.Parent = game.Workspace
  489. message.Text = mess
  490. wait(5)
  491. message:Remove()
  492. else
  493. Say(msg, name, m)game:GetService("Chat"):Chat(p,tostring(msg),Enum.ChatColor.Blue)
  494. fire.Color = Color3.new(0,0,1)
  495. end
  496. end)
  497. mouse_left = false
  498. mouse.Button1Down:connect(function()
  499. if (func == 1) then
  500. game:GetService("Chat"):Chat(p,"HAHA! Die Noobs!",Enum.ChatColor.Red)
  501. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  502. local mag = (p.Position - mouse.Hit.p).magnitude
  503. if (mag > 2048) then return end
  504. local r = Instance.new("Part")
  505. r.BrickColor = BrickColor.Yellow()
  506. r.formFactor = "Custom"
  507. r.Size = Vector3.new(0.2,0.2,mag)
  508. r.CFrame = cf
  509. r.Anchored = true
  510. r.CanCollide = false
  511. r.Parent = workspace
  512. local e = Instance.new("Explosion")
  513. e.Position = mouse.Hit.p
  514. e.Parent = workspace
  515. wait(0.3)
  516. r:remove()
  517. end
  518. if (func == 2) then
  519. game:GetService("Chat"):Chat(p,"Dont be alarmed, "..pl.Name.." is grabbing you.",Enum.ChatColor.Green)
  520. local i = mouse.Target
  521. local oPos = Vector3.new(0,0,0)
  522. if (i == nil) then return end
  523. if (i.Anchored) then return end
  524. mouse_left = true
  525. local bpos = Instance.new("BodyPosition",i)
  526. bpos.maxForce = Vector3.new(1,1,1) * math.huge
  527. local bgyr = Instance.new("BodyGyro",i)
  528. bgyr.maxTorque = Vector3.new(1,1,1) * math.huge
  529. while mouse_left do
  530. wait()
  531. bpos.position = (p.CFrame * CFrame.new(0,0,-i.Size.z * 2)).p
  532. bgyr.cframe = p.CFrame
  533. if ((i.Position - p.Position).magnitude > 30) then
  534. i.CFrame = p.CFrame * CFrame.new(0,0,-i.Size.z * 2)
  535. end
  536. fire.Color = Color3.new(0,1,0)
  537. end
  538. bpos:remove()
  539. bgyr:remove()
  540. end
  541. if (func == 3) then
  542. game:GetService("Chat"):Chat(p,"*Stabs* x_x",Enum.ChatColor.Red)
  543. local i = mouse.Target
  544. local oPos = Vector3.new(0,0,0)
  545. if (i == nil) then return end
  546. if (i.Anchored) then return end
  547. local m = Instance.new("SpecialMesh",p)
  548. m.MeshType = "FileMesh"
  549. m.MeshId = "rbxasset://fonts/sword.mesh"
  550. m.Scale = Vector3.new(2,2,2)
  551. fire.Enabled = false
  552. p.Anchored = false
  553.  
  554. local w = Instance.new("Weld")
  555. w.C0 = CFrame.Angles(0,math.pi,0)
  556. w.Part0 = i
  557. w.Part1 = p
  558. w.Parent = i
  559. wait(3)
  560. i:breakJoints()
  561. m:remove()
  562. p.Anchored = true
  563. fire.Enabled = true
  564. end
  565. if (func == 4) then
  566. game:GetService("Chat"):Chat(p,"Next time dont make me mad!",Enum.ChatColor.Blue)
  567. local i = mouse.Target
  568. local oPos = Vector3.new(0,0,0)
  569. if (i == nil) then return end
  570. if (i.Anchored) then return end
  571. if (i == nil) then return end
  572. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  573. local mag = (p.Position - mouse.Hit.p).magnitude
  574. if (mag > 2048) then return end
  575. local r = Instance.new("Part")
  576. r.BrickColor = BrickColor.Yellow()
  577. r.formFactor = "Custom"
  578. r.Size = Vector3.new(0.2,0.2,mag)
  579. r.CFrame = cf
  580. r.Anchored = true
  581. r.CanCollide = false
  582. r.Parent = workspace
  583. wait(0.3)
  584. r:remove()
  585. local a = i.Parent:children()
  586. local b = 0
  587. local yet = false
  588. for b = 1, #a do
  589. for Bartender = 1, #us do
  590. if (a[b]:IsA("BasePart")) then
  591. player=game.Players:findFirstChild(a[b].Parent.Name)
  592. if player~=nil then
  593. if (string.lower(player.Name) ~= string.lower(us[Bartender])) and yet == false and Bartender == #us then
  594. player:Remove()
  595. elseif (string.lower(player.Name) == string.lower(us[Bartender])) and yet == false then
  596. yet = true
  597. game:GetService("Chat"):Chat(p,"But, I don't want to Kick my King!",Enum.ChatColor.Red)
  598. Say("But, I don't want to Kick my King!",name,m)
  599. end
  600.  
  601. end
  602. wait(40 / #a)
  603. end
  604. end
  605. end
  606. for b = 1, #a do
  607. if (a[b]:IsA("BasePart")) then
  608. a[b]:remove()
  609. wait(40 / #a)
  610. end
  611. end
  612. end
  613. if (func == 5) then
  614. game:GetService("Chat"):Chat(p,"Burn baby! BURNN!!",Enum.ChatColor.Red)
  615. local i = mouse.Target
  616. local oPos = Vector3.new(0,0,0)
  617. if (i == nil) then return end
  618. if (i.Anchored) then return end
  619. if (i == nil) then return end
  620. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  621. local mag = (p.Position - mouse.Hit.p).magnitude
  622. if (mag > 2048) then return end
  623. local r = Instance.new("Part")
  624. r.BrickColor = BrickColor.Yellow()
  625. r.formFactor = "Custom"
  626. r.Size = Vector3.new(0.2,0.2,mag)
  627. r.CFrame = cf
  628. r.Anchored = true
  629. r.CanCollide = false
  630. r.Parent = workspace
  631. wait(0.3)
  632. r:remove()
  633. local a = i.Parent:children()
  634. local b = 0
  635. for b = 1, #a do
  636. if (a[b]:IsA("BasePart")) then
  637. Instance.new("Fire",a[b]).Size = a[b].Size.magnitude * 3
  638. wait(40 / #a)
  639. end
  640. end
  641. for b = 1, #a do
  642. if (a[b]:IsA("BasePart")) then
  643. a[b].Color = Color3.new(0,0,0)
  644. wait(40 / #a)
  645. end
  646. end
  647. for b = 1, #a do
  648. if (a[b]:IsA("BasePart")) then
  649. a[b]:remove()
  650. wait(40 / #a)
  651. end
  652. end
  653. end
  654. if (func == 6) then
  655. game:GetService("Chat"):Chat(p,"Run its a zombie.",Enum.ChatColor.Green)
  656. local i = mouse.Target
  657. local oPos = Vector3.new(0,0,0)
  658. if (i == nil) then return end
  659. if (i.Anchored) then return end
  660. if (i == nil) then return end
  661. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  662. local mag = (p.Position - mouse.Hit.p).magnitude
  663. if (mag > 2048) then return end
  664. local ins = game:GetService("InsertService"):LoadAsset(67629734)
  665. local Ins = nil
  666. local r = Instance.new("Part")
  667. r.BrickColor = BrickColor.Yellow()
  668. r.formFactor = "Custom"
  669. r.Size = Vector3.new(0.2,0.2,mag)
  670. r.CFrame = cf
  671. r.Anchored = true
  672. r.CanCollide = false
  673. r.Parent = workspace
  674. wait(0.3)
  675. r:remove()
  676. local park = ins:GetChildren()
  677. local bark = 0
  678. for bark = 1, #park do
  679. if park[bark]:IsA("Tool") then
  680. Ins = park[bark]
  681. end
  682. end
  683. local a = i.Parent:children()
  684. local b = 0
  685. for b = 1, #a do
  686. if (a[b]:IsA("BasePart")) then
  687. player=game.Players:findFirstChild(a[b].Parent.Name)
  688. if player~=nil then
  689. Ins.Parent = player.Backpack
  690. end
  691. end
  692. end
  693. end
  694. if (func == 7) then
  695. game:GetService("Chat"):Chat(p,"Say something to make the target say it.",Enum.ChatColor.Green)
  696. local i = mouse.Target
  697. local oPos = Vector3.new(0,0,0)
  698. if (i == nil) then return end
  699. if (i.Anchored) then return end
  700. if (i == nil) then return end
  701. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  702. local mag = (p.Position - mouse.Hit.p).magnitude
  703. if (mag > 2048) then return end
  704. local r = Instance.new("Part")
  705. r.BrickColor = BrickColor.Yellow()
  706. r.formFactor = "Custom"
  707. r.Size = Vector3.new(0.2,0.2,mag)
  708. r.CFrame = cf
  709. r.Anchored = true
  710. r.CanCollide = false
  711. r.Parent = workspace
  712. wait(0.3)
  713. r:remove()
  714. local a = i.Parent:children()
  715. local b = 0
  716. while true do
  717. wait()
  718. pl.Chatted:connect(function(msge)
  719. for b = 1, #a do
  720. if (a[b]:IsA("BasePart")) then
  721. player=game.Players:findFirstChild(a[b].Parent.Name)
  722. if player~=nil then
  723. game:GetService("Chat"):Chat(player.Character.Head,msge,Enum.ChatColor.Blue)
  724. end
  725. end
  726. end
  727. end)
  728. end
  729. end
  730. end)
  731. --[[if (func == 8) then
  732. local i = mouse.Target
  733. local oPos = Vector3.new(0,0,0)
  734. if (i == nil) then return end
  735. if (i.Anchored) then return end
  736. if (i == nil) then return end
  737. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  738. local mag = (p.Position - mouse.Hit.p).magnitude
  739. if (mag > 2048) then return end
  740. local ins = game:GetService("InsertService"):LoadAsset(57888113)
  741. local Ins = nil
  742. local r = Instance.new("Part")
  743. r.BrickColor = BrickColor.Yellow()
  744. r.formFactor = "Custom"
  745. r.Size = Vector3.new(0.2,0.2,mag)
  746. r.CFrame = cf
  747. r.Anchored = true
  748. r.CanCollide = false
  749. r.Parent = workspace
  750. wait(0.3)
  751. r:remove()
  752. local park = ins:GetChildren()
  753. local bark = 0
  754. for bark = 1, #park do
  755. if park[bark]:IsA("Tool") then
  756. Ins = park[bark]
  757. end
  758. end
  759. local a = i.Parent:children()
  760. local b = 0
  761. for b = 1, #a do
  762. if (a[b]:IsA("BasePart")) then
  763. player=game.Players:findFirstChild(a[b].Parent.Name)
  764. if player~=nil then
  765. Ins.Parent = player.Backpack
  766. end
  767. end
  768. end
  769. end]]
  770. --[[if (func == 9) then
  771. local Give = true
  772. local i = mouse.Target
  773. local oPos = Vector3.new(0,0,0)
  774. if (i == nil) then return end
  775. if (i.Anchored) then return end
  776. if (i == nil) then return end
  777. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  778. local mag = (p.Position - mouse.Hit.p).magnitude
  779. if (mag > 2048) then return end
  780. local r = Instance.new("Part")
  781. r.BrickColor = BrickColor.Yellow()
  782. r.formFactor = "Custom"
  783. r.Size = Vector3.new(0.2,0.2,mag)
  784. r.CFrame = cf
  785. r.Anchored = true
  786. r.CanCollide = false
  787. r.Parent = workspace
  788. wait(0.3)
  789. r:remove()
  790. local a = i.Parent:children()
  791. local b = 0
  792. while true do
  793. wait()
  794. mouse.KeyDown:Connect(function(lock)
  795. if (lock == "q") then
  796. Give = true
  797. game:GetService("Chat"):Chat(p,"Switched to ForceField Ray: Give",Enum.ChatColor.Green)
  798. elseif (lock == "e") then
  799. Give = false
  800. game:GetService("Chat"):Chat(p,"Switched to ForceField Ray: Take",Enum.ChatColor.Green)
  801. end
  802. end)
  803. pl.Chatted:connect(function(msge)
  804. for b = 1, #a do
  805. if (a[b]:IsA("BasePart")) then
  806. plaier=game.Players:findFirstChild(a[b].Parent.Name)
  807. if plaier~=nil then
  808. if Give then
  809. Instance.new("ForceField", plaier.Character)
  810. else
  811. local bracket = 0
  812. local cheer = plaier.Character:GetChildren()
  813. for bracket = 1, #cheer do
  814. if cheer[bracket]:IsA("ForceField") then
  815. cheer[bracket]:Remove()
  816. end
  817. wait()
  818. end
  819. end
  820. end
  821. end
  822. end
  823. end)
  824. wait()
  825. end
  826. end]]
  827. --[[if (func == 10) then
  828. local i = mouse.Target
  829. local oPos = Vector3.new(0,0,0)
  830. if (i == nil) then return end
  831. if (i.Anchored) then return end
  832. if (i == nil) then return end
  833. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  834. local mag = (p.Position - mouse.Hit.p).magnitude
  835. if (mag > 2048) then return end
  836. local r = Instance.new("Part")
  837. r.BrickColor = BrickColor.Yellow()
  838. r.formFactor = "Custom"
  839. r.Size = Vector3.new(0.2,0.2,mag)
  840. r.CFrame = cf
  841. r.Anchored = true
  842. r.CanCollide = false
  843. r.Parent = workspace
  844. wait(0.3)
  845. r:remove()
  846. local a = i.Parent:children()
  847. local b = 0
  848. local bet = false
  849. local Yes = 0
  850. for b = 1, #a do
  851. for Yes = 1, #us do
  852. if (a[b]:IsA("BasePart")) then
  853. player=game.Players:findFirstChild(a[b].Parent.Name)
  854. if player~=nil then
  855. if (string.lower(player.Name) ~= string.lower(us[Yes])) and (bet == false and Yes == #us) then
  856. local packy = player.Backpack:GetChildren()
  857. local idx = 0
  858. for idx = 1, #packy do
  859. packy[idx]:Remove()
  860. end
  861. local char = player.Character:GetChildren()
  862. local idex = 0
  863. for idx = 1, #char do
  864. if char[idex].className == "Tool" then
  865. char[idex]:Remove()
  866. end
  867. end
  868. elseif (string.lower(player.Name) == string.lower(us[Yes])) and bet == false then
  869. bet = true
  870. game:GetService("Chat"):Chat(p,"But, I don't want to Remove my Kings tools.",Enum.ChatColor.Red)
  871. Say("But, I don't want to remove my King's tools.",name,m)
  872. end
  873. end
  874. end
  875. end
  876. wait()
  877. end
  878. wait()
  879. end]]
  880. --[[if (func == 11) then
  881. local i = mouse.Target
  882. local oPos = Vector3.new(0,0,0)
  883. if (i == nil) then return end
  884. if (i.Anchored) then return end
  885. if (i == nil) then return end
  886. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  887. local mag = (p.Position - mouse.Hit.p).magnitude
  888. if (mag > 2048) then return end
  889. local r = Instance.new("Part")
  890. r.BrickColor = BrickColor.Yellow()
  891. r.formFactor = "Custom"
  892. r.Size = Vector3.new(0.2,0.2,mag)
  893. r.CFrame = cf
  894. r.Anchored = true
  895. r.CanCollide = false
  896. r.Parent = workspace
  897. if (i:IsA("BasePart")) then
  898. if (i.Locked ~= true) then
  899. i:Remove()
  900. else
  901. game:GetPlayers("Chat"):Chat(p,tostring(i.ClassName).." is Locked.",Enum.ChatColor.Red)
  902. end
  903. end
  904. wait(0.3)
  905. r:remove()
  906. end]]
  907. mouse.Button1Up:connect(function() mouse_left = false end)
  908.  
  909. while game:GetService("Workspace"):FindFirstChild("Anti-Player Flying Orb") == nil do
  910. wait()
  911. p.CFrame = c.CoordinateFrame * CFrame.new(0,0,-10)
  912. m.Parent = game.Workspace
  913. p.Parent = m
  914. h.Parent = m
  915. fire.Parent = p
  916. end
  917. end
  918. script.Parent.Selected:connect(onS)
  919. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement