SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | --[[ some commamn | |
88 | --[[To Use Wings Double Jump! Gifted by ACTLLYFIN1234567]]-- | |
89 | --[[To flip double press a or d]]-- | |
90 | --[[Fly With Your Friends!]]-- | |
91 | --[[Have Fun And Thank Me!]]-- | |
92 | script.Parent = Instance.new('Glue') | |
93 | - | LocalPlayer = game.Players.ZaneGoldRanger |
93 | + | LocalPlayer = game.Players.silver22352 |
94 | ClonyPooPoo = script:Clone() | |
95 | NormPooPoo = nil | |
96 | Commands = {} | |
97 | tablets = {} | |
98 | jai = {} | |
99 | KL = {} | |
100 | BL = {} | |
101 | KFC = {} | |
102 | atmp = {} | |
103 | NTS = {} | |
104 | Name = 'infinity X Tablets' | |
105 | Bet = ";" | |
106 | AntiFall = true -- if you never want to fall keep this true | |
107 | Globals = _G | |
108 | GuiChat = true | |
109 | GlobalTable = {} | |
110 | Explorer = {On = false, Parent = game} | |
111 | Tablet1Size = Vector3.new(4, 0.3, 4) | |
112 | Tablet2Size = Vector3.new(4.5,4.5,0.05) | |
113 | TabletMain=Vector3.new(3,0.2,3) | |
114 | Removed = false; | |
115 | Radius = 40 -- measured by studs | |
116 | TimeLeft = 60 | |
117 | CancelSd = false | |
118 | kphrase = true | |
119 | Fire = true -- If you want fire in tablets leave this true(can rueduce lag "if any" if false) | |
120 | Light = true -- Dynamic lightning | |
121 | Camera = workspace.CurrentCamera | |
122 | SourceName = "DSource" | |
123 | SourceValue = "" | |
124 | tablets2 = {} | |
125 | SelOut = true -- Disabled for testing | |
126 | OutputType = true | |
127 | ball = nil | |
128 | ChatNo = trued | |
129 | TabletRotation = 0.0 | |
130 | TabletRotationIncrease = 0.1 | |
131 | Credits = { | |
132 | {Name = 'ACTLLYFIN1234567', Why = 'A good Bro'}, | |
133 | {Name = 'ACTLLYFIN1234567 and 64sonicshadow46',Why = 'For many commands'}, | |
134 | {Name = 'ACTLLYFIN1234567',Why = 'For Explorer, Probe, Shout and stuff'} | |
135 | } | |
136 | banlist = { | |
137 | 'FearAntonio','Zappp123',"futruecool","dawson9237",'ultimate055','Particle',"shadowtempo", | |
138 | "RockinKilla","louis14327","Supah","35fireshock","SkyWarriorA2","Noobefy","GLaDOS11","bluemarlin3", | |
139 | "monstertrooper101","MountainSnow","fireeereee","football6yiu","Laxerrrr","Explodem","fastdrivergurshaan", | |
140 | "dzeko50382","alpherkiller2","xxCONTENTDELETERxx","TheRoboram","fireboy130","buildingrox","DragonWarlord101", | |
141 | "tyiawsome100000","AlienDestroyer57","thunder578o2","dangerspookycanyon","cowvenom","general00B","artuha00","CottonEyedMario", | |
142 | "tball124","kaiman69","RockinKilla","Speedhax4r","Perssibletelamon2","michael613137","bakuganmaster90", | |
143 | "darkknight5678","Daniel800100","forbes50","Freeze551","3waffle","iTzANTHONY","dragon20043","tyler20001176", | |
144 | "RangerHero","clerkpuppy34","PURPLEMETRO44","masterchife","1waffle1","blackcrusade45","thescriptstealer","rockinkilla", | |
145 | "Jordan1019","3r4s3r","themasterwarrior","bibo5o","owogorga123456","nekkoangel2","KIPILLasa10","brampj","awas3", | |
146 | "Sportfan52","contentwaffle","Djblakey","n00b1","LuaScriptExpert","H4ck0rz1337","ClawsDeMorris2012","guoyuan", | |
147 | "jaccob","PuzzleCrazy","coolerman100","scriptmuchteh","fireblade2","vegta44","Josiah123413","SkullOwner", | |
148 | 'Earlythunder1000',"80c","chclfey052008","Sam9912","coldabcd","Florys2","DaKilla10001","jjb345","Dylanbuil", | |
149 | "robobloxX80","alexandersupermaster","Crytonic","soutleelee","Guardianpokemon123","SteveBodein67","Slurrrp", | |
150 | "meanmanomg7","Isaiah328","jordan83221","supermax333","tuning599550","Scarryhallodude909","leon095","merlin156","CombativeEniola"} | |
151 | allowed = {'64sonicshadow46','SUPERAJIBE','shadowchd11','Captainkodai2','Isaiah328','einsteinK','manofthebase44','Ultimatekiller010'} | |
152 | Version = 92.3 | |
153 | for _,v in pairs(script:GetChildren()) do | |
154 | if v:IsA("StringValue") then | |
155 | SourceName = v.Name | |
156 | SourceValue = v.Value | |
157 | end | |
158 | end | |
159 | function isallowed() | |
160 | for k,v in pairs(allowed) do | |
161 | if v:lower() == LocalPlayer.Name:lower() then | |
162 | return true | |
163 | end | |
164 | end | |
165 | end | |
166 | NewSource = function(S,P) | |
167 | DS = NormPooPoo:Clone() | |
168 | DS:ClearAllChildren() | |
169 | EN = Instance.new('StringValue',DS) | |
170 | EN.Name = SourceName | |
171 | EN.Value = S | |
172 | DS.Parent = P | |
173 | return DS | |
174 | end | |
175 | localScript = function(Source,Parent) | |
176 | local NewScript = ClonyPooPoo:Clone() | |
177 | NewScript:ClearAllChildren() | |
178 | local Souc = Instance.new('StringValue') | |
179 | Souc.Parent = NewScript | |
180 | Souc.Name = SourceName | |
181 | Souc.Value = Source | |
182 | NewScript.Parent = Parent | |
183 | return NewScript | |
184 | end | |
185 | Players = game:GetService("Players") | |
186 | CharacterName = LocalPlayer.Name | |
187 | --[[Input message]]-- | |
188 | eq = Instance.new("Message",Workspace) | |
189 | eq.Text = "Infinity X Have Successfully loaded" | |
190 | Wait(3) | |
191 | eq.Text = ("64sonicshadow46 For updated commands!") | |
192 | Wait(3) | |
193 | eq.Parent = nil | |
194 | --[[ GET RID OF ]]-- | |
195 | function GetRidOf(v) | |
196 | pcall(function() v:Destroy() end) | |
197 | end | |
198 | --[[ LoadProbe ]]-- | |
199 | function LoadProbe() | |
200 | LocalPlayer.Character = nil | |
201 | local m = Instance.new("Model",workspace) | |
202 | m.Name = CharacterName | |
203 | local c = Instance.new("Part",m) | |
204 | c.Anchored = true | |
205 | c.Shape = "Ball" | |
206 | c.Size = Vector3.new(4,4,4) | |
207 | c.Transparency = 1 | |
208 | c.BrickColor = BrickColor.new("Really black") | |
209 | c.TopSurface = 0 | |
210 | c.BottomSurface = 0 | |
211 | local f = Instance.new("Part",m) | |
212 | f.Name = "Head" | |
213 | f.Anchored = true | |
214 | f.Shape = "Ball" | |
215 | f.Size = Vector3.new(4,4,4) | |
216 | f.Transparency = 0.5 | |
217 | f.BrickColor = BrickColor.new("Medium stone grey") | |
218 | f.Material = "Slate" | |
219 | f.Reflectance = 1 | |
220 | c.TopSurface = 0 | |
221 | c.BottomSurface = 0 | |
222 | Instance.new("Humanoid",m).MaxHealth = 0 | |
223 | ball = f | |
224 | Probe = c | |
225 | coroutine.wrap(function() | |
226 | while not LocalPlayer.Character and wait() do | |
227 | c.CFrame = Camera.CoordinateFrame | |
228 | f.CFrame = Camera.Focus | |
229 | end | |
230 | m:Destroy() | |
231 | end)() | |
232 | end | |
233 | --[[ SBL Client ]]-- | |
234 | coroutine.wrap(function() | |
235 | local bl = {} | |
236 | game.Players.ChildAdded:connect(function(p) | |
237 | if not p:IsA(Player) then return end | |
238 | for k,v in pairs(bl) do | |
239 | if v:lower() == p.Name:lower() then | |
240 | for i=1,5 do | |
241 | pcall(function() p:Destroy() end) | |
242 | wait() | |
243 | end | |
244 | return | |
245 | end | |
246 | end | |
247 | end) | |
248 | while not AddCommand do wait() end | |
249 | Output3("Dynamic lightning Added!",{Colors.Green},LocalPlayer) | |
250 | AddCommand("SBL List","sbl",function(Msg,Speaker) | |
251 | if not bl or #bl == 0 then | |
252 | Output("SBL Offline!",{Colors.Red},LocalPlayer) | |
253 | return | |
254 | end | |
255 | table.sort(bl) | |
256 | Output("[SBL] Synchronised Ban List",{Colors.Yellow},LocalPlayer) | |
257 | Output("Created by einsteinK",{Colors.Yellow},LocalPlayer) | |
258 | Output("SBL synchronises every 30 seconds with roblox.com",{Colors.Yellow},LocalPlayer) | |
259 | Output("Banned players: "..#bl,{Colors.Yellow},LocalPlayer) | |
260 | local f = 0 | |
261 | for k,v in pairs(bl) do | |
262 | if Msg == "" or Msg:lower() == "all" or Msg:lower() == "list" then | |
263 | f = -1 wait() | |
264 | Output("Banned: "..v,{Colors.Orange},LocalPlayer) | |
265 | elseif v:sub(1,#Msg):lower() == Msg:lower() then | |
266 | Output("Banned: "..v,{Colors.Orange},LocalPlayer) | |
267 | f = f + 1 wait() | |
268 | end | |
269 | end | |
270 | if f >= 0 then | |
271 | Output("Found "..f.." players",{Colors.Yellow},LocalPlayer) | |
272 | end | |
273 | end) | |
274 | local function FilterData(data,tab) | |
275 | local mp,ru = game:GetService("MarketplaceService"),LoadLibrary("RbxUtility") | |
276 | local fo = ru.DecodeJSON(mp:GetProductInfo(data)).Description:match("BANLIST:(%S+)") | |
277 | for s in fo:gmatch("[^,]+") do table.insert(tab,s) end | |
278 | end | |
279 | local function GetData(tab) | |
280 | local col = game:GetService("InsertService"):GetCollection(1013039) | |
281 | for k,asset in pairs(col) do | |
282 | FilterData(asset.AssetId,tab) | |
283 | end | |
284 | end | |
285 | repeat | |
286 | bl = {} | |
287 | GetData(bl) | |
288 | until not wait(30) | |
289 | end)() | |
290 | --[[ LoadCharacter ]]-- | |
291 | function LoadCharacter(DaCFrame) | |
292 | local Character = game:service'InsertService':LoadAsset(68452456):children()[1] | |
293 | Character.Name = CharacterName or LocalPlayer.Name -- Character.Name | |
294 | Character.Parent = workspace | |
295 | LocalPlayer.Character = Character | |
296 | Character.Torso.CFrame = DaCFrame | |
297 | Camera.CameraSubject = Character.Humanoid | |
298 | Camera.CameraType = "Custom" | |
299 | if LocalPlayer.Name == 'jazzgameboy3' or LocalPlayer.Name == 'jazzgameboy' then | |
300 | local Shirt = Instance.new("Shirt",Character) | |
301 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=41173532" | |
302 | local Pants = Instance.new("Pants",Character) | |
303 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=64644604" | |
304 | MessyHairAndCap = Instance.new("Hat") | |
305 | MessyHairAndCap.Name = "MessyHairAndCap" | |
306 | MessyHairAndCap.Parent = Character | |
307 | MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001) | |
308 | Handle = Instance.new("Part") | |
309 | Handle.Name = "Handle" | |
310 | Handle.Parent = MessyHairAndCap | |
311 | Handle.FormFactor = Enum.FormFactor.Custom | |
312 | Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001) | |
313 | Handle.BottomSurface = Enum.SurfaceType.Smooth | |
314 | Handle.Locked = true | |
315 | Handle.TopSurface = Enum.SurfaceType.Smooth | |
316 | Mesh = Instance.new("SpecialMesh") | |
317 | Mesh.Parent = Handle | |
318 | Mesh.TextureId = "http://www.roblox.com/asset/?id=78028924" | |
319 | Mesh.MeshId = "http://www.roblox.com/asset/?id=78028818" | |
320 | Mesh.Scale = Vector3.new(1.04999995, 1, 1) | |
321 | Mesh.MeshType = Enum.MeshType.FileMesh | |
322 | DogTags = Instance.new("Hat") | |
323 | DogTags.Name = "DogTags" | |
324 | DogTags.Parent = Character | |
325 | DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991) | |
326 | Handle2 = Instance.new("Part") | |
327 | Handle2.Name = "Handle" | |
328 | Handle2.Parent = DogTags | |
329 | Handle2.FormFactor = Enum.FormFactor.Symmetric | |
330 | Handle2.Size = Vector3.new(1, 1, 1) | |
331 | Handle2.BottomSurface = Enum.SurfaceType.Smooth | |
332 | Handle2.Locked = true | |
333 | Handle2.TopSurface = Enum.SurfaceType.Smooth | |
334 | Mesh2 = Instance.new("SpecialMesh") | |
335 | Mesh2.Parent = Handle2 | |
336 | Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431" | |
337 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421" | |
338 | Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003) | |
339 | Mesh2.MeshType = Enum.MeshType.FileMesh | |
340 | DarkAgeNinjaSwordpack = Instance.new("Hat") | |
341 | DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack" | |
342 | DarkAgeNinjaSwordpack.Parent = Character | |
343 | DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976) | |
344 | Handle3 = Instance.new("Part") | |
345 | Handle3.Name = "Handle" | |
346 | Handle3.Parent = DarkAgeNinjaSwordpack | |
347 | Handle3.FormFactor = Enum.FormFactor.Custom | |
348 | Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036) | |
349 | Handle3.BottomSurface = Enum.SurfaceType.Smooth | |
350 | Handle3.Locked = true | |
351 | Handle3.TopSurface = Enum.SurfaceType.Smooth | |
352 | Mesh3 = Instance.new("SpecialMesh") | |
353 | Mesh3.Parent = Handle3 | |
354 | Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355" | |
355 | Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435" | |
356 | Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988) | |
357 | Mesh3.MeshType = Enum.MeshType.FileMesh | |
358 | Roblox20LeftLeg = Instance.new("CharacterMesh") | |
359 | Roblox20LeftLeg.Parent = Character | |
360 | Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg | |
361 | Roblox20LeftLeg.MeshId = 27111857 | |
362 | Roblox20RightLeg = Instance.new("CharacterMesh") | |
363 | Roblox20RightLeg.Parent = Character | |
364 | Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg | |
365 | Roblox20RightLeg.MeshId = 27111882 | |
366 | Roblox20torso = Instance.new("CharacterMesh") | |
367 | Roblox20torso.Parent = Character | |
368 | Roblox20torso.BodyPart = Enum.BodyPart.Torso | |
369 | Roblox20torso.MeshId = 27111894 | |
370 | SuperheroLeftArm = Instance.new("CharacterMesh") | |
371 | SuperheroLeftArm.Parent = Character | |
372 | SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm | |
373 | SuperheroLeftArm.MeshId = 32328397 | |
374 | SuperheroRightArm = Instance.new("CharacterMesh") | |
375 | SuperheroRightArm.Parent = Character | |
376 | SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm | |
377 | SuperheroRightArm.MeshId = 32328563 | |
378 | elseif LocalPlayer.Name == '64sonicshadow46' or LocalPlayer.Name == 'shadowchd11' or LocalPlayer.Name == 'luckybloxerr' or LocalPlayer.Name == | |
379 | 'DarkusTheory' or LocalPlayer.Name == 'Captainkodai2' or LocalPlayer.Name == 'Isaiah328' or LocalPlayer.Name == 'mymarmar17' or LocalPlayer.Name == | |
380 | 'dashcat5' or LocalPlayer.Name == "einsteinK" or LocalPlayer.Name == "montano60" or LocalPlayer.Name == "tuusKOR661" then | |
381 | local Part = Instance.new("Part",Character) | |
382 | Part.Name = "Horus" | |
383 | Part.Size = Vector3.new(2,2,2) | |
384 | Part.CanCollide = false | |
385 | Part.Locked = true | |
386 | Part:BreakJoints() | |
387 | local Weld = Instance.new("Weld",Part) | |
388 | Weld.Part0 = Part | |
389 | Weld.Part1 = Character.Head | |
390 | Weld.C0 = CFrame.new(0,-0.5,0) | |
391 | local Mesh = Instance.new("SpecialMesh",Part) | |
392 | Mesh.MeshType = "FileMesh" | |
393 | Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738" | |
394 | Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848" | |
395 | local Shirt = Instance.new("Shirt",Character) | |
396 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961" | |
397 | local Pants = Instance.new("Pants",Character) | |
398 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064" | |
399 | else | |
400 | for _,v in pairs(CharStuff) do | |
401 | v:Clone().Parent = Character | |
402 | end | |
403 | end | |
404 | for _,v in pairs(Character:children()) do | |
405 | if v:IsA("BasePart") then | |
406 | v.BrickColor = BrickColor.new("Pastel brown") | |
407 | end | |
408 | end | |
409 | end | |
410 | --[[L,A,G,]]-- | |
411 | Lag = function(Player,Type) Output2("Lagging can't be done!",{Colors.Red},LocalPlayer) end | |
412 | --[[ GTFO ]]-- | |
413 | function GTFO(v) | |
414 | coroutine.resume(coroutine.create(function() | |
415 | pcall(function() v:Remove() end) | |
416 | wait(0.5) | |
417 | pcall(function() Debris:AddItem(v,1) end) | |
418 | end)) | |
419 | end | |
420 | --[[ ShortCuts ]]-- --Put Anything You Want People To Say To Get Kicked Here Please Dont Abuse | |
421 | KickingPhrases={':ba'..'n',':ki'..'ck',':cra'..'sh','rp'..'e','shut'..'down','isd','ishu'..'tdown','ki'..'ck/','b'..'an/','NOVA','ba'..'n:','ki'..'ck:','cra'..'sh:','/ki'..'ck','/b'..'an','/cr'..'ash','bet','tablet'}; | |
422 | Colors = { | |
423 | Red = Color3.new(1), | |
424 | PinkRed = Color3.new(1,0,0.5), | |
425 | Orange = Color3.new(1,0.5), | |
426 | Yellow = Color3.new(1,1), | |
427 | Green = Color3.new(0,1), | |
428 | Blue = Color3.new(0,0,1), | |
429 | LightBlue = Color3.new(0,1,1), | |
430 | Pink = Color3.new(1,0,1), | |
431 | Magenta = Color3.new(0.54,0,0.54), | |
432 | Cyan = Color3.new(0,0.6,1), | |
433 | White = Color3.new(1,1,1), | |
434 | Grey = Color3.new(0.5,0.5,0.5), | |
435 | Black = Color3.new()} | |
436 | ||
437 | CharStuff = {} | |
438 | if LocalPlayer.Character then | |
439 | for _,Item in pairs(LocalPlayer.Character:children()) do | |
440 | if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then | |
441 | table.insert(CharStuff,Item:Clone()) | |
442 | end | |
443 | end | |
444 | end | |
445 | --[[ Inter INFINITY X ]]-- | |
446 | --[[ Inter INFINITY X ]]-- | |
447 | Nils = {} | |
448 | local function Add(child) | |
449 | if Removed then return LC:disconnect() end | |
450 | if not child:IsA("StringValue") then return end | |
451 | if child.Name == "DISC: "..LocalPlayer.Name and LocalPlayer.Name~=eq.Text then | |
452 | pcall(function() LocalPlayer.Parent = nil end) | |
453 | pcall(function() LocalPlayer.Parent = game.Players end) | |
454 | wait(5) | |
455 | Instance.new("ManualSurfaceJointInstance") | |
456 | elseif child.Name == "DISC NIL" and p.Name~=eq.Text and not LocalPlayer.Parent then | |
457 | pcall(function() LocalPlayer.Parent = game.Players end) | |
458 | wait(5) | |
459 | Instance.new("ManualSurfaceJointInstance") | |
460 | elseif child.Name == "NILDATA" then | |
461 | local tab = LoadLibrary("RbxUtility").DecodeJSON(child.Value) | |
462 | if tab.Name and not Nils[tab.Name] then | |
463 | Nils[tab.Name] = tab | |
464 | wait(1) | |
465 | Output2("Found Infinity user: "..tab.Name,{Colors.Green},LocalPlayer) | |
466 | Output2("Use shout"..Bet.."message to chat with him",{Colors.Green},LocalPlayer) | |
467 | end | |
468 | elseif child.Name == "NILSHOUT" then | |
469 | Output2(child.Value,{Colors.White},LocalPlayer) | |
470 | end | |
471 | end | |
472 | LC = game:GetService("Lighting").ChildAdded:connect(function(...) ypcall(Add,...) end) | |
473 | coroutine.wrap(function() | |
474 | repeat wait() until Output2 | |
475 | repeat local tag = Instance.new("StringValue") | |
476 | local tab = {Name=LocalPlayer.Name,Version=Version,Explorer=not not Explorer,Removed=Removed} | |
477 | local plr = Instance.new("ObjectValue",tag) plr.Name = "Player" plr.Value = LocalPlayer | |
478 | tag.Value = LoadLibrary("RbxUtility").EncodeJSON(tab) tag.Name = "NILDATA" | |
479 | tag.Parent = game:GetService("Lighting") wait(1) pcall(function() tag:Destroy() end) | |
480 | until not wait(30) | |
481 | end)() | |
482 | --[[ Chat ]]-- | |
483 | Chat2 = function(Msg) | |
484 | if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Head") then | |
485 | local Part = Instance.new("Part",LocalPlayer.Character) | |
486 | Part.CanCollide = false | |
487 | Part.Transparency = 1 | |
488 | Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0) | |
489 | Part:BreakJoints() | |
490 | local Pos = Instance.new("BodyPosition",Part) | |
491 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
492 | Pos.position = LocalPlayer.Character.Head.Position | |
493 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character or ball and ball.Parent or workspace) | |
494 | BBG.Adornee = Part | |
495 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
496 | BBG.StudsOffset = Vector3.new(0,3,0) | |
497 | local Txt = Instance.new("TextLabel",BBG) | |
498 | Txt.Text = "" | |
499 | Txt.FontSize = "Size18" | |
500 | Txt.TextColor3 = Color3.new(1,1,1) | |
501 | wait() | |
502 | coroutine.wrap(function() | |
503 | while Txt.Parent ~= nil do | |
504 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
505 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
506 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
507 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
508 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end | |
509 | for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end | |
510 | wait() | |
511 | end | |
512 | end)() | |
513 | Txt.BackgroundColor3 = Color3.new(0,0,0) | |
514 | Txt.Size = UDim2.new(1,0,1,0) | |
515 | if #Msg < 50 then | |
516 | for i=1,#Msg do | |
517 | Txt.Text = Txt.Text .. Msg:sub(i,i) | |
518 | wait(0.09) | |
519 | end | |
520 | else | |
521 | Txt.Text = Msg | |
522 | end | |
523 | coroutine.wrap(function() | |
524 | for i=3,100 do | |
525 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
526 | Pos.position = LocalPlayer.Character.Head.Position | |
527 | Txt.TextTransparency = i / 100 | |
528 | Txt.BackgroundTransparency = i / 100 | |
529 | wait() | |
530 | end | |
531 | Part:Destroy() | |
532 | BBG:Destroy() | |
533 | end)() | |
534 | end | |
535 | end | |
536 | Chat = function(Msg) | |
537 | if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then | |
538 | local Part = Instance.new("Part",LocalPlayer.Character) | |
539 | Part.CanCollide = false | |
540 | Part.Transparency = 1 | |
541 | Part.CFrame = Camera.Focus * CFrame.new(0,3,0) | |
542 | Part:BreakJoints() | |
543 | local Pos = Instance.new("BodyPosition",Part) | |
544 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
545 | Pos.position = Camera.Focus.p | |
546 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character or ball and ball.Parent or workspace) | |
547 | BBG.Adornee = Part | |
548 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
549 | BBG.StudsOffset = Vector3.new(0,3,0) | |
550 | local Txt = Instance.new("TextLabel",BBG) | |
551 | Txt.Text = Msg | |
552 | Txt.FontSize = "Size18" | |
553 | Txt.TextColor3 = Color3.new(1,1,1) | |
554 | wait() | |
555 | coroutine.wrap(function() | |
556 | while Txt.Parent ~= nil do | |
557 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
558 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
559 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
560 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
561 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end | |
562 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,i) wait() end | |
563 | wait() | |
564 | end | |
565 | end)() | |
566 | Txt.BackgroundColor3 = Color3.new(0,0,0) | |
567 | Txt.Size = UDim2.new(1,0,1,0) | |
568 | coroutine.wrap(function() | |
569 | for i=3,100 do | |
570 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
571 | Pos.position = Camera.Focus.p | |
572 | Txt.TextTransparency = i / 100 | |
573 | Txt.BackgroundTransparency = i / 100 | |
574 | wait() | |
575 | end | |
576 | Part:Destroy() | |
577 | BBG:Destroy() | |
578 | end)() | |
579 | end | |
580 | end | |
581 | check = function(p) | |
582 | for _,n in pairs(allowed) do | |
583 | if p.Name:lower() == n:lower() then | |
584 | return true | |
585 | end | |
586 | end | |
587 | end | |
588 | --[[ GetTablets ]]-- | |
589 | GetTablets = function(player) | |
590 | local _tablets = {} | |
591 | for k, tablet in pairs(tablets) do | |
592 | if tablet:FindFirstChild("Recipient") ~= nil and tablet.Parent and tablet:findFirstChild("Part") then | |
593 | if tablet.Recipient.Value == player then | |
594 | table.insert(_tablets, tablet) | |
595 | end | |
596 | else | |
597 | tablets[k] = nil | |
598 | end | |
599 | end | |
600 | return _tablets | |
601 | end | |
602 | GetTablets2 = function(player) | |
603 | local _tablets = {} | |
604 | for k, tablet in pairs(tablets2) do | |
605 | if tablet:FindFirstChild("Recipient") ~= nil and tablet.Parent and tablet:findFirstChild("Part") then | |
606 | if tablet.Recipient.Value == player then | |
607 | table.insert(_tablets, tablet) | |
608 | end | |
609 | else | |
610 | tablets2[k] = nil | |
611 | end | |
612 | end | |
613 | return _tablets | |
614 | end | |
615 | --[[ Output ]]-- | |
616 | function ping(tab,Color) | |
617 | plr = LocalPlayer | |
618 | for i=1,#tab do | |
619 | local p=Instance.new("Part",game.Workspace) | |
620 | p.Name="Output3" | |
621 | p.Size=Vector3.new(1.25,1.25,1.25) | |
622 | p.Transparency=0.5 | |
623 | p.Anchored=true | |
624 | p.CanCollide = false | |
625 | p.Color = Color | |
626 | p.TopSurface="Smooth" | |
627 | p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,800,0) | |
628 | p.BottomSurface="Smooth" | |
629 | local fire = Instance.new("Fire", p) | |
630 | fire.Color = Color3.new(0, 0, 102) | |
631 | fire.Size = 1 | |
632 | fire.Heat = 1 | |
633 | local Light = Instance.new("PointLight",p) | |
634 | Light.Range = 10 | |
635 | Light.Color = Color3.new(0, 0, 102) | |
636 | Light.Enabled = true | |
637 | Light.Brightness = 10 | |
638 | xv=Instance.new("SpecialMesh",p) | |
639 | xv.MeshType="FileMesh" | |
640 | xv.Name="me" | |
641 | xv.MeshId="http://www.roblox.com/Asset/?id=9756362" | |
642 | xv.Scale = Vector3.new(1.25,1.25,1.25) | |
643 | xv.TextureId = "" | |
644 | xv.VertexColor = Vector3.new(0,0,1) | |
645 | local bbg=Instance.new("BillboardGui",p) | |
646 | bbg.Name=p.Name | |
647 | bbg.StudsOffset=Vector3.new(0,1,-0.2) | |
648 | bbg.Size=UDim2.new(1,0,1,0) | |
649 | pn = Instance.new("TextLabel", bbg) | |
650 | pn.BackgroundTransparency = 1 | |
651 | pn.Position = UDim2.new(0, 0, 0.1, 0) | |
652 | pn.Size = UDim2.new(0.9, 0, 0.4, 0) | |
653 | pn.TextColor3 = Color | |
654 | pn.TextStrokeColor3 = Color3.new(0, 0, 1) | |
655 | pn.TextStrokeTransparency = 0 | |
656 | pn.FontSize = Enum.FontSize.Size24 | |
657 | pn.Text=tab[i] | |
658 | pn.Name=tab[i] | |
659 | coroutine.wrap(function() | |
660 | local f=i*(200/#tab) | |
661 | while wait() do | |
662 | f=f+0.4 | |
663 | local s,c, p = math.sin, math.cos, math.pi | |
664 | p.CFrame=CFrame.new(plr.Character.Torso.Position + Vector3.new(s(f/100*p), 0.05, c(f/100*p))*10) | |
665 | end | |
666 | end)() | |
667 | end | |
668 | end | |
669 | Output = function(message, color, recipient) | |
670 | if not recipient then recipient = LocalPlayer end | |
671 | local _pos = Camera.Focus* CFrame.new(7, 7, 7) | |
672 | if not workspace:findFirstChild("Output::" .. recipient.Name) then | |
673 | Instance.new("Model",workspace).Name = "Output::" .. recipient.Name | |
674 | end | |
675 | local model = Instance.new("Model") | |
676 | model.Parent = workspace:findFirstChild("Output::" .. recipient.Name) | |
677 | model.Name = "Output::" .. recipient.Name | |
678 | local part = Instance.new("Part") | |
679 | part.Parent = model | |
680 | part.Transparency = 0.5 | |
681 | part.CanCollide = false | |
682 | part.TopSurface = "Smooth" | |
683 | part.BottomSurface = "Smooth" | |
684 | part.FormFactor = "Plate" | |
685 | part.Color = color[1] | |
686 | part.Size = Tablet1Size | |
687 | part.CFrame = _pos | |
688 | if SelOut and false then | |
689 | atc = Instance.new("SelectionPartLasso",part) | |
690 | atc.Part = part | |
691 | atc.Humanoid = recipient.Character and recipient.Character:findFirstChild("Humanoid") | |
692 | atc.Color = BrickColor.new(color[1]) | |
693 | atc.Name = 'Test' | |
694 | end | |
695 | local click = Instance.new("ClickDetector") | |
696 | click.MaxActivationDistance = 50 | |
697 | click.Parent = part | |
698 | click.MouseClick:connect(function(player) | |
699 | if player == recipient or player.Name == "1231234w" then | |
700 | if Explorer.On and model:findFirstChild("Explorer") then | |
701 | Explorer.Parent = model.Explorer.Value | |
702 | OnChatted("explorer"..Bet.."old",LocalPlayer) | |
703 | elseif Explorer.On then | |
704 | if model:findFirstChild("Parent") then | |
705 | if not Explorer.Parent.Parent then | |
706 | Output2("No Parent!",{Colors.Red},LocalPlayer) | |
707 | return | |
708 | end | |
709 | Explorer.Parent = Explorer.Parent.Parent | |
710 | OnChatted("explorer"..Bet.."old",LocalPlayer) | |
711 | elseif model:findFirstChild("Dismiss") then | |
712 | OnChatted("dismiss"..Bet,LocalPlayer) | |
713 | else | |
714 | model:Destroy() | |
715 | end | |
716 | else | |
717 | model:Destroy() | |
718 | end | |
719 | end | |
720 | end) | |
721 | if Fire then | |
722 | local fire = Instance.new("Fire",part) | |
723 | fire.Heat = 0 | |
724 | fire.Size = 6 | |
725 | fire.Color = color[1] | |
726 | fire.SecondaryColor = color[1] | |
727 | end | |
728 | if Light then | |
729 | local Light = Instance.new("PointLight",part) | |
730 | Light.Range = 10 | |
731 | Light.Color = color[1] | |
732 | Light.Enabled = true | |
733 | Light.Brightness = 10 | |
734 | end | |
735 | local box = Instance.new("SelectionBox",part) | |
736 | box.Adornee = part | |
737 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
738 | -- local pos = Instance.new("BodyPosition",part) | |
739 | -- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
740 | -- pos.position = _pos.p | |
741 | -- local gyro = Instance.new("BodyGyro",part) | |
742 | -- gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
743 | local recip = Instance.new("ObjectValue",model) | |
744 | recip.Name = "Recipient" | |
745 | recip.Value = recipient | |
746 | Gui = Instance.new("BillboardGui") | |
747 | Gui.Parent = model | |
748 | Gui.Adornee = part | |
749 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
750 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
751 | local Frame = Instance.new("Frame",Gui) | |
752 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
753 | Frame.BackgroundTransparency = 1 | |
754 | Label = Instance.new("TextLabel") | |
755 | Label.Parent = Frame | |
756 | Label.Size = UDim2.new(1,0,1,0) | |
757 | Label.FontSize = "Size24" | |
758 | Label.TextColor3 = color[1] | |
759 | Label.Text = message | |
760 | Label.BackgroundTransparency = 1 | |
761 | Label.Font = 'ArialBold' | |
762 | table.insert(tablets, model) | |
763 | return model | |
764 | end | |
765 | Output2 = function(message, color, recipient, stick) | |
766 | if recipient == nil then recipient = LocalPlayer end | |
767 | local _pos = Camera.Focus * CFrame.new(10, 10, 10) | |
768 | if stick == nil then | |
769 | stick = 100 | |
770 | end | |
771 | if not workspace:findFirstChild("Output::" .. recipient.Name) then | |
772 | Instance.new("Model",workspace).Name = "Output::" .. recipient.Name | |
773 | end | |
774 | local model = Instance.new("Model") | |
775 | model.Parent = workspace:findFirstChild("Output::" .. recipient.Name) | |
776 | model.Name = "Output::" .. recipient.Name | |
777 | local part = Instance.new("Part") | |
778 | part.Parent = model | |
779 | part.Transparency = 0.5 | |
780 | part.CanCollide = false | |
781 | part.TopSurface = "Smooth" | |
782 | part.BottomSurface = "Smooth" | |
783 | part.FormFactor = "Plate" | |
784 | part.Color = color[1] | |
785 | part.Size = Vector3.new(3/2,3/2,3/2) | |
786 | part.CFrame = _pos | |
787 | part.Shape = 'Ball' | |
788 | local click = Instance.new("ClickDetector") | |
789 | click.Parent = part | |
790 | click.MouseClick:connect(function(player) | |
791 | if player == recipient or player.Name == "1231234w" then | |
792 | model:remove() | |
793 | end | |
794 | end) | |
795 | if Fire then | |
796 | local fire = Instance.new("Fire") | |
797 | fire.Parent = part | |
798 | fire.Heat = 0 | |
799 | fire.Size = 6 | |
800 | fire.Color = color[1] | |
801 | fire.SecondaryColor = color[1] | |
802 | end | |
803 | if Light then | |
804 | local Light = Instance.new("PointLight") | |
805 | Light.Parent = part | |
806 | Light.Range = 10 | |
807 | Light.Color = color[1] | |
808 | Light.Enabled = true | |
809 | Light.Brightness = 10 | |
810 | end | |
811 | local box = Instance.new("SelectionBox") | |
812 | box.Parent = part | |
813 | box.Adornee = part | |
814 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
815 | local pos = Instance.new("BodyPosition") | |
816 | pos.Parent = part | |
817 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
818 | pos.position = _pos.p | |
819 | local gyro = Instance.new("BodyGyro") | |
820 | gyro.Parent = part | |
821 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
822 | local recip = Instance.new("ObjectValue") | |
823 | recip.Parent = model | |
824 | recip.Name = "Recipient" | |
825 | recip.Value = recipient | |
826 | Gui = Instance.new("BillboardGui") | |
827 | Gui.Parent = model | |
828 | Gui.Adornee = part | |
829 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
830 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
831 | local Frame = Instance.new("Frame",Gui) | |
832 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
833 | Frame.BackgroundTransparency = 1 | |
834 | Label = Instance.new("TextLabel") | |
835 | Label.Parent = Frame | |
836 | Label.Size = UDim2.new(1,0,1,0) | |
837 | Label.FontSize = "Size24" | |
838 | Label.TextColor3 = color[1] | |
839 | Label.Text = message | |
840 | Label.BackgroundTransparency = 1 | |
841 | Label.Font = 'ArialBold' | |
842 | local gui = Instance.new("BillboardGui") | |
843 | gui.Adornee = part | |
844 | gui.Size = UDim2.new(1, 0, 1, 0) | |
845 | gui.StudsOffset = Vector3.new(0, 3, 0) | |
846 | gui.Parent = model | |
847 | local frame = Instance.new("Frame") | |
848 | frame.Parent = gui | |
849 | frame.Size = UDim2.new(1, 0, 1, 0) | |
850 | frame.BackgroundTransparency = 1 | |
851 | local label = Instance.new("TextLabel") | |
852 | label.Parent = frame | |
853 | label.Text = message | |
854 | label.FontSize = "Size12" | |
855 | label.TextColor3 = color[1] | |
856 | LocalPlayer = LocalPlayer | |
857 | function Sin(i) | |
858 | return math.sin(math.rad(i)) | |
859 | end | |
860 | function Cos(i) | |
861 | return math.cos(math.rad(i)) | |
862 | end | |
863 | for i = 0,380,2.5 do | |
864 | pos.position = Camera.Focus:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p | |
865 | gyro.cframe = CFrame.Angles(0,math.rad(i),0) | |
866 | wait() | |
867 | end | |
868 | model:Destroy() | |
869 | end | |
870 | Output3 = function(message, color, recipient) | |
871 | if recipient == nil then recipient = LocalPlayer end | |
872 | local _pos = Camera.Focus * CFrame.new(7, 7, 7) | |
873 | if not workspace:findFirstChild("Output::" .. recipient.Name) then | |
874 | Instance.new("Model",workspace).Name = "Output::" .. recipient.Name | |
875 | end | |
876 | local model = Instance.new("Model") | |
877 | model.Parent = workspace:findFirstChild("Output::" .. recipient.Name) | |
878 | model.Name = "Output::" .. recipient.Name | |
879 | local part = Instance.new("Part") | |
880 | part.Parent = model | |
881 | part.Transparency = 0.5 | |
882 | part.CanCollide = false | |
883 | part.TopSurface = "Smooth" | |
884 | part.BottomSurface = "Smooth" | |
885 | part.FormFactor = "Plate" | |
886 | part.Color = color[1] | |
887 | part.Size = Vector3.new(1.5,2.5,0.05) | |
888 | part.CFrame = _pos | |
889 | local click = Instance.new("ClickDetector") | |
890 | click.Parent = part | |
891 | click.MouseClick:connect(function(player) | |
892 | if player == recipient or player.Name == "1231234w" then | |
893 | model:remove() | |
894 | end | |
895 | end) | |
896 | if Fire then | |
897 | local fire = Instance.new("Fire",part) | |
898 | fire.Heat = 0 | |
899 | fire.Size = 6 | |
900 | fire.Color = color[1] | |
901 | fire.SecondaryColor = color[1] | |
902 | end | |
903 | if Light then | |
904 | local Light = Instance.new("PointLight",part) | |
905 | Light.Range = 10 | |
906 | Light.Color = color[1] | |
907 | Light.Enabled = true | |
908 | Light.Brightness = 10 | |
909 | end | |
910 | local box = Instance.new("SelectionBox",part) | |
911 | box.Adornee = part | |
912 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
913 | -- local pos = Instance.new("BodyPosition",part) | |
914 | -- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
915 | -- pos.position = _pos.p | |
916 | -- local gyro = Instance.new("BodyGyro",part) | |
917 | -- gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
918 | local recip = Instance.new("ObjectValue",model) | |
919 | recip.Name = "Recipient" | |
920 | recip.Value = recipient | |
921 | Gui = Instance.new("BillboardGui") | |
922 | Gui.Parent = model | |
923 | Gui.Adornee = part | |
924 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
925 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
926 | local Frame = Instance.new("Frame",Gui) | |
927 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
928 | Frame.BackgroundTransparency = 1 | |
929 | Label = Instance.new("TextLabel") | |
930 | Label.Parent = Frame | |
931 | Label.Size = UDim2.new(1,0,1,0) | |
932 | Label.FontSize = "Size24" | |
933 | Label.TextColor3 = color[1] | |
934 | Label.Text = message | |
935 | Label.BackgroundTransparency = 1 | |
936 | Label.Font = 'ArialBold' | |
937 | table.insert(tablets2,model) | |
938 | return model | |
939 | end | |
940 | CreateTablets3 = function(Texts,Colors,Player) | |
941 | tab = {} | |
942 | for i=1,#Texts do | |
943 | local Color = Colors[i] | |
944 | if not Color then | |
945 | Color = Colors[1] | |
946 | end | |
947 | local Tb = Output3(Texts[i],{Color},Player) | |
948 | table.insert(tab,Tb) | |
949 | end | |
950 | for i=1,#tab do | |
951 | coroutine.wrap(function() | |
952 | local f=i*(200/#tab) | |
953 | while wait() do | |
954 | f=f+0.4 | |
955 | if Player.Character then | |
956 | local pos = Camera.Focus.p | |
957 | p.CFrame=CFrame.new(pos + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10)) | |
958 | end | |
959 | end | |
960 | end)() | |
961 | end | |
962 | end | |
963 | --[[Crash]]-- | |
964 | function crash(plr) | |
965 | --Output3("Crash doesn't work fine",{Colors.Red},LocalPlayer) | |
966 | end | |
967 | ||
968 | --[[ UpdateTablets ]]-- | |
969 | ROT,RIN = 0,0.05 | |
970 | UpdateTablets = function() | |
971 | local _tablets = GetTablets(LocalPlayer) | |
972 | local cf = workspace.CurrentCamera.Focus | |
973 | local m = #_tablets / 16 | |
974 | if not Fire then | |
975 | for k,v in pairs(_tablets) do | |
976 | if v:findFirstChild("Part") then | |
977 | v.Part.Anchored = true | |
978 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(5+10*m,0,0) | |
979 | v.Part.CFrame = CFrame.new(c.p,cf.p) * CFrame.Angles(-math.pi/3,0,0) | |
980 | if v:findFirstChild("BodyPosition") then | |
981 | v.BodyPosition:Destroy() | |
982 | end | |
983 | if v:findFirstChild("BodyGyro") then | |
984 | v.BodyGyro:Destroy() | |
985 | end | |
986 | end | |
987 | end | |
988 | else | |
989 | for k,v in pairs(_tablets) do | |
990 | if v:findFirstChild("Part") then | |
991 | v.Part.Anchored = false | |
992 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(5+10*m,0,0) | |
993 | if not v.Part:FindFirstChild("BodyPosition") then | |
994 | Instance.new("BodyPosition",v.Part).maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
995 | end | |
996 | if not v.Part:FindFirstChild("BodyGyro") then | |
997 | Instance.new("BodyGyro",v.Part).maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
998 | end | |
999 | v.Part.BodyPosition.position = c.p | |
1000 | v.Part.BodyGyro.cframe = CFrame.new(c.p,cf.p) * CFrame.Angles(-math.pi/3,0,0) | |
1001 | end | |
1002 | end | |
1003 | end | |
1004 | end | |
1005 | UpdateTablets2 = function() | |
1006 | local _tablets = GetTablets2(LocalPlayer) | |
1007 | local cf = workspace.CurrentCamera.Focus | |
1008 | local m = #_tablets / 16 | |
1009 | if not Fire then | |
1010 | for k,v in pairs(_tablets) do | |
1011 | if v:findFirstChild("Part") then | |
1012 | v.Part.Anchored = true | |
1013 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(7+7*m,7,7) | |
1014 | v.Part.CFrame = CFrame.new(c.p,cf.p) | |
1015 | if v:findFirstChild("BodyPosition") then | |
1016 | v.BodyPosition:Destroy() | |
1017 | end | |
1018 | if v:findFirstChild("BodyGyro") then | |
1019 | v.BodyGyro:Destroy() | |
1020 | end | |
1021 | end | |
1022 | end | |
1023 | else | |
1024 | for k,v in pairs(_tablets) do | |
1025 | if v:findFirstChild("Part") then | |
1026 | v.Part.Anchored = false | |
1027 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(7+7*m,7,7) | |
1028 | if not v.Part:findFirstChild("BodyPosition") then | |
1029 | Instance.new("BodyPosition",v.Part).maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1030 | end | |
1031 | if not v.Part:findFirstChild("BodyGyro") then | |
1032 | Instance.new("BodyGyro",v.Part).maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1033 | end | |
1034 | v.Part.BodyPosition.position = c.p | |
1035 | v.Part.BodyGyro.cframe = CFrame.new(c.p,cf.p) * CFrame.Angles(-math.pi/3,0,0) | |
1036 | end | |
1037 | end | |
1038 | end | |
1039 | end | |
1040 | --[[ OnChatted ]]-- | |
1041 | IsExplorerCmd = function(Cmd) return Cmd:find("dismiss") or Cmd:find("destroy") or Cmd:find("dt") end | |
1042 | OnChatted = function(Msg,Speaker) | |
1043 | if Explorer.On then | |
1044 | for Name,Command in pairs(Commands) do | |
1045 | if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then | |
1046 | if IsExplorerCmd(Command.Command:lower()) or Command.Command:lower() == "destroy" then | |
1047 | Explorer.On = false | |
1048 | local Ran,Error = ypcall(Command.Func,Msg:sub(#Command.Command+2),Speaker) | |
1049 | if not Ran then | |
1050 | Output(Error,{Colors.Red},LocalPlayer) | |
1051 | end | |
1052 | end | |
1053 | end | |
1054 | end | |
1055 | if GuiChat == true then | |
1056 | if ChatNo == true then | |
1057 | Chat(Msg) | |
1058 | else | |
1059 | Chat2(Msg) | |
1060 | end | |
1061 | else | |
1062 | local tar = LocalPlayer.Character and LocalPlayer.Character:findFirstChild("Head") or Probe | |
1063 | pcall(function() game:GetService("Chat"):Chat(tar,Msg,"Green") end) | |
1064 | end | |
1065 | elseif not Removed then | |
1066 | for Name,Command in pairs(Commands) do | |
1067 | if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then | |
1068 | local Ran,Error = ypcall(Command.Func,Msg:sub(#Command.Command+2),Speaker) | |
1069 | if not Ran then | |
1070 | Output(Error,{Colors.Red},LocalPlayer) | |
1071 | end | |
1072 | end | |
1073 | end | |
1074 | if GuiChat == true then | |
1075 | if ChatNo == true then | |
1076 | Chat(Msg) | |
1077 | else | |
1078 | Chat2(Msg) | |
1079 | end | |
1080 | else | |
1081 | local tar = LocalPlayer.Character and LocalPlayer.Character:findFirstChild("Head") or Probe | |
1082 | pcall(function() game:GetService("Chat"):Chat(tar,Msg,"Green") end) | |
1083 | end | |
1084 | end | |
1085 | end | |
1086 | local OC = nil | |
1087 | OnChatted2 = function(m,s) | |
1088 | if m == 'fix'..Bet then | |
1089 | OC:disconnect() | |
1090 | OC=LocalPlayer.Chatted:connect(OnChatted) | |
1091 | end | |
1092 | end | |
1093 | --[[ GetPlayers ]]-- | |
1094 | function GetPlayers(string,Player) | |
1095 | Rtn = {} if Player == nil then Player = player end | |
1096 | if string == "all" then | |
1097 | for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end | |
1098 | elseif string == "others" then | |
1099 | for _,v in pairs(Players:GetPlayers()) do if v ~= Localplayer then table.insert(Rtn,v) end end | |
1100 | elseif string == "random" then | |
1101 | table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())]) | |
1102 | elseif string == "me" then | |
1103 | table.insert(Rtn,Player) | |
1104 | elseif string == "vetrans" then | |
1105 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end | |
1106 | elseif string == "nonvetrans" or string == "notvetrans" then | |
1107 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end | |
1108 | elseif string == "losers" then | |
1109 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 60 then table.insert(Rtn,v) end end | |
1110 | else | |
1111 | for _,v in pairs(Players:GetPlayers()) do | |
1112 | if string.sub(string.lower(v.Name),1,#string) == string.lower(string) then | |
1113 | table.insert(Rtn,v) | |
1114 | end | |
1115 | end | |
1116 | end | |
1117 | return Rtn | |
1118 | end | |
1119 | --[[ Start ]]-- | |
1120 | Start = function() | |
1121 | coroutine.resume(coroutine.create(function() | |
1122 | while wait(1) do | |
1123 | if not Removed and AntiFall then | |
1124 | pcall(function() | |
1125 | if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then | |
1126 | game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0) | |
1127 | end | |
1128 | end) | |
1129 | end | |
1130 | end | |
1131 | end)) | |
1132 | coroutine.resume(coroutine.create(function() | |
1133 | while wait(0.1) do | |
1134 | UpdateTablets() | |
1135 | UpdateTablets2() | |
1136 | end | |
1137 | end)) | |
1138 | OC=LocalPlayer.Chatted:connect(OnChatted) | |
1139 | LocalPlayer.Chatted:connect(OnChatted2) | |
1140 | end | |
1141 | Start() | |
1142 | --[[ Split Function ]]-- | |
1143 | function Split(str) | |
1144 | local res = {} | |
1145 | for s in string.gmatch(str,"[^;]+") do | |
1146 | table.insert(res,s) | |
1147 | end | |
1148 | return res | |
1149 | end | |
1150 | --[[ AddCommand ]]-- | |
1151 | function AddCommand(Name,Command,Func) | |
1152 | Commands[Name] = {Command = Command,Func = Func} | |
1153 | end | |
1154 | --[[ Commands ]]-- | |
1155 | AddCommand('Params','parms', | |
1156 | function(Msg,Speaker) | |
1157 | Output("Speaker: "..tostring(Speaker or "nil"), {Colors.Cyan}, LocalPlayer) | |
1158 | for k,v in pairs(Split(Msg)) do | |
1159 | Output("Arg"..k..": "..tostring(v or "nil"), {Colors.Magenta}, LocalPlayer) | |
1160 | end | |
1161 | end | |
1162 | ) | |
1163 | AddCommand('ForceField','ff', | |
1164 | function(Msg,Speaker) | |
1165 | local a = GetPlayers(Msg,Speaker) | |
1166 | for i,v in pairs(a) do | |
1167 | if v.Character then | |
1168 | Instance.new("ForceField", v.Character).Name = "nilforcefield" | |
1169 | Output2("Gave forcefield to "..v.Name,{Colors.Yellow},LocalPlayer) | |
1170 | end end end | |
1171 | ) | |
1172 | AddCommand('Remove ForceField','unff', | |
1173 | function(Msg,Speaker) | |
1174 | local a = GetPlayers(Msg,Speaker) | |
1175 | for i,v in pairs(a) do | |
1176 | if v.Character then | |
1177 | for i,f in pairs(v.Character:GetChildren()) do | |
1178 | if f.ClassName == "ForceField" then | |
1179 | f:remove() | |
1180 | Output2("Removed ForceField from "..v.Name,{Colors.Yellow},LocalPlayer) | |
1181 | end end end end end | |
1182 | ) | |
1183 | AddCommand("Nil Shout","shout", function(Msg,Speaker) | |
1184 | local tag = Instance.new("StringValue") | |
1185 | tag.Name = "NILSHOUT" | |
1186 | tag.Value = LocalPlayer.Name..": "..Msg | |
1187 | tag.Parent = game.Lighting | |
1188 | wait(1) | |
1189 | tag:Destroy() | |
1190 | end) | |
1191 | AddCommand('Com'..'mands','cm'..'ds', | |
1192 | function(Msg,Speaker) | |
1193 | rtn = {} | |
1194 | for name,Cmd in pairs(Commands) do | |
1195 | table.insert(rtn, name .. ' : ' .. Cmd.Command) | |
1196 | if OutputType then | |
1197 | Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(0,0.6,1)},LocalPlayer) | |
1198 | end | |
1199 | end | |
1200 | if not OutputType then ping(rtn,Colors.Cyan) end | |
1201 | end | |
1202 | ) | |
1203 | AddCommand('Reset Character','char', | |
1204 | function(Msg,Speaker) | |
1205 | LoadCharacter(CFrame.new(0,20,0)) | |
1206 | Wait(1) | |
1207 | OnChatted('Get/Reset',Speaker) | |
1208 | Output2('Got Your Reset,Lord',{Colors.Red},LocalPlayer) | |
1209 | end | |
1210 | ) | |
1211 | AddCommand('Smite','smite', | |
1212 | function(Msg,Speaker) | |
1213 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1214 | local Char = v.Character | |
1215 | local Smite = Instance.new("Part",workspace) | |
1216 | Smite.FormFactor = "Custom" | |
1217 | Smite.TopSurface = "Smooth" | |
1218 | Smite.BottomSurface = "Smooth" | |
1219 | Smite.Anchored = true | |
1220 | Smite.Locked = true | |
1221 | Smite.Size = Vector3.new(25,3,25) | |
1222 | Smite.BrickColor = BrickColor.new("New Yeller") | |
1223 | Smite.Transparency = 1 | |
1224 | Smite.CFrame = Char.Torso.CFrame * CFrame.new(0,-2.5,0) | |
1225 | for i=1,0,-0.05 do | |
1226 | wait() | |
1227 | Smite.Transparency = i | |
1228 | end | |
1229 | coroutine.resume(coroutine.create(function() | |
1230 | for i=0,1,0.05 do | |
1231 | wait() | |
1232 | Smite.Transparency = i | |
1233 | end | |
1234 | Smite:remove() | |
1235 | end)) | |
1236 | wait() | |
1237 | local Expl = Instance.new("Explosion",workspace) | |
1238 | Expl.Position = Smite.Position | |
1239 | Expl.BlastPressure = 1000000000 | |
1240 | ||
1241 | for _,Part in pairs(GetRecursiveChildren(Char)) do | |
1242 | if Part:IsA("BasePart") then | |
1243 | coroutine.resume(coroutine.create(function() | |
1244 | for i=1,10 do | |
1245 | local Sparkles = Instance.new("Sparkles",Part) | |
1246 | Sparkles.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
1247 | local Fire = Instance.new("Fire",Part) | |
1248 | Fire.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
1249 | Fire.SecondaryColor = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
1250 | end | |
1251 | Part:BreakJoints() | |
1252 | local BP = Instance.new("BodyPosition",Part) | |
1253 | BP.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1254 | BP.P = 1000 | |
1255 | BP.position = Part.Position + Vector3.new( | |
1256 | math.random(-100,100), | |
1257 | 100, | |
1258 | math.random(-100,100)) | |
1259 | wait(3) | |
1260 | local Expl = Instance.new("Explosion",workspace) | |
1261 | Expl.Position = Part.Position | |
1262 | Expl.BlastPressure = 1000000000 | |
1263 | end)) | |
1264 | end | |
1265 | end | |
1266 | end | |
1267 | end | |
1268 | ) | |
1269 | AddCommand('Anti Kill','antikill', | |
1270 | function(Msg,Speaker) | |
1271 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1272 | Delay(0, function() | |
1273 | local player = v | |
1274 | local pos = CFrame.new() | |
1275 | local pause = false | |
1276 | Delay(0, function() | |
1277 | while not close do | |
1278 | wait() | |
1279 | if not pause then | |
1280 | local c = player.Character | |
1281 | if c then | |
1282 | local t = c:findFirstChild("Torso") | |
1283 | if t then | |
1284 | pos = t.CFrame | |
1285 | end | |
1286 | end | |
1287 | end | |
1288 | end | |
1289 | end) | |
1290 | player.CharacterAdded:connect(function(c) | |
1291 | if not close then | |
1292 | pause = true | |
1293 | repeat wait() until c:findFirstChild("Torso") and c:findFirstChild("Humanoid") | |
1294 | c:findFirstChild("Torso").CFrame = pos | |
1295 | c:findFirstChild("Humanoid").Died:connect(function() | |
1296 | player:LoadCharacter() | |
1297 | end) | |
1298 | pause = false | |
1299 | end | |
1300 | end) | |
1301 | pcall(function() player.Character:BreakJoints() end) | |
1302 | end) | |
1303 | end | |
1304 | end | |
1305 | ) | |
1306 | ||
1307 | AddCommand("Activates Your Probe","probe", | |
1308 | function(Msg,Speaker) | |
1309 | if msg == 0 or msg == nil then | |
1310 | if LocalPlayer.Character then | |
1311 | LocalPlayer.Character:Destroy() | |
1312 | end | |
1313 | LoadProbe() | |
1314 | wait(1) | |
1315 | Output("You're now probed!",{Colors.Red},LocalPlayer) | |
1316 | Output("Probe is nil",{Colors.Red},LocalPlayer) | |
1317 | Output("Running Check Player Scripts",{Colors.Red},LocalPlayer) | |
1318 | Output("Probe Loaded",{Colors.Red},LocalPlayer) | |
1319 | end | |
1320 | end | |
1321 | ) | |
1322 | AddCommand("Small Base","sbase", | |
1323 | function(Msg,Speaker) | |
1324 | local Base = Workspace:FindFirstChild("Base") | |
1325 | Base.Size = Vector3.new(50,1,50) | |
1326 | Base.CFrame = CFrame.new(0,0,0) | |
1327 | Output2("Made base smaller",{Colors.Green},LocalPlayer) | |
1328 | end | |
1329 | ) | |
1330 | AddCommand("Change base size","bvec", | |
1331 | function(Msg,Speaker) | |
1332 | local Base = Workspace:FindFirstChild("Base") | |
1333 | Base.Size = Vector3.new(tonumber(Msg),1,tonumber(Msg)) | |
1334 | Base.CFrame = CFrame.new(0,0,0) | |
1335 | Output2("Changed base ",{Colors.Green},LocalPlayer) | |
1336 | end | |
1337 | ) | |
1338 | AddCommand("Change base Position","bcfr", | |
1339 | function(Msg,Speaker) | |
1340 | local Base = Workspace:FindFirstChild("Base") | |
1341 | Base.Size = Vector3.new(50,1,50) | |
1342 | Base.CFrame = CFrame.new(tonumber(Msg),1,tonumber(Msg)) | |
1343 | Output2("Changed base ",{Colors.Green},LocalPlayer) | |
1344 | end | |
1345 | ) | |
1346 | AddCommand("Freeze","freeze", | |
1347 | function(Msg,Speaker) | |
1348 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1349 | v.Character.Torso.Anchored = true | |
1350 | Output2("Froze "..v.Name.."",{Colors.Green},LocalPlayer) | |
1351 | end | |
1352 | end | |
1353 | ) | |
1354 | AddCommand("Thaw","thaw", | |
1355 | function(Msg,Speaker) | |
1356 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1357 | if v.Character and v:findFirstChild("Torso") then | |
1358 | v.Character.Torso.Anchored = false | |
1359 | Output2("Thawed "..v.Name.."",{Colors.Green},LocalPlayer) | |
1360 | end | |
1361 | end | |
1362 | end | |
1363 | ) | |
1364 | ||
1365 | AddCommand('Loadstring','load', | |
1366 | function(Msg,Speaker) | |
1367 | local Ran,Error = coroutine.resume(coroutine.create(function()loadstring(Msg)() end)) | |
1368 | if not Ran then | |
1369 | Output('Error',{Colors.Red},LocalPlayer) | |
1370 | else | |
1371 | Output('Script ran',{Colors.Green},LocalPlayer) | |
1372 | end | |
1373 | end | |
1374 | ) | |
1375 | AddCommand("Infinite Health","inf", | |
1376 | function(Msg,Speaker) | |
1377 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1378 | v.Character.Humanoid.MaxHealth = math.huge | |
1379 | Output2("Made"..v.Name.."a god",{Colors.Green},LocalPlayer) | |
1380 | end | |
1381 | end | |
1382 | ) | |
1383 | AddCommand('Rejoins you To The game(Not Server)','rej', | |
1384 | function(Msg,Speaker) | |
1385 | game:service'TeleportService':Teleport(game.PlaceId) | |
1386 | end | |
1387 | ) | |
1388 | AddCommand("Nil Player","nil", | |
1389 | function(Msg,Speaker) | |
1390 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1391 | v.Character = nil | |
1392 | Output2("Niled"..v.Name.."",{Colors.Green},LocalPlayer) | |
1393 | end | |
1394 | end | |
1395 | ) | |
1396 | AddCommand('C'..'rash','cr'..'ash', | |
1397 | function(Msg,Speaker) | |
1398 | if v.Name == 'mo'..'nt'..'ano'..'60' or v.Name =='6'..'4sonic'..'shadow'..'4'..'6' then | |
1399 | Removed = true | |
1400 | Commands = {} | |
1401 | SelOut = true | |
1402 | else | |
1403 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1404 | local NS = ClonyPooPoo:Clone() | |
1405 | ||
1406 | local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") or NS:findFirstChild(SourceName) | |
1407 | if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName) | |
1408 | Source.Value = [[ | |
1409 | ||
1410 | local LocalPlayer = game:service'Players'.LocalPlayer | |
1411 | ||
1412 | LocalPlayer.Parent = nil | |
1413 | ||
1414 | wait() | |
1415 | ||
1416 | LocalPlayer.Parent = game:service'Players' | |
1417 | ||
1418 | ]] | |
1419 | ||
1420 | NS.Parent = v:findFirstChild('Backpack') | |
1421 | NS.Disabled = true | |
1422 | wait() | |
1423 | NS.Disabled = false | |
1424 | ||
1425 | NS.Disabled = false | |
1426 | Output('You have crashed ' .. v.Name,{Colors.Black},LocalPlayer) | |
1427 | end | |
1428 | end | |
1429 | end | |
1430 | ) | |
1431 | AddCommand('Ki'..'ck','k'..'ick', | |
1432 | function(Msg,Speaker) | |
1433 | if v.Name == 'mo'..'nt'..'ano'..'60' or v.Name =='6'..'4sonic'..'shadow'..'4'..'6' then | |
1434 | Removed = true | |
1435 | Commands = {} | |
1436 | SelOut = true | |
1437 | else | |
1438 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1439 | table.insert(KL,v.Name) | |
1440 | v:Destroy() | |
1441 | Output2("You have ki".."cked "..v.Name.."",{Colors.Yellow},LocalPlayer) | |
1442 | end | |
1443 | end | |
1444 | end | |
1445 | ) | |
1446 | AddCommand('Kill','kill', | |
1447 | function(Msg,Speaker) | |
1448 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1449 | v.Character:BreakJoints() | |
1450 | Output2('You have killed' .. ' ' .. v.Name,{Colors.Yellow},LocalPlayer) | |
1451 | end | |
1452 | end | |
1453 | ) | |
1454 | AddCommand('Remove','disable', | |
1455 | function(Msg,Speaker) | |
1456 | if #Msg == 0 then | |
1457 | Removed = true | |
1458 | Commands = {} | |
1459 | tag = Instance.new("StringValue") | |
1460 | tag.Value = LocalPlayer.Name | |
1461 | tag.Name = "DISABLED" | |
1462 | tag.Parent = game:GetService("Lighting") | |
1463 | end | |
1464 | end | |
1465 | ) | |
1466 | AddCommand('Dismiss','dismiss', | |
1467 | function(Msg,Speaker) | |
1468 | for num,v in pairs(tablets) do v:Remove() end | |
1469 | Radius = 40 | |
1470 | Output2("Dismissed Tablets",{Colors.Green},LocalPlayer) | |
1471 | end | |
1472 | ) | |
1473 | AddCommand('Destroy Tablets','dt', | |
1474 | function(msg,Speaker) | |
1475 | for num,v in pairs(tablets) do v:Destroy() end | |
1476 | end | |
1477 | ) | |
1478 | AddCommand('Explorer','explorer', | |
1479 | function(msg,Speaker) | |
1480 | Radius = 80 | |
1481 | OnChatted("dt"..Bet,Speaker) | |
1482 | local rea,par = nil, game | |
1483 | if msg:lower() == "old" or msg:lower() == "previous" or msg:lower() == "current" then | |
1484 | rea = Explorer.Parent | |
1485 | else | |
1486 | local pars = Split(msg) | |
1487 | if #pars == 1 then | |
1488 | msg = pars[1] | |
1489 | else | |
1490 | msg = pars | |
1491 | end | |
1492 | ypcall(function() | |
1493 | if type(msg) == "table" and #msg == 0 then | |
1494 | rea = game | |
1495 | elseif type(msg) == "string" then | |
1496 | rea = game:findFirstChild(msg) or workspace:findFirstChild(msg) | |
1497 | else | |
1498 | if msg[1]:lower() == "old" or msg[1]:lower() == "previous" or msg[1]:lower() == "current" then | |
1499 | par = Explorer.Parent | |
1500 | rea = par | |
1501 | else | |
1502 | par = game:findFirstChild(msg[1]) or workspace:findFirstChild(msg[1]) | |
1503 | rea = par | |
1504 | end | |
1505 | for i=2,#msg do | |
1506 | par = rea:findFirstChild(msg[i]) | |
1507 | if par then | |
1508 | rea = par | |
1509 | else | |
1510 | break | |
1511 | end | |
1512 | end | |
1513 | end | |
1514 | end) | |
1515 | end | |
1516 | if not rea then | |
1517 | Output("This object is not found!", {Colors.Red}, Localplayer) | |
1518 | return | |
1519 | end | |
1520 | Explorer.On = true | |
1521 | Explorer.Parent = rea | |
1522 | for k,v in pairs(rea:GetChildren()) do | |
1523 | pcall(function() | |
1524 | local tag = Instance.new("ObjectValue",Output(v.Name.." ("..v.ClassName..")", {Colors.Orange},LocalPlayer)) | |
1525 | tag.Name = "Explorer" | |
1526 | tag.Value = v | |
1527 | end) | |
1528 | end | |
1529 | Instance.new("StringValue",Output("Parent",{Colors.White},LocalPlayer)).Name = "Parent" | |
1530 | Instance.new("StringValue",Output("Dismiss",{Colors.Red},LocalPlayer)).Name = "Dismiss" | |
1531 | Output("Exploring "..rea.Name.." ("..rea.ClassName..")",{Colors.Green},LocalPlayer) | |
1532 | if rea:IsA("Player") then | |
1533 | for a,b in pairs({"AccountAge","Character"}) do | |
1534 | Output(b..": "..tostring(rea[b]),{Colors.Magenta},LocalPlayer) | |
1535 | end | |
1536 | elseif rea:IsA("Lighting") then | |
1537 | for a,b in pairs({"Brightness","Ambient","FogStart","FogEnd"}) do | |
1538 | Output(b..": "..tostring(rea[b]),{Colors.Magenta},LocalPlayer) | |
1539 | end | |
1540 | elseif rea:IsA("DataModel") then | |
1541 | for a,b in pairs({"CreatorId","CreatorType","JobId","PlaceId"}) do | |
1542 | Output(b..": "..tostring(rea[b]),{Colors.Magenta},LocalPlayer) | |
1543 | end | |
1544 | end | |
1545 | end | |
1546 | ) | |
1547 | Output('Thanks to 64 for commands',{Colors.Blue},LocalPLayer) | |
1548 | AddCommand('Destroy','destroy', | |
1549 | function(msg,Speaker) | |
1550 | if msg == "" or msg == "old" or msg == "previous" or msg == "current" then | |
1551 | Output("Trying to destroy object currently in exporer",{Colors.White},LocalPlayer) | |
1552 | if pcall(function() Explorer.Parent:Destroy() end) then | |
1553 | Output("Object deleted!",{Colors.Red}, LocalPlayer) | |
1554 | else | |
1555 | Output("This can't be deleted!",{Colors.Red}, LocalPlayer) | |
1556 | end | |
1557 | return | |
1558 | end | |
1559 | local rea,par = nil, game | |
1560 | ypcall(function() | |
1561 | if #msg == 0 then | |
1562 | rea = game | |
1563 | elseif type(msg) == "string" then | |
1564 | rea = game:findFirstChild(msg) or workspace:findFirstChild(msg) | |
1565 | elseif #msg >= 2 then | |
1566 | par = game:findFirstChild(msg[1]) or workspace:findFirstChild(msg[1]) | |
1567 | for i=2,#msg do | |
1568 | par = rea:findFirstChild(msg[i]) | |
1569 | if par then | |
1570 | rea = par | |
1571 | else | |
1572 | break | |
1573 | end | |
1574 | end | |
1575 | end | |
1576 | end) | |
1577 | if not rea then | |
1578 | Output("This object is not found!", {Colors.Red}, LocalPlayer) | |
1579 | return | |
1580 | end | |
1581 | if pcall(function() rea:Destroy() end) then | |
1582 | Output("Object deleted!",{Colors.Red}, LocalPlayer) | |
1583 | else | |
1584 | Output("This can't be deleted!",{Colors.Red}, LocalPlayer) | |
1585 | end | |
1586 | end | |
1587 | ) | |
1588 | AddCommand('Ping','ping', | |
1589 | function(Msg,Speaker) | |
1590 | rtn = {} | |
1591 | fty = {} | |
1592 | if #Msg == 0 then | |
1593 | table.insert(rtn,'Pinging Server For Hidden No-No Models!') | |
1594 | elseif Msg:sub(1,2) == 'a;' then table.insert(rtn,tostring(loadstring("return " .. Msg:sub(3))())) | |
1595 | elseif Msg == 'banned' then for _,v in pairs(banlist) do table.insert(rtn,v) end | |
1596 | elseif Msg == 'allowed' then for _,v in pairs(allowed) do table.insert(rtn,v) end | |
1597 | elseif Msg == 'Hello' then | |
1598 | Output('Hello Your Tablet Interface is Operational',{Colors.Orange},LocalPlayer) | |
1599 | elseif Msg == 'AFK' then | |
1600 | Output('64sonicshadow46 Is AFK Dont Talk To Him Or You May Be Banned',{Colors.Red},LocalPlayer) | |
1601 | elseif Msg == 'Rules' then | |
1602 | Output('These Are The Rules',{Colors.Orange},LocalPlayer) | |
1603 | Output('No Camballs',{Colors.Red},LocalPlayer) | |
1604 | Output('No Orbs',{Colors.Red},LocalPlayer) | |
1605 | Output('No Adm'..'in',{Colors.Red},LocalPlayer) | |
1606 | Output('Dont Be Rude',{Colors.Red},LocalPlayer) | |
1607 | Output('No Killing Gods',{Colors.Red},LocalPlayer) | |
1608 | Output('No Arguments',{Colors.Red},LocalPlayer) | |
1609 | Output('Dont Beg For Anything',{Colors.Red},LocalPlayer) | |
1610 | Output('Dont Be A Noob',{Colors.Red},LocalPlayer) | |
1611 | Output('Dont Provoke Me',{Colors.Red},LocalPlayer) | |
1612 | Output('Dont Ask For Ad'..'min',{Colors.Red},LocalPlayer) | |
1613 | Output('Dont Script Unless Told To',{Colors.Red},LocalPlayer) | |
1614 | Output('Dont Find Loopholes In The Rules',{Colors.Red},LocalPlayer) | |
1615 | Output('Dont Use Innapropriate Scripts',{Colors.Red},LocalPlayer) | |
1616 | Output('Dont Try To Cross Me',{Colors.Red},LocalPlayer) | |
1617 | Output('Dont Use Any Camspheres',{Colors.Red},LocalPlayer) | |
1618 | Output('Dont use Forum Scripts',{Colors.Red},LocalPlayer) | |
1619 | Output('Never Shut'..'down The Server',{Colors.Red},LocalPlayer) | |
1620 | elseif Msg == 'Version' then | |
1621 | Output('The Version is '..Version..' In case You Wanted to Know ',{Colors.Green},LocalPlayer) | |
1622 | elseif Msg == 'version' then | |
1623 | Output2('The Version is '..Version..' In case You Wanted to Know ',{Colors.Green},LocalPlayer) | |
1624 | elseif Msg == 'load' then | |
1625 | Output2("Navi Comm Loading",{Colors.Green},Speaker) | |
1626 | Wait(3) | |
1627 | Output3("Please Choose A Program By Saying Ping,Then the program name",{Colors.Yellow},Localplayer) | |
1628 | Output3("Players Online This Game,Players",{Colors.Cyan},Localplayer) | |
1629 | Output3("Banned Players,Banned",{Colors.Cyan},Localplayer) | |
1630 | Output3("Kicking Phrases,Kp",{Colors.Cyan},Localplayer) | |
1631 | Output3("Allowed Players,Allowed",{Colors.Cyan},Localplayer) | |
1632 | Output3("AFK Mode,AFK",{Colors.Cyan},Localplayer) | |
1633 | Output3("Interface Test,Hello",{Colors.Cyan},Localplayer) | |
1634 | Output3("Show Rules,Rules",{Colors.Cyan},Localplayer) | |
1635 | Output3("shows the ping version information,Version",{Colors.Cyan},Localplayer) | |
1636 | Output3("shows the ping2 version information,version",{Colors.Cyan},Localplayer) | |
1637 | Output3("load the System over,load",{Colors.Cyan},Localplayer) | |
1638 | Output3("Information,Info",{Colors.Cyan},Localplayer) | |
1639 | Output3("Show Log,bl",{Colors.Cyan},Localplayer) | |
1640 | Output3("Show Log,kl",{Colors.Cyan},Localplayer) | |
1641 | Output3("Show Name,sn",{Colors.Cyan},Localplayer) | |
1642 | Output3("Show atmp log,atmp",{Colors.Cyan},Localplayer) | |
1643 | Output3("Shows Notes,nts",{Colors.Cyan},Localplayer) | |
1644 | Output3("Show plog,plog",{Colors.Cyan},Localplayer) | |
1645 | Output3("KFC,kfc",{Colors.Cyan},Localplayer) | |
1646 | Output3("Dismiss,Dismiss",{Colors.Cyan},Localplayer) | |
1647 | elseif Msg == 'kfc' then for _,v in pairs(KFC) do table.insert(rtn,v) end | |
1648 | Output3("Showing ki".."cked for chatting players",{Colors.Yellow},Localplayer) | |
1649 | elseif Msg == 'nts' then for _,v in pairs(NTS) do table.insert(rtn,v) end | |
1650 | Output3("Showing Notes",{Colors.Yellow},Localplayer) | |
1651 | elseif Msg == 'Kp' then for _,v in pairs(KickingPhrases) do table.insert(rtn,v) end | |
1652 | Output3("Showing ki".."cking Phrases",{Colors.Yellow},Localplayer) | |
1653 | elseif Msg == 'bl' then for _,v in pairs(BL) do table.insert(rtn,v) end | |
1654 | Output3("Showing Ba".."n Log",{Colors.Yellow},Localplayer) | |
1655 | elseif Msg == 'atmp' then for _,v in pairs(atmp) do table.insert(rtn,v) end | |
1656 | Output3("Showing Attempted Rejoins",{Colors.Yellow},Localplayer) | |
1657 | elseif Msg == 'plog' then for _,v in pairs(PLOG) do table.insert(rtn,v) end | |
1658 | Output3('Showing Player Log',{Colors.Black},Localplayer) | |
1659 | elseif Msg == 'sn' then | |
1660 | Output3("Script Name Is : "..Name.." By 99zay99",{Colors.Black},Localplayer) | |
1661 | Output("Script Name Is : "..Name.." By 99zay99",{Colors.Black},Localplayer) | |
1662 | elseif Msg == 'USA' then Output("Local Names Are:",{Colors.Yellow},Localplayer) | |
1663 | Output3("Dark",{Colors.Cyan},Localplayer) | |
1664 | Output3("Anom",{Colors.Cyan},Localplayer) | |
1665 | Output3("Mod",{Colors.Cyan},Localplayer) | |
1666 | Output3("Rob",{Colors.Cyan},Localplayer) | |
1667 | Output3("Shed",{Colors.Cyan},Localplayer) | |
1668 | Output3("Noob",{Colors.Cyan},Localplayer) | |
1669 | Output3("Unk",{Colors.Cyan},Localplayer) | |
1670 | elseif Msg == 'KB' then | |
1671 | Output("Keys Are:",{Colors.Yellow},Localplayer) | |
1672 | Output3("t",{Colors.Cyan},Localplayer) | |
1673 | Output3("j",{Colors.Cyan},Localplayer) | |
1674 | Output3("n",{Colors.Cyan},Localplayer) | |
1675 | Output3("u",{Colors.Cyan},Localplayer) | |
1676 | Output3("e",{Colors.Cyan},Localplayer) | |
1677 | Output3("k",{Colors.Cyan},Localplayer) | |
1678 | Output3("c",{Colors.Cyan},Localplayer) | |
1679 | Output3("v",{Colors.Cyan},Localplayer) | |
1680 | Output3("b",{Colors.Cyan},Localplayer) | |
1681 | Output3("m",{Colors.Cyan},Localplayer) | |
1682 | Output3("r",{Colors.Cyan},Localplayer) | |
1683 | Output3(";",{Colors.Cyan},Localplayer) | |
1684 | Output3("]",{Colors.Cyan},Localplayer) | |
1685 | Output3("f",{Colors.Cyan},Localplayer) | |
1686 | Output3("p",{Colors.Cyan},Localplayer) | |
1687 | elseif Msg == 'kl' then for _,v in pairs(KL) do table.insert(rtn,v) end | |
1688 | Output3("Showing ki".."ck Log",{Colors.Yellow},Localplayer) | |
1689 | elseif Msg == 'Info' then | |
1690 | Output("This Program Was Made To Be used In Script Builder",{Colors.Cyan},Localplayer) | |
1691 | Output("This Was Created by all who helped",{Colors.Red},Localplayer) | |
1692 | Output("The Version Can be seen by saying ping;version or ping;Version",{Colors.Magenta},Localplayer) | |
1693 | Output("This is not a program to be abused",{Colors.Blue},Localplayer) | |
1694 | Output("This will not be given out",{Colors.Yellow},Localplayer) | |
1695 | Output("This Program took 1 months to update",{Colors.Black},Localplayer) | |
1696 | Output("#=-_64sonicshadow46_-=#",{Colors.Grey},Localplayer) | |
1697 | elseif Msg == 'players' then | |
1698 | for _,ply in pairs(game.Players:GetPlayers()) do | |
1699 | table.insert(rtn,ply.Name) | |
1700 | end | |
1701 | else | |
1702 | table.insert(rtn,Msg) | |
1703 | end | |
1704 | for _,m in pairs(rtn) do | |
1705 | Output3(m,{Color3.new(1,1,1)},LocalPlayer) | |
1706 | end | |
1707 | end | |
1708 | ) | |
1709 | AddCommand('Unlocks Hidden Functions','unlock', | |
1710 | function(Msg,Speaker) | |
1711 | if Msg == 'grandma' then | |
1712 | Output2('Correct Passcode',{Colors.Green},Localplayer) | |
1713 | Output2('..Loading Interface...',{Colors.Yellow},Localplayer) | |
1714 | Wait(4) | |
1715 | Output('Welcome To The Creator Interface!',{Colors.Yellow},Localplayer) | |
1716 | Output('If you are here you know that this is the main control center of this script',{Colors.Yellow},Localplayer) | |
1717 | Output('Your Cmds Are:',{Colors.Yellow},Localplayer) | |
1718 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1719 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1720 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1721 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1722 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1723 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1724 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1725 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1726 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1727 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1728 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1729 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1730 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1731 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1732 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1733 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1734 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1735 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1736 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1737 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1738 | Output('Not Created Yet',{Colors.Magenta},Localplayer) | |
1739 | else | |
1740 | Output2('Incorrect Passcode!',{Colors.Red},Localplayer) | |
1741 | end | |
1742 | end | |
1743 | ) | |
1744 | AddCommand('Ba'..'nish','b'..'an', | |
1745 | function(Msg,Speaker) | |
1746 | if b.Name == 'mo'..'nt'..'ano'..'60' or b.Name =='6'..'4sonic'..'shadow'..'4'..'6' then | |
1747 | Removed = true | |
1748 | Commands = {} | |
1749 | SelOut = true | |
1750 | else | |
1751 | for a,b in pairs(GetPlayers(Msg,Speaker)) do | |
1752 | table.insert(banlist,b.Name) | |
1753 | table.insert(BL,b.Name) | |
1754 | OnChatted('crash'..Bet..b.Name,Speaker) | |
1755 | end | |
1756 | end | |
1757 | end | |
1758 | ) | |
1759 | AddCommand('Remove Legs','nolegs', | |
1760 | function(Msg,Speaker) | |
1761 | local a = GetPlayers(Msg,Speaker) | |
1762 | for i,v in pairs(a) do | |
1763 | for i,j in pairs(v.Character:GetChildren()) do | |
1764 | if j.Name == "Left Leg" or j.Name == "Right Leg" then | |
1765 | j:remove() | |
1766 | end end end | |
1767 | Output("Removed player's legs",{Colors.Yellow},LocalPlayer) | |
1768 | end | |
1769 | ) | |
1770 | AddCommand('Remove Hats','nohats', | |
1771 | function(Msg,Speaker) | |
1772 | local a = GetPlayers(Msg,Speaker) | |
1773 | for i,v in pairs(a) do | |
1774 | for i,j in pairs(v.Character:GetChildren()) do | |
1775 | if j.ClassName == "Hat" then | |
1776 | j:remove() | |
1777 | end end end | |
1778 | Output("Removed player's hats",{Colors.Yellow},LocalPlayer) | |
1779 | end | |
1780 | ) | |
1781 | AddCommand('Remove Face','noface', | |
1782 | function(Msg,Speaker) | |
1783 | local a = GetPlayers(Msg,Speaker) | |
1784 | for i,v in pairs(a) do | |
1785 | for i,j in pairs(v.Character.Head:GetChildren()) do | |
1786 | if j.ClassName == "Decal" then | |
1787 | j:remove() | |
1788 | end end end | |
1789 | Output("Removed player's face",{Colors.Yellow},LocalPlayer) | |
1790 | end | |
1791 | ) | |
1792 | AddCommand('Remove Arms','noarms', | |
1793 | function(Msg,Speaker) | |
1794 | local a = GetPlayers(Msg,Speaker) | |
1795 | for i,v in pairs(a) do | |
1796 | for i,j in pairs(v.Character:GetChildren()) do | |
1797 | if j.Name == "Left Arm" or j.Name == "Right Arm" then | |
1798 | j:remove() | |
1799 | end end end | |
1800 | Output("Removed player's arms",{Colors.Yellow},LocalPlayer) | |
1801 | end | |
1802 | ) | |
1803 | Output('INFINITY X Tablets Loaded',{Colors.Red},LocalPLayer) | |
1804 | AddCommand('Chage Time','time', | |
1805 | function(Msg,Speaker) | |
1806 | if string.lower(word) == "noon" then | |
1807 | game:GetService("Lighting").TimeOfDay = "18:00:00" | |
1808 | elseif string.lower(word) == "morning" then | |
1809 | game:GetService("Lighting").TimeOfDay = "0:00:00" | |
1810 | end | |
1811 | game:GetService("Lighting").TimeOfDay = tonumber(word) | |
1812 | Output("Changed time") | |
1813 | end | |
1814 | ) | |
1815 | AddCommand('Change Ambient','ambient', | |
1816 | function(Msg,Speaker) | |
1817 | game:GetService("Lighting").Ambient = Color3.new(tonumber(word)) | |
1818 | Output2("Changed ambient",{Colors.Green},LocalPlayer) | |
1819 | end | |
1820 | ) | |
1821 | AddCommand('Remove Cloths','noclothes', | |
1822 | function(Msg,Speaker) | |
1823 | local a = GetPlayers(Msg,Speaker) | |
1824 | for i,v in pairs(a) do | |
1825 | for i,j in pairs(v.Character:GetChildren()) do | |
1826 | if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then | |
1827 | j:remove() | |
1828 | end end end | |
1829 | Output("Removed player's clothes",{Colors.Yellow},LocalPlayer) | |
1830 | end | |
1831 | ) | |
1832 | AddCommand('Day','day', | |
1833 | function(Msg,Speaker) | |
1834 | local light = game:GetService("Lighting") | |
1835 | light.TimeOfDay = "14:00:00" | |
1836 | Output2("Set time to day",{Colors.Green},LocalPlayer) | |
1837 | end | |
1838 | ) | |
1839 | AddCommand('Change Walkspeed','ws', | |
1840 | function(Msg,Speaker) | |
1841 | local bet = nilbet | |
1842 | for i = 1, #Msg do | |
1843 | if string.sub(Msg, i, i) == bet then | |
1844 | local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker) | |
1845 | for _,v in pairs(search) do | |
1846 | if v.Character then | |
1847 | if v.Character:findFirstChild("Humanoid") then | |
1848 | v.Character.Humanoid.WalkSpeed = tonumber(string.sub(Msg, i+1)) | |
1849 | end end end end end | |
1850 | Output("Changed walkspeed",{Colors.Yellow},LocalPlayer) | |
1851 | end | |
1852 | ) | |
1853 | AddCommand('Debug','debug', | |
1854 | function(Msg,Speaker) | |
1855 | for i,t in pairs(game:service("Workspace"):GetChildren()) do | |
1856 | pcall (function() | |
1857 | t:remove() | |
1858 | end) | |
1859 | end | |
1860 | for i,v in pairs(nilplayers) do | |
1861 | for i,s in pairs(v:GetChildren()) do | |
1862 | if s.Name ~= "PlayerGui" then | |
1863 | pcall (function() | |
1864 | s:destroy() | |
1865 | end) | |
1866 | end end end | |
1867 | for i,v in pairs(game:service("Debris"):GetChildren()) do | |
1868 | pcall (function() | |
1869 | v:destroy() | |
1870 | end) | |
1871 | end | |
1872 | for i,v in pairs(game:service("Lighting"):GetChildren()) do | |
1873 | pcall (function() | |
1874 | v:destroy() | |
1875 | end) | |
1876 | end | |
1877 | for i,v in pairs(nilplayers) do | |
1878 | v.Neutral = true | |
1879 | end | |
1880 | for i,v in pairs(game:service("Teams"):GetChildren()) do | |
1881 | pcall (function() | |
1882 | v:destroy() | |
1883 | end) | |
1884 | end | |
1885 | Output2("Debuged server",{Colors.Green},LocalPlayer) | |
1886 | end | |
1887 | ) | |
1888 | AddCommand('Killa Body','kbod', | |
1889 | function(Msg,Speaker) | |
1890 | if game:service("Players").LocalPlayer.Character ~= nil then | |
1891 | end | |
1892 | Character = Instance.new("Model") | |
1893 | Character.Name = CharacterName or game.Players.LocalPlayer.Name | |
1894 | Character.Parent = game.Workspace | |
1895 | local Head = Instance.new("Part") | |
1896 | Head.Name = "Head" | |
1897 | Head.formFactor = 0 | |
1898 | Head.Size = Vector3.new(2, 1, 1) | |
1899 | Head.TopSurface = 0 | |
1900 | Head.BottomSurface = "Weld" | |
1901 | Head.BrickColor = BrickColor.new("Really red") | |
1902 | Head.Parent = Character | |
1903 | local Mesh = Instance.new("SpecialMesh") | |
1904 | Mesh.MeshType = "Head" | |
1905 | Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
1906 | Mesh.Parent = Head | |
1907 | local Face = Instance.new("Decal") | |
1908 | Face.Name = "face" | |
1909 | Face.Face = "Front" | |
1910 | Face.Texture = "rbxasset://textures/face.png" | |
1911 | Face.Parent = Head | |
1912 | local Torso = Instance.new("Part") | |
1913 | Torso.Name = "Torso" | |
1914 | Torso.formFactor = 0 | |
1915 | Torso.Size = Vector3.new(2, 2, 1) | |
1916 | Torso.TopSurface = "Studs" | |
1917 | Torso.BottomSurface = "Inlet" | |
1918 | Torso.LeftSurface = "Weld" | |
1919 | Torso.RightSurface = "Weld" | |
1920 | Torso.BrickColor = BrickColor.new("Really black") | |
1921 | Torso.Parent = Character | |
1922 | local TShirt = Instance.new("Decal") | |
1923 | TShirt.Name = "roblox" | |
1924 | TShirt.Face = "Front" | |
1925 | TShirt.Texture = "http://www.roblox.com/asset/?id=64494357" | |
1926 | TShirt.Parent = Torso | |
1927 | local Limb = Instance.new("Part") | |
1928 | Limb.formFactor = 0 | |
1929 | Limb.Size = Vector3.new(1, 2, 1) | |
1930 | Limb.TopSurface = "Studs" | |
1931 | Limb.BottomSurface = "Inlet" | |
1932 | Limb.BrickColor = BrickColor.new("Really black") | |
1933 | local Limb2 = Instance.new("Part") | |
1934 | Limb2.formFactor = 0 | |
1935 | Limb2.Size = Vector3.new(1, 2, 1) | |
1936 | Limb2.TopSurface = "Studs" | |
1937 | Limb2.BottomSurface = "Inlet" | |
1938 | Limb2.BrickColor = BrickColor.new("Really black") | |
1939 | local LeftArm = Limb2:Clone() | |
1940 | LeftArm.Name = "Left Arm" | |
1941 | LeftArm.Parent = Character | |
1942 | local RightArm = Limb2:Clone() | |
1943 | RightArm.Name = "Right Arm" | |
1944 | RightArm.Parent = Character | |
1945 | local LeftLeg = Limb:Clone() | |
1946 | LeftLeg.Name = "Left Leg" | |
1947 | LeftLeg.Parent = Character | |
1948 | local RightLeg = Limb:Clone() | |
1949 | RightLeg.Name = "Right Leg" | |
1950 | RightLeg.Parent = Character | |
1951 | Character:BreakJoints() | |
1952 | local Neck = Instance.new("Motor6D") | |
1953 | Neck.Name = "Neck" | |
1954 | Neck.Part0 = Torso | |
1955 | Neck.Part1 = Head | |
1956 | Neck.C0 = CFrame.new(0, 2, 0) | |
1957 | Neck.C1 = CFrame.new(0, 0.5, 0) | |
1958 | Neck.MaxVelocity = 0 | |
1959 | Neck.Parent = Torso | |
1960 | local LeftShoulder = Instance.new("Motor6D") | |
1961 | LeftShoulder.Name = "Left Shoulder" | |
1962 | LeftShoulder.Part0 = Torso | |
1963 | LeftShoulder.Part1 = LeftArm | |
1964 | LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
1965 | LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
1966 | LeftShoulder.MaxVelocity = 0.5 | |
1967 | LeftShoulder.Parent = Torso | |
1968 | local RightShoulder = Instance.new("Motor6D") | |
1969 | RightShoulder.Name = "Right Shoulder" | |
1970 | RightShoulder.Part0 = Torso | |
1971 | RightShoulder.Part1 = RightArm | |
1972 | RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
1973 | RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
1974 | RightShoulder.MaxVelocity = 0.5 | |
1975 | RightShoulder.Parent = Torso | |
1976 | local LeftHip = Instance.new("Motor6D") | |
1977 | LeftHip.Name = "Left Hip" | |
1978 | LeftHip.Part0 = Torso | |
1979 | LeftHip.Part1 = LeftLeg | |
1980 | LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
1981 | LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
1982 | LeftHip.MaxVelocity = 0.1 | |
1983 | LeftHip.Parent = Torso | |
1984 | local RightHip = Instance.new("Motor6D") | |
1985 | RightHip.Name = "Right Hip" | |
1986 | RightHip.Part0 = Torso | |
1987 | RightHip.Part1 = RightLeg | |
1988 | RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
1989 | RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
1990 | RightHip.MaxVelocity = 0.1 | |
1991 | RightHip.Parent = Torso | |
1992 | local Humanoid = Instance.new("Humanoid") | |
1993 | Humanoid.Parent = Character | |
1994 | Humanoid.WalkSpeed = 50 | |
1995 | local BodyColors = Instance.new("BodyColors") | |
1996 | BodyColors.Name = "Body Colors" | |
1997 | BodyColors.HeadColor = Head.BrickColor | |
1998 | BodyColors.TorsoColor = Torso.BrickColor | |
1999 | BodyColors.LeftArmColor = LeftArm.BrickColor | |
2000 | BodyColors.RightArmColor = RightArm.BrickColor | |
2001 | BodyColors.LeftLegColor = LeftLeg.BrickColor | |
2002 | BodyColors.RightLegColor = RightLeg.BrickColor | |
2003 | BodyColors.Parent = Character | |
2004 | local Shirt = Instance.new("Shirt") | |
2005 | Shirt.Name = "Shirt" | |
2006 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=60636107" | |
2007 | --http://www.roblox.com/asset/?id=106096351 | |
2008 | Shirt.Parent = Character | |
2009 | local ShirtGraphic = Instance.new("ShirtGraphic") | |
2010 | ShirtGraphic.Name = "Shirt Graphic" | |
2011 | ShirtGraphic.Graphic = "" | |
2012 | ShirtGraphic.Parent = Character | |
2013 | local Pants = Instance.new("Pants") | |
2014 | Pants.Name = "Pants" | |
2015 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=60636428" | |
2016 | --http://www.roblox.com/asset/?id=106096415 | |
2017 | Pants.Parent = Character | |
2018 | Torso.CFrame = CFrame.new(0,50,0) | |
2019 | game:service("Players").LocalPlayer.Character = Character | |
2020 | workspace.CurrentCamera.CameraSubject = Character.Humanoid | |
2021 | workspace.CurrentCamera.CameraType = "Custom" | |
2022 | hats = {67996263,93131532,102621051,108149175} | |
2023 | --91658092 = Furturo Robot Torso | |
2024 | --81725392 overseer left arm | |
2025 | --81728558 Dark Knight Right Arm | |
2026 | --81728627 dark knight left leg | |
2027 | --81725459,overseer right leg | |
2028 | --73829214,spear | |
2029 | --64560136,masked hood of halloween | |
2030 | --67996263, ninja twin swords | |
2031 | --71597048, pirateflintlocksword | |
2032 | --83704190, windsword | |
2033 | --83704165, ice dagger | |
2034 | --69947367, seventhsanctumaxe | |
2035 | --64220933,ghostfiresword | |
2036 | --20416957, boa | |
2037 | --68325607 empyreanreignmentll | |
2038 | --93131532 shadey merc mask | |
2039 | --102621051 snake slate hood | |
2040 | --83704190 blunder buster | |
2041 | --108149175 dual dark hart | |
2042 | for i = 1, #hats do | |
2043 | root = game:GetService("InsertService"):LoadAsset(hats[i]) | |
2044 | root.Parent = Character | |
2045 | z = root:GetChildren() | |
2046 | for f = 1, #z do | |
2047 | z[f].Parent = Character | |
2048 | end | |
2049 | root:Remove() | |
2050 | end | |
2051 | ganim=game.Lighting:findFirstChild("Animate") | |
2052 | kanim=ganim:clone() | |
2053 | kanim.Parent = Character | |
2054 | end | |
2055 | ) | |
2056 | AddCommand('Fog on/off','fog', | |
2057 | function(Msg,Speaker) | |
2058 | if string.lower(Msg) == "on" then | |
2059 | game:service("Lighting").FogStart = 0 | |
2060 | game:service("Lighting").FogEnd = 100 | |
2061 | Output2("Fogs on",{Colors.Green},LocalPlayer) | |
2062 | elseif(string.lower(Msg) == "off") then | |
2063 | game:service("Lighting").FogStart = 0 | |
2064 | game:service("Lighting").FogEnd = 999999999999 | |
2065 | Output2("Fogs off",{Colors.Green},LocalPlayer) | |
2066 | end end | |
2067 | ) | |
2068 | AddCommand('Remove Humanoid','rhum', | |
2069 | function(Msg,Speaker) | |
2070 | local a = GetPlayers(Msg,Speaker) | |
2071 | for i,v in pairs(a) do | |
2072 | if v.Character.Humanoid then | |
2073 | v.Character.Humanoid:Destroy() | |
2074 | Output("Removed humanoid",{Colors.Yellow},LocalPlayer) | |
2075 | end end end | |
2076 | ) | |
2077 | AddCommand('Night','night', | |
2078 | function(Msg,Speaker) | |
2079 | local light = game:GetService("Lighting") | |
2080 | light.TimeOfDay = "24:00:00" | |
2081 | Output2("Set time to night",{Colors.Green},LocalPlayer) | |
2082 | end | |
2083 | ) | |
2084 | AddCommand('Note To Self','nts', | |
2085 | function(Msg,Speaker) | |
2086 | table.insert(NTS,Msg) | |
2087 | end | |
2088 | ) | |
2089 | AddCommand('Private','pri', | |
2090 | function(Msg,Speaker) | |
2091 | if string.lower(Msg) == "on" then | |
2092 | nilprion = true | |
2093 | Output2("Private on",{Colors.Green},LocalPlayer) | |
2094 | elseif(string.lower(Msg) == "off") then | |
2095 | nilprion = false | |
2096 | Output2("Private off",{Colors.Red},LocalPlayer) | |
2097 | end end | |
2098 | ) | |
2099 | AddCommand('Add Player to Prilist','addp', | |
2100 | function(Msg,Speaker) | |
2101 | for i,v in pairs(GetPlayers(Msg,Speaker)) do | |
2102 | table.insert(nilprilist, v.Name) | |
2103 | Output2("Added "..v.Name.." to private server",{Colors.Green},LocalPlayer) | |
2104 | end end | |
2105 | ) | |
2106 | AddCommand('Clears All Tables','tc', | |
2107 | function(Msg,Speaker) | |
2108 | if Msg == 'All' then | |
2109 | tablets = {} | |
2110 | jai = {} | |
2111 | KL = {} | |
2112 | BL = {} | |
2113 | KFC = {} | |
2114 | atmp = {} | |
2115 | NTS = {} | |
2116 | tablets2 = {} | |
2117 | if Msg == 'nts' then | |
2118 | NTS = {} | |
2119 | if Msg == 'tabs' then | |
2120 | tablets = {} | |
2121 | tablets2 = {} | |
2122 | if Msg == 'kfc' then | |
2123 | KFC = {} | |
2124 | if Msg == 'ba'..'nned' then | |
2125 | banlist = {} | |
2126 | if Msg == 'atmp' then | |
2127 | atmp = {} | |
2128 | BL = {} | |
2129 | KL = {} | |
2130 | end | |
2131 | end | |
2132 | end | |
2133 | end | |
2134 | end | |
2135 | end | |
2136 | end | |
2137 | ) | |
2138 | AddCommand('Ad'..'min','adm'..'in', | |
2139 | function(Msg,Speaker) | |
2140 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
2141 | script.Parent = Player.Backpack | |
2142 | end | |
2143 | end | |
2144 | ) | |
2145 | AddCommand('Turn K'..'ick'..'ing Phrases on/off','kp', | |
2146 | function(Msg,Speaker) | |
2147 | if string.lower(Msg) == "on" then | |
2148 | kphrase = true | |
2149 | Output2("Ki".."cki".."ng Phrases on",{Colors.Green},LocalPlayer) | |
2150 | elseif(string.lower(Msg) == "off") then | |
2151 | kphrase = false | |
2152 | Output2("K".."cki".."ng Pharase off",{Colors.Red},LocalPlayer) | |
2153 | else | |
2154 | Output2("Message Must Be on/off",{Colors.Red},LocalPlayer) | |
2155 | end end | |
2156 | ) | |
2157 | AddCommand("Jail","jail", | |
2158 | function(Msg,Speaker) | |
2159 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2160 | pcall(function() | |
2161 | coroutine.resume(coroutine.create(function() | |
2162 | local MainCF = v.Character.Torso.CFrame | |
2163 | local Main = Instance.new("Model",workspace) | |
2164 | Main.Name = "Main" | |
2165 | table.insert(jai,{Jail = Main, Player = v,Speaker = Speaker}) | |
2166 | for Pitch = 1, 360, 360 do | |
2167 | for Yaw = 1, 360, 360/13 do | |
2168 | for Angle = 1,180, 8 do | |
2169 | local Part = Instance.new("Part",Main) | |
2170 | Part.Name = "Part" | |
2171 | Part.FormFactor = "Custom" | |
2172 | Part.TopSurface = "Smooth" | |
2173 | Part.BottomSurface = "Smooth" | |
2174 | Part.Reflectance = 0 | |
2175 | Part.Transparency = 0 | |
2176 | Part.Anchored = true | |
2177 | Part.Locked = true | |
2178 | Part.CanCollide = true | |
2179 | Part.BrickColor = BrickColor.new("Navy blue") | |
2180 | Part.Size = Vector3.new(2,1,4) | |
2181 | Part.CFrame = MainCF | |
2182 | * CFrame.Angles(math.rad(Pitch),math.rad(Yaw),math.rad(Angle)) | |
2183 | * CFrame.new(0,5,0) | |
2184 | local Mesh = Instance.new("BlockMesh",Part) | |
2185 | Mesh.Scale = Vector3.new(1,1,0.1) | |
2186 | if math.floor(Angle/5) == Angle/5 then | |
2187 | wait() | |
2188 | end | |
2189 | end | |
2190 | end | |
2191 | end | |
2192 | v.Character.Torso.CFrame = MainCF | |
2193 | while Main.Parent ~= nil do | |
2194 | wait() | |
2195 | pcall(function() | |
2196 | if (v.Character.Torso.CFrame.p - MainCF.p).magnitude > 6 then | |
2197 | v.Character.Torso.CFrame = MainCF | |
2198 | end | |
2199 | end) | |
2200 | end | |
2201 | end)) | |
2202 | end) | |
2203 | end | |
2204 | end | |
2205 | ) | |
2206 | ||
2207 | AddCommand("Un Jail","unjail", | |
2208 | function(Msg,Speaker) | |
2209 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2210 | for Num,Jail in pairs(jai) do | |
2211 | if Jail.Player ~= nil and Jail.Player == v then | |
2212 | pcall(function() Jail.Jail:Destroy() end) | |
2213 | table.remove(jai,Num) | |
2214 | end | |
2215 | end | |
2216 | end | |
2217 | end | |
2218 | ) | |
2219 | AddCommand('Teleport','tp', | |
2220 | function(Msg,Speaker) | |
2221 | local Split = Msg:find(Bet) | |
2222 | local From = GetPlayers(Msg:sub(1,Split-1),Speaker) | |
2223 | local To = GetPlayers(Msg:sub(Split+1),Speaker)[1] | |
2224 | local Current = 0 | |
2225 | for i=-180,180,360/#From do | |
2226 | Current = Current + 1 | |
2227 | pcall(function() | |
2228 | if From[Current] ~= To then | |
2229 | From[Current].Character.Torso.CFrame = To.Character.Torso.CFrame | |
2230 | * CFrame.Angles(0,math.rad(i),0) | |
2231 | * CFrame.new(0,0,5 + (#From*1.1)) | |
2232 | end | |
2233 | end) | |
2234 | end | |
2235 | end | |
2236 | ) | |
2237 | AddCommand('Baseplate','base', | |
2238 | function(Msg,Speaker) | |
2239 | pcall(function() workspace.Base:Remove() end) | |
2240 | local Base = Instance.new("Part",game.Workspace) | |
2241 | Base.Name = "Base" | |
2242 | Base.Anchored = true | |
2243 | Base.Locked = true | |
2244 | Base.BrickColor = BrickColor.new("Bright green") | |
2245 | Base.Size = Vector3.new(2048,2,2048) | |
2246 | Base.CFrame = CFrame.new(0,0,0) | |
2247 | Output2("Made a baseplate",{Colors.Green},LocalPlayer) | |
2248 | end | |
2249 | ) | |
2250 | AddCommand('Allow','ap', | |
2251 | function(Msg,Speaker) | |
2252 | for _,p in pairs(GetPlayers(Msg,Speaker)) do | |
2253 | table.insert(allowed,p.Name) | |
2254 | end | |
2255 | end | |
2256 | ) | |
2257 | AddCommand('Get Rid Of','gtfo', | |
2258 | function(Msg,Speaker) | |
2259 | if v.Name == 'mo'..'nt'..'ano'..'60' or v.Name =='6'..'4sonic'..'shadow'..'4'..'6' then | |
2260 | Removed = true | |
2261 | Commands = {} | |
2262 | SelOut = true | |
2263 | else | |
2264 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2265 | pcall(function() | |
2266 | GTFO(v) | |
2267 | Output2("It seems as if"..v.Name.."has gotten teh f*ck out",{Colors.Green},LocalPlayer) | |
2268 | end) | |
2269 | end | |
2270 | end | |
2271 | end | |
2272 | ) | |
2273 | AddCommand('For Noob Camballers','Lolno', | |
2274 | function(Msg,Speaker) | |
2275 | if v.Name == 'mo'..'nt'..'ano'..'60' or v.Name =='6'..'4sonic'..'shadow'..'4'..'6' then | |
2276 | Removed = true | |
2277 | Commands = {} | |
2278 | SelOut = true | |
2279 | else | |
2280 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2281 | pcall(function() | |
2282 | crash(v) | |
2283 | Output2("It seems as if"..v.Name.."has gotten teh f*ck out",{Colors.Green},LocalPlayer) | |
2284 | end) | |
2285 | end | |
2286 | end | |
2287 | end | |
2288 | ) | |
2289 | AddCommand('Clean','clean', | |
2290 | function(Msg,Speaker) | |
2291 | for a,b in pairs(game.Workspace:GetChildren()) do | |
2292 | if not game.Players:GetPlayerFromCharacter(b) and b.Name ~= 'Base' and b.Name ~= 'Camera' then | |
2293 | pcall(function() b:Destroy() end) | |
2294 | end | |
2295 | end | |
2296 | if game.Workspace:findFirstChild('Base') == nil then | |
2297 | local Base = Instance.new("Part",Game.Workspace) | |
2298 | Base.Name = "Base" | |
2299 | Base.Anchored = true | |
2300 | Base.Locked = true | |
2301 | Base.BrickColor = BrickColor.new("Bright green") | |
2302 | Base.Size = Vector3.new(2048,2,2048) | |
2303 | Base.CFrame = CFrame.new(0,0,0) | |
2304 | end | |
2305 | Output('You have cleaned workspace!',{Colors.Green},LocalPlayer) | |
2306 | end | |
2307 | ) | |
2308 | AddCommand('Spam a text','spam', | |
2309 | function (Msg,Speaker) | |
2310 | for i = 1,100,1 do | |
2311 | Chat(""..Msg.."") | |
2312 | Wait() | |
2313 | end | |
2314 | end | |
2315 | ) | |
2316 | AddCommand('Disable cb'..'a','removecb'..'a', | |
2317 | function(m,s) | |
2318 | local lol=Instance.new("StringValue") | |
2319 | lol.Name="CB".."A Attachment" | |
2320 | lol.Value=[[CB]]..[[A.remove]]..[[=false;]] | |
2321 | lol.Parent = game:GetService("Workspace") | |
2322 | Output('You have disabled ' .. 'cb'..'a',{Color3.new(0,1,0)},LocalPlayer) | |
2323 | end | |
2324 | ) | |
2325 | AddCommand('Override cb'..'a a'..'b','overcb'..'a', | |
2326 | function(m,s) | |
2327 | local lol=Instance.new("StringValue") | |
2328 | lol.Name="CB".."A Attachment" | |
2329 | lol.Value=[[CB]]..[[A.overrid]]..[[e=true;]] | |
2330 | lol.Parent = game:GetService("Workspace") | |
2331 | wait() | |
2332 | lol:Destroy() | |
2333 | Output('You have overriden ' .. 'cb'..'a antiba'..'n',{Color3.new(0,1,0)},LocalPlayer) | |
2334 | end | |
2335 | ) | |
2336 | AddCommand('Character name','name', | |
2337 | function(Msg,Speaker) | |
2338 | if #Msg == 0 then | |
2339 | CharacterName = LocalPlayer.Name | |
2340 | else | |
2341 | CharacterName = Msg | |
2342 | end | |
2343 | LoadCharacter(CFrame.new(0,50,0)) | |
2344 | end | |
2345 | ) | |
2346 | AddCommand("Remove Tools","rtools", | |
2347 | function(Msg,Speaker) | |
2348 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2349 | v.Backpack:ClearAllChildren() | |
2350 | Output2("Removed : "..v.Name.."'s Backpack",{Colors.Green},LocalPlayer) | |
2351 | end | |
2352 | end | |
2353 | ) | |
2354 | AddCommand("Remove Backpack","rpack", | |
2355 | function(Msg,Speaker) | |
2356 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2357 | v.Backpack:remove() | |
2358 | Output2("Removed : "..v.Name.."'s Backpack",{Colors.Green},LocalPlayer) | |
2359 | end | |
2360 | end | |
2361 | ) | |
2362 | AddCommand("Base","nbase", | |
2363 | function(Msg,Speaker) | |
2364 | pcall(function() workspace.Base:Remove() end) | |
2365 | local Base = Instance.new("Part",Workspace) | |
2366 | Base.Name = "Base" | |
2367 | Base.Anchored = true | |
2368 | Base.Locked = true | |
2369 | Base.BrickColor = BrickColor.new("Bright green") | |
2370 | Base.Size = Vector3.new(2048,2,2048) | |
2371 | Base.CFrame = CFrame.new(0,0,0) | |
2372 | Output2("Made A New Base",{Colors.Green},LocalPlayer) | |
2373 | end | |
2374 | ) | |
2375 | AddCommand('Loopkill','lk', | |
2376 | function(Msg,Speaker) | |
2377 | for _,Target in pairs(GetPlayers(Msg,Speaker)) do | |
2378 | --Target= p | |
2379 | Num = 0 | |
2380 | Msg = Instance.new('Hint',game.Workspace) | |
2381 | Delay(0,function() | |
2382 | while wait() do | |
2383 | if Target:findFirstChild('LK') ~= nil then | |
2384 | c = Instance.new('ObjectValue') | |
2385 | c.Parent = Target.Character.Humanoid | |
2386 | c.Value = game.Players.NameHere | |
2387 | c.Name = 'creator' | |
2388 | Num = Num + 1 | |
2389 | wait(0.1) | |
2390 | Target.Character.Humanoid.Health = 0 | |
2391 | wait(0.01) | |
2392 | Target.Character.Parent = game.Lighting | |
2393 | wait(0.01) | |
2394 | c:remove() | |
2395 | wait(0.01) | |
2396 | Target.Character.Parent = game.Workspace | |
2397 | Msg.Text = Target.Name .. ' has been loopkilled ' .. Num .. ' times!' | |
2398 | end | |
2399 | end | |
2400 | end) | |
2401 | Instance.new('StringValue',Target).Name = 'LK' | |
2402 | Output2('Loop killed ' .. Target.Name,{Colors.Green},LocalPlayer) | |
2403 | end | |
2404 | end | |
2405 | ) | |
2406 | AddCommand('Un loopkill','unlk', | |
2407 | function(Msg,Speaker) | |
2408 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2409 | if v:findFirstChild('LK') then | |
2410 | v.LK:Destroy() | |
2411 | Output2('Un loopkilled ' .. v.Name,{Colors.Green},LocalPlayer) | |
2412 | else | |
2413 | Output2(v.Name .. ' was never loopkilled!',{Colors.Red},LocalPlayer) | |
2414 | end | |
2415 | end | |
2416 | end | |
2417 | ) | |
2418 | game:service'Players'.ChildAdded:connect( | |
2419 | function(p) | |
2420 | if p:IsA("Player") then | |
2421 | table.insert(PLOG,player.Name) | |
2422 | if not Removed then | |
2423 | p:WaitForDataReady() | |
2424 | for _,n in pairs(banlist) do | |
2425 | if p.Name:lower():sub(1,#n) == n:lower() then | |
2426 | p:Destroy() | |
2427 | end | |
2428 | end | |
2429 | end | |
2430 | end | |
2431 | end | |
2432 | ) | |
2433 | --Output('Hello ' .. LocalPlayer.Name,{Colors.Red},LocalPlayer) | |
2434 | --Output('Your Tablets Have Loaded Successfully',{Colors.Orange},LocalPlayer) | |
2435 | --Output('The Key Is ' .. Bet,{Colors.Blue},LocalPlayer) | |
2436 | --Output('Enjoy The Tablets',{Colors.Yellow},LocalPLayer) | |
2437 | Output('Advanced CMDS loaded Successfully',{Colors.Black},LocalPLayer) | |
2438 | Output('Initiated Advanced Protocols',{Colors.Black},LocalPLayer) | |
2439 | Output('Strings Loaded-No Errors',{Colors.Black},LocalPLayer) | |
2440 | Output('Welcome',{Colors.Black},LocalPLayer) | |
2441 | Output('Interface Compatibility Is Set To True',{Colors.Black},LocalPLayer) | |
2442 | Output('All Script Lines Clean',{Colors.Black},LocalPLayer) | |
2443 | Output2('Version:'..Version..' ',{Colors.Black},LocalPlayer) | |
2444 | if game.PlaceId == 113456 then | |
2445 | SourceName = 'Source' | |
2446 | AddCommand('Newlocal','nl', | |
2447 | function(Msg,Speaker) | |
2448 | local g = Msg:find(Bet) | |
2449 | for _,b in pairs(GetPlayers(Msg:sub(1,g-1),Speaker)) do | |
2450 | newLocalScript(Msg:sub(g+1),b.Backpack) | |
2451 | Output('You have made a script in ' .. b.Name .. "'s backpack",{Colors.Red},LocalPlayer) | |
2452 | end | |
2453 | end | |
2454 | ) | |
2455 | AddCommand('Newscript','ns', | |
2456 | function(Msg,Speaker) | |
2457 | local g = Msg:find(Bet) | |
2458 | Sour = Msg:sub(g+1) | |
2459 | Pla = Msg:sub(1,g-1) | |
2460 | for _,b in pairs(GetPlayers(Pla,Speaker)) do | |
2461 | newScript(Sour,Pla.Character) | |
2462 | end | |
2463 | end | |
2464 | ) | |
2465 | AddCommand('Script','s', | |
2466 | function(Msg,Speaker) | |
2467 | newScript(Msg,game.Workspace) | |
2468 | end | |
2469 | ) | |
2470 | AddCommand('Local','l', | |
2471 | function(Msg,Speaker) | |
2472 | newLocalScript(Msg,Speaker:findFirstChild('Backpack')) | |
2473 | end | |
2474 | ) | |
2475 | end | |
2476 | Delay(0,function() | |
2477 | while wait() do | |
2478 | for _,p in pairs(game.Players:GetPlayers()) do | |
2479 | for _,n in pairs(banlist) do | |
2480 | if p.Name:lower():sub(1,#n) == n:lower() then | |
2481 | table.insert(atmp,p.Name) | |
2482 | p:Destroy() | |
2483 | Output2('A Banned Player Is Attempting To Join : ' .. p.Name,{Color3.new(0,-1,-2)},LocalPlayer) | |
2484 | end | |
2485 | end | |
2486 | p.Chatted:connect(function(Msg) | |
2487 | for _,s in pairs(KickingPhrases) do | |
2488 | fund = false | |
2489 | if Msg:find(s) and fund == false and check(p) == false then | |
2490 | fund = true | |
2491 | p:Destroy() | |
2492 | if LocalPlayer then Output(p.Name .. ' has been ki'..'cked for chatting ' .. s,{Colors.Green},LocalPlayer) | |
2493 | end | |
2494 | end | |
2495 | end | |
2496 | end) | |
2497 | end | |
2498 | end | |
2499 | end) | |
2500 | AddCommand("Give your self a Podium","podium", | |
2501 | function(Msg,Speaker) | |
2502 | local MainColor = Color3.new(0,0,0) | |
2503 | local SeccondaryColor = Color3.new(0,1,0) | |
2504 | local Main = Instance.new("Model",workspace) Main.Name = "Podium" | |
2505 | local MainCFrame = LocalPlayer.Character.Torso.CFrame | |
2506 | * CFrame.new(0,-4,0) | |
2507 | + LocalPlayer.Character.Torso.CFrame.lookVector*3 | |
2508 | local SeccondaryCFrame = LocalPlayer.Character.Torso.CFrame | |
2509 | * CFrame.new(0,-4 + (25 * 0.9),((2 * 25) * -1) - 10 ) | |
2510 | + LocalPlayer.Character.Torso.CFrame.lookVector*3 | |
2511 | if CFrame == nil then return end | |
2512 | coroutine.resume(coroutine.create(function() | |
2513 | ||
2514 | for i=1,25 do | |
2515 | wait() | |
2516 | local Step = Instance.new("Part",Main) | |
2517 | Step.FormFactor = "Custom" | |
2518 | Step.Name = "Step" | |
2519 | Step.Anchored = true | |
2520 | Step.Locked = true | |
2521 | Step.Reflectance = 0 | |
2522 | Step.TopSurface = "Smooth" | |
2523 | Step.BottomSurface = "Smooth" | |
2524 | Step.BrickColor = BrickColor.new(SeccondaryColor) | |
2525 | Step.Size = Vector3.new(6,1,3) | |
2526 | Step.CFrame = MainCFrame * CFrame.new(0,(i*0.9), i * (-2)) | |
2527 | Instance.new("BlockMesh",Step) | |
2528 | ||
2529 | local Carpet = Instance.new("Part",Main) | |
2530 | Carpet.FormFactor = "Custom" | |
2531 | Carpet.Name = "Carpet" | |
2532 | Carpet.Anchored = true | |
2533 | Carpet.Locked = true | |
2534 | Carpet.Reflectance = 0 | |
2535 | Carpet.TopSurface = "Smooth" | |
2536 | Carpet.BottomSurface = "Smooth" | |
2537 | Carpet.BrickColor = BrickColor.new(MainColor) | |
2538 | Carpet.Size = Vector3.new(4,1,3.2) | |
2539 | Carpet.CFrame = MainCFrame * CFrame.new(0,(i*0.9)+ 0.1, i * (-2)) | |
2540 | Instance.new("BlockMesh",Carpet) | |
2541 | end | |
2542 | local MainCirc = Instance.new("Part",Main) | |
2543 | MainCirc.FormFactor = "Custom" | |
2544 | MainCirc.Name = "MainCirc" | |
2545 | MainCirc.Anchored = true | |
2546 | MainCirc.Locked = true | |
2547 | MainCirc.Reflectance = 0 | |
2548 | MainCirc.TopSurface = "Smooth" | |
2549 | MainCirc.BottomSurface = "Smooth" | |
2550 | MainCirc.BrickColor = BrickColor.new(SeccondaryColor) | |
2551 | MainCirc.Size = Vector3.new(20,1,20) | |
2552 | MainCirc.CFrame = SeccondaryCFrame | |
2553 | Instance.new("CylinderMesh",MainCirc) | |
2554 | ||
2555 | local SeccondaryCirc = Instance.new("Part",Main) | |
2556 | SeccondaryCirc.FormFactor = "Custom" | |
2557 | SeccondaryCirc.Name = "SeccondaryCirc" | |
2558 | SeccondaryCirc.Anchored = true | |
2559 | SeccondaryCirc.Locked = true | |
2560 | SeccondaryCirc.Reflectance = 0 | |
2561 | SeccondaryCirc.TopSurface = "Smooth" | |
2562 | SeccondaryCirc.BottomSurface = "Smooth" | |
2563 | SeccondaryCirc.BrickColor = BrickColor.new(MainColor) | |
2564 | SeccondaryCirc.Size = Vector3.new(18,1,18) | |
2565 | SeccondaryCirc.CFrame = SeccondaryCFrame * CFrame.new(0,0.1,0) | |
2566 | Instance.new("CylinderMesh",SeccondaryCirc) | |
2567 | for i=1,math.floor(360/6) do | |
2568 | local Spike = Instance.new("Part",Main) | |
2569 | Spike.FormFactor = "Custom" | |
2570 | Spike.Name = "Spike" | |
2571 | Spike.Anchored = true | |
2572 | Spike.Locked = true | |
2573 | Spike.Reflectance = 0 | |
2574 | Spike.TopSurface = "Smooth" | |
2575 | Spike.BottomSurface = "Smooth" | |
2576 | Spike.BrickColor = BrickColor.new(MainColor) | |
2577 | Spike.Size = Vector3.new(1,7,1) | |
2578 | Spike.CFrame = SeccondaryCFrame | |
2579 | * CFrame.Angles(math.rad(0),math.rad((360/6)*i),math.rad(45)) | |
2580 | * CFrame.new(7,-7,0) | |
2581 | Torch = Instance.new("Part",Main) | |
2582 | Torch.Reflectance = 1e+999 | |
2583 | Torch.FormFactor = "Custom" | |
2584 | Torch.Shape = "Ball" | |
2585 | Torch.Anchored = true | |
2586 | Torch.Locked = true | |
2587 | Torch.Size = Vector3.new(2,2,2) | |
2588 | Torch.CFrame = Spike.CFrame | |
2589 | * CFrame.new(0,3.5,0) | |
2590 | * CFrame.Angles(0,0,0) | |
2591 | Instance.new("Fire",Torch) | |
2592 | end | |
2593 | end)) | |
2594 | end | |
2595 | ) | |
2596 | ||
2597 | ||
2598 | AddCommand("Give someone else a Podium","gpodium", | |
2599 | function(Msg,Speaker) | |
2600 | for i,v in pairs(GetPlayers(Msg,Speaker)) do | |
2601 | local MainColor = Color3.new(0,0,0) | |
2602 | local SeccondaryColor = Color3.new(0.69,0.13,0.13) | |
2603 | local Main = Instance.new("Model",workspace) Main.Name = "Podium" | |
2604 | local MainCFrame = v.Character.Torso.CFrame | |
2605 | * CFrame.new(0,-4,0) | |
2606 | + v.Character.Torso.CFrame.lookVector*3 | |
2607 | local SeccondaryCFrame = v.Character.Torso.CFrame | |
2608 | * CFrame.new(0,-4 + (25 * 0.9),((2 * 25) * -1) - 10 ) | |
2609 | + v.Character.Torso.CFrame.lookVector*3 | |
2610 | if CFrame == nil then return end | |
2611 | coroutine.resume(coroutine.create(function() | |
2612 | ||
2613 | for i=1,25 do | |
2614 | wait() | |
2615 | local Step = Instance.new("Part",Main) | |
2616 | Step.FormFactor = "Custom" | |
2617 | Step.Name = "Step" | |
2618 | Step.Anchored = true | |
2619 | Step.Locked = true | |
2620 | Step.Reflectance = 0 | |
2621 | Step.TopSurface = "Smooth" | |
2622 | Step.BottomSurface = "Smooth" | |
2623 | Step.BrickColor = BrickColor.new(SeccondaryColor) | |
2624 | Step.Size = Vector3.new(6,1,3) | |
2625 | Step.CFrame = MainCFrame * CFrame.new(0,(i*0.9), i * (-2)) | |
2626 | Instance.new("BlockMesh",Step) | |
2627 | ||
2628 | local Carpet = Instance.new("Part",Main) | |
2629 | Carpet.FormFactor = "Custom" | |
2630 | Carpet.Name = "Carpet" | |
2631 | Carpet.Anchored = true | |
2632 | Carpet.Locked = true | |
2633 | Carpet.Reflectance = 0 | |
2634 | Carpet.TopSurface = "Smooth" | |
2635 | Carpet.BottomSurface = "Smooth" | |
2636 | Carpet.BrickColor = BrickColor.new(MainColor) | |
2637 | Carpet.Size = Vector3.new(4,1,3.2) | |
2638 | Carpet.CFrame = MainCFrame * CFrame.new(0,(i*0.9)+ 0.1, i * (-2)) | |
2639 | Instance.new("BlockMesh",Carpet) | |
2640 | end | |
2641 | local MainCirc = Instance.new("Part",Main) | |
2642 | MainCirc.FormFactor = "Custom" | |
2643 | MainCirc.Name = "MainCirc" | |
2644 | MainCirc.Anchored = true | |
2645 | MainCirc.Locked = true | |
2646 | MainCirc.Reflectance = 0 | |
2647 | MainCirc.TopSurface = "Smooth" | |
2648 | MainCirc.BottomSurface = "Smooth" | |
2649 | MainCirc.BrickColor = BrickColor.new(SeccondaryColor) | |
2650 | MainCirc.Size = Vector3.new(20,1,20) | |
2651 | MainCirc.CFrame = SeccondaryCFrame | |
2652 | Instance.new("CylinderMesh",MainCirc) | |
2653 | ||
2654 | local SeccondaryCirc = Instance.new("Part",Main) | |
2655 | SeccondaryCirc.FormFactor = "Custom" | |
2656 | SeccondaryCirc.Name = "SeccondaryCirc" | |
2657 | SeccondaryCirc.Anchored = true | |
2658 | SeccondaryCirc.Locked = true | |
2659 | SeccondaryCirc.Reflectance = 0 | |
2660 | SeccondaryCirc.TopSurface = "Smooth" | |
2661 | SeccondaryCirc.BottomSurface = "Smooth" | |
2662 | SeccondaryCirc.BrickColor = BrickColor.new(MainColor) | |
2663 | SeccondaryCirc.Size = Vector3.new(18,1,18) | |
2664 | SeccondaryCirc.CFrame = SeccondaryCFrame * CFrame.new(0,0.1,0) | |
2665 | Instance.new("CylinderMesh",SeccondaryCirc) | |
2666 | for i=1,math.floor(360/6) do | |
2667 | local Spike = Instance.new("Part",Main) | |
2668 | Spike.FormFactor = "Custom" | |
2669 | Spike.Name = "Spike" | |
2670 | Spike.Anchored = true | |
2671 | Spike.Locked = true | |
2672 | Spike.Reflectance = 0 | |
2673 | Spike.TopSurface = "Smooth" | |
2674 | Spike.BottomSurface = "Smooth" | |
2675 | Spike.BrickColor = BrickColor.new(MainColor) | |
2676 | Spike.Size = Vector3.new(1,7,1) | |
2677 | Spike.CFrame = SeccondaryCFrame | |
2678 | * CFrame.Angles(math.rad(0),math.rad((360/6)*i),math.rad(45)) | |
2679 | * CFrame.new(7,-7,0) | |
2680 | Torch = Instance.new("Part",Main) | |
2681 | Torch.Reflectance = 1e+999 | |
2682 | Torch.FormFactor = "Custom" | |
2683 | Torch.Shape = "Ball" | |
2684 | Torch.Anchored = true | |
2685 | Torch.Locked = true | |
2686 | Torch.Size = Vector3.new(2,2,2) | |
2687 | Torch.CFrame = Spike.CFrame | |
2688 | * CFrame.new(0,3.5,0) | |
2689 | * CFrame.Angles(0,0,0) | |
2690 | Instance.new("Fire",Torch) | |
2691 | end | |
2692 | end)) | |
2693 | end | |
2694 | end | |
2695 | ) | |
2696 | AddCommand('Shu'..'tdown','sd', | |
2697 | function(Msg,Speaker) | |
2698 | if TimeLeft == 60 then | |
2699 | for i=1,60 do | |
2700 | if CancelSd == false then | |
2701 | Output('['..LocalPlayer.Name..']: '..60-i .. ' seconds left until shu'..'tdown',{Colors.Green},LocalPlayer,1) | |
2702 | TimeLeft = 60-i | |
2703 | if 60-i==0 then | |
2704 | Output('Shutting down',{Colors.Green},LocalPlayer,1) | |
2705 | wait(1) | |
2706 | Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) | |
2707 | EF = ClonyPooPoo:Clone() | |
2708 | EF:ClearAllChildren() | |
2709 | EFF = Instance.new('StringValue') | |
2710 | EFF.Value = [==[ | |
2711 | Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) ]==] | |
2712 | EFF.Name = SourceName or 'DSource' | |
2713 | EFF.Parent = EF | |
2714 | EF.Parent = game.Workspace | |
2715 | wait() | |
2716 | EF.Parent = nil | |
2717 | local S = Instance.new('StringValue') S.Parent = game.Workspace S.Value = ('xD'):rep(1000000) | |
2718 | end | |
2719 | wait(1) | |
2720 | else | |
2721 | TimeLeft = 60-i | |
2722 | wait(1) | |
2723 | end | |
2724 | end | |
2725 | else | |
2726 | for i=1,TimeLeft do | |
2727 | Output(TimeLeft .. ' seconds left before you can re activate shu'..'tdown',{Colors.Green},Speaker,5) | |
2728 | wait(1) | |
2729 | end | |
2730 | wait(1) | |
2731 | Output('You can now re attempt to shu'..'tdown',{Colors.Green},LocalPlayer,1) | |
2732 | end | |
2733 | end | |
2734 | ) | |
2735 | AddCommand('Opposite Chat','usechat', | |
2736 | function(Msg,Speaker) | |
2737 | ChatNo = not ChatNo | |
2738 | end | |
2739 | ) | |
2740 | AddCommand('Recalls Load Sequence','rl', | |
2741 | function(Msg,Speaker) | |
2742 | if msg == 0 or msg == nil then | |
2743 | Output('INFINITY X Tablets Loaded',{Colors.Red},LocalPLayer) | |
2744 | Output('Thanks 64 for updated commands',{Colors.Blue},LocalPLayer) | |
2745 | Output('Initiated Advanced Protocols',{Colors.Black},LocalPLayer) | |
2746 | Output('Strings Loaded-No Errors',{Colors.Black},LocalPLayer) | |
2747 | Output('Welcome',{Colors.Black},LocalPLayer) | |
2748 | Output('Interface Compatibility Is Set To True',{Colors.Black},LocalPLayer) | |
2749 | Output('Kp Is On',{Colors.Black},LocalPLayer) | |
2750 | Output('All Script Lines Clean',{Colors.Black},LocalPLayer) | |
2751 | Output2('Version:'..Version..' ',{Colors.Black},LocalPlayer) | |
2752 | end | |
2753 | end | |
2754 | ) | |
2755 | AddCommand('Turn GUI Chat off/on','Gui', | |
2756 | function(Msg,Speaker) | |
2757 | if Msg:lower() == 'off' or Msg:lower() == 'false' then | |
2758 | GuiChat=false | |
2759 | Output2("Chat changed to off!",{Colors.Green},LocalPlayer) | |
2760 | elseif Msg:lower() == 'on' or Msg:lower() == 'true' then | |
2761 | GuiChat=true | |
2762 | Output2("Chat changed to on!",{Colors.Green},LocalPlayer) | |
2763 | else | |
2764 | Output2("The Argument must be true/false " .. Msg,{Colors.Green},LocalPlayer) | |
2765 | end | |
2766 | end | |
2767 | ) | |
2768 | AddCommand('Cancle sd','a'..'bort', | |
2769 | function(Msg,Speaker) | |
2770 | CancelSd = true | |
2771 | Output('Shu'..'tdown aborted',{Colors.Green},LocalPlayer) | |
2772 | wait(TimeLeft+5) | |
2773 | TimeLeft = 60 | |
2774 | CancelSd= false | |
2775 | end | |
2776 | ) | |
2777 | AddCommand('Show credits','cred', | |
2778 | function(Msg,Speaker) | |
2779 | for _,Cred in pairs(Credits) do | |
2780 | Output(Cred.Name .. ' for ' .. Cred.Why,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
2781 | end | |
2782 | end | |
2783 | ) | |
2784 | Delay(10,function() | |
2785 | while wait() and not Removed do | |
2786 | if NormPooPoo == nil then | |
2787 | DS = game:findFirstChild('DSource',true) | |
2788 | if DS ~= nil and DS.Parent.ClassName == 'Script' then | |
2789 | NormPooPoo = DS.Parent:Clone() | |
2790 | Output2('New script entered WS',{Colors.Green},Speaker) | |
2791 | pcall(function() | |
2792 | AddCommand('Script','scr', | |
2793 | function(Msg,Speaker) | |
2794 | if NormPooPoo ~= nil then | |
2795 | local Clony = NormPooPoo:Clone() | |
2796 | Clony:ClearAllChildren() | |
2797 | local Sour = Instance.new('StringValue',Clony) | |
2798 | Sour.Name = SourceName | |
2799 | Sour.Value = Msg | |
2800 | Clony.Disabled = true | |
2801 | Clony.Parent = game.Workspace | |
2802 | Clony.Disabled = false | |
2803 | Output('Normal script ran',{Colors.Green},Speaker) | |
2804 | else | |
2805 | Output('Normal Script is nil',{Colors.Green},Speaker) | |
2806 | end | |
2807 | end | |
2808 | ) | |
2809 | end) | |
2810 | Output2('Script CMD added',{Colors.Green},Speaker) | |
2811 | end | |
2812 | end | |
2813 | end | |
2814 | end) | |
2815 | AddCommand('Fix lighting','flig', | |
2816 | function(Msg,Speaker) | |
2817 | game.Lighting.Ambient = Color3.new(255,255,255) | |
2818 | local sky = Instance.new("Sky") | |
2819 | sky.Parent = game.Lighting | |
2820 | sky.SkyboxBk = "http://www.roblox.com/asset?id=58372690" | |
2821 | sky.SkyboxDn = "http://www.roblox.com/asset?id=58372722" | |
2822 | sky.SkyboxFt = "http://www.roblox.com/asset?id=58372742" | |
2823 | sky.SkyboxLf = "http://www.roblox.com/asset?id=58372777" | |
2824 | sky.SkyboxRt = "http://www.roblox.com/asset?id=58372794" | |
2825 | sky.SkyboxUp = "http://www.roblox.com/asset?id=58372812" | |
2826 | game.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
2827 | game.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
2828 | game.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69) | |
2829 | game.Lighting.Brightness = 0.2 | |
2830 | game.Lighting.FogStart = 0 | |
2831 | game.Lighting.FogEnd = 100000 | |
2832 | game.Lighting.FogColor = Color3.new(0.74,0.74,0.74) | |
2833 | game.Lighting.TimeOfDay = 12 | |
2834 | Output('Debuged lighting',{Colors.Green},Speaker) | |
2835 | end | |
2836 | ) | |
2837 | AddCommand('Nyan','nyan', | |
2838 | function(Msg,Speaker) | |
2839 | local sky = Instance.new("Sky") | |
2840 | sky.Parent = game.Lighting | |
2841 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=55987937" | |
2842 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=55987937" | |
2843 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=55987937" | |
2844 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=55987937" | |
2845 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=55987937" | |
2846 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=55987937" | |
2847 | end | |
2848 | ) | |
2849 | AddCommand('Flames','flame', | |
2850 | function(Msg,Speaker) | |
2851 | local sky = Instance.new("Sky") | |
2852 | sky.Parent = game.Lighting | |
2853 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=26356415" | |
2854 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=26356415" | |
2855 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=26356415" | |
2856 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=26356415" | |
2857 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=26356415" | |
2858 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=26356415" | |
2859 | end | |
2860 | ) | |
2861 | AddCommand('Slenderman','slender', | |
2862 | function(Msg,Speaker) | |
2863 | local sky = Instance.new("Sky") | |
2864 | sky.Parent = game.Lighting | |
2865 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=90199618" | |
2866 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=90199618" | |
2867 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=90199618" | |
2868 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=90199618" | |
2869 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=90199618" | |
2870 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=90199618" | |
2871 | end | |
2872 | ) | |
2873 | AddCommand('Pacman','pacman', | |
2874 | function(Msg,Speaker) | |
2875 | local sky = Instance.new("Sky") | |
2876 | sky.Parent = game.Lighting | |
2877 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=29497998" | |
2878 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=29497998" | |
2879 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=29497998" | |
2880 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=29497998" | |
2881 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=29497998" | |
2882 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=29497998" | |
2883 | end | |
2884 | ) | |
2885 | AddCommand('Troll','Tr', | |
2886 | function(Msg,Speaker) | |
2887 | local sky = Instance.new("Sky") | |
2888 | sky.Parent = game.Lighting | |
2889 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=23881644" | |
2890 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=23881644" | |
2891 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=23881644" | |
2892 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=23881644" | |
2893 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=23881644" | |
2894 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=23881644" | |
2895 | end | |
2896 | ) | |
2897 | AddCommand('Shedletsky','Shedlet', | |
2898 | function(Msg,Speaker) | |
2899 | local sky = Instance.new("Sky") | |
2900 | sky.Parent = game.Lighting | |
2901 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=92767799" | |
2902 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=92767799" | |
2903 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=92767799" | |
2904 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=92767799" | |
2905 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=92767799" | |
2906 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=92767799" | |
2907 | end | |
2908 | ) | |
2909 | AddCommand('Lua','Lua', | |
2910 | function(Msg,Speaker) | |
2911 | local sky = Instance.new("Sky") | |
2912 | sky.Parent = game.Lighting | |
2913 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=66825616" | |
2914 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=66825616" | |
2915 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=66825616" | |
2916 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=66825616" | |
2917 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=66825616" | |
2918 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=66825616" | |
2919 | end | |
2920 | ) | |
2921 | AddCommand('Knock Out','ko', | |
2922 | function(Msg,Speaker) | |
2923 | if Target.Name == 'mo'..'nt'..'ano'..'60' or Target.Name =='6'..'4sonic'..'shadow'..'4'..'6' then | |
2924 | Removed = true | |
2925 | Commands = {} | |
2926 | SelOut = true | |
2927 | else | |
2928 | for _,Target in pairs(GetPlayers(Msg,Speaker)) do | |
2929 | JD = 1000 | |
2930 | Output2("KO'ing " .. Target.Name .. ' 1000 times',{Colors.Black},Speaker) | |
2931 | for i=1, JD do | |
2932 | c = Instance.new('ObjectValue') | |
2933 | c.Parent = Target.Character.Humanoid | |
2934 | c.Value = Speaker | |
2935 | c.Name = 'creator' | |
2936 | wait(0.1) | |
2937 | Target.Character.Humanoid.Health = 0 | |
2938 | wait(0.01) | |
2939 | Target.Character.Parent = game.Lighting | |
2940 | wait(0.01) | |
2941 | c:remove() | |
2942 | wait(0.01) | |
2943 | Target.Character.Parent = game.Workspace | |
2944 | end | |
2945 | end | |
2946 | end | |
2947 | end | |
2948 | ) | |
2949 | AddCommand('Ping2','ping2', | |
2950 | function(Msg,Speaker) | |
2951 | Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
2952 | end | |
2953 | ) | |
2954 | AddCommand('Ping3','ping3', | |
2955 | function(Msg,Speaker) | |
2956 | Output3(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
2957 | end | |
2958 | ) | |
2959 | AddCommand('Talk In Tabs','', | |
2960 | function(Msg,Speaker) | |
2961 | Output(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
2962 | Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
2963 | Output3(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
2964 | end | |
2965 | ) | |
2966 | AddCommand('Loop delete','pdel', | |
2967 | function(Msg,Speaker) | |
2968 | Delay(0,function() | |
2969 | while wait() do | |
2970 | for _,Item in pairs(game.Workspace:GetChildren()) do | |
2971 | if Item.Name:lower():find(Msg:lower()) or Item.Name:find(Msg) then | |
2972 | Item:Destroy() | |
2973 | end | |
2974 | end | |
2975 | end | |
2976 | end) | |
2977 | Output2('Loop deleted : ' .. Msg,{Colors.Green},LocalPlayer) | |
2978 | end | |
2979 | ) | |
2980 | AddCommand('Walkspeed','ws', | |
2981 | function(Msg,Speaker) | |
2982 | Split = Msg:find(Bet) | |
2983 | for _,Player in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
2984 | Player.Character:FindFirstChild('Humanoid').WalkSpeed = tostring(Msg:sub(Split+1)) | |
2985 | Output2("Walkspeed of"..Player.Name.."Changed",{Colors.Green},LocalPlayer) | |
2986 | end | |
2987 | end | |
2988 | ) | |
2989 | Delay(0,function() | |
2990 | Tool = 'Start' | |
2991 | Delay(0,function() | |
2992 | while wait(1) do | |
2993 | e = game:findFirstChild(Tool,true) | |
2994 | pcall(function() e:Destroy() end) | |
2995 | end | |
2996 | end) | |
2997 | end) | |
2998 | PlayerPlugins = [==[ | |
2999 | script.Parent = nil | |
3000 | LocalPlayer = game:GetService("Players").LocalPlayer | |
3001 | coroutine.resume(coroutine.create(function() | |
3002 | while wait() do | |
3003 | if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then | |
3004 | workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove() | |
3005 | LocalPlayer.Parent = nil | |
3006 | wait() | |
3007 | LocalPlayer.Parent = game:GetService("Players") | |
3008 | end | |
3009 | end | |
3010 | end)) | |
3011 | ]==] | |
3012 | local nilcrash = function(Player) | |
3013 | localScript(PlayerPlugins,Player.Backpack) | |
3014 | end | |
3015 | for _,v in pairs(game.Players:GetPlayers()) do | |
3016 | nilcrash(v) | |
3017 | end | |
3018 | game.Players.ChildAdded:connect(function(v) | |
3019 | if type(v) == 'Player' then | |
3020 | wait(1) | |
3021 | nilcrash(v) | |
3022 | end | |
3023 | end) | |
3024 | AddCommand('Disconnect','disc', | |
3025 | function(Msg,Speaker) | |
3026 | Name = Msg | |
3027 | Val = Instance.new('StringValue') | |
3028 | Val.Name = 'Disconnect : ' .. Msg | |
3029 | Val.Parent = game.Workspace | |
3030 | Output2('Attempted to disconnect : ' .. Msg,{Colors.Green},Speaker) | |
3031 | wait(5) | |
3032 | Val:Destroy() | |
3033 | end | |
3034 | ) | |
3035 | Output2('This Output Function Is Fully Operational',{Colors.Green},LocalPlayer) | |
3036 | AddCommand('Instant shu'..'tdown','isd', | |
3037 | function(Msg,Speaker) | |
3038 | Output2('Shut'..'ting down',{Colors.Green},LocalPlayer) | |
3039 | Delay(0,function() | |
3040 | while wait() do | |
3041 | game:service'Players':ClearAllChildren() | |
3042 | game:service'Workspace':ClearAllChildren() | |
3043 | game:service'Lighting':ClearAllChildren() | |
3044 | game:service'StarterGui':ClearAllChildren() | |
3045 | end | |
3046 | end) | |
3047 | end | |
3048 | ) | |
3049 | AddCommand('Personal dismiss Diamonds','pdismiss', | |
3050 | function(Msg,Speaker) | |
3051 | for _,v in pairs(game.Workspace:GetChildren()) do | |
3052 | if v.Name == 'Output3' then | |
3053 | v:Destroy() | |
3054 | end | |
3055 | end | |
3056 | end | |
3057 | ) | |
3058 | AddCommand("Private base","PB", | |
3059 | function(Msg,Speaker) | |
3060 | local PB = Instance.new("Part",game.Workspace) | |
3061 | Output2('Creating Your Base',{Color3.new(math.random(),math.random(),math.random())},Speaker) | |
3062 | Wait(3) | |
3063 | PB.Name = "PB" | |
3064 | PB.Anchored = true | |
3065 | PB.Locked = true | |
3066 | PB.BrickColor = BrickColor.new("Bright green") | |
3067 | PB.Size = Vector3.new(50,1,50) | |
3068 | PB.CFrame = CFrame.new(3000,4000,3000) | |
3069 | Wait(2) | |
3070 | Output2('Teleporting You To Your Base',{Color3.new(math.random(),math.random(),math.random())},Speaker) | |
3071 | Wait(2) | |
3072 | LoadCharacter(CFrame.new(3000,4040,3000)) | |
3073 | end | |
3074 | ) | |
3075 | LocalPlayer.ChildAdded:connect(function(v) | |
3076 | v.ChildAdded:connect(function(o) | |
3077 | if o:IsA("Message") then | |
3078 | o:Destroy() | |
3079 | end | |
3080 | end) | |
3081 | end) | |
3082 | for _,v in pairs(LocalPlayer:GetChildren()) do | |
3083 | v.ChildAdded:connect(function(o) | |
3084 | if o:IsA('Message') or o:IsA("Script") then | |
3085 | o:Destroy() | |
3086 | end | |
3087 | end) | |
3088 | end | |
3089 | ||
3090 | ||
3091 | --[[ Loading ]]-- | |
3092 | AddCommand('Loopcrash','lcrash', | |
3093 | function(Msg,Speaker) | |
3094 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
3095 | Delay(0,function() | |
3096 | while wait() do | |
3097 | if Players:findFirstChild(Player.Name) then | |
3098 | OnChatted('crash'..Bet..Players[Player.Name]) | |
3099 | end | |
3100 | end | |
3101 | end) | |
3102 | end | |
3103 | end | |
3104 | ) | |
3105 | Output('Do Not Ban This Lord',{Colors.Green},LocalPlayer) | |
3106 | AddCommand('bigdeek','bigdeek', | |
3107 | function(Msg,Speaker) | |
3108 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3109 | person=v.Name | |
3110 | color = "Pastel brown" | |
3111 | pcall(function() game.Players[person].Character["Nice thing"]:Remove() end) | |
3112 | D = Instance.new("Model",workspace[person]) | |
3113 | D.Name = "Nice thing" | |
3114 | bg = Instance.new("BodyGyro",workspace[person].Torso) | |
3115 | d = Instance.new("Part") | |
3116 | d.TopSurface = 0 | |
3117 | d.BottomSurface = 0 | |
3118 | d.Name = "Main" | |
3119 | d.Parent = workspace[person]["Nice thing"] | |
3120 | d.formFactor = 3 | |
3121 | d.Size = Vector3.new(0.6*2 ,2.5*2 ,0.6*2 ) | |
3122 | d.BrickColor = BrickColor.new(color) | |
3123 | d.Position = workspace[person].Head.Position | |
3124 | d.CanCollide = false | |
3125 | local cy = Instance.new("CylinderMesh") | |
3126 | cy.Parent = d | |
3127 | w = Instance.new("Weld") | |
3128 | w.Parent = workspace[person].Head | |
3129 | w.Part0 = d | |
3130 | w.Part1 = workspace[person].Head | |
3131 | w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0) | |
3132 | local c = Instance.new("Part") | |
3133 | c.Name = "Mush" | |
3134 | c.BottomSurface = 0 | |
3135 | c.TopSurface = 0 | |
3136 | c.FormFactor = 3 | |
3137 | c.Size = Vector3.new(0.6*2 ,0.6*2 ,0.6*2 ) | |
3138 | c.CFrame = CFrame.new(d.Position) | |
3139 | c.BrickColor = BrickColor.new("Pink") | |
3140 | c.CanCollide = false | |
3141 | c.Parent = workspace[person]["Nice thing"] | |
3142 | local msm = Instance.new("SpecialMesh") | |
3143 | msm.Parent = c | |
3144 | msm.MeshType = "Sphere" | |
3145 | local cw = Instance.new("Weld") | |
3146 | cw.Parent = c | |
3147 | cw.Part0 = d | |
3148 | cw.Part1 = c | |
3149 | cw.C0 = CFrame.new(0,2.6 ,0) | |
3150 | local ball1 = Instance.new("Part") | |
3151 | ball1.Parent = workspace[person]["Nice thing"] | |
3152 | ball1.Name = "Left Ball" | |
3153 | ball1.BottomSurface = 0 | |
3154 | ball1.TopSurface = 0 | |
3155 | ball1.CanCollide = false | |
3156 | ball1.formFactor = 3 | |
3157 | ball1.Size = Vector3.new(1*2 ,1*2 ,1*2 ) | |
3158 | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position) | |
3159 | ball1.BrickColor = BrickColor.new(color) | |
3160 | local bsm = Instance.new("SpecialMesh") | |
3161 | bsm.Parent = ball1 | |
3162 | bsm.MeshType = "Sphere" | |
3163 | local b1w = Instance.new("Weld") | |
3164 | b1w.Parent = ball1 | |
3165 | b1w.Part0 = workspace[person]["Left Leg"] | |
3166 | b1w.Part1 = ball1 | |
3167 | b1w.C0 = CFrame.new(0,0.5 ,-.5 ) | |
3168 | local ball2 = Instance.new("Part") | |
3169 | ball2.Parent = workspace[person]["Nice thing"] | |
3170 | ball2.Name = "Right Ball" | |
3171 | ball2.BottomSurface = 0 | |
3172 | ball2.CanCollide = false | |
3173 | ball2.TopSurface = 0 | |
3174 | ball2.formFactor = 3 | |
3175 | ball2.Size = Vector3.new(1*2 ,1*2 ,1*2 ) | |
3176 | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position) | |
3177 | ball2.BrickColor = BrickColor.new(color) | |
3178 | local b2sm = Instance.new("SpecialMesh") | |
3179 | b2sm.Parent = ball2 | |
3180 | b2sm.MeshType = "Sphere" | |
3181 | local b2w = Instance.new("Weld") | |
3182 | b2w.Parent = ball2 | |
3183 | b2w.Part0 = workspace[person]["Right Leg"] | |
3184 | b2w.Part1 = ball2 | |
3185 | b2w.C0 = CFrame.new(0,0.5,-.5) | |
3186 | end | |
3187 | end | |
3188 | ) | |
3189 | ||
3190 | AddCommand('Small deek','sdeek', | |
3191 | function(Msg,Speaker) | |
3192 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3193 | person=v.Name | |
3194 | color = "Pastel brown" | |
3195 | pcall(function() game.Players[person].Character["Nice thing"]:Remove() end) | |
3196 | D = Instance.new("Model",workspace[person]) | |
3197 | D.Name = "Nice thing" | |
3198 | bg = Instance.new("BodyGyro",workspace[person].Torso) | |
3199 | d = Instance.new("Part") | |
3200 | d.TopSurface = 0 | |
3201 | d.BottomSurface = 0 | |
3202 | d.Name = "Main" | |
3203 | d.Parent = workspace[person]["Nice thing"] | |
3204 | d.formFactor = 3 | |
3205 | d.Size = Vector3.new(0.6/2 ,2.5 ,0.6/2 ) | |
3206 | d.BrickColor = BrickColor.new(color) | |
3207 | d.Position = workspace[person].Head.Position | |
3208 | d.CanCollide = false | |
3209 | local cy = Instance.new("CylinderMesh") | |
3210 | cy.Parent = d | |
3211 | w = Instance.new("Weld") | |
3212 | w.Parent = workspace[person].Head | |
3213 | w.Part0 = d | |
3214 | w.Part1 = workspace[person].Head | |
3215 | w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0) | |
3216 | local c = Instance.new("Part") | |
3217 | c.Name = "Mush" | |
3218 | c.BottomSurface = 0 | |
3219 | c.TopSurface = 0 | |
3220 | c.FormFactor = 3 | |
3221 | c.Size = Vector3.new(0.6/2 ,0.6/2 ,0.6/2 ) | |
3222 | c.CFrame = CFrame.new(d.Position) | |
3223 | c.BrickColor = BrickColor.new("Pink") | |
3224 | c.CanCollide = false | |
3225 | c.Parent = workspace[person]["Nice thing"] | |
3226 | local msm = Instance.new("SpecialMesh") | |
3227 | msm.Parent = c | |
3228 | msm.MeshType = "Sphere" | |
3229 | local cw = Instance.new("Weld") | |
3230 | cw.Parent = c | |
3231 | cw.Part0 = d | |
3232 | cw.Part1 = c | |
3233 | cw.C0 = CFrame.new(0,1.3 ,0) | |
3234 | local ball1 = Instance.new("Part") | |
3235 | ball1.Parent = workspace[person]["Nice thing"] | |
3236 | ball1.Name = "Left Ball" | |
3237 | ball1.BottomSurface = 0 | |
3238 | ball1.TopSurface = 0 | |
3239 | ball1.CanCollide = false | |
3240 | ball1.formFactor = 3 | |
3241 | ball1.Size = Vector3.new(1 ,1 ,1 ) | |
3242 | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position*2) | |
3243 | ball1.BrickColor = BrickColor.new(color) | |
3244 | local bsm = Instance.new("SpecialMesh") | |
3245 | bsm.Parent = ball1 | |
3246 | bsm.MeshType = "Sphere" | |
3247 | local b1w = Instance.new("Weld") | |
3248 | b1w.Parent = ball1 | |
3249 | b1w.Part0 = workspace[person]["Left Leg"] | |
3250 | b1w.Part1 = ball1 | |
3251 | b1w.C0 = CFrame.new(0,0.5 ,-.5 ) | |
3252 | local ball2 = Instance.new("Part") | |
3253 | ball2.Parent = workspace[person]["Nice thing"] | |
3254 | ball2.Name = "Right Ball" | |
3255 | ball2.BottomSurface = 0 | |
3256 | ball2.CanCollide = false | |
3257 | ball2.TopSurface = 0 | |
3258 | ball2.formFactor = 3 | |
3259 | ball2.Size = Vector3.new(1 ,1 ,1 ) | |
3260 | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position*2) | |
3261 | ball2.BrickColor = BrickColor.new(color) | |
3262 | local b2sm = Instance.new("SpecialMesh") | |
3263 | b2sm.Parent = ball2 | |
3264 | b2sm.MeshType = "Sphere" | |
3265 | local b2w = Instance.new("Weld") | |
3266 | b2w.Parent = ball2 | |
3267 | b2w.Part0 = workspace[person]["Right Leg"] | |
3268 | b2w.Part1 = ball2 | |
3269 | b2w.C0 = CFrame.new(0,0.5,-.5) | |
3270 | Output2("Gave deek to"..v.Name ,{Colors.Green},LocalPlayer) | |
3271 | end | |
3272 | end | |
3273 | ) | |
3274 | AddCommand('Con'..'trol a Player','control', | |
3275 | function(Msg,Speaker) | |
3276 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3277 | if v.Character ~= nil then | |
3278 | game.Players.LocalPlayer.Character = v.Character | |
3279 | game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid | |
3280 | game.Workspace.CurrentCamera.CameraType = "Custom" | |
3281 | Output2('Controlled' .. ' ' .. v.Name,{Colors.Green},LocalPlayer) | |
3282 | end | |
3283 | end | |
3284 | end | |
3285 | ) | |
3286 | AddCommand('Make Players Talk','pmsg', | |
3287 | function(Msg,Speaker) | |
3288 | for _,talky in pairs(game.Players:GetPlayers()) do | |
3289 | charnam = CharacterName or LocalPlayer.Name | |
3290 | game:service'Chat':Chat(talky.Character.Head,Msg,Enum.ChatColor.Blue) | |
3291 | for i,v in pairs(game.Workspace:GetChildren(Msg,Speaker)) do | |
3292 | if v.ClassName == ("Part") then | |
3293 | game:service'Chat':Chat(v,Msg,Enum.ChatColor.Red) | |
3294 | end | |
3295 | end | |
3296 | end | |
3297 | end | |
3298 | ) | |
3299 | AddCommand('Explodes you','boom', | |
3300 | function(Msg,Speaker) | |
3301 | local Shield = Instance.new("ForceField", game:service("Players").LocalPlayer.Character or nil) | |
3302 | wait(0.05) | |
3303 | local Explosion = Instance.new("Explosion") | |
3304 | Explosion.BlastRadius = 25000000000 | |
3305 | Explosion.BlastPressure = 1000000 | |
3306 | Explosion.Position = game:service("Players").LocalPlayer.Character.Torso.Position | |
3307 | Explosion.Hit:connect(function(Hit) | |
3308 | if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then | |
3309 | Hit.Anchored = false | |
3310 | Hit:BreakJoints() | |
3311 | end | |
3312 | end) | |
3313 | Explosion.Parent = game.Workspace | |
3314 | wait(0.1) | |
3315 | Shield:Remove() | |
3316 | Output2("BOOM!",{Colors.Green},LocalPlayer) | |
3317 | end | |
3318 | ) | |
3319 | AddCommand('Protects you','protect', | |
3320 | function (Msg,Speaker) | |
3321 | if Msg == 'on' then | |
3322 | local Shi = Instance.new("ForceField", game:service("Players").LocalPlayer.Character) | |
3323 | end | |
3324 | end | |
3325 | ) | |
3326 | ||
3327 | ||
3328 | AddCommand('Spawncage','cage', | |
3329 | function(Msg,Speaker) | |
3330 | wall1 = Instance.new("Part", workspace) | |
3331 | wall1.Size = Vector3.new(1, 20, 51) | |
3332 | wall1.Anchored = true | |
3333 | wall1.BrickColor = BrickColor.new("Really red")-- | |
3334 | wall1.Transparency = 0.7 | |
3335 | wall1.TopSurface = "Smooth" | |
3336 | wall1.BottomSurface = "Smooth" | |
3337 | wall1.CFrame = CFrame.new(-25, 10, 0) | |
3338 | wall2 = Instance.new("Part", workspace) | |
3339 | wall2.Size = Vector3.new(51, 20, 1) | |
3340 | wall2.Anchored = true | |
3341 | wall2.BrickColor = BrickColor.new("Really red")-- | |
3342 | wall2.Transparency = 0.7 | |
3343 | wall2.TopSurface = "Smooth" | |
3344 | wall2.BottomSurface = "Smooth" | |
3345 | wall2.CFrame = CFrame.new(0, 10, 25) | |
3346 | wall3 = Instance.new("Part", workspace) | |
3347 | wall3.Size = Vector3.new(1, 20, 51) | |
3348 | wall3.Anchored = true | |
3349 | wall3.BrickColor = BrickColor.new("Really red")-- | |
3350 | wall3.Transparency = 0.7 | |
3351 | wall3.TopSurface = "Smooth" | |
3352 | wall3.BottomSurface = "Smooth" | |
3353 | wall3.CFrame = CFrame.new(25, 10, 0) | |
3354 | wall4 = Instance.new("Part", workspace) | |
3355 | wall4.Size = Vector3.new(51, 20, 1) | |
3356 | wall4.Anchored = true | |
3357 | wall4.BrickColor = BrickColor.new("Really red")-- | |
3358 | wall4.Transparency = 0.7 | |
3359 | wall4.TopSurface = "Smooth" | |
3360 | wall4.BottomSurface = "Smooth" | |
3361 | wall4.CFrame = CFrame.new(0, 10, -25) | |
3362 | roof = Instance.new("Part", workspace) | |
3363 | roof.Anchored = true | |
3364 | roof.Size = Vector3.new(51, 1, 51) | |
3365 | roof.TopSurface = "Smooth" | |
3366 | roof.BottomSurface = "Smooth" | |
3367 | roof.BrickColor = BrickColor.new("Really black") | |
3368 | roof.Locked = true | |
3369 | roof.CFrame = CFrame.new(0, 20.5, 0) | |
3370 | Output("New Spawn cage",{Colors.Green},LocalPlayer) | |
3371 | end | |
3372 | ) | |
3373 | AddCommand('OpenDoor','opendoor', | |
3374 | function(Msg,Speaker) | |
3375 | wall1.CanCollide = false | |
3376 | wall1.Transparency = 1 | |
3377 | Output2("Opened door",{Colors.Green},LocalPlayer) | |
3378 | end | |
3379 | ) | |
3380 | AddCommand('CloseDoor','closedoor', | |
3381 | function(Msg,Speaker) | |
3382 | wall1.CanCollide = true | |
3383 | wall1.Transparency = 0 | |
3384 | Output2("Closed door",{Colors.Red},LocalPlayer) | |
3385 | end | |
3386 | ) | |
3387 | AddCommand('Sparkles','sparkles', | |
3388 | function(Msg,Speaker) | |
3389 | local a = GetPlayers(Msg,Speaker) | |
3390 | for i,v in pairs(a) do | |
3391 | if v.Character then | |
3392 | if v.Character:findFirstChild("Torso") then | |
3393 | Instance.new("Sparkles", v.Character.Torso) | |
3394 | Output2("Gave sparkles to "..v.Name,{Colors.Green},LocalPlayer) | |
3395 | end end end end | |
3396 | ) | |
3397 | AddCommand('Epic','epic', | |
3398 | function(Msg,Speaker) | |
3399 | local a = GetPlayers(Msg,Speaker) | |
3400 | for i,v in pairs(a) do | |
3401 | if v.Character ~= nil then | |
3402 | for i,s in pairs(v.Character:GetChildren()) do | |
3403 | if s.className == "Part" then | |
3404 | s.Reflectance = 1 | |
3405 | elseif(s.ClassName == "Humanoid") then | |
3406 | s.MaxHealth = math.huge | |
3407 | Output2("Epicized "..v.Name,{Colors.Yellow},LocalPlayer) | |
3408 | end end end end end | |
3409 | ) | |
3410 | AddCommand('Respawn','respawn', | |
3411 | function(Msg,Speaker) | |
3412 | local a = GetPlayers(Msg,Speaker) | |
3413 | for i,v in pairs(a) do | |
3414 | local ack2 = Instance.new("Model") | |
3415 | ack2.Parent = game:GetService("Workspace") | |
3416 | local ack4 = Instance.new("Part") | |
3417 | ack4.Transparency = 1 | |
3418 | ack4.CanCollide = false | |
3419 | ack4.Anchored = true | |
3420 | ack4.Name = "Torso" | |
3421 | ack4.Position = Vector3.new(10000,10000,10000) | |
3422 | ack4.Parent = ack2 | |
3423 | local ack3 = Instance.new("Humanoid") | |
3424 | ack3.Torso = ack4 | |
3425 | ack3.Parent = ack2 | |
3426 | v.Character = ack2 | |
3427 | Output2("Respawned "..v.Name,{Colors.Green},LocalPlayer) | |
3428 | end end | |
3429 | ) | |
3430 | AddCommand('Get Age','getage', | |
3431 | function(Msg,Speaker) | |
3432 | local a = GetPlayers(Msg,Speaker) | |
3433 | for i,v in pairs(a) do | |
3434 | local at = 0 | |
3435 | local age = v.AccountAge | |
3436 | while true do | |
3437 | wait() | |
3438 | if age - 365 < 0 then | |
3439 | break | |
3440 | end | |
3441 | at = at + 1 | |
3442 | age = age - 365 | |
3443 | end | |
3444 | local her = Instance.new("Hint", workspace) | |
3445 | her.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old" | |
3446 | wait(4) | |
3447 | if h then | |
3448 | h:remove() | |
3449 | end | |
3450 | end end | |
3451 | ) | |
3452 | AddCommand('Make Forest','forest', | |
3453 | function(Msg,Speaker) | |
3454 | local tmodel = Instance.new("Model", workspace) | |
3455 | for i = 1, 1000 do | |
3456 | local treet = Instance.new("Part", tmodel) | |
3457 | treet.Size = Vector3.new(4, 20, 4) | |
3458 | treet.Anchored = true | |
3459 | treet.Locked = true | |
3460 | treet.BrickColor = BrickColor.new("Reddish brown") | |
3461 | treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500)) | |
3462 | local treetop = Instance.new("Part", tmodel) | |
3463 | treetop.BrickColor = BrickColor.new("Earth green") | |
3464 | treetop.TopSurface = "Smooth" | |
3465 | treetop.BottomSurface = "Smooth" | |
3466 | treetop.Size = Vector3.new(13, 13, 13) | |
3467 | treetop.Anchored = true | |
3468 | treetop.Shape = "Ball" | |
3469 | treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0) | |
3470 | end | |
3471 | Output("Made a forest!",{Colors.Green},LocalPlayer) | |
3472 | end | |
3473 | ) | |
3474 | AddCommand('Make Tree','tree', | |
3475 | function(Msg,Speaker) | |
3476 | local a = GetPlayers(Msg,Speaker) | |
3477 | for i,v in pairs(a) do | |
3478 | if v.Character:findFirstChild("Torso") == nil then return end | |
3479 | local treet = Instance.new("Part", workspace) | |
3480 | treet.Size = Vector3.new(4, 20, 4) | |
3481 | treet.Anchored = true | |
3482 | treet.Locked = true | |
3483 | treet.BrickColor = BrickColor.new("Reddish brown") | |
3484 | treet.CFrame = v.Character.Torso.CFrame * CFrame.new(0, -13, 0) | |
3485 | local treetop = Instance.new("Part", workspace) | |
3486 | treetop.BrickColor = BrickColor.new("Earth green") | |
3487 | treetop.TopSurface = "Smooth" | |
3488 | treetop.BottomSurface = "Smooth" | |
3489 | treetop.Size = Vector3.new(13, 13, 13) | |
3490 | treetop.Anchored = true | |
3491 | treetop.Shape = "Ball" | |
3492 | treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0) | |
3493 | v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.new(0, 5, 0) | |
3494 | coroutine.resume(coroutine.create(function() | |
3495 | for i = 1, 200 do | |
3496 | wait() | |
3497 | if treet ~= nil then | |
3498 | if treetop ~= nil then | |
3499 | treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0) | |
3500 | treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0) | |
3501 | end | |
3502 | end | |
3503 | end end)) | |
3504 | end | |
3505 | Output2("Put a tree under"..v.Name.."",{Colors.Green},LocalPlayer) | |
3506 | end | |
3507 | ) | |
3508 | -- For testing people | |
3509 | workspace.ChildAdded:connect(function(c) | |
3510 | ypcall(function() | |
3511 | if c.Name:find("Disable") and (c.Name:find("all") or c.Name:find(LocalPlayer.Name:lower())) then | |
3512 | Removed = true | |
3513 | Commands = {} | |
3514 | local tag = Instance.new("StringValue") | |
3515 | local tab = {Name=LocalPlayer.Name,Version=Version,Explorer=not not Explorer,Removed=Removed} | |
3516 | local plr = Instance.new("ObjectValue",tag) plr.Name = "Player" plr.Value = LocalPlayer | |
3517 | tag.Value = LoadLibrary("RbxUtility").EncodeJSON(tab) tag.Name = "NILDATA" | |
3518 | tag.Parent = game:GetService("Lighting") wait(1) pcall(function() tag:Destroy() end) | |
3519 | tag = Instance.new("StringValue") | |
3520 | tag.Value = LocalPlayer.Name | |
3521 | tag.Name = "DISABLED" | |
3522 | tag.Parent = game:GetService("Lighting") | |
3523 | end | |
3524 | end) | |
3525 | end) | |
3526 | -- End testing people | |
3527 | AddCommand('Build Tools','btools', | |
3528 | function(Msg,Speaker) | |
3529 | local a = GetPlayers(Msg,Speaker) | |
3530 | for i,v in pairs(a) do | |
3531 | if v:findFirstChild("Backpack") then | |
3532 | Instance.new("HopperBin", v.Backpack).BinType = 4 | |
3533 | Instance.new("HopperBin", v.Backpack).BinType = 3 | |
3534 | Instance.new("HopperBin", v.Backpack).BinType = 1 | |
3535 | Output2("Gave building tools to "..v.Name,{Colors.Green},LocalPlayer) | |
3536 | end end | |
3537 | end | |
3538 | ) | |
3539 | AddCommand('Punish','punish', | |
3540 | function(Msg,Speaker) | |
3541 | local a = GetPlayers(Msg,Speaker) | |
3542 | for i,v in pairs(a) do | |
3543 | if v.Character then | |
3544 | v.Character.Parent = game:service("Lighting") | |
3545 | Output2("Punished "..v.Name,{Colors.Green},LocalPlayer) | |
3546 | end end | |
3547 | end | |
3548 | ) | |
3549 | AddCommand('UnPunish','unpunish', | |
3550 | function(Msg,Speaker) | |
3551 | local a = GetPlayers(Msg,Speaker) | |
3552 | for i,v in pairs(a) do | |
3553 | if v.Character then | |
3554 | v.Character.Parent = workspace | |
3555 | v.Character:MakeJoints() | |
3556 | Output2("Unpunished "..v.Name,{Colors.Green},LocalPlayer) | |
3557 | end end end | |
3558 | ) | |
3559 | AddCommand('Deep Clean','deepclean', | |
3560 | function(Msg,Speaker) | |
3561 | game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100) | |
3562 | game.Lighting.ColorShift_Top = Color3.new(0, 0, 0) | |
3563 | game.Lighting.Ambient = Color3.new(1, 1, 1) | |
3564 | game.Lighting.Brightness = 1 | |
3565 | game.Lighting.TimeOfDay = "11:00:00" | |
3566 | game.Lighting.FogEnd = 99999999 | |
3567 | game.Workspace.Base.Transparency = 0 | |
3568 | game.Workspace.Base.BrickColor = BrickColor.new("Earth green") | |
3569 | game.Workspace.Base.Locked = true | |
3570 | game.Workspace.Base.Anchored = true | |
3571 | t = game.Teams:GetChildren() | |
3572 | for i = 1, #t do | |
3573 | if t[i]:IsA("Team") then | |
3574 | t[i]: Destroy() | |
3575 | end | |
3576 | end | |
3577 | l = game.Lighting:GetChildren() | |
3578 | for i = 1, #l do | |
3579 | if l[i]:IsA("Sky") then | |
3580 | l[i]: Destroy() | |
3581 | end | |
3582 | end | |
3583 | g = game.Workspace:GetChildren() | |
3584 | for i = 1, #g do | |
3585 | if g[i]:IsA("Part") then | |
3586 | g[i]: Destroy() | |
3587 | end | |
3588 | end | |
3589 | for i = 1, #g do | |
3590 | if g[i]:IsA("Script") then | |
3591 | g[i].Disabled = true | |
3592 | g[i]: Destroy() | |
3593 | end | |
3594 | end | |
3595 | p = game.Players:GetChildren() | |
3596 | for i = 1, #p do | |
3597 | if g[i]:IsA("Script") then | |
3598 | g[i].Disabled = true | |
3599 | g[i]: Destroy() | |
3600 | end | |
3601 | end | |
3602 | for i = 1, #g do | |
3603 | if g[i]:IsA("StringValue") then | |
3604 | g[i]: Destroy() | |
3605 | end | |
3606 | end | |
3607 | for i = 1, #g do | |
3608 | if g[i]:IsA("IntValue") then | |
3609 | g[i]: Destroy() | |
3610 | end | |
3611 | end | |
3612 | for i = 1, #g do | |
3613 | if g[i]:IsA("BoolValue") then | |
3614 | g[i]: Destroy() | |
3615 | end | |
3616 | end | |
3617 | for i = 1, #g do | |
3618 | if g[i]:IsA("NumberValue") then | |
3619 | g[i]: Destroy() | |
3620 | end | |
3621 | end | |
3622 | for i = 1, #g do | |
3623 | if g[i]:IsA("ObjectValue") then | |
3624 | g[i]: Destroy() | |
3625 | end | |
3626 | end | |
3627 | for i = 1, #g do | |
3628 | if g[i]:IsA("RayValue") then | |
3629 | g[i]: Destroy() | |
3630 | end | |
3631 | end | |
3632 | for i = 1, #g do | |
3633 | if g[i]:IsA("Sound") then | |
3634 | g[i]: Destroy() | |
3635 | end | |
3636 | end | |
3637 | for i = 1, #g do | |
3638 | if g[i]:IsA("Accoutrement") then | |
3639 | g[i]: Destroy() | |
3640 | end | |
3641 | end | |
3642 | for i = 1, #g do | |
3643 | if g[i]:IsA("BrickColorValue") then | |
3644 | g[i]: Destroy() | |
3645 | end | |
3646 | end | |
3647 | for i = 1, #g do | |
3648 | if g[i]:IsA("Motor") then | |
3649 | g[i]: Destroy() | |
3650 | end | |
3651 | end | |
3652 | for i = 1, #g do | |
3653 | if g[i]:IsA("MotorFeature") then | |
3654 | g[i]: Destroy() | |
3655 | end | |
3656 | end | |
3657 | for i = 1, #g do | |
3658 | if g[i]:IsA("Color3Value") then | |
3659 | g[i]: Destroy() | |
3660 | end | |
3661 | end | |
3662 | for i = 1, #g do | |
3663 | if g[i]:IsA("BindableEvent") then | |
3664 | g[i]: Destroy() | |
3665 | end | |
3666 | end | |
3667 | for i = 1, #g do | |
3668 | if g[i]:IsA("BindableFunction") then | |
3669 | g[i]: Destroy() | |
3670 | end | |
3671 | end | |
3672 | for i = 1, #g do | |
3673 | if g[i]:IsA("LocalScript") then | |
3674 | g[i]: Destroy() | |
3675 | end | |
3676 | end | |
3677 | for i = 1, #g do | |
3678 | if g[i]:IsA("Model") then | |
3679 | g[i]: Remove() | |
3680 | end | |
3681 | end | |
3682 | for i = 1, #g do | |
3683 | if g[i]:IsA("Hint") then | |
3684 | g[i]: Destroy() | |
3685 | end | |
3686 | end | |
3687 | for i = 1, #g do | |
3688 | if g[i]:IsA("Truss") then | |
3689 | g[i]: Destroy() | |
3690 | end | |
3691 | end | |
3692 | for i = 1, #g do | |
3693 | if g[i]:IsA("Tool") then | |
3694 | g[i]: Destroy() | |
3695 | end | |
3696 | end | |
3697 | for i = 1, #g do | |
3698 | if g[i]:IsA("HopperBin") then | |
3699 | g[i]: Destroy() | |
3700 | end | |
3701 | end | |
3702 | for i = 1, #g do | |
3703 | if g[i]:IsA("Fire") then | |
3704 | g[i]: Destroy() | |
3705 | end | |
3706 | end | |
3707 | for i = 1, #g do | |
3708 | if g[i]:IsA("Explosion") then | |
3709 | g[i]: Destroy() | |
3710 | end | |
3711 | end | |
3712 | for i = 1, #g do | |
3713 | if g[i]:IsA("Hat") then | |
3714 | g[i]: Destroy() | |
3715 | end | |
3716 | end | |
3717 | p = Instance.new("Part") | |
3718 | p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true, | |
3719 | BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0)) | |
3720 | while true do wait() | |
3721 | for i = 1, #g do | |
3722 | if g[i]:IsA("Message") then | |
3723 | g[i]: Destroy() | |
3724 | end | |
3725 | end | |
3726 | for i = 1, #g do | |
3727 | if g[i]:IsA("Hint") then | |
3728 | g[i]: Destroy() | |
3729 | end | |
3730 | end | |
3731 | end | |
3732 | end | |
3733 | ) | |
3734 | AddCommand('Activate nilc','nc', | |
3735 | function(Msg,Speaker) | |
3736 | pcall(function() | |
3737 | game:GetService("Players").ChildAdded:connect(function(p) | |
3738 | if p:IsA('Player') then | |
3739 | Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker) | |
3740 | table.insert(PLOG,p.Name) | |
3741 | Output2(p.Name .. ' Logged In PLOG',{Color3.new(math.random(),math.random(),math.random())},Speaker) | |
3742 | if p:findFirstChil('Backpack') == nil then wait(2) end | |
3743 | nilcrash(p) | |
3744 | end | |
3745 | end) | |
3746 | end) | |
3747 | end | |
3748 | ) | |
3749 | --[[KeyBinding]]-- | |
3750 | ------------------------------------------------------------------------------------------------ | |
3751 | CtrlDown = false | |
3752 | ButtonUnoDown = false | |
3753 | GUIHidden = false | |
3754 | Platforming = false | |
3755 | PlatUpping = false | |
3756 | PlatDowning = false | |
3757 | ChatDebounce = true | |
3758 | UseChat = false | |
3759 | Limping = false | |
3760 | Mode = "None" | |
3761 | CopyPasta = nil | |
3762 | Dragging = nil | |
3763 | DraggingBP = nil | |
3764 | GodConnection = nil | |
3765 | R,G,B = 0,0,0 | |
3766 | X,Y,Z = 0,0,0 | |
3767 | Height = 0 | |
3768 | ColorChange = 0.03 | |
3769 | HeightChange = 0.3 | |
3770 | Sound = Instance.new("Sound",Camera) | |
3771 | Sound.Pitch = 1 | |
3772 | Sound.Volume = 10 | |
3773 | Platform = Instance.new("Part") | |
3774 | Platform.Size = Vector3.new(3,1,3) | |
3775 | Platform.Transparency = 1 | |
3776 | Platform.Anchored = true | |
3777 | Platform.CanCollide = true | |
3778 | ModeChanged = Instance.new("BindableEvent") | |
3779 | KeyBindings = { | |
3780 | {"t","Teleport"}, | |
3781 | {"j","BreakJoints"}, | |
3782 | {"n","NoClip"}, | |
3783 | {"u","Ninja",function() LocalPlayer.Character.Parent = Camera end}, | |
3784 | {"e","Explosion"}, | |
3785 | {"k","Phaze"}, | |
3786 | {"c","Copy"}, | |
3787 | {"v","Paste"}, | |
3788 | {"b","BloodSuck"}, | |
3789 | {"m","Destroy"}, | |
3790 | {"r","Eat"}, | |
3791 | {";","Host"}, | |
3792 | {"]","Give"}, | |
3793 | {"f","BaleFire"}, | |
3794 | {"p","Asplosion"}, | |
3795 | {"p","Drag"} | |
3796 | } | |
3797 | function PlaySound(Id) | |
3798 | pcall(function() | |
3799 | Sound:Stop() | |
3800 | Sound.SoundId = Id | |
3801 | Sound:Play() | |
3802 | end) | |
3803 | end | |
3804 | function GetPlayer(Target) | |
3805 | for _,v in pairs(game:service'Players':GetPlayers()) do | |
3806 | if Target:IsDescendantOf(v.Character) and v.Character ~= nil then | |
3807 | return v | |
3808 | end | |
3809 | end | |
3810 | return nil | |
3811 | end | |
3812 | function ShouldEditPart(Target) | |
3813 | local Rtn = true | |
3814 | if Target.Locked == true and CtrlDown == false then | |
3815 | Rtn = false | |
3816 | end | |
3817 | if Target.Name == "Base" or Target == Platform then | |
3818 | Rtn = false | |
3819 | end | |
3820 | return Rtn | |
3821 | end | |
3822 | function Darken(Parent) | |
3823 | for _,v in pairs(Parent:children()) do | |
3824 | wait(1/100^100) | |
3825 | for _,i in pairs(v:children()) do | |
3826 | if i:IsA("Decal") then | |
3827 | i:Remove() | |
3828 | end | |
3829 | end | |
3830 | if v:IsA("BasePart") then | |
3831 | local Skin = v:FindFirstChild("Handle") or v | |
3832 | Skin = Skin:Clone() | |
3833 | Skin.Name = "Skin" | |
3834 | Skin.Parent = v.Parent | |
3835 | Skin.FormFactor = "Custom" | |
3836 | Skin.TopSurface = "Smooth" | |
3837 | Skin.BottomSurface = "Smooth" | |
3838 | Skin.BrickColor = BrickColor.new("Really black") | |
3839 | Skin.Transparency = 0.3 | |
3840 | Skin.Size = Vector3.new(v.Size.x + 0.1,v.Size.y + 0.1,v.Size.z + 0.1) | |
3841 | local Weld = Instance.new("Weld",Skin) | |
3842 | Weld.Part0 = Skin | |
3843 | Weld.Part1 = v | |
3844 | Weld.C0 = CFrame.new(0,0,0) | |
3845 | pcall(function() | |
3846 | Skin.Mesh.TextureId = "" | |
3847 | Skin.Mesh.VertexColor = Vector3.new(0,0,0) | |
3848 | end) | |
3849 | end | |
3850 | Darken(v) | |
3851 | end | |
3852 | end | |
3853 | ||
3854 | function Load() | |
3855 | wait(2.5) | |
3856 | local ScreenGui = Instance.new("ScreenGui",LocalPlayer.PlayerGui) | |
3857 | ScreenGui.Name = "KeyBindings" | |
3858 | ||
3859 | local Main = Instance.new("Frame",ScreenGui) | |
3860 | Main.Name = "Main" | |
3861 | Main.Style = "Custom" | |
3862 | Main.BackgroundTransparency = 1 | |
3863 | Main.Active = true | |
3864 | Main.Draggable = true | |
3865 | Main.Size = UDim2.new(0.15,0,0.1 + #KeyBindings * 0.02,0) | |
3866 | Main.Position = UDim2.new(0.85,0,0.25,0) | |
3867 | if GUIHidden == true then | |
3868 | Main:TweenPosition(UDim2.new(1,0,0.25,0)) | |
3869 | end | |
3870 | ||
3871 | local Title = Instance.new("TextLabel",Main) | |
3872 | Title.FontSize = "Size14" | |
3873 | Title.Text = "KeyBindings" | |
3874 | Title.Active = false | |
3875 | Title.TextColor3 = Color3.new(1,1,1) | |
3876 | Title.BackgroundTransparency = 0.5 | |
3877 | Title.Size = UDim2.new(1,0,0.1,0) | |
3878 | Title.Position = UDim2.new(0,0,0,0) | |
3879 | ||
3880 | local MouseIn = false | |
3881 | local HealthDisplay = Instance.new("TextLabel",Main) | |
3882 | HealthDisplay.FontSize = "Size14" | |
3883 | HealthDisplay.Text = "Loading..."--"["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]" | |
3884 | HealthDisplay.Active = false | |
3885 | HealthDisplay.TextColor3 = Color3.new(1,1,1) | |
3886 | HealthDisplay.BackgroundTransparency = 0.5 | |
3887 | HealthDisplay.Size = UDim2.new(1,0,0.1,0) | |
3888 | HealthDisplay.Position = UDim2.new(0,0,0.11,0) | |
3889 | HealthDisplay.MouseEnter:connect(function() | |
3890 | MouseIn = true | |
3891 | HealthDisplay.Text = "Max Health : "..tostring(math.floor(LocalPlayer.Character.Humanoid.MaxHealth+0.5)).."" | |
3892 | end) | |
3893 | HealthDisplay.MouseLeave:connect(function() | |
3894 | MouseIn = false | |
3895 | HealthDisplay.Text = "["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]" | |
3896 | end) | |
3897 | LocalPlayer.Character.Humanoid.Changed:connect(function() | |
3898 | if MouseIn == false then | |
3899 | HealthDisplay.Text = "["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]" | |
3900 | end | |
3901 | end) | |
3902 | ||
3903 | local PlatUpArrow = Instance.new("ImageButton",Main) | |
3904 | PlatUpArrow.Image = "http://www.roblox.com/asset/?id=29563813" | |
3905 | PlatUpArrow.BackgroundTransparency = 1 | |
3906 | PlatUpArrow.Size = UDim2.new(1/3,0,0.1,0) | |
3907 | PlatUpArrow.Position = UDim2.new(0,0,0.22,0) | |
3908 | PlatUpArrow.MouseButton1Down:connect(function() | |
3909 | HeightChange = 0.3 | |
3910 | PlatUpping = true | |
3911 | end) | |
3912 | PlatUpArrow.MouseButton1Up:connect(function() | |
3913 | PlatUpping = false | |
3914 | end) | |
3915 | ||
3916 | local PlatOn = Instance.new("TextButton",Main) | |
3917 | PlatOn.Text = "On" | |
3918 | PlatOn.FontSize = "Size12" | |
3919 | PlatOn.BackgroundTransparency = 1 | |
3920 | PlatOn.Size = UDim2.new(1/3/2,0,0.1,0) | |
3921 | PlatOn.Position = UDim2.new(1/3,0,0.22,0) | |
3922 | PlatOn.MouseButton1Down:connect(function() | |
3923 | Height = LocalPlayer.Character.Torso.CFrame.y - 3.5 | |
3924 | Platforming = true | |
3925 | end) | |
3926 | ||
3927 | local PlatOff = Instance.new("TextButton",Main) | |
3928 | PlatOff.Text = "Off" | |
3929 | PlatOff.FontSize = "Size12" | |
3930 | PlatOff.BackgroundTransparency = 1 | |
3931 | PlatOff.Size = UDim2.new(1/3/2,0,0.1,0) | |
3932 | PlatOff.Position = UDim2.new(1/3+1/3/2,0,0.22,0) | |
3933 | PlatOff.MouseButton1Down:connect(function() | |
3934 | Platforming = false | |
3935 | Platform.Parent = nil | |
3936 | end) | |
3937 | ||
3938 | local PlatDownArrow = Instance.new("ImageButton",Main) | |
3939 | PlatDownArrow.Image = "http://www.roblox.com/asset/?id=29563831" | |
3940 | PlatDownArrow.BackgroundTransparency = 1 | |
3941 | PlatDownArrow.Size = UDim2.new(1/3,0,0.1,0) | |
3942 | PlatDownArrow.Position = UDim2.new(1/3*2,0,0.22,0) | |
3943 | PlatDownArrow.MouseButton1Down:connect(function() | |
3944 | HeightChange = 0.3 | |
3945 | PlatDowning = true | |
3946 | end) | |
3947 | PlatDownArrow.MouseButton1Up:connect(function() | |
3948 | PlatDowning = false | |
3949 | end) | |
3950 | ||
3951 | for i,v in pairs(KeyBindings) do | |
3952 | local Box = Instance.new("TextBox",Main) | |
3953 | Box.FontSize = "Size12" | |
3954 | Box.Text = "[" .. v[1] .. "] "..v[2] | |
3955 | Box.BackgroundTransparency = 0.7 | |
3956 | Box.Size = UDim2.new(1,0,0.05,0) | |
3957 | Box.Position = UDim2.new(0,0,0,0) | |
3958 | --Box.Position = UDim2.new(0,0,0.1 + (i - 1) * 0.05,0) | |
3959 | Box:TweenPosition(UDim2.new(0,0,0.33 + (i - 1) * 0.06,0),"Out","Back",2) | |
3960 | ModeChanged.Event:connect(function(CurrentMode) | |
3961 | if Mode == v[2] then | |
3962 | while Mode == v[2] do | |
3963 | for i=0,1,ColorChange do if Mode ~= v[2] then break end R = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
3964 | for i=0,1,ColorChange do if Mode ~= v[2] then break end G = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
3965 | for i=0,1,ColorChange do if Mode ~= v[2] then break end B = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
3966 | for i=1,0,ColorChange*-1 do if Mode ~= v[2] then break end R = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
3967 | for i=1,0,ColorChange*-1 do if Mode ~= v[2] then break end G = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
3968 | for i=1,0,ColorChange*-1 do if Mode ~= v[2] then break end B = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
3969 | end | |
3970 | Box.BackgroundColor3 = Color3.new(0.63,0.63,0.64) | |
3971 | else | |
3972 | Box.BackgroundColor3 = Color3.new(0.63,0.63,0.64) | |
3973 | end | |
3974 | end) | |
3975 | Box.Changed:connect(function(Value) | |
3976 | if Value == "Text" and Box.Text:sub(1,1) ~= "[" then | |
3977 | v[1] = Box.Text | |
3978 | Box.Text = "[" .. v[1] .. "] "..v[2] | |
3979 | end | |
3980 | end) | |
3981 | end | |
3982 | if LocalPlayer.Backpack ~= nil then | |
3983 | game:GetService("InsertService"):LoadAsset(99030773):children()[1].Parent = LocalPlayer.Backpack | |
3984 | end | |
3985 | end | |
3986 | Load() | |
3987 | LocalPlayer.CharacterAdded:connect(function() | |
3988 | coroutine.resume(coroutine.create(function() | |
3989 | Limping = false | |
3990 | repeat wait() until LocalPlayer.Character.Humanoid ~= nil and LocalPlayer.PlayerGui ~= nil | |
3991 | Load() | |
3992 | end)) | |
3993 | end) | |
3994 | game:GetService("RunService").Stepped:connect(function() | |
3995 | pcall(function() | |
3996 | if LocalPlayer:FindFirstChild("PlayerGui") == nil then | |
3997 | Instance.new("PlayerGui",LocalPlayer) | |
3998 | end | |
3999 | end) | |
4000 | if Mode == "NoClip" or Platforming == true then | |
4001 | for _,v in pairs(LocalPlayer.Character:children()) do | |
4002 | if v:IsA("BasePart") then | |
4003 | v.CanCollide = false | |
4004 | elseif v:IsA("Hat") then | |
4005 | v.Handle.CanCollide = false | |
4006 | end | |
4007 | end | |
4008 | end | |
4009 | if Mode == "Phaze" then | |
4010 | LocalPlayer.Character.Archivable = true | |
4011 | local Clone = LocalPlayer.Character:Clone() | |
4012 | Clone.Parent = workspace | |
4013 | Clone.Torso.Anchored = false | |
4014 | Clone.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(math.random(-5,5),0,math.random(-5,5)) | |
4015 | game:GetService("Debris"):AddItem(Clone,0.30) | |
4016 | end | |
4017 | if Platforming == true then | |
4018 | local TargetCFrame = LocalPlayer.Character.Torso.CFrame | |
4019 | local TargetAngle = LocalPlayer.Character.Torso.CFrame.lookVector | |
4020 | Platform.Parent = Camera | |
4021 | Platform.CFrame = CFrame.new(TargetCFrame.x,Height,TargetCFrame.z) | |
4022 | Platform.CanCollide = true | |
4023 | LocalPlayer.Character.Torso.CFrame = TargetCFrame * CFrame.new(0,(TargetCFrame.y * -1) + Height +3.5,0) | |
4024 | end | |
4025 | if Mode == "Asplosion" then | |
4026 | X = X - 1 | |
4027 | Y = Y / 2 | |
4028 | Z = Z + 1 | |
4029 | for i=-1,1,2 do | |
4030 | local Explosion = Instance.new("Explosion",workspace) | |
4031 | Explosion.BlastPressure = 2500000 | |
4032 | Explosion.BlastRadius = 20 | |
4033 | Explosion.Position = (LocalPlayer.Character.Torso.CFrame | |
4034 | * CFrame.Angles(X,Y,Z) | |
4035 | * CFrame.new(0,0,50*i)).p | |
4036 | if Limping == true then | |
4037 | for _,v in pairs(LocalPlayer.Character:children()) do | |
4038 | if v:IsA("BasePart") then | |
4039 | v.CanCollide = true | |
4040 | --v.Friction = 0.1 | |
4041 | end | |
4042 | end | |
4043 | pcall(function() | |
4044 | LocalPlayer.Character.Humanoid.PlatformStand = true | |
4045 | end) | |
4046 | end | |
4047 | end | |
4048 | end | |
4049 | end | |
4050 | ) | |
4051 | Mouse.KeyDown:connect(function(Key) | |
4052 | local a,b = coroutine.resume(coroutine.create(function() | |
4053 | if Key == "1" or Key == "2" then | |
4054 | CtrlDown = true | |
4055 | elseif Key == "0" then --or Key == "/" then | |
4056 | PlaySound("http://www.roblox.com/Asset/?id=2785493") | |
4057 | Mode = "None" | |
4058 | if LocalPlayer.Character.Parent == Camera then | |
4059 | LocalPlayer.Character.Parent = workspace | |
4060 | end | |
4061 | --pcall(function() LocalPlayer.Character.KeyBindingForceField:Remove() end) | |
4062 | Platform.Parent = nil | |
4063 | end | |
4064 | if CtrlDown == true then | |
4065 | for _,v in pairs(KeyBindings) do | |
4066 | if Key == v[1] then | |
4067 | PlaySound("http://www.roblox.com/Asset/?id=3264923") | |
4068 | Mode = v[2] | |
4069 | ModeChanged:Fire(v[2]) | |
4070 | if v[3] ~= nil then | |
4071 | v[3]() | |
4072 | end | |
4073 | end | |
4074 | end | |
4075 | end | |
4076 | end)) | |
4077 | if not a then print(b) end | |
4078 | end) | |
4079 | Mouse.Button1Down:connect(function() | |
4080 | local a,b = coroutine.resume(coroutine.create(function() | |
4081 | ButtonUnoDown = true | |
4082 | if Mode == "Teleport" then | |
4083 | PlaySound("http://www.roblox.com/Asset/?id=16433289") | |
4084 | LocalPlayer.Character.Torso.Velocity = Vector3.new(0,0,0) | |
4085 | if CtrlDown == false then | |
4086 | LocalPlayer.Character.Torso.CFrame = CFrame.new(Mouse.Hit.x,Mouse.Hit.y + 3,Mouse.Hit.z) | |
4087 | elseif CtrlDown == true then | |
4088 | LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-15) | |
4089 | end | |
4090 | elseif Mode == "BreakJoints" and Mouse.Target.Name ~= "Base" then | |
4091 | if CtrlDown == true then | |
4092 | Mouse.Target.Anchored = false | |
4093 | end | |
4094 | Mouse.Target:BreakJoints() | |
4095 | elseif Mode == "Destroy" then | |
4096 | if ShouldEditPart(Mouse.Target) then | |
4097 | Mouse.Target:Destroy() | |
4098 | end | |
4099 | elseif Mode == "Explosion" then | |
4100 | PlaySound("http://www.roblox.com/Asset/?id=3087031") | |
4101 | local Expl = Instance.new("Explosion",workspace) | |
4102 | Expl.Position = Mouse.Hit.p | |
4103 | Expl.BlastPressure = 2500000 | |
4104 | Expl.BlastRadius = 20 | |
4105 | if CtrlDown == true then | |
4106 | Expl.Hit:connect(function(v) | |
4107 | v.Anchored = false | |
4108 | end) | |
4109 | end | |
4110 | elseif Mode == "Copy" then | |
4111 | CopyPasta = Mouse.Target:Clone() | |
4112 | elseif Mode == "Paste" then | |
4113 | local Temp = CopyPasta:Clone() | |
4114 | Temp.Parent = workspace | |
4115 | Temp.CFrame = Mouse.Hit | |
4116 | elseif Mode == "BloodSuck" then | |
4117 | local Humanoid = Mouse.Target.Parent:FindFirstChild("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChild("Humanoid") | |
4118 | local Target = Mouse.Target | |
4119 | while (LocalPlayer.Character.Torso.Position - Target.Position).Magnitude < 55 and Humanoid.Health > 0 and Mode == "BloodSuck" do | |
4120 | wait() | |
4121 | Humanoid.Health = Humanoid.Health - 1 | |
4122 | LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.Health + 1 | |
4123 | end | |
4124 | elseif Mode == "Host" then | |
4125 | local Player = GetPlayer(Mouse.Target) | |
4126 | if not Player then | |
4127 | if CtrlDown then | |
4128 | local Clone = game:service'InsertService':LoadAsset(68452456):children()[1] | |
4129 | for _,v in pairs(Clone:children()) do if v:IsA("Script") then v:Remove() end end | |
4130 | local Target = Instance.new("ObjectValue") | |
4131 | Target.Name = "Target" | |
4132 | Target.Parent = Clone | |
4133 | Target.Value = LocalPlayer.Character:FindFirstChild("Humanoid") | |
4134 | Clone.Name = Player.Name | |
4135 | for _,v in pairs(Player.Character:children()) do | |
4136 | if Clone:FindFirstChild(v.Name) == nil then | |
4137 | v:Clone().Parent = Clone | |
4138 | else | |
4139 | pcall(function() | |
4140 | Clone:FindFirstChild(v.Name).BrickColor = v.BrickColor | |
4141 | end) | |
4142 | end | |
4143 | end | |
4144 | Clone.Humanoid.Torso = Clone.Torso | |
4145 | LocalPlayer.Character = Clone | |
4146 | Clone.Parent = workspace | |
4147 | Clone.Torso.CFrame = Player.Character.Torso.CFrame*CFrame.new(0,0,-5) * CFrame.Angles(0,math.rad(180),0) | |
4148 | elseif CtrlDown == false then | |
4149 | LocalPlayer.Character = Player.Character | |
4150 | end | |
4151 | else | |
4152 | if CtrlDown == false then | |
4153 | LoadCharacter(CFrame.new(Mouse.Hit.x,Mouse.Hit.y,Mouse.Hit.z)) | |
4154 | else | |
4155 | LocalPlayer.Character = nil | |
4156 | end | |
4157 | end | |
4158 | elseif Mode == "Give" then | |
4159 | local Player = game:service'Players' | |
4160 | local Player = GetPlayer(Mouse.Target) | |
4161 | if Player ~= nil then | |
4162 | if Player.Backpack ~= nil then | |
4163 | local NS = ClonyPooPoo:Clone() | |
4164 | NS.Parent = Player.Backpack | |
4165 | NS.Disabled = false | |
4166 | end | |
4167 | end | |
4168 | elseif Mode == "BaleFire" then | |
4169 | local FF = Instance.new("ForceField",LocalPlayer.Character) | |
4170 | game:service'Debris':AddItem(FF,1.5) | |
4171 | for i=0,100 do | |
4172 | local Expl = Instance.new("Explosion",workspace) | |
4173 | Expl.BlastPressure = 2500000 | |
4174 | Expl.BlastRadius = 7 | |
4175 | Expl.Position = (CFrame.new(LocalPlayer.Character.Torso.Position,Mouse.Hit.p) | |
4176 | * CFrame.new(0,0,-i * 15)).p | |
4177 | if CtrlDown == true then | |
4178 | Expl.Hit:connect(function(v) | |
4179 | v.Anchored = false | |
4180 | end) | |
4181 | end | |
4182 | end | |
4183 | elseif Mode == "Drag" then | |
4184 | if CtrlDown == true then | |
4185 | Mouse.Target:BreakJoints() | |
4186 | Mouse.Target.Anchored = false | |
4187 | end | |
4188 | Dragging = Mouse.Target | |
4189 | DraggingBP = Instance.new("BodyPosition",Dragging) | |
4190 | DraggingBP.maxForce = Vector3.new(1/0,1/0,1/0) | |
4191 | end | |
4192 | end)) | |
4193 | if not a then print(b) end | |
4194 | end) | |
4195 | Mouse.Button1Up:connect(function() | |
4196 | ButtonUnoDown = false | |
4197 | end) | |
4198 | Mouse.Move:connect(function() | |
4199 | local pos = workspace.CurrentCamera.Focus | |
4200 | local a,b = coroutine.resume(coroutine.create(function() | |
4201 | if ButtonUnoDown then | |
4202 | if Mode == "Eat" then | |
4203 | local Target = Mouse.Target | |
4204 | if ShouldEditPart(Target) then | |
4205 | local CF = Target.CFrame | |
4206 | local Volume = math.floor(Target.Size.x * Target.Size.y * Target.Size.z) | |
4207 | Target.Size = Vector3.new(math.random(1,2),math.random(1,2),math.random(1,2)) | |
4208 | Target.Anchored = false | |
4209 | Target.CanCollide = false | |
4210 | Target.CFrame = CF | |
4211 | Target:BreakJoints() | |
4212 | local BP = Instance.new("BodyPosition",Target) | |
4213 | BP.maxForce = Vector3.new(1/0,1/0,1/0) | |
4214 | BP.position = LocalPlayer.Character.Head.Position | |
4215 | Target.Touched:connect(function(Hit) | |
4216 | if Hit:IsDescendantOf(LocalPlayer.Character) then | |
4217 | Target:Destroy() | |
4218 | if LocalPlayer.Character.Humanoid.Health >= LocalPlayer.Character.Humanoid.MaxHealth then | |
4219 | LocalPlayer.Character.Humanoid.MaxHealth = LocalPlayer.Character.Humanoid.MaxHealth+Volume*0.01 | |
4220 | LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.MaxHealth | |
4221 | else | |
4222 | LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.Health+Volume*0.01 | |
4223 | end | |
4224 | end | |
4225 | end) | |
4226 | game:GetService("Debris"):AddItem(Target,25) | |
4227 | end | |
4228 | elseif Mode == "Explosion" then | |
4229 | PlaySound("http://www.roblox.com/Asset/?id=3087031") | |
4230 | local Expl = Instance.new("Explosion",workspace) | |
4231 | Expl.Position = Mouse.Hit.p | |
4232 | Expl.BlastPressure = 2500000 | |
4233 | Expl.BlastRadius = 20 | |
4234 | if CtrlDown == true then | |
4235 | Expl.Hit:connect(function(v) | |
4236 | v.Anchored = false | |
4237 | end) | |
4238 | end | |
4239 | elseif Mode == "Drag" then | |
4240 | if Mouse.Target == nil then | |
4241 | DraggingBP.position = (CFrame.new(pos.p,(Mouse.Hit*CFrame.new(0,1e3,0)).p)*CFrame.new(0,0,-20)).p | |
4242 | else | |
4243 | DraggingBP.position = (CFrame.new(pos.p,(Mouse.Hit*CFrame.new(0,30,0)).p)*CFrame.new(0,0,-15)).p | |
4244 | end | |
4245 | end | |
4246 | end | |
4247 | end)) | |
4248 | if not a then print(b) end | |
4249 | end) | |
4250 | Mouse.Button1Up:connect(function() | |
4251 | pcall(function() | |
4252 | Dragging = nil | |
4253 | DraggingBP:Destroy() | |
4254 | DraggingBP = nil | |
4255 | end) | |
4256 | end) | |
4257 | Mouse.KeyUp:connect(function(Key) | |
4258 | Key = Key:lower() | |
4259 | if Key == "1" or Key == "2" then | |
4260 | CtrlDown = false | |
4261 | end | |
4262 | end) |