Advertisement
Xenias

Camball

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