Advertisement
Guest User

Orb

a guest
Mar 28th, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.37 KB | None | 0 0
  1. --This Script Here Is For The Fellow Robloxians That Want The Orb Script Put Your User Name On Where It says YOUR NAME HERE.
  2. function Say(msg, player, model)
  3. model.Name = player..": "..msg
  4. end
  5. if (script.Parent.className ~= "HopperBin") then
  6. local h = Instance.new("HopperBin",game.Players.YOUR NAME HERE.Backpack)
  7. h.Name = "Start"
  8. script:clone().Parent = h
  9. script:remove()
  10. else
  11.  
  12. function onS(mouse)
  13. local a = game.Players.LocalPlayer.Backpack:children()
  14. local b = 0
  15. for b = 1, #a do a[b]:remove() end
  16. a = nil
  17. b = nil
  18. pl = game.Players.LocalPlayer
  19. c = workspace.CurrentCamera
  20.  
  21. local ch = game.Players.LocalPlayer.Character
  22. game.Players.LocalPlayer.Character = nil
  23. ch.Parent = nil
  24. local m = Instance.new("Model",workspace)
  25. m.Name = pl.Name
  26. local h = Instance.new("Humanoid",m)
  27. h.MaxHealth = 0
  28. local p = Instance.new("Part",m)
  29. p.Name = "Head"
  30. p.Anchored = true
  31. p.formFactor = "Custom"
  32. p.Size = Vector3.new(0.2,0.2,0.2)
  33. p.BrickColor = BrickColor.Yellow()
  34. p.Reflectance = 0.5
  35. local name = pl.Name
  36. local bgui = Instance.new("BillboardGui",p)
  37. bgui.Adornee = p
  38. bgui.ExtentsOffset = Vector3.new(0,5,0)
  39. bgui.Size = UDim2.new(3,0,3,0)
  40. local frame = Instance.new("ImageLabel",bgui)
  41. frame.Size = UDim2.new(1,0,1,0)
  42. frame.Visible = false
  43. frame.BackgroundTransparency = 1
  44. local fire = Instance.new("Fire", p)
  45. fire.SecondaryColor = Color3.new(1,1,1)
  46. --[[local us = {"YOUR NAME HERE", "Friends Name Here"}
  47. game:GetService("Players").PlayerAdded:connect(function(plarye)
  48. local Bar = 0
  49. for Bar = 1, 4 do
  50. if (string.lower(plarye.Name) == string.lower(us[Bar])) then
  51. name = us[Bar].."'s slave"
  52. game:GetService("Chat"):Chat(p,"All hail King "..us[Bar].."!",Enum.ChatColor.Red)
  53. Say("All hail King "..us[Bar].."!",name,m)
  54. local blehrg = Instance.new("Message", game:GetService("Workspace"))
  55. blehrg.Text = pl.Name": All hail King "us[bar]"!"
  56. wait(math.random(2*5/2,5*100/10))
  57. blehrg:Remove()
  58. end
  59. end
  60. end)]]
  61. wait()
  62. pl.Parent = nil
  63. func = 1
  64. pl.Chatted:connect(function(msg)
  65. if (string.sub(msg,1,5) == "!exe ") then
  66. pcall(loadstring(string.sub(msg,6)))
  67. elseif (string.sub(msg,1,6) == "!name ") then
  68. if (string.sub(msg,7) ~= "") or (string.sub(msg,7) ~= " ") then
  69. m.Name = string.sub(msg,7)
  70. name = string.sub(msg,7)
  71. else
  72. m.Name = pl.Name
  73. name = pl.Name
  74. end
  75. elseif (string.sub(msg,1,8) == "!insert ") then
  76. if (tonumber(string.sub(msg,9)) == nil) then
  77. game:GetService("Chat"):Chat(p,"Error: ItemID's only no letters!",Enum.ChatColor.Red)
  78. elseif (type(tonumber(string.sub(msg,9))) == "number") then
  79. 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]]
  80. end
  81. elseif (msg == "func1") then
  82. func = 1
  83. game:GetService("Chat"):Chat(p,"Switched to Lazor",Enum.ChatColor.Red)
  84. fire.Color = Color3.new(1,0,0)
  85. elseif (msg == "func2") then
  86. func = 2
  87. game:GetService("Chat"):Chat(p,"Switched to Grab",Enum.ChatColor.Green)
  88. fire.Color = Color3.new(1,0,0)
  89. elseif (msg == "func3") then
  90. func = 3
  91. game:GetService("Chat"):Chat(p,"Switched to Sword",Enum.ChatColor.Red)
  92. fire.Color = Color3.new(1,0,0)
  93. elseif (msg == "func4") then
  94. func = 4
  95. game:GetService("Chat"):Chat(p,"Switched to Kick",Enum.ChatColor.Blue)
  96. fire.Color = Color3.new(0,0,1)
  97. elseif (msg == "func5") then
  98. func = 5
  99. game:GetService("Chat"):Chat(p,"Switched to Incenerate",Enum.ChatColor.Red)
  100. fire.Color = Color3.new(1,0,0)
  101. message:Remove()
  102. elseif (msg == "func6") then
  103. func = 6
  104. game:GetService("Chat"):Chat(p,"Switched to Insert Giver Ray",Enum.ChatColor.Green)
  105. fire.Color = Color3.new(0,1,0)
  106. elseif (msg == "func7") then
  107. func = 7
  108. game:GetService("Chat"):Chat(p,"Switched to Voice Control",Enum.ChatColor.Green)
  109. fire.Color = Color3.new(0,1,0)
  110. elseif (msg == "trollface") then
  111. frame.Visible = true
  112. frame.Image = "http://www.roblox.com/asset/?id=34723158"
  113. wait(5)
  114. frame.Visible = false
  115. elseif (msg == "epic") then
  116. frame.Visible = true
  117. frame.Image = "http://www.roblox.com/asset/?id=23646110"
  118. wait(5)
  119. frame.Visible = false
  120. elseif (msg == "mad") then
  121. frame.Visible = true
  122. frame.Image = "http://www.roblox.com/asset/?id=49952615"
  123. wait(5)
  124. frame.Visible = false
  125. elseif (msg == "pity") then
  126. frame.Visible = true
  127. frame.Image = "http://www.roblox.com/asset/?id=56389354"
  128. wait(5)
  129. frame.Visible = false
  130. elseif (msg == "coplox") then
  131. frame.Visible = true
  132. frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=coplox"
  133. wait(5)
  134. frame.Visible = false
  135. elseif (msg == "ttyyuu") then
  136. frame.Visible = true
  137. frame.Image = "http://www.roblox.com/asset/?id=56389471"
  138. wait(5)
  139. frame.Visible = false
  140. elseif (msg == "drop") then
  141. frame.Visible = true
  142. frame.Image = "http://www.roblox.com/asset/?id=56389530"
  143. wait(5)
  144. frame.Visible = false
  145. elseif (msg == "me") then
  146. frame.Visible = true
  147. frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username="..pl.Name
  148. wait(5)
  149. frame.Visible = false
  150. elseif (string.lower(msg) == "commands") then
  151. message = Instance.new("Message")
  152. message.Parent = game.Workspace
  153. message.Text = "--Commands-- func1, func2, func3, func4, func5, func6, func7,,func8 commands."
  154. wait(5)
  155. message.Text = "--Commands Part2-- !name(your text), !exe(your text), m/(your text), sm/(your text), !insert (ItemID)."
  156. wait(5)
  157. message.Text = "--Decal Commands-- trollface, epic, mad, me, pity, drop, ttyyuu, coplox."
  158. wait(5)
  159. message:Remove()
  160. elseif (string.sub(msg,1,2) == "m/") then
  161. mess=string.sub(msg,3)
  162. message = Instance.new("Message")
  163. message.Parent = game.Workspace
  164. message.Text = name..": "..mess
  165. wait(5)
  166. message:Remove()
  167. elseif (string.sub(msg,1,3) == "sm/") then
  168. mess=string.sub(msg,4)
  169. message = Instance.new("Message")
  170. message.Parent = game.Workspace
  171. message.Text = mess
  172. wait(5)
  173. message:Remove()
  174. else
  175. Say(msg, name, m)game:GetService("Chat"):Chat(p,tostring(msg),Enum.ChatColor.Blue)
  176. fire.Color = Color3.new(0,0,1)
  177. end
  178. end)
  179. mouse_left = false
  180. mouse.Button1Down:connect(function()
  181. if (func == 1) then
  182. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  183. local mag = (p.Position - mouse.Hit.p).magnitude
  184. if (mag > 2048) then return end
  185. local r = Instance.new("Part")
  186. r.BrickColor = BrickColor.Yellow()
  187. r.formFactor = "Custom"
  188. r.Size = Vector3.new(0.2,0.2,mag)
  189. r.CFrame = cf
  190. r.Anchored = true
  191. r.CanCollide = false
  192. r.Parent = workspace
  193. local e = Instance.new("Explosion")
  194. e.Position = mouse.Hit.p
  195. e.Parent = workspace
  196. wait(0.3)
  197. r:remove()
  198. end
  199. if (func == 2) then
  200. local i = mouse.Target
  201. local oPos = Vector3.new(0,0,0)
  202. if (i == nil) then return end
  203. if (i.Anchored) then return end
  204. mouse_left = true
  205. local bpos = Instance.new("BodyPosition",i)
  206. bpos.maxForce = Vector3.new(1,1,1) * math.huge
  207. local bgyr = Instance.new("BodyGyro",i)
  208. bgyr.maxTorque = Vector3.new(1,1,1) * math.huge
  209. while mouse_left do
  210. wait()
  211. bpos.position = (p.CFrame * CFrame.new(0,0,-i.Size.z * 2)).p
  212. bgyr.cframe = p.CFrame
  213. if ((i.Position - p.Position).magnitude > 30) then
  214. i.CFrame = p.CFrame * CFrame.new(0,0,-i.Size.z * 2)
  215. end
  216. fire.Color = Color3.new(0,1,0)
  217. end
  218. bpos:remove()
  219. bgyr:remove()
  220. end
  221. if (func == 3) then
  222. local i = mouse.Target
  223. local oPos = Vector3.new(0,0,0)
  224. if (i == nil) then return end
  225. if (i.Anchored) then return end
  226. local m = Instance.new("SpecialMesh",p)
  227. m.MeshType = "FileMesh"
  228. m.MeshId = "rbxasset://fonts/sword.mesh"
  229. m.Scale = Vector3.new(2,2,2)
  230. fire.Enabled = false
  231. p.Anchored = false
  232.  
  233. local w = Instance.new("Weld")
  234. w.C0 = CFrame.Angles(0,math.pi,0)
  235. w.Part0 = i
  236. w.Part1 = p
  237. w.Parent = i
  238. wait(3)
  239. i:breakJoints()
  240. m:remove()
  241. p.Anchored = true
  242. fire.Enabled = true
  243. end
  244. if (func == 4) then
  245. local i = mouse.Target
  246. local oPos = Vector3.new(0,0,0)
  247. if (i == nil) then return end
  248. if (i.Anchored) then return end
  249. if (i == nil) then return end
  250. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  251. local mag = (p.Position - mouse.Hit.p).magnitude
  252. if (mag > 2048) then return end
  253. local r = Instance.new("Part")
  254. r.BrickColor = BrickColor.Yellow()
  255. r.formFactor = "Custom"
  256. r.Size = Vector3.new(0.2,0.2,mag)
  257. r.CFrame = cf
  258. r.Anchored = true
  259. r.CanCollide = false
  260. r.Parent = workspace
  261. wait(0.3)
  262. r:remove()
  263. local a = i.Parent:children()
  264. local b = 0
  265. for b = 1, #a do
  266. if (a[b]:IsA("BasePart")) then
  267. player=game.Players:findFirstChild(a[b].Parent.Name)
  268. if player~=nil then
  269. player:Remove()
  270. end
  271. wait(40 / #a)
  272. end
  273. end
  274. for b = 1, #a do
  275. if (a[b]:IsA("BasePart")) then
  276. a[b]:remove()
  277. wait(40 / #a)
  278. end
  279. end
  280. end
  281. if (func == 5) then
  282. local i = mouse.Target
  283. local oPos = Vector3.new(0,0,0)
  284. if (i == nil) then return end
  285. if (i.Anchored) then return end
  286. if (i == nil) then return end
  287. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  288. local mag = (p.Position - mouse.Hit.p).magnitude
  289. if (mag > 2048) then return end
  290. local r = Instance.new("Part")
  291. r.BrickColor = BrickColor.Yellow()
  292. r.formFactor = "Custom"
  293. r.Size = Vector3.new(0.2,0.2,mag)
  294. r.CFrame = cf
  295. r.Anchored = true
  296. r.CanCollide = false
  297. r.Parent = workspace
  298. wait(0.3)
  299. r:remove()
  300. local a = i.Parent:children()
  301. local b = 0
  302. for b = 1, #a do
  303. if (a[b]:IsA("BasePart")) then
  304. Instance.new("Fire",a[b]).Size = a[b].Size.magnitude * 3
  305. wait(40 / #a)
  306. end
  307. end
  308. for b = 1, #a do
  309. if (a[b]:IsA("BasePart")) then
  310. a[b].Color = Color3.new(0,0,0)
  311. wait(40 / #a)
  312. end
  313. end
  314. for b = 1, #a do
  315. if (a[b]:IsA("BasePart")) then
  316. a[b]:remove()
  317. wait(40 / #a)
  318. end
  319. end
  320. end
  321. if (func == 6) then
  322. local i = mouse.Target
  323. local oPos = Vector3.new(0,0,0)
  324. if (i == nil) then return end
  325. if (i.Anchored) then return end
  326. if (i == nil) then return end
  327. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  328. local mag = (p.Position - mouse.Hit.p).magnitude
  329. if (mag > 2048) then return end
  330. local ins = game:GetService("InsertService"):LoadAsset(21001552)
  331. local Ins = nil
  332. local r = Instance.new("Part")
  333. r.BrickColor = BrickColor.Yellow()
  334. r.formFactor = "Custom"
  335. r.Size = Vector3.new(0.2,0.2,mag)
  336. r.CFrame = cf
  337. r.Anchored = true
  338. r.CanCollide = false
  339. r.Parent = workspace
  340. wait(0.3)
  341. r:remove()
  342. local park = ins:GetChildren()
  343. local bark = 0
  344. for bark = 1, #park do
  345. if park[bark]:IsA("Tool") then
  346. Ins = park[bark]
  347. end
  348. end
  349. local a = i.Parent:children()
  350. local b = 0
  351. for b = 1, #a do
  352. if (a[b]:IsA("BasePart")) then
  353. player=game.Players:findFirstChild(a[b].Parent.Name)
  354. if player~=nil then
  355. Ins.Parent = player.Backpack
  356. end
  357. end
  358. end
  359. end
  360. if (func == 7) then
  361. game:GetService("Chat"):Chat(p,"Say something to make the target say it.",Enum.ChatColor.Green)
  362. local i = mouse.Target
  363. local oPos = Vector3.new(0,0,0)
  364. if (i == nil) then return end
  365. if (i.Anchored) then return end
  366. if (i == nil) then return end
  367. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  368. local mag = (p.Position - mouse.Hit.p).magnitude
  369. if (mag > 2048) then return end
  370. local r = Instance.new("Part")
  371. r.BrickColor = BrickColor.Yellow()
  372. r.formFactor = "Custom"
  373. r.Size = Vector3.new(0.2,0.2,mag)
  374. r.CFrame = cf
  375. r.Anchored = true
  376. r.CanCollide = false
  377. r.Parent = workspace
  378. wait(0.3)
  379. r:remove()
  380. local a = i.Parent:children()
  381. local b = 0
  382. while true do
  383. wait()
  384. pl.Chatted:connect(function(msge)
  385. for b = 1, #a do
  386. if (a[b]:IsA("BasePart")) then
  387. player=game.Players:findFirstChild(a[b].Parent.Name)
  388. if player~=nil then
  389. game:GetService("Chat"):Chat(player.Character.Head,msge,Enum.ChatColor.Blue)
  390. end
  391. end
  392. end
  393. end)
  394. end
  395. end
  396.  
  397. end)
  398. mouse.Button1Up:connect(function() mouse_left = false end)
  399.  
  400. while true do
  401. wait()
  402. p.CFrame = c.CoordinateFrame * CFrame.new(0,0,-10)
  403. m.Parent = workspace
  404. p.Parent = m
  405. h.Parent = m
  406. fire.Parent = p
  407. end
  408. end
  409. script.Parent.Selected:connect(onS)
  410. end
  411. game:GetService("Chat"):Chat(p,"Switched to killer mode",Enum.ChatColor.Black) fire.Color = Color3.new(0,1,0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement