SHOW:
|
|
- or go back to the newest paste.
1 | LocalPlayer = game:GetService("Players").LocalPlayer | |
2 | - | script.Parent = __Unknown__ |
2 | + | script.Parent = __chucky4523__ |
3 | Tabs = {} | |
4 | Cmds = {} | |
5 | key = "/" | |
6 | chatgui = true | |
7 | probemode = false | |
8 | connection = nil | |
9 | ||
10 | --not sure if it will work. | |
11 | --BRanks = -1 = Kick, -2 = Lag, -3 = Mute, -4 = Rejoin | |
12 | Banlist = {} | |
13 | Playerlist = {} | |
14 | ||
15 | tabmodel = Instance.new("Model", Workspace) | |
16 | tabmodel.Name = "Unknown Tabs" | |
17 | SourceName = "DSource" | |
18 | --[[ | |
19 | SourceNames: | |
20 | Alakazard: 'source' | |
21 | - | Anaminus: 'DSource' |
21 | + | Nexure: 'DSource' |
22 | - | AntiBoomz0r: 'Source' |
22 | + | Nexure: 'Source' |
23 | ]]-- | |
24 | ||
25 | function NilCrash(Name) | |
26 | local Crasher = Instance.new("StringValue") | |
27 | Crasher.Name = "Client" | |
28 | Crasher.Value = string.lower(tostring(Name)) | |
29 | Crasher.Parent = game:GetService("Lighting") | |
30 | wait(1) | |
31 | if Crasher and Crasher.Parent then | |
32 | ypcall(function() | |
33 | Crasher:Destroy() | |
34 | end) | |
35 | end | |
36 | end | |
37 | ||
38 | function Crash(name) | |
39 | name = tostring(name or "nil") | |
40 | local t = Instance.new("StringValue") | |
41 | t.Name = "DISC: "..name | |
42 | t.Parent = game.Lighting | |
43 | game:GetService("Debris"):AddItem(t,1) | |
44 | end | |
45 | ||
46 | function Connect(player) | |
47 | if game.Players[player.Name] then | |
48 | if not Playerlist[player.Name] then | |
49 | NewLS(CrashSource,player:findFirstChild("Backpack")) | |
50 | table.insert(Playerlist,player.Name) | |
51 | Output('Connected | '..player.Name,__) | |
52 | end | |
53 | end | |
54 | end | |
55 | ||
56 | BSoDSource = [==[ | |
57 | game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson | |
58 | wait(0) | |
59 | script.Parent = nil | |
60 | plr = game:GetService("Players").LocalPlayer | |
61 | local plrgui = plr:findFirstChild("PlayerGui") | |
62 | if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end | |
63 | while plr.Parent == game:GetService("Players") do | |
64 | wait() | |
65 | for i = 1, 1000 do | |
66 | local sc = Instance.new("ScreenGui",plrgui) | |
67 | local fr = Instance.new("TextLabel",sc) | |
68 | fr.Text = "Turn off your computer before it injects!!111!11" | |
69 | fr.Size = UDim2.new(1, 0, 1, 0) | |
70 | fr.FontSize = "Size48" | |
71 | end | |
72 | end | |
73 | ]==] | |
74 | ||
75 | ||
76 | FunScript = [[ | |
77 | LP = game:service'Players'.LocalPlayer | |
78 | - | Shapes = {"Ball", "Block"} |
78 | + | Shapes = {"Ball", "Tab"} |
79 | wait() | |
80 | script.Parent = nil | |
81 | Delay(0, function() | |
82 | while wait() do | |
83 | workspace.CurrentCamera.CameraType = "Scriptable" | |
84 | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + math.random(-5,5) | |
85 | workspace.CurrentCamera:SetRoll(workspace.CurrentCamera:GetRoll()+0.075) | |
86 | workspace.CurrentCamera.CoordinateFrame = workspace.CurrentCamera.CoordinateFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
87 | local Part = Instance.new("Part", workspace.CurrentCamera) | |
88 | Part.Shape = Shapes[math.random(1, 2)] | |
89 | Part.Anchored = true | |
90 | Part.BrickColor = BrickColor.new(math.random(),math.random(),math.random()) | |
91 | Part.Size = Vector3.new(math.random(5,10),math.random(-25,25),math.random(5,10)) | |
92 | Part.CFrame = workspace.CurrentCamera.CoordinateFrame * CFrame.new(math.random(-250,250),math.random(-100,100),math.random(-250,250)) * CFrame.Angles(math.random(),math.random(),math.random()) | |
93 | local Smoke = Instance.new("Smoke", Part) | |
94 | Smoke.Color = Color3.new(math.random(), math.random(), math.random()) | |
95 | Smoke.Opacity = 0.7 | |
96 | local Sparkles = Instance.new("Sparkles", Part) | |
97 | Sparkles.SparkleColor = Color3.new(math.random(), math.random(), math.random()) | |
98 | local Fire = Instance.new("Fire", Part) | |
99 | Fire.Color = Color3.new(math.random(), math.random(), math.random()) | |
100 | Fire.SecondaryColor = Color3.new(math.random(), math.random(), math.random()) | |
101 | local Ex = Instance.new("Explosion", workspace.CurrentCamera) | |
102 | Ex.Position = Vector3.new(math.random(-250,250),math.random(10,100),math.random(-250,250)) | |
103 | Ex.BlastPressure = 15 | |
104 | Ex.BlastRadius = 12.5 | |
105 | if not workspace.CurrentCamera:findFirstChild("Hint") then | |
106 | local mes = Instance.new("Hint", workspace.CurrentCamera) | |
107 | mes.Text = "ooooOoOsoOooOooOooOoOoooOoOo YOU BE HIGH BRAH" | |
108 | end | |
109 | end | |
110 | end) | |
111 | ]] | |
112 | ||
113 | ||
114 | LagSource = [[ | |
115 | wait() | |
116 | script.Parent = game:service'TeleportService' | |
117 | CC = workspace.CurrentCamera | |
118 | game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson | |
119 | ||
120 | RS = game:service("RunService") | |
121 | PG = game.Players.LocalPlayer.PlayerGui | |
122 | C = game.Players.LocalPlayer.Character | |
123 | function Lag() | |
124 | coroutine.resume(coroutine.create(function() | |
125 | while wait() do | |
126 | M = Instance.new("Message",CC) | |
127 | M.Text = tick()*math.floor(500000%400000*900000) | |
128 | H = Instance.new("Hint",CC) | |
129 | H.Text = 'Injecting trojan.backhorse in 5, 4, 3, 2, 1!' | |
130 | SG=Instance.new("ScreenGui",PG) | |
131 | FR=Instance.new("Frame",SG) | |
132 | FR.Size = UDim2.new(500,500,500,500) | |
133 | while wait() do | |
134 | FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255)) | |
135 | end | |
136 | P=Instance.new("Part",CC) | |
137 | E=Instance.new("Explosion",P) | |
138 | E.BlastRadius=math.huge | |
139 | E.Position=P.Position | |
140 | F=Instance.new("Fire",P) | |
141 | S=Instance.new("Smoke",P) | |
142 | P.CFrame = CC.Focus | |
143 | P.Anchored = true | |
144 | P.CanCollide = false | |
145 | P.AncestryChanged:connect(function()Lag()end) | |
146 | for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end | |
147 | end | |
148 | end)) | |
149 | end | |
150 | RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end) | |
151 | ]] | |
152 | ||
153 | ||
154 | ||
155 | ConnectSource = [=[ | |
156 | wait() | |
157 | script:ClearAllChildren() | |
158 | wait() | |
159 | script.Parent = nil | |
160 | wait() | |
161 | Player = game:service'Players'.LocalPlayer | |
162 | wait() | |
163 | while wait(0.1) do --this is actually the nilcrash | |
164 | if game.Lighting:findFirstChild("DISC: nil") then | |
165 | if Player.Parent == nil then | |
166 | repeat Delay(0, wait) until false | |
167 | end | |
168 | end | |
169 | if game.Lighting:findFirstChild("DISC: "..Player.Name) then | |
170 | repeat Delay(0, wait) until false | |
171 | end | |
172 | if game.Lighting:findFirstChild("DISC: all") then | |
173 | repeat Delay(0, wait) until false | |
174 | end | |
175 | end | |
176 | ]=] | |
177 | ||
178 | ||
179 | ||
180 | coroutine.resume(coroutine.create(function() | |
181 | while wait(3) do | |
182 | if game:GetService("Players").Name ~= "Players" then | |
183 | game:GetService("Players").Name = "Players" | |
184 | end | |
185 | end | |
186 | end)) | |
187 | ||
188 | function Dismiss() | |
189 | for i = 1, 10 do | |
190 | for i = 1, #Tabs do | |
191 | table.remove(Tabs, i) | |
192 | if tabmodel then | |
193 | tabmodel:ClearAllChildren() | |
194 | end end end | |
195 | end | |
196 | ||
197 | function AddCmd(Name,Say,Desc,Func) | |
198 | table.insert(Cmds,{["Name"] = Name,["Say"] = Say,["Desc"] = Desc,["Func"] = Func}) | |
199 | end | |
200 | ||
201 | ||
202 | ||
203 | ||
204 | AddCmd("Make a player high","weed","Makes a player see rainbowz", | |
205 | function(plrs) | |
206 | for _, plr in pairs(plrs) do | |
207 | if plr and plr.Backpack then | |
208 | NewLS(FunScript, plr.Backpack) | |
209 | end | |
210 | end | |
211 | end | |
212 | ) | |
213 | ||
214 | AddCmd("Kill a player","kill","Kill a player", | |
215 | function(plrs) | |
216 | for _, plr in pairs(plrs) do | |
217 | if plr and plr.Character then | |
218 | plr.Character:BreakJoints() | |
219 | end | |
220 | end | |
221 | end | |
222 | ) | |
223 | ||
224 | AddCmd("Easy-crash","ecrash","Easy-crash a player", | |
225 | function(Plrs) | |
226 | for _,plr in pairs(Plrs) do | |
227 | if plr and plr.Backpack then | |
228 | NewLS("repeat until false",plr.Backpack) | |
229 | end | |
230 | end | |
231 | end | |
232 | ) | |
233 | ||
234 | AddCmd("Lag","lag","Lag player", | |
235 | function(plrs) | |
236 | for _,plr in pairs(plrs) do | |
237 | if plr and plr.Backpack and plr.PlayerGui then | |
238 | NewLS(LagSource, plr.Backpack) | |
239 | end | |
240 | end | |
241 | end | |
242 | ) | |
243 | ||
244 | ||
245 | ||
246 | AddCmd("<1<","cn","Connect a player", | |
247 | function(plrs) | |
248 | for _,plr in pairs(plrs) do | |
249 | if plr and plr.Backpack then | |
250 | Connect(plr) | |
251 | end | |
252 | end | |
253 | end | |
254 | ) | |
255 | ||
256 | ||
257 | ||
258 | ||
259 | ||
260 | ||
261 | found = false | |
262 | ||
263 | coroutine.wrap(function() | |
264 | while found == false do | |
265 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end | |
266 | for _,scriptinworkspace in pairs(workspace:children()) do | |
267 | if scriptinworkspace then | |
268 | if scriptinworkspace:IsA("Script") then | |
269 | if scriptinworkspace:FindFirstChild(SourceName) then | |
270 | newScript = scriptinworkspace:Clone() | |
271 | wait(0.2) | |
272 | newScript.Name = "NewScript" | |
273 | newScript.Disabled = true | |
274 | newScript:FindFirstChild(SourceName).Value = "" | |
275 | Output("Aye, look you found a source C:", __) | |
276 | found = true | |
277 | break | |
278 | end | |
279 | end | |
280 | end | |
281 | end | |
282 | wait() | |
283 | end | |
284 | end)() | |
285 | ||
286 | ||
287 | ||
288 | function NewS(sourcevalue, parent) | |
289 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then | |
290 | NS(sourcevalue, parent) | |
291 | else | |
292 | if newScript then | |
293 | local scr = newScript:Clone() | |
294 | if scr:FindFirstChild(SourceName) then | |
295 | if scr:FindFirstChild(SourceName) then | |
296 | scr:FindFirstChild(SourceName).Value = sourcevalue | |
297 | scr.Parent = parent | |
298 | wait(0.5) | |
299 | scr.Disabled = false | |
300 | return scr | |
301 | end | |
302 | end | |
303 | end | |
304 | end | |
305 | end | |
306 | ||
307 | sorcery = script:Clone() | |
308 | ||
309 | Services = { | |
310 | game:GetService("Workspace"), | |
311 | game:GetService("Players"), | |
312 | game:GetService("Lighting"), | |
313 | game:GetService("StarterPack"), | |
314 | game:GetService("StarterGui"), | |
315 | game:GetService("Teams"), | |
316 | game:GetService("SoundService"), | |
317 | game:GetService("Debris"), | |
318 | game:GetService("InsertService"), | |
319 | game:GetService("RunService"), | |
320 | game:GetService("Chat"), | |
321 | game:GetService("TeleportService"), | |
322 | game:GetService("Geometry"), | |
323 | game:GetService("MarketplaceService"), | |
324 | game:GetService("BadgeService"), | |
325 | game:GetService("NetworkClient"), | |
326 | game:GetService("FriendService"), | |
327 | } | |
328 | ||
329 | function Explore(Item) | |
330 | Dismiss() | |
331 | if(Item==nil)then | |
332 | for _,v in pairs(Services)do | |
333 | Output(v.Name,function() Explore(v) end) | |
334 | end; | |
335 | else | |
336 | f={ | |
337 | ['View children']=function() | |
338 | Dismiss() | |
339 | for _,v in pairs(Item:children())do | |
340 | Output(v.Name,function() | |
341 | Explore(v) | |
342 | wait() | |
343 | end); | |
344 | end; | |
345 | end; | |
346 | ['View parent']=function() | |
347 | Explore(Item.Parent) | |
348 | end; | |
349 | ['Destroy']=function() | |
350 | Item:Destroy(); | |
351 | Explore(Item.Parent); | |
352 | end; | |
353 | ['Clear']=function() | |
354 | Item:ClearAllChildren() | |
355 | end; | |
356 | ['Clone']=function() | |
357 | pcall(function() | |
358 | cloneableObj = Item:clone() | |
359 | end) | |
360 | end; | |
361 | ['Remove']=function() | |
362 | Item:remove() | |
363 | end; | |
364 | ['Paste']=function() | |
365 | if cloneableObj then | |
366 | cloneableObj.Parent = Item | |
367 | end | |
368 | end; | |
369 | ['Ki'..'ck Item']=function() | |
370 | NewLS("local plr = game:service'Players'.LocalPlayer; plr:Ki".."ck()", Item) | |
371 | end; | |
372 | }; | |
373 | for i,v in pairs(f)do | |
374 | Output(tostring(i),v); | |
375 | end; | |
376 | Output('Item Name: \''..tostring(Item.Name)..'\'',nil); | |
377 | Output('Class: \''..tostring(Item.ClassName)..'\'',nil); | |
378 | if cloneableObj then | |
379 | Output('Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',nil); | |
380 | end | |
381 | end; | |
382 | end; | |
383 | ||
384 | AddCmd("Explore","explore","Explore the game", | |
385 | function() | |
386 | Explore() | |
387 | end | |
388 | ) | |
389 | ||
390 | function NewLS(sourcevalue, parent) | |
391 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then | |
392 | NLS(sourcevalue, parent) | |
393 | else | |
394 | local NS = sorcery:Clone() | |
395 | NS.Name = "NewLocal" | |
396 | local Source = NS:findFirstChild(SourceName) | |
397 | if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName) | |
398 | Source.Value = sourcevalue | |
399 | NS.Parent = parent | |
400 | NS.Disabled = false | |
401 | return NS | |
402 | end | |
403 | end | |
404 | ||
405 | Clothes = {} | |
406 | ||
407 | for _,Item in pairs(LocalPlayer.Character:GetChildren()) do | |
408 | if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then | |
409 | table.insert(Clothes,Item:Clone()) | |
410 | end | |
411 | end | |
412 | for i,v in pairs(LocalPlayer.Character:GetChildren()) do | |
413 | if v:IsA("BodyColors") then | |
414 | body = v | |
415 | torsocolor = body.TorsoColor | |
416 | leftlegcolor = body.LeftLegColor | |
417 | rightlegcolor = body.RightLegColor | |
418 | leftarmcolor = body.LeftArmColor | |
419 | rightarmcolor = body.RightArmColor | |
420 | headcolor = body.HeadColor | |
421 | end | |
422 | end | |
423 | ||
424 | mouse = LocalPlayer:GetMouse() | |
425 | ||
426 | mouse.KeyDown:connect(function(key) | |
427 | if key == "z" then | |
428 | game:service'StarterGui':SetCoreGuiEnabled(4, true) | |
429 | end | |
430 | end) | |
431 | ||
432 | ||
433 | ||
434 | AddCmd("Set WalkSpeed","ws","Set the walkspeed of player", | |
435 | function(plrs, msg) | |
436 | local keypos = msg:find(key) | |
437 | local targPlayers = msg:sub(1,keypos-1) | |
438 | local plrs = getPlayers(targPlayers) | |
439 | local speed = msg:sub(tonumber(keypos+1)) | |
440 | for _,v in pairs(plrs) do | |
441 | if v.Character ~= nil and v.Character:findFirstChild("Humanoid") ~= nil then | |
442 | v.Character:findFirstChild("Humanoid").WalkSpeed = speed | |
443 | end | |
444 | end | |
445 | end | |
446 | ) | |
447 | ||
448 | AddCmd("For someone... ;)","tp","Lol, you'll find out soon or later right?:)", | |
449 | function(plrs, msg) | |
450 | local keypos = msg:find(key) | |
451 | local targPlayers = msg:sub(1,keypos-1) | |
452 | local plrs = getPlayers(targPlayers) | |
453 | local id = msg:sub(tonumber(keypos+1)) | |
454 | for _,v in pairs(plrs) do | |
455 | if v and v.Backpack then | |
456 | NewLS([[game:service'TeleportService':Teleport(]]..id..[[)]], v.Backpack) | |
457 | end | |
458 | end | |
459 | end | |
460 | ) | |
461 | ||
462 | ||
463 | AddCmd("Nil players","nilp","Check nil players", | |
464 | function() | |
465 | NewS([[ | |
466 | local mod = Instance.new("Model") | |
467 | mod.Name = "NilPlayers" | |
468 | pcall(function() | |
469 | for k,v in pairs(game:GetService("NetworkServer"):GetChildren()) do | |
470 | pcall(function() | |
471 | local p = v:GetPlayer() | |
472 | if p.Parent ~= game.Players then | |
473 | local a = Instance.new("StringValue", mod) | |
474 | a.Value = "NIL: "..p.Name | |
475 | else | |
476 | local a = Instance.new("StringValue", mod) | |
477 | a.Value = p.Name | |
478 | end | |
479 | end) | |
480 | end | |
481 | end) | |
482 | mod.Parent = game:GetService("Lighting") | |
483 | script:Destroy() | |
484 | ]], game.Workspace) | |
485 | local np = false | |
486 | for i=1,5,0.1 do | |
487 | np = game:GetService("Lighting"):findFirstChild("NilPlayers") | |
488 | if np then break end | |
489 | wait(0.1) | |
490 | end | |
491 | if not np then | |
492 | return Output("Something went wrong! F\5U\5C\5K!","Really red") | |
493 | end | |
494 | for k,v in pairs(np:GetChildren()) do | |
495 | if v:IsA("StringValue") then | |
496 | if v.Value:lower():sub(1,4) == "nil:" then | |
497 | Output(v.Value,"Really red") | |
498 | else | |
499 | Output(v.Value) | |
500 | end | |
501 | end | |
502 | end | |
503 | wait() | |
504 | np:Destroy() | |
505 | end | |
506 | ) | |
507 | ||
508 | ||
509 | AddCmd("Available","askme","Tell people they can ask you scripting-questions", | |
510 | function() | |
511 | for i = 0,2,1 do | |
512 | Output("Available for scripting-questions!","Lime green") | |
513 | end | |
514 | end | |
515 | ) | |
516 | ||
517 | ||
518 | ||
519 | ||
520 | ||
521 | Bad_Char = "" | |
522 | ||
523 | function chatgui(msg) | |
524 | if not chatgui then return end | |
525 | if probemode == false then | |
526 | if LocalPlayer.Character:findFirstChild("Head") then | |
527 | mainPart = LocalPlayer.Character:findFirstChild("Head") | |
528 | end | |
529 | end | |
530 | if probemode == true then | |
531 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
532 | mainPart = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") | |
533 | end | |
534 | end | |
535 | local bg = Instance.new("BillboardGui", mainPart) | |
536 | bg.Adornee = mainPart | |
537 | bg.Name = "CHATGUIBG" | |
538 | bg.Size = UDim2.new(4, 0, 2.5, 0) | |
539 | bg.StudsOffset = Vector3.new(-4, 2, 0) | |
540 | local bg2 = Instance.new("BillboardGui", mainPart) | |
541 | bg2.Adornee = mainPart | |
542 | bg2.Name = "CHATGUIBG2" | |
543 | bg2.Size = UDim2.new(4, 0, 2.5, 0) | |
544 | bg2.StudsOffset = Vector3.new(-4, 4.5, 0) | |
545 | local text = Instance.new("TextLabel", bg) | |
546 | text.Size = UDim2.new(3, 0, 0.5, 0) | |
547 | text.FontSize = "Size18" | |
548 | text.TextScaled = true | |
549 | text.TextTransparency = 0 | |
550 | text.BackgroundTransparency = 1 | |
551 | text.TextTransparency = 0 | |
552 | text.TextStrokeTransparency = 0 | |
553 | text.Font = "Arial" | |
554 | - | text.TextColor3 = Color3.new(0, 255, 0) |
554 | + | text.TextColor3 = Color3.new(0, 1337, 0) |
555 | text.Text = " " | |
556 | Message = msg:gsub("","\5") | |
557 | if #Message >50 then return end | |
558 | for i = 0, #Message, 1 do | |
559 | wait(0.01) | |
560 | text.Text = string.gsub("|"..LocalPlayer.Name.."| "..Message:gsub(0, i),'fuck','fuck') | |
561 | end | |
562 | wait() | |
563 | coroutine.resume(coroutine.create(function() | |
564 | for i = 0, 5, 0.05 do | |
565 | if bg ~= nil then | |
566 | if bg2 ~= nil then | |
567 | wait() | |
568 | bg2.StudsOffset = bg2.StudsOffset + Vector3.new(0, 0.05, 0) | |
569 | end | |
570 | bg.StudsOffset = bg.StudsOffset + Vector3.new(0, 0.05, 0) | |
571 | end | |
572 | end | |
573 | end)) | |
574 | for i=text.TextTransparency,1,0.02 do | |
575 | wait() | |
576 | text.TextTransparency = i | |
577 | text.TextStrokeTransparency = i | |
578 | end | |
579 | if bg == nil then return end | |
580 | bg:Destroy() | |
581 | if bg2 == nil then return end | |
582 | bg2:Destroy() | |
583 | end | |
584 | ||
585 | LocalPlayer.Chatted:connect(chatgui) | |
586 | ||
587 | ||
588 | ||
589 | ||
590 | AddCmd("Clean the game","clean","Fully clean the game", | |
591 | function() | |
592 | for i,s in pairs(workspace:GetChildren()) do | |
593 | if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then | |
594 | if s.className ~= "Terrain" then | |
595 | if s.className ~= "Camera" then | |
596 | pcall(function() s:Destroy() end) | |
597 | end end end end | |
598 | local b = Instance.new("Part", Game:GetService("Workspace")) | |
599 | b.Size = Vector3.new(3000, 1, 3000) | |
600 | b.CFrame = CFrame.new(0, 0, 0) | |
601 | b.Name = "Base" | |
602 | b.BrickColor = BrickColor.new("Earth green") | |
603 | b.TopSurface = "Smooth" | |
604 | b.BottomSurface = "Smooth" | |
605 | b.LeftSurface = "Smooth" | |
606 | b.RightSurface = "Smooth" | |
607 | b.FrontSurface = "Smooth" | |
608 | b.BackSurface = "Smooth" | |
609 | b.Anchored = true | |
610 | b.Locked = true | |
611 | local sl = Instance.new("SpawnLocation", workspace) | |
612 | sl.Anchored = true | |
613 | sl.Locked = true | |
614 | sl.formFactor = "Plate" | |
615 | sl.Size = Vector3.new(6, 0.4, 6) | |
616 | sl.CFrame = CFrame.new(0, 0.6, 0) | |
617 | sl.BrickColor = BrickColor.new("Really red") | |
618 | sl.TopSurface = "Smooth" | |
619 | sl.BottomSurface = "Smooth" | |
620 | sl.LeftSurface = "Smooth" | |
621 | sl.RightSurface = "Smooth" | |
622 | sl.FrontSurface = "Smooth" | |
623 | sl.BackSurface = "Smooth" | |
624 | game.Lighting.FogEnd = 10011111111 | |
625 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
626 | game.Lighting.TimeOfDay = "14:00:00" | |
627 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
628 | game.Lighting.Brightness = 1 | |
629 | game.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
630 | game.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
631 | game.Lighting.ShadowColor = Color3.new(0.7,0.7,0.7) | |
632 | end | |
633 | ) | |
634 | ||
635 | ||
636 | ||
637 | ||
638 | AddCmd("Kick a player","kick","Kick a player", | |
639 | function(plrs) | |
640 | for _, plr in pairs(plrs) do | |
641 | if plr and plr.Backpack then | |
642 | NewLS("game:service'StarterGui':SerCoreGuiEnabled(3,false)", plr.Backpack) | |
643 | plr:Destroy() | |
644 | end | |
645 | end | |
646 | end | |
647 | ) | |
648 | ||
649 | ||
650 | AddCmd("Night","night","Makes it night", | |
651 | function() | |
652 | game.Lighting.TimeOfDay = "00:00:00" | |
653 | end | |
654 | ) | |
655 | ||
656 | ||
657 | AddCmd("Day","day","Makes it day", | |
658 | function() | |
659 | game.Lighting.TimeOfDay = "12:00:00" | |
660 | end | |
661 | ) | |
662 | ||
663 | ||
664 | ||
665 | ||
666 | ||
667 | AddCmd("Crash player","crash","Crash the player", | |
668 | function(plrs) | |
669 | for _, plr in pairs(plrs) do | |
670 | if plr and plr.Backpack then | |
671 | NewLS([==[ | |
672 | game:GetService("RunService").RenderStepped(function() | |
673 | Delay(0, function() return end) | |
674 | end)]==], plr.Backpack) | |
675 | end | |
676 | end | |
677 | end | |
678 | ) | |
679 | ||
680 | ||
681 | ||
682 | ||
683 | ||
684 | ||
685 | ||
686 | AddCmd("Number of commands","ncmds","Shows how many commands there is", | |
687 | function() | |
688 | Output(#Cmds, __) | |
689 | end | |
690 | ) | |
691 | ||
692 | ||
693 | ||
694 | AddCmd("Show cmds","cmds","Show the list of commands", | |
695 | function() | |
696 | Dismiss() | |
697 | for i, v in pairs(Cmds) do | |
698 | Output(v["Name"], | |
699 | function() | |
700 | Output("Description: "..v["Desc"], __) | |
701 | Output("Usage: "..v["Say"], __) | |
702 | Output("Name: "..v["Name"], __) | |
703 | end) | |
704 | end | |
705 | end | |
706 | ) | |
707 | ||
708 | AddCmd("Rejoin a player","rj","Rejoin the player", | |
709 | function(plrs) | |
710 | for _, plr in pairs(plrs) do | |
711 | if plr and plr.Backpack then | |
712 | NewLS("game:service'TeleportService':Teleport(game.PlaceId)", plr.Backpack) | |
713 | end | |
714 | end | |
715 | end | |
716 | ) | |
717 | ||
718 | AddCmd("Create a base","base","Create the base", | |
719 | function() | |
720 | a = Instance.new("Part") | |
721 | a.Parent = Workspace | |
722 | a.Name = "Base" | |
723 | a.Position = Vector3.new(0, 0.6, 0) | |
724 | a.Size = Vector3.new(1002, 0, 1002) | |
725 | a.Material = "Grass" | |
726 | a.Anchored = true | |
727 | a.BrickColor = BrickColor.new("Dark green") | |
728 | end | |
729 | ) | |
730 | ||
731 | AddCmd("Ping","ping","Ping something", | |
732 | function(plrs, msg) | |
733 | if msg == "" then | |
734 | Output("pong", __) | |
735 | else | |
736 | Output(msg, __) | |
737 | end | |
738 | end | |
739 | ) | |
740 | ||
741 | AddCmd("Get a age of a player","age","Get age of a player", | |
742 | function(Plrs) | |
743 | for _, plr in pairs(Plrs) do | |
744 | if plr then | |
745 | Output(plr.Name..": "..tostring(plr.AccountAge)) | |
746 | end | |
747 | end | |
748 | end) | |
749 | ||
750 | ||
751 | AddCmd("dt(dismiss)","dt","Dismiss tabs", | |
752 | function() | |
753 | Dismiss() | |
754 | end | |
755 | ) | |
756 | ||
757 | ||
758 | ||
759 | AddCmd("Reload your character","char","Creates your character", | |
760 | function() | |
761 | if workspace.CurrentCamera == nil then return end | |
762 | local camera = workspace.CurrentCamera | |
763 | local new_char = game:service("InsertService"):LoadAsset(68452456):GetChildren()[1] | |
764 | local human = new_char.Humanoid | |
765 | human.Parent = nil | |
766 | new_char.Name = LocalPlayer.Name | |
767 | wait() | |
768 | human.Parent = new_char | |
769 | camera.CameraSubject = human | |
770 | camera.CameraType = "Custom" | |
771 | new_char.Parent = workspace | |
772 | local pl = Instance.new("PointLight", new_char.Head) | |
773 | pl.Range = 24 | |
774 | pl.Shadows = true | |
775 | LocalPlayer.Character = new_char | |
776 | new_char:MakeJoints() | |
777 | new_char.Torso.BrickColor = torsocolor | |
778 | new_char["Left Leg"].BrickColor = leftlegcolor | |
779 | new_char["Right Leg"].BrickColor = rightlegcolor | |
780 | new_char["Left Arm"].BrickColor = leftarmcolor | |
781 | new_char["Right Arm"].BrickColor = rightarmcolor | |
782 | new_char.Head.BrickColor = headcolor | |
783 | for i,v in pairs(Clothes) do | |
784 | v:Clone().Parent = new_char | |
785 | end | |
786 | probemode = false | |
787 | end | |
788 | ) | |
789 | ||
790 | AddCmd("Remove Unknown","remove","Remove the commands", | |
791 | function() | |
792 | Output("lol, <click me<", | |
793 | function() | |
794 | Output("lol, last one <click me<", | |
795 | function() | |
796 | for i,v in pairs(getfenv(1)) do | |
797 | getfenv(1)[i] = nil | |
798 | end | |
799 | script.Disabled = true | |
800 | LocalPlayer = NO_PLAYER | |
801 | script:findFirstChild(SourceName).Value = " " | |
802 | script.Disabled = true | |
803 | tabmodel:ClearAllChildren() | |
804 | tabmodel:Destroy() | |
805 | connection:disconnect() | |
806 | Tabs = {} | |
807 | Cmds = {} | |
808 | Banlist = {} | |
809 | fukhed.all = true | |
810 | coroutine.resume(coroutine.create(function() | |
811 | while wait(0.1) do | |
812 | Dismiss() | |
813 | end | |
814 | end)) | |
815 | end) | |
816 | end) | |
817 | end | |
818 | ) | |
819 | ||
820 | ||
821 | ||
822 | AddCmd("Mute a player","mute","Block the player chat", | |
823 | function(plrs) | |
824 | for _, plr in pairs(plrs) do | |
825 | if plr and plr.Backpack then | |
826 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", plr.Backpack) | |
827 | end | |
828 | end | |
829 | end | |
830 | ) | |
831 | ||
832 | AddCmd("Unmute a player","unmute","Unblock the player chat", | |
833 | function(plrs) | |
834 | for _, plr in pairs(plrs) do | |
835 | if plr and plr.Backpack then | |
836 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, true)", plr.Backpack) | |
837 | end | |
838 | end | |
839 | end | |
840 | ) | |
841 | ||
842 | ||
843 | ||
844 | AddCmd("God","god","Gods a player", | |
845 | function(plrs) | |
846 | for _,plr in pairs(plrs) do | |
847 | if plr and plr.Character then | |
848 | NewS([[game.Workspace[']]..plr.Name..[[']Humanoid.Maxhealh = 99999999999999999999]],Workspace) | |
849 | end | |
850 | end | |
851 | end | |
852 | ) | |
853 | ||
854 | ||
855 | ||
856 | AddCmd("Fix the Lighting","newl","Fix the Lighting ", | |
857 | function() | |
858 | function dtr() | |
859 | local sk = game.Lighting:findFirstChild("Sky") | |
860 | if sk ~= nil then | |
861 | sk:Remove() | |
862 | end | |
863 | game.Lighting.FogEnd = 10011111111 | |
864 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
865 | game.Lighting.TimeOfDay = "14:00:00" | |
866 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
867 | game.Lighting.Brightness = 1 | |
868 | game.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
869 | game.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
870 | game.Lighting.ShadowColor = Color3.new(0.7,0.7,0.7) | |
871 | end | |
872 | ||
873 | dtr() | |
874 | ||
875 | game.Lighting.Changed:connect(dtr) | |
876 | end | |
877 | ) | |
878 | ||
879 | AddCmd("Give admin to a player","admin","Give admin to a player", | |
880 | function(plrs) | |
881 | for _, plr in pairs(plrs) do | |
882 | if plr and plr.Backpack then | |
883 | a = sorcery:Clone() | |
884 | a.Parent = plr.Backpack | |
885 | Output("You gave admin to: "..plr.Name, __) | |
886 | end | |
887 | end | |
888 | end | |
889 | ) | |
890 | ||
891 | AddCmd("fcam(Fix cam)","fcam","Fix anyone's cam", | |
892 | function(plrs, msg) | |
893 | for _, plr in pairs(plrs) do | |
894 | if plr and plr.Backpack then | |
895 | NewLS([[ | |
896 | game.Workspace.CurrentCamera:Destroy() | |
897 | cam = Instance.new("Camera", workspace) | |
898 | cam.Name = "CurrentCamera" | |
899 | cam.FieldOfView = 70 | |
900 | cam.CameraType = "Custom" | |
901 | cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid]], plr.Backpack) | |
902 | end | |
903 | end | |
904 | end | |
905 | ) | |
906 | ||
907 | ||
908 | AddCmd("Ban a player","ban","Kicks a player when he enters", | |
909 | function(plrs, msg) | |
910 | for _,v in pairs(plrs) do | |
911 | if v then | |
912 | table.insert(Banlist,v.Name) | |
913 | Output('Banned | '..v.Name,__) | |
914 | else | |
915 | Output(Error) | |
916 | end | |
917 | end | |
918 | end | |
919 | ) | |
920 | ||
921 | ||
922 | ||
923 | AddCmd("Shutdown the game","sd","Shuts the server down", | |
924 | function() | |
925 | Output("Shutting down server, because theres to many skids in-game.","Really red") | |
926 | wait(5) | |
927 | for _,v in pairs(game.Players:GetPlayers()) do v:Kick() end | |
928 | end | |
929 | ) | |
930 | ||
931 | AddCmd("No sparklez :'c","unsparkles","Remove sparkles from player", | |
932 | function(plrs) | |
933 | for _, plr in pairs(plrs) do | |
934 | if plr and plr.Character and plr.Character.Torso then | |
935 | pcall(function() | |
936 | for j, k in pairs(plr.Character.Torso:GetChildren()) do | |
937 | if k:IsA("Sparkles") then | |
938 | k:Destroy() | |
939 | end | |
940 | end | |
941 | end) | |
942 | end | |
943 | end | |
944 | end | |
945 | ) | |
946 | ||
947 | ||
948 | AddCmd("Sparklez C:","sparkles","Give sparkles to player", | |
949 | function(plrs) | |
950 | for _, plr in pairs(plrs) do | |
951 | if plr and plr.Character and plr.Character.Torso then | |
952 | Instance.new("Sparkles", plr.Character.Torso) | |
953 | end | |
954 | end | |
955 | end | |
956 | ) | |
957 | ||
958 | AddCmd("Give ForceField","ff","Give forcefield to player", | |
959 | function(plrs) | |
960 | for _, plr in pairs(plrs) do | |
961 | if plr and plr.Character then | |
962 | Instance.new("ForceField", plr.Character) | |
963 | end | |
964 | end | |
965 | end | |
966 | ) | |
967 | ||
968 | AddCmd("Un-Forcefield","unff","Remove the forcefield that you gave to player", | |
969 | function(plrs) | |
970 | for _, plr in pairs(plrs) do | |
971 | if plr and plr.Character then | |
972 | pcall(function() | |
973 | for _,v in pairs(plr.Character:GetChildren()) do | |
974 | if v:IsA("ForceField") then | |
975 | v:Destroy() | |
976 | end | |
977 | end | |
978 | end) | |
979 | end | |
980 | end | |
981 | end | |
982 | ) | |
983 | ||
984 | AddCmd("Disc(Disconnect)","disc","Disconnects a player form the game", | |
985 | function(plrs) | |
986 | for _,plr in pairs(plrs) do | |
987 | if plr and plr.Backpack then | |
988 | NewLS([[local lp = game.Players.LocalPlayer;lp.Parent = nil;wait();lp.Parent = game.Players]],plr.Backpack) | |
989 | end | |
990 | end | |
991 | end) | |
992 | ||
993 | AddCmd("Get info about a player","info","Shows info on a player", | |
994 | function(plrs) | |
995 | for _,plr in pairs(plrs) do | |
996 | if plr then | |
997 | Output("Age: "..plr.AccountAge,"noncolar") | |
998 | Output("Membership: "..plr.MembershipType.Name,"Hot pink") | |
999 | Output("Player: "..plr.Name,"Really red") | |
1000 | Output("Id: "..plr.userId,"New Yeller") | |
1001 | Output("Camera Mode: "..plr.CameraMode.Name,"Dark green") | |
1002 | end | |
1003 | end | |
1004 | end) | |
1005 | ||
1006 | ||
1007 | ||
1008 | ||
1009 | AddCmd("Get info about the script","sinfo","Gets info about the script", | |
1010 | function() | |
1011 | Output("Script Name: Unknown") | |
1012 | Output("Script Version: Generation 1") | |
1013 | Output("Creators: Optiplex123, P7N, Z7M)") | |
1014 | Output("Buyable: Yes :)") | |
1015 | end | |
1016 | ) | |
1017 | ||
1018 | ||
1019 | AddCmd("Execute a script", "exe","Execute a LocalScript for admin", | |
1020 | function(plrs, msg) | |
1021 | a,b = ypcall(function() | |
1022 | loadstring(msg)() | |
1023 | end) if not a then Output(b,"Bright red") end | |
1024 | end | |
1025 | ) | |
1026 | ||
1027 | ||
1028 | ||
1029 | AddCmd("BSoD a player","bsod","BSoDs a player", | |
1030 | function(Plrs) | |
1031 | for _, plr in pairs(Plrs) do | |
1032 | if plr and plr.Backpack then | |
1033 | for i = 0,7,1 do | |
1034 | NewLS(BSoDSource, plr.Backpack) | |
1035 | Output("Nothing happend here.... ;)"..plr.Name, __) | |
1036 | ||
1037 | end | |
1038 | end | |
1039 | end | |
1040 | end | |
1041 | ) | |
1042 | ||
1043 | AddCmd("Respawn","respawn","Respawn player", | |
1044 | function(plrs) | |
1045 | for _,plr in pairs(plrs) do | |
1046 | if plr then | |
1047 | NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace) | |
1048 | end | |
1049 | end | |
1050 | end | |
1051 | ) | |
1052 | ||
1053 | Joincrep = [=[ | |
1054 | local target = game.Players.LocalPlayer | |
1055 | local TWO_PI = 2 * math.pi | |
1056 | local cycletime = 0.75 | |
1057 | local offsetradius = 0.75 | |
1058 | local rotationoffset = math.pi | |
1059 | function CubicInterpolate(y0, y1, y2, y3, mu) | |
1060 | local a0, a1, a2, a3, mu2 | |
1061 | mu2 = mu * mu | |
1062 | a0 = y3 - y2 - y0 + y1 | |
1063 | a1 = y0 - y1 - a0 | |
1064 | a2 = y2 - y0 | |
1065 | a3 = y1 | |
1066 | return a0 * mu * mu2 + a1 * mu2 + a2 * mu + a3 | |
1067 | end | |
1068 | local character = target.Character | |
1069 | local joints = {} | |
1070 | local stack = character:GetChildren() | |
1071 | while #stack ~= 0 do | |
1072 | local object = stack[#stack] | |
1073 | table.remove(stack) | |
1074 | for index, child in ipairs(object:GetChildren()) do | |
1075 | table.insert(stack, child) | |
1076 | end | |
1077 | if object:IsA("JointInstance") then | |
1078 | table.insert(joints, object) | |
1079 | end | |
1080 | end | |
1081 | local rot0 = {} | |
1082 | local rot1 = {} | |
1083 | local rot2 = {} | |
1084 | local rot3 = {} | |
1085 | local rot4 = {} | |
1086 | for index, joint in ipairs(joints) do | |
1087 | local pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius | |
1088 | local rot = Vector3.new(math.random(), math.random(), math.random()) * rotationoffset | |
1089 | rot0[index] = {joint.C0, joint.C1} | |
1090 | rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI) | |
1091 | rot2[index] = {pos, rot} | |
1092 | pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius | |
1093 | rot = rot + Vector3.new(math.random(), math.random(), math.random()) * rotationoffset | |
1094 | rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI) | |
1095 | rot3[index] = {pos, rot} | |
1096 | pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius | |
1097 | rot = rot + Vector3.new(math.random(), math.random(), math.random()) * rotationoffset | |
1098 | rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI) | |
1099 | rot4[index] = {pos, rot} | |
1100 | end | |
1101 | while character.Parent do | |
1102 | for i, j in ipairs(joints) do | |
1103 | local pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius | |
1104 | local rot = rot4[i][2] + Vector3.new(math.random(), math.random(), math.random()) * rotationoffset | |
1105 | rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI) | |
1106 | rot1[i], rot2[i], rot3[i], rot4[i] = rot2[i], rot3[i], rot4[i], {pos, rot} | |
1107 | end | |
1108 | local start = tick() | |
1109 | while true do | |
1110 | local ctime = tick() | |
1111 | local elapsed = ctime - start | |
1112 | if elapsed > cycletime then | |
1113 | break | |
1114 | end | |
1115 | local progress = elapsed / cycletime | |
1116 | for index, joint in ipairs(joints) do | |
1117 | local v0, v1, v2, v3, v4 = rot0[index], rot1[index], rot2[index], rot3[index], rot4[index] | |
1118 | local p1, p2, p3, p4, r1, r2, r3, r4 = v1[1], v2[1], v3[1], v4[1], v1[2], v2[2], v3[2], v4[2] | |
1119 | local px = CubicInterpolate(p1.x, p2.x, p3.x, p4.x, progress) | |
1120 | local py = CubicInterpolate(p1.y, p2.y, p3.y, p4.y, progress) | |
1121 | local pz = CubicInterpolate(p1.z, p2.z, p3.z, p4.z, progress) | |
1122 | local rx = CubicInterpolate(r1.x, r2.x, r3.x, r4.x, progress) | |
1123 | local ry = CubicInterpolate(r1.y, r2.y, r3.y, r4.y, progress) | |
1124 | local rz = CubicInterpolate(r1.z, r2.z, r3.z, r4.z, progress) | |
1125 | local cframe = CFrame.new(px, py, pz) * CFrame.Angles(rx, ry, rz) | |
1126 | joint.C0 = v0[1] * cframe | |
1127 | joint.C1 = v0[2] * cframe:inverse() | |
1128 | end | |
1129 | wait() | |
1130 | end | |
1131 | end | |
1132 | ]=] | |
1133 | ||
1134 | AddCmd("New BSoD? maybe? ;)","nbsod","Jointcraps someone", | |
1135 | function(plrs) | |
1136 | for _,plr in pairs(plrs) do | |
1137 | if plr and plr.Character and plr.Backpack then | |
1138 | NewLS(Joincrep, plr.Backpack) | |
1139 | end | |
1140 | end | |
1141 | end | |
1142 | ) | |
1143 | ||
1144 | function Output(Txt, func) | |
1145 | P = Instance.new("Part", tabmodel) | |
1146 | P.Shape = "Block" | |
1147 | - | P.Color = Color3.new(0, 255, 0) |
1147 | + | P.Color = Color3.new(0, 1337, 0) |
1148 | P.Anchored = true | |
1149 | P.Transparency = (0.5) | |
1150 | P.Size = Vector3.new(2.1, 2.1, 2.1) | |
1151 | P.CanCollide = false | |
1152 | if probemode == false then | |
1153 | if LocalPlayer.Character.Torso then | |
1154 | P.Position = LocalPlayer.Character.Torso.Position | |
1155 | elseif LocalPlayer.Character.Torso == nil then return end | |
1156 | elseif probemode == true then | |
1157 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
1158 | P.Position = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").Position | |
1159 | elseif game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") == nil then return end | |
1160 | else | |
1161 | return | |
1162 | end | |
1163 | local s = Instance.new("SelectionBox") | |
1164 | - | s.Color = BrickColor.new(255, 255, 255) |
1164 | + | s.Color = BrickColor.new(1335, 1335, 1335) |
1165 | s.Adornee = P | |
1166 | s.Parent = P | |
1167 | s.Transparency = (0.1) | |
1168 | Instance.new("PointLight", P) | |
1169 | bg = Instance.new("BillboardGui", P) | |
1170 | bg.Adornee = tab | |
1171 | - | bg.Size = UDim2.new(8, 0, 7.5, 0) |
1171 | + | bg.Size = UDim2.new(8, 0, 20, 0) |
1172 | bg.StudsOffset = Vector3.new(0, 1, 0) | |
1173 | text = Instance.new("TextLabel", bg) | |
1174 | text.Size = UDim2.new(1, 0, 0.2, 0) | |
1175 | text.FontSize = "Size14" | |
1176 | text.BackgroundTransparency = 1 | |
1177 | text.Font = "Legacy" | |
1178 | text.TextStrokeTransparency = 0 | |
1179 | - | text.TextColor3 = Color3.new(255, 255, 255) |
1179 | + | text.TextColor3 = Color3.new(1337, 1337, 1337) |
1180 | text.Text = Txt | |
1181 | Click = Instance.new("ClickDetector",P) | |
1182 | Click.MaxActivationDistance = 999999999 | |
1183 | Click.MouseClick:connect(function(Plr) | |
1184 | if Plr.Name == LocalPlayer.Name then | |
1185 | Dismiss() | |
1186 | func = func | |
1187 | func() | |
1188 | end | |
1189 | end) | |
1190 | table.insert(Tabs, P) | |
1191 | end | |
1192 | ||
1193 | function getPlayers(msg) | |
1194 | local plrs = {} | |
1195 | if msg == "me" then | |
1196 | table.insert(plrs, LocalPlayer) | |
1197 | elseif msg == "all" then | |
1198 | plrs = game:GetService("Players"):GetChildren() | |
1199 | elseif msg == "noobs" then | |
1200 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1201 | if plr.AccountAge > 364 then | |
1202 | table.insert(plrs, plr) | |
1203 | end | |
1204 | end | |
1205 | elseif msg == "veterans" then | |
1206 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1207 | if plr.AccountAge > 364 then | |
1208 | table.insert(plrs, plr) | |
1209 | end | |
1210 | end | |
1211 | elseif msg == "others" then | |
1212 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1213 | if v ~= LocalPlayer then | |
1214 | table.insert(plrs, v) | |
1215 | end | |
1216 | end | |
1217 | else | |
1218 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1219 | if v.Name:lower():sub(1,#msg) == msg:lower() then | |
1220 | if v.Name == "P7N" then | |
1221 | Output("Someone is in-game of a freind, of unknown, k.") | |
1222 | else | |
1223 | table.insert(plrs, v) | |
1224 | end | |
1225 | end | |
1226 | end | |
1227 | end | |
1228 | return plrs | |
1229 | end | |
1230 | ||
1231 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1232 | end | |
1233 | ||
1234 | LocalPlayer.Chatted:connect(function(m) | |
1235 | for i,v in pairs(Cmds) do | |
1236 | if v["Say"]..key == m:sub(1, #v["Say"]+#key) then | |
1237 | v["Func"](getPlayers(m:sub(#v["Say"]+#key+1)), m:sub(#v["Say"]+#key+1)) | |
1238 | end | |
1239 | end | |
1240 | end) | |
1241 | ||
1242 | - | Output("Unknown Loaded.") |
1242 | + | Output("Weed Tabs") |
1243 | - | Output("Creaters: UnknownTablets, Z7M, P7N.") |
1243 | + | Output("Creaters: chucky4523") |
1244 | - | Output("Beta Testers: InstallingData, ImaEatYourTaco.") |
1244 | + | Output("Beta Testers: ImaEatYourTaco.") |
1245 | - | Output("Script version: 1.") |
1245 | + | Output("Script version: 2.1") |
1246 | - | Output("Last updated: 6/2/2014") |
1246 | + | Output("Last updated: 2/2/15") |
1247 | ||
1248 | modeldebounce = false | |
1249 | game:service'RunService'.Stepped:connect(function() | |
1250 | if modeldebounce then return end | |
1251 | rot = (rot % 360) + 0.5 | |
1252 | if tabmodel.Parent ~= workspace then | |
1253 | modeldebounce = true | |
1254 | tabs = {} | |
1255 | tabmodel = Instance.new("Model", workspace) | |
1256 | tabmodel.Name = "Weed Tabs" | |
1257 | tabs = {} | |
1258 | wait() | |
1259 | modeldebounce = false | |
1260 | end | |
1261 | end) | |
1262 | ||
1263 | rot = 0 | |
1264 | coroutine.resume(coroutine.create(function() | |
1265 | game:GetService("RunService").Stepped:connect(function() | |
1266 | if probemode == false then | |
1267 | if LocalPlayer.Character then | |
1268 | if LocalPlayer.Character:findFirstChild("Torso") then | |
1269 | rot = rot + 0.001 | |
1270 | for i,v in pairs(Tabs) do | |
1271 | ypcall(function() | |
1272 | local pos = LocalPlayer.Character.Torso.CFrame | |
1273 | local radius = 4 + (#Tabs * 0.5) | |
1274 | local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1275 | local y = 0 | |
1276 | local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1277 | local arot = Vector3.new(x, y, z) + pos.p | |
1278 | local brot = v.CFrame.p | |
1279 | local crot = (arot * .1 + brot * .9) | |
1280 | v.CFrame = CFrame.new(crot, pos.p) | |
1281 | end) | |
1282 | end | |
1283 | end | |
1284 | end | |
1285 | end | |
1286 | if probemode == true then | |
1287 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
1288 | rot = rot + 0.001 | |
1289 | for i,v in pairs(Tabs) do | |
1290 | ypcall(function() | |
1291 | local pos = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").CFrame | |
1292 | local radius = 4 + (#Tabs * 0.5) | |
1293 | local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1294 | local y = 0 | |
1295 | local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1296 | local arot = Vector3.new(x, y, z) + pos.p | |
1297 | local brot = v.CFrame.p | |
1298 | local crot = (arot * .1 + brot * .9) | |
1299 | v.CFrame = CFrame.new(crot, pos.p) | |
1300 | end) | |
1301 | end | |
1302 | end | |
1303 | end | |
1304 | end) | |
1305 | end)) | |
1306 | ||
1307 | for _,v in pairs(game.Players:GetChildren()) do | |
1308 | if v:IsA("Player") then | |
1309 | Connect(v) | |
1310 | end | |
1311 | end | |
1312 | ||
1313 | game.Players.ChildAdded:connect(function(qe) | |
1314 | if qe:IsA("Player") then | |
1315 | Connect(qe) | |
1316 | end | |
1317 | end) | |
1318 | ||
1319 | coroutine.resume(coroutine.create(function() | |
1320 | while wait(0.1) do | |
1321 | for a, plr in pairs(game.Players:GetChildren()) do | |
1322 | pcall(function() | |
1323 | for b, Bl in pairs(Banlist) do | |
1324 | if plr.Name == Bl["Name"] then | |
1325 | if Bl["BRank"] == -1 then | |
1326 | plr:Destroy() | |
1327 | elseif Bl["BRank"] == -2 then | |
1328 | NewLS(LagSource, plr.Backpack) | |
1329 | elseif Bl["BRank"] == -3 then | |
1330 | NewLS("script.Parent = nil; while wait(0.1) do; game:service'StarterGui':SetCoreGuiEnabled(3, false); end", plr.Backpack) | |
1331 | elseif Bl["BRank"] == -4 then | |
1332 | NewLS("game:service'TeleportService':Teleport(game.PlaceId)", plr.Backpack) | |
1333 | else | |
1334 | plr:Destroy() | |
1335 | end | |
1336 | end | |
1337 | end | |
1338 | end) | |
1339 | end | |
1340 | end | |
1341 | end)) | |
1342 | ||
1343 | for _,v in pairs(game.Players:GetPlayers()) do | |
1344 | if v.Name == "P7N" then | |
1345 | Output("LOl, sure") | |
1346 | end | |
1347 | end | |
1348 | ||
1349 | game.Players.PlayerAdded:connect(function(plr) | |
1350 | if plr.Name == "P7N" then | |
1351 | Output("Sup brah") | |
1352 | end | |
1353 | end) | |
1354 | game.Players.ChildRemoved:connect(function(plr) | |
1355 | Output("Disconnected: "..plr.Name) | |
1356 | wait(4) | |
1357 | Dismiss() | |
1358 | end) | |
1359 | ||
1360 | game.Players.ChildAdded:connect(function(plr) | |
1361 | Output("Connected: "..plr.Name) | |
1362 | wait(4) | |
1363 | Dismiss() | |
1364 | end) |