Advertisement
Jaden11

Roblox cam ball script

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