Advertisement
memberhero

Camball Script FE

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