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