Advertisement
Guest User

Roblox God Script

a guest
Aug 7th, 2012
43,751
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.32 KB | None | 0 0
  1. local sizelol = Vector3.new(0.01,0.01,0.01)
  2. if script ~= nil then script.Parent = nil end
  3.  
  4. function Reset()
  5. pcall(function() Camball.Model:Remove() end)
  6. pcall(function() Camball.Part1:Remove() end)
  7. pcall(function() Camball.Part2:Remove() end)
  8. pcall(function() Camball.Humanoid:Remove() end)
  9. Camball = {}
  10. Camball.Activated = true
  11. Camball.Removed = false
  12. Camball.Moving = true
  13. Camball.Busy = false
  14. Camball.BusyBypass = false
  15. Camball.Hidden = false
  16. Camball.WaitTime = 0.05
  17. Camball.Name = "God "
  18. Camball.ChatColor = Enum.ChatColor.Red
  19. Camball.Color = BrickColor.new("Really black")
  20. Camball.Point1 = CFrame.new()
  21. Camball.Point2 = CFrame.new()
  22. Camball.Model = Instance.new("Model")
  23. Camball.Part1 = Instance.new("Part")
  24. Camball.Part1.Transparency = 1
  25. Camball.Part1Mesh = Instance.new("SpecialMesh", Camball.Part1)
  26. Camball.Part2 = Instance.new("Part")
  27. Camball.Part2.Transparency = 1
  28. Camball.Part2Mesh = Instance.new("SpecialMesh", Camball.Part2)
  29. Camball.Humanoid = Instance.new("Humanoid")
  30. canim=game.Players.LocalPlayer.Character.Animate
  31. lanim=canim:clone()
  32. lanim.Parent = game.Lighting
  33. Camball.GetRecursiveChildren = function(Source, Name, SearchType, Children)
  34. if type(Source) ~= "userdata" then
  35. Source = game
  36. end
  37. if type(Name) ~= "string" then
  38. Name = "XxbudlimitedsxX"
  39. end
  40. if type(Children) ~= "table" then
  41. Children = {}
  42. end
  43. for _, Child in pairs(Source:children()) do
  44. pcall(function()
  45. if (function()
  46. if SearchType == nil or SearchType == 1 then
  47. return string.match(Child.Name:lower(), Name:lower())
  48. elseif SearchType == 2 then
  49. return string.match(Child.className:lower(), Name:lower())
  50. elseif SearchType == 3 then
  51. return Child:IsA(Name) or Child:IsA(Name:lower())
  52. elseif SearchType == 4 then
  53. return string.match(Child.Name:lower() .. string.rep(string.char(1), 5) .. Child.className:lower(), Name:lower()) or Child:IsA(Name) or Child:IsA(Name:lower())
  54. end
  55. return false
  56. end)() and Child ~= script then
  57. table.insert(Children, Child)
  58. end
  59. Camball.GetRecursiveChildren(Child, Name, SearchType, Children)
  60. end)
  61. end
  62. return Children
  63. end
  64. end
  65. Reset()
  66. bannedlist = {}
  67.  
  68. function onPlayerEntered(newPlayer)
  69. for i=1,#bannedlist do
  70. if (newPlayer.Name == bannedlist[i]) then
  71. local hint = Instance.new("Hint",game.Workspace)
  72. hint.Text = "Banned user "..newPlayer.Name.." has tried to join."
  73. newPlayer:remove()
  74. break
  75. else
  76. local hint = Instance.new("Hint",game.Workspace)
  77. hint.Text = newPlayer.Name.." has joined."
  78. end
  79. end
  80. end
  81.  
  82. game.Players.PlayerAdded:connect(onPlayerEntered)
  83.  
  84. CatchMsg = function(Msg)
  85. if Camball.Activated == false then return end
  86. if Msg == "/fixlocal" then
  87. game:service("ScriptContext").ScriptsDisabled = true
  88. for i = 1, 10 do
  89. for _, Part in pairs(Camball.GetRecursiveChildren()) do
  90. if Part.className ~= "Player" then
  91. pcall(function() Part.Disabled = true end)
  92. pcall(function() Part:Remove() end)
  93. end
  94. end
  95. wait()
  96. end
  97. wait(0.5)
  98. Base = Instance.new("Part")
  99. Base.Name = "Base"
  100. Base.BrickColor = BrickColor.new("Dark green")
  101. Base.TopSurface = "Studs"
  102. Base.BottomSurface = "Smooth"
  103. Base.formFactor = "Custom"
  104. Base.Size = Vector3.new(1000, 5, 1000)
  105. Base.CFrame = CFrame.new(0, -2, 0)
  106. Base.Locked = true
  107. Base.Anchored = true
  108. Base.Parent = workspace
  109. game:service("Lighting").Brightness = 1
  110. game:service("Lighting").GeographicLatitude = 41.73
  111. game:service("Lighting").Ambient = Color3.new(128 / 255, 128 / 255, 128 / 255)
  112. game:service("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  113. game:service("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  114. game:service("Lighting").ShadowColor = Color3.new(179 / 255, 179 / 255, 184 / 255)
  115. game:service("Lighting").TimeOfDay = "14:00:00"
  116. for _, Player in pairs(game:service("Players"):GetPlayers()) do
  117. pcall(function()
  118. local Model = Instance.new("Model", workspace)
  119. local Part = Instance.new("Part", Model)
  120. Part.Name = "Head"
  121. Part.Transparency = 1
  122. Part.CanCollide = false
  123. Part.Anchored = true
  124. Part.Locked = true
  125. Part.Parent = Model
  126. local Humanoid = Instance.new("Humanoid", Model)
  127. Humanoid.Health = 100
  128. Player.Character = Model
  129. Humanoid.Health = 0
  130. end)
  131. end
  132. wait()
  133. game:service("ScriptContext").ScriptsDisabled = false
  134. elseif Msg == "/fix" then
  135. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  136. QuickScript.Name = "Fix"
  137. QuickScript.Debug:Remove()
  138. QuickScript.NewSource.Value = [[game:service("ScriptContext").ScriptsDisabled = true
  139. for i = 1, 10 do
  140. for _, Part in pairs(Camball.GetRecursiveChildren()) do
  141. if Part.className ~= "Player" then
  142. pcall(function() Part.Disabled = true end)
  143. pcall(function() Part:Remove() end)
  144. end
  145. end
  146. wait()
  147. end
  148. wait(0.5)
  149. Base = Instance.new("Part")
  150. Base.Name = "Base"
  151. Base.BrickColor = BrickColor.new("Dark green")
  152. Base.TopSurface = "Studs"
  153. Base.BottomSurface = "Smooth"
  154. Base.formFactor = "Custom"
  155. Base.Size = Vector3.new(1000, 5, 1000)
  156. Base.CFrame = CFrame.new(0, -2, 0)
  157. Base.Locked = true
  158. Base.Anchored = true
  159. Base.Parent = workspace
  160. game:service("Lighting").Brightness = 1
  161. game:service("Lighting").GeographicLatitude = 41.73
  162. game:service("Lighting").Ambient = Color3.new(128 / 255, 128 / 255, 128 / 255)
  163. game:service("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  164. game:service("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  165. game:service("Lighting").ShadowColor = Color3.new(179 / 255, 179 / 255, 184 / 255)
  166. game:service("Lighting").TimeOfDay = "14:00:00"
  167. for _, Player in pairs(game:service("Players"):GetPlayers()) do
  168. pcall(function()
  169. local Model = Instance.new("Model", workspace)
  170. local Part = Instance.new("Part", Model)
  171. Part.Name = "Head"
  172. Part.Transparency = 1
  173. Part.CanCollide = false
  174. Part.Anchored = true
  175. Part.Locked = true
  176. Part.Parent = Model
  177. local Humanoid = Instance.new("Humanoid", Model)
  178. Humanoid.Health = 100
  179. Player.Character = Model
  180. Humanoid.Health = 0
  181. end)
  182. end
  183. wait()
  184. game:service("ScriptContext").ScriptsDisabled = false]]
  185. QuickScript.Parent = workspace
  186. elseif Msg == "/stop" then
  187. Camball.Moving = false
  188. elseif Msg == "/go" then
  189. Camball.Moving = true
  190. elseif Msg == "/up" then
  191. pcall(function() game:service("Players").LocalPlayer.Character:Remove() end)
  192. game:service("Players").LocalPlayer.Character = nil
  193. elseif Msg == "/down" then
  194. if game:service("Players").LocalPlayer.Character ~= nil then
  195. CatchMsg("/up")
  196. end
  197. Character = Instance.new("Model")
  198. Character.Name = Camball.Name
  199. Character.Parent = workspace
  200. local Head = Instance.new("Part")
  201. Head.Name = "Head"
  202. Head.formFactor = 0
  203. Head.Size = Vector3.new(2, 1, 1)
  204. Head.TopSurface = 0
  205. Head.BottomSurface = "Weld"
  206. Head.BrickColor = BrickColor.new("Medium stone grey")
  207. Head.Parent = Character
  208. local Mesh = Instance.new("SpecialMesh")
  209. Mesh.MeshType = "Head"
  210. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  211. Mesh.Parent = Head
  212. local Face = Instance.new("Decal")
  213. Face.Name = "face"
  214. Face.Face = "Front"
  215. Face.Texture = "rbxasset://textures/drool.png"
  216. Face.Parent = Head
  217. local Torso = Instance.new("Part")
  218. Torso.Name = "Torso"
  219. Torso.formFactor = 0
  220. Torso.Size = Vector3.new(2, 2, 1)
  221. Torso.TopSurface = "Studs"
  222. Torso.BottomSurface = "Inlet"
  223. Torso.LeftSurface = "Weld"
  224. Torso.RightSurface = "Weld"
  225. Torso.BrickColor = BrickColor.new("Bright red")
  226. Torso.Parent = Character
  227. local TShirt = Instance.new("Decal")
  228. TShirt.Name = "roblox"
  229. TShirt.Face = "Front"
  230. TShirt.Texture = "http://www.roblox.com/asset/?id=64494357"
  231. TShirt.Parent = Torso
  232. local Limb = Instance.new("Part")
  233. Limb.formFactor = 0
  234. Limb.Size = Vector3.new(1, 2, 1)
  235. Limb.TopSurface = "Studs"
  236. Limb.BottomSurface = "Inlet"
  237. Limb.BrickColor = BrickColor.new("Medium blue")
  238. local Limb2 = Instance.new("Part")
  239. Limb2.formFactor = 0
  240. Limb2.Size = Vector3.new(1, 2, 1)
  241. Limb2.TopSurface = "Studs"
  242. Limb2.BottomSurface = "Inlet"
  243. Limb2.BrickColor = BrickColor.new("Medium stone grey")
  244. local LeftArm = Limb2:Clone()
  245. LeftArm.Name = "Left Arm"
  246. LeftArm.Parent = Character
  247. local RightArm = Limb2:Clone()
  248. RightArm.Name = "Right Arm"
  249. RightArm.Parent = Character
  250. local LeftLeg = Limb:Clone()
  251. LeftLeg.Name = "Left Leg"
  252. LeftLeg.Parent = Character
  253. local RightLeg = Limb:Clone()
  254. RightLeg.Name = "Right Leg"
  255. RightLeg.Parent = Character
  256. Character:BreakJoints()
  257. local Neck = Instance.new("Motor6D")
  258. Neck.Name = "Neck"
  259. Neck.Part0 = Torso
  260. Neck.Part1 = Head
  261. Neck.C0 = CFrame.new(0, 2, 0)
  262. Neck.C1 = CFrame.new(0, 0.5, 0)
  263. Neck.MaxVelocity = 0
  264. Neck.Parent = Torso
  265. local LeftShoulder = Instance.new("Motor6D")
  266. LeftShoulder.Name = "Left Shoulder"
  267. LeftShoulder.Part0 = Torso
  268. LeftShoulder.Part1 = LeftArm
  269. LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  270. LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  271. LeftShoulder.MaxVelocity = 0.5
  272. LeftShoulder.Parent = Torso
  273. local RightShoulder = Instance.new("Motor6D")
  274. RightShoulder.Name = "Right Shoulder"
  275. RightShoulder.Part0 = Torso
  276. RightShoulder.Part1 = RightArm
  277. RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  278. RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  279. RightShoulder.MaxVelocity = 0.5
  280. RightShoulder.Parent = Torso
  281. local LeftHip = Instance.new("Motor6D")
  282. LeftHip.Name = "Left Hip"
  283. LeftHip.Part0 = Torso
  284. LeftHip.Part1 = LeftLeg
  285. LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  286. LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  287. LeftHip.MaxVelocity = 0.1
  288. LeftHip.Parent = Torso
  289. local RightHip = Instance.new("Motor6D")
  290. RightHip.Name = "Right Hip"
  291. RightHip.Part0 = Torso
  292. RightHip.Part1 = RightLeg
  293. RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  294. RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  295. RightHip.MaxVelocity = 0.1
  296. RightHip.Parent = Torso
  297. local Humanoid = Instance.new("Humanoid")
  298. Humanoid.Parent = Character
  299. Humanoid.WalkSpeed = 20
  300. local BodyColors = Instance.new("BodyColors")
  301. BodyColors.Name = "Body Colors"
  302. BodyColors.HeadColor = Head.BrickColor
  303. BodyColors.TorsoColor = Torso.BrickColor
  304. BodyColors.LeftArmColor = LeftArm.BrickColor
  305. BodyColors.RightArmColor = RightArm.BrickColor
  306. BodyColors.LeftLegColor = LeftLeg.BrickColor
  307. BodyColors.RightLegColor = RightLeg.BrickColor
  308. BodyColors.Parent = Character
  309. local Shirt = Instance.new("Shirt")
  310. Shirt.Name = "Shirt"
  311. Shirt.ShirtTemplate = ""
  312. Shirt.Parent = Character
  313. local ShirtGraphic = Instance.new("ShirtGraphic")
  314. ShirtGraphic.Name = "Shirt Graphic"
  315. ShirtGraphic.Graphic = ""
  316. ShirtGraphic.Parent = Character
  317. local Pants = Instance.new("Pants")
  318. Pants.Name = "Pants"
  319. Pants.PantsTemplate = ""
  320. Pants.Parent = Character
  321. Torso.CFrame = CFrame.new(Camball.Point1.p, Camball.Point2.p)
  322. game:service("Players").LocalPlayer.Character = Character
  323. workspace.CurrentCamera.CameraSubject = Character.Humanoid
  324. workspace.CurrentCamera.CameraType = "Custom"
  325. hats = {1125510,16630147,1235488,11748356}
  326. for i = 1, #hats do
  327. root = game:GetService("InsertService"):LoadAsset(hats[i])
  328. root.Parent = Character
  329. z = root:GetChildren()
  330. for f = 1, #z do
  331. z[f].Parent = Character
  332. end
  333. root:Remove()
  334. end
  335. ganim=game.Lighting:findFirstChild("Animate")
  336. kanim=ganim:clone()
  337. kanim.Parent = Character
  338.  
  339. elseif string.sub(Msg, 0, 7) == "borrow/" then
  340. for _,v in pairs(game.Players:GetPlayers()) do
  341. if string.find(v.Name, string.sub(Msg, 8)) ~= nil then
  342. game:service("Players").LocalPlayer.Character = v.Character
  343. workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
  344. workspace.CurrentCamera.CameraType = "Custom"
  345. end
  346. end
  347.  
  348. elseif string.sub(Msg, 0, 4) == "msg/" then
  349. for i,v in pairs(game.Players:GetPlayers()) do
  350. game:GetService("Chat"):Chat(v.Character.Head,string.sub(Msg, 5),Enum.ChatColor.Blue)
  351. end
  352.  
  353. elseif string.sub(Msg, 0, 7) == "getage/" then
  354. for _,v in pairs(game.Players:GetPlayers()) do
  355. if string.find(v.Name, string.sub(Msg, 8)) ~= nil then
  356. local at = 0
  357. local age = v.AccountAge
  358. while true do
  359. wait()
  360. if age - 365 < 0 then
  361. break
  362. end
  363. at = at + 1
  364. age = age - 365
  365. end
  366. local h = Instance.new("Hint", workspace)
  367. h.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old"
  368. wait(4)
  369. if h then
  370. h:remove()
  371. end
  372. end
  373. end
  374.  
  375. elseif string.sub(Msg, 0, 8) == "highage/" then
  376. for _,v in pairs(game.Players:GetPlayers()) do
  377. if string.find(v.Name, string.sub(Msg, 9)) ~= nil then
  378. v.AccountAgeReplicate = 7*360
  379. end
  380. end
  381.  
  382. elseif string.sub(Msg, 0, 5) == "hulk/" then
  383. for _,v in pairs(game.Players:GetPlayers()) do
  384. if string.find(v.Name, string.sub(Msg, 6)) ~= nil then
  385. local hulk = 72648316
  386. root = game:GetService("InsertService"):LoadAsset(hulk)
  387. root.Parent = game.Workspace
  388. z = root:GetChildren()
  389. for f = 1, #z do
  390. z[f].Parent = game.Workspace
  391. z[f]["Right Leg"].BrickColor = BrickColor.new("Bright violet")
  392. z[f]["Left Leg"].BrickColor = BrickColor.new("Bright violet")
  393. z[f].Name = "The Incredible Hulk"
  394. wait(1)
  395. v.Character = z[f]
  396. end
  397. root:Remove()
  398. wait(1)
  399. v.Character["Right Leg"].BrickColor = BrickColor.new("Bright violet")
  400. v.Character["Left Leg"].BrickColor = BrickColor.new("Bright violet")
  401. end
  402. end
  403.  
  404. elseif string.sub(Msg, 0, 5) == "kick/" then
  405. if game:service("Players")[string.sub(Msg, 6)]~= nil then
  406. game:service("Players")[string.sub(Msg, 6)]:remove()
  407. end
  408.  
  409. elseif string.sub(Msg, 0, 4) == "ban/" then
  410. for _,v in pairs (game.Players:GetChildren()) do
  411. if string.find(v.Name, string.sub(Msg, 5)) then
  412. pcall(function()
  413. v:remove()
  414. table.insert(bannedlist, v.Name)
  415. end)
  416. end
  417. end
  418.  
  419. elseif string.sub(Msg, 0, 6) == "unban/" then
  420. for num,v in pairs(bannedlist) do
  421. if string.sub(v:lower(), 0, #string.sub(Msg, 7)) == string.sub(Msg, 7) then
  422. table.remove(bannedlist, v.Name)
  423. end
  424. end
  425.  
  426. elseif string.sub(Msg, 0, 11) == "bannedlist/" then
  427. local mess = Instance.new("Message",game:service("Players").LocalPlayer.PlayerGui)
  428. for num,v in pairs(bannedlist) do
  429. mess.Text = v.." , "..num
  430. end
  431. mess:remove()
  432.  
  433. elseif string.sub(Msg, 0, 6) == "crash/" then
  434. for _,v in pairs(game.Players:GetPlayers()) do
  435. if string.find(v.Name, string.sub(Msg, 7)) then
  436. while true do
  437. wait()
  438. for i = 1, 16000 do
  439. if v:findFirstChild("PlayerGui") ~= nil then
  440. local mes = Instance.new("Message", v.PlayerGui)
  441. mes.Text = "Crashing"
  442. local ex = Instance.new("Explosion", v.PlayerGui)
  443. ex.BlastRadius = math.huge
  444. local hint = Instance.new("Hint", v.PlayerGui)
  445. hint.Text = "---------------------------------------------------------------------------"
  446. local s = Instance.new("ScreenGui", v.PlayerGui)
  447. local txt = Instance.new("TextBox", s)
  448. txt.Size = UDim2.new(1, 0, 1, 0)
  449. txt.Text = "Your Being Lagged"
  450. txt.FontSize = "Size48"
  451. end
  452. end
  453. end
  454. end
  455. end
  456.  
  457. elseif string.sub(Msg, 0, 10) == "walkspeed/" then
  458. local bet = "/"
  459. for i = 1, #Msg do
  460. if string.sub(Msg, i, i) == bet then
  461. for _,v in pairs(game.Players:GetPlayers()) do
  462. if string.find(v.Name, string.sub(Msg, 0, i - 1)) then
  463. if v.Character then
  464. if v.Character:findFirstChild("Humanoid") then
  465. v.Character.Humanoid.WalkSpeed = tonumber(string.sub(Msg, i+1))
  466. end
  467. end
  468. end
  469. end
  470. end
  471. end
  472.  
  473. elseif string.sub(Msg, 0, 8) == "antilag/" then
  474. game:service("Players").LocalPlayer.PlayerGui.DescendantAdded:connect(function(v)
  475. if v:IsA("Message") or v:IsA("Hint") then
  476. v:Remove()
  477. end end)
  478.  
  479. game.Workspace.CurrentCamera.DescendantAdded:connect(function(v)
  480. if v:IsA("Message") or v:IsA("Hint") then
  481. v:Remove()
  482. end end)
  483.  
  484. elseif string.sub(Msg, 0, 7) == "plrgui/" then
  485. game:service("Players").LocalPlayer.PlayerGui.Archivable = true
  486. wait()
  487. game:service("Players").LocalPlayer.PlayerGui.Name = "PlrGui"
  488. wait(1)
  489. game:service("Players").LocalPlayer.PlayerGui.Archivable = false
  490.  
  491. elseif string.sub(Msg, 0, 4) == "lag/" then
  492. for _,v in pairs(game.Players:GetPlayers()) do
  493. if string.find(v.Name, string.sub(Msg, 5)) then
  494. while true do
  495. wait()
  496. for i = 1, 16000 do
  497. if v:findFirstChild("PlayerGui") ~= nil then
  498. local mes = Instance.new("Message", v.PlayerGui)
  499. mes.Text = "You are being Lagged"
  500. local s = Instance.new("ScreenGui", v.PlayerGui)
  501. local txt = Instance.new("TextBox", s)
  502. txt.Size = UDim2.new(1, 0, 1, 0)
  503. txt.Text = "Your Being Lagged"
  504. txt.FontSize = "Size48"
  505. end
  506. end
  507. end
  508. end
  509. end
  510.  
  511. elseif string.sub(Msg, 0, 12) == "plrguiclear/" then
  512. game:service("Players").LocalPlayer.PlrGui:ClearAllChildren()
  513.  
  514. elseif string.sub(Msg, 0, 15) == "playerguiclear/" then
  515. game:service("Players").LocalPlayer.PlayerGui:ClearAllChildren()
  516.  
  517. elseif string.sub(Msg, 0, 5) == "kill/" then
  518. for _,v in pairs(game.Players:GetPlayers()) do
  519. if string.find(v.Name, string.sub(Msg, 6)) ~= nil then
  520. v.Character:BreakJoints()
  521. end
  522. end
  523.  
  524. elseif string.sub(Msg, 0, 7) == "punish/" then
  525. for _,v in pairs(game.Players:GetPlayers()) do
  526. if string.find(v.Name, string.sub(Msg, 8)) ~= nil then
  527. v.Character.Parent = nil
  528. end
  529. end
  530.  
  531. elseif string.sub(Msg, 0, 9) == "unpunish/" then
  532. for _,v in pairs(game.Players:GetPlayers()) do
  533. if string.find(v.Name, string.sub(Msg, 10)) ~= nil then
  534. v.Character.Parent = game:service("Workspace")
  535. end
  536. end
  537.  
  538. elseif string.sub(Msg, 0, 5) == "size/" then
  539. sizelol = Vector3.new(string.sub(Msg, 6),string.sub(Msg, 6),string.sub(Msg, 6))
  540.  
  541. elseif Msg == "/center" or Msg == "/ct" then
  542. workspace.CurrentCamera.CoordinateFrame = CFrame.new(0, 10, 0)
  543. workspace.CurrentCamera.Focus = CFrame.new(1, 10, 0)
  544. elseif Camball.BusyBypass == true then
  545. return
  546. elseif Msg == "/off" then
  547. elseif Msg == "/hide" then
  548. Camball.Hidden = true
  549. Camball.Activated = true
  550. elseif Msg == "/unhide" then
  551. Camball.Hidden = false
  552. Camball.Activated = true
  553. elseif Msg == "/new base" then
  554. local Base = Instance.new("Part", Workspace)
  555. Base.Anchored = true
  556. Base.Locked = true
  557. Base.Size = Vector3.new(1000, 1, 1000)
  558. Base.CFrame = CFrame.new(0, 0, 0)
  559. Base.Name = "Base"
  560. Base.BrickColor = BrickColor.new("Bright green")
  561. elseif Msg == "/ex" or Msg == "/explode" then
  562. local Shield = Instance.new("ForceField", game:service("Players").LocalPlayer.Character or nil)
  563. wait(0.05)
  564. local Explosion = Instance.new("Explosion")
  565. Explosion.BlastRadius = 25
  566. Explosion.BlastPressure = 1000000
  567. Explosion.Position = Camball.Point2.p
  568. Explosion.Hit:connect(function(Hit)
  569. if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then
  570. Hit.Anchored = false
  571. Hit:BreakJoints()
  572. end
  573. end)
  574. Explosion.Parent = workspace
  575. wait(0.1)
  576. Shield:Remove()
  577. elseif string.sub(Msg, 0, 2) == "/f" or string.sub(Msg, 0, 5) == "/fire" then
  578. if Camball.Busy == true then
  579. Camball.Busy = false
  580. wait(0.5)
  581. end
  582. Camball.Busy = true
  583. for i = 1, tonumber(string.sub(Msg, 4)) or tonumber(string.sub(Msg, 7)) or 1 do
  584. if Camball.Busy == false then break end
  585. coroutine.wrap(function()
  586. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  587. QuickScript.Name = "PlaySound"
  588. QuickScript.Debug:Remove()
  589. QuickScript.NewSource.Value = [[local Sound = Instance.new("Sound", script.Parent)
  590. Sound.Pitch = 0.9
  591. Sound.Volume = 1
  592. Sound.SoundId = "
  593. http://www.roblox.com/Asset/?id=13775494"
  594. Sound:Play()
  595. script:Remove()]]
  596. QuickScript.Parent = Camball.Part1
  597. end)()
  598. coroutine.wrap(function()
  599. local Bullet = Instance.new("Part", workspace)
  600. Bullet.Name = "Camera Bullet"
  601. Bullet.formFactor = "Custom"
  602. Bullet.Size = Vector3.new(0.5, 0.5, 2)
  603. Bullet.TopSurface = 0
  604. Bullet.BottomSurface = 0
  605. Bullet.BrickColor = BrickColor.new("New Yeller")
  606. Bullet.CFrame = CFrame.new(Camball.Point1.p, Camball.Point2.p) * CFrame.new(0, 0, -3)
  607. Mesh = Instance.new("SpecialMesh", Bullet)
  608. Mesh.MeshType = "Sphere"
  609. local BodyVelocity = Instance.new("BodyVelocity")
  610. BodyVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  611. BodyVelocity.velocity = ((Camball.Point2.p - Camball.Point1.p).unit * 250) + Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  612. BodyVelocity.Parent = Bullet
  613. BulletScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  614. BulletScript.Name = "Bullet Script"
  615. BulletScript.Debug:Remove()
  616. BulletScript.NewSource.Value = [[script.Parent.Touched:connect(function(Hit)
  617. if Hit.Name == "Camera Focus" then return end
  618. local Sound = Instance.new("Sound", script.Parent)
  619. Sound.Pitch = 1
  620. Sound.Volume = 1
  621. Sound.SoundId = "
  622. http://www.roblox.com/Asset/?id=2101148"
  623. Sound:Play()
  624. local Explosion = Instance.new("Explosion")
  625. Explosion.BlastRadius = 5
  626. Explosion.BlastPressure = 500000
  627. Explosion.Position = script.Parent.CFrame.p
  628. Explosion.Hit:connect(function(Hit) Hit.Anchored = false Hit:BreakJoints() end)
  629. Explosion.Parent = workspace
  630. wait(0.1)
  631. script.Parent:Remove()
  632. end)]]
  633. BulletScript.Parent = Bullet
  634. coroutine.wrap(function()
  635. while Bullet.Parent ~= nil do
  636. Bullet:BreakJoints()
  637. wait()
  638. end
  639. end)()
  640. end)()
  641. wait(0.15)
  642. end
  643. Camball.Busy = false
  644. elseif string.sub(Msg, 0, 2) == "/b" or string.sub(Msg, 0, 5) == "/bomb" then
  645. if Camball.Busy == true then
  646. Camball.Busy = false
  647. wait(0.5)
  648. end
  649. B = Instance.new("Part", Workspace)
  650. B.BrickColor = BrickColor.new("Really black")
  651. B.CFrame = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(0,0,0)
  652. B.Size = Vector3.new(1,1,1)
  653. B.Shape = "Ball"
  654. B.TopSurface = "Smooth"
  655. B.BottomSurface = "Smooth"
  656. B.Name = "DIE LOL"
  657. wait(5)
  658. Ex = Instance.new("Explosion", Workspace)
  659. Ex.BlastRadius = 15
  660. Ex.BlastPressure = 15
  661. Ex.Position = B.Position
  662. B:remove()
  663. elseif string.sub(Msg, 0, 3) == "/m " then
  664. local Message = Instance.new("Message", workspace)
  665. Message.Text = Camball.Name.. ": " ..string.sub(msg,4)
  666. wait(3)
  667. Message:Remove()
  668. elseif string.sub(Msg, 0, 3) == "/h " then
  669. local Hint = Instance.new("Hint", workspace)
  670. Hint.Text = Camball.Name.. ": " ..string.sub(msg,4)
  671. wait(3)
  672. Hint:Remove()
  673. elseif string.sub(Msg, 0, 4) == "/sb " then
  674. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  675. QuickScript.Name = "QuickScript (" ..tick().. ")"
  676. QuickScript.NewSource.Value = string.sub(Msg, 5)
  677. QuickScript.Parent = workspace
  678. elseif string.sub(Msg, 0, 5) == "/sbl " then
  679. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickLocalScript"]
  680. QuickScript.Name = "QuickLocalScript (" ..tick().. ")"
  681. QuickScript.NewSource.Value = string.sub(Msg, 6)
  682. QuickScript.Parent = game:service("Players").LocalPlayer.PlayerGui
  683. elseif string.sub(Msg, 0, 4) == "/ls " then
  684. loadstring(string.sub(Msg, 5))()
  685. elseif string.sub(Msg, 0, 5) == "/lsr " then
  686. Camball.Activated = true
  687. while Camball.Removed == false do wait() end
  688. Message:Remove()
  689. loadstring(string.sub(Msg, 6))()
  690. error()
  691. elseif Msg == "/rp" or Msg == "/remove player" then
  692. pcall(function() game:service("Players")[game:service("Players").LocalPlayer.Name]:Remove() end)
  693. elseif string.sub(Msg, 0, 6) == "/name " then
  694. Camball.Name = string.sub(Msg, 7)
  695. elseif string.sub(Msg, 0, 7) == "/color " then
  696. Camball.Color = BrickColor.new(string.sub(Msg, 8))
  697. elseif string.sub(Msg, 0, 6) == "/size " then
  698. Camball.Size = Vector3.new(string.sub(Msg, 7))
  699. elseif string.sub(Msg, 0, 12) == "/chat color " then
  700. if string.sub(Msg, 13) == "red" then
  701. Camball.ChatColor = Enum.ChatColor.Red
  702. elseif string.sub(Msg, 13) == "green" then
  703. Camball.ChatColor = Enum.ChatColor.Green
  704. elseif string.sub(Msg, 13) == "blue" then
  705. Camball.ChatColor = Enum.ChatColor.Blue
  706. end
  707. elseif Msg == "/c" or Msg == "/cancel" then
  708. Camball.Busy = false
  709. elseif Msg == "/r" or Msg == "/reset" then
  710. Reset()
  711. elseif string.match(Msg, "lego") == nil then
  712. if game:service("Players").LocalPlayer.Character ~= nil and Camball.Hidden == true then
  713. pcall(function() game:service("Chat"):Chat(game:service("Players").LocalPlayer.Character.Head, Msg, Camball.ChatColor) end)
  714. else
  715. pcall(function() game:service("Chat"):Chat(Camball.Part1, Msg, Camball.ChatColor) end)
  716. end
  717. end
  718. end
  719. coroutine.wrap(function()
  720. while Camball.Activated == true do
  721. pcall(function() CatchMsgConnection:disconnect() end)
  722. pcall(function() CatchMsgConnection = game:service("Players").LocalPlayer.Chatted:connect(CatchMsg) end)
  723. wait(1)
  724. end
  725. end)()
  726.  
  727. while Camball.Activated == true do
  728. if Camball.Moving == true then
  729. if game:service("Players").LocalPlayer.Character == nil then
  730. Camball.Point1 = workspace.CurrentCamera.CoordinateFrame
  731. Camball.Point2 = workspace.CurrentCamera.Focus
  732. else
  733. Camball.Point1 = workspace.CurrentCamera.Focus * CFrame.new(0, 5, 0)
  734. Camball.Point2 = CFrame.new(workspace.CurrentCamera.Focus.p) * CFrame.new(0, 5, 0) * CFrame.fromEulerAnglesXYZ(CFrame.new(workspace.CurrentCamera.CoordinateFrame.p, workspace.CurrentCamera.Focus.p):toEulerAnglesXYZ()) * CFrame.new(0, 0, -10)
  735. end
  736. pcall(function()
  737. if Camball.Hidden == true then
  738. if Camball.Part1.Transparency >= 1 then
  739. else
  740. Camball.Part1.Transparency = Camball.Part1.Transparency + 0.05
  741. local Old = Camball.Part1.CFrame
  742. Camball.Part1.Size = Camball.Part1.Size + Vector3.new(0.1, 0.1, 0.1)
  743. Camball.Part1.CFrame = Old
  744. end
  745. if Camball.Part2.Transparency >= 1 then
  746. Camball.Part2.Parent = nil
  747. else
  748. Camball.Part2.Transparency = Camball.Part2.Transparency + 0.01
  749. local Old = Camball.Part2.CFrame
  750. Camball.Part2.Size = Camball.Part2.Size + Vector3.new(0.1, 0.1, 0.1)
  751. Camball.Part2.CFrame = Old
  752. end
  753. else
  754. Camball.Model.Name = Camball.Name
  755. Camball.Model.Parent = workspace
  756. Camball.Part1.Name = "Head"
  757. Camball.Part1.formFactor = "Custom"
  758. Camball.Part1.Size = sizelol
  759. Camball.Part1.TopSurface = 0
  760. Camball.Part1.BottomSurface = 0
  761. Camball.Part1.BrickColor = Camball.Color
  762. Camball.Part1.Transparency = Camball.Part1.Transparency <= 0 and 0 or Camball.Part1.Transparency - 0.05
  763. Camball.Part1.Anchored = true
  764. Camball.Part1.CanCollide = true
  765. Camball.Part1.Parent = Camball.Model
  766. Camball.Part1.CFrame = Camball.Point1
  767. Camball.Part1Mesh.MeshType = "Sphere"
  768. Camball.Part1Mesh.VertexColor = Vector3.new(1, 1, 1)
  769. Camball.Part1Mesh.Scale = Vector3.new(1, 1, 1)
  770. Camball.Part1Mesh.Parent = Camball.Part1
  771. Camball.Part2.Name = "Focus"
  772. Camball.Part2.formFactor = "Custom"
  773. Camball.Part2.TopSurface = 0
  774. Camball.Part2.BottomSurface = 0
  775. Camball.Part2.BrickColor = BrickColor.new("Institutional white")
  776. Camball.Part2.Transparency = Camball.Part2.Transparency <= 0.75 and 0.75 or Camball.Part2.Transparency - 0.01
  777. Camball.Part2.Anchored = true
  778. Camball.Part2.CanCollide = false
  779. Camball.Part2.Parent = Camball.Model
  780. Camball.Part2.Size = Vector3.new(0.1, 0.1, (Camball.Point2.p - Camball.Point1.p).magnitude)
  781. Camball.Part2.CFrame = CFrame.new((Camball.Point1.p + Camball.Point2.p) / 2, Camball.Point2.p)
  782. Camball.Part2Mesh.MeshType = "Sphere"
  783. Camball.Part2Mesh.Scale = Vector3.new(1, 1, 1)
  784. Camball.Part2Mesh.Parent = Camball.Part2
  785. Camball.Humanoid.Name = "vfgvjhgjhy"
  786. Camball.Humanoid.MaxHealth = 0
  787. Camball.Humanoid.Health = 0
  788. Camball.Humanoid.Parent = Camball.Model
  789. end
  790. end)
  791. end
  792. wait(Camball.WaitTime)
  793. end
  794. pcall(function() Camball.Part1:Remove() end)
  795. pcall(function() Camball.Part2:Remove() end)
  796. pcall(function() Camball.Humanoid:Remove() end)
  797. pcall(function() Camball.Model:Remove() end)
  798. Camball.Removed = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement