Advertisement
SmokeDelsin

AMAZIN ORB

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