Advertisement
diamondminer666

Untitled

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