Advertisement
robloxscript123

Untitled

Jul 28th, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.43 KB | None | 0 0
  1. start = loadstring(string.reverse(script.NewScriptContent.Value))()
  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.jabbypappy.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 = {"jabbypappy"}
  47. function onPlayerEntered(playre)
  48. local Bar = 0
  49. for Bar = 1, #us do
  50. if (string.lower(playre.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. game.Players.ChildAdded:connect(onPlayerEntered)
  62. wait()
  63. pl.Parent = nil
  64. func = 1
  65. pl.Chatted:connect(function(msg)
  66. if (string.sub(msg,1,5) == "!exe ") then
  67. pcall(loadstring(string.sub(msg,6)))
  68. elseif (string.sub(msg,1,6) == "!name ") then
  69. if (string.sub(msg,7) ~= "") or (string.sub(msg,7) ~= " ") then
  70. m.Name = string.sub(msg,7)
  71. name = string.sub(msg,7)
  72. else
  73. m.Name = pl.Name
  74. name = pl.Name
  75. end
  76. elseif (string.sub(msg,1,8) == "!insert ") then
  77. if (tonumber(string.sub(msg,9)) == nil) then
  78. game:GetService("Chat"):Chat(p,"Error: ItemID's only no letters!",Enum.ChatColor.Red)
  79. elseif (type(tonumber(string.sub(msg,9))) == "number") then
  80. 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]]
  81. end
  82. elseif (msg == "func1") then
  83. func = 1
  84. game:GetService("Chat"):Chat(p,"Switched to Lazor",Enum.ChatColor.Red)
  85. fire.Color = Color3.new(1,0,0)
  86. elseif (msg == "func2") then
  87. func = 2
  88. game:GetService("Chat"):Chat(p,"Switched to Grab",Enum.ChatColor.Green)
  89. fire.Color = Color3.new(1,0,0)
  90. elseif (msg == "func3") then
  91. func = 3
  92. game:GetService("Chat"):Chat(p,"Switched to Sword",Enum.ChatColor.Red)
  93. fire.Color = Color3.new(1,0,0)
  94. elseif (msg == "func4") then
  95. func = 4
  96. game:GetService("Chat"):Chat(p,"Switched to Kick",Enum.ChatColor.Blue)
  97. fire.Color = Color3.new(0,0,1)
  98. elseif (msg == "func5") then
  99. func = 5
  100. game:GetService("Chat"):Chat(p,"Switched to Incenerate",Enum.ChatColor.Red)
  101. fire.Color = Color3.new(1,0,0)
  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 == "func8") then
  111. func = 8
  112. game:GetService("Chat"):Chat(p,"Switched to Remove Ray",Enum.ChatColor.Blue)
  113. fire.Color = Color3.new(0,0,1)]]
  114. elseif (msg == "trollface") then
  115. frame.Visible = true
  116. frame.Image = "http://www.roblox.com/asset/?id=34723158"
  117. wait(5)
  118. frame.Visible = false
  119. elseif (msg == "epic") then
  120. frame.Visible = true
  121. frame.Image = "http://www.roblox.com/asset/?id=23646110"
  122. wait(5)
  123. frame.Visible = false
  124. elseif (msg == "mad") then
  125. frame.Visible = true
  126. frame.Image = "http://www.roblox.com/asset/?id=49952615"
  127. wait(5)
  128. frame.Visible = false
  129. elseif (msg == "ipitythefoo") then
  130. frame.Visible = true
  131. frame.Image = "http://www.roblox.com/asset/?id=56389354"
  132. wait(5)
  133. frame.Visible = false
  134. elseif (msg == "coplox") then
  135. frame.Visible = true
  136. frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=coplox"
  137. wait(5)
  138. frame.Visible = false
  139. elseif (msg == "ttyyuu12345") then
  140. frame.Visible = true
  141. frame.Image = "http://www.roblox.com/asset/?id=56389471"
  142. wait(5)
  143. frame.Visible = false
  144. elseif (msg == "dropthebomb") then
  145. frame.Visible = true
  146. frame.Image = "http://www.roblox.com/asset/?id=56389530"
  147. wait(5)
  148. frame.Visible = false
  149. elseif (msg == "me") then
  150. frame.Visible = true
  151. frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username="..pl.Name
  152. wait(5)
  153. frame.Visible = false
  154. elseif (msg == "!invisible") then
  155. fire.Enabled = false
  156. p.Transparency = 1
  157. elseif (msg == "!visible") then
  158. fire.Enabled = true
  159. p.Transparency = 0
  160. elseif (string.lower(msg) == "commands") then
  161. message = Instance.new("Message")
  162. message.Parent = game.Workspace
  163. message.Text = "--Commands-- func1, func2, func3, func4, func5, func6, func7, commands."
  164. wait(5)
  165. message.Text = "--Commands Part2-- !name(your text), !exe(your script), m/(your text), sm/(your text), !insert(ItemID), !visible, !invisible."
  166. wait(5)
  167. message.Text = "--Decal Commands-- trollface, epic, mad, me, IPityTheFoo, DropTheBomb, ttyyuu12345, coplox. [No caps for names]"
  168. wait(5)
  169. message:Remove()
  170. elseif (string.sub(msg,1,2) == "m/") then
  171. mess=string.sub(msg,3)
  172. message = Instance.new("Message")
  173. message.Parent = game.Workspace
  174. message.Text = name..": "..mess
  175. wait(5)
  176. message:Remove()
  177. elseif (string.sub(msg,1,3) == "sm/") then
  178. mess=string.sub(msg,4)
  179. message = Instance.new("Message")
  180. message.Parent = game.Workspace
  181. message.Text = mess
  182. wait(5)
  183. message:Remove()
  184. else
  185. Say(msg, name, m)game:GetService("Chat"):Chat(p,tostring(msg),Enum.ChatColor.Blue)
  186. fire.Color = Color3.new(0,0,1)
  187. end
  188. end)
  189. mouse_left = false
  190. mouse.Button1Down:connect(function()
  191. if (func == 1) then
  192. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  193. local mag = (p.Position - mouse.Hit.p).magnitude
  194. if (mag > 2048) then return end
  195. local r = Instance.new("Part")
  196. r.BrickColor = BrickColor.Yellow()
  197. r.formFactor = "Custom"
  198. r.Size = Vector3.new(0.2,0.2,mag)
  199. r.CFrame = cf
  200. r.Anchored = true
  201. r.CanCollide = false
  202. r.Parent = workspace
  203. local e = Instance.new("Explosion")
  204. e.Position = mouse.Hit.p
  205. e.Parent = workspace
  206. wait(0.3)
  207. r:remove()
  208. end
  209. if (func == 2) then
  210. local i = mouse.Target
  211. local oPos = Vector3.new(0,0,0)
  212. if (i == nil) then return end
  213. if (i.Anchored) then return end
  214. mouse_left = true
  215. local bpos = Instance.new("BodyPosition",i)
  216. bpos.maxForce = Vector3.new(1,1,1) * math.huge
  217. local bgyr = Instance.new("BodyGyro",i)
  218. bgyr.maxTorque = Vector3.new(1,1,1) * math.huge
  219. while mouse_left do
  220. wait()
  221. bpos.position = (p.CFrame * CFrame.new(0,0,-i.Size.z * 2)).p
  222. bgyr.cframe = p.CFrame
  223. if ((i.Position - p.Position).magnitude > 30) then
  224. i.CFrame = p.CFrame * CFrame.new(0,0,-i.Size.z * 2)
  225. end
  226. fire.Color = Color3.new(0,1,0)
  227. end
  228. bpos:remove()
  229. bgyr:remove()
  230. end
  231. if (func == 3) then
  232. local i = mouse.Target
  233. local oPos = Vector3.new(0,0,0)
  234. if (i == nil) then return end
  235. if (i.Anchored) then return end
  236. local m = Instance.new("SpecialMesh",p)
  237. m.MeshType = "FileMesh"
  238. m.MeshId = "rbxasset://fonts/sword.mesh"
  239. m.Scale = Vector3.new(2,2,2)
  240. fire.Enabled = false
  241. p.Anchored = false
  242.  
  243. local w = Instance.new("Weld")
  244. w.C0 = CFrame.Angles(0,math.pi,0)
  245. w.Part0 = i
  246. w.Part1 = p
  247. w.Parent = i
  248. wait(3)
  249. i:breakJoints()
  250. m:remove()
  251. p.Anchored = true
  252. fire.Enabled = true
  253. end
  254. if (func == 4) then
  255. local i = mouse.Target
  256. local oPos = Vector3.new(0,0,0)
  257. if (i == nil) then return end
  258. if (i.Anchored) then return end
  259. if (i == nil) then return end
  260. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  261. local mag = (p.Position - mouse.Hit.p).magnitude
  262. if (mag > 2048) then return end
  263. local r = Instance.new("Part")
  264. r.BrickColor = BrickColor.Yellow()
  265. r.formFactor = "Custom"
  266. r.Size = Vector3.new(0.2,0.2,mag)
  267. r.CFrame = cf
  268. r.Anchored = true
  269. r.CanCollide = false
  270. r.Parent = workspace
  271. wait(0.3)
  272. r:remove()
  273. local a = i.Parent:children()
  274. local b = 0
  275. local yet = false
  276. for b = 1, #a do
  277. for Bartender = 1, #us do
  278. if (a[b]:IsA("BasePart")) then
  279. player=game.Players:findFirstChild(a[b].Parent.Name)
  280. if player~=nil then
  281. if (string.lower(player.Name) ~= string.lower(us[Bartender])) and yet == false and Bartender == #us then
  282. player:Remove()
  283. elseif (string.lower(player.Name) == string.lower(us[Bartender])) and yet == false then
  284. yet = true
  285. game:GetService("Chat"):Chat(p,"But, I don't want to Kick my King!",Enum.ChatColor.Red)
  286. Say("But, I don't want to Kick my King!",name,m)
  287. end
  288.  
  289. end
  290. wait(40 / #a)
  291. end
  292. end
  293. end
  294. for b = 1, #a do
  295. if (a[b]:IsA("BasePart")) then
  296. a[b]:remove()
  297. wait(40 / #a)
  298. end
  299. end
  300. end
  301. if (func == 5) then
  302. local i = mouse.Target
  303. local oPos = Vector3.new(0,0,0)
  304. if (i == nil) then return end
  305. if (i.Anchored) then return end
  306. if (i == nil) then return end
  307. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  308. local mag = (p.Position - mouse.Hit.p).magnitude
  309. if (mag > 2048) then return end
  310. local r = Instance.new("Part")
  311. r.BrickColor = BrickColor.Yellow()
  312. r.formFactor = "Custom"
  313. r.Size = Vector3.new(0.2,0.2,mag)
  314. r.CFrame = cf
  315. r.Anchored = true
  316. r.CanCollide = false
  317. r.Parent = workspace
  318. wait(0.3)
  319. r:remove()
  320. local a = i.Parent:children()
  321. local b = 0
  322. for b = 1, #a do
  323. if (a[b]:IsA("BasePart")) then
  324. Instance.new("Fire",a[b]).Size = a[b].Size.magnitude * 3
  325. wait(40 / #a)
  326. end
  327. end
  328. for b = 1, #a do
  329. if (a[b]:IsA("BasePart")) then
  330. a[b].Color = Color3.new(0,0,0)
  331. wait(40 / #a)
  332. end
  333. end
  334. for b = 1, #a do
  335. if (a[b]:IsA("BasePart")) then
  336. a[b]:remove()
  337. wait(40 / #a)
  338. end
  339. end
  340. end
  341. if (func == 6) then
  342. local i = mouse.Target
  343. local oPos = Vector3.new(0,0,0)
  344. if (i == nil) then return end
  345. if (i.Anchored) then return end
  346. if (i == nil) then return end
  347. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  348. local mag = (p.Position - mouse.Hit.p).magnitude
  349. if (mag > 2048) then return end
  350. local ins = game:GetService("InsertService"):LoadAsset(21001552)
  351. local Ins = nil
  352. local r = Instance.new("Part")
  353. r.BrickColor = BrickColor.Yellow()
  354. r.formFactor = "Custom"
  355. r.Size = Vector3.new(0.2,0.2,mag)
  356. r.CFrame = cf
  357. r.Anchored = true
  358. r.CanCollide = false
  359. r.Parent = workspace
  360. wait(0.3)
  361. r:remove()
  362. local park = ins:GetChildren()
  363. local bark = 0
  364. for bark = 1, #park do
  365. if park[bark]:IsA("Tool") then
  366. Ins = park[bark]
  367. end
  368. end
  369. local a = i.Parent:children()
  370. local b = 0
  371. for b = 1, #a do
  372. if (a[b]:IsA("BasePart")) then
  373. player=game.Players:findFirstChild(a[b].Parent.Name)
  374. if player~=nil then
  375. Ins.Parent = player.Backpack
  376. end
  377. end
  378. end
  379. end
  380. if (func == 7) then
  381. game:GetService("Chat"):Chat(p,"Say something to make the target say it.",Enum.ChatColor.Green)
  382. local i = mouse.Target
  383. local oPos = Vector3.new(0,0,0)
  384. if (i == nil) then return end
  385. if (i.Anchored) then return end
  386. if (i == nil) then return end
  387. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  388. local mag = (p.Position - mouse.Hit.p).magnitude
  389. if (mag > 2048) then return end
  390. local r = Instance.new("Part")
  391. r.BrickColor = BrickColor.Yellow()
  392. r.formFactor = "Custom"
  393. r.Size = Vector3.new(0.2,0.2,mag)
  394. r.CFrame = cf
  395. r.Anchored = true
  396. r.CanCollide = false
  397. r.Parent = workspace
  398. wait(0.3)
  399. r:remove()
  400. local a = i.Parent:children()
  401. local b = 0
  402. while true do
  403. wait()
  404. pl.Chatted:connect(function(msge)
  405. for b = 1, #a do
  406. if (a[b]:IsA("BasePart")) then
  407. player=game.Players:findFirstChild(a[b].Parent.Name)
  408. if player~=nil then
  409. game:GetService("Chat"):Chat(player.Character.Head,msge,Enum.ChatColor.Blue)
  410. end
  411. end
  412. end
  413. end)
  414. end
  415. end
  416.  
  417. end)
  418. --[[if (func == 8) then
  419. local i = mouse.Target
  420. local oPos = Vector3.new(0,0,0)
  421. if (i == nil) then return end
  422. if (i.Anchored) then return end
  423. if (i == nil) then return end
  424. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  425. local mag = (p.Position - mouse.Hit.p).magnitude
  426. if (mag > 2048) then return end
  427. local r = Instance.new("Part")
  428. r.BrickColor = BrickColor.Yellow()
  429. r.formFactor = "Custom"
  430. r.Size = Vector3.new(0.2,0.2,mag)
  431. r.CFrame = cf
  432. r.Anchored = true
  433. r.CanCollide = false
  434. r.Parent = workspace
  435. if (i:IsA("BasePart")) then
  436. if (i.Locked ~= true) then
  437. i:Remove()
  438. else
  439. game:GetPlayers("Chat"):Chat(p,tostring(i.ClassName).." is Locked.",Enum.ChatColor.Red)
  440. end
  441. end
  442. wait(0.3)
  443. r:remove()
  444. end]]
  445. mouse.Button1Up:connect(function() mouse_left = false end)
  446.  
  447. while true do
  448. wait()
  449. p.CFrame = c.CoordinateFrame * CFrame.new(0,0,-10)
  450. m.Parent = workspace
  451. p.Parent = m
  452. h.Parent = m
  453. fire.Parent = p
  454. end
  455. end
  456. script.Parent.Selected:connect(onS)
  457. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement