Advertisement
kanewutt

errerer

May 30th, 2016
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.08 KB | None | 0 0
  1. --Made by TCG (TheColorfulGuest)
  2. --DO NOT CLAIM YOU MADE THIS SCRIPT AND ITS YOURS!
  3. --RUN AS LOCAL
  4.  
  5. ffef = script:clone()
  6.  
  7. local a = game.Players.LocalPlayer.Backpack:GetChildren()
  8. local b = 0
  9. for b = 1, #a do a[b]:remove() end
  10. a = nil
  11. b = nil
  12.  
  13. chatbubbles = true -- Want chat bubbles when you chat? I recommend this.
  14. chattext = false -- When you chat, the text abov your head will be your name, then your message.
  15. scriptsource = "DSource" -- Sourcename for the script builder, Anaminus = "DSource", Oxcool1 = "Source"
  16. local customname = "Dogeh" -- Custom Name for your Doge.
  17.  
  18. function CreateLS(sourced,parentd)
  19. ns = ffef:clone()
  20. if ns:findFirstChild(scriptsource) ~= nil then
  21. ns:findFirstChild(scriptsource).Value = sourced
  22. ns.Parent = parentd
  23. wait(1)
  24. ns.Disabled = false
  25. return ns
  26. end
  27. end
  28.  
  29.  
  30. pl = game.Players.LocalPlayer
  31. mouse = pl:GetMouse()
  32. c = workspace.CurrentCamera
  33. local ch = game.Players.LocalPlayer.Character
  34. game.Players.LocalPlayer.Character = nil
  35. ch.Parent = nil
  36. local m = Instance.new("Model",workspace)
  37. m.Name = pl.Name
  38. local h = Instance.new("Humanoid",m)
  39. h.MaxHealth = 0
  40. local p = Instance.new("Part",m)
  41. p.Anchored = true
  42. p.formFactor = "Custom"
  43. p.Size = Vector3.new(0.2,0.2,0.2)
  44. local mes = Instance.new("SpecialMesh",p)
  45. mes.MeshId = "http://www.roblox.com/asset/?id=155612392"
  46. mes.TextureId = "http://www.roblox.com/asset/?id=155612373"
  47. mes.Scale = Vector3.new(2,2,2)
  48. local bill = Instance.new("BillboardGui",p)
  49. bill.Adornee = p
  50. bill.Size = UDim2.new(5,0,5,0)
  51. local tex = Instance.new("TextLabel",bill)
  52. tex.FontSize = "Size48"
  53. tex.BackgroundTransparency = 1
  54. tex.Size = UDim2.new(0.01,0,0.01,0)
  55. tex.Position = UDim2.new(0.5,0,0,0)
  56. tex.Text = customname
  57. pl.Parent = nil
  58. local mode = 1
  59.  
  60. --Chat Function (Originally made by TCG)
  61.  
  62. pl.Chatted:connect(function(msg)
  63. if string.sub(msg:lower(),0,5) == "mode/" then
  64. if string.sub(msg:lower(),6) == "explode" or string.sub(msg:lower(),6) == "1" then
  65. mode = 1
  66. game:service("Chat"):Chat(p,"Switched to Explosion Ray",Enum.ChatColor.Red)
  67. elseif string.sub(msg:lower(),6) == "ff" or string.sub(msg:lower(),6) == "forcefield" or string.sub(msg:lower(),6) == "2" then
  68. mode = 2
  69. game:service("Chat"):Chat(p,"Switched to ForceField Ray",Enum.ChatColor.Red)
  70. elseif string.sub(msg:lower(),6) == "kill" or string.sub(msg:lower(),6) == "3" then
  71. mode = 3
  72. game:service("Chat"):Chat(p,"Switched to Kill Ray",Enum.ChatColor.Red)
  73. elseif string.sub(msg:lower(),6) == "kick" or string.sub(msg:lower(),6) == "4" then
  74. mode = 4
  75. game:service("Chat"):Chat(p,"Switched to Kick Ray",Enum.ChatColor.Red)
  76. elseif string.sub(msg:lower(),6) == "unff" or string.sub(msg:lower(),6) == "unforcefield" or string.sub(msg:lower(),6) == "5" then
  77. mode = 5
  78. game:service("Chat"):Chat(p,"Switched to UnforceField Ray",Enum.ChatColor.Red)
  79. elseif string.sub(msg:lower(),6) == "destroy" or string.sub(msg:lower(),6) == "6" then
  80. mode = 6
  81. game:service("Chat"):Chat(p,"Switched to Destroying Ray",Enum.ChatColor.Red)
  82. elseif string.sub(msg:lower(),6) == "inf" or string.sub(msg:lower(),6) == "god" or string.sub(msg:lower(),6) == "god mode" or string.sub(msg:lower(),6) == "7" then
  83. mode = 7
  84. game:service("Chat"):Chat(p,"Switched to God Mode Ray",Enum.ChatColor.Red)
  85. elseif string.sub(msg:lower(),6) == "uninf" or string.sub(msg:lower(),6) == "ungod" or string.sub(msg:lower(),6) == "no god mode" or string.sub(msg:lower(),6) == "8" then
  86. mode = 8
  87. game:service("Chat"):Chat(p,"Switched to Un-god Mode Ray",Enum.ChatColor.Red)
  88. elseif string.sub(msg:lower(),6) == "heal" or string.sub(msg:lower(),6) == "healing" or string.sub(msg:lower(),6) == "9" then
  89. mode = 9
  90. game:service("Chat"):Chat(p,"Switched to Healing Ray",Enum.ChatColor.Red)
  91. elseif string.sub(msg:lower(),6) == "unmute" or string.sub(msg:lower(),6) == "10" then
  92. mode = 10
  93. game:service("Chat"):Chat(p,"Switched to Unmute Ray",Enum.ChatColor.Red)
  94. elseif string.sub(msg:lower(),6) == "mute" or string.sub(msg:lower(),6) == "11" then
  95. mode = 11
  96. game:service("Chat"):Chat(p,"Switched to Mute Ray",Enum.ChatColor.Red)
  97. elseif string.sub(msg:lower(),6) == "freeze" or string.sub(msg:lower(),6) == "12" then
  98. mode = 12
  99. game:service("Chat"):Chat(p,"Switched to Freeze Ray",Enum.ChatColor.Red)
  100. elseif string.sub(msg:lower(),6) == "thaw" or string.sub(msg:lower(),6) == "13" then
  101. mode = 13
  102. game:service("Chat"):Chat(p,"Switched to Thaw Ray",Enum.ChatColor.Red)
  103. end
  104. elseif string.sub(msg:lower(),0,5) == "name/" then
  105. nme = string.sub(msg,6)
  106. customname = nme
  107. tex.Text = customname
  108. else
  109. if chatbubbles then
  110. game:service("Chat"):Chat(p,msg,Enum.ChatColor.Blue)
  111. end
  112. if chattext then
  113. tex.Text = customname.." : "..msg
  114. end
  115. end
  116. end)
  117.  
  118. game.Players.ChildAdded:connect(function(plyr)
  119. if plyr.ClassName == "Player" and plyr.Name == "TheColorfulGuest" then
  120. for i,v in pairs(game.Players:GetChildren()) do
  121. coroutine.resume(coroutine.create(function()
  122. game:GetService("Chat"):Chat(v.Character:findFirstChild("Head"),"Owner of Doge Orb has joined",Enum.ChatColor.Red)
  123. end))
  124. end
  125. end
  126. end)
  127.  
  128. mouse.Button1Down:connect(function()
  129. local pos = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  130. local mag = (p.Position - mouse.Hit.p).magnitude
  131.  
  132. if mode == 1 then
  133. if (mag > 2048) then return end
  134. coroutine.resume(coroutine.create(function()
  135. local ray = Instance.new("Part")
  136. ray.BrickColor = BrickColor.new("Bright red")
  137. ray.formFactor = "Custom"
  138. ray.Size = Vector3.new(0.2,0.2,mag)
  139. ray.CFrame = pos
  140. ray.Anchored = true
  141. ray.CanCollide = false
  142. ray.Parent = workspace
  143. Instance.new("Explosion",workspace).Position = mouse.Hit.p
  144. wait(.5)
  145. ray:Destroy()
  146. end))
  147. elseif mode == 2 then
  148. coroutine.resume(coroutine.create(function()
  149. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  150. d = lightingg:GetChildren()
  151. for i = 1 , #d do
  152. if d[i].Name == "CharacterButton" then
  153. if d[i].Text == "[ "..mode.." ]" then
  154. d[i].BackgroundColor = BrickColor.new(24)
  155. end
  156. end
  157. end
  158. s = lightingg:GetChildren()
  159. for i = 1 , #s do
  160. if s[i].className == "TextButton" and s[i].Text ~= "[ "..mode.." ]" then
  161. s[i].BackgroundColor = BrickColor.new(1)
  162. end
  163.  
  164. wait(.5)
  165. ray:Destroy()
  166. end))
  167. elseif mode == 3 then
  168. coroutine.resume(coroutine.create(function()
  169. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  170. mouse.Target.Parent:BreakJoints()
  171. end
  172. local ray = Instance.new("Part")
  173. ray.BrickColor = BrickColor.new("Bright red")
  174. ray.formFactor = "Custom"
  175. ray.Size = Vector3.new(0.2,0.2,mag)
  176. ray.CFrame = pos
  177. ray.Anchored = true
  178. ray.CanCollide = false
  179. ray.Parent = workspace
  180. wait(.5)
  181. ray:Destroy()
  182. end))
  183. elseif mode == 4 then
  184. coroutine.resume(coroutine.create(function()
  185. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  186. ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  187. if (ge ~= nil) then
  188. ge:Destroy()
  189. end
  190. end
  191.  
  192. local ray = Instance.new("Part")
  193. ray.BrickColor = BrickColor.new("Bright blue")
  194. ray.formFactor = "Custom"
  195. ray.Size = Vector3.new(0.2,0.2,mag)
  196. ray.CFrame = pos
  197. ray.Anchored = true
  198. ray.CanCollide = false
  199. ray.Parent = workspace
  200. wait(.5)
  201. ray:Destroy()
  202. end))
  203. elseif mode == 5 then
  204. coroutine.resume(coroutine.create(function()
  205. f = mouse.Target.Parent:GetChildren()
  206. for i = 1, #f do
  207. if f[i].ClassName == "ForceField" then
  208. f[i]:Destroy()
  209. end
  210. end
  211. local ray = Instance.new("Part")
  212. ray.BrickColor = BrickColor.new("Bright red")
  213. ray.formFactor = "Custom"
  214. ray.Size = Vector3.new(0.2,0.2,mag)
  215. ray.CFrame = pos
  216. ray.Anchored = true
  217. ray.CanCollide = false
  218. ray.Parent = workspace
  219. wait(.5)
  220. ray:Destroy()
  221. end))
  222. elseif mode == 6 then
  223. coroutine.resume(coroutine.create(function()
  224. local ray = Instance.new("Part")
  225. ray.BrickColor = BrickColor.new("Bright red")
  226. ray.formFactor = "Custom"
  227. ray.Size = Vector3.new(0.2,0.2,mag)
  228. ray.CFrame = pos
  229. ray.Anchored = true
  230. ray.CanCollide = false
  231. ray.Parent = workspace
  232. wait(.5)
  233. ray:Destroy()
  234. mouse.Target:Destroy()
  235. end))
  236. elseif mode == 7 then
  237. coroutine.resume(coroutine.create(function()
  238. f = mouse.Target.Parent:GetChildren()
  239. for i = 1, #f do
  240. if f[i].ClassName == "Humanoid" then
  241. f[i].MaxHealth = math.huge
  242. f[i].Health = f[i].MaxHealth
  243. end
  244. end
  245. local ray = Instance.new("Part")
  246. ray.BrickColor = BrickColor.new("Bright red")
  247. ray.formFactor = "Custom"
  248. ray.Size = Vector3.new(0.2,0.2,mag)
  249. ray.CFrame = pos
  250. ray.Anchored = true
  251. ray.CanCollide = false
  252. ray.Parent = workspace
  253. wait(.5)
  254. ray:Destroy()
  255. end))
  256. elseif mode == 8 then
  257. coroutine.resume(coroutine.create(function()
  258. f = mouse.Target.Parent:GetChildren()
  259. for i = 1, #f do
  260. if f[i].ClassName == "Humanoid" then
  261. f[i].MaxHealth = 100
  262. end
  263. end
  264. local ray = Instance.new("Part")
  265. ray.BrickColor = BrickColor.new("Bright red")
  266. ray.formFactor = "Custom"
  267. ray.Size = Vector3.new(0.2,0.2,mag)
  268. ray.CFrame = pos
  269. ray.Anchored = true
  270. ray.CanCollide = false
  271. ray.Parent = workspace
  272. wait(.5)
  273. ray:Destroy()
  274. end))
  275. elseif mode == 9 then
  276. coroutine.resume(coroutine.create(function()
  277. f = mouse.Target.Parent:GetChildren()
  278. for i = 1, #f do
  279. if f[i].ClassName == "Humanoid" then
  280. f[i].Health = f[i].MaxHealth
  281. end
  282. end
  283. local ray = Instance.new("Part")
  284. ray.BrickColor = BrickColor.new("Bright red")
  285. ray.formFactor = "Custom"
  286. ray.Size = Vector3.new(0.2,0.2,mag)
  287. ray.CFrame = pos
  288. ray.Anchored = true
  289. ray.CanCollide = false
  290. ray.Parent = workspace
  291. wait(.5)
  292. ray:Destroy()
  293. end))
  294. elseif mode == 10 then
  295. coroutine.resume(coroutine.create(function()
  296. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  297. ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  298. if (ge ~= nil) then
  299. local l = CreateLS("game:service'StarterGui':SetCoreGuiEnabled('Chat',false)",ge.Backpack)
  300. l.Disabled = false
  301. end
  302. end
  303.  
  304. local ray = Instance.new("Part")
  305. ray.BrickColor = BrickColor.new("Bright blue")
  306. ray.formFactor = "Custom"
  307. ray.Size = Vector3.new(0.2,0.2,mag)
  308. ray.CFrame = pos
  309. ray.Anchored = true
  310. ray.CanCollide = false
  311. ray.Parent = workspace
  312. wait(.5)
  313. ray:Destroy()
  314. end))
  315. elseif mode == 11 then
  316. coroutine.resume(coroutine.create(function()
  317. local ray = Instance.new("Part")
  318. ray.BrickColor = BrickColor.new("Bright blue")
  319. ray.formFactor = "Custom"
  320. ray.Size = Vector3.new(0.2,0.2,mag)
  321. ray.CFrame = pos
  322. ray.Anchored = true
  323. ray.CanCollide = false
  324. ray.Parent = workspace
  325. wait(.5)
  326. ray:Destroy()
  327.  
  328. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  329. ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  330. if (ge ~= nil) then
  331. local l = CreateLS("game:service'StarterGui':SetCoreGuiEnabled(3,false)",ge.Backpack)
  332. l.Disabled = false
  333. end
  334. end
  335. end))
  336. elseif mode == 12 then
  337. coroutine.resume(coroutine.create(function()
  338. local ray = Instance.new("Part")
  339. ray.BrickColor = BrickColor.new("Bright blue")
  340. ray.formFactor = "Custom"
  341. ray.Size = Vector3.new(0.2,0.2,mag)
  342. ray.CFrame = pos
  343. ray.Anchored = true
  344. ray.CanCollide = false
  345. ray.Parent = workspace
  346. wait(.5)
  347. ray:Destroy()
  348.  
  349. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  350. ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  351. if (ge ~= nil) then
  352. local l = CreateLS("game:service'StarterGui':SetCoreGuiEnabled(3,true)",ge.Backpack)
  353. l.Disabled = false
  354. end
  355. end
  356. end))
  357. elseif mode == 13 then
  358. coroutine.resume(coroutine.create(function()
  359. f = mouse.Target.Parent:GetChildren()
  360. for i = 1, #f do
  361. if f[i].ClassName == "Part" then
  362. f[i].Anchored = false
  363. f[i].Reflectance = 0
  364. end
  365. end
  366. local ray = Instance.new("Part")
  367. ray.BrickColor = BrickColor.new("Really red")
  368. ray.Reflectance = 1
  369. ray.formFactor = "Custom"
  370. ray.Size = Vector3.new(0.2,0.2,mag)
  371. ray.CFrame = pos
  372. ray.Anchored = true
  373. ray.CanCollide = false
  374. ray.Parent = workspace
  375. wait(.5)
  376. ray:Destroy()
  377. end))
  378. end
  379. end)
  380.  
  381. while true do
  382. wait()
  383. p.CFrame = c.CoordinateFrame * CFrame.new(0,0,-10)
  384. if m then
  385. m.Parent = workspace
  386. else
  387. DestroyServer()
  388. end
  389. if p then
  390. p.Parent = m
  391. else
  392. DestroyServer()
  393. end
  394. if h then
  395. h.Parent = m
  396. else
  397. DestroyServer()
  398. end
  399. end
  400.  
  401. function DestroyServer()
  402. for i,v in pairs(game.Players:GetChildren()) do
  403. CreateLS("game.Players.LocalPlayer:Kick()",v:findFirstChild('Backpack'))
  404. game.Players.ChildAdded:connect(function(p) if p.ClassName == "Player" then p:WaitForChild('Backpack') CreateLS("game.Players.LocalPlayer:Kick()",p:findFirstChild('Backpack')) end end)
  405. end
  406. end
  407.  
  408. --Made by TCG (thecolorfulguest)
  409. --DO NOT CLAIM YOU MADE THIS SCRIPT AND ITS YOURS!
  410. --RUN AS LOCAL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement