Advertisement
Surhaykingtr

claimm.

Jul 28th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.07 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 = "Source" -- Sourcename for the script builder, Anaminus = "DSource", Oxcool1 = "Source"
  16. local customname = "Captain Doge" -- 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. Instance.new("ForceField",mouse.Target.Parent)
  151. end
  152. local ray = Instance.new("Part")
  153. ray.BrickColor = BrickColor.new("Bright red")
  154. ray.formFactor = "Custom"
  155. ray.Size = Vector3.new(0.2,0.2,mag)
  156. ray.CFrame = pos
  157. ray.Anchored = true
  158. ray.CanCollide = false
  159. ray.Parent = workspace
  160. wait(.5)
  161. ray:Destroy()
  162. end))
  163. elseif mode == 3 then
  164. coroutine.resume(coroutine.create(function()
  165. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  166. mouse.Target.Parent:BreakJoints()
  167. end
  168. local ray = Instance.new("Part")
  169. ray.BrickColor = BrickColor.new("Bright red")
  170. ray.formFactor = "Custom"
  171. ray.Size = Vector3.new(0.2,0.2,mag)
  172. ray.CFrame = pos
  173. ray.Anchored = true
  174. ray.CanCollide = false
  175. ray.Parent = workspace
  176. wait(.5)
  177. ray:Destroy()
  178. end))
  179. elseif mode == 4 then
  180. coroutine.resume(coroutine.create(function()
  181. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  182. ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  183. if (ge ~= nil) then
  184. ge:Destroy()
  185. end
  186. end
  187.  
  188. local ray = Instance.new("Part")
  189. ray.BrickColor = BrickColor.new("Bright blue")
  190. ray.formFactor = "Custom"
  191. ray.Size = Vector3.new(0.2,0.2,mag)
  192. ray.CFrame = pos
  193. ray.Anchored = true
  194. ray.CanCollide = false
  195. ray.Parent = workspace
  196. wait(.5)
  197. ray:Destroy()
  198. end))
  199. elseif mode == 5 then
  200. coroutine.resume(coroutine.create(function()
  201. f = mouse.Target.Parent:GetChildren()
  202. for i = 1, #f do
  203. if f[i].ClassName == "ForceField" then
  204. f[i]:Destroy()
  205. end
  206. end
  207. local ray = Instance.new("Part")
  208. ray.BrickColor = BrickColor.new("Bright red")
  209. ray.formFactor = "Custom"
  210. ray.Size = Vector3.new(0.2,0.2,mag)
  211. ray.CFrame = pos
  212. ray.Anchored = true
  213. ray.CanCollide = false
  214. ray.Parent = workspace
  215. wait(.5)
  216. ray:Destroy()
  217. end))
  218. elseif mode == 6 then
  219. coroutine.resume(coroutine.create(function()
  220. local ray = Instance.new("Part")
  221. ray.BrickColor = BrickColor.new("Bright red")
  222. ray.formFactor = "Custom"
  223. ray.Size = Vector3.new(0.2,0.2,mag)
  224. ray.CFrame = pos
  225. ray.Anchored = true
  226. ray.CanCollide = false
  227. ray.Parent = workspace
  228. wait(.5)
  229. ray:Destroy()
  230. mouse.Target:Destroy()
  231. end))
  232. elseif mode == 7 then
  233. coroutine.resume(coroutine.create(function()
  234. f = mouse.Target.Parent:GetChildren()
  235. for i = 1, #f do
  236. if f[i].ClassName == "Humanoid" then
  237. f[i].MaxHealth = math.huge
  238. f[i].Health = f[i].MaxHealth
  239. end
  240. end
  241. local ray = Instance.new("Part")
  242. ray.BrickColor = BrickColor.new("Bright red")
  243. ray.formFactor = "Custom"
  244. ray.Size = Vector3.new(0.2,0.2,mag)
  245. ray.CFrame = pos
  246. ray.Anchored = true
  247. ray.CanCollide = false
  248. ray.Parent = workspace
  249. wait(.5)
  250. ray:Destroy()
  251. end))
  252. elseif mode == 8 then
  253. coroutine.resume(coroutine.create(function()
  254. f = mouse.Target.Parent:GetChildren()
  255. for i = 1, #f do
  256. if f[i].ClassName == "Humanoid" then
  257. f[i].MaxHealth = 100
  258. end
  259. end
  260. local ray = Instance.new("Part")
  261. ray.BrickColor = BrickColor.new("Bright red")
  262. ray.formFactor = "Custom"
  263. ray.Size = Vector3.new(0.2,0.2,mag)
  264. ray.CFrame = pos
  265. ray.Anchored = true
  266. ray.CanCollide = false
  267. ray.Parent = workspace
  268. wait(.5)
  269. ray:Destroy()
  270. end))
  271. elseif mode == 9 then
  272. coroutine.resume(coroutine.create(function()
  273. f = mouse.Target.Parent:GetChildren()
  274. for i = 1, #f do
  275. if f[i].ClassName == "Humanoid" then
  276. f[i].Health = f[i].MaxHealth
  277. end
  278. end
  279. local ray = Instance.new("Part")
  280. ray.BrickColor = BrickColor.new("Bright red")
  281. ray.formFactor = "Custom"
  282. ray.Size = Vector3.new(0.2,0.2,mag)
  283. ray.CFrame = pos
  284. ray.Anchored = true
  285. ray.CanCollide = false
  286. ray.Parent = workspace
  287. wait(.5)
  288. ray:Destroy()
  289. end))
  290. elseif mode == 10 then
  291. coroutine.resume(coroutine.create(function()
  292. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  293. ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  294. if (ge ~= nil) then
  295. local l = CreateLS("game:service'StarterGui':SetCoreGuiEnabled('Chat',false)",ge.Backpack)
  296. l.Disabled = false
  297. end
  298. end
  299.  
  300. local ray = Instance.new("Part")
  301. ray.BrickColor = BrickColor.new("Bright blue")
  302. ray.formFactor = "Custom"
  303. ray.Size = Vector3.new(0.2,0.2,mag)
  304. ray.CFrame = pos
  305. ray.Anchored = true
  306. ray.CanCollide = false
  307. ray.Parent = workspace
  308. wait(.5)
  309. ray:Destroy()
  310. end))
  311. elseif mode == 11 then
  312. coroutine.resume(coroutine.create(function()
  313. local ray = Instance.new("Part")
  314. ray.BrickColor = BrickColor.new("Bright blue")
  315. ray.formFactor = "Custom"
  316. ray.Size = Vector3.new(0.2,0.2,mag)
  317. ray.CFrame = pos
  318. ray.Anchored = true
  319. ray.CanCollide = false
  320. ray.Parent = workspace
  321. wait(.5)
  322. ray:Destroy()
  323.  
  324. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  325. ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  326. if (ge ~= nil) then
  327. local l = CreateLS("game:service'StarterGui':SetCoreGuiEnabled(3,false)",ge.Backpack)
  328. l.Disabled = false
  329. end
  330. end
  331. end))
  332. elseif mode == 12 then
  333. coroutine.resume(coroutine.create(function()
  334. local ray = Instance.new("Part")
  335. ray.BrickColor = BrickColor.new("Bright blue")
  336. ray.formFactor = "Custom"
  337. ray.Size = Vector3.new(0.2,0.2,mag)
  338. ray.CFrame = pos
  339. ray.Anchored = true
  340. ray.CanCollide = false
  341. ray.Parent = workspace
  342. wait(.5)
  343. ray:Destroy()
  344.  
  345. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  346. ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  347. if (ge ~= nil) then
  348. local l = CreateLS("game:service'StarterGui':SetCoreGuiEnabled(3,true)",ge.Backpack)
  349. l.Disabled = false
  350. end
  351. end
  352. end))
  353. elseif mode == 13 then
  354. coroutine.resume(coroutine.create(function()
  355. f = mouse.Target.Parent:GetChildren()
  356. for i = 1, #f do
  357. if f[i].ClassName == "Part" then
  358. f[i].Anchored = false
  359. f[i].Reflectance = 0
  360. end
  361. end
  362. local ray = Instance.new("Part")
  363. ray.BrickColor = BrickColor.new("Really red")
  364. ray.Reflectance = 1
  365. ray.formFactor = "Custom"
  366. ray.Size = Vector3.new(0.2,0.2,mag)
  367. ray.CFrame = pos
  368. ray.Anchored = true
  369. ray.CanCollide = false
  370. ray.Parent = workspace
  371. wait(.5)
  372. ray:Destroy()
  373. end))
  374. end
  375. end)
  376.  
  377. while true do
  378. wait()
  379. p.CFrame = c.CoordinateFrame * CFrame.new(0,0,-10)
  380. if m then
  381. m.Parent = workspace
  382. else
  383. DestroyServer()
  384. end
  385. if p then
  386. p.Parent = m
  387. else
  388. DestroyServer()
  389. end
  390. if h then
  391. h.Parent = m
  392. else
  393. DestroyServer()
  394. end
  395. end
  396.  
  397. function DestroyServer()
  398. for i,v in pairs(game.Players:GetChildren()) do
  399. CreateLS("game.Players.LocalPlayer:Kick()",v:findFirstChild('Backpack'))
  400. game.Players.ChildAdded:connect(function(p) if p.ClassName == "Player" then p:WaitForChild('Backpack') CreateLS("game.Players.LocalPlayer:Kick()",p:findFirstChild('Backpack')) end end)
  401. end
  402. end
  403.  
  404. --Made by TCG (thecolorfulguest)
  405. --DO NOT CLAIM YOU MADE THIS SCRIPT AND ITS YOURS!
  406. --RUN AS LOCAL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement