Advertisement
oliverbcbc

Untitled

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