Advertisement
Guest User

Untitled

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