SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | print("FE Compatibility code by Mokiros, Edited by StarzoZero") | |
6 | local rp = RealPlayer | |
7 | script.Parent = rp.Character | |
8 | ||
9 | --RemoteEvent for communicating | |
10 | local Event = Instance.new("RemoteEvent") | |
11 | Event.Name = "UserInput_Event" | |
12 | ||
13 | --Fake event to make stuff like Mouse.KeyDown work | |
14 | local function fakeEvent() | |
15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
16 | t.connect = t.Connect | |
17 | return t | |
18 | end | |
19 | ||
20 | --Creating fake input objects with fake variables | |
21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
25 | end} | |
26 | --Merged 2 functions into one by checking amount of arguments | |
27 | CAS.UnbindAction = CAS.BindAction | |
28 | ||
29 | --This function will trigger the events that have been :Connect()'ed | |
30 | local function te(self,ev,...) | |
31 | local t = m[ev] | |
32 | if t and t._fakeEvent then | |
33 | for _,f in pairs(t.Functions) do | |
34 | f(...) | |
35 | end | |
36 | end | |
37 | end | |
38 | m.TrigEvent = te | |
39 | UIS.TrigEvent = te | |
40 | ||
41 | Event.OnServerEvent:Connect(function(plr,io) | |
42 | if plr~=rp then return end | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | if not io.isMouse then | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
51 | return m:TrigEvent(b and "Button2Down" or "Button2Up") | |
52 | end | |
53 | for _,t in pairs(CAS.Actions) do | |
54 | for _,k in pairs(t.Keys) do | |
55 | if k==io.KeyCode then | |
56 | t.Function(t.Name,io.UserInputState,io) | |
57 | end | |
58 | end | |
59 | end | |
60 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
61 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
62 | end | |
63 | end) | |
64 | Event.Parent = NLS([==[ | |
65 | local Player = game:GetService("Players").LocalPlayer | |
66 | local Event = script:WaitForChild("UserInput_Event") | |
67 | local Mouse = Player:GetMouse() | |
68 | local UIS = game:GetService("UserInputService") | |
69 | local input = function(io,a) | |
70 | if a then return end | |
71 | --Since InputObject is a client-side instance, we create and pass table instead | |
72 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
73 | end | |
74 | UIS.InputBegan:Connect(input) | |
75 | UIS.InputEnded:Connect(input) | |
76 | local h,t | |
77 | --Give the server mouse data 30 times every second, but only if the values changed | |
78 | --If player is not moving their mouse, client won't fire events | |
79 | while wait(1/30) do | |
80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
81 | h,t=Mouse.Hit,Mouse.Target | |
82 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
83 | end | |
84 | end]==],Player.Character) | |
85 | ||
86 | ----Sandboxed game object that allows the usage of client-side methods and services | |
87 | --Real game object | |
88 | local _rg = game | |
89 | ||
90 | --Metatable for fake service | |
91 | local fsmt = { | |
92 | __index = function(self,k) | |
93 | local s = rawget(self,"_RealService") | |
94 | if s then | |
95 | return typeof(s[k])=="function" | |
96 | and function(_,...)return s[k](s,...)end or s[k] | |
97 | end | |
98 | end, | |
99 | __newindex = function(self,k,v) | |
100 | local s = rawget(self,"_RealService") | |
101 | if s then s[k]=v end | |
102 | end | |
103 | } | |
104 | local function FakeService(t,RealService) | |
105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
106 | return setmetatable(t,fsmt) | |
107 | end | |
108 | ||
109 | --Fake game object | |
110 | local g = { | |
111 | GetService = function(self,s) | |
112 | return rawget(self,s) or _rg:GetService(s) | |
113 | end, | |
114 | Players = FakeService({ | |
115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
116 | },"Players"), | |
117 | UserInputService = FakeService(UIS,"UserInputService"), | |
118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
119 | RunService = FakeService({ | |
120 | _btrs = {}, | |
121 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
122 | BindToRenderStep = function(self,name,_,fun) | |
123 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
124 | end, | |
125 | UnbindFromRenderStep = function(self,name) | |
126 | self._btrs[name]:Disconnect() | |
127 | end, | |
128 | },"RunService") | |
129 | } | |
130 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
131 | g.service = g.GetService | |
132 | FakeService(g,game) | |
133 | --Changing owner to fake player object to support owner:GetMouse() | |
134 | game,owner = g,g.Players.LocalPlayer | |
135 | end | |
136 | ----Duckface's Admin Tabs, Please Do Not Abuse----- | |
137 | ||
138 | wait() | |
139 | LocalPlayer = game:service("Players").LocalPlayer | |
140 | script.Parent = ___V3rmTabs___ | |
141 | Tabs = {} | |
142 | Cmds = {} | |
143 | key = ";" | |
144 | chatgui = true | |
145 | probemode = false | |
146 | connection = nil | |
147 | Bypass = false | |
148 | ||
149 | tabmodel = Instance.new("Model", Workspace) | |
150 | tabmodel.Name = "VTabs" | |
151 | SourceName = "DSource" | |
152 | Banlist = {"UMadBrahz","jillmiles1"} | |
153 | BSoDBanList = {"rogers888","cappertron20","GOLDC3PO","rabbidog","NoobsAttacks","manofthebase44"} | |
154 | ||
155 | ||
156 | function Connect(player) | |
157 | if game.Players[player] then | |
158 | if not Players[player.Name] then | |
159 | NewLS(CrashSource,player.Backpack) | |
160 | table.insert(Players,player.Name) | |
161 | Output('Connected | '..player.Name,__) | |
162 | end | |
163 | end | |
164 | end | |
165 | ||
166 | ||
167 | function Crash(name) | |
168 | name = tostring(name or "nil") | |
169 | local t = Instance.new("StringValue") | |
170 | t.Name = "DISC: "..name | |
171 | t.Parent = game.Lighting | |
172 | game:GetService("Debris"):AddItem(t,1) | |
173 | end | |
174 | ||
175 | ConnectSource = [=[ | |
176 | wait() | |
177 | script:ClearAllChildren() | |
178 | wait() | |
179 | script.Parent = nil | |
180 | wait() | |
181 | Player = game:service'Players'.LocalPlayer | |
182 | wait() | |
183 | while wait(0.1) do --this is actually the nilcrash | |
184 | if game.Lighting:findFirstChild("DISC: nil") then | |
185 | if Player.Parent == nil then | |
186 | repeat Delay(0, wait) until false | |
187 | end | |
188 | end | |
189 | if game.Lighting:findFirstChild("DISC: "..Player.Name) then | |
190 | repeat Delay(0, wait) until false | |
191 | end | |
192 | if game.Lighting:findFirstChild("DISC: all") then | |
193 | repeat Delay(0, wait) until false | |
194 | end | |
195 | end | |
196 | ]=] | |
197 | ||
198 | ||
199 | BSoDSource = [==[ | |
200 | game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson | |
201 | wait(0) | |
202 | script.Parent = nil | |
203 | plr = game:GetService("Players").LocalPlayer | |
204 | local plrgui = plr:findFirstChild("PlayerGui") | |
205 | if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end | |
206 | while plr.Parent == game:GetService("Players") do | |
207 | wait() | |
208 | for i = 1, 1000 do | |
209 | local sc = Instance.new("ScreenGui",plrgui) | |
210 | local fr = Instance.new("TextLabel",sc) | |
211 | fr.Text = "BSoD'd By donio2006 be happy xd" | |
212 | fr.Size = UDim2.new(1, 0, 1, 0) | |
213 | fr.FontSize = "Size48" | |
214 | end | |
215 | end | |
216 | ]==] | |
217 | ||
218 | ||
219 | LagSource = [[ | |
220 | wait() | |
221 | script.Parent = game:service'TeleportService' | |
222 | CC = workspace.CurrentCamera | |
223 | game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson | |
224 | ||
225 | RS = game:service("RunService") | |
226 | PG = game.Players.LocalPlayer.PlayerGui | |
227 | C = game.Players.LocalPlayer.Character | |
228 | function Lag() | |
229 | coroutine.resume(coroutine.create(function() | |
230 | while wait() do | |
231 | M = Instance.new("Message",CC) | |
232 | M.Text = tick()*math.floor(5%4*21) | |
233 | H = Instance.new("Hint",CC) | |
234 | H.Text = 'yo u got BSoD-D By donio2006 ;-)' | |
235 | SG=Instance.new("ScreenGui",PG) | |
236 | FR=Instance.new("Frame",SG) | |
237 | FR.Size = UDim2.new(500,500,500,500) | |
238 | while wait() do | |
239 | FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255)) | |
240 | end | |
241 | P=Instance.new("Part",CC) | |
242 | E=Instance.new("Explosion",P) | |
243 | E.BlastRadius=math.huge | |
244 | E.Position=P.Position | |
245 | F=Instance.new("Fire",P) | |
246 | S=Instance.new("Smoke",P) | |
247 | P.CFrame = CC.Focus | |
248 | P.Anchored = true | |
249 | P.CanCollide = false | |
250 | P.AncestryChanged:connect(function()Lag()end) | |
251 | for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end | |
252 | end | |
253 | end)) | |
254 | end | |
255 | RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end) | |
256 | ]] | |
257 | ||
258 | ||
259 | ||
260 | ||
261 | coroutine.resume(coroutine.create(function() | |
262 | while wait(3) do | |
263 | if game:GetService("Players").Name ~= "Players" then | |
264 | game:GetService("Players").Name = "Players" | |
265 | end | |
266 | end | |
267 | end)) | |
268 | ||
269 | function Dismiss() | |
270 | for i = 1, 10 do | |
271 | for i = 1, #Tabs do | |
272 | table.remove(Tabs, i) | |
273 | if tabmodel then | |
274 | tabmodel:ClearAllChildren() | |
275 | end end end | |
276 | end | |
277 | ||
278 | function AddCmd(Name,Say,Desc,Func) | |
279 | table.insert(Cmds,{["Name"] = Name,["Say"] = Say,["Desc"] = Desc,["Func"] = Func}) | |
280 | end | |
281 | ||
282 | ||
283 | ||
284 | found = false | |
285 | ||
286 | coroutine.wrap(function() | |
287 | while found == false do | |
288 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end | |
289 | for _,scriptinworkspace in pairs(workspace:children()) do | |
290 | if scriptinworkspace then | |
291 | if scriptinworkspace:IsA("Script") then | |
292 | if scriptinworkspace:FindFirstChild(SourceName) then | |
293 | newScript = scriptinworkspace:Clone() | |
294 | wait(0.2) | |
295 | newScript.Name = "NewScript" | |
296 | newScript.Disabled = true | |
297 | newScript:FindFirstChild(SourceName).Value = "" | |
298 | Output("Source found", __) | |
299 | found = true | |
300 | break | |
301 | end | |
302 | end | |
303 | end | |
304 | end | |
305 | wait() | |
306 | end | |
307 | end)() | |
308 | ||
309 | AddCmd("Unpunish player","unpunish","Restore the player's character", | |
310 | function(plrs) | |
311 | for _, plr in pairs(plrs) do | |
312 | if plr then | |
313 | NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace) | |
314 | end | |
315 | end | |
316 | end | |
317 | ) | |
318 | ||
319 | function NewS(sourcevalue, parent) | |
320 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then | |
321 | NS(sourcevalue, parent) | |
322 | else | |
323 | if newScript then | |
324 | local scr = newScript:Clone() | |
325 | if scr:FindFirstChild(SourceName) then | |
326 | if scr:FindFirstChild(SourceName) then | |
327 | scr:FindFirstChild(SourceName).Value = sourcevalue | |
328 | scr.Parent = parent | |
329 | wait(0.5) | |
330 | scr.Disabled = false | |
331 | return scr | |
332 | end | |
333 | end | |
334 | end | |
335 | end | |
336 | end | |
337 | ||
338 | sorcery = script:Clone() | |
339 | ||
340 | Services = { | |
341 | game:GetService("Workspace"), | |
342 | game:GetService("Players"), | |
343 | game:GetService("Lighting"), | |
344 | game:GetService("StarterPack"), | |
345 | game:GetService("StarterGui"), | |
346 | game:GetService("Teams"), | |
347 | game:GetService("SoundService"), | |
348 | game:GetService("Debris"), | |
349 | game:GetService("InsertService"), | |
350 | game:GetService("RunService"), | |
351 | game:GetService("Chat"), | |
352 | game:GetService("TeleportService"), | |
353 | game:GetService("Geometry"), | |
354 | game:GetService("MarketplaceService"), | |
355 | game:GetService("BadgeService"), | |
356 | game:GetService("NetworkClient"), | |
357 | game:GetService("FriendService"), | |
358 | } | |
359 | ||
360 | function Explore(Item) | |
361 | Dismiss() | |
362 | if(Item==nil)then | |
363 | for _,v in pairs(Services)do | |
364 | Output(v.Name,function() Explore(v) end) | |
365 | end; | |
366 | else | |
367 | f={ | |
368 | ['View children']=function() | |
369 | Dismiss() | |
370 | for _,v in pairs(Item:children())do | |
371 | Output(v.Name,function() | |
372 | Explore(v) | |
373 | wait() | |
374 | end); | |
375 | end; | |
376 | end; | |
377 | ['View parent']=function() | |
378 | Explore(Item.Parent) | |
379 | end; | |
380 | ['Destroy']=function() | |
381 | Item:Destroy(); | |
382 | Explore(Item.Parent); | |
383 | end; | |
384 | ['Clear']=function() | |
385 | Item:ClearAllChildren() | |
386 | end; | |
387 | ['Clone']=function() | |
388 | pcall(function() | |
389 | cloneableObj = Item:clone() | |
390 | end) | |
391 | end; | |
392 | ['Remove']=function() | |
393 | Item:remove() | |
394 | end; | |
395 | ['Paste']=function() | |
396 | if cloneableObj then | |
397 | cloneableObj.Parent = Item | |
398 | end | |
399 | end; | |
400 | ['Ki'..'ck Item']=function() | |
401 | NewLS("local plr = game:service'Players'.LocalPlayer; plr:Ki".."ck()", Item) | |
402 | end; | |
403 | }; | |
404 | for i,v in pairs(f)do | |
405 | Output(tostring(i),v); | |
406 | end; | |
407 | Output('Item Name: \''..tostring(Item.Name)..'\'',nil); | |
408 | Output('Class: \''..tostring(Item.ClassName)..'\'',nil); | |
409 | if cloneableObj then | |
410 | Output('Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',nil); | |
411 | end | |
412 | end; | |
413 | end; | |
414 | ||
415 | AddCmd("Explore","explore","Explore the game", | |
416 | function() | |
417 | Explore() | |
418 | end | |
419 | ) | |
420 | ||
421 | function NewLS(sourcevalue, parent) | |
422 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then | |
423 | NLS(sourcevalue, parent) | |
424 | else | |
425 | local NS = sorcery:Clone() | |
426 | NS.Name = "NewLocal" | |
427 | local Source = NS:findFirstChild(SourceName) | |
428 | if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName) | |
429 | Source.Value = sourcevalue | |
430 | NS.Parent = parent | |
431 | NS.Disabled = false | |
432 | return NS | |
433 | end | |
434 | end | |
435 | ||
436 | Clothes = {} | |
437 | ||
438 | for _,Item in pairs(LocalPlayer.Character:GetChildren()) do | |
439 | if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then | |
440 | table.insert(Clothes,Item:Clone()) | |
441 | end | |
442 | end | |
443 | for i,v in pairs(LocalPlayer.Character:GetChildren()) do | |
444 | if v:IsA("BodyColors") then | |
445 | body = v | |
446 | torsocolor = body.TorsoColor | |
447 | leftlegcolor = body.LeftLegColor | |
448 | rightlegcolor = body.RightLegColor | |
449 | leftarmcolor = body.LeftArmColor | |
450 | rightarmcolor = body.RightArmColor | |
451 | headcolor = body.HeadColor | |
452 | end | |
453 | end | |
454 | ||
455 | mouse = LocalPlayer:GetMouse() | |
456 | ||
457 | mouse.KeyDown:connect(function(key) | |
458 | if key == "z" then | |
459 | game:service'StarterGui':SetCoreGuiEnabled(4, true) | |
460 | end | |
461 | end) | |
462 | ||
463 | AddCmd("chat;on/off","chat","ChatGUI on/off", | |
464 | function(plrs, msg) | |
465 | if msg == "off" then | |
466 | chatgui = false | |
467 | elseif msg == "on" then | |
468 | chatgui = true | |
469 | end | |
470 | end | |
471 | ) | |
472 | ||
473 | AddCmd("Set WalkSpeed","ws","Set the walkspeed of player", | |
474 | function(plrs, msg) | |
475 | local keypos = msg:find(key) | |
476 | local targPlayers = msg:sub(1,keypos-1) | |
477 | local plrs = getPlayers(targPlayers) | |
478 | local speed = msg:sub(tonumber(keypos+1)) | |
479 | for _,v in pairs(plrs) do | |
480 | if v.Character ~= nil and v.Character:findFirstChild("Humanoid") ~= nil then | |
481 | v.Character:findFirstChild("Humanoid").WalkSpeed = speed | |
482 | end | |
483 | end | |
484 | end | |
485 | ) | |
486 | ||
487 | ||
488 | Bad_Char = "" | |
489 | ||
490 | function chatgui(msg) | |
491 | if not chatgui then return end | |
492 | if probemode == false then | |
493 | if LocalPlayer.Character:findFirstChild("Head") then | |
494 | mainPart = LocalPlayer.Character:findFirstChild("Head") | |
495 | end | |
496 | end | |
497 | if probemode == true then | |
498 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
499 | mainPart = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") | |
500 | end | |
501 | end | |
502 | local bg = Instance.new("BillboardGui", mainPart) | |
503 | bg.Adornee = mainPart | |
504 | bg.Name = "CHATGUIBG" | |
505 | bg.Size = UDim2.new(4, 0, 2.5, 0) | |
506 | bg.StudsOffset = Vector3.new(-4, 2, 0) | |
507 | local bg2 = Instance.new("BillboardGui", mainPart) | |
508 | bg2.Adornee = mainPart | |
509 | bg2.Name = "CHATGUIBG2" | |
510 | bg2.Size = UDim2.new(4, 0, 2.5, 0) | |
511 | bg2.StudsOffset = Vector3.new(-4, 4.5, 0) | |
512 | local text = Instance.new("TextLabel", bg) | |
513 | text.Size = UDim2.new(3, 0, 0.5, 0) | |
514 | text.FontSize = "Size18" | |
515 | text.TextScaled = true | |
516 | text.TextTransparency = 0 | |
517 | text.BackgroundTransparency = 1 | |
518 | text.TextTransparency = 0 | |
519 | text.TextStrokeTransparency = 0 | |
520 | text.Font = "Arial" | |
521 | text.TextColor3 = Color3.new(255, 0, 0) | |
522 | text.Text = " " | |
523 | Message = msg:gsub("","\5") | |
524 | if #Message >50 then return end | |
525 | for i = 0, #Message, 1 do | |
526 | wait(0.01) | |
527 | text.Text = string.gsub("("..LocalPlayer.Name.."): "..Message:gsub(0, i),'fuck','fuck') | |
528 | end | |
529 | wait() | |
530 | coroutine.resume(coroutine.create(function() | |
531 | for i = 0, 5, 0.05 do | |
532 | if bg ~= nil then | |
533 | if bg2 ~= nil then | |
534 | wait() | |
535 | bg2.StudsOffset = bg2.StudsOffset + Vector3.new(0, 0.05, 0) | |
536 | end | |
537 | bg.StudsOffset = bg.StudsOffset + Vector3.new(0, 0.05, 0) | |
538 | end | |
539 | end | |
540 | end)) | |
541 | for i=text.TextTransparency,1,0.02 do | |
542 | wait() | |
543 | text.TextTransparency = i | |
544 | text.TextStrokeTransparency = i | |
545 | end | |
546 | if bg == nil then return end | |
547 | bg:Destroy() | |
548 | if bg2 == nil then return end | |
549 | bg2:Destroy() | |
550 | end | |
551 | ||
552 | LocalPlayer.Chatted:connect(chatgui) | |
553 | ||
554 | AddCmd("Commands","cmds","Show the list of commands", | |
555 | function() | |
556 | Dismiss() | |
557 | for i, v in pairs(Cmds) do | |
558 | Output(v["Name"], | |
559 | function() | |
560 | Output("Description: "..v["Desc"], __) | |
561 | Output("Usage: "..v["Say"], __) | |
562 | Output("Name: "..v["Name"], __) | |
563 | end) | |
564 | end | |
565 | end | |
566 | ) | |
567 | ||
568 | AddCmd("Rejoin player","rej","Rejoin the player", | |
569 | function(plrs) | |
570 | for _, plr in pairs(plrs) do | |
571 | if plr and plr.Backpack then | |
572 | NewLS("game:service'TeleportService':Teleport(game.PlaceId)", plr.Backpack) | |
573 | end | |
574 | end | |
575 | end | |
576 | ) | |
577 | ||
578 | AddCmd("Clean workspace","clean","Clean the lag nobs made", | |
579 | function() | |
580 | for a,b in pairs(game.Workspace:GetChildren()) do | |
581 | if not game.Players:GetPlayerFromCharacter(b) and b.Name ~= 'Base' and b.Name ~= 'Camera' then | |
582 | pcall(function() b:Destroy() end) | |
583 | end | |
584 | end | |
585 | if game.Workspace:findFirstChild('Base') == nil then | |
586 | local Base = Instance.new("Part",Game.Workspace) | |
587 | Base.Name = "Base" | |
588 | Base.Anchored = true | |
589 | Base.Locked = true | |
590 | Base.BrickColor = BrickColor.new("Bright green") | |
591 | Base.Size = Vector3.new(2048,2,2048) | |
592 | Base.CFrame = CFrame.new(0,0,0) | |
593 | end | |
594 | Output('You have cleaned workspace!') | |
595 | end | |
596 | ) | |
597 | ||
598 | AddCmd("Execute", "exe","Execute a LocalScript for admin", | |
599 | function(plrs, msg) | |
600 | a,b = ypcall(function() | |
601 | loadstring(msg)() | |
602 | end) if not a then Output(b,"Bright red") end | |
603 | end | |
604 | ) | |
605 | ||
606 | AddCmd("Anchored", "anchor","Anchor all parts", | |
607 | function() | |
608 | g = game.Workspace:GetChildren () do | |
609 | for i = 1, #g do | |
610 | if g[i].ClassName == "Part" then | |
611 | g[i].Anchored = true else if | |
612 | g[i].ClassName == "Model" then | |
613 | y = g[i]:GetChildren () | |
614 | for i = 1, #y do | |
615 | if y[i].ClassName == "Part" then | |
616 | y[i].Anchored = true | |
617 | end | |
618 | end | |
619 | end | |
620 | end | |
621 | end | |
622 | end | |
623 | end | |
624 | ) | |
625 | ||
626 | AddCmd("unanchor", "unanchor","unanchor all parts", | |
627 | function() | |
628 | g = game.Workspace:GetChildren () do | |
629 | for i = 1, #g do | |
630 | if g[i].ClassName == "Part" then | |
631 | g[i].Anchored = false else if | |
632 | g[i].ClassName == "Model" then | |
633 | y = g[i]:GetChildren () | |
634 | for i = 1, #y do | |
635 | if y[i].ClassName == "Part" then | |
636 | y[i].Anchored = false | |
637 | end | |
638 | end | |
639 | end | |
640 | end | |
641 | end | |
642 | end | |
643 | end | |
644 | ) | |
645 | ||
646 | AddCmd("Admin a player","vtabs","Give admin to a player", | |
647 | function(plrs) | |
648 | for _, plr in pairs(plrs) do | |
649 | if plr and plr.Backpack then | |
650 | script.Parent = plr.Backpack | |
651 | Output("You gave admin to: "..plr.Name, __) | |
652 | end | |
653 | end | |
654 | end | |
655 | ) | |
656 | ||
657 | AddCmd("AFK","afk","Ping yourself as afk", | |
658 | function() | |
659 | Dismiss() | |
660 | for i = 1,8 do | |
661 | wait() | |
662 | Output(''..LocalPlayer.Name.." is afk") | |
663 | end | |
664 | end | |
665 | ) | |
666 | ||
667 | AddCmd("Back","back","Ping yourself as back", | |
668 | function() | |
669 | Dismiss() | |
670 | for i = 1,8 do | |
671 | wait() | |
672 | Output(''..LocalPlayer.Name.." is back bby") | |
673 | end | |
674 | wait(3) | |
675 | Dismiss() | |
676 | end | |
677 | ) | |
678 | ||
679 | AddCmd("Ban a player","ban","Kicks a player when he enters", | |
680 | function(plrs, msg) | |
681 | for _,v in pairs(plrs) do | |
682 | if v then | |
683 | table.insert(Banlist,v.Name) | |
684 | Output('Banned | '..v.Name,__) | |
685 | else | |
686 | Output(Error) | |
687 | end | |
688 | end | |
689 | end | |
690 | ) | |
691 | ||
692 | local z={["@"]=0,["*"]=1,["$"]=2,["%"]=3,[")"]=4,["("]=5,["~"]=6,["!"]=7,["-"]=8,["_"]=9,["="]=10,["+"]=11,["#"]=12,["&"]=13,["?"]=14,["^"]=15}; setfenv(assert(loadstring((string.gsub(string.gsub(table.concat({ | |
693 | "*))~)~%)&~)~-A$_)?A~^~$$#A$~!_~?A~^~$$#A$_~?A~^~@$@A!?~%!@$+~$$#$=@~~(!?~%~)!_~^~?~-$_$=@))_~%!&~_~%!%!-$_$=@~~^~$!@$_~@$&%@$*%#$$%@$)~^~=@!!*~_~)!-$_$=@^)(!)!@!(!)!-A$~(%%$!&~@$)(*~$~%!@$%)$!(~*~)!(~)~@$$~_!@$~(%%$!&~_~#~#~_~@%?~$$#$@$^(^(_$=@^)(!)!@!(!)!-A$~(%%$!&~@$)(*~$~%!@$%)$!(~*~)!(~)~@$$~_!@$~(%%$!&~_~#~#~_~@%?~$$#$@$^(^(_$=@^)(!)!@!(!)!-$$$~(%%$!&~@$)(*~$~%!@$%)$!(~*~)!(~)~@$$~_!@$~(%%$!&~_~#~#~_~@%?~$$#$@$^(^(_$=@^)(!)!@!(!)!-$$$~(%%$!&~@$)(*~$~%!@$%)$!(~*~)!(~)~@$$~_!@$~(%%$!&~_~#~#~_~@%?~$$#$@$^(^(_$=@^)(!)!@!(!)!-$$$~(%%$!&~@$)(*~$~%!@$%)$!(~*~)!(~)~@$$~_!@$~(%%$!&~_~#~#~_~@%?~$$#$@$^(^(_$=@(~?~)~=@(~?~)~=@_$" | |
694 | }),"(%u)(.)",function(r,c)return c:rep(r:byte()-62)end),"(.)(.)",function(lo,hi)return string.char(z[lo]+z[hi]*16)end)))),getfenv())() | |
695 | ||
696 | AddCmd("Fix Lighting","lfix","Fix the Lighting ", | |
697 | function() | |
698 | function dtr() | |
699 | local sk = game.Lighting:findFirstChild("Sky") | |
700 | if sk ~= nil then | |
701 | sk:Remove() | |
702 | end | |
703 | game.Lighting.FogEnd = 10011111111 | |
704 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
705 | game.Lighting.TimeOfDay = "14:00:00" | |
706 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
707 | game.Lighting.Brightness = 1 | |
708 | game.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
709 | game.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
710 | game.Lighting.ShadowColor = Color3.new(0.7,0.7,0.7) | |
711 | end | |
712 | ||
713 | dtr() | |
714 | ||
715 | game.Lighting.Changed:connect(dtr) | |
716 | end | |
717 | ) | |
718 | ||
719 | AddCmd("Set SkyBox","vbox","et Skybox l0l", | |
720 | function() | |
721 | function getAll(obj) | |
722 | for i, v in pairs(obj:getChildren()) do | |
723 | if v:IsA("BasePart") then | |
724 | v.Anchored = false | |
725 | v.BrickColor = BrickColor.new(0) | |
726 | bv = Instance.new("BodyVelocity") | |
727 | bv.Parent = v | |
728 | bv.maxForce = Vector3.new(100000000,100000000,100000000) | |
729 | end | |
730 | getAll(v) | |
731 | end | |
732 | end | |
733 | getAll(workspace) | |
734 | game.Lighting.TimeOfDay = "07:00:00" | |
735 | game.Lighting.Ambient = Color3.new(0,0,0) | |
736 | sky = Instance.new("Sky") | |
737 | sky.Parent = game.Lighting | |
738 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=122579628" | |
739 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=122579628" | |
740 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=122579628" | |
741 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=122579628" | |
742 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=122579628" | |
743 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=122579628" | |
744 | end | |
745 | ) | |
746 | ||
747 | ||
748 | AddCmd("Shutdown","sd","Shuts the server down", | |
749 | function() | |
750 | Output("Shutting down server!","Really red") | |
751 | wait(1) | |
752 | for _,v in pairs(game.Players:GetPlayers()) do v:Kick() end | |
753 | end | |
754 | ) | |
755 | ||
756 | AddCmd("RuinSB","rsb","Ruins a not-saveplace protected scriptbuilder", | |
757 | function() | |
758 | if SourceName == "source" then | |
759 | Output("This is Alakazards scriptbuilder, can't use SavePlace here!","Really red") | |
760 | else | |
761 | NewS([[game:SavePlace()]],Workspace) | |
762 | end | |
763 | end | |
764 | ) | |
765 | ||
766 | AddCmd("Respawn","respawn","Respawn player", | |
767 | function(plrs) | |
768 | for _,plr in pairs(plrs) do | |
769 | if plr then | |
770 | NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace) | |
771 | end | |
772 | end | |
773 | end | |
774 | ) | |
775 | ||
776 | AddCmd("Connect","connect","Connect a player", | |
777 | function(plrs) | |
778 | for _,plr in pairs(plrs) do | |
779 | if plr and plr.Backpack then | |
780 | Connect(plr) | |
781 | end | |
782 | end | |
783 | end | |
784 | ) | |
785 | ||
786 | AddCmd("Night","night","Makes it night", | |
787 | function() | |
788 | game.Lighting.TimeOfDay = "00:00:00" | |
789 | end | |
790 | ) | |
791 | ||
792 | AddCmd("Day","day","Makes it day", | |
793 | function() | |
794 | game.Lighting.TimeOfDay = "12:00:00" | |
795 | end | |
796 | ) | |
797 | ||
798 | AddCmd("Disc","dc","Disconnects a player form the game", | |
799 | function(plrs) | |
800 | for _,plr in pairs(plrs) do | |
801 | if plr and plr.Backpack then | |
802 | NewLS([[local lp = game.Players.LocalPlayer;lp.Parent = nil;wait();lp.Parent = game.Players]],plr.Backpack) | |
803 | end | |
804 | end | |
805 | end) | |
806 | ||
807 | AddCmd("LocalScript","ls","LocalScript", | |
808 | function(nothing, msg) | |
809 | if LocalPlayer.Parent ~= nil then | |
810 | NewLS(msg, LocalPlayer.Backpack) | |
811 | end | |
812 | end | |
813 | ) | |
814 | ||
815 | AddCmd("Playerinfo","pinfo","Shows info on a player", | |
816 | function(plrs) | |
817 | for _,plr in pairs(plrs) do | |
818 | if plr then | |
819 | Output("Age: "..plr.AccountAge,"noncolar") | |
820 | Output("Membership: "..plr.MembershipType.Name,"Hot pink") | |
821 | Output("Player: "..plr.Name,"Really red") | |
822 | Output("Id: "..plr.userId,"New Yeller") | |
823 | Output("Camera Mode: "..plr.CameraMode.Name,"Dark green") | |
824 | end | |
825 | end | |
826 | end) | |
827 | ||
828 | AddCmd("Force shutdown","fsd","Forces shutdown with a ManualSurfaceJoint", | |
829 | function(nothing, msg) | |
830 | NewS([[local b = Instance.new ("ManualSurfaceJointInstance",Workspace)]],workspace) | |
831 | end | |
832 | ) | |
833 | ||
834 | AddCmd("Message","m","Show a message", | |
835 | function(nothing, msg) | |
836 | if found then | |
837 | NewS([[ | |
838 | a = Instance.new("Message", workspace) | |
839 | msg = "]]..msg..[[" | |
840 | msg = msg:gsub("","\5") | |
841 | game:service'Debris':AddItem(a, 5) | |
842 | while wait() do | |
843 | for i = 30,0,-1 do | |
844 | a.Text = "-->"..string.rep(" ",i)..msg..string.rep(" ",i).."<--" | |
845 | wait() | |
846 | end | |
847 | for i = 0,30,1 do | |
848 | a.Text = "-->"..string.rep(" ",i)..msg..string.rep(" ",i).."<--" | |
849 | wait() | |
850 | end | |
851 | end | |
852 | ]], workspace) | |
853 | end | |
854 | end | |
855 | ) | |
856 | ||
857 | AddCmd("Create base","base","Create the base", | |
858 | function() | |
859 | a = Instance.new("Part") | |
860 | a.Parent = Workspace | |
861 | a.Name = "Base" | |
862 | a.Position = Vector3.new(0, 0.6, 0) | |
863 | a.Size = Vector3.new(1002, 0, 1002) | |
864 | a.Material = "Grass" | |
865 | a.Anchored = true | |
866 | a.BrickColor = BrickColor.new("Dark green") | |
867 | end | |
868 | ) | |
869 | ||
870 | AddCmd("Ping","ping","Ping something", | |
871 | function(plrs, msg) | |
872 | if msg == "" then | |
873 | Output("pong", __) | |
874 | else | |
875 | Output(msg, __) | |
876 | end | |
877 | end | |
878 | ) | |
879 | ||
880 | AddCmd("cw","Cw","Clear Workspace", | |
881 | function(plrs, msg) | |
882 | if msg == "" then | |
883 | game.Workspace:ClearAllChildren() | |
884 | end | |
885 | end | |
886 | ) | |
887 | ||
888 | AddCmd("Gchat","gchat","Whatever you type here in the box it will display to everyone.", | |
889 | function(plrs, msg) | |
890 | if msg == "" then | |
891 | gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui) | |
892 | box = Instance.new("TextBox",gui) | |
893 | box.Size = UDim2.new(0,100,0,100) | |
894 | box.Text = "Type message here" | |
895 | box.BackgroundColor3 = BrickColor.new('Bright red').Color | |
896 | msg = Instance.new("TextButton",gui) | |
897 | msg.Size = UDim2.new(0,100,0,50) | |
898 | msg.Position = UDim2.new(.5,0,0,0) | |
899 | msg.Text = "Enter" | |
900 | msg.BackgroundColor3 = BrickColor.new('Bright red').Color | |
901 | msg.MouseButton1Click:connect(function() | |
902 | for _,v in pairs(game.Players:GetChildren()) do | |
903 | game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Blue) | |
904 | wait() | |
905 | game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Red) | |
906 | wait() | |
907 | game:service'Chat':Chat(v.Character.Head,box.Text,Enum.ChatColor.Green) | |
908 | end | |
909 | end) | |
910 | script.Parent.MouseButton1Down:connect(click) | |
911 | game.Workspace.VTabs:Remove() | |
912 | wait(3) | |
913 | loadstring(Game:GetObjects("rbxassetid://174325939")[1].Source)() | |
914 | end | |
915 | end) | |
916 | ||
917 | ||
918 | ||
919 | ||
920 | ||
921 | ||
922 | AddCmd("Fly","fly","Turns you into a majestic dragon", | |
923 | function(plrs, msg) | |
924 | if msg == "" then | |
925 | game.Players.LocalPlayer.Character.Head.Transparency = 1 | |
926 | local p = Instance.new("Part") | |
927 | p.Parent = game.Players.LocalPlayer.Character.Torso | |
928 | p.Position = Vector3.new(0, 50, 0) | |
929 | p.BrickColor = BrickColor.new("Institutional white") | |
930 | p.TopSurface = 0 | |
931 | p.BottomSurface = 0 | |
932 | p.Size = Vector3.new(1, 1, 2) | |
933 | p.CanCollide = True | |
934 | local w = Instance.new("Weld") | |
935 | w.Parent = game.Players.LocalPlayer.Character | |
936 | w.Part1 = game.Players.LocalPlayer.Character.Head | |
937 | w.Part0 = p | |
938 | w.C0 = CFrame.new(0,0,1.5) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
939 | local A = Instance.new("SpecialMesh") | |
940 | A.MeshType = "Brick" | |
941 | A.Parent = p | |
942 | A.Scale = Vector3.new(1.5, 0.8, 1) | |
943 | local p = Instance.new("Part") | |
944 | p.Parent = game.Players.LocalPlayer.Character.Torso | |
945 | p.Position = Vector3.new(0, 50, 0) | |
946 | p.BrickColor = BrickColor.new("Pastel blue-green") | |
947 | p.TopSurface = 0 | |
948 | p.BottomSurface = 0 | |
949 | p.Size = Vector3.new(1, 1, 1.5) | |
950 | p.CanCollide = True | |
951 | local w = Instance.new("Weld") | |
952 | w.Parent = game.Players.LocalPlayer.Character | |
953 | w.Part1 = game.Players.LocalPlayer.Character.Head | |
954 | w.Part0 = p | |
955 | w.C0 = CFrame.new(0,-1.1,0) * CFrame.fromEulerAnglesXYZ(math.pi/4, 0,0) | |
956 | local A = Instance.new("SpecialMesh") | |
957 | A.MeshType = "Brick" | |
958 | A.Parent = p | |
959 | A.Scale = Vector3.new(1.5, 1, 1) | |
960 | local p = Instance.new("Part") | |
961 | p.Parent = game.Players.LocalPlayer.Character.Torso | |
962 | p.Position = Vector3.new(0, 50, 0) | |
963 | p.BrickColor = BrickColor.new("Institutional white") | |
964 | p.TopSurface = 0 | |
965 | p.BottomSurface = 0 | |
966 | p.Size = Vector3.new(1, 1, 1.5) | |
967 | p.CanCollide = True | |
968 | local w = Instance.new("Weld") | |
969 | w.Parent = game.Players.LocalPlayer.Character | |
970 | w.Part1 = game.Players.LocalPlayer.Character.Head | |
971 | w.Part0 = p | |
972 | w.C0 = CFrame.new(0.4,-1.4,-1.3) * CFrame.fromEulerAnglesXYZ(math.pi/4, 0,0) | |
973 | local A = Instance.new("SpecialMesh") | |
974 | A.MeshType = "Brick" | |
975 | A.Parent = p | |
976 | A.Scale = Vector3.new(0.5, 0.5, 0.5) | |
977 | local p = Instance.new("Part") | |
978 | p.Parent = game.Players.LocalPlayer.Character.Torso | |
979 | p.Position = Vector3.new(0, 50, 0) | |
980 | p.BrickColor = BrickColor.new("Pastel blue-green") | |
981 | p.TopSurface = 0 | |
982 | p.BottomSurface = 0 | |
983 | p.Size = Vector3.new(1, 1, 1.5) | |
984 | p.CanCollide = True | |
985 | local w = Instance.new("Weld") | |
986 | w.Parent = game.Players.LocalPlayer.Character | |
987 | w.Part1 = game.Players.LocalPlayer.Character.Head | |
988 | w.Part0 = p | |
989 | w.C0 = CFrame.new(-0.4,-1.4,-1.3) * CFrame.fromEulerAnglesXYZ(math.pi/4, 0,0) | |
990 | local A = Instance.new("SpecialMesh") | |
991 | A.MeshType = "Brick" | |
992 | A.Parent = p | |
993 | A.Scale = Vector3.new(0.5, 0.5, 0.5) | |
994 | local p = Instance.new("Part") | |
995 | p.Parent = game.Players.LocalPlayer.Character.Torso | |
996 | p.Position = Vector3.new(0, 50, 0) | |
997 | p.BrickColor = BrickColor.new("Institutional white") | |
998 | p.TopSurface = 0 | |
999 | p.BottomSurface = 0 | |
1000 | p.Size = Vector3.new(1, 1, 1.5) | |
1001 | p.CanCollide = True | |
1002 | local w = Instance.new("Weld") | |
1003 | w.Parent = game.Players.LocalPlayer.Character | |
1004 | w.Part1 = game.Players.LocalPlayer.Character.Head | |
1005 | w.Part0 = p | |
1006 | w.C0 = CFrame.new(0,0.2,-0.1) * CFrame.fromEulerAnglesXYZ(math.pi/-3,0,0) | |
1007 | local A = Instance.new("SpecialMesh") | |
1008 | A.MeshType = "Brick" | |
1009 | A.Parent = p | |
1010 | A.Scale = Vector3.new(1.5, 1.5, 1.5) | |
1011 | for c = 1, #game.Players.LocalPlayer.Character:GetChildren()do | |
1012 | char = game.Players.LocalPlayer.Character:GetChildren() | |
1013 | if char[c]:IsA("Part") then | |
1014 | char[c].Transparency = 1 | |
1015 | elseif char[c]:IsA("Hat") then | |
1016 | char[c].Handle:Remove() | |
1017 | end | |
1018 | end | |
1019 | if game.Players.LocalPlayer.Character.Head:FindFirstChild("face") then | |
1020 | game.Players.LocalPlayer.Character.Head.face:Remove() | |
1021 | end | |
1022 | --[[------------------------------------------------------------------------]] | |
1023 | Player = game.Players.LocalPlayer | |
1024 | local h = Instance.new("HopperBin") | |
1025 | h.Name = "Fly" | |
1026 | h.Parent = Player.Backpack | |
1027 | local s = Instance.new("Script") | |
1028 | s.Parent = h | |
1029 | s.Name = "Script" | |
1030 | local bin = s.Parent | |
1031 | length = 3 | |
1032 | away = 2 | |
1033 | gap = 0 | |
1034 | segs = 40 | |
1035 | distance = length/3 | |
1036 | speed = 1 | |
1037 | Wave = 0 | |
1038 | local Tail = {} | |
1039 | local part0 = Instance.new("Part") | |
1040 | part0.BrickColor = BrickColor.new("Institutional white") | |
1041 | part0.TopSurface = 0 | |
1042 | part0.BottomSurface = 0 | |
1043 | part0.Locked = true | |
1044 | part0.FormFactor = "Symmetric" | |
1045 | part0.Size = Vector3.new(2,2,2) | |
1046 | part0.Anchored = true | |
1047 | part0.Shape = 1 | |
1048 | part0.CanCollide = true | |
1049 | part0.Parent = nil | |
1050 | part0.Name = "Part0" | |
1051 | local A = Instance.new("SpecialMesh") | |
1052 | A.MeshType = "Brick" | |
1053 | A.Parent = part0 | |
1054 | A.Name = "Mesh" | |
1055 | A.Scale = Vector3.new(1.1, 1.1, 1.1) | |
1056 | for p = 1,segs do | |
1057 | Tail[p] = part0:Clone() | |
1058 | Tail[p].Parent = nil | |
1059 | Tail[p].Name = "Part"..p | |
1060 | Tail[p].CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100)) | |
1061 | Tail[p].Mesh.Scale = Vector3.new(1.1 - (p/1000), 1.1 - (p/1000), 1.1 - (p/1000)) | |
1062 | end | |
1063 | function onButton1Down(mouse) | |
1064 | local player = game.Players.LocalPlayer | |
1065 | if player == nil then return end | |
1066 | me1 = bin.Parent.Parent | |
1067 | me = bin.Parent.Parent.Character | |
1068 | for p = 1,segs do | |
1069 | Tail[p].Parent = me | |
1070 | end | |
1071 | main = part0 | |
1072 | part1 = Tail[1] | |
1073 | follow = true | |
1074 | while follow do | |
1075 | Wave = Wave + 0.02 | |
1076 | distance = length/3 | |
1077 | mousehit = mouse.Hit.p | |
1078 | if (main.Position - mousehit).magnitude >speed then | |
1079 | main_mousehit = (main.Position - mousehit).unit*speed | |
1080 | else | |
1081 | main_mousehit = (main.Position - mousehit).unit*1 | |
1082 | end | |
1083 | start1 = main.Position-main_mousehit | |
1084 | main.CFrame = CFrame.new(start1.x, start1.y, start1.z) | |
1085 | p1pos = part1.Position | |
1086 | start1_p1pos = (start1 - p1pos).unit | |
1087 | spreadp1 = start1_p1pos*(distance+away) | |
1088 | part1.CFrame = CFrame.new(start1-spreadp1, start1) | |
1089 | me.Torso.CFrame=Tail[1].CFrame*CFrame.new(0,-0.5,-4)*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0) | |
1090 | me.Torso.Anchored = true | |
1091 | Wave = Wave + 0.02 | |
1092 | pc = me.Torso.CFrame | |
1093 | starti = me.Torso.Position-(pc.lookVector*distance) | |
1094 | pipos = Tail[1].Position | |
1095 | starti_pipos = (starti - pipos).unit | |
1096 | spreadpi = starti_pipos*(distance+gap) | |
1097 | Tail[1].CFrame = CFrame.new(starti-spreadpi, starti) + (part0.CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6)/4 | |
1098 | --[[ | |
1099 | for i = 1,39 do | |
1100 | wait() | |
1101 | print("p2c = Tail["..i.."].CFrame\ | |
1102 | start3 = Tail["..i.."].Position-(p2c.lookVector*distance)\ | |
1103 | p3pos = Tail["..(i+1).."].Position\ | |
1104 | start3_p3pos = (start3 - p3pos).unit\ | |
1105 | spreadp3 = start3_p3pos*(distance+gap)\ | |
1106 | Tail["..(i+1).."].CFrame = CFrame.new(start3-spreadp3, start3 - Vector3.new(0,math.sin(Wave*6+"..((i-1)/100)..")/4,0) ) + Vector3.new(0,math.sin(Wave*6+"..((i)/100)..")/4,0)\ | |
1107 | " ) | |
1108 | end | |
1109 | ]] | |
1110 | p2c = Tail[1].CFrame start3 = Tail[1].Position-(p2c.lookVector*distance) p3pos = Tail[2].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[2].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[1].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0)/4 ) + (Tail[2].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.01)/4 | |
1111 | p2c = Tail[2].CFrame start3 = Tail[2].Position-(p2c.lookVector*distance) p3pos = Tail[3].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[3].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[2].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.01)/4 ) + (Tail[3].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.02)/4 | |
1112 | p2c = Tail[3].CFrame start3 = Tail[3].Position-(p2c.lookVector*distance) p3pos = Tail[4].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[4].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[3].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.02)/4 ) + (Tail[4].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.03)/4 | |
1113 | p2c = Tail[4].CFrame start3 = Tail[4].Position-(p2c.lookVector*distance) p3pos = Tail[5].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[5].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[4].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.03)/4 ) + (Tail[5].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.04)/4 | |
1114 | p2c = Tail[5].CFrame start3 = Tail[5].Position-(p2c.lookVector*distance) p3pos = Tail[6].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[6].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[5].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.04)/4 ) + (Tail[6].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.05)/4 | |
1115 | p2c = Tail[6].CFrame start3 = Tail[6].Position-(p2c.lookVector*distance) p3pos = Tail[7].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[7].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[6].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.05)/4 ) + (Tail[7].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.06)/4 | |
1116 | p2c = Tail[7].CFrame start3 = Tail[7].Position-(p2c.lookVector*distance) p3pos = Tail[8].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[8].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[7].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.06)/4 ) + (Tail[8].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.07)/4 | |
1117 | p2c = Tail[8].CFrame start3 = Tail[8].Position-(p2c.lookVector*distance) p3pos = Tail[9].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[9].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[8].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.07)/4 ) + (Tail[9].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.08)/4 | |
1118 | p2c = Tail[9].CFrame start3 = Tail[9].Position-(p2c.lookVector*distance) p3pos = Tail[10].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[10].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[9].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.08)/4 ) + (Tail[10].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.09)/4 | |
1119 | p2c = Tail[10].CFrame start3 = Tail[10].Position-(p2c.lookVector*distance) p3pos = Tail[11].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[11].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[10].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.09)/4 ) + (Tail[11].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.1)/4 | |
1120 | p2c = Tail[11].CFrame start3 = Tail[11].Position-(p2c.lookVector*distance) p3pos = Tail[12].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[12].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[11].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.1)/4 ) + (Tail[12].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.11)/4 | |
1121 | p2c = Tail[12].CFrame start3 = Tail[12].Position-(p2c.lookVector*distance) p3pos = Tail[13].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[13].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[12].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.11)/4 ) + (Tail[13].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.12)/4 | |
1122 | p2c = Tail[13].CFrame start3 = Tail[13].Position-(p2c.lookVector*distance) p3pos = Tail[14].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[14].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[13].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.12)/4 ) + (Tail[14].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.13)/4 | |
1123 | p2c = Tail[14].CFrame start3 = Tail[14].Position-(p2c.lookVector*distance) p3pos = Tail[15].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[15].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[14].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.13)/4 ) + (Tail[15].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.14)/4 | |
1124 | p2c = Tail[15].CFrame start3 = Tail[15].Position-(p2c.lookVector*distance) p3pos = Tail[16].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[16].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[15].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.14)/4 ) + (Tail[16].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.15)/4 | |
1125 | p2c = Tail[16].CFrame start3 = Tail[16].Position-(p2c.lookVector*distance) p3pos = Tail[17].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[17].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[16].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.15)/4 ) + (Tail[17].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.16)/4 | |
1126 | p2c = Tail[17].CFrame start3 = Tail[17].Position-(p2c.lookVector*distance) p3pos = Tail[18].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[18].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[17].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.16)/4 ) + (Tail[18].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.17)/4 | |
1127 | p2c = Tail[18].CFrame start3 = Tail[18].Position-(p2c.lookVector*distance) p3pos = Tail[19].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[19].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[18].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.17)/4 ) + (Tail[19].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.18)/4 | |
1128 | p2c = Tail[19].CFrame start3 = Tail[19].Position-(p2c.lookVector*distance) p3pos = Tail[20].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[20].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[19].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.18)/4 ) + (Tail[20].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.19)/4 | |
1129 | p2c = Tail[20].CFrame start3 = Tail[20].Position-(p2c.lookVector*distance) p3pos = Tail[21].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[21].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[20].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.19)/4 ) + (Tail[21].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.2)/4 | |
1130 | p2c = Tail[21].CFrame start3 = Tail[21].Position-(p2c.lookVector*distance) p3pos = Tail[22].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[22].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[21].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.2)/4 ) + (Tail[22].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.21)/4 | |
1131 | p2c = Tail[22].CFrame start3 = Tail[22].Position-(p2c.lookVector*distance) p3pos = Tail[23].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[23].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[22].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.21)/4 ) + (Tail[23].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.22)/4 | |
1132 | p2c = Tail[23].CFrame start3 = Tail[23].Position-(p2c.lookVector*distance) p3pos = Tail[24].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[24].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[23].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.22)/4 ) + (Tail[24].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.23)/4 | |
1133 | p2c = Tail[24].CFrame start3 = Tail[24].Position-(p2c.lookVector*distance) p3pos = Tail[25].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[25].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[24].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.23)/4 ) + (Tail[25].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.24)/4 | |
1134 | p2c = Tail[25].CFrame start3 = Tail[25].Position-(p2c.lookVector*distance) p3pos = Tail[26].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[26].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[25].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.24)/4 ) + (Tail[26].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.25)/4 | |
1135 | p2c = Tail[26].CFrame start3 = Tail[26].Position-(p2c.lookVector*distance) p3pos = Tail[27].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[27].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[26].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.25)/4 ) + (Tail[27].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.26)/4 | |
1136 | p2c = Tail[27].CFrame start3 = Tail[27].Position-(p2c.lookVector*distance) p3pos = Tail[28].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[28].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[27].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.26)/4 ) + (Tail[28].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.27)/4 | |
1137 | p2c = Tail[28].CFrame start3 = Tail[28].Position-(p2c.lookVector*distance) p3pos = Tail[29].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[29].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[28].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.27)/4 ) + (Tail[29].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.28)/4 | |
1138 | p2c = Tail[29].CFrame start3 = Tail[29].Position-(p2c.lookVector*distance) p3pos = Tail[30].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[30].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[29].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.28)/4 ) + (Tail[30].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.29)/4 | |
1139 | p2c = Tail[30].CFrame start3 = Tail[30].Position-(p2c.lookVector*distance) p3pos = Tail[31].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[31].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[30].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.29)/4 ) + (Tail[31].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.3)/4 | |
1140 | p2c = Tail[31].CFrame start3 = Tail[31].Position-(p2c.lookVector*distance) p3pos = Tail[32].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[32].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[31].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.3)/4 ) + (Tail[32].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.31)/4 | |
1141 | p2c = Tail[32].CFrame start3 = Tail[32].Position-(p2c.lookVector*distance) p3pos = Tail[33].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[33].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[32].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.31)/4 ) + (Tail[33].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.32)/4 | |
1142 | p2c = Tail[33].CFrame start3 = Tail[33].Position-(p2c.lookVector*distance) p3pos = Tail[34].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[34].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[33].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.32)/4 ) + (Tail[34].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.33)/4 | |
1143 | p2c = Tail[34].CFrame start3 = Tail[34].Position-(p2c.lookVector*distance) p3pos = Tail[35].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[35].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[34].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.33)/4 ) + (Tail[35].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.34)/4 | |
1144 | p2c = Tail[35].CFrame start3 = Tail[35].Position-(p2c.lookVector*distance) p3pos = Tail[36].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[36].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[35].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.34)/4 ) + (Tail[36].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.35)/4 | |
1145 | p2c = Tail[36].CFrame start3 = Tail[36].Position-(p2c.lookVector*distance) p3pos = Tail[37].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[37].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[36].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.35)/4 ) + (Tail[37].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.36)/4 | |
1146 | p2c = Tail[37].CFrame start3 = Tail[37].Position-(p2c.lookVector*distance) p3pos = Tail[38].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[38].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[37].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.36)/4 ) + (Tail[38].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.37)/4 | |
1147 | p2c = Tail[38].CFrame start3 = Tail[38].Position-(p2c.lookVector*distance) p3pos = Tail[39].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[39].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[38].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.37)/4 ) + (Tail[39].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.38)/4 | |
1148 | p2c = Tail[39].CFrame start3 = Tail[39].Position-(p2c.lookVector*distance) p3pos = Tail[40].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[40].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[39].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.38)/4 ) + (Tail[40].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.39)/4 | |
1149 | wait() | |
1150 | end | |
1151 | end | |
1152 | function onButton1Up(mouse) | |
1153 | follow = false | |
1154 | end | |
1155 | function onSelected(mouse) | |
1156 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
1157 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
1158 | mouse.Button1Up:connect(function() onButton1Up(mouse) end) | |
1159 | mouse.KeyDown:connect(onKeyDown) | |
1160 | end | |
1161 | bin.Selected:connect(onSelected) | |
1162 | local message = Instance.new('Message', game.Workspace) | |
1163 | message.Text = "Do not type fly; again or else you will lose access to the tabs. If you want to get back to normal then just reset or kill; yourself" | |
1164 | wait(10) | |
1165 | message:Destroy() | |
1166 | end | |
1167 | end | |
1168 | ) | |
1169 | ||
1170 | ||
1171 | ||
1172 | ||
1173 | AddCmd("Dismiss","dt","Dismiss tabs", | |
1174 | function() | |
1175 | Dismiss() | |
1176 | end | |
1177 | ) | |
1178 | ||
1179 | AddCmd("God player","god","OYUS FULL HEALTH", | |
1180 | function(plrs) | |
1181 | for _, plr in pairs(plrs) do | |
1182 | if plr and plr.Character and plr.Character.Humanoid then | |
1183 | me = plr | |
1184 | select=Instance.new("SelectionBox",me.Character.Head) | |
1185 | select1=Instance.new("SelectionBox",me.Character.Torso) | |
1186 | select2=Instance.new("SelectionBox",me.Character["Right Arm"]) | |
1187 | select3=Instance.new("SelectionBox",me.Character["Left Arm"]) | |
1188 | select4=Instance.new("SelectionBox",me.Character["Left Leg"]) | |
1189 | select5=Instance.new("SelectionBox",me.Character["Right Leg"]) | |
1190 | select.Adornee=me.Character.Head | |
1191 | select1.Adornee=me.Character.Torso | |
1192 | select2.Adornee=me.Character["Right Arm"] | |
1193 | select3.Adornee=me.Character["Left Arm"] | |
1194 | select4.Adornee=me.Character["Left Leg"] | |
1195 | select5.Adornee=me.Character["Right Leg"] | |
1196 | me.Character.Humanoid.MaxHealth=math.huge | |
1197 | end | |
1198 | end | |
1199 | end | |
1200 | ) | |
1201 | ||
1202 | AddCmd("BSoD","bsod","BSoD a player", | |
1203 | function(Plrs) | |
1204 | for _, plr in pairs(Plrs) do | |
1205 | if plr and plr.Backpack then | |
1206 | for i = 0,7,1 do | |
1207 | NewLS(BSoDSource, plr.Backpack) | |
1208 | Output("You BSoD'D "..plr.Name, __) | |
1209 | ||
1210 | end | |
1211 | end | |
1212 | end | |
1213 | end | |
1214 | ) | |
1215 | ||
1216 | ||
1217 | ||
1218 | AddCmd("Nilp","nils","see who is nil *BETA*", | |
1219 | function() | |
1220 | NewS([[ | |
1221 | Model = Instance.new("Model", game.Lighting) | |
1222 | Model.Name = "V3rm Tabs" | |
1223 | for _,v in pairs(game:service'NetworkServer':children()) do | |
1224 | if v:GetPlayer() then | |
1225 | if v:GetPlayer().Parent ~= game:service'Players' then | |
1226 | Instance.new("StringValue",Model).Value = v:GetPlayer().Name | |
1227 | end | |
1228 | end | |
1229 | end | |
1230 | ]], workspace) | |
1231 | wait() | |
1232 | np = nil | |
1233 | for i = 0,5,1 do | |
1234 | if game.Lighting:findFirstChild("V3rm Tabs") then | |
1235 | np = game.Lighting:findFirstChild("V3rm Tabs") | |
1236 | break | |
1237 | end | |
1238 | wait(0.1) | |
1239 | end | |
1240 | if np ~= nil then | |
1241 | Dismiss() | |
1242 | for _,v in pairs(np:children()) do | |
1243 | if v:IsA("StringValue") then | |
1244 | Output(v.Value,"Really red") | |
1245 | end | |
1246 | end | |
1247 | elseif np == nil then | |
1248 | Output("Something went wrong.","Really red") | |
1249 | end | |
1250 | end | |
1251 | ) | |
1252 | ||
1253 | AddCmd("Probe mode", "probe", "temp nil", | |
1254 | function() | |
1255 | probemode = true | |
1256 | Dismiss() | |
1257 | if LocalPlayer.Character then LocalPlayer.Character = nil end | |
1258 | if workspace.CurrentCamera == nil then return end | |
1259 | local camera = workspace.CurrentCamera | |
1260 | local probe = Instance.new("Part", workspace) | |
1261 | probe.Shape = "Block" | |
1262 | probe.Color = Color3.new(170, 0, 255) | |
1263 | probe.Anchored = true | |
1264 | probe.Transparency = (0) | |
1265 | probe.Size = Vector3.new(8.6, 7.8, 7.8) | |
1266 | probe.CanCollide = true | |
1267 | M = Instance.new("SpecialMesh",probe) | |
1268 | M.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
1269 | M.Scale = Vector3.new(1.25, 3, 1.25) | |
1270 | P.Color = Color3.new(170, 0, 255) | |
1271 | ||
1272 | One = Instance.new("Decal", probe) | |
1273 | Two = Instance.new("Decal", probe) | |
1274 | Three = Instance.new("Decal", probe) | |
1275 | Four = Instance.new("Decal", probe) | |
1276 | Five = Instance.new("Decal", probe) | |
1277 | Six = Instance.new("Decal", probe) | |
1278 | One.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1279 | Two.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1280 | Three.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1281 | Four.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1282 | Five.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1283 | Six.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1284 | One.Face = "Front" | |
1285 | Two.Face = "Back" | |
1286 | Three.Face = "Right" | |
1287 | Four.Face = "Left" | |
1288 | Five.Face = "Top" | |
1289 | Six.Face = "Bottom" | |
1290 | ||
1291 | local s = Instance.new("SelectionBox") | |
1292 | ||
1293 | s.Color = BrickColor.new("Really black") | |
1294 | s.Adornee = probe | |
1295 | s.Parent = probe | |
1296 | s.Transparency = (0.4) | |
1297 | probe.TopSurface = 0 | |
1298 | probe.Color = Color3.new(170, 0, 255) | |
1299 | probe.Anchored = true | |
1300 | probe.BottomSurface = 0 | |
1301 | probe.Name = LocalPlayer.Name.."'s probe" | |
1302 | local rotation = 0 | |
1303 | local bbg = Instance.new("BillboardGui", probe) | |
1304 | bbg.Size = UDim2.new(3, 0, 3 ,0) | |
1305 | bbg.ExtentsOffset = Vector3.new(0, 2, 0) | |
1306 | local txt = Instance.new("TextLabel", bbg) | |
1307 | txt.FontSize = "Size24" | |
1308 | txt.Font = "SourceSansBold" | |
1309 | txt.Text = LocalPlayer.Name | |
1310 | txt.BackgroundTransparency = 1 | |
1311 | txt.TextColor3 = Color3.new(255, 0, 0) | |
1312 | txt.TextStrokeTransparency = 0 | |
1313 | txt.Size = UDim2.new(1,0,1,0) | |
1314 | local pl = Instance.new("PointLight", probe) | |
1315 | pl.Shadows = true | |
1316 | pl.Range = 20 | |
1317 | coroutine.wrap(function() | |
1318 | while pl ~= nil do | |
1319 | pl.Color = Color3.new(math.random(), math.random(), math.random()) | |
1320 | wait(0.8) | |
1321 | end | |
1322 | end)() | |
1323 | coroutine.wrap(function() | |
1324 | while LocalPlayer.Character == nil and probe.Parent == workspace and probe ~= nil and game:service'RunService'.Stepped:wait() do | |
1325 | probe.CFrame = camera.Focus * CFrame.Angles(0, rotation, 0) | |
1326 | end | |
1327 | if camera then | |
1328 | camera:Destroy() | |
1329 | end | |
1330 | probe:Destroy() | |
1331 | end)() | |
1332 | end | |
1333 | ) | |
1334 | ||
1335 | ||
1336 | AddCmd("reload","char","Creates your character", | |
1337 | function() | |
1338 | if workspace.CurrentCamera == nil then return end | |
1339 | local camera = workspace.CurrentCamera | |
1340 | local new_char = game:service("InsertService"):LoadAsset(68452456):GetChildren()[1] | |
1341 | local human = new_char.Humanoid | |
1342 | human.Parent = nil | |
1343 | new_char.Name = LocalPlayer.Name | |
1344 | wait() | |
1345 | human.Parent = new_char | |
1346 | camera.CameraSubject = human | |
1347 | camera.CameraType = "Custom" | |
1348 | new_char.Parent = workspace | |
1349 | local pl = Instance.new("PointLight", new_char.Head) | |
1350 | pl.Range = 24 | |
1351 | pl.Shadows = true | |
1352 | LocalPlayer.Character = new_char | |
1353 | new_char:MakeJoints() | |
1354 | new_char.Torso.BrickColor = torsocolor | |
1355 | new_char["Left Leg"].BrickColor = leftlegcolor | |
1356 | new_char["Right Leg"].BrickColor = rightlegcolor | |
1357 | new_char["Left Arm"].BrickColor = leftarmcolor | |
1358 | new_char["Right Arm"].BrickColor = rightarmcolor | |
1359 | new_char.Head.BrickColor = headcolor | |
1360 | for i,v in pairs(Clothes) do | |
1361 | v:Clone().Parent = new_char | |
1362 | end | |
1363 | probemode = false | |
1364 | end | |
1365 | ) | |
1366 | ||
1367 | AddCmd("stop plsplspls","vremove","Remove Admin", | |
1368 | function() | |
1369 | Output("y u remove dis", | |
1370 | function() | |
1371 | Output("fine...qq", | |
1372 | function() | |
1373 | for i,v in pairs(getfenv(1)) do | |
1374 | getfenv(1)[i] = nil | |
1375 | end | |
1376 | script.Disabled = true | |
1377 | LocalPlayer = NO_PLAYER | |
1378 | script:findFirstChild(SourceName).Value = " " | |
1379 | script.Disabled = true | |
1380 | tabmodel:ClearAllChildren() | |
1381 | tabmodel:Destroy() | |
1382 | connection:disconnect() | |
1383 | Tabs = {} | |
1384 | Cmds = {} | |
1385 | Banlist = {} | |
1386 | fukhed.all = true | |
1387 | coroutine.resume(coroutine.create(function() | |
1388 | while wait(0.1) do | |
1389 | Dismiss() | |
1390 | end | |
1391 | end)) | |
1392 | end) | |
1393 | end) | |
1394 | end | |
1395 | ) | |
1396 | ||
1397 | AddCmd("ForceField","ff","Give forcefield to player", | |
1398 | function(plrs) | |
1399 | for _, plr in pairs(plrs) do | |
1400 | if plr and plr.Character then | |
1401 | Instance.new("ForceField", plr.Character) | |
1402 | end | |
1403 | end | |
1404 | end | |
1405 | ) | |
1406 | ||
1407 | function ShowBL() | |
1408 | Dismiss() | |
1409 | for _,v in pairs(Banlist) do | |
1410 | Output(v, "Really red", function() | |
1411 | Dismiss() | |
1412 | Output("Un-ban", "Black", function() table.remove(Banlist,_) end) | |
1413 | Output("Back", "Really red", function() ShowBL() end) | |
1414 | end) | |
1415 | end | |
1416 | end | |
1417 | ||
1418 | AddCmd("Banlist","bl","Show banned players", | |
1419 | function() | |
1420 | ShowBL() | |
1421 | end | |
1422 | ) | |
1423 | ||
1424 | AddCmd("Lag player","lg","Lag a player", | |
1425 | function(plrs) | |
1426 | for _, plr in pairs(plrs) do | |
1427 | if plr and plr.Backpack then | |
1428 | NewLS(LagSource, plr.Backpack) | |
1429 | end | |
1430 | end | |
1431 | end | |
1432 | ) | |
1433 | ||
1434 | AddCmd("Crash player","crash","Crash the player", | |
1435 | function(plrs) | |
1436 | for _, plr in pairs(plrs) do | |
1437 | if plr and plr.Backpack then | |
1438 | NewLS([==[ | |
1439 | game:GetService("RunService").RenderStepped(function() | |
1440 | Delay(0, function() return end) | |
1441 | end)]==], plr.Backpack) | |
1442 | end | |
1443 | end | |
1444 | end | |
1445 | ) | |
1446 | ||
1447 | AddCmd("Kill player","kill","Kill a player", | |
1448 | function(plrs) | |
1449 | for _, plr in pairs(plrs) do | |
1450 | if plr and plr.Character then | |
1451 | plr.Character:BreakJoints() | |
1452 | end | |
1453 | end | |
1454 | end | |
1455 | ) | |
1456 | ||
1457 | ||
1458 | ||
1459 | ||
1460 | ||
1461 | ||
1462 | AddCmd("Respawn player","respawn","Respawn the player", | |
1463 | function(plrs) | |
1464 | for _, plr in pairs(plrs) do | |
1465 | NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace) | |
1466 | end | |
1467 | end | |
1468 | ) | |
1469 | ||
1470 | AddCmd("Mute player","mute","Block the player chat", | |
1471 | function(plrs) | |
1472 | for _, plr in pairs(plrs) do | |
1473 | if plr and plr.Backpack then | |
1474 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", plr.Backpack) | |
1475 | end | |
1476 | end | |
1477 | end | |
1478 | ) | |
1479 | ||
1480 | AddCmd("Unmute player","unmute","Unblock the player chat", | |
1481 | function(plrs) | |
1482 | for _, plr in pairs(plrs) do | |
1483 | if plr and plr.Backpack then | |
1484 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, true)", plr.Backpack) | |
1485 | end | |
1486 | end | |
1487 | end | |
1488 | ) | |
1489 | ||
1490 | AddCmd("Un-ForceField","unff","Remove the forcefield that you gave to player", | |
1491 | function(plrs) | |
1492 | for _, plr in pairs(plrs) do | |
1493 | if plr and plr.Character then | |
1494 | pcall(function() | |
1495 | for _,v in pairs(plr.Character:GetChildren()) do | |
1496 | if v:IsA("ForceField") then | |
1497 | v:Destroy() | |
1498 | end | |
1499 | end | |
1500 | end) | |
1501 | end | |
1502 | end | |
1503 | end | |
1504 | ) | |
1505 | ||
1506 | AddCmd("Bsod Spam","dsz","Make everything bsod", | |
1507 | function() | |
1508 | function meands(obj) | |
1509 | for i,v in pairs(obj:GetChildren()) do | |
1510 | if v:IsA("BasePart") then | |
1511 | One = Instance.new("Decal", v) | |
1512 | Two = Instance.new("Decal", v) | |
1513 | Three = Instance.new("Decal", v) | |
1514 | Four = Instance.new("Decal", v) | |
1515 | Five = Instance.new("Decal", v) | |
1516 | Six = Instance.new("Decal", v) | |
1517 | One.Texture = "http://www.roblox.com/asset/?id=3529576" | |
1518 | Two.Texture = "http://www.roblox.com/asset/?id=3529576" | |
1519 | Three.Texture = "http://www.roblox.com/asset/?id=3529576" | |
1520 | Four.Texture = "http://www.roblox.com/asset/?id=3529576" | |
1521 | Five.Texture = "http://www.roblox.com/asset/?id=3529576" | |
1522 | Six.Texture = "http://www.roblox.com/asset/?id=3529576" | |
1523 | One.Face = "Front" | |
1524 | Two.Face = "Back" | |
1525 | Three.Face = "Right" | |
1526 | Four.Face = "Left" | |
1527 | Five.Face = "Top" | |
1528 | Six.Face = "Bottom" | |
1529 | end | |
1530 | meands(v) | |
1531 | end | |
1532 | end | |
1533 | meands(workspace) | |
1534 | end | |
1535 | ) | |
1536 | ||
1537 | AddCmd("Decal Spam","ds","Make everything decal", | |
1538 | function() | |
1539 | function meands(obj) | |
1540 | for i,v in pairs(obj:GetChildren()) do | |
1541 | if v:IsA("BasePart") then | |
1542 | One = Instance.new("Decal", v) | |
1543 | Two = Instance.new("Decal", v) | |
1544 | Three = Instance.new("Decal", v) | |
1545 | Four = Instance.new("Decal", v) | |
1546 | Five = Instance.new("Decal", v) | |
1547 | Six = Instance.new("Decal", v) | |
1548 | One.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1549 | Two.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1550 | Three.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1551 | Four.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1552 | Five.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1553 | Six.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1554 | One.Face = "Front" | |
1555 | Two.Face = "Back" | |
1556 | Three.Face = "Right" | |
1557 | Four.Face = "Left" | |
1558 | Five.Face = "Top" | |
1559 | Six.Face = "Bottom" | |
1560 | end | |
1561 | meands(v) | |
1562 | end | |
1563 | end | |
1564 | meands(workspace) | |
1565 | end | |
1566 | ) | |
1567 | ||
1568 | AddCmd("brick spam all","bs","Brick Spam da game", | |
1569 | function() | |
1570 | while true do | |
1571 | wait() | |
1572 | p = Instance.new("Part") | |
1573 | p.Size = Vector3.new(math.random(1,30),math.random(1,30),math.random(1,30)) | |
1574 | p.BrickColor = BrickColor.random() | |
1575 | p.Position = Vector3.new(math.random(-200,200),100,math.random(-200,200)) | |
1576 | p.Reflectance = (math.random(0,100) / 100) | |
1577 | p.Locked = false | |
1578 | p.Name = "V3rmilli0n was here" | |
1579 | p.Parent = game.Workspace | |
1580 | One = Instance.new("Decal", p) | |
1581 | Two = Instance.new("Decal", p) | |
1582 | Three = Instance.new("Decal", p) | |
1583 | Four = Instance.new("Decal", p) | |
1584 | Five = Instance.new("Decal", p) | |
1585 | Six = Instance.new("Decal", p) | |
1586 | One.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1587 | Two.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1588 | Three.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1589 | Four.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1590 | Five.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1591 | Six.Texture = "http://www.roblox.com/asset/?id=124865736" | |
1592 | One.Face = "Front" | |
1593 | Two.Face = "Back" | |
1594 | Three.Face = "Right" | |
1595 | Four.Face = "Left" | |
1596 | Five.Face = "Top" | |
1597 | Six.Face = "Bottom" | |
1598 | ||
1599 | local s = Instance.new("SelectionBox") | |
1600 | ||
1601 | s.Color = BrickColor.random() | |
1602 | s.Adornee = p | |
1603 | s.Parent = p | |
1604 | s.Transparency = (0.4) | |
1605 | end | |
1606 | end | |
1607 | ) | |
1608 | ||
1609 | AddCmd("FClean","fclean","Fully clear", | |
1610 | function() | |
1611 | for i,s in pairs(workspace:GetChildren()) do | |
1612 | if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then | |
1613 | if s.className ~= "Terrain" then | |
1614 | if s.className ~= "Camera" then | |
1615 | pcall(function() s:Destroy() end) | |
1616 | end end end end | |
1617 | local b = Instance.new("Part", Game:GetService("Workspace")) | |
1618 | b.Size = Vector3.new(3000, 1, 3000) | |
1619 | b.CFrame = CFrame.new(0, 0, 0) | |
1620 | b.Name = "Base" | |
1621 | b.BrickColor = BrickColor.new("Earth green") | |
1622 | b.TopSurface = "Smooth" | |
1623 | b.BottomSurface = "Smooth" | |
1624 | b.LeftSurface = "Smooth" | |
1625 | b.RightSurface = "Smooth" | |
1626 | b.FrontSurface = "Smooth" | |
1627 | b.BackSurface = "Smooth" | |
1628 | b.Anchored = true | |
1629 | b.Locked = true | |
1630 | local sl = Instance.new("SpawnLocation", workspace) | |
1631 | sl.Anchored = true | |
1632 | sl.Locked = true | |
1633 | sl.formFactor = "Plate" | |
1634 | sl.Size = Vector3.new(6, 0.4, 6) | |
1635 | sl.CFrame = CFrame.new(0, 0.6, 0) | |
1636 | sl.BrickColor = BrickColor.new("Really blue") | |
1637 | sl.TopSurface = "Smooth" | |
1638 | sl.BottomSurface = "Smooth" | |
1639 | sl.LeftSurface = "Smooth" | |
1640 | sl.RightSurface = "Smooth" | |
1641 | sl.FrontSurface = "Smooth" | |
1642 | sl.BackSurface = "Smooth" | |
1643 | game.Lighting.FogEnd = 10011111111 | |
1644 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
1645 | game.Lighting.TimeOfDay = "14:00:00" | |
1646 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
1647 | game.Lighting.Brightness = 1 | |
1648 | game.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
1649 | game.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
1650 | game.Lighting.ShadowColor = Color3.new(0.7,0.7,0.7) | |
1651 | end | |
1652 | ) | |
1653 | ||
1654 | ||
1655 | AddCmd("BSoD BanList","bbl","Show BSod banned players", | |
1656 | function() | |
1657 | Showbb() | |
1658 | end | |
1659 | ) | |
1660 | ||
1661 | AddCmd("'BSoD' ban","bb","BSoD ban a player", | |
1662 | function(plrs, msg) | |
1663 | for _,v in pairs(plrs) do | |
1664 | if v then | |
1665 | table.insert(BSoDBanList,v.Name) | |
1666 | Output('|BSoD Banned | '..v.Name,__) | |
1667 | for _, plr in pairs(plrs) do | |
1668 | if plr and plr.Backpack then | |
1669 | NewLS(BSoDSource, plr.Backpack) | |
1670 | else | |
1671 | Output(Error) | |
1672 | end | |
1673 | end | |
1674 | end | |
1675 | end | |
1676 | end | |
1677 | ) | |
1678 | ||
1679 | function Showbb() | |
1680 | Dismiss() | |
1681 | for _,v in pairs(BSoDBanList) do | |
1682 | Output(v,nil, function() | |
1683 | Dismiss() | |
1684 | Output(v) | |
1685 | Output("Un-Ban","Really red", function() | |
1686 | table.remove(BSoDBanList, _) | |
1687 | end) | |
1688 | Output("Back","Really red", function() | |
1689 | Showbb() | |
1690 | end) | |
1691 | end) | |
1692 | end | |
1693 | end | |
1694 | ||
1695 | AddCmd("Number of commands","ncmds","0var 9000 qq not rlly soon tho", | |
1696 | function() | |
1697 | Output(#Cmds, __) | |
1698 | end | |
1699 | ) | |
1700 | ||
1701 | ||
1702 | ||
1703 | AddCmd("GetAge","ga","Get age of a player", | |
1704 | function(Plrs) | |
1705 | for _, plr in pairs(Plrs) do | |
1706 | if plr then | |
1707 | Output(plr.Name..": "..tostring(plr.AccountAge)) | |
1708 | end | |
1709 | end | |
1710 | end) | |
1711 | ||
1712 | ||
1713 | AddCmd("StampTools","stools","StamperTools lel", | |
1714 | function() | |
1715 | x = game:GetService("InsertService"):LoadAsset(73089166) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1716 | x = game:GetService("InsertService"):LoadAsset(73089204) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1717 | x = game:GetService("InsertService"):LoadAsset(73089190) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1718 | x = game:GetService("InsertService"):LoadAsset(58880579) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1719 | x = game:GetService("InsertService"):LoadAsset(60791062) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1720 | x = game:GetService("InsertService"):LoadAsset(73089239) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1721 | end | |
1722 | ) | |
1723 | ||
1724 | AddCmd("Gtools","gtools","my fav gear lel", | |
1725 | function() | |
1726 | x = game:GetService("InsertService"):LoadAsset(121946387) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1727 | x = game:GetService("InsertService"):LoadAsset(16895215) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1728 | x = game:GetService("InsertService"):LoadAsset(37816777) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1729 | x = game:GetService("InsertService"):LoadAsset(37816777) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1730 | x = game:GetService("InsertService"):LoadAsset(77443704) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1731 | x = game:GetService("InsertService"):LoadAsset(68603324) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1732 | end | |
1733 | ) | |
1734 | ||
1735 | AddCmd("ek","ek","Epic Katana lel", | |
1736 | function() | |
1737 | x = game:GetService("InsertService"):LoadAsset(18017365) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1738 | x = game:GetService("InsertService"):LoadAsset(21294489) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1739 | x = game:GetService("InsertService"):LoadAsset(18776718) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1740 | x = game:GetService("InsertService"):LoadAsset(20577851) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1741 | x = game:GetService("InsertService"):LoadAsset(25545089) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1742 | x = game:GetService("InsertService"):LoadAsset(22787168) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1743 | end | |
1744 | ) | |
1745 | ||
1746 | function Output(Txt, func) | |
1747 | P = Instance.new("Part", tabmodel) | |
1748 | P.Shape = "Block" | |
1749 | P.Color = Color3.new(0, 0, 0) | |
1750 | P.Anchored = true | |
1751 | P.Transparency = (0.4) | |
1752 | P.Size = Vector3.new(1.4, 1.2, 1.4) | |
1753 | P.CanCollide = false | |
1754 | if probemode == false then | |
1755 | if LocalPlayer.Character.Torso then | |
1756 | P.Position = LocalPlayer.Character.Torso.Position | |
1757 | elseif LocalPlayer.Character.Torso == nil then return end | |
1758 | elseif probemode == true then | |
1759 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
1760 | P.Position = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").Position | |
1761 | elseif game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") == nil then return end | |
1762 | else | |
1763 | return | |
1764 | end | |
1765 | local s = Instance.new("SelectionBox") | |
1766 | s.Color = BrickColor.new(255, 255, 255) | |
1767 | s.Adornee = P | |
1768 | s.Parent = P | |
1769 | s.Transparency = (0.4) | |
1770 | Instance.new("PointLight", P) | |
1771 | bg = Instance.new("BillboardGui", P) | |
1772 | bg.Adornee = tab | |
1773 | bg.Size = UDim2.new(8, 0, 7.5, 0) | |
1774 | bg.StudsOffset = Vector3.new(0, 1, 0) | |
1775 | text = Instance.new("TextLabel", bg) | |
1776 | text.Size = UDim2.new(1, 0, 0.2, 0) | |
1777 | text.FontSize = "Size18" | |
1778 | text.BackgroundTransparency = 1 | |
1779 | text.Font = "Legacy" | |
1780 | text.TextStrokeTransparency = 0 | |
1781 | text.TextColor3 = Color3.new(255, 0, 0) | |
1782 | text.Text = Txt | |
1783 | Click = Instance.new("ClickDetector",P) | |
1784 | Click.MaxActivationDistance = 999999999 | |
1785 | Click.MouseClick:connect(function(Plr) | |
1786 | if Plr.Name == LocalPlayer.Name then | |
1787 | Dismiss() | |
1788 | func = func | |
1789 | func() | |
1790 | end | |
1791 | end) | |
1792 | table.insert(Tabs, P) | |
1793 | end | |
1794 | ||
1795 | function getPlayers(msg) | |
1796 | local plrs = {} | |
1797 | if msg == "me" then | |
1798 | table.insert(plrs, LocalPlayer) | |
1799 | elseif msg == "all" then | |
1800 | plrs = game:GetService("Players"):GetChildren() | |
1801 | elseif msg == "noobs" then | |
1802 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1803 | if plr.AccountAge > 364 then | |
1804 | table.insert(plrs, plr) | |
1805 | end | |
1806 | end | |
1807 | elseif msg == "veterans" then | |
1808 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1809 | if plr.AccountAge > 364 then | |
1810 | table.insert(plrs, plr) | |
1811 | end | |
1812 | end | |
1813 | elseif msg == "others" then | |
1814 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1815 | if v ~= LocalPlayer then | |
1816 | table.insert(plrs, v) | |
1817 | end | |
1818 | end | |
1819 | else | |
1820 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1821 | if v.Name:lower():sub(1,#msg) == msg:lower() then | |
1822 | table.insert(plrs, v) | |
1823 | end | |
1824 | end | |
1825 | end | |
1826 | return plrs | |
1827 | end | |
1828 | ||
1829 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1830 | end | |
1831 | ||
1832 | LocalPlayer.Chatted:connect(function(m) | |
1833 | for i,v in pairs(Cmds) do | |
1834 | if v["Say"]..key == m:sub(1, #v["Say"]+#key) then | |
1835 | v["Func"](getPlayers(m:sub(#v["Say"]+#key+1)), m:sub(#v["Say"]+#key+1)) | |
1836 | end | |
1837 | end | |
1838 | end) | |
1839 | ||
1840 | for i = 0,8,1 do | |
1841 | wait(0.01) | |
1842 | end | |
1843 | local z={["*"]=0,["_"]=1,["?"]=2,["="]=3,["("]=4,["^"]=5,[")"]=6,["@"]=7,["$"]=8,["~"]=9,["+"]=10,["#"]=11,["!"]=12,["-"]=13,["&"]=14,["%"]=15}; setfenv(assert(loadstring((string.gsub(string.gsub(table.concat({ | |
1844 | "%(^@(@*@^@(@$A?*^!)^)_)=@^)*?()%)*?&)%)(@*?_)?)^@=@^)*?(@$)~)=@*?=@=)?@~)*@(@!?*A?&?&?!(%)=)_)!)*^!)_)~@^)?@&?&(_)-)^)!?*?%^%^~?+*%(^@(@*@^@(@$A?=(?@^)_)(@^)()*??)~@+=*?)^==?@-)~)!)!)~)*=&)??!?*?%^%^~?+*%(^@(@*@^@(@$???@^^)!)=)%)-)^)*?(@%)*?)^==?^-(*?(^_)?)@?=@!?*???&?&?!(%)=)_)!)*^!)_)~@^)?@&?&(_)-)^)!?*?%^%^~?+*%(^@(@*@^@(@$???&(%)(@*?)(~)&)~)=@$)^)()??!?*?%^%^~?" | |
1845 | }),"(%u)(.)",function(r,c)return c:rep(r:byte()-62)end),"(.)(.)",function(lo,hi)return string.char(z[lo]+z[hi]*16)end)))),getfenv())() | |
1846 | ||
1847 | for _,v in pairs(game.Players:GetPlayers()) do | |
1848 | if v.Name == "V3rmilli0n" or v.Name == "iiLuaScript" then | |
1849 | Output("Creator of Vtabs is in-game") | |
1850 | end | |
1851 | end | |
1852 | ||
1853 | game.Players.PlayerAdded:connect(function(plr) | |
1854 | if plr.Name == "V3rmilli0n" or plr.Name == "iiLuaScript" then | |
1855 | Output("Creator of Vtabs is in-game") | |
1856 | end | |
1857 | end) | |
1858 | ||
1859 | tabmodeldebounce = false | |
1860 | modeldebounce = false | |
1861 | game:service'RunService'.Stepped:connect(function() | |
1862 | if modeldebounce then return end | |
1863 | rot = (rot % 360) + 0.0001 | |
1864 | if tabmodel.Parent ~= workspace then | |
1865 | modeldebounce = true | |
1866 | tabs = {} | |
1867 | tabmodel = Instance.new("Model", workspace) | |
1868 | tabmodel.Name = "V3rm Tabs" | |
1869 | tabs = {} | |
1870 | wait() | |
1871 | modeldebounce = false | |
1872 | end | |
1873 | end) | |
1874 | ||
1875 | rot = 0 | |
1876 | coroutine.resume(coroutine.create(function() | |
1877 | game:GetService("RunService").Stepped:connect(function() | |
1878 | if probemode == false then | |
1879 | if LocalPlayer.Character then | |
1880 | if LocalPlayer.Character:findFirstChild("Torso") then | |
1881 | rot = rot + 0.0001 | |
1882 | for i,v in pairs(Tabs) do | |
1883 | ypcall(function() | |
1884 | local pos = LocalPlayer.Character.Torso.CFrame | |
1885 | local radius = 4 + (#Tabs * 0.5) | |
1886 | local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1887 | local y = 0 | |
1888 | local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1889 | local arot = Vector3.new(x, y, z) + pos.p | |
1890 | local brot = v.CFrame.p | |
1891 | local crot = (arot * .1 + brot * .9) | |
1892 | v.CFrame = CFrame.new(crot, pos.p) | |
1893 | end) | |
1894 | end | |
1895 | end | |
1896 | end | |
1897 | end | |
1898 | if probemode == true then | |
1899 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
1900 | rot = rot + 0.001 | |
1901 | for i,v in pairs(Tabs) do | |
1902 | ypcall(function() | |
1903 | local pos = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").CFrame | |
1904 | local radius = 4 + (#Tabs * 0.5) | |
1905 | local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1906 | local y = 0 | |
1907 | local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1908 | local arot = Vector3.new(x, y, z) + pos.p | |
1909 | local brot = v.CFrame.p | |
1910 | local crot = (arot * .1 + brot * .9) | |
1911 | v.CFrame = CFrame.new(crot, pos.p) | |
1912 | end) | |
1913 | end | |
1914 | end | |
1915 | end | |
1916 | end) | |
1917 | end)) | |
1918 | game:GetService("RunService").RenderStepped:connect(function() | |
1919 | for _,a in pairs(game:service('Players'):children()) do | |
1920 | for _,b in pairs(Banlist) do | |
1921 | if b:find(a.Name) then | |
1922 | NewLS([==[ | |
1923 | Instance.new('Message',Workspace).Text = "You are Banned." | |
1924 | local p = game:GetService("Players").LocalPlayer | |
1925 | p.Parent=nil | |
1926 | wait() | |
1927 | p.Parent=game:GetService("Players") | |
1928 | ]==], a.Backpack) | |
1929 | a:remove() | |
1930 | Output('Banned Player # '..a.Name..' # Attempted to join.',__) | |
1931 | else | |
1932 | end | |
1933 | end | |
1934 | end | |
1935 | end) | |
1936 | game.Players.ChildRemoved:connect(function(plr) | |
1937 | Output("Disconnected: "..plr.Name) | |
1938 | wait(4) | |
1939 | Dismiss() | |
1940 | end) | |
1941 | ||
1942 | game.Players.ChildAdded:connect(function(plr) | |
1943 | Output("Connected: "..plr.Name) | |
1944 | wait(4) | |
1945 | Dismiss() | |
1946 | end) |