SHOW:
|
|
- or go back to the newest paste.
1 | --[[To Use Wings Double Jump! Gifted by TXrangers]]-- | |
2 | --[[To flip double press a or d]]-- | |
3 | --[[Fly With Your Friends!]]-- | |
4 | --[[Have Fun And Thank Me!]]-- | |
5 | script.Parent = Instance.new('Glue') | |
6 | - | LocalPlayer = game.Players.xxsquidisrarexx |
6 | + | LocalPlayer = game.Players.epiclightining |
7 | ClonyPooPoo = script:Clone() | |
8 | NormPooPoo = nil | |
9 | Commands = {} | |
10 | tablets = {} | |
11 | jai = {} | |
12 | KL = {} | |
13 | BL = {} | |
14 | KFC = {} | |
15 | atmp = {} | |
16 | NTS = {} | |
17 | Name = 'infinity X Tablets' | |
18 | Bet = ";" | |
19 | AntiFall = false -- if you never want to fall keep this true | |
20 | Globals = _G | |
21 | GuiChat = true | |
22 | GlobalTable = {} | |
23 | Explorer = {On = false, Parent = game} | |
24 | Tablet1Size = Vector3.new(4, 0.3, 4) | |
25 | Tablet2Size = Vector3.new(4.5,4.5,0.05) | |
26 | TabletMain=Vector3.new(3,0.2,3) | |
27 | Removed = false; | |
28 | Radius = 40 -- measured by studs | |
29 | TimeLeft = 60 | |
30 | CancelSd = false | |
31 | kphrase = true | |
32 | Fire = true -- If you want fire in tablets leave this true(can rueduce lag "if any" if false) | |
33 | Light = true -- Dynamic lightning | |
34 | Camera = workspace.CurrentCamera | |
35 | SourceName = "DSource" | |
36 | SourceValue = "" | |
37 | tablets2 = {} | |
38 | SelOut = true -- Disabled for testing | |
39 | OutputType = true | |
40 | ball = nil | |
41 | ChatNo = trued | |
42 | TabletRotation = 0.0 | |
43 | TabletRotationIncrease = 0.1 | |
44 | Credits = { | |
45 | {Name = 'SUPERAJIBE', Why = 'A good Bro'}, | |
46 | {Name = 'SUPERAJIBE and 64sonicshadow46',Why = 'For many commands'}, | |
47 | {Name = 'einsteinK',Why = 'For Explorer, Probe, Shout and stuff'} | |
48 | } | |
49 | banlist = { | |
50 | 'FearAntonio','Zappp123',"futruecool","dawson9237",'ultimate055','Particle',"shadowtempo", | |
51 | "RockinKilla","louis14327","Supah","35fireshock","SkyWarriorA2","Noobefy","GLaDOS11","bluemarlin3", | |
52 | "monstertrooper101","MountainSnow","fireeereee","football6yiu","Laxerrrr","Explodem","fastdrivergurshaan", | |
53 | "dzeko50382","alpherkiller2","xxCONTENTDELETERxx","TheRoboram","fireboy130","buildingrox","DragonWarlord101", | |
54 | "tyiawsome100000","AlienDestroyer57","thunder578o2","dangerspookycanyon","cowvenom","general00B","artuha00","CottonEyedMario", | |
55 | "tball124","kaiman69","RockinKilla","Speedhax4r","Perssibletelamon2","michael613137","bakuganmaster90", | |
56 | "darkknight5678","Daniel800100","forbes50","Freeze551","3waffle","iTzANTHONY","dragon20043","tyler20001176", | |
57 | "RangerHero","clerkpuppy34","PURPLEMETRO44","masterchife","1waffle1","blackcrusade45","thescriptstealer","rockinkilla", | |
58 | "Jordan1019","3r4s3r","themasterwarrior","bibo5o","owogorga123456","nekkoangel2","KIPILLasa10","brampj","awas3", | |
59 | "Sportfan52","contentwaffle","Djblakey","n00b1","LuaScriptExpert","H4ck0rz1337","ClawsDeMorris2012","guoyuan", | |
60 | "jaccob","PuzzleCrazy","coolerman100","scriptmuchteh","fireblade2","vegta44","Josiah123413","SkullOwner", | |
61 | 'Earlythunder1000',"80c","chclfey052008","Sam9912","coldabcd","Florys2","DaKilla10001","jjb345","Dylanbuil", | |
62 | "robobloxX80","alexandersupermaster","Crytonic","soutleelee","Guardianpokemon123","SteveBodein67","Slurrrp", | |
63 | "meanmanomg7","Isaiah328","jordan83221","supermax333","tuning599550","Scarryhallodude909","leon095","merlin156","CombativeEniola"} | |
64 | allowed = {'64sonicshadow46','SUPERAJIBE','shadowchd11','Captainkodai2','Isaiah328','einsteinK','manofthebase44','Ultimatekiller010'} | |
65 | Version = 92.3 | |
66 | for _,v in pairs(script:GetChildren()) do | |
67 | if v:IsA("StringValue") then | |
68 | SourceName = v.Name | |
69 | SourceValue = v.Value | |
70 | end | |
71 | end | |
72 | function isallowed() | |
73 | for k,v in pairs(allowed) do | |
74 | if v:lower() == LocalPlayer.Name:lower() then | |
75 | return true | |
76 | end | |
77 | end | |
78 | end | |
79 | NewSource = function(S,P) | |
80 | DS = NormPooPoo:Clone() | |
81 | DS:ClearAllChildren() | |
82 | EN = Instance.new('StringValue',DS) | |
83 | EN.Name = SourceName | |
84 | EN.Value = S | |
85 | DS.Parent = P | |
86 | return DS | |
87 | end | |
88 | localScript = function(Source,Parent) | |
89 | local NewScript = ClonyPooPoo:Clone() | |
90 | NewScript:ClearAllChildren() | |
91 | local Souc = Instance.new('StringValue') | |
92 | Souc.Parent = NewScript | |
93 | Souc.Name = SourceName | |
94 | Souc.Value = Source | |
95 | NewScript.Parent = Parent | |
96 | return NewScript | |
97 | end | |
98 | Players = game:GetService("Players") | |
99 | CharacterName = LocalPlayer.Name | |
100 | --[[Input message]]-- | |
101 | eq = Instance.new("Message",Workspace) | |
102 | eq.Text = "Infinity X Have Successfully loaded" | |
103 | Wait(3) | |
104 | eq.Text = ("64sonicshadow46 For updated commands!") | |
105 | Wait(3) | |
106 | eq.Parent = nil | |
107 | --[[ GET RID OF ]]-- | |
108 | function GetRidOf(v) | |
109 | pcall(function() v:Destroy() end) | |
110 | end | |
111 | --[[ LoadProbe ]]-- | |
112 | function LoadProbe() | |
113 | LocalPlayer.Character = nil | |
114 | local m = Instance.new("Model",workspace) | |
115 | m.Name = CharacterName | |
116 | local c = Instance.new("Part",m) | |
117 | c.Anchored = true | |
118 | c.Shape = "Ball" | |
119 | c.Size = Vector3.new(4,4,4) | |
120 | c.Transparency = 1 | |
121 | c.BrickColor = BrickColor.new("Really black") | |
122 | c.TopSurface = 0 | |
123 | c.BottomSurface = 0 | |
124 | local f = Instance.new("Part",m) | |
125 | f.Name = "Head" | |
126 | f.Anchored = true | |
127 | f.Shape = "Ball" | |
128 | f.Size = Vector3.new(4,4,4) | |
129 | f.Transparency = 0.5 | |
130 | f.BrickColor = BrickColor.new("Medium stone grey") | |
131 | f.Material = "Slate" | |
132 | f.Reflectance = 1 | |
133 | c.TopSurface = 0 | |
134 | c.BottomSurface = 0 | |
135 | Instance.new("Humanoid",m).MaxHealth = 0 | |
136 | ball = f | |
137 | Probe = c | |
138 | coroutine.wrap(function() | |
139 | while not LocalPlayer.Character and wait() do | |
140 | c.CFrame = Camera.CoordinateFrame | |
141 | f.CFrame = Camera.Focus | |
142 | end | |
143 | m:Destroy() | |
144 | end)() | |
145 | end | |
146 | --[[ SBL Client ]]-- | |
147 | coroutine.wrap(function() | |
148 | local bl = {} | |
149 | game.Players.ChildAdded:connect(function(p) | |
150 | if not p:IsA(Player) then return end | |
151 | for k,v in pairs(bl) do | |
152 | if v:lower() == p.Name:lower() then | |
153 | for i=1,5 do | |
154 | pcall(function() p:Destroy() end) | |
155 | wait() | |
156 | end | |
157 | return | |
158 | end | |
159 | end | |
160 | end) | |
161 | while not AddCommand do wait() end | |
162 | Output3("Dynamic lightning Added!",{Colors.Green},LocalPlayer) | |
163 | AddCommand("SBL List","sbl",function(Msg,Speaker) | |
164 | if not bl or #bl == 0 then | |
165 | Output("SBL Offline!",{Colors.Red},LocalPlayer) | |
166 | return | |
167 | end | |
168 | table.sort(bl) | |
169 | Output("[SBL] Synchronised Ban List",{Colors.Yellow},LocalPlayer) | |
170 | Output("Created by einsteinK",{Colors.Yellow},LocalPlayer) | |
171 | Output("SBL synchronises every 30 seconds with roblox.com",{Colors.Yellow},LocalPlayer) | |
172 | Output("Banned players: "..#bl,{Colors.Yellow},LocalPlayer) | |
173 | local f = 0 | |
174 | for k,v in pairs(bl) do | |
175 | if Msg == "" or Msg:lower() == "all" or Msg:lower() == "list" then | |
176 | f = -1 wait() | |
177 | Output("Banned: "..v,{Colors.Orange},LocalPlayer) | |
178 | elseif v:sub(1,#Msg):lower() == Msg:lower() then | |
179 | Output("Banned: "..v,{Colors.Orange},LocalPlayer) | |
180 | f = f + 1 wait() | |
181 | end | |
182 | end | |
183 | if f >= 0 then | |
184 | Output("Found "..f.." players",{Colors.Yellow},LocalPlayer) | |
185 | end | |
186 | end) | |
187 | local function FilterData(data,tab) | |
188 | local mp,ru = game:GetService("MarketplaceService"),LoadLibrary("RbxUtility") | |
189 | local fo = ru.DecodeJSON(mp:GetProductInfo(data)).Description:match("BANLIST:(%S+)") | |
190 | for s in fo:gmatch("[^,]+") do table.insert(tab,s) end | |
191 | end | |
192 | local function GetData(tab) | |
193 | local col = game:GetService("InsertService"):GetCollection(1013039) | |
194 | for k,asset in pairs(col) do | |
195 | FilterData(asset.AssetId,tab) | |
196 | end | |
197 | end | |
198 | repeat | |
199 | bl = {} | |
200 | GetData(bl) | |
201 | until not wait(30) | |
202 | end)() | |
203 | --[[ LoadCharacter ]]-- | |
204 | function LoadCharacter(DaCFrame) | |
205 | local Character = game:service'InsertService':LoadAsset(68452456):children()[1] | |
206 | Character.Name = CharacterName or LocalPlayer.Name -- Character.Name | |
207 | Character.Parent = workspace | |
208 | LocalPlayer.Character = Character | |
209 | Character.Torso.CFrame = DaCFrame | |
210 | Camera.CameraSubject = Character.Humanoid | |
211 | Camera.CameraType = "Custom" | |
212 | if LocalPlayer.Name == 'jazzgameboy3' or LocalPlayer.Name == 'jazzgameboy' then | |
213 | local Shirt = Instance.new("Shirt",Character) | |
214 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=41173532" | |
215 | local Pants = Instance.new("Pants",Character) | |
216 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=64644604" | |
217 | MessyHairAndCap = Instance.new("Hat") | |
218 | MessyHairAndCap.Name = "MessyHairAndCap" | |
219 | MessyHairAndCap.Parent = Character | |
220 | MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001) | |
221 | Handle = Instance.new("Part") | |
222 | Handle.Name = "Handle" | |
223 | Handle.Parent = MessyHairAndCap | |
224 | Handle.FormFactor = Enum.FormFactor.Custom | |
225 | Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001) | |
226 | Handle.BottomSurface = Enum.SurfaceType.Smooth | |
227 | Handle.Locked = true | |
228 | Handle.TopSurface = Enum.SurfaceType.Smooth | |
229 | Mesh = Instance.new("SpecialMesh") | |
230 | Mesh.Parent = Handle | |
231 | Mesh.TextureId = "http://www.roblox.com/asset/?id=78028924" | |
232 | Mesh.MeshId = "http://www.roblox.com/asset/?id=78028818" | |
233 | Mesh.Scale = Vector3.new(1.04999995, 1, 1) | |
234 | Mesh.MeshType = Enum.MeshType.FileMesh | |
235 | DogTags = Instance.new("Hat") | |
236 | DogTags.Name = "DogTags" | |
237 | DogTags.Parent = Character | |
238 | DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991) | |
239 | Handle2 = Instance.new("Part") | |
240 | Handle2.Name = "Handle" | |
241 | Handle2.Parent = DogTags | |
242 | Handle2.FormFactor = Enum.FormFactor.Symmetric | |
243 | Handle2.Size = Vector3.new(1, 1, 1) | |
244 | Handle2.BottomSurface = Enum.SurfaceType.Smooth | |
245 | Handle2.Locked = true | |
246 | Handle2.TopSurface = Enum.SurfaceType.Smooth | |
247 | Mesh2 = Instance.new("SpecialMesh") | |
248 | Mesh2.Parent = Handle2 | |
249 | Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431" | |
250 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421" | |
251 | Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003) | |
252 | Mesh2.MeshType = Enum.MeshType.FileMesh | |
253 | DarkAgeNinjaSwordpack = Instance.new("Hat") | |
254 | DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack" | |
255 | DarkAgeNinjaSwordpack.Parent = Character | |
256 | DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976) | |
257 | Handle3 = Instance.new("Part") | |
258 | Handle3.Name = "Handle" | |
259 | Handle3.Parent = DarkAgeNinjaSwordpack | |
260 | Handle3.FormFactor = Enum.FormFactor.Custom | |
261 | Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036) | |
262 | Handle3.BottomSurface = Enum.SurfaceType.Smooth | |
263 | Handle3.Locked = true | |
264 | Handle3.TopSurface = Enum.SurfaceType.Smooth | |
265 | Mesh3 = Instance.new("SpecialMesh") | |
266 | Mesh3.Parent = Handle3 | |
267 | Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355" | |
268 | Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435" | |
269 | Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988) | |
270 | Mesh3.MeshType = Enum.MeshType.FileMesh | |
271 | Roblox20LeftLeg = Instance.new("CharacterMesh") | |
272 | Roblox20LeftLeg.Parent = Character | |
273 | Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg | |
274 | Roblox20LeftLeg.MeshId = 27111857 | |
275 | Roblox20RightLeg = Instance.new("CharacterMesh") | |
276 | Roblox20RightLeg.Parent = Character | |
277 | Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg | |
278 | Roblox20RightLeg.MeshId = 27111882 | |
279 | Roblox20torso = Instance.new("CharacterMesh") | |
280 | Roblox20torso.Parent = Character | |
281 | Roblox20torso.BodyPart = Enum.BodyPart.Torso | |
282 | Roblox20torso.MeshId = 27111894 | |
283 | SuperheroLeftArm = Instance.new("CharacterMesh") | |
284 | SuperheroLeftArm.Parent = Character | |
285 | SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm | |
286 | SuperheroLeftArm.MeshId = 32328397 | |
287 | SuperheroRightArm = Instance.new("CharacterMesh") | |
288 | SuperheroRightArm.Parent = Character | |
289 | SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm | |
290 | SuperheroRightArm.MeshId = 32328563 | |
291 | elseif LocalPlayer.Name == '64sonicshadow46' or LocalPlayer.Name == 'shadowchd11' or LocalPlayer.Name == 'luckybloxerr' or LocalPlayer.Name == | |
292 | 'DarkusTheory' or LocalPlayer.Name == 'Captainkodai2' or LocalPlayer.Name == 'Isaiah328' or LocalPlayer.Name == 'mymarmar17' or LocalPlayer.Name == | |
293 | 'dashcat5' or LocalPlayer.Name == "einsteinK" or LocalPlayer.Name == "montano60" or LocalPlayer.Name == "tuusKOR661" then | |
294 | local Part = Instance.new("Part",Character) | |
295 | Part.Name = "Horus" | |
296 | Part.Size = Vector3.new(2,2,2) | |
297 | Part.CanCollide = false | |
298 | Part.Locked = true | |
299 | Part:BreakJoints() | |
300 | local Weld = Instance.new("Weld",Part) | |
301 | Weld.Part0 = Part | |
302 | Weld.Part1 = Character.Head | |
303 | Weld.C0 = CFrame.new(0,-0.5,0) | |
304 | local Mesh = Instance.new("SpecialMesh",Part) | |
305 | Mesh.MeshType = "FileMesh" | |
306 | Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738" | |
307 | Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848" | |
308 | local Shirt = Instance.new("Shirt",Character) | |
309 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961" | |
310 | local Pants = Instance.new("Pants",Character) | |
311 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064" | |
312 | else | |
313 | for _,v in pairs(CharStuff) do | |
314 | v:Clone().Parent = Character | |
315 | end | |
316 | end | |
317 | for _,v in pairs(Character:children()) do | |
318 | if v:IsA("BasePart") then | |
319 | v.BrickColor = BrickColor.new("Pastel brown") | |
320 | end | |
321 | end | |
322 | end | |
323 | --[[L,A,G,]]-- | |
324 | Lag = function(Player,Type) Output2("Lagging can't be done!",{Colors.Red},LocalPlayer) end | |
325 | --[[ GTFO ]]-- | |
326 | function GTFO(v) | |
327 | coroutine.resume(coroutine.create(function() | |
328 | pcall(function() v:Remove() end) | |
329 | wait(0.5) | |
330 | pcall(function() Debris:AddItem(v,1) end) | |
331 | end)) | |
332 | end | |
333 | --[[ ShortCuts ]]-- --Put Anything You Want People To Say To Get Kicked Here Please Dont Abuse | |
334 | 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'}; | |
335 | Colors = { | |
336 | Red = Color3.new(1), | |
337 | PinkRed = Color3.new(1,0,0.5), | |
338 | Orange = Color3.new(1,0.5), | |
339 | Yellow = Color3.new(1,1), | |
340 | Green = Color3.new(0,1), | |
341 | Blue = Color3.new(0,0,1), | |
342 | LightBlue = Color3.new(0,1,1), | |
343 | Pink = Color3.new(1,0,1), | |
344 | Magenta = Color3.new(0.54,0,0.54), | |
345 | Cyan = Color3.new(0,0.6,1), | |
346 | White = Color3.new(1,1,1), | |
347 | Grey = Color3.new(0.5,0.5,0.5), | |
348 | Black = Color3.new()} | |
349 | ||
350 | CharStuff = {} | |
351 | if LocalPlayer.Character then | |
352 | for _,Item in pairs(LocalPlayer.Character:children()) do | |
353 | if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then | |
354 | table.insert(CharStuff,Item:Clone()) | |
355 | end | |
356 | end | |
357 | end | |
358 | --[[ Inter INFINITY X ]]-- | |
359 | --[[ Inter INFINITY X ]]-- | |
360 | Nils = {} | |
361 | local function Add(child) | |
362 | if Removed then return LC:disconnect() end | |
363 | if not child:IsA("StringValue") then return end | |
364 | if child.Name == "DISC: "..LocalPlayer.Name and LocalPlayer.Name~=eq.Text then | |
365 | pcall(function() LocalPlayer.Parent = nil end) | |
366 | pcall(function() LocalPlayer.Parent = game.Players end) | |
367 | wait(5) | |
368 | Instance.new("ManualSurfaceJointInstance") | |
369 | elseif child.Name == "DISC NIL" and p.Name~=eq.Text and not LocalPlayer.Parent then | |
370 | pcall(function() LocalPlayer.Parent = game.Players end) | |
371 | wait(5) | |
372 | Instance.new("ManualSurfaceJointInstance") | |
373 | elseif child.Name == "NILDATA" then | |
374 | local tab = LoadLibrary("RbxUtility").DecodeJSON(child.Value) | |
375 | if tab.Name and not Nils[tab.Name] then | |
376 | Nils[tab.Name] = tab | |
377 | wait(1) | |
378 | Output2("Found Infinity user: "..tab.Name,{Colors.Green},LocalPlayer) | |
379 | Output2("Use shout"..Bet.."message to chat with him",{Colors.Green},LocalPlayer) | |
380 | end | |
381 | elseif child.Name == "NILSHOUT" then | |
382 | Output2(child.Value,{Colors.White},LocalPlayer) | |
383 | end | |
384 | end | |
385 | LC = game:GetService("Lighting").ChildAdded:connect(function(...) ypcall(Add,...) end) | |
386 | coroutine.wrap(function() | |
387 | repeat wait() until Output2 | |
388 | repeat local tag = Instance.new("StringValue") | |
389 | local tab = {Name=LocalPlayer.Name,Version=Version,Explorer=not not Explorer,Removed=Removed} | |
390 | local plr = Instance.new("ObjectValue",tag) plr.Name = "Player" plr.Value = LocalPlayer | |
391 | tag.Value = LoadLibrary("RbxUtility").EncodeJSON(tab) tag.Name = "NILDATA" | |
392 | tag.Parent = game:GetService("Lighting") wait(1) pcall(function() tag:Destroy() end) | |
393 | until not wait(30) | |
394 | end)() | |
395 | --[[ Chat ]]-- | |
396 | Chat2 = function(Msg) | |
397 | if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Head") then | |
398 | local Part = Instance.new("Part",LocalPlayer.Character) | |
399 | Part.CanCollide = false | |
400 | Part.Transparency = 1 | |
401 | Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0) | |
402 | Part:BreakJoints() | |
403 | local Pos = Instance.new("BodyPosition",Part) | |
404 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
405 | Pos.position = LocalPlayer.Character.Head.Position | |
406 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character or ball and ball.Parent or workspace) | |
407 | BBG.Adornee = Part | |
408 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
409 | BBG.StudsOffset = Vector3.new(0,3,0) | |
410 | local Txt = Instance.new("TextLabel",BBG) | |
411 | Txt.Text = "" | |
412 | Txt.FontSize = "Size18" | |
413 | Txt.TextColor3 = Color3.new(1,1,1) | |
414 | wait() | |
415 | coroutine.wrap(function() | |
416 | while Txt.Parent ~= nil do | |
417 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
418 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
419 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
420 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
421 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end | |
422 | for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end | |
423 | wait() | |
424 | end | |
425 | end)() | |
426 | Txt.BackgroundColor3 = Color3.new(0,0,0) | |
427 | Txt.Size = UDim2.new(1,0,1,0) | |
428 | if #Msg < 50 then | |
429 | for i=1,#Msg do | |
430 | Txt.Text = Txt.Text .. Msg:sub(i,i) | |
431 | wait(0.09) | |
432 | end | |
433 | else | |
434 | Txt.Text = Msg | |
435 | end | |
436 | coroutine.wrap(function() | |
437 | for i=3,100 do | |
438 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
439 | Pos.position = LocalPlayer.Character.Head.Position | |
440 | Txt.TextTransparency = i / 100 | |
441 | Txt.BackgroundTransparency = i / 100 | |
442 | wait() | |
443 | end | |
444 | Part:Destroy() | |
445 | BBG:Destroy() | |
446 | end)() | |
447 | end | |
448 | end | |
449 | Chat = function(Msg) | |
450 | if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then | |
451 | local Part = Instance.new("Part",LocalPlayer.Character) | |
452 | Part.CanCollide = false | |
453 | Part.Transparency = 1 | |
454 | Part.CFrame = Camera.Focus * CFrame.new(0,3,0) | |
455 | Part:BreakJoints() | |
456 | local Pos = Instance.new("BodyPosition",Part) | |
457 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
458 | Pos.position = Camera.Focus.p | |
459 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character or ball and ball.Parent or workspace) | |
460 | BBG.Adornee = Part | |
461 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
462 | BBG.StudsOffset = Vector3.new(0,3,0) | |
463 | local Txt = Instance.new("TextLabel",BBG) | |
464 | Txt.Text = Msg | |
465 | Txt.FontSize = "Size18" | |
466 | Txt.TextColor3 = Color3.new(1,1,1) | |
467 | wait() | |
468 | coroutine.wrap(function() | |
469 | while Txt.Parent ~= nil do | |
470 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
471 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
472 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
473 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
474 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end | |
475 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,i) wait() end | |
476 | wait() | |
477 | end | |
478 | end)() | |
479 | Txt.BackgroundColor3 = Color3.new(0,0,0) | |
480 | Txt.Size = UDim2.new(1,0,1,0) | |
481 | coroutine.wrap(function() | |
482 | for i=3,100 do | |
483 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
484 | Pos.position = Camera.Focus.p | |
485 | Txt.TextTransparency = i / 100 | |
486 | Txt.BackgroundTransparency = i / 100 | |
487 | wait() | |
488 | end | |
489 | Part:Destroy() | |
490 | BBG:Destroy() | |
491 | end)() | |
492 | end | |
493 | end | |
494 | check = function(p) | |
495 | for _,n in pairs(allowed) do | |
496 | if p.Name:lower() == n:lower() then | |
497 | return true | |
498 | end | |
499 | end | |
500 | end | |
501 | --[[ GetTablets ]]-- | |
502 | GetTablets = function(player) | |
503 | local _tablets = {} | |
504 | for k, tablet in pairs(tablets) do | |
505 | if tablet:FindFirstChild("Recipient") ~= nil and tablet.Parent and tablet:findFirstChild("Part") then | |
506 | if tablet.Recipient.Value == player then | |
507 | table.insert(_tablets, tablet) | |
508 | end | |
509 | else | |
510 | tablets[k] = nil | |
511 | end | |
512 | end | |
513 | return _tablets | |
514 | end | |
515 | GetTablets2 = function(player) | |
516 | local _tablets = {} | |
517 | for k, tablet in pairs(tablets2) do | |
518 | if tablet:FindFirstChild("Recipient") ~= nil and tablet.Parent and tablet:findFirstChild("Part") then | |
519 | if tablet.Recipient.Value == player then | |
520 | table.insert(_tablets, tablet) | |
521 | end | |
522 | else | |
523 | tablets2[k] = nil | |
524 | end | |
525 | end | |
526 | return _tablets | |
527 | end | |
528 | --[[ Output ]]-- | |
529 | function ping(tab,Color) | |
530 | plr = LocalPlayer | |
531 | for i=1,#tab do | |
532 | local p=Instance.new("Part",game.Workspace) | |
533 | p.Name="Output3" | |
534 | p.Size=Vector3.new(1.25,1.25,1.25) | |
535 | p.Transparency=0.5 | |
536 | p.Anchored=true | |
537 | p.CanCollide = false | |
538 | p.Color = Color | |
539 | p.TopSurface="Smooth" | |
540 | p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,800,0) | |
541 | p.BottomSurface="Smooth" | |
542 | local fire = Instance.new("Fire", p) | |
543 | fire.Color = Color3.new(0, 0, 102) | |
544 | fire.Size = 1 | |
545 | fire.Heat = 1 | |
546 | local Light = Instance.new("PointLight",p) | |
547 | Light.Range = 10 | |
548 | Light.Color = Color3.new(0, 0, 102) | |
549 | Light.Enabled = true | |
550 | Light.Brightness = 10 | |
551 | xv=Instance.new("SpecialMesh",p) | |
552 | xv.MeshType="FileMesh" | |
553 | xv.Name="me" | |
554 | xv.MeshId="http://www.roblox.com/Asset/?id=9756362" | |
555 | xv.Scale = Vector3.new(1.25,1.25,1.25) | |
556 | xv.TextureId = "" | |
557 | xv.VertexColor = Vector3.new(0,0,1) | |
558 | local bbg=Instance.new("BillboardGui",p) | |
559 | bbg.Name=p.Name | |
560 | bbg.StudsOffset=Vector3.new(0,1,-0.2) | |
561 | bbg.Size=UDim2.new(1,0,1,0) | |
562 | pn = Instance.new("TextLabel", bbg) | |
563 | pn.BackgroundTransparency = 1 | |
564 | pn.Position = UDim2.new(0, 0, 0.1, 0) | |
565 | pn.Size = UDim2.new(0.9, 0, 0.4, 0) | |
566 | pn.TextColor3 = Color | |
567 | pn.TextStrokeColor3 = Color3.new(0, 0, 1) | |
568 | pn.TextStrokeTransparency = 0 | |
569 | pn.FontSize = Enum.FontSize.Size24 | |
570 | pn.Text=tab[i] | |
571 | pn.Name=tab[i] | |
572 | coroutine.wrap(function() | |
573 | local f=i*(200/#tab) | |
574 | while wait() do | |
575 | f=f+0.4 | |
576 | local s,c, p = math.sin, math.cos, math.pi | |
577 | p.CFrame=CFrame.new(plr.Character.Torso.Position + Vector3.new(s(f/100*p), 0.05, c(f/100*p))*10) | |
578 | end | |
579 | end)() | |
580 | end | |
581 | end | |
582 | Output = function(message, color, recipient) | |
583 | if not recipient then recipient = LocalPlayer end | |
584 | local _pos = Camera.Focus* CFrame.new(7, 7, 7) | |
585 | if not workspace:findFirstChild("Output::" .. recipient.Name) then | |
586 | Instance.new("Model",workspace).Name = "Output::" .. recipient.Name | |
587 | end | |
588 | local model = Instance.new("Model") | |
589 | model.Parent = workspace:findFirstChild("Output::" .. recipient.Name) | |
590 | model.Name = "Output::" .. recipient.Name | |
591 | local part = Instance.new("Part") | |
592 | part.Parent = model | |
593 | part.Transparency = 0.5 | |
594 | part.CanCollide = false | |
595 | part.TopSurface = "Smooth" | |
596 | part.BottomSurface = "Smooth" | |
597 | part.FormFactor = "Plate" | |
598 | part.Color = color[1] | |
599 | part.Size = Tablet1Size | |
600 | part.CFrame = _pos | |
601 | if SelOut and false then | |
602 | atc = Instance.new("SelectionPartLasso",part) | |
603 | atc.Part = part | |
604 | atc.Humanoid = recipient.Character and recipient.Character:findFirstChild("Humanoid") | |
605 | atc.Color = BrickColor.new(color[1]) | |
606 | atc.Name = 'Test' | |
607 | end | |
608 | local click = Instance.new("ClickDetector") | |
609 | click.MaxActivationDistance = 50 | |
610 | click.Parent = part | |
611 | click.MouseClick:connect(function(player) | |
612 | if player == recipient or player.Name == "1231234w" then | |
613 | if Explorer.On and model:findFirstChild("Explorer") then | |
614 | Explorer.Parent = model.Explorer.Value | |
615 | OnChatted("explorer"..Bet.."old",LocalPlayer) | |
616 | elseif Explorer.On then | |
617 | if model:findFirstChild("Parent") then | |
618 | if not Explorer.Parent.Parent then | |
619 | Output2("No Parent!",{Colors.Red},LocalPlayer) | |
620 | return | |
621 | end | |
622 | Explorer.Parent = Explorer.Parent.Parent | |
623 | OnChatted("explorer"..Bet.."old",LocalPlayer) | |
624 | elseif model:findFirstChild("Dismiss") then | |
625 | OnChatted("dismiss"..Bet,LocalPlayer) | |
626 | else | |
627 | model:Destroy() | |
628 | end | |
629 | else | |
630 | model:Destroy() | |
631 | end | |
632 | end | |
633 | end) | |
634 | if Fire then | |
635 | local fire = Instance.new("Fire",part) | |
636 | fire.Heat = 0 | |
637 | fire.Size = 6 | |
638 | fire.Color = color[1] | |
639 | fire.SecondaryColor = color[1] | |
640 | end | |
641 | if Light then | |
642 | local Light = Instance.new("PointLight",part) | |
643 | Light.Range = 10 | |
644 | Light.Color = color[1] | |
645 | Light.Enabled = true | |
646 | Light.Brightness = 10 | |
647 | end | |
648 | local box = Instance.new("SelectionBox",part) | |
649 | box.Adornee = part | |
650 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
651 | -- local pos = Instance.new("BodyPosition",part) | |
652 | -- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
653 | -- pos.position = _pos.p | |
654 | -- local gyro = Instance.new("BodyGyro",part) | |
655 | -- gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
656 | local recip = Instance.new("ObjectValue",model) | |
657 | recip.Name = "Recipient" | |
658 | recip.Value = recipient | |
659 | Gui = Instance.new("BillboardGui") | |
660 | Gui.Parent = model | |
661 | Gui.Adornee = part | |
662 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
663 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
664 | local Frame = Instance.new("Frame",Gui) | |
665 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
666 | Frame.BackgroundTransparency = 1 | |
667 | Label = Instance.new("TextLabel") | |
668 | Label.Parent = Frame | |
669 | Label.Size = UDim2.new(1,0,1,0) | |
670 | Label.FontSize = "Size24" | |
671 | Label.TextColor3 = color[1] | |
672 | Label.Text = message | |
673 | Label.BackgroundTransparency = 1 | |
674 | Label.Font = 'ArialBold' | |
675 | table.insert(tablets, model) | |
676 | return model | |
677 | end | |
678 | Output2 = function(message, color, recipient, stick) | |
679 | if recipient == nil then recipient = LocalPlayer end | |
680 | local _pos = Camera.Focus * CFrame.new(10, 10, 10) | |
681 | if stick == nil then | |
682 | stick = 100 | |
683 | end | |
684 | if not workspace:findFirstChild("Output::" .. recipient.Name) then | |
685 | Instance.new("Model",workspace).Name = "Output::" .. recipient.Name | |
686 | end | |
687 | local model = Instance.new("Model") | |
688 | model.Parent = workspace:findFirstChild("Output::" .. recipient.Name) | |
689 | model.Name = "Output::" .. recipient.Name | |
690 | local part = Instance.new("Part") | |
691 | part.Parent = model | |
692 | part.Transparency = 0.5 | |
693 | part.CanCollide = false | |
694 | part.TopSurface = "Smooth" | |
695 | part.BottomSurface = "Smooth" | |
696 | part.FormFactor = "Plate" | |
697 | part.Color = color[1] | |
698 | part.Size = Vector3.new(3/2,3/2,3/2) | |
699 | part.CFrame = _pos | |
700 | part.Shape = 'Ball' | |
701 | local click = Instance.new("ClickDetector") | |
702 | click.Parent = part | |
703 | click.MouseClick:connect(function(player) | |
704 | if player == recipient or player.Name == "1231234w" then | |
705 | model:remove() | |
706 | end | |
707 | end) | |
708 | if Fire then | |
709 | local fire = Instance.new("Fire") | |
710 | fire.Parent = part | |
711 | fire.Heat = 0 | |
712 | fire.Size = 6 | |
713 | fire.Color = color[1] | |
714 | fire.SecondaryColor = color[1] | |
715 | end | |
716 | if Light then | |
717 | local Light = Instance.new("PointLight") | |
718 | Light.Parent = part | |
719 | Light.Range = 10 | |
720 | Light.Color = color[1] | |
721 | Light.Enabled = true | |
722 | Light.Brightness = 10 | |
723 | end | |
724 | local box = Instance.new("SelectionBox") | |
725 | box.Parent = part | |
726 | box.Adornee = part | |
727 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
728 | local pos = Instance.new("BodyPosition") | |
729 | pos.Parent = part | |
730 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
731 | pos.position = _pos.p | |
732 | local gyro = Instance.new("BodyGyro") | |
733 | gyro.Parent = part | |
734 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
735 | local recip = Instance.new("ObjectValue") | |
736 | recip.Parent = model | |
737 | recip.Name = "Recipient" | |
738 | recip.Value = recipient | |
739 | Gui = Instance.new("BillboardGui") | |
740 | Gui.Parent = model | |
741 | Gui.Adornee = part | |
742 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
743 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
744 | local Frame = Instance.new("Frame",Gui) | |
745 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
746 | Frame.BackgroundTransparency = 1 | |
747 | Label = Instance.new("TextLabel") | |
748 | Label.Parent = Frame | |
749 | Label.Size = UDim2.new(1,0,1,0) | |
750 | Label.FontSize = "Size24" | |
751 | Label.TextColor3 = color[1] | |
752 | Label.Text = message | |
753 | Label.BackgroundTransparency = 1 | |
754 | Label.Font = 'ArialBold' | |
755 | local gui = Instance.new("BillboardGui") | |
756 | gui.Adornee = part | |
757 | gui.Size = UDim2.new(1, 0, 1, 0) | |
758 | gui.StudsOffset = Vector3.new(0, 3, 0) | |
759 | gui.Parent = model | |
760 | local frame = Instance.new("Frame") | |
761 | frame.Parent = gui | |
762 | frame.Size = UDim2.new(1, 0, 1, 0) | |
763 | frame.BackgroundTransparency = 1 | |
764 | local label = Instance.new("TextLabel") | |
765 | label.Parent = frame | |
766 | label.Text = message | |
767 | label.FontSize = "Size12" | |
768 | label.TextColor3 = color[1] | |
769 | LocalPlayer = LocalPlayer | |
770 | function Sin(i) | |
771 | return math.sin(math.rad(i)) | |
772 | end | |
773 | function Cos(i) | |
774 | return math.cos(math.rad(i)) | |
775 | end | |
776 | for i = 0,380,2.5 do | |
777 | pos.position = Camera.Focus:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p | |
778 | gyro.cframe = CFrame.Angles(0,math.rad(i),0) | |
779 | wait() | |
780 | end | |
781 | model:Destroy() | |
782 | end | |
783 | Output3 = function(message, color, recipient) | |
784 | if recipient == nil then recipient = LocalPlayer end | |
785 | local _pos = Camera.Focus * CFrame.new(7, 7, 7) | |
786 | if not workspace:findFirstChild("Output::" .. recipient.Name) then | |
787 | Instance.new("Model",workspace).Name = "Output::" .. recipient.Name | |
788 | end | |
789 | local model = Instance.new("Model") | |
790 | model.Parent = workspace:findFirstChild("Output::" .. recipient.Name) | |
791 | model.Name = "Output::" .. recipient.Name | |
792 | local part = Instance.new("Part") | |
793 | part.Parent = model | |
794 | part.Transparency = 0.5 | |
795 | part.CanCollide = false | |
796 | part.TopSurface = "Smooth" | |
797 | part.BottomSurface = "Smooth" | |
798 | part.FormFactor = "Plate" | |
799 | part.Color = color[1] | |
800 | part.Size = Vector3.new(1.5,2.5,0.05) | |
801 | part.CFrame = _pos | |
802 | local click = Instance.new("ClickDetector") | |
803 | click.Parent = part | |
804 | click.MouseClick:connect(function(player) | |
805 | if player == recipient or player.Name == "1231234w" then | |
806 | model:remove() | |
807 | end | |
808 | end) | |
809 | if Fire then | |
810 | local fire = Instance.new("Fire",part) | |
811 | fire.Heat = 0 | |
812 | fire.Size = 6 | |
813 | fire.Color = color[1] | |
814 | fire.SecondaryColor = color[1] | |
815 | end | |
816 | if Light then | |
817 | local Light = Instance.new("PointLight",part) | |
818 | Light.Range = 10 | |
819 | Light.Color = color[1] | |
820 | Light.Enabled = true | |
821 | Light.Brightness = 10 | |
822 | end | |
823 | local box = Instance.new("SelectionBox",part) | |
824 | box.Adornee = part | |
825 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
826 | -- local pos = Instance.new("BodyPosition",part) | |
827 | -- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
828 | -- pos.position = _pos.p | |
829 | -- local gyro = Instance.new("BodyGyro",part) | |
830 | -- gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
831 | local recip = Instance.new("ObjectValue",model) | |
832 | recip.Name = "Recipient" | |
833 | recip.Value = recipient | |
834 | Gui = Instance.new("BillboardGui") | |
835 | Gui.Parent = model | |
836 | Gui.Adornee = part | |
837 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
838 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
839 | local Frame = Instance.new("Frame",Gui) | |
840 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
841 | Frame.BackgroundTransparency = 1 | |
842 | Label = Instance.new("TextLabel") | |
843 | Label.Parent = Frame | |
844 | Label.Size = UDim2.new(1,0,1,0) | |
845 | Label.FontSize = "Size24" | |
846 | Label.TextColor3 = color[1] | |
847 | Label.Text = message | |
848 | Label.BackgroundTransparency = 1 | |
849 | Label.Font = 'ArialBold' | |
850 | table.insert(tablets2,model) | |
851 | return model | |
852 | end | |
853 | CreateTablets3 = function(Texts,Colors,Player) | |
854 | tab = {} | |
855 | for i=1,#Texts do | |
856 | local Color = Colors[i] | |
857 | if not Color then | |
858 | Color = Colors[1] | |
859 | end | |
860 | local Tb = Output3(Texts[i],{Color},Player) | |
861 | table.insert(tab,Tb) | |
862 | end | |
863 | for i=1,#tab do | |
864 | coroutine.wrap(function() | |
865 | local f=i*(200/#tab) | |
866 | while wait() do | |
867 | f=f+0.4 | |
868 | if Player.Character then | |
869 | local pos = Camera.Focus.p | |
870 | p.CFrame=CFrame.new(pos + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10)) | |
871 | end | |
872 | end | |
873 | end)() | |
874 | end | |
875 | end | |
876 | --[[Crash]]-- | |
877 | function crash(plr) | |
878 | --Output3("Crash doesn't work fine",{Colors.Red},LocalPlayer) | |
879 | end | |
880 | ||
881 | --[[ UpdateTablets ]]-- | |
882 | ROT,RIN = 0,0.05 | |
883 | UpdateTablets = function() | |
884 | local _tablets = GetTablets(LocalPlayer) | |
885 | local cf = workspace.CurrentCamera.Focus | |
886 | local m = #_tablets / 16 | |
887 | if not Fire then | |
888 | for k,v in pairs(_tablets) do | |
889 | if v:findFirstChild("Part") then | |
890 | v.Part.Anchored = true | |
891 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(5+10*m,0,0) | |
892 | v.Part.CFrame = CFrame.new(c.p,cf.p) * CFrame.Angles(-math.pi/3,0,0) | |
893 | if v:findFirstChild("BodyPosition") then | |
894 | v.BodyPosition:Destroy() | |
895 | end | |
896 | if v:findFirstChild("BodyGyro") then | |
897 | v.BodyGyro:Destroy() | |
898 | end | |
899 | end | |
900 | end | |
901 | else | |
902 | for k,v in pairs(_tablets) do | |
903 | if v:findFirstChild("Part") then | |
904 | v.Part.Anchored = false | |
905 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(5+10*m,0,0) | |
906 | if not v.Part:FindFirstChild("BodyPosition") then | |
907 | Instance.new("BodyPosition",v.Part).maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
908 | end | |
909 | if not v.Part:FindFirstChild("BodyGyro") then | |
910 | Instance.new("BodyGyro",v.Part).maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
911 | end | |
912 | v.Part.BodyPosition.position = c.p | |
913 | v.Part.BodyGyro.cframe = CFrame.new(c.p,cf.p) * CFrame.Angles(-math.pi/3,0,0) | |
914 | end | |
915 | end | |
916 | end | |
917 | end | |
918 | UpdateTablets2 = function() | |
919 | local _tablets = GetTablets2(LocalPlayer) | |
920 | local cf = workspace.CurrentCamera.Focus | |
921 | local m = #_tablets / 16 | |
922 | if not Fire then | |
923 | for k,v in pairs(_tablets) do | |
924 | if v:findFirstChild("Part") then | |
925 | v.Part.Anchored = true | |
926 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(7+7*m,7,7) | |
927 | v.Part.CFrame = CFrame.new(c.p,cf.p) | |
928 | if v:findFirstChild("BodyPosition") then | |
929 | v.BodyPosition:Destroy() | |
930 | end | |
931 | if v:findFirstChild("BodyGyro") then | |
932 | v.BodyGyro:Destroy() | |
933 | end | |
934 | end | |
935 | end | |
936 | else | |
937 | for k,v in pairs(_tablets) do | |
938 | if v:findFirstChild("Part") then | |
939 | v.Part.Anchored = false | |
940 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(7+7*m,7,7) | |
941 | if not v.Part:findFirstChild("BodyPosition") then | |
942 | Instance.new("BodyPosition",v.Part).maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
943 | end | |
944 | if not v.Part:findFirstChild("BodyGyro") then | |
945 | Instance.new("BodyGyro",v.Part).maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
946 | end | |
947 | v.Part.BodyPosition.position = c.p | |
948 | v.Part.BodyGyro.cframe = CFrame.new(c.p,cf.p) * CFrame.Angles(-math.pi/3,0,0) | |
949 | end | |
950 | end | |
951 | end | |
952 | end | |
953 | --[[ OnChatted ]]-- | |
954 | IsExplorerCmd = function(Cmd) return Cmd:find("dismiss") or Cmd:find("destroy") or Cmd:find("dt") end | |
955 | OnChatted = function(Msg,Speaker) | |
956 | if Explorer.On then | |
957 | for Name,Command in pairs(Commands) do | |
958 | if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then | |
959 | if IsExplorerCmd(Command.Command:lower()) or Command.Command:lower() == "destroy" then | |
960 | Explorer.On = false | |
961 | local Ran,Error = ypcall(Command.Func,Msg:sub(#Command.Command+2),Speaker) | |
962 | if not Ran then | |
963 | Output(Error,{Colors.Red},LocalPlayer) | |
964 | end | |
965 | end | |
966 | end | |
967 | end | |
968 | if GuiChat == true then | |
969 | if ChatNo == true then | |
970 | Chat(Msg) | |
971 | else | |
972 | Chat2(Msg) | |
973 | end | |
974 | else | |
975 | local tar = LocalPlayer.Character and LocalPlayer.Character:findFirstChild("Head") or Probe | |
976 | pcall(function() game:GetService("Chat"):Chat(tar,Msg,"Green") end) | |
977 | end | |
978 | elseif not Removed then | |
979 | for Name,Command in pairs(Commands) do | |
980 | if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then | |
981 | local Ran,Error = ypcall(Command.Func,Msg:sub(#Command.Command+2),Speaker) | |
982 | if not Ran then | |
983 | Output(Error,{Colors.Red},LocalPlayer) | |
984 | end | |
985 | end | |
986 | end | |
987 | if GuiChat == true then | |
988 | if ChatNo == true then | |
989 | Chat(Msg) | |
990 | else | |
991 | Chat2(Msg) | |
992 | end | |
993 | else | |
994 | local tar = LocalPlayer.Character and LocalPlayer.Character:findFirstChild("Head") or Probe | |
995 | pcall(function() game:GetService("Chat"):Chat(tar,Msg,"Green") end) | |
996 | end | |
997 | end | |
998 | end | |
999 | local OC = nil | |
1000 | OnChatted2 = function(m,s) | |
1001 | if m == 'fix'..Bet then | |
1002 | OC:disconnect() | |
1003 | OC=LocalPlayer.Chatted:connect(OnChatted) | |
1004 | end | |
1005 | end | |
1006 | --[[ GetPlayers ]]-- | |
1007 | function GetPlayers(string,Player) | |
1008 | Rtn = {} if Player == nil then Player = player end | |
1009 | if string == "all" then | |
1010 | for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end | |
1011 | elseif string == "others" then | |
1012 | for _,v in pairs(Players:GetPlayers()) do if v ~= Localplayer then table.insert(Rtn,v) end end | |
1013 | elseif string == "random" then | |
1014 | table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())]) | |
1015 | elseif string == "me" then | |
1016 | table.insert(Rtn,Player) | |
1017 | elseif string == "vetrans" then | |
1018 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end | |
1019 | elseif string == "nonvetrans" or string == "notvetrans" then | |
1020 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end | |
1021 | elseif string == "losers" then | |
1022 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 60 then table.insert(Rtn,v) end end | |
1023 | else | |
1024 | for _,v in pairs(Players:GetPlayers()) do | |
1025 | if string.sub(string.lower(v.Name),1,#string) == string.lower(string) then | |
1026 | table.insert(Rtn,v) | |
1027 | end | |
1028 | end | |
1029 | end | |
1030 | return Rtn | |
1031 | end | |
1032 | --[[ Start ]]-- | |
1033 | Start = function() | |
1034 | coroutine.resume(coroutine.create(function() | |
1035 | while wait(1) do | |
1036 | if not Removed and AntiFall then | |
1037 | pcall(function() | |
1038 | if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then | |
1039 | game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0) | |
1040 | end | |
1041 | end) | |
1042 | end | |
1043 | end | |
1044 | end)) | |
1045 | coroutine.resume(coroutine.create(function() | |
1046 | while wait(0.1) do | |
1047 | UpdateTablets() | |
1048 | UpdateTablets2() | |
1049 | end | |
1050 | end)) | |
1051 | OC=LocalPlayer.Chatted:connect(OnChatted) | |
1052 | LocalPlayer.Chatted:connect(OnChatted2) | |
1053 | end | |
1054 | Start() | |
1055 | --[[ Split Function ]]-- | |
1056 | function Split(str) | |
1057 | local res = {} | |
1058 | for s in string.gmatch(str,"[^;]+") do | |
1059 | table.insert(res,s) | |
1060 | end | |
1061 | return res | |
1062 | end | |
1063 | --[[ AddCommand ]]-- | |
1064 | function AddCommand(Name,Command,Func) | |
1065 | Commands[Name] = {Command = Command,Func = Func} | |
1066 | end | |
1067 | --[[ Commands ]]-- | |
1068 | AddCommand('Params','parms', | |
1069 | function(Msg,Speaker) | |
1070 | Output("Speaker: "..tostring(Speaker or "nil"), {Colors.Cyan}, LocalPlayer) | |
1071 | for k,v in pairs(Split(Msg)) do | |
1072 | Output("Arg"..k..": "..tostring(v or "nil"), {Colors.Magenta}, LocalPlayer) | |
1073 | end | |
1074 | end | |
1075 | ) | |
1076 | AddCommand('ForceField','ff', | |
1077 | function(Msg,Speaker) | |
1078 | local a = GetPlayers(Msg,Speaker) | |
1079 | for i,v in pairs(a) do | |
1080 | if v.Character then | |
1081 | Instance.new("ForceField", v.Character).Name = "nilforcefield" | |
1082 | Output2("Gave forcefield to "..v.Name,{Colors.Yellow},LocalPlayer) | |
1083 | end end end | |
1084 | ) | |
1085 | AddCommand('Remove ForceField','unff', | |
1086 | function(Msg,Speaker) | |
1087 | local a = GetPlayers(Msg,Speaker) | |
1088 | for i,v in pairs(a) do | |
1089 | if v.Character then | |
1090 | for i,f in pairs(v.Character:GetChildren()) do | |
1091 | if f.ClassName == "ForceField" then | |
1092 | f:remove() | |
1093 | Output2("Removed ForceField from "..v.Name,{Colors.Yellow},LocalPlayer) | |
1094 | end end end end end | |
1095 | ) | |
1096 | AddCommand("Nil Shout","shout", function(Msg,Speaker) | |
1097 | local tag = Instance.new("StringValue") | |
1098 | tag.Name = "NILSHOUT" | |
1099 | tag.Value = LocalPlayer.Name..": "..Msg | |
1100 | tag.Parent = game.Lighting | |
1101 | wait(1) | |
1102 | tag:Destroy() | |
1103 | end) | |
1104 | AddCommand('Com'..'mands','cm'..'ds', | |
1105 | function(Msg,Speaker) | |
1106 | rtn = {} | |
1107 | for name,Cmd in pairs(Commands) do | |
1108 | table.insert(rtn, name .. ' : ' .. Cmd.Command) | |
1109 | if OutputType then | |
1110 | Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(0,0.6,1)},LocalPlayer) | |
1111 | end | |
1112 | end | |
1113 | if not OutputType then ping(rtn,Colors.Cyan) end | |
1114 | end | |
1115 | ) | |
1116 | AddCommand('Reset Character','char', | |
1117 | function(Msg,Speaker) | |
1118 | LoadCharacter(CFrame.new(0,20,0)) | |
1119 | Wait(1) | |
1120 | OnChatted('Get/Reset',Speaker) | |
1121 | Output2('Got Your Reset,Lord',{Colors.Red},LocalPlayer) | |
1122 | end | |
1123 | ) | |
1124 | AddCommand('Smite','smite', | |
1125 | function(Msg,Speaker) | |
1126 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1127 | local Char = v.Character | |
1128 | local Smite = Instance.new("Part",workspace) | |
1129 | Smite.FormFactor = "Custom" | |
1130 | Smite.TopSurface = "Smooth" | |
1131 | Smite.BottomSurface = "Smooth" | |
1132 | Smite.Anchored = true | |
1133 | Smite.Locked = true | |
1134 | Smite.Size = Vector3.new(25,3,25) | |
1135 | Smite.BrickColor = BrickColor.new("New Yeller") | |
1136 | Smite.Transparency = 1 | |
1137 | Smite.CFrame = Char.Torso.CFrame * CFrame.new(0,-2.5,0) | |
1138 | for i=1,0,-0.05 do | |
1139 | wait() | |
1140 | Smite.Transparency = i | |
1141 | end | |
1142 | coroutine.resume(coroutine.create(function() | |
1143 | for i=0,1,0.05 do | |
1144 | wait() | |
1145 | Smite.Transparency = i | |
1146 | end | |
1147 | Smite:remove() | |
1148 | end)) | |
1149 | wait() | |
1150 | local Expl = Instance.new("Explosion",workspace) | |
1151 | Expl.Position = Smite.Position | |
1152 | Expl.BlastPressure = 1000000000 | |
1153 | ||
1154 | for _,Part in pairs(GetRecursiveChildren(Char)) do | |
1155 | if Part:IsA("BasePart") then | |
1156 | coroutine.resume(coroutine.create(function() | |
1157 | for i=1,10 do | |
1158 | local Sparkles = Instance.new("Sparkles",Part) | |
1159 | Sparkles.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
1160 | local Fire = Instance.new("Fire",Part) | |
1161 | Fire.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
1162 | Fire.SecondaryColor = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
1163 | end | |
1164 | Part:BreakJoints() | |
1165 | local BP = Instance.new("BodyPosition",Part) | |
1166 | BP.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1167 | BP.P = 1000 | |
1168 | BP.position = Part.Position + Vector3.new( | |
1169 | math.random(-100,100), | |
1170 | 100, | |
1171 | math.random(-100,100)) | |
1172 | wait(3) | |
1173 | local Expl = Instance.new("Explosion",workspace) | |
1174 | Expl.Position = Part.Position | |
1175 | Expl.BlastPressure = 1000000000 | |
1176 | end)) | |
1177 | end | |
1178 | end | |
1179 | end | |
1180 | end | |
1181 | ) | |
1182 | AddCommand('Anti Kill','antikill', | |
1183 | function(Msg,Speaker) | |
1184 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1185 | Delay(0, function() | |
1186 | local player = v | |
1187 | local pos = CFrame.new() | |
1188 | local pause = false | |
1189 | Delay(0, function() | |
1190 | while not close do | |
1191 | wait() | |
1192 | if not pause then | |
1193 | local c = player.Character | |
1194 | if c then | |
1195 | local t = c:findFirstChild("Torso") | |
1196 | if t then | |
1197 | pos = t.CFrame | |
1198 | end | |
1199 | end | |
1200 | end | |
1201 | end | |
1202 | end) | |
1203 | player.CharacterAdded:connect(function(c) | |
1204 | if not close |