Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// SaviOS by SavageMunkey
- local Host = game:service'Players'.LocalPlayer
- local PlayerMouse = Host:GetMouse()
- local Character = Host.Character
- pcall(function()
- Character.Humanoid['SaviOS'..Host.Name].Disabled=true
- Character.Humanoid['SaviOS'..Host.Name]:Destroy()
- end)
- script.Name='SaviOS'..Host.Name
- local lrs = game:service'RunService'.RenderStepped
- local ud,c3 = UDim2.new,Color3.new
- local OS
- OS = {
- Backgrounds={263065080,122603145,510593355,167312453,119945204,38397690,167312682,192050536,152026398,167312652,120582545,167493039,274050234,454292754,466900315,177053058,229293848,122646263,159102803,321434238,120214481,120480107,129805827,251350099,134993390,294851220,91427420,159103087,161729354,451983167,111563465,224033486,159103552,490565976,419023708,159111488,254890271,72090809,148038665,201380429,235907960,118966085,184001465,158549839,135040161,569012987,124111954,617785055,127976057,157765107,172813012,261956734,229544221,381428334,141204418,130675970,114611763,569627808,165460147,165460277,123128917,65246335,113000488,210624979,86219936,542893768,485873381,133109970,147298379,147297851,133461415,248254225,542822127,536363798,167312652,542895503,89552732,65151650,101805028,103684980,385601310,57939071,304922993,13511519,473575489,256418140,136004272,46076174,497195310,28143702,158772801,557860938,483527125,125134380,129296064,436986440,331063936,162704842,108531974,156021502,546688542,192509200,193859832,78289792,339807971,156513166,305407040,363144648,60043055,621825797,621828236,179089950,501279669,403674379,275918945,247421728,126655771,478203228,25719408,50358414,7460070,415408253,91215756,85243064,135112694,161131570,684101235,467373053,65891746,24960278,318592132,424415675,17266396,64198567,230444445,156269405,179089950,248285466,202899851,156314932,151133945,514648696,};
- Properties = {'AllowClientInsertModels','BrickColor','Color','ShowDevelopmentGui','ResetPlayerGuiOnSpawn','Parent','CustomPhysicalProperties','WaterColor','WaterTransparency','WaterWaveSize','WaterWaveSpeed','AllowThirdPartySales','FilteringEnabled','StreamingEnabled','Gravity','FallenPartsDestroyHeight','Archivable','AbsolutePosition','AbsoluteSize','AccountAge','AccountAgeReplicate','Active','Adornee','AllowAmbientOcclusion','AllowTeamChangeOnTouch','AluminumQuality','AlwaysOnTop','Ambient','AmbientReverb','Anchored','Angularvelocity','AnimationId','Archivable','AreHingesDetected','AttachmentForward','AttachmentPoint','AttachmentPos','AttachmentRight','AttachmentUp','AutoAssignable','AutoButtonColor','AutoColorCharacters','AvailablePhysicalMemory','Axes','BackgroundColor','BackgroundColor3','BackgroundTransparency','BackSurface','BaseTextureId','BaseUrl','Bevel','Roundness','BinType','BlastPressure','BlastRadius','C0','C1','HeadColor','LeftArmColor','RightArmColor','LeftLegColor','RightLegColor','HumanoidRootPartColor','BodyColor','BodyPart','BorderColor','BorderColor3','BorderSizePixel','BottomSurface','BrickColor','Brightness','Browsable','BubbleChat','BubbleChatLifetime','BubbleChatMaxBubbles','Bulge','Button1DownConnectionCount','Button1UpConnectionCount','Button2DownConnectionCount','Button2UpConnectionCount','C0','C1','CameraMode','CameraSubject','CameraType','CanBeDropped','CanCollide','CartoonFactor','CastShadows','CelestialBodiesShown','CFrame','Cframe','Character','CharacterAppearance','CharacterAutoLoads','ChatScrollLength','ClassicChat','ClassName','ClearTextOnFocus','ClipsDescendants','CollisionSoundEnabled','CollisionSoundVolume','Color','ColorShift_Top','ColorShift_Bottom','Bottom','Top','ConstrainedValue','Contro'..'llingHumanoid','ControlMode','ConversationDistance','CoordinateFrame','CorrodedMetalQuality','CPU','CpuCount','CpuSpeed','CreatorId','CreatorType','CurrentAngle','CurrentCamera','CycleOffset','D','DataCap','DataComplexity','DataComplexityLimit','DataCost','DataReady','Deprecated','DeselectedConnectionCount','DesiredAngle','DiamondPlateQuality','Disabled','DistanceFactor','DistributedGameTime','DopplerScale','Draggable','DraggingV1','Duration','EditorFont','EditorFontSize','EditorTabWidth','ElapsedTime','Elasticity','Enabled','ExplosionType','ExtentsOffset','F0','F1','F2','F3','Face','FaceId','Faces','FieldOfView','Focus','FogColor','FogEnd','FogStart','Font','FontSize','Force','FormFactor','Friction','From','FrontSurface','GearGenreSetting','Genre','GeographicLatitude','GfxCard', 'GlobalShadows','Graphic','GrassQuality','Grip','GripForward','GripPos','GripRight','GripUp','Guest','HeadsUpDisplay','Health','Heat','Hit','Humanoid','IceQuality','Icon','IdleConnectionCount','Image','InitialPrompt','InOut','InUse','IsPaused','IsPlaying','JobId','Jump','KeyDownConnectionCount','KeyUpConnectionCount','LeftLeg','LeftRight','LeftSurface','LinkedSource','LocalPlayer','Location','Locked','LODX','LODY','Looped','Material','MaxActivationDistance','MaxCollisionSounds','MaxExtents','MaxForce','MaxHealth','MaxItems','MaxPlayers','MaxSpeed','MaxThrust','MaxTorque','MaxValue','MaxVelocity','MembershipType','MembershipTypeReplicate','MeshId','MeshType','MinValue','Modal','MouseButton1ClickConnectionCount','MouseButton1DownConnectionCount','MouseButton1UpConnectionCount','MouseButton2ClickConnectionCount','MouseButton2DownConnectionCount','MouseButton2UpConnectionCount','MouseDelta','MouseDragConnectionCount','MouseEnterConnectionCount','MouseHit','MouseLeaveConnectionCount','MouseLock','MouseMovedConnectionCount','MouseTarget','MouseTargetFilter','MouseTargetSurface','MoveConnectionCount','MoveState','MultiLine','Name','NameOcclusion','NetworkOw'..'ner','Neutral','NumPlayers','Offset','Opacity','Origin','OsPlatform','OsVer','OutdoorAmbient','OverlayTextureId','P','PantsTemplate','ParamA','ParamB','Parent','PrimaryPart','Part','Part0','Part1','Pitch','PixelShaderModel','PlaceId','PlasticQuality','PlatformStand','PlayCount','PlayerToHideFrom','PlayOnRemove','Point','Port','Position','Preliminary','PrimaryPart','PrivateWorkingSetBytes','Purpose','RAM','Reflectance','ReplicatedSelectedConnectionCount','ResizeableFaces','ResizeIncrement','Resolution','ResponseDialog','RightLeg','RightSurface','RiseVelocity','RobloxLocked','RobloxVersion','RolloffScale','RotVelocity','Scale','Score','ScriptsDisabled','SecondaryColor','Selected','ShadowColor','Shape','Shiny','ShirtTemplate','ShowDeprecatedObjects','ShowDevelopmentGui','ShowPreliminaryObjects','Sides','Sit','Size','SizeConstraint','SizeOffset','SkinColor','SkyboxBk','SkyboxDn','SkyboxFt','SkyboxLf','SkyboxRt','SkyboxUp','SlateQuality','SoundId','Source','SparkleColor','Specular','StarCount','Steer','StickyWheels','StudsBetweenTextures','StudsOffset','StudsPerTileU','StudsPerTileV','Style','Summary','SuperSa'..'feChatReplicate','Surface','Surface0','Surface1','SurfaceInput','Target','TargetFilter','TargetOffset','TargetPoint','TargetRadius','TargetSurface','TeamColor','Terrain','Text','TextBounds','TextColor','TextColor3','TextFits','TextScaled','TextStrokeColor3','TextStrokeTransparency','TextTransparency','Texture','TextureId','TextureSize','TextWrap','TextWrapped','TextXAlignment','TextYAlignment','Throttle','ThrustD','ThrustP','Ticket','Time','TimeOfDay','To','Tone','ToolTip','TopBottom','TopSurface','Torque','HumanoidRootPart','Transparency','TrussDetail','TurnD','TurnP','TurnSpeed','UnitRay','UserDialog','UserId','Value','Version','VertexColor','VideoCaptureEnabled','VideoMemory','VideoQuality','ViewSizeX','ViewSizeY','Visible','Volume','WalkDirection','WalkSpeed','WalkToPart','WalkToPoint','WheelBackwardConnectionCount','WheelForwardConnectionCount','WindowSize','WireRadius','WoodQuality','X','Y','Z'};
- DecalAssets={200182847};
- --//49,51,51,55,115,97,118
- Sounds = {
- 319758951,485859421,191035676,142312040,165065112,166471137,208240682,226788368,193399717,
- 274427825,155949200,209864226,211626338,232560219,172427188,180115728,170968526,
- 148492408,177956804,132399469,218530627,234627720,182411115,188712851,176454530,
- 685204898,736225554,267915404,180795185,263998927,181428192,266427268,215974232,
- 177297354,248794208,262158959,282890395,252612142,252614631,252613867,203275374,
- 244763119,169898604,173060483,181065299,294185225,657230380,574818336,
- };
- RecentlyUsedPrograms={};
- UIs={};
- Logins={
- {'SavageMunkey','abcd12',Color3.new(.1,.1,.1),Color3.new(1,1,1),497195310};--167312453};
- {'Artiecsal','sookithearth',c3(0,0,0),c3(1,1,1),122646263},
- {'Luke_Ames','xXfatphonesXx',c3(.5,0,0),c3(1,1,1),621828236},
- {'Lord_Azure','AzureIsGay',c3(.3,0,0),c3(1,1,1),215152878},
- };
- Administrators={
- 'SavageMunkey',
- 'Aeodile',
- };
- Effects={};
- Functions={};
- Assets={};
- Apps={
- Qeued={};
- Generated={};
- Open={};
- };
- Settings={
- Fonts = {
- Header = 'Code',
- Sub_Header = 'Highway',
- };
- };
- };
- Functions = OS.Functions
- Effects = OS.Effects
- OS.GenCode = math.random()*9e5
- local CurrentPlayerData=nil
- local Official=true
- function Functions:ConvertColor3(r,g,b)
- return c3(1-(1/r),1-(10/g),1-(10/b)) --//derped
- end
- function Functions:ReturnObjectProperties(Object)
- assert(pcall(function()
- assert(game.IsA(Object,'Instance'))
- end),'Should be ROBLOX instance')
- local Returns = {}
- for _, Value in next, OS.Properties do
- if pcall(function() return Object[Value] end) and (type(Object[Value]) ~= 'userdata' or not Object:FindFirstChild(Value)) then
- Returns[Value] = Object[Value]
- end
- end
- return Returns
- end;
- --print(Functions:ConvertColor3(170, 0, 255))
- function Functions:GrabHostData()
- local PlayerData=nil
- local Found=0
- for Index, Data in next, OS.Logins do
- if Data[1] == tostring(Host) then
- PlayerData=Data
- Found=Found+1
- end
- end
- if PlayerData then
- CurrentPlayerData=PlayerData
- else
- Official=false
- CurrentPlayerData={Host.Name,Host.Name:lower():sub(0,5)..'12'..math.random(-50,50),c3(.25,.25,.25),c3(1,1,1),OS.Backgrounds[math.random(1,#OS.Backgrounds)]};
- script:Destroy()
- end
- if Found > 1 then
- error('Found more than one('..Found..') data tables for '..Host.Name,2)
- end
- end
- Functions:GrabHostData()
- table.foreach(CurrentPlayerData,print)
- function Functions:GetPlayerImg(User)
- local ID = 'http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username='..tostring(User)
- return ID
- end
- ypcall(function()
- --workspace['mon-mon']:Destroy()
- end)
- local Monitor, G, MainFrame
- function Functions:MakeMonitor()
- pcall(function() workspace['mon-mon'..Host.Name]:Destroy() end)
- local sc=Instance.new('Script', workspace)
- sc.Name='mon-mon'..Host.Name
- OS.Assets.FScript=sc
- Monitor = Instance.new('Part', sc)
- Monitor.Size = Vector3.new(24,14,.1)
- Monitor.Anchored = true
- Monitor.Locked=true
- Monitor.Transparency=0
- Monitor.Color=Color3.new(1,1,1)
- Monitor.Material='Neon'
- Monitor.Name='mon-mon'
- Instance.new('SurfaceLight',Monitor).Face='Back'
- Monitor.CanCollide = false
- Monitor.TopSurface,Monitor.BottomSurface=0,0
- local Flat = Instance.new('BlockMesh', Monitor)
- Flat.Scale = Vector3.new(1,1,0)
- spawn(function()
- for i = 0,1.025,.025 do
- --Monitor.Transparency = 1.3-i
- lrs:wait()
- end
- end)
- end
- function Functions:MakeNewUi(Type)
- local Ui = Instance.new(Type)
- local function TypeIsA(Table, Goal)
- for i,v in next, Table do
- if v:lower()==Type:lower() then
- Goal(Ui)
- end
- end
- end
- Ui.ClipsDescendants = true
- Ui.Size = ud(1,0,1,0)
- Ui.BackgroundTransparency = 1
- TypeIsA({'TextButton'}, function(tUi)
- Ui.AutoButtonColor = false
- end)
- Ui.BackgroundColor3 = CurrentPlayerData[3]
- Ui.BorderSizePixel = 0
- TypeIsA({'ImageLabel','ImageButton'}, function(tUi)
- end)
- TypeIsA({'TextButton','TextLabel','TextBox'}, function(tUi)
- tUi.TextColor3 = CurrentPlayerData[4]
- tUi.Font = OS.Settings.Fonts.Header
- tUi.Text=''
- tUi.FontSize = Enum.FontSize.Size18
- end)
- delay(.1,function()
- OS.UIs[Ui.Name]={Ui,true}
- local oUi=Ui
- spawn(function()
- repeat lrs:wait() until Ui.Parent == nil
- OS.UIs[oUi.Name]={nil,false}
- end)
- end)
- Ui.ZIndex=7
- return Ui
- end
- function Functions:Center(Ui)
- local co={Ui.Size.X.Offset/2,
- Ui.Size.Y.Offset/2};
- return ud(.5,-co[1],.5,-co[2])
- end
- function Functions:CenterOffset(Ui, Offset)
- local co={Ui.Size.X.Scale,
- Ui.Size.X.Offset/2,
- Ui.Size.Y.Scale,
- Ui.Size.Y.Offset/2
- };
- return ud(.5+Offset.X.Scale,-co[2]+Offset.X.Offset,.5+Offset.Y.Scale,-co[4]+Offset.Y.Offset)
- end
- local TypeDebs={};
- function Effects:Type(Ui, Text, Type, Delay)
- TypeDebs[Ui]=false
- if Type == 'In' then
- local Continue = true
- for i = 0,#Text do
- if TypeDebs[Ui] then
- Continue = false
- return
- end
- if not Continue then
- return
- end
- Ui.Text = Text:sub(0,i)..'|'
- wait(Delay)
- end
- Ui.Text = Text
- elseif Type == 'Out' then
- local Continue = true
- for i = 0,#Text do
- if TypeDebs[Ui] then
- Continue = false
- return
- end
- if not Continue then
- return
- end
- Ui.Text = Text:sub(0,1-i)..'|'
- wait(Delay)
- end
- Ui.Text = Text
- else
- error'Please enter a TransitionType (Out, In)'
- end
- end
- function Functions:Sound(Id ,Rmv)
- local snd=Instance.new('Sound', Character:WaitForChild'Head' or Monitor or workspace)
- if Rmv then
- for index,o in next, snd.Parent:children() do
- if o:IsA'Sound' and o ~= snd then
- o:Stop()
- o:Destroy()
- end
- end
- end
- snd.EmitterSize=20
- snd.SoundId=Functions:Asset(Id)
- snd.Volume=.6
- delay(8,function()
- if not snd.Looped and snd.IsPlaying==false then
- snd:Stop()
- snd:Destroy()
- end
- end)
- return snd
- end
- function Effects:Underline(Ui, YOffset, XThickness, YThickness, Color, Fade)
- local Label = Functions:MakeNewUi('TextLabel')
- Label.BackgroundColor3 = Color
- Label.BackgroundTransparency=.2
- Label.Size = ud(0,0,0,YThickness)
- Label.Position = Functions:CenterOffset(Label, ud(0,0,0,YOffset))
- Label.Parent = Ui
- Label.ZIndex = 9
- if Fade then
- Label.BackgroundTransparency = 1
- delay(.5,function()
- Label:TweenSizeAndPosition(ud(0,XThickness,0,YThickness),Functions:CenterOffset(Label,ud(0,-XThickness/2,0,YOffset)),'Out','Back',1,true)
- end)
- for i = 0,1.025,.025 do
- Label.BackgroundTransparency = (1.2 - i)
- lrs:wait()
- end
- else
- Label.Size = ud(0,XThickness,0,YThickness)
- Label.Position = Functions:CenterOffset(Label, ud(0,0,0,YOffset))
- end
- return Label
- end
- function Functions:Asset(Id)
- return 'rbxassetid://'..Id
- end
- function Functions:PlayerImage(User)
- return 'http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username='..tostring(User)
- end
- function Functions:LoginScreenGui(Size,ltbl,Fade)
- if Host.PlayerGui:FindFirstChild'nomnompw' then
- end
- local limit=16
- local SGui = Instance.new('ScreenGui', Host.PlayerGui)
- SGui.Name='nomnompw'
- local Box = Functions:MakeNewUi('TextBox')
- Box.ClearTextOnFocus=true
- Box.TextColor3 = CurrentPlayerData[3]
- Box.TextStrokeTransparency=.9
- Box.Size=Size
- Box.Text = 'Enter your Password'
- Box.Position=Functions:Center(Box)
- Box.BackgroundTransparency=1
- Box.TextStrokeColor3=CurrentPlayerData[3]
- Box.Parent=SGui
- Box.BackgroundColor3 = CurrentPlayerData[4]
- local enabled=true
- if Fade then
- Box.Position = Functions:CenterOffset(Box,ud(0,0,-.4,0))
- for i = 0,1,.05 do
- Box.BackgroundTransparency=1-i
- lrs:wait()
- end
- Box:CaptureFocus()
- end
- local ev
- ev=Box.Focused:connect(function()
- --ev:disconnect()
- Box.ClearTextOnFocus=false
- end)
- local ev2
- local lt=''
- ev2=Box.FocusLost:connect(function()
- if #Box.Text < 1 or Box.Text == 'Enter your Password' then
- Box.Text='Enter your Password'
- Box.ClearTextOnFocus=true
- end
- if Box.Text==CurrentPlayerData[2] then
- ev:disconnect()
- ev2:disconnect()
- Box.Active=false
- Box:TweenPosition(Functions:CenterOffset(Box,ud(0,0,-.55,0)),'Out','Linear',.5,true)
- Box.TextStrokeTransparency=1
- for i = 0,1,.05 do
- Box.BackgroundTransparency=i
- Box.TextTransparency=i
- lrs:wait()
- end
- lt=Box.Text
- SGui:Destroy()
- end
- end)
- Box.BackgroundTransparency=0
- if ltbl.loop then
- while SGui.Parent and enabled do
- lt=Box.Text
- if #Box.Text>limit and Box.Text ~= 'Enter your Password' then
- Box:ReleaseFocus()
- Box.Active=false
- local bft=Box.Text
- Box.Text='Password '..limit..' character limit.'
- wait(2)
- Box.Text=bft:sub(0,limit)
- Box.Active=true
- Box:CaptureFocus()
- end
- if #Box.Text>1 and Box.Text ~= 'Enter your Password' then
- local nt=''
- ltbl.ui.Text=nt
- for i = 1,#Box.Text do
- nt=nt..'*'
- end
- ltbl.ui.Text=nt
- elseif #Box.Text==0 then
- if Box.Text ~= 'Enter your Password' then
- Box.Text='Enter your Password'
- ltbl.ui.Text='Enter your Password'
- Box:ReleaseFocus()
- Box.ClearTextOnFocus=true
- end
- end
- lrs:wait()
- end
- end
- return lt
- end
- function Functions:IfRegistered(Player, Function)
- local Bool = false
- for Index, Data in next, OS.Logins do
- local user=Data[1]
- local pass=Data[2]
- if user == tostring(Player) then
- Bool = true
- end
- end
- Function(Bool)
- end
- function Functions:CreateProgram(Name, Id, Nick, Description, Click)
- table.insert(OS.Apps.Qeued,{tostring(Name), tonumber(Id), tostring(NickName), tostring(Description), Click})
- end;
- local Search
- function Functions:Search(Parent, Function)
- for Index, Object in next, Parent:children() do
- pcall(function()
- Function(Object)
- end)
- Functions:Search(Object, Function)
- end
- end
- function Functions:ShowChar()
- OS.Functions:Search(Character, function(Object)
- if (Object:IsA'BasePart' or Object:IsA'Decal') and Object.Name ~='HumanoidRootPart' then
- Object.Transparency = 0
- end
- end)
- end
- function Functions:HideChar()
- OS.Functions:Search(Character, function(Object)
- if (Object:IsA'BasePart' or Object:IsA'Decal') and Object.Name ~='HumanoidRootPart' then
- Object.Transparency = 1
- end
- end)
- end
- local Notes={};
- Functions:CreateProgram('Notepad++', 43360681, 'N++', 'Notepad for your... "personal" needs?', function(HF,TF,CF)
- local tb = Functions:MakeNewUi('TextButton')
- tb.Parent=CF
- tb.TextWrapped=true
- table.insert(Notes,tb)
- tb.Text = 'Notepad; '..#Notes
- tb.TextColor3=CurrentPlayerData[3]
- tb.BackgroundColor3=CurrentPlayerData[4]
- tb.Font=OS.Settings.Fonts.Sub_Header
- tb.TextStrokeTransparency=.9
- tb.TextStrokeColor3=CurrentPlayerData[3]
- tb.TextXAlignment='Left'
- tb.TextYAlignment='Top'
- local SGui
- tb.MouseButton1Click:connect(function()
- pcall(function()
- SGui:Destroy()
- end)
- if Host.PlayerGui:FindFirstChild'nomnoemnp' then Host.PlayerGui:FindFirstChild'nomnoemnp':Destroy() end
- SGui = Instance.new('ScreenGui', Host.PlayerGui)
- SGui.Name='nomnoemnp'
- local Box = Functions:MakeNewUi('TextBox')
- Box.ClearTextOnFocus=false
- Box.TextColor3 = CurrentPlayerData[3]
- Box.TextStrokeTransparency=.9
- Box.Size=ud(1,0,1,0)
- Box.Position=ud(-1,0,0,0)
- Box.Text = tb.Text
- Box.Visible = false
- Box.TextXAlignment='Left'
- --Box.MultiLine=true
- Box.TextYAlignment='Top'
- Box.BackgroundTransparency=1
- Box.TextStrokeColor3=CurrentPlayerData[3]
- Box.Parent=SGui
- Box.BackgroundColor3 = CurrentPlayerData[4]
- Box:CaptureFocus()
- Box.FocusLost:connect(function()
- SGui:Destroy()
- end)
- local isub = '|'
- local l=false
- spawn(function()
- if tb.Text:sub(#tb.Text,#tb.Text)=='|' then
- tb.Text=tb.Text:sub(1,#tb.Text-1)
- end
- local canc = false
- spawn(function()
- while not canc do
- wait(.6)
- l=not l
- if l == true then
- isub='|'
- else
- isub=''
- end
- end
- end)
- repeat
- tb.Text=Box.Text..isub
- lrs:wait()
- until SGui.Parent ~= Host.PlayerGui
- if l then
- tb.Text=tb.Text:sub(1,#tb.Text-1)
- end
- --print'canc'
- canc=true
- SGui=nil
- end)
- end)
- end)
- --script.Parent=Host.PlayerGui
- Functions:CreateProgram('Calculator', 45545182, 'Calc', 'Math stuff man', function(HF,TF,CF)
- HF.Size = UDim2.new(0,150,0,300)
- end)
- local osEVENT = game:service'SoundService':FindFirstChild'osEVENT'
- if osEVENT==nil then
- osEVENT = Instance.new('RemoteEvent',game:service'SoundService')
- osEVENT.Name='osEVENT'
- end
- if game.PlaceId == 691043264 then
- Functions:CreateProgram('Lua', 71157241, 'LUA', 'Execute stuff...', function(HF,TF,CF)
- local tb = Functions:MakeNewUi('TextButton')
- tb.Parent=CF
- tb.TextWrapped=true
- tb.Text = ''
- tb.TextColor3=CurrentPlayerData[3]
- tb.BackgroundColor3=CurrentPlayerData[4]
- tb.Font=OS.Settings.Fonts.Sub_Header
- tb.Size=ud(.6,0,.9,0)
- tb.TextXAlignment='Left'
- tb.TextYAlignment='Top'
- local run = Functions:MakeNewUi('TextButton')
- run.Parent=CF
- run.Text = 'Run Script'
- run.BackgroundTransparency=0
- run.TextColor3=CurrentPlayerData[4]
- run.BackgroundColor3=CurrentPlayerData[3]
- run.Font=OS.Settings.Fonts.Header
- run.Position=ud(0,0,.95,0)
- run.TextSize=11
- run.Size=ud(.6,0,.05,0)
- local cleartb = Functions:MakeNewUi('TextButton')
- cleartb.Parent=CF
- cleartb.Text = 'Clear Text'
- cleartb.BackgroundTransparency=0
- cleartb.TextColor3=CurrentPlayerData[4]
- cleartb.BackgroundColor3=CurrentPlayerData[3]
- cleartb.Font=OS.Settings.Fonts.Header
- cleartb.Position=ud(0,0,.9,0)
- cleartb.TextSize=11
- cleartb.Size=ud(.6,0,.05,0)
- local ipos = 0
- local timefromlast=0
- local longestx=0
- local clear = Functions:MakeNewUi('TextButton')
- clear.Parent=CF
- clear.Text = 'Clear Output'
- clear.BackgroundTransparency=0
- clear.TextColor3=CurrentPlayerData[4]
- clear.BackgroundColor3=CurrentPlayerData[3]
- clear.Font=OS.Settings.Fonts.Header
- clear.Position=ud(.6,0,.95,0)
- clear.TextSize=11
- clear.Size=ud(.4,0,.05,0)
- local output = Functions:MakeNewUi('ScrollingFrame')
- output.Parent=CF
- output.BackgroundColor3=CurrentPlayerData[3]
- output.Position=ud(.6,0,0,0)
- output.BackgroundTransparency=0
- output.Size=ud(.4,0,.95,0)
- function op(argz)
- local txt,code,clr = argz[1],argz[2],argz[3]
- clr=clr or Color3.new(1,1,1)
- txt=' > '..txt or 'NO_TEXT'
- --print(txt,code,clr)
- local is = (tostring(code)==tostring(OS.GenCode))
- if is then
- timefromlast=0
- local lbl = Functions:MakeNewUi('TextLabel')
- lbl.Parent=output
- lbl.Position=ud(0,0,0,ipos)
- lbl.TextSize=10
- if #txt > longestx then
- longextx=#txt
- end
- --txt=txt:gsub('\n','')
- lbl.TextColor3 = clr
- lbl.TextWrapped=true
- local count=0
- local notting=true
- lbl.TextXAlignment='Left'
- lbl.Text = txt
- lbl.BackgroundTransparency=1
- lbl.Size=ud(33,0,0,lbl.TextBounds.Y+5)
- ipos=ipos+lbl.TextBounds.Y+2
- spawn(function()
- while notting do
- lrs:wait()
- count=count+1
- local asx=output.AbsoluteSize.X
- local tbx=lbl.TextBounds.X
- --print(tbx,asx)
- if tbx > asx then
- lbl.Text=lbl.Text:sub(1+(asx*(count-1)),asx*count)..'\n'..lbl.Text:sub((asx*count)+1)
- else
- notting=false
- end
- end
- end)
- lbl.Size=ud(1,0,0,lbl.TextBounds.Y+5)
- end
- end
- op({'Hello world!', OS.GenCode, Color3.new(1,1,1)})
- clear.MouseButton1Click:connect(function()
- output:ClearAllChildren()
- ipos=0
- longestx=0
- timefromlast=0
- op({'Cleared output', OS.GenCode, BrickColor.new'Dark green'.Color})
- end)
- cleartb.MouseButton1Click:connect(function()
- tb.Text=''
- pcall(function()
- SGui.Text=''
- end)
- end)
- local oev = osEVENT.OnClientEvent:connect(function(Argz)
- op(Argz)
- end)
- spawn(function()
- local ii=0
- repeat lrs:wait()
- timefromlast=timefromlast+.05
- ii=Functions:IntegerLerp(ii,ipos,.15)
- if timefromlast < 5 then
- output.CanvasSize=ud(0,longestx,0,ii)
- output.CanvasPosition=Vector2.new(0,ii)
- end
- until run.Parent ~= CF
- oev:disconnect()
- --print'dis'
- end)
- run.MouseButton1Click:connect(function()
- local lscode = [[
- local owner = game:service'Players':WaitForChild(']]..Host.Name..[[')
- local event = game:service'SoundService':WaitForChild'osEVENT'
- local code = ]]..OS.GenCode..[[
- function print(...)
- local Data, Return = {...}, ""
- for Index,Value in pairs(Data) do
- Return = Return .. tostring(Value) .. (Index < #Data and ", " or "")
- end
- event:FireClient(owner,{Return,code,Color3.new(1,1,1)})
- end
- function warn(...)
- local Data, Return = {...}, ""
- for Index,Value in pairs(Data) do
- Return = Return .. tostring(Value) .. (Index < #Data and ", " or "")
- end
- event:FireClient(owner,{Return,code,Color3.new(1,.5,0)})
- end
- function ferror(...)
- local Data, Return = {...}, ""
- for Index,Value in pairs(Data) do
- Return = Return .. tostring(Value) .. (Index < #Data and ", " or "")
- end
- event:FireClient(owner,{Return,code,Color3.new(.8,0,0)})
- end
- delay(20,function()
- event:FireClient(owner,{'Auto removed script - delay ; 20',code,BrickColor.new'Dark green'.Color})
- script:Destroy()
- end)
- local script = workspace:WaitForChild(']]..tostring(OS.Assets.FScript.Name)..[[')
- ]]
- local formattedcode = [[
- pcall(function()
- local Success, Error = pcall(function()
- ]]..tb.Text..[[
- end)
- if not Success then
- local err = Error
- err=err:gsub('ScriptBuilderScript','OS.sb')
- err=err:gsub('544','1')
- ferror(err)
- local stacks = debug.traceback()
- stacks=stacks:gsub('ScriptBuilderScript','OS.sb')
- event:FireClient(owner,{stacks,code,BrickColor.new'Bright blue'.Color})
- else
- event:FireClient(owner,{'Ran script',code,BrickColor.new'Bright blue'.Color})
- end
- end)
- ]]
- NS(lscode..'\n\n'..formattedcode, workspace)
- end)
- local SGui
- tb.MouseButton1Click:connect(function()
- pcall(function()
- SGui:Destroy()
- end)
- if Host.PlayerGui:FindFirstChild'nomnoemnp' then Host.PlayerGui:FindFirstChild'nomnoemnp':Destroy() end
- SGui = Instance.new('ScreenGui', Host.PlayerGui)
- SGui.Name='nomnoemnp'
- local Box = Functions:MakeNewUi('TextBox')
- Box.ClearTextOnFocus=false
- Box.TextColor3 = CurrentPlayerData[3]
- Box.TextStrokeTransparency=.9
- Box.Size=ud(1,0,1,0)
- Box.Position=ud(-1,0,0,0)
- Box.Text = tb.Text
- Box.Visible = false
- Box.TextXAlignment='Left'
- --Box.MultiLine=true
- Box.TextYAlignment='Top'
- Box.BackgroundTransparency=1
- Box.TextStrokeColor3=CurrentPlayerData[3]
- Box.Parent=SGui
- Box.BackgroundColor3 = CurrentPlayerData[4]
- Box:CaptureFocus()
- Box.FocusLost:connect(function()
- SGui:Destroy()
- end)
- local isub = '|'
- local l=false
- spawn(function()
- if tb.Text:sub(#tb.Text,#tb.Text)=='|' then
- tb.Text=tb.Text:sub(1,#tb.Text-1)
- end
- local canc = false
- spawn(function()
- while not canc do
- wait(.6)
- l=not l
- if l == true then
- isub='|'
- else
- isub=''
- end
- end
- end)
- repeat
- tb.Text=Box.Text..isub
- lrs:wait()
- until SGui.Parent ~= Host.PlayerGui
- if l then
- tb.Text=tb.Text:sub(1,#tb.Text-1)
- end
- canc=true
- SGui=nil
- end)
- end)
- end)
- end
- Functions:CreateProgram('Settings',485882401,'Sett','Also self explanitory...',function(HF,TF,CF)
- end)
- spawn(function()
- local nw={};
- for i,v in next, OS.Backgrounds do
- delay(math.random()*5,function()
- nw[#nw+1]=v
- end)
- end
- repeat wait() until #nw==#OS.Backgrounds
- wait(.5)
- OS.Backgrounds=nw
- Functions:Notification('Formatted OS.Backgrounds', 4)
- end)
- spawn(function()
- local nw={};
- for i,v in next, OS.Sounds do
- delay(math.random()*5,function()
- nw[#nw+1]=v
- end)
- end
- repeat wait() until #nw==#OS.Sounds
- wait(.5)
- OS.Sounds=nw
- Functions:Notification('Formatted OS.Sounds', 4)
- end)
- Functions:CreateProgram('Gallery', 152445445, 'Images', 'View your favorite, saved, and default images', function(HF,TF,CF)
- local title = Functions:MakeNewUi('TextLabel')
- title.TextColor3 = CurrentPlayerData[3]
- title.TextStrokeTransparency=1
- title.Size=ud(1,0,.1,0)
- title.Text = 'Gallery - '..#OS.Backgrounds..' assets total'
- title.TextXAlignment='Center'
- title.TextYAlignment='Center'
- title.Font = OS.Settings.Fonts.Header
- title.BackgroundTransparency=1
- title.Parent=CF
- title.BackgroundColor3 = CurrentPlayerData[4]
- spawn(function()
- wait(1)
- Effects:Underline(title, 15, 300, 2, CurrentPlayerData[3], true)
- end)
- local scroll = Functions:MakeNewUi('ScrollingFrame')
- scroll.Size=ud(1,0,.9,0)
- scroll.Position = ud(0,0,.1,0)
- scroll.BackgroundTransparency=0
- scroll.TopImage=Functions:Asset(317839361)
- scroll.MidImage=Functions:Asset(317839361)
- scroll.BottomImage=Functions:Asset(317839361)
- scroll.ScrollBarThickness = 5
- scroll.Parent=CF
- scroll.BackgroundColor3 = CurrentPlayerData[4]
- local Loaded = 0
- local o,d = 0,0
- local curbg = nil
- local bgs={};
- for i, Id in next, OS.Backgrounds do
- --local Market = game:service'MarketplaceService'
- --local Asset = Market:GetProductInfo(Id)
- local Img = Functions:MakeNewUi('ImageButton')
- Img.Image = Functions:Asset(Id)
- local scl = 2
- local add = .005
- local sx,sy=(.089*scl),(.05*scl)
- Img.Size=ud(sx,0,0,34*2)
- Img.Position = ud(((sx+add)*o)+.05,0,0,((36*2)*d))
- o=o+1
- game:service'RunService'.RenderStepped:wait()
- if sx*(o+1) >= 1 then
- d=d+1
- o=0
- scroll.CanvasSize=ud(0,0,0,((36*2)*d))
- end
- Img.BackgroundColor3 = scroll.BackgroundColor3
- Img.BorderColor3 = CurrentPlayerData[3]
- Img.ImageTransparency=1
- Img.MouseButton1Down:connect(function()
- curbg = Img
- OS.Assets.Background.Image=Functions:Asset(Id)
- end)
- Img.Parent=scroll
- spawn(function()
- for i = 0,1.05,.05 do
- Img.ImageTransparency=1-i
- game:service'RunService'.RenderStepped:wait()
- end
- end)
- bgs[#bgs+1]=Img
- end
- while #bgs > 0 do
- lrs:wait()
- for i,Img in next, bgs do
- if Img == nil or Img.Parent == nil then
- table.remove(bgs,i)
- else
- if curbg == Img then
- Img.BorderSizePixel = 2
- else
- Img.BorderSizePixel=0
- end
- end
- end
- end
- end)
- Functions:CreateProgram('Explorer', 27854793, 'Expl', 'Explore the game\'s children', function(HF,TF,CF)
- local funcs = {};
- local title = Functions:MakeNewUi('TextLabel')
- title.TextColor3 = CurrentPlayerData[3]
- title.TextStrokeTransparency=1
- title.Size=ud(1,0,.2,0)
- title.Text = 'Services'
- title.TextXAlignment='Center'
- title.TextYAlignment='Center'
- title.BackgroundTransparency=1
- title.Parent=CF
- title.BackgroundColor3 = CurrentPlayerData[4]
- spawn(function()
- wait(1)
- Effects:Underline(title, 15, 80, 2, CurrentPlayerData[3], true)
- end)
- local scroll = Functions:MakeNewUi('ScrollingFrame')
- scroll.Size=ud(.8,0,.8,0)
- scroll.Position = ud(.1,0,.2,0)
- scroll.BackgroundTransparency=1
- scroll.TopImage=Functions:Asset(317839361)
- scroll.MidImage=Functions:Asset(317839361)
- scroll.BottomImage=Functions:Asset(317839361)
- scroll.ScrollBarThickness = 5
- scroll.Parent=CF
- scroll.BackgroundColor3 = CurrentPlayerData[4]
- function funcs:w()
- return wait(.05)
- end
- local buttons={};
- local t = 0
- function funcs:clearscroll()
- t=t+1
- buttons={};
- for i,v in next, scroll:children() do
- --funcs:w()
- pcall(function()
- spawn(function()
- v:TweenPosition(ud(1,0,v.Position.Y.Scale,v.Position.Y.Offset),'Out','Quint',2,true)
- for i = 0,1.05,.05 do
- pcall(function()
- v.TextTransparency=v.TextTransparency+.05
- end)
- pcall(function()
- v.BackgroundTransparency=v.BackgroundTransparency+.05
- end)
- pcall(function()
- v.TextStrokeTransparency=v.TextStrokeTransparency+.05
- end)
- lrs:wait()
- end
- v:Destroy()
- end)
- end)
- end
- wait(2)
- end
- function funcs:bt(i,txt,func)
- delay(0,function()
- if t == i then
- --funcs:w()
- local button = Functions:MakeNewUi('TextButton')
- local index = #buttons
- buttons[index+1]=button
- local y = 22*(index)
- scroll.CanvasSize=ud(0,0,0,y)
- button.TextColor3 = CurrentPlayerData[3]
- button.TextStrokeTransparency=.9
- button.Size=ud(1,0,0,20)
- button.Position=ud(1,0,0,y)
- button.Text = txt
- button.TextXAlignment='Left'
- button.TextTransparency=1
- button.TextSize = 12
- button.Font=OS.Settings.Fonts.Header
- --button.TextYAlignment='Top'
- button.BackgroundTransparency=.6
- button.TextStrokeColor3=CurrentPlayerData[3]
- button.Parent=scroll
- button.BackgroundColor3 = CurrentPlayerData[4]
- spawn(function()
- button:TweenPosition(ud(0,0,0,y),'Out','Quint',.5,true)
- for i = 0,1.05,.05 do
- button.TextTransparency=1-i
- lrs:wait()
- end
- end)
- local ev
- ev=button.MouseButton1Click:connect(function()
- ev:disconnect()
- func(button)
- end)
- return button
- else
- return nil
- end
- end)
- end
- function funcs:showoptions(obj)
- funcs:clearscroll()
- local st = t
- if obj:IsA'Instance' then
- title.Text = obj:GetFullName()
- if #obj:children() > 0 then
- local expl=funcs:bt(st,'Explore',function()
- funcs:showchildren(obj)
- end)
- end
- pcall(function()
- if obj ~= game and obj.Parent ~= game then
- local expl=funcs:bt(st,'Destroy',function()
- local par = obj.Parent
- local pn = obj.Name
- pcall(function()
- obj:Destroy()
- end)
- funcs:clearscroll()
- local nst = t
- funcs:bt(nst,'Return to '..pn..'\'s parent object',function()
- funcs:showchildren(par)
- end)
- funcs:bt(nst,'Destroyed '..pn,function()
- end)
- end)
- end
- end)
- if obj ~= game then
- local tag = 'Return to '..obj.Parent.Name..'\'s children'
- if obj.Parent==game then
- tag='Return to explorable services'
- end
- local ret=funcs:bt(st,tag,function()
- funcs:showchildren(obj.Parent)
- end)
- elseif obj.Parent == game then
- funcs:showservs()
- end
- local sprops=funcs:bt(st,'Show Properties',function()
- funcs:clearscroll()
- local st2 = t
- local rett=funcs:bt(st2,'Return to options for '..obj.Name,function()
- funcs:showoptions(obj)
- end)
- local Props = Functions:ReturnObjectProperties(obj)
- Props['Children'] = #obj:children()
- for index, value in next, Props do
- local prop=funcs:bt(st2,tostring(index)..': '..tostring(value),function()
- end)
- end
- end)
- end
- end
- function funcs:showchildren(prnt)
- funcs:clearscroll()
- local st = t
- if prnt:IsA'Instance' then
- local back=funcs:bt(st,'Show me options for '..prnt.Name,function()
- funcs:showoptions(prnt)
- end)
- for i,v in next, prnt:children() do
- pcall(function()
- if prnt:IsA'Instance' then
- local sub=' - '..v.ClassName
- pcall(function()
- if prnt==game then
- sub=''
- end
- end)
- local child=funcs:bt(st,v.Name..sub,function()
- funcs:showoptions(v)
- end)
- end
- end)
- end
- end
- end
- function funcs:showservs()
- funcs:clearscroll()
- local st = t
- local servs = {};
- for i,v in next, game:children() do
- pcall(function()
- if #v:children() > 0 then
- table.insert(servs,v)
- end
- end)
- end
- local child=funcs:bt(st,'SHOW ME ALL THE DAMN SERVICES!',function()
- funcs:showoptions(game)
- end)
- for i,v in next, servs do
- local child = funcs:bt(st,v.Name,function()
- funcs:showoptions(v)
- end)
- end
- end
- funcs:showservs()
- end)
- local Audios={};
- local CurrentPlaying = nil
- function Functions:AddSound(Id)
- for Index, Sound in next, Audios do
- if Sound:IsA'Sound' then
- Sound:Stop()
- Sound.PlayOnRemove=false
- end
- end
- local Sound = Instance.new('Sound', Monitor)
- Sound.SoundId=Functions:Asset(Id)
- Sound.Volume=.9
- CurrentPlaying = Sound
- table.insert(Audios, Sound)
- return Sound
- end
- function Functions:IntegerLerp(a,b,c)
- return a + (b - a) * c;
- end
- Functions:CreateProgram('Messenger',485845332,'MGR','Self explanitory... idiot', function(HF,TF,CF)
- end)
- local cur = nil
- local curSound = nil
- Functions:CreateProgram('SmAudio', 64646186, 'SmA', 'An archive of selected music just for you ;) with extra features as well', function(HF,TF,CF)
- local title = Functions:MakeNewUi('TextLabel')
- title.TextColor3 = CurrentPlayerData[3]
- title.TextStrokeTransparency=1
- title.Size=ud(1,0,.2,0)
- title.Text = 'SmAudio Alpha'
- title.TextXAlignment='Center'
- title.TextYAlignment='Center'
- title.Font = OS.Settings.Fonts.Header
- title.BackgroundTransparency=1
- title.Parent=CF
- title.BackgroundColor3 = CurrentPlayerData[4]
- spawn(function()
- wait(1)
- Effects:Underline(title, 15, 80, 2, CurrentPlayerData[3], true)
- end)
- local scroll = Functions:MakeNewUi('ScrollingFrame')
- scroll.Size=ud(.8,0,.8,0)
- scroll.Position = ud(.1,0,.2,0)
- scroll.BackgroundTransparency=0
- scroll.TopImage=Functions:Asset(317839361)
- scroll.MidImage=Functions:Asset(317839361)
- scroll.BottomImage=Functions:Asset(317839361)
- scroll.ScrollBarThickness = 5
- scroll.Parent=CF
- scroll.BackgroundColor3 = CurrentPlayerData[4]
- local max = 0
- spawn(function()
- local y = 0
- repeat game:service'RunService'.RenderStepped:wait()
- y=Functions:IntegerLerp(y,max,.02)
- --print(max)
- --print(y)
- --scroll.CanvasSize=ud(0,0,0,y)
- until CF.Parent == nil
- end)
- local play,pause,sound = Functions:Asset(745599404),Functions:Asset(745599001),Functions:Asset(176572847)
- local Loaded = 0
- for i, Id in next, OS.Sounds do
- delay((math.random()/(math.random()+.2))*3, function()
- local Market = game:service'MarketplaceService'
- local Asset = Market:GetProductInfo(Id)
- local Song = Functions:MakeNewUi('ImageButton')
- Song.Parent=scroll
- Song.Image = play
- local clr=CurrentPlayerData[3]
- local clr2=CurrentPlayerData[4]
- Song.BackgroundColor3=clr
- Song.Size=ud(0,45,0,45)
- Song.BackgroundTransparency=1
- local y = (Song.Size.Y.Offset+2)*(i-1)
- max=max+(Song.Size.Y.Offset+2)
- local x = Song.Size.X.Offset
- local author = Functions:MakeNewUi('TextLabel')
- author.TextColor3 = CurrentPlayerData[3]
- author.Size=ud(1,-x+10,0,20)
- author.Position = ud(0,x+10,0,y)
- author.Text = 'Author '..Asset.Creator.Name..' ; '..Asset.Creator.Id
- author.TextXAlignment='Left'
- author.TextYAlignment='Center'
- author.TextSize = 16
- author.Font = OS.Settings.Fonts.Header
- author.BackgroundTransparency=1
- author.TextTransparency=1
- author.Parent=scroll
- author.BackgroundColor3 = CurrentPlayerData[3]
- local name = Functions:MakeNewUi('TextLabel')
- name.TextColor3 = CurrentPlayerData[3]
- name.Size=ud(1,-x+10,0,20)
- name.Position = ud(0,x+10,0,y+(author.TextSize+2))
- name.Text = 'Name '..Asset.Name
- name.TextXAlignment='Left'
- name.TextYAlignment='Center'
- name.TextSize = 12
- name.TextTransparency=1
- name.Font = OS.Settings.Fonts.Header
- name.BackgroundTransparency=1
- name.Parent=scroll
- name.BackgroundColor3 = CurrentPlayerData[3]
- local desc = Functions:MakeNewUi('TextLabel')
- desc.TextColor3 = CurrentPlayerData[3]
- local alg = (((name.TextBounds.X+author.TextBounds.X)/1.5)+(10+(author.TextSize+name.TextSize)))
- desc.Size=ud(1,-x-(alg+scroll.ScrollBarThickness),0,46)
- desc.Position = ud(1,0,0,y-1)
- desc.Text = Asset.Creator.Name..': '..Asset.Description
- desc.BorderSizePixel=0
- desc.BorderColor3 = CurrentPlayerData[3]
- desc.TextWrapped=true
- desc.TextXAlignment='Left'
- desc.TextTransparency=1
- desc.TextYAlignment='Top'
- desc.TextSize = 12
- desc.Font = OS.Settings.Fonts.Header
- desc.BackgroundTransparency=1
- desc.Parent=scroll
- desc.BackgroundColor3 = scroll.BackgroundColor3
- desc.ClipsDescendants=false
- local line = Functions:MakeNewUi('TextLabel')
- line.TextColor3 = CurrentPlayerData[3]
- line.Size=ud(0,1,1,0)
- line.Position = ud(0,-4,0,0)
- line.Text = ''
- line.BackgroundTransparency=0
- line.BackgroundColor3 = CurrentPlayerData[3]
- line.Parent=desc
- if Asset.Description=='Audio' or Asset.Description=='RenderMesh' then
- desc:Destroy()
- else
- desc:TweenPosition(ud(0,x+alg,0,y-1),'Out','Quint',1,true)
- end
- Song.Position = ud(0,-x,0,y)
- Song.ZIndex=8
- Song.MouseEnter:connect(function()
- local t=clr2
- local tt=.15
- clr=c3(t.r-tt,t.b-tt,t.g-tt)
- clr2=CurrentPlayerData[3]
- end)
- Song.MouseLeave:connect(function()
- clr=CurrentPlayerData[3]
- clr2=CurrentPlayerData[4]
- end)
- Song.MouseButton1Click:connect(function()
- if cur == Song then
- curSound:Pause()
- cur=nil
- else
- cur=Song
- curSound = Functions:AddSound(Id)
- curSound.Looped = true
- curSound:Play()
- clr=CurrentPlayerData[3]
- clr2=CurrentPlayerData[4]
- end
- end)
- spawn(function()
- for i = 0,1.05,.05 do
- desc.TextTransparency=1-i
- desc.BackgroundTransparency=1-i
- name.TextTransparency=1-i
- author.TextTransparency=1-i
- game:service'RunService'.RenderStepped:wait()
- end
- end)
- spawn(function()
- repeat game:service'RunService'.RenderStepped:wait()
- if cur == Song then
- Song.Image = pause
- else
- Song.Image = play
- end
- Song.BackgroundColor3=Song.BackgroundColor3:lerp(clr,.25)
- Song.ImageColor3=Song.ImageColor3:lerp(clr2,.25)
- until CF.Parent == nil
- end)
- Song:TweenPosition(ud(0,0,0,y),'Out','Quint',.5,true)
- Loaded = Loaded + 1
- end)
- end
- local ii=0
- repeat
- wait()
- title.Text = 'Loading Assets #'..Loaded
- ii=Functions:IntegerLerp(ii,max+10,.04)
- scroll.CanvasSize=ud(0,0,0,ii)
- scroll.CanvasPosition=Vector2.new(0,ii)
- until Loaded == #OS.Sounds
- title.Text = 'SmAudio Beta'
- end)
- function Functions:GeneratePrograms(Distance)
- --print'k'
- local Over, Down=0,0
- for Index, Data in next, OS.Apps.Qeued do
- if Down > 7 then
- return
- end
- local maximized,ump,ums
- lrs:wait()
- local Icon = Functions:MakeNewUi('ImageButton')
- Icon.Image=Functions:PlayerImage(Host)
- Icon.Parent=MainFrame
- Icon.BackgroundColor3=CurrentPlayerData[4]
- Icon.Image=Functions:Asset(Data[2])
- Icon.Size=ud(0,50,0,50)
- Icon.ZIndex=2
- Icon.ImageTransparency=0
- local IconName = Functions:MakeNewUi('TextLabel')
- IconName.Font=OS.Settings.Fonts.Header
- IconName.Parent=Icon
- IconName.TextYAlignment='Bottom'
- IconName.TextSize = 10
- IconName.Text= Data[1]
- IconName.Size=ud(1,0,0,20)
- IconName.Position=ud(0,0,1,-20)
- IconName.ZIndex=2
- local bgtp = 1
- Icon.MouseEnter:connect(function()
- bgtp=.5
- end)
- Icon.MouseLeave:connect(function()
- bgtp=1
- end)
- local oi = bgtp
- lrs:connect(function()
- oi=Functions:IntegerLerp(oi,bgtp,.3)
- Icon.BackgroundTransparency=oi
- end)
- OS.Apps.Generated[Data[1]]=Icon
- if Over >= 13 then
- Down = Down + 1
- Over = 0
- end
- Icon.Position=ud(0,15+(60*(Over)),0,15+(60*(Down)))
- Over = Over + 1
- Icon.ZIndex=2
- local oic
- oic=Icon.MouseButton1Click:connect(function()
- local AlreadyOpen=false
- for Index, Ting in next, OS.Apps.Open do
- for i = 1,#Ting do
- if Data[i] == Ting[i] then
- AlreadyOpen=true
- end
- end
- end
- if AlreadyOpen then
- warn'nop'
- return
- end
- table.insert(OS.Apps.Open,{Data[1],Data[2],Data[3]})
- OS.RecentlyUsedPrograms[Data[4]]=Data
- local HolderFrame = Functions:MakeNewUi('Frame')
- HolderFrame.ZIndex=3
- HolderFrame.BackgroundTransparency=0
- HolderFrame.BorderSizePixel=.1
- HolderFrame.BorderColor3=CurrentPlayerData[3]
- HolderFrame.Size=ud(0,600,0,400)
- HolderFrame.Name='HF'
- HolderFrame.BackgroundColor3=CurrentPlayerData[3]
- HolderFrame.Position = Functions:Center(HolderFrame)
- HolderFrame.Parent = MainFrame
- maximized,ump,ums=false,HolderFrame.Position,HolderFrame.Size
- local function Enable()
- for i,gui in next, MainFrame:children() do
- if gui:IsA'ImageButton' then
- gui.Visible=true
- end
- end
- end
- local function Disable()
- for i,gui in next, MainFrame:children() do
- if gui:IsA'ImageButton' then
- gui.Visible=false
- end
- end
- end
- local ev1
- ev1=HolderFrame.MouseEnter:connect(function()
- --print'k1'
- Disable()
- end)
- local ev2
- ev2=HolderFrame.MouseLeave:connect(function()
- --print'k2'
- Enable()
- end)
- local InfoFrame = Functions:MakeNewUi('Frame')
- InfoFrame.ZIndex=4
- InfoFrame.BackgroundTransparency=0
- InfoFrame.Size=ud(1,0,0,15)
- InfoFrame.Name='TF'
- InfoFrame.BackgroundColor3=CurrentPlayerData[3]
- for i = 1,3 do
- i=i
- local CButt = Functions:MakeNewUi('ImageButton')
- CButt.Image=Functions:Asset(625953771)
- CButt.Parent=InfoFrame
- CButt.ImageTransparency=.15
- local OCF
- --505680534
- spawn(function()
- local up=.75
- local r,g,b=0,0,0
- if (i==1) then
- r,g,b=.8,.01,.01
- elseif (i==2) then
- r,g,b=.95,.95,0
- elseif (i==3) then
- r,g,b=0,.7,0
- end
- CButt.ImageColor3 = c3(r,g,b)
- CButt.MouseEnter:connect(function()
- for i = 0,1,.1 do
- CButt.ImageColor3 = CButt.ImageColor3:lerp(c3(r+up,g+up,b+up),.13)
- lrs:wait()
- end
- end)
- CButt.MouseLeave:connect(function()
- for i = 0,1,.1 do
- CButt.ImageColor3 = CButt.ImageColor3:lerp(c3(r,g,b),.13)
- lrs:wait()
- end
- end)
- end)
- --if not OCF then OCF=function()print'missing func'end;end
- if (i==1) then
- r,g,b=.8,.01,.01
- local evv
- ev1:disconnect()
- ev2:disconnect()
- evv=CButt.MouseButton1Click:connect(function()
- for Index, Ting in next, OS.Apps.Open do
- if Data[1] == Ting[1] then
- table.remove(OS.Apps.Open, Index)
- end
- end
- evv:disconnect()
- local pos = HolderFrame.Position
- HolderFrame.Active=false
- HolderFrame:Destroy()
- end)
- elseif (i==2) then
- r,g,b=.95,.95,0
- local evv
- evv=CButt.MouseButton1Click:connect(function()
- if maximized then
- HolderFrame:TweenSizeAndPosition(ums,ump,'Out','Sine',.3,true)
- maximized=false
- else
- HolderFrame:TweenSizeAndPosition(ud(1,2,1,-50),ud(0,-1,0,-1),'Out','Quint',.3,true)
- maximized=true
- end
- end)
- elseif (i==3) then
- r,g,b=0,.7,0
- local evv
- ev1:disconnect()
- ev2:disconnect()
- for Index, Ting in next, OS.Apps.Open do
- if Data[1] == Ting[1] then
- table.remove(OS.Apps.Open, Index)
- end
- end
- evv=CButt.MouseButton1Click:connect(function()
- evv:disconnect()
- HolderFrame:TweenSizeAndPosition(ud(0,50,0,50),Icon.Position,'Out','Quint',.5,true)
- wait(.2)
- HolderFrame:Destroy()
- end)
- --Functions:AddToTaskBar(Data[1],Data[2],{ump,ums})
- end
- --CButt.MouseButton1Click:connect(OCF)
- CButt.Size=ud(0,12,0,12)
- CButt.Position=Functions:CenterOffset(CButt,ud(.5,-(15*i),0,0))
- --CButt:TweenPosition(Functions:CenterOffset(CButt,ud(0,0,0,-50),'Out','Back',1,true))
- end
- InfoFrame.Parent = HolderFrame
- local InfoIcon = Functions:MakeNewUi('ImageButton')
- InfoIcon.Parent=InfoFrame
- InfoIcon.Image=Functions:Asset(Data[2])
- InfoIcon.Size=ud(0,12,0,12)
- InfoIcon.ImageTransparency=0
- InfoIcon.Position=ud(0,2,0,3)
- InfoIcon.ZIndex=4
- local InfoText = Functions:MakeNewUi('TextButton')
- InfoText.BackgroundTransparency=.5
- InfoText.FontSize='Size12'
- InfoText.Parent=InfoFrame
- InfoText.TextXAlignment='Left'
- InfoText.Text= Data[1]--..' \ '..Data[4]--'*C:\Users\\'..Host.Name..''
- InfoText.Size=ud(1,-40,1,0)
- InfoText.Position=ud(0,16,0,0)
- InfoText.ZIndex=4
- local md=false
- InfoText.MouseButton1Down:connect(function()
- md=true
- local origp=HolderFrame.Position
- local origs=ud(0,600,0,15)
- local origmp=OS.Assets.Mouse.Position
- HolderFrame.Size = ud(0,600,0,400)
- maximized=false
- spawn(function()
- repeat wait() until OS.MouseDown == false
- md=false
- end)
- while md do
- local mp={OS.Assets.Mouse.Position.X.Scale,OS.Assets.Mouse.Position.X.Offset,OS.Assets.Mouse.Position.Y.Scale,OS.Assets.Mouse.Position.Y.Offset};
- local fs={origs.X.Scale,origs.X.Offset,origs.Y.Scale,origs.Y.Offset};
- local fp={origp.X.Scale,origp.X.Offset,origp.Y.Scale,origp.Y.Offset};
- --local a,b=
- local x,y=mp[2]-(fs[2]/2),mp[4]-(fs[4]/2)
- --print(x,y)
- HolderFrame.Position=ud(0,x,0,y)
- lrs:wait()
- end
- end)
- InfoText.MouseButton1Up:connect(function()
- --md=false
- end)
- local ContentFrame = Functions:MakeNewUi('Frame')
- ContentFrame.ZIndex=4
- ContentFrame.BackgroundTransparency=.1
- ContentFrame.Size=ud(1,-2,1,-17)
- ContentFrame.Position=ud(0,1,0,16)
- ContentFrame.Name='CF'
- ContentFrame.BackgroundColor3=CurrentPlayerData[4]
- ContentFrame.Parent = HolderFrame
- Data[5](HolderFrame, TitleFrame, ContentFrame)
- end)
- end
- end
- local AtMainScreen=false
- function Functions:MakeHomeScreen()
- local Background_id = CurrentPlayerData[5]
- local BackgroundImg = Functions:MakeNewUi('ImageLabel')
- BackgroundImg.Image=Functions:Asset(Background_id)
- BackgroundImg.Name='Background'
- BackgroundImg.BackgroundTransparency=1
- BackgroundImg.ImageTransparency = .1
- BackgroundImg.Parent=MainFrame
- BackgroundImg.ZIndex=1
- BackgroundImg.Size=ud(1,0,1,0)
- OS.Assets.Background = BackgroundImg
- for i = 0,1.025,.025 do
- MainFrame.BackgroundTransparency=i
- lrs:wait()
- end
- local TskBar = Functions:MakeNewUi('TextLabel')
- TskBar.Size = ud(1,0,0,52)
- TskBar.Parent = MainFrame
- TskBar.BackgroundColor3 = CurrentPlayerData[3]
- TskBar.BackgroundTransparency = .5
- TskBar.Position = ud(0,0,1,0)
- TskBar.ZIndex = 9
- TskBar:TweenPosition(ud(0,0,1,-52.5),'Out','Quint',1.2,true)
- for i = 0,.15,.05 do
- local TskBarShader = Functions:MakeNewUi('TextLabel')
- TskBarShader.BackgroundTransparency = .8
- TskBarShader.BackgroundColor3 = CurrentPlayerData[4]
- TskBarShader.BorderSizePixel = 0
- TskBarShader.Size = ud(1,0,.05,0)
- TskBarShader.Position = ud(0,0,-i,0)
- delay(.2,function()
- TskBarShader:TweenPosition(ud(0,0,i+5,0),'Out','Quint',.5,true)
- end)
- TskBarShader.ZIndex = 9
- TskBarShader.Name = 'shd'..i
- --TskBar:ClearAllChildren()
- TskBarShader.Parent = TskBar
- end
- --//tem\\
- local TimeLabel = Instance.new'TextLabel'
- TimeLabel.BackgroundTransparency = 1
- TimeLabel.BackgroundColor3 = c3(255,255,255)
- TimeLabel.BorderSizePixel = 0
- TimeLabel.ZIndex = 9
- TimeLabel.TextColor3 = CurrentPlayerData[4]
- TimeLabel.Font = OS.Settings.Fonts.Sub_Header
- TimeLabel.TextScaled = true
- TimeLabel.Name = 'TimeLabel'
- TimeLabel.TextWrapped = true
- TimeLabel.TextStrokeTransparency = .9
- TimeLabel.Text = '00:00:00 PM'
- TimeLabel.Parent = TskBar
- TimeLabel.Size = ud(.08,0,.3,0)
- TimeLabel.Position = ud(.92,-10,0,6)
- local DateLabel = Instance.new'TextLabel'
- DateLabel.BackgroundTransparency = 1
- DateLabel.BackgroundColor3 = c3(255,255,255)
- DateLabel.BorderSizePixel = 0
- DateLabel.ZIndex = 9
- DateLabel.TextColor3 = CurrentPlayerData[4]
- DateLabel.Font = OS.Settings.Fonts.Sub_Header
- DateLabel.TextScaled = true
- DateLabel.Name = 'DateLabel'
- DateLabel.TextWrapped = true
- DateLabel.TextStrokeTransparency = .9
- DateLabel.Text = '00/00/0000'
- DateLabel.Parent = TskBar
- DateLabel.Size = ud(.08,0,.3,0)
- DateLabel.Position = ud(.92,-10,.6,-6)
- local Logo = Functions:MakeNewUi'ImageButton'
- Logo.BackgroundTransparency = 1
- Logo.BackgroundColor3 = CurrentPlayerData[3]
- Logo.BorderSizePixel = 0
- Logo.ZIndex = 10
- Logo.Image = Functions:Asset(265489553)
- --Logo.TextColor3 = CurrentPlayerData[4]
- --Logo.Font = 'Cartoon'
- --Logo.FontSize='Size36'
- Logo.Name = 'Logo'
- --Logo.TextStrokeTransparency = .9
- --Logo.Text = '∂Y'
- Logo.Parent = TskBar
- Logo.Size = ud(0,40,0,50)
- Logo.Position = ud(0,1,0,1)
- local clrcancel=false
- local igc,bgc=CurrentPlayerData[4],CurrentPlayerData[3]
- Logo.MouseEnter:connect(function()
- local continue=true
- clrcancel=true
- clrcancel=false
- spawn(function()
- for i = 0,.57,.07 do
- Logo.BackgroundTransparency=1-i
- lrs:wait()
- end
- end)
- igc,bgc=CurrentPlayerData[3],CurrentPlayerData[4]
- end)
- Logo.MouseLeave:connect(function()
- local continue=true
- clrcancel=true
- clrcancel=false
- spawn(function()
- for i = 0,.57,.07 do
- Logo.BackgroundTransparency=.5+i
- lrs:wait()
- end
- end)
- igc,bgc=CurrentPlayerData[4],CurrentPlayerData[3]
- end)
- local StartFrameHolder = Functions:MakeNewUi('Frame')
- StartFrameHolder.ZIndex=5
- StartFrameHolder.BackgroundTransparency=1
- StartFrameHolder.Size=ud(0,200,.6,0)
- StartFrameHolder.Position = ud(0,0,.4,-52)
- StartFrameHolder.Parent = MainFrame
- local StartFrame = Functions:MakeNewUi('Frame')
- StartFrame.ZIndex=9
- StartFrame.BackgroundTransparency=.5
- StartFrame.Size=ud(1,0,1,0)
- StartFrame.BorderSizePixel=2
- StartFrame.Name='SF'
- StartFrame.BorderColor3=CurrentPlayerData[4]
- StartFrame.Position = ud(0,0,1,0)
- StartFrame.Parent = StartFrameHolder
- local TestButton = Functions:MakeNewUi('TextButton')
- TestButton.ZIndex=6
- TestButton.BackgroundTransparency=.7
- TestButton.Size=ud(1,-6,0,50)
- TestButton.Position = ud(0,3,0,3)
- TestButton.Text='TEST NOTIFICATIONS'
- TestButton.Parent = StartFrame
- TestButton.MouseButton1Click:connect(function()
- Functions:Notification('Just testing the dank re-alignment and stuff, kek.')
- end)
- local sfcc,detection=false,false
- StartFrame.MouseEnter:connect(function()
- detection=false
- sfcc=false
- end)
- StartFrame.MouseLeave:connect(function()
- detection=true
- sfcc=true
- end)
- local Extended=false
- local function Open(trans)
- StartFrame:TweenPosition(ud(0,0,0,0),'Out','Sine',.5,true)
- for i = 0,1.05,.05 do
- for a,b in next, StartFrame:children() do
- if b.Name ~= 'SF' then
- pcall(function()
- b.TextTransparency=b.TextTransparency-.05
- end)
- pcall(function()
- b.BackgroundTransparency=bBackgroundTransparency-.05
- end)
- pcall(function()
- b.ImageTransparency=b.ImageTransparency-.05
- end)
- end
- end
- StartFrame.BackgroundTransparency=1-.05
- lrs:wait()
- end
- StartFrame.BackgroundTransparency=trans
- Extended=true
- end
- local function Close(trans)
- StartFrame:TweenPosition(ud(0,0,1,0),'Out','Sine',.5,true)
- for i = 0,1,.05 do
- for a,b in next, StartFrame:children() do
- if b.Name ~= 'SF' then
- pcall(function()
- b.TextTransparency=b.TextTransparency+.05
- end)
- pcall(function()
- b.BackgroundTransparency=bBackgroundTransparency+.05
- end)
- pcall(function()
- b.ImageTransparency=b.ImageTransparency+.05
- end)
- end
- end
- StartFrame.BackgroundTransparency=trans+.05
- lrs:wait()
- end
- StartFrame.BackgroundTransparency=1
- Extended=false
- end
- local trans=.45
- PlayerMouse.Button1Down:connect(function()
- if sfcc and Extended then
- detection=false
- Close(trans)
- end
- end)
- PlayerMouse.Button2Down:connect(function()
- if sfcc and Extended then
- detection=false
- Close(trans)
- end
- end)
- Logo.MouseButton1Down:connect(function(x,y)
- if Extended then
- Close(trans)
- else
- Open(trans)
- end
- end)
- local Months = {
- "January", "Febreuary", "March", "April", "May", "June",
- "July", "August", "September", "October", "November", "December"
- }
- local MonthDays = {
- 31, 28, 31, 30, 31, 30,
- 31, 31, 30, 31, 30, 31
- }
- function getDay(Date, year)
- local month, date = Date:match("(%a+)%s*(%d+)")
- local DAYS = tonumber(date)
- local leaps = math.floor( (year-2011)/4 - .25 ) + 1
- local Days = {"Saturday", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday"}
- for _, v in ipairs(MonthDays) do
- if Months[_] == month then break end
- DAYS = DAYS + v
- end
- DAYS = math.floor( DAYS + (year-2017) * 365 ) + leaps
- return Days[ (DAYS%7 == 0 and 7 or DAYS%7) ]
- end
- function getMonthAndDate(days, year)
- local leap = year%4 == 0 and 1 or 0
- local month;
- for _, v in ipairs(MonthDays) do
- if (days-v) < 1 then
- month = Months[_]
- break
- end
- days = days - v
- end
- return month, days
- end
- local LTime,LDate = '',''
- local M = ''
- Time = function()
- local secondsInDay = 60*60*24
- local time = tick()
- local year = math.floor(1970 + time/(365.25*86400))
- local days = math.ceil(((time % (86400*365.25)) )/86400 + 0.25)
- local month, date = getMonthAndDate(days, year)
- local day = getDay(month..date, year)
- local tick = math.fmod(tick(),secondsInDay)
- local hour = math.floor(tick/3600) + 5 + -5
- local minute = math.floor(tick/60 - 60*hour)
- local seconds = math.floor(math.fmod(tick,60))
- if (hour > 12) then
- M = ' PM' hour = hour - 12
- else
- M = ' AM'
- end
- if hour == 0 then
- hour = 12
- end
- if hour == 24 then
- hour = 1
- end
- LTime = string.format("%2.0f:%02.0f",hour,minute)
- local MonthNums = {
- ["January"]=1, ["February"]=2, ["March"]=3, ["April"]=4, ["May"]=5, ["June"]=6,
- ["July"]=7, ["August"]=8, ["September"]=9, ["October"]=10, ["November"]=11, ["December"]=12
- }
- month=MonthNums[month]
- LDate = month..'/'..(days-1)..'/'..year
- TimeLabel.Text = LTime..M
- DateLabel.Text = LDate
- Logo.ImageColor3 = Logo.ImageColor3:lerp(igc,.2)
- Logo.BackgroundColor3 = Logo.BackgroundColor3:lerp(bgc,.2)
- end
- game:service'RunService'.Heartbeat:connect(Time)
- AtMainScreen=true
- local txt=''
- if Official then
- txt='Welcome back, '..CurrentPlayerData[1]..', your last session\'s saved data has been loaded'
- else
- txt='Hello, '..CurrentPlayerData[1]..'. Your data will be saved at the end of this session'
- end
- delay(math.random(1,4),function()
- delay(.3,function()
- Functions:PlayerImgNotification('SavageMunkey', 'Creator & Founder of ∂YaviOS - SavageMunkey')
- end)
- local fr,tl = Functions:Notification(txt,6)
- end)
- Functions:GeneratePrograms({25,20})
- AtMainScreen=true
- return warn'Homescreen Loaded'
- end
- function Functions:PlayerImgNotification(Plr, Type)
- if not AtMainScreen then return end
- local sz=50
- if Type=='join' then
- local fr,tl=Functions:Notification('New Player has joined, '..tostring(Plr)..'.', 4)
- tl.Size=ud(1,-(sz+5),1,0)
- tl.Position=ud(0,sz+5,0,0)
- local UserImage = Functions:MakeNewUi('ImageLabel')
- UserImage.Image=Functions:PlayerImage(tostring(Plr))
- UserImage.Parent=fr
- UserImage.Size=ud(0,sz,1,0)
- UserImage.ImageTransparency=0
- UserImage.Position=ud(0,4,0,0)
- UserImage.ZIndex=8
- wait(4*1.5)
- for i = 0,1.05,.05 do UserImage.ImageTransparency=i lrs:wait() end
- elseif Type=='rmv' then
- local fr,tl=Functions:Notification('Player has left, '..tostring(Plr)..'.', 4)
- tl.Size=ud(1,-(sz+5),1,0)
- tl.Position=ud(0,sz+5,0,0)
- local UserImage = Functions:MakeNewUi('ImageLabel')
- UserImage.Image=Functions:PlayerImage(tostring(Plr))
- UserImage.Parent=fr
- UserImage.Size=ud(0,sz,1,0)
- UserImage.ImageTransparency=0
- UserImage.Position=ud(0,4,0,0)
- UserImage.ZIndex=8
- wait(4*1.5)
- for i = 0,1.05,.05 do UserImage.ImageTransparency=i lrs:wait() end
- else
- local fr,tl=Functions:Notification(Type, 4)
- tl.Size=ud(1,-(sz+5),1,0)
- tl.Position=ud(0,sz+5,0,0)
- local UserImage = Functions:MakeNewUi('ImageLabel')
- UserImage.Image=Functions:PlayerImage(tostring(Plr))
- UserImage.Parent=fr
- UserImage.Size=ud(0,sz,1,0)
- UserImage.ImageTransparency=0
- UserImage.Position=ud(0,4,0,0)
- UserImage.ZIndex=8
- wait(4*1.5)
- for i = 0,1.05,.05 do UserImage.ImageTransparency=i lrs:wait() end
- end
- end
- local Notifications={};
- local Notifs=0
- function Functions:AdjustNotifPositions()
- local upv=0
- for i, data in next, Notifications do
- --warn('('..tostring(ud(1,-200,.8,-(60*upv)))..')',#Notifications)
- pcall(function()
- data[1]:TweenPosition(ud(1,-200,.8,-(60*upv)),'Out','Back',.5,true)
- end)
- upv=upv+1
- wait(.1)
- end
- end
- function Functions:Notification(Text, ExitDelay)
- if not ExitDelay then ExitDelay=4 end
- if not AtMainScreen then return end
- local v=false
- local Frame = Functions:MakeNewUi('Frame')
- Frame.ZIndex=8
- Frame.BackgroundTransparency=.25
- Frame.Size=ud(0,200,0,55)
- Frame.BackgroundColor3=CurrentPlayerData[4]
- Frame.Position = ud(1,0,.8,-(60*Notifs))
- Frame.Parent=MainFrame
- Frame:TweenPosition(ud(1,-200,.8,-(60*Notifs)),'Out','Sine',2,true)
- table.insert(Notifications,{Frame,ud(1,-200,.8,-(60*Notifs))})
- local Shader1 = Functions:MakeNewUi('Frame')
- Shader1.ZIndex=9
- Shader1.BackgroundTransparency=.9
- Shader1.Size=ud(0,2,1,0)
- Shader1.BackgroundColor3=CurrentPlayerData[4]
- Shader1.Position = ud(0,-2,0,0)
- Shader1.Parent=Frame
- local Shader2 = Functions:MakeNewUi('Frame')
- Shader2.ZIndex=9
- Shader2.BackgroundTransparency=.8
- Shader2.Size=ud(0,1,1,0)
- Shader2.BackgroundColor3=CurrentPlayerData[4]
- Shader2.Position = ud(0,-1,0,0)
- Shader2.Parent=Frame
- spawn(function()
- Shader1:TweenPosition(ud(0,0,0,0),'Out','Linear',.4,true)
- wait(.1)
- Shader2:TweenPosition(ud(0,1,0,0),'Out','Linear',.4,true)
- end)
- local TLabel = Functions:MakeNewUi('TextButton')
- TLabel.TextColor3=CurrentPlayerData[4]
- TLabel.Position=ud(0,4,0,0)
- TLabel.ZIndex=9
- TLabel.Active=true
- TLabel.BackgroundTransparency=.98
- TLabel.TextWrapped=true
- TLabel.Size=ud(1,-4,1,0)
- TLabel.TextXAlignment='Left'
- --TLabel.TextYAlignment='Top'
- TLabel.Font=OS.Settings.Fonts.Sub_Header
- TLabel.FontSize='Size12'
- TLabel.TextStrokeColor3=CurrentPlayerData[4]
- TLabel.TextStrokeTransparency=1
- TLabel.TextTransparency=1
- TLabel.Parent=Frame
- Notifs=Notifs+1
- local tic = Functions:Sound(230336790,false)
- tic:Play()
- for i = 0,1.02,.02 do
- Frame.BackgroundColor3=Frame.BackgroundColor3:lerp(CurrentPlayerData[3],.2)
- Frame.BackgroundTransparency=1.5-i
- TLabel.TextStrokeTransparency=1.9-i
- TLabel.TextTransparency=1-i
- lrs:wait()
- end
- local cc=true
- local function Close()
- if (not cc) then return end
- --print'3'
- Frame:TweenPosition(ud(1,0,.8,Frame.Position.Y.Offset),'Out','Sine',3,true)
- for i = 0,1.015,.02 do
- --Frame.BackgroundColor3=Frame.BackgroundColor3:lerp(c3(0,0,0),.2)
- Frame.BackgroundTransparency=.5+i
- Shader1.BackgroundTransparency=.9+i
- Shader2.BackgroundTransparency=.8+i
- TLabel.TextStrokeTransparency=.9+i
- TLabel.TextTransparency=i
- lrs:wait()
- end
- val=true
- Frame:Destroy()
- for i,v in next, Notifications do
- if v[1]==Frame then
- table.remove(Notifications,i)
- end
- end
- Notifs=Notifs-1
- Functions:AdjustNotifPositions()
- end
- local ev
- ev=TLabel.MouseButton1Click:connect(function()
- --print'k'
- spawn(Close)
- wait()
- cc=false
- ev:disconnect()
- end)
- spawn(function()
- if cc then
- Effects:Type(TLabel, Text, 'In',.01)
- wait(ExitDelay*1.2)
- --print'k2'
- spawn(Close)
- wait()
- cc=false
- ev:disconnect()
- end
- end)
- return Frame, TLabel
- end
- function Functions:CreateLogin()
- local BFrame = Functions:MakeNewUi('Frame')
- BFrame.ZIndex=4
- BFrame.BackgroundTransparency=1
- BFrame.Size=ud(1,0,1,0)
- BFrame.Position = ud(0,0,0,0)
- BFrame.Parent=MainFrame
- local TransFrame = Functions:MakeNewUi('Frame')
- TransFrame.ZIndex=8
- TransFrame.BackgroundTransparency=1
- TransFrame.Parent=MainFrame
- local Start = Functions:MakeNewUi('TextButton')
- local txt='Welcome to SaviOS, '..Host.Name..'.'
- Start.Text=txt
- Start.Font=OS.Settings.Fonts.Header
- Start.TextColor3=CurrentPlayerData[4]
- Start.Position=ud(0,0,0,-18)
- Start.BackgroundTransparency=1
- Start.TextTransparency=1
- Start.Parent=BFrame
- local Sub = Functions:MakeNewUi('TextLabel')
- Sub.Parent=BFrame
- Sub.TextColor3=CurrentPlayerData[4]
- Sub.Text='Loading Decal and Sound Assets.'
- Sub.Position=ud(0,0,0,25-18)
- Sub.BackgroundTransparency=1
- Sub.TextTransparency=1
- Sub.ZIndex=6
- local Circ = Functions:MakeNewUi('ImageLabel')
- Circ.Image=Functions:Asset(502107146)
- Circ.Parent=BFrame
- Circ.ImageTransparency=0
- Circ.ImageColor3 = CurrentPlayerData[3]
- Circ.Size=ud(0,350,0,400)
- Circ.Position=Functions:CenterOffset(Circ,ud(0,0,0,0))
- Circ.ZIndex=5
- local con=false
- spawn(function()
- Effects:Type(Start, txt, 'In',.06)
- local nspd=.5
- repeat wait(nspd)
- --Start.Text=txt
- Circ:TweenSizeAndPosition(ud(0,450,0,500),ud(.5,-450/2,.5,-250),'In','Back',nspd,true)
- wait(nspd)
- Circ:TweenSizeAndPosition(ud(0,350,0,400),ud(.5,-350/2,.5,-200),'Out','Quint',nspd,true)
- --Start.Text=txt..'|'
- until con
- end)
- for i = 0,1.025,.025 do
- Start.TextTransparency = 1-i
- MainFrame.BackgroundTransparency = 1-i
- lrs:wait()
- end
- local function finish_Load()
- Particles=false
- Effects:Type(Start, txt, 'Out',.02)
- Start.Text=''
- Circ:TweenSizeAndPosition(ud(0,15,0,20),ud(.5,-15/2,.5,-10),'In','Quint',2,true)
- wait(2)
- Circ:TweenSizeAndPosition(ud(0,950,0,1000),ud(.5,-950/2,.5,-500),'In','Back',1,true)
- wait(.2)
- for i = 0,1.025,.025 do
- Sub.TextTransparency = i
- Circ.ImageTransparency=i
- lrs:wait()
- end
- Circ:Destroy()
- BFrame.Size = ud(0,400,0,210)
- BFrame.Position = Functions:Center(BFrame)
- spawn(function()
- for i = 0,20,.1 do
- MainFrame.BackgroundColor3 = MainFrame.BackgroundColor3:lerp(CurrentPlayerData[3],.1)
- lrs:wait()
- end
- end)
- Sub.Text='Assets['..(#OS.Backgrounds+#OS.Sounds)..'] Loaded.'
- delay(.5,function()
- txt='Click here to begin'
- Effects:Type(Start, txt, 'In',.05)
- delay(.6,function()
- Start.Text=txt
- end)
- end)
- for i = 0,1.025,.025 do
- Sub.TextTransparency = 1-i
- lrs:wait()
- end
- end
- local con2=false
- delay(1,function()
- for i = 0,1.025,.025 do
- Sub.TextTransparency = 1-i
- lrs:wait()
- end
- delay(2,function()
- local tbl1={};
- local tbl2={OS.Backgrounds,OS.Sounds,OS.DecalAssets}
- for _,__ in next, tbl2 do
- for i, Id in next, __ do
- table.insert(tbl1, Id)
- end
- end
- for i,v in next, tbl1 do lrs:wait() end
- con=true
- finish_Load()
- con2=true
- end)
- end)
- repeat lrs:wait() until con2
- Start.TextTransparency = 0
- --MainFrame.Transparency = 0
- local LoginScreen
- local sclick
- sclick=Start.MouseButton1Down:connect(function()
- Sub:TweenPosition(ud(0,0,1,50),'In','Quint',1,true)
- delay(1, function()
- LoginScreen(false)
- end)
- sclick:disconnect()
- end)
- function LoginScreen(NewFrame)
- OS['Login']=LoginScreen
- if NewFrame then
- BFrame = Functions:MakeNewUi('Frame')
- BFrame.ZIndex=4
- BFrame.BackgroundTransparency=1
- BFrame.Size = ud(0,400,0,210)
- BFrame.Position = Functions:Center(BFrame)
- BFrame.Parent=MainFrame
- end
- pcall(function()
- Sub:Destroy()
- for i = 0,1.025,.025 do
- Start.TextTransparency = i
- lrs:wait()
- end
- Start.Parent=nil
- end)
- local UserImage = Functions:MakeNewUi('ImageLabel')
- UserImage.Image=Functions:PlayerImage(Host)
- UserImage.Parent=BFrame
- UserImage.Size=ud(0,100,0,100)
- UserImage.ImageTransparency=1
- UserImage.Position=Functions:CenterOffset(UserImage,ud(0,0,-1,0))
- UserImage:TweenPosition(Functions:CenterOffset(UserImage,ud(0,0,0,-50),'Out','Back',1,true))
- UserImage.ZIndex=8
- local UserImgFrame = Functions:MakeNewUi('ImageLabel')
- UserImgFrame.Image=Functions:Asset(502107146)
- UserImgFrame.Parent=BFrame
- UserImgFrame.ImageTransparency=0
- --UserImgFrame.ImageColor3 = c3(Monitor.Color.r+.2,Monitor.Color.g+.2,Monitor.Color.b+.2)
- UserImgFrame.Size=ud(0,100,0,100)
- UserImgFrame.Position=Functions:CenterOffset(UserImgFrame,ud(0,0,-1,0))
- UserImgFrame:TweenPosition(Functions:CenterOffset(UserImgFrame,ud(0,0,0,-50),'Out','Back',1,true))
- local Username = Functions:MakeNewUi('TextLabel')
- Username.Text = Host.Name
- Username.Parent = BFrame
- Username.TextTransparency=.9
- Username.Position=ud(0,0,1,0)
- Username.ZIndex=9
- Username:TweenPosition(ud(0,0,0,15),'Out','Quint',1,true)
- local Password = Functions:MakeNewUi('TextButton')
- Password.TextTransparency=1
- Password.Parent=BFrame
- Password.Position=ud(0,0,1,0)
- Password.Font=OS.Settings.Fonts.Sub_Header
- Password.TextStrokeColor3 = Password.TextColor3
- Password.MouseEnter:connect(function()
- Password.TextStrokeTransparency=.9
- end)
- Password.MouseLeave:connect(function()
- Password.TextStrokeTransparency=1
- end)
- local canclick=false
- Password.MouseButton1Down:connect(function(x,y)
- if not canclick then
- return
- end
- canclick=false
- --Effects:Particles(x,y)
- local val = Functions:LoginScreenGui(ud(0,400,0,28),{loop=true,ui=Password},true)
- print('dun',val)
- local ss
- ss=function(pp)
- num=0
- for i,v in next,pp:children() do
- num=num+1
- pcall(function()
- spawn(function()
- for i = 0,1.025,.025 do
- if v:IsA'TextButton' or v:IsA'TextBox' or v:IsA'TextLabel' then
- v.TextTransparency = i
- lrs:wait()
- end
- end
- end)
- end)
- pcall(function()
- spawn(function()
- for i = 0,1.025,.025 do
- if v:IsA'ImageLabel' then
- v.ImageTransparency = i
- lrs:wait()
- end
- end
- end)
- end)
- pcall(function()
- v:TweenPosition(ud(2,v.Position.X.Offset,v.Position.Y.Scale,v.Position.Y.Offset),'In','Sine',1,true)
- end)
- wait(.1)
- ss(v)
- end
- return num
- end
- ss(BFrame)
- wait((num+1.5)-(.4*num))
- BFrame:Destroy()
- Functions:MakeHomeScreen()
- return {}
- --canclick=true
- --Gui:Destroy()
- end)
- delay(.1,function()
- Password:TweenPosition(ud(0,0,0,45),'Out','Quint',1,true)
- end)
- spawn(function()
- Effects:Type(Password, 'Enter your Password', 'In',.03)
- canclick=true
- end)
- wait(.3)
- spawn(function()
- Effects:Underline(Username, 20, 70, 2, CurrentPlayerData[4], true)
- end)
- for i = 0,1.025,.01 do
- --UserName.TextTransparency = 1-i
- Password.TextTransparency = 1-i
- Username.TextTransparency = 1-i
- UserImage.ImageTransparency = 1-i
- lrs:wait()
- end
- Functions:IfRegistered(Host.Name, function(bool)
- if bool==true then
- for i = 0,20 do
- UserImgFrame.ImageColor3 = UserImgFrame.ImageColor3:lerp(c3(.25,1,.25),.1)
- lrs:wait()
- end
- elseif bool and not Official then
- for i = 0,20 do
- UserImgFrame.ImageColor3 = UserImgFrame.ImageColor3:lerp(c3(1,.25,.25),.1)
- lrs:wait()
- end
- else
- for i = 0,20 do
- UserImgFrame.ImageColor3 = UserImgFrame.ImageColor3:lerp(c3(.4,0,0),.1)
- lrs:wait()
- end
- end
- end)
- end
- end
- function Functions:Lerp(Speed)
- if Monitor and Monitor.Parent~=nil then
- ypcall(function()
- Monitor.CFrame = Monitor.CFrame:lerp(
- Host.Character.HumanoidRootPart.CFrame *
- CFrame.new(0,5.5,-6.5) *
- CFrame.Angles(-math.rad(12),0,0)
- , Speed)
- end)
- end
- end
- function Functions:Boot()
- script:ClearAllChildren()
- Functions:MakeMonitor()
- G = Instance.new('SurfaceGui', Monitor)
- G.Adornee = Monitor
- G.Face = Enum.NormalId.Back
- MainFrame = Functions:MakeNewUi('Frame')
- MainFrame.ZIndex=1
- MainFrame.BackgroundTransparency=.3
- MainFrame.BackgroundColor3 = CurrentPlayerData[3]
- MainFrame.Parent=G
- spawn(function()
- --wait(2)
- for i = 0,20,.1 do
- MainFrame.BackgroundColor3 = MainFrame.BackgroundColor3:lerp(CurrentPlayerData[4],.1)
- lrs:wait()
- end
- end)
- local MouseFrame = Instance.new('TextLabel', MainFrame)
- MouseFrame.Size = ud(0,5,0,5)
- MouseFrame.BackgroundTransparency = 1
- MouseFrame.Text = ''
- MouseFrame.ZIndex = 9
- MouseFrame.BackgroundColor3=c3(-1,-1,-1)
- MainFrame.MouseMoved:connect(function(x,y)
- if MouseFrame.Parent ~= nil then
- MouseFrame.Position = ud(0,x+3,0,y+6)
- end
- end)
- --200182847
- local MouseInner = Instance.new('ImageLabel', MouseFrame)
- OS.Assets.Mouse=MouseFrame
- MouseInner.Size = ud(0,5,0,5)
- MouseInner.Position = ud(0,-5,0,-7)
- MouseInner.ImageColor3 = CurrentPlayerData[3]
- MouseInner.Image = Functions:Asset(284205403)
- MouseInner.Name = 'AFriendlyMouse1'
- MouseInner.BackgroundTransparency = 1
- MouseInner.ZIndex = 10
- local MouseOuter = Instance.new('ImageLabel', MouseFrame)
- MouseOuter.Size = ud(0,7,0,7)
- MouseOuter.Position = ud(0,-6,0,-8)
- MouseOuter.ImageColor3 = CurrentPlayerData[4]
- MouseOuter.Image = Functions:Asset(284205403)
- MouseOuter.Name = 'AFriendlyMouse2'
- MouseOuter.BackgroundTransparency = 1
- MouseOuter.ZIndex = 9
- local sx,sy=90,100
- local mouseactive=true
- PlayerMouse.Button1Down:connect(function()
- OS.MouseDown = true
- if not mouseactive then return end
- local mus=Functions:Sound(341225236)
- mus.Pitch=3
- mus:Play()
- end)
- PlayerMouse.Button1Up:connect(function()
- OS.MouseDown = false
- if not mouseactive then return end
- local mds=Functions:Sound(341225236)
- mds.Pitch=2.5
- mds:Play()
- local RelativeUi=MouseFrame
- local x,y=RelativeUi.Position.X.Offset,RelativeUi.Position.Y.Offset
- local Circ = Functions:MakeNewUi('ImageLabel')
- Circ.Image=Functions:Asset(284205403)
- Circ.Parent=MainFrame
- Circ.ImageTransparency=0
- Circ.ImageColor3 = CurrentPlayerData[4]
- Circ.Size=ud(0,5,0,5)
- local backx,backy=5,6
- Circ.Position=ud(0,x-backx,0,y-backy)
- Circ.ZIndex=10
- spawn(function()
- Circ:TweenSizeAndPosition(ud(0,sx,0,sy),ud(0,(x-backx)-(sx/2),0,(y-backy)-(sy/2)),'Out','Sine',1,true)
- for i = 0,1.05,.05 do
- Circ.ImageTransparency=i
- lrs:wait()
- end
- Circ:Destroy()
- end)
- end)
- MainFrame.MouseEnter:connect(function(x,y)
- mouseactive=true
- game:service'UserInputService'.MouseIconEnabled=false
- OS.Functions:HideChar()
- end)
- MainFrame.MouseLeave:connect(function(x,y)
- mouseactive=false
- game:service'UserInputService'.MouseIconEnabled=true
- OS.Functions:ShowChar()
- end)
- --Functions:CreateLogin()
- Functions:MakeHomeScreen()
- end
- lrs:connect(function()
- Functions:Lerp(.2)
- end)
- Character.Humanoid.Died:connect(function()
- Monitor.Parent:Destroy()
- game:service'UserInputService'.MouseIconEnabled=true
- script:Destroy()
- end)
- Host.Chatted:connect(function(msg)
- if msg=='g/r' then
- Monitor:Destroy()
- game:service'UserInputService'.MouseIconEnabled=true
- script:Destroy()
- end
- end)
- local plrz=game:service'Players'
- plrz.PlayerAdded:connect(function(Plr)
- Functions:PlayerImgNotification(Plr, 'join')
- end)
- plrz.PlayerRemoving:connect(function(Plr)
- Functions:PlayerImgNotification(Plr, 'rmv')
- end)
- Functions:Boot()
- Host.Chatted:connect(function(msg)
- if msg:lower()=='!reboot' then
- Functions:Boot()
- elseif msg:lower():sub(0,#'!background') == '!background' then
- local id = msg:lower():sub(#'!background'+2)
- OS.UIs['Background'][1].Image=Functions:Asset(tonumber(id))
- end
- end)#include
- PASTEBINnew pastetrends API tools faq
- search...
- Guest User
- -
- Public Pastes
- Untitled
- C# | 2 sec ago
- Untitled
- C++ | 7 sec ago
- Untitled
- PHP | 12 sec ago
- Untitled
- 14 sec ago
- Untitled
- C++ | 15 sec ago
- Untitled
- 19 sec ago
- Untitled
- 19 sec ago
- Untitled
- 19 sec ago
- SHARE
- TWEET
- Rocky Admin.................................................
- LUAEXPLOITZ OCT 5TH, 2016 (EDITED) 168 NEVER
- Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- rawdownloadcloneembedreportprint Lua 90.60 KB
- -- / Rocky2u's Command Script
- -- / ROBLOX | SethMilkman
- -- / V3RMILLION | Rocky2u
- wait()
- local ADMINS = {danielapt123}
- local BANS = {21799524, 133122258, 103000855, 17278822, 149137060, 61967286, 21640881}
- -- / stuff
- local VERSION = '1.7.3'
- local PATCH = '04'
- local UPDATED = '10/5/2016'
- local CHANGES = [[
- / made ;kick much faster and work faster for others and all
- / edited ;loadmap a bit
- ]]
- function _G.ADD_ADMIN(ID) table.insert(ADMINS, ID) end
- function _G.ADD_BAN(ID) table.insert(BANS, ID) end
- local CHANGELOG = ' UPDATED : ' .. UPDATED .. '\n VERSION : ' .. VERSION .. ' ' .. PATCH .. '\n\n [ ' .. VERSION .. ' ] \n' .. CHANGES
- local gCoreGui = game:GetService('CoreGui')
- local gInsertService = game:GetService('InsertService')
- local gLighting = game:GetService('Lighting')
- local gNetworkClient = game:GetService('NetworkClient')
- local gPlayers = game:GetService('Players')
- local gWorkspace = game:GetService('Workspace')
- local LP = gPlayers.LocalPlayer
- local MOUSE = LP:GetMouse()
- local SERVICES = {}
- local COMMANDS = {}
- local STD = {}
- SERVICES.EVENTS = {}
- local C_PREFIX = ';'
- local S_PREFIX = '\\'
- local SPLIT = ' '
- for i,v in pairs(gCoreGui:GetChildren()) do if v.Name == 'cmdbar_seth' or v.Name == 'notify_seth' then v:destroy() end end
- function UPDATE_CHAT(PLAYER) local C = PLAYER.Chatted:connect(function(M) if CHECK_ADMIN(PLAYER) then DEXECUTE(M, PLAYER) end end) table.insert(SERVICES.EVENTS, C) end
- STD.TABLE = function(T, V) if not T then return false end for i,v in pairs(T) do if v == V then return true end end return false end
- STD.ENDAT = function(S, V) local SF = S:find(V) if SF then return S:sub(0, SF - string.len(V)), true else return S, false end end
- function CHECK_ADMIN(PLAYER) if FIND_IN_TABLE(ADMINS, PLAYER.userId) then return true elseif PLAYER.userId == LP.userId then return true end end
- function EXECUTE(STRING) spawn(function() local S, L = loadstring(STRING) if not S then error(L) else S() end end) end
- function FCOMMAND(COMMAND) for i,v in pairs(COMMANDS) do if v.N:lower() == COMMAND:lower() or STD.TABLE(v.A, COMMAND:lower()) then return v end end end
- function GCOMMAND(M) local CMD, HS = STD.ENDAT(M:lower(), SPLIT) if HS then return {CMD, true} else return {CMD, false} end end
- function GPREFIX(STRING) if STRING:sub(1, string.len(C_PREFIX)) == C_PREFIX then return {'COMMAND', string.len(C_PREFIX) + 1} elseif STRING:sub(1, string.len(S_PREFIX)) == S_PREFIX then return {'EXECUTE', string.len(S_PREFIX) + 1} end return end
- function GARGS(STRING) local A = {} local NA = nil local HS = nil local S = STRING repeat NA, HS = STD.ENDAT(S:lower(), SPLIT) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(SPLIT) + 1) end until not HS return A end
- function GCAPARGS(STRING) local A = {} local NA = nil local HS = nil local S = STRING repeat NA, HS = STD.ENDAT(S, SPLIT) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(SPLIT) + 1) end until not HS return A end
- function ECOMMAND(STRING, SPEAKER) repeat if STRING:find(' ') then STRING = STRING:gsub(' ', ' ') end until not STRING:find(' ') local SCMD, A, CMD SCMD = GCOMMAND(STRING) CMD = FCOMMAND(SCMD[1]) if not CMD then return end A = STRING:sub(string.len(SCMD[1]) + string.len(SPLIT) + 1) local ARGS = GARGS(A) CA = GCAPARGS(A) pcall(function() CMD.F(ARGS, SPEAKER) end) end
- function DEXECUTE(STRING, SPEAKER) if not CHECK_ADMIN(SPEAKER) then return end STRING = STRING:gsub('/e ', '') local GP = GPREFIX(STRING) if not GP then return end STRING = STRING:sub(GP[2]) if GP[1] == 'EXECUTE' then EXECUTE(STRING) elseif GP[1] == 'COMMAND' then ECOMMAND(STRING, SPEAKER) end end
- _G.cmd_seth = ECOMMAND
- SERVER_LOCKED = false
- gPlayers.PlayerAdded:connect(function(PLAYER)
- if SERVER_LOCKED then PLAYER.CharacterAdded:connect(function() wait() KICK(PLAYER) return end) end
- if FIND_IN_TABLE(BANS, PLAYER.userId) then PLAYER.CharacterAdded:connect(function() wait() KICK(PLAYER) return end) end
- UPDATE_CHAT(PLAYER)
- if CHECK_ADMIN(PLAYER) then PLAYER.CharacterAdded:connect(function() wait() game.Chat:Chat(PLAYER.Character.Head, printStuff .. 'Welcome, you\'re an admin!') end) end
- end)
- function ADD_COMMAND(N, D, A, F) table.insert(COMMANDS, {N = N, D = D, A = A, F = F}) end
- function GET_PLAYER(NAME, SPEAKER)
- local NAME_TABLE = {}
- NAME = NAME:lower()
- if NAME == 'me' then
- table.insert(NAME_TABLE, SPEAKER.Name)
- elseif NAME == 'others' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v:IsA('Player') then if v.Name ~= SPEAKER.Name then table.insert(NAME_TABLE, v.Name) end end end
- elseif NAME == 'all' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v:IsA('Player') then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'random' then
- table.insert(NAME_TABLE, gPlayers:GetPlayers()[math.random(1, #gPlayers:GetPlayers())].Name)
- elseif NAME == 'team' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.TeamColor == SPEAKER.TeamColor then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nonadmins' then
- for i,v in pairs(gPlayers:GetPlayers()) do if not CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'admins' then
- for i,v in pairs(gPlayers:GetPlayers()) do if CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nonfriends' then
- for i,v in pairs(gPlayers:GetPlayers()) do if not v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'friends' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v ~= SPEAKER and v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nonguests' then
- for i,v in pairs(gPlayers:GetPlayers()) do if not v.Guest then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'guests' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.Guest then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nbcs' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.None then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'bcs' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.BuildersClub then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'tbcs' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.TurboBuildersClub then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'obcs' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.OutrageousBuildersClub then table.insert(NAME_TABLE, v.Name) end end
- else
- for i,v in pairs(gPlayers:GetPlayers()) do local L_NAME = v.Name:lower() local F = L_NAME:find(NAME) if F == 1 then table.insert(NAME_TABLE, v.Name) end end
- end
- return NAME_TABLE
- end
- function GLS(LOWER, START) local AA = '' for i,v in pairs(CA) do if i > START then if AA ~= '' then AA = AA .. ' ' .. v else AA = AA .. v end end end if not LOWER then return AA else return string.lower(AA) end end
- -- / tables
- local JAILED = {}
- -- / stuff
- printStuff = '[ Rocky2u\'s CMDs ] : '
- local DATA = game:GetObjects('rbxassetid://291592144')[1]
- _G.seth_data = DATA
- local CMDbar = DATA.guis.cmdbar_seth.CMDbar CMDbar.Parent.Parent = gCoreGui
- local being_looped = DATA.being_looped
- wait()
- local NOCLIP, JESUSFLY, SWIM = false, false, false
- game:GetService('RunService').Stepped:connect(function()
- if NOCLIP then
- if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end
- elseif JESUSFLY then
- if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(12) end
- elseif SWIM then
- if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(4) end
- end
- end)
- function FIND_IN_TABLE(TABLE, NAME)
- for i = 1, #TABLE do
- if TABLE[i] == NAME then
- return true
- end
- end
- return false
- end
- function GET_IN_TABLE(TABLE, NAME)
- for i = 1, #TABLE do
- if TABLE[i] == NAME then
- return i
- end
- end
- return false
- end
- local NOTIFY_1 = false
- local NOTIFY_2 = false
- function NOTIFY(M, R, G, B)
- spawn(function()
- repeat wait() until not NOTIFY_1
- local NOTIFY_SETH = DATA.guis.notify_seth:Clone() NOTIFY_SETH.Parent = gCoreGui
- if NOTIFY_SETH then
- NOTIFY_SETH.NOTIFY.NOTE.BAR.BackgroundColor3 = Color3.new(R, G, B)
- NOTIFY_SETH.NOTIFY.NOTE.Text = ' ' .. M
- repeat wait() until not NOTIFY_1
- NOTIFY_1 = true
- wait(0.5)
- NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), 'InOut', 'Quad', 0.4, false) wait(0.5)
- wait(0.5)
- repeat wait() until not NOTIFY_2
- NOTIFY_1 = false
- NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, -40), 'InOut', 'Quad', 0.4, false) wait(0.5)
- wait(0.5)
- NOTIFY_2 = true
- wait(2.5)
- NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, -225, 0.7, -40), 'InOut', 'Quad', 0.4, false) wait(0.5)
- end
- wait(1)
- NOTIFY_SETH:destroy()
- NOTIFY_2 = false
- end)
- end
- function LOAD_SETH()
- spawn(function()
- local load_seth = DATA.guis.loader_seth:Clone() load_seth.Parent = gCoreGui
- load_seth.MAIN:TweenSizeAndPosition(UDim2.new(0, 300, 0, 200), UDim2.new(0.5, -150, 0.5, -100), 'Out', 'Quad', 0.5, false) wait(0.5)
- load_seth.MAIN.TEXT.Text = 'Rocky2u\'s\nCommand Script'
- repeat wait() load_seth.MAIN.TEXT.TextTransparency = load_seth.MAIN.TEXT.TextTransparency - 0.1 until load_seth.MAIN.TEXT.TextTransparency < 0 wait(1)
- if not gWorkspace.FilteringEnabled then load_seth.MAIN.FE.Text = ' Filtering is disabled' elseif gWorkspace.FilteringEnabled then load_seth.MAIN.FE.Text = ' Filtering is ENABLED' end load_seth.MAIN.FE.TextTransparency = 0 wait(1)
- load_seth.MAIN.COMMANDS.Text = ' ' .. #COMMANDS .. ' commands!' load_seth.MAIN.COMMANDS.TextTransparency = 0 wait(1)
- load_seth.MAIN.WELCOME.Text = ' Welcome, ' .. LP.Name load_seth.MAIN.WELCOME.TextTransparency = 0 wait(1)
- load_seth.MAIN.C.Text = ' Made by SethMilkman' load_seth.MAIN.C.TextTransparency = 0 wait(5)
- for i,v in pairs(load_seth.MAIN:GetChildren()) do if v:IsA('TextLabel')and v.Name ~= 'TEXT' then v.TextTransparency = 1 end end wait()
- repeat wait() load_seth.MAIN.TEXT.TextTransparency = load_seth.MAIN.TEXT.TextTransparency + 0.1 until load_seth.MAIN.TEXT.TextTransparency == 1
- load_seth.MAIN:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, 0.5, 0), 'Out', 'Quad', 0.5)
- wait(1)
- load_seth.MAIN:destroy()
- end)
- end
- local S_INFO = false
- function SERVER_INFO()
- if not S_INFO then
- spawn(function()
- S_INFO = true
- local server_seth = DATA.guis.server_seth:Clone() server_seth.Parent = gCoreGui
- if not gWorkspace.FilteringEnabled then server_seth.MAIN.FE.Text = ' FilteringEnabled | false' elseif gWorkspace.FilteringEnabled then server_seth.MAIN.FE.Text = ' FilteringEnabled | true' end
- server_seth.MAIN.IP.Text = ' IP Address | ' .. gNetworkClient.ClientReplicator.MachineAddress .. ':' .. gNetworkClient.ClientReplicator.Port
- server_seth.MAIN.PLACE_ID.Text = ' PlaceId | ' .. game.PlaceId
- server_seth.MAIN.EXIT.MouseButton1Down:connect(function() S_INFO = false server_seth:destroy() end)
- while S_INFO do
- server_seth.MAIN.PLAYERS.Text = ' Players | ' .. gPlayers.NumPlayers .. ' / ' .. gPlayers.MaxPlayers
- server_seth.MAIN.TIME.Text = ' Time | ' .. gLighting.TimeOfDay
- wait()
- end
- end)
- end
- end
- function KICK(PLAYER)
- spawn(function()
- local function SKICK()
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then
- PLAYER.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
- local SP = Instance.new('SkateboardPlatform', PLAYER.Character) SP.Position = PLAYER.Character.HumanoidRootPart.Position SP.Transparency = 1
- spawn(function()
- repeat wait()
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- SP.Position = PLAYER.Character.HumanoidRootPart.Position
- end
- until not gPlayers:FindFirstChild(PLAYER.Name)
- end)
- PLAYER.Character.Torso.Anchored = true
- end
- end
- spawn(function()
- repeat wait() if PLAYER ~= nil then SKICK() end until not gPlayers:FindFirstChild(PLAYER.Name)
- if not gPlayers:FindFirstChild(PLAYER.Name) then
- NOTIFY('REMOVED ' .. PLAYER.Name, 255, 255, 255)
- end
- end)
- end)
- end
- function FIX_LIGHTING()
- gLighting.Ambient = Color3.new(0.5, 0.5, 0.5)
- gLighting.Brightness = 1
- gLighting.GlobalShadows = true
- gLighting.Outlines = false
- gLighting.TimeOfDay = 14
- gLighting.FogEnd = 100000
- end
- function MESSAGE_HINT(TYPE, HEADER, MESSAGE, PLAYER)
- local BV = Instance.new('BoolValue', DATA.messages_hints) BV.Name = PLAYER.Name .. '_MSG_HINT'
- local SPRAY = gInsertService:LoadAsset(80576967)
- local S = SPRAY.Spray:Clone() S.Name = '' S.Handle.Transparency = 1 S.SprayGui:destroy() S.SprayPaint:destroy() S.TextureId = ''
- if TYPE == 'MESSAGE' then
- local GUI = DATA.guis.message_seth:Clone() GUI.HINT:destroy() GUI.Name = 'SprayGui' GUI.MESSAGE.header.Text = HEADER GUI.MESSAGE.message.Text = MESSAGE GUI.MESSAGE.Visible = true GUI.Parent = S
- elseif TYPE == 'HINT' then
- local GUI = DATA.guis.message_seth:Clone() GUI.MESSAGE:destroy() GUI.Name = 'SprayGui' GUI.HINT.Text = MESSAGE GUI.HINT.Visible = true GUI.Parent = S
- end
- for i = 1, 100 do
- wait()
- PLAYER.Character.Humanoid:EquipTool(S)
- end
- PLAYER.Character.Humanoid:UnequipTools()
- S:destroy() wait() BV:destroy()
- end
- function COLOR(PLAYER, BCOLOR)
- for i,v in pairs(PLAYER.Character:GetChildren()) do if v:IsA('Shirt') or v:IsA('Pants') then v:destroy() elseif v:IsA('ShirtGraphic') then v.Archivable = false v.Graphic = '' end end
- for i,v in pairs(PLAYER.Character.Head:GetChildren()) do if v:IsA('Decal') then v:destroy() end end
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new(BCOLOR)
- elseif v:IsA('Hat') then
- v.Handle.BrickColor = BrickColor.new(BCOLOR)
- for a,b in pairs(v.Handle:GetChildren()) do
- if b:IsA('SpecialMesh') then
- b.TextureId = ''
- end
- end
- end
- end
- end
- function LAG(PLAYER)
- local POS = CFrame.new(math.random(-100000, 100000), math.random(-100000, 100000), math.random(-100000, 100000))
- spawn(function()
- repeat wait()
- if PLAYER and PLAYER.Character then
- PLAYER.CameraMode = 'LockFirstPerson'
- PLAYER.Character.HumanoidRootPart.CFrame = POS
- PLAYER.Character.Torso.Anchored = true
- Instance.new('ForceField', PLAYER.Character)
- Instance.new('Smoke', PLAYER.Character.Head)
- end
- until not gPlayers:FindFirstChild(PLAYER.Name)
- end)
- end
- local FLYING = false
- if LP.Character and LP.Character:FindFirstChild('Humanoid') then
- LP.Character.Humanoid.Died:connect(function() FLYING = false end)
- end
- function sFLY()
- repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
- repeat wait() until MOUSE
- local T = LP.Character.Torso
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local SPEED = 0
- local function FLY()
- FLYING = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0.1, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- LP.Character.Humanoid.PlatformStand = true
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- BV.velocity = ((gWorkspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((gWorkspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - gWorkspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
- BV.velocity = ((gWorkspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((gWorkspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - gWorkspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.cframe = gWorkspace.CurrentCamera.CoordinateFrame
- until not FLYING
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- LP.Character.Humanoid.PlatformStand = false
- end)
- end
- MOUSE.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 1
- elseif KEY:lower() == 's' then
- CONTROL.B = -1
- elseif KEY:lower() == 'a' then
- CONTROL.L = -1
- elseif KEY:lower() == 'd' then
- CONTROL.R = 1
- end
- end)
- MOUSE.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- end
- end)
- FLY()
- end
- function NOFLY()
- FLYING = false
- LP.Character.Humanoid.PlatformStand = false
- end
- function RESET_MODEL(MODEL)
- for i,v in pairs(MODEL:GetChildren()) do
- if v:IsA('Part') and v.Name == 'LA_INFECT' or v:IsA('Part') and v.Name == 'RA_INFECT' or v:IsA('Seat') and v.Name == 'FakeTorso' then
- v:destroy()
- elseif v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then
- v:destroy()
- elseif v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 0
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- for i,v in pairs(MODEL.Torso:GetChildren()) do
- if v:IsA('SpecialMesh') then
- v:destroy()
- end
- end
- if MODEL.Head:FindFirstChild('Mesh') then
- MODEL.Head.Mesh:destroy()
- end
- if MODEL.Torso:FindFirstChild('Neck') then MODEL.Torso.Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(180), 0) end
- if MODEL.Torso:FindFirstChild('Left Shoulder') then MODEL.Torso['Left Shoulder'].C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0) end
- if MODEL.Torso:FindFirstChild('Right Shoulder') then MODEL.Torso['Right Shoulder'].C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0) end
- if MODEL.Torso:FindFirstChild('Left Hip') then MODEL.Torso['Left Hip'].C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, math.rad(-90), 0) end
- if MODEL.Torso:FindFirstChild('Right Hip') then MODEL.Torso['Right Hip'].C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, math.rad(90), 0) end
- end
- function UPDATE_MODEL(MODEL, USERNAME)
- local AppModel = gPlayers:GetCharacterAppearanceAsync(gPlayers:GetUserIdFromNameAsync(USERNAME))
- MODEL.Name = USERNAME
- for i,v in pairs(AppModel:GetChildren()) do
- if v:IsA('SpecialMesh') or v:IsA('BlockMesh') or v:IsA('CylinderMesh') then
- v.Parent = MODEL.Head
- elseif v:IsA('Decal') then
- if MODEL.Head:FindFirstChild('face') then
- MODEL.Head.face.Texture = v.Texture
- else
- local FACE = Instance.new('Decal', MODEL.Head)
- FACE.Texture = v.Texture
- end
- elseif v:IsA('BodyColors') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
- if MODEL:FindFirstChild('Body Colors') then
- MODEL['Body Colors']:destroy()
- end
- v.Parent = MODEL
- elseif v:IsA('Hat') then
- v.Parent = MODEL
- v.Handle.CFrame = MODEL.Head.CFrame * CFrame.new(0, MODEL.Head.Size.Y / 2, 0) * v.AttachmentPoint:inverse()
- end
- end
- if not MODEL.Head:FindFirstChild('Mesh') then
- local SM = Instance.new('SpecialMesh', MODEL.Head)
- SM.MeshType = Enum.MeshType.Head
- SM.Scale = Vector3.new(1.25, 1.25, 1.25)
- end
- end
- function CREEPER(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Hat') then
- v:destroy()
- end
- end
- PLAYER.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- PLAYER.Character.Torso['Right Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
- PLAYER.Character.Torso['Left Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
- PLAYER.Character.Torso['Right Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
- PLAYER.Character.Torso['Left Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new('Bright green')
- end
- end
- end
- function SHREK(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') or v:IsA('CharacterMesh') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- for i,v in pairs(PLAYER.Character.Head:GetChildren()) do
- if v:IsA('Decal') or v:IsA('SpecialMesh') then
- v:destroy()
- end
- end
- if PLAYER.Character:FindFirstChild('Shirt Graphic') then
- PLAYER.Character['Shirt Graphic'].Archivable = false
- PLAYER.Character['Shirt Graphic'].Graphic = ''
- end
- local M = Instance.new('SpecialMesh', PLAYER.Character.Head)
- local S = Instance.new('Shirt', PLAYER.Character)
- local P = Instance.new('Pants', PLAYER.Character)
- M.MeshType = 'FileMesh'
- M.MeshId = 'http://www.roblox.com/asset/?id=19999257'
- M.Offset = Vector3.new(-0.1, 0.1, 0)
- M.TextureId = 'http://www.roblox.com/asset/?id=156397869'
- S.ShirtTemplate = 'rbxassetid://133078194'
- P.PantsTemplate = 'rbxassetid://133078204'
- end
- function DUCK(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 1
- elseif v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- local DUCK = Instance.new('SpecialMesh', PLAYER.Character.Torso)
- DUCK.MeshType = 'FileMesh'
- DUCK.MeshId = 'http://www.roblox.com/asset/?id=9419831'
- DUCK.TextureId = 'http://www.roblox.com/asset/?id=9419827'
- DUCK.Scale = Vector3.new(5, 5, 5)
- if PLAYER.Character.Head:FindFirstChild('face') then
- PLAYER.Character.Head.face.Transparency = 1
- end
- end
- function DOG(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- PLAYER.Character.Torso.Transparency = 1
- PLAYER.Character.Torso.Neck.C0 = CFrame.new(0, -0.5, -2) * CFrame.Angles(math.rad(90), math.rad(180), 0)
- PLAYER.Character.Torso['Right Shoulder'].C0 = CFrame.new(0.5, -1.5, -1.5) * CFrame.Angles(0, math.rad(90), 0)
- PLAYER.Character.Torso['Left Shoulder'].C0 = CFrame.new(-0.5, -1.5, -1.5) * CFrame.Angles(0, math.rad(-90), 0)
- PLAYER.Character.Torso['Right Hip'].C0 = CFrame.new(1.5, -1, 1.5) * CFrame.Angles(0, math.rad(90), 0)
- PLAYER.Character.Torso['Left Hip'].C0 = CFrame.new(-1.5, -1, 1.5) * CFrame.Angles(0, math.rad(-90), 0)
- local FakeTorso = Instance.new('Seat', PLAYER.Character)
- local BF = Instance.new('BodyForce', FakeTorso)
- local W = Instance.new('Weld', PLAYER.Character.Torso)
- FakeTorso.Name = 'FakeTorso'
- FakeTorso.FormFactor = 'Symmetric'
- FakeTorso.TopSurface = 0
- FakeTorso.BottomSurface = 0
- FakeTorso.Size = Vector3.new(3,1,4)
- FakeTorso.BrickColor = BrickColor.new('Brown')
- FakeTorso.CFrame = PLAYER.Character.Torso.CFrame
- BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
- W.Part0 = PLAYER.Character.Torso
- W.Part1 = FakeTorso
- W.C0 = CFrame.new(0, -0.5, 0)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new('Brown')
- end
- end
- end
- function AYYLMAO(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- elseif v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new('Fossil')
- end
- end
- game:GetObjects('rbxassetid://13837194')[1].Parent = PLAYER.Character
- end
- function DECALSPAM(INSTANCE, ID)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- spawn(function()
- local FACES = {'Back', 'Bottom', 'Front', 'Left', 'Right', 'Top'}
- local CURRENT_FACE = 1
- for i = 1, 6 do
- local DECAL = Instance.new('Decal', v)
- DECAL.Name = 'decal_seth'
- DECAL.Texture = 'rbxassetid://' .. ID - 1
- DECAL.Face = FACES[CURRENT_FACE]
- CURRENT_FACE = CURRENT_FACE + 1
- end
- end)
- end
- DECALSPAM(v, ID)
- end
- end
- function UNDECALSPAM(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- for a,b in pairs(v:GetChildren()) do
- if b:IsA('Decal') and b.Name == 'decal_seth' then
- b:destroy()
- end
- end
- end
- UNDECALSPAM(v)
- end
- end
- function CREATE_DONG(PLAYER, DONG_COLOR)
- if PLAYER.Character:FindFirstChild('DONG') then
- PLAYER.Character.DONG:destroy()
- end
- local D = Instance.new('Model', PLAYER.Character)
- D.Name = 'DONG'
- local BG = Instance.new('BodyGyro', PLAYER.Character.Torso)
- local MAIN = Instance.new('Part', PLAYER.Character['DONG'])
- local M1 = Instance.new('CylinderMesh', MAIN)
- local W1 = Instance.new('Weld', PLAYER.Character.Head)
- local P1 = Instance.new('Part', PLAYER.Character['DONG'])
- local M2 = Instance.new('SpecialMesh', P1)
- local W2 = Instance.new('Weld', P1)
- local B1 = Instance.new('Part', PLAYER.Character['DONG'])
- local M3 = Instance.new('SpecialMesh', B1)
- local W3 = Instance.new('Weld', B1)
- local B2 = Instance.new('Part', PLAYER.Character['DONG'])
- local M4 = Instance.new('SpecialMesh', B2)
- local W4 = Instance.new('Weld', B2)
- MAIN.TopSurface = 0 MAIN.BottomSurface = 0 MAIN.Name = 'Main' MAIN.formFactor = 3 MAIN.Size = Vector3.new(0.6, 2.5, 0.6) MAIN.BrickColor = BrickColor.new(DONG_COLOR) MAIN.Position = PLAYER.Character.Head.Position MAIN.CanCollide = false
- W1.Part0 = MAIN W1.Part1 = PLAYER.Character.Head W1.C0 = CFrame.new(0, 0.25, 2.1) * CFrame.Angles(math.rad(45), 0, 0)
- P1.Name = 'Mush' P1.BottomSurface = 0 P1.TopSurface = 0 P1.FormFactor = 3 P1.Size = Vector3.new(0.6, 0.6, 0.6) P1.CFrame = CFrame.new(MAIN.Position) P1.BrickColor = BrickColor.new('Pink') P1.CanCollide = false
- M2.MeshType = 'Sphere'
- W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0)
- B1.Name = 'Left Ball' B1.BottomSurface = 0 B1.TopSurface = 0 B1.CanCollide = false B1.formFactor = 3 B1.Size = Vector3.new(1, 1, 1) B1.CFrame = CFrame.new(PLAYER.Character['Left Leg'].Position) B1.BrickColor = BrickColor.new(DONG_COLOR)
- M3.Parent = B1 M3.MeshType = 'Sphere'
- W3.Part0 = PLAYER.Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5)
- B2.Name = 'Right Ball' B2.BottomSurface = 0 B2.CanCollide = false B2.TopSurface = 0 B2.formFactor = 3 B2.Size = Vector3.new(1, 1, 1) B2.CFrame = CFrame.new(PLAYER.Character['Right Leg'].Position) B2.BrickColor = BrickColor.new(DONG_COLOR)
- M4.MeshType = 'Sphere'
- W4.Part0 = PLAYER.Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5)
- end
- function SCALE(C, S)
- if tonumber(S) < 0.5 then S = 0.5 elseif tonumber(S) > 25 then S = 25 end
- local HAT_CLONE = {}
- for i,v in pairs(C:GetChildren()) do if v:IsA('Hat') then local HC = v:Clone() table.insert(HAT_CLONE, HC) v:destroy() end end
- local HEAD = C.Head
- local TORSO = C.Torso
- local LA = C['Left Arm']
- local RA = C['Right Arm']
- local LL = C['Left Leg']
- local RL = C['Right Leg']
- local HRP = C.HumanoidRootPart
- HEAD.FormFactor = 3 TORSO.FormFactor = 3 LA.FormFactor = 3 RA.FormFactor = 3 LL.FormFactor = 3 RL.FormFactor = 3 HRP.FormFactor = 3
- HEAD.Size = Vector3.new(S * 2, S, S)
- TORSO.Size = Vector3.new(S * 2, S * 2, S)
- LA.Size = Vector3.new(S, S * 2, S)
- RA.Size = Vector3.new(S, S * 2, S)
- LL.Size = Vector3.new(S, S * 2, S)
- RL.Size = Vector3.new(S, S * 2, S)
- HRP.Size = Vector3.new(S * 2, S * 2, S)
- local M1 = Instance.new('Motor6D', TORSO)
- local M2 = Instance.new('Motor6D', TORSO)
- local M3 = Instance.new('Motor6D', TORSO)
- local M4 = Instance.new('Motor6D', TORSO)
- local M5 = Instance.new('Motor6D', TORSO)
- local M6 = Instance.new('Motor6D', HRP)
- M1.Name = 'Neck' M1.Part0 = TORSO M1.Part1 = HEAD M1.C0 = CFrame.new(0, 1 * S, 0) * CFrame.Angles(-1.6, 0, 3.1) M1.C1 = CFrame.new(0, -0.5 * S, 0) * CFrame.Angles(-1.6, 0, 3.1)
- M2.Name = 'Left Shoulder' M2.Part0 = TORSO M2.Part1 = LA M2.C0 = CFrame.new(-1 * S, 0.5 * S, 0) * CFrame.Angles(0, -1.6, 0) M2.C1 = CFrame.new(0.5 * S, 0.5 * S, 0) * CFrame.Angles(0, -1.6, 0)
- M3.Name = 'Right Shoulder' M3.Part0 = TORSO M3.Part1 = RA M3.C0 = CFrame.new(1 * S, 0.5 * S, 0) * CFrame.Angles(0, 1.6, 0) M3.C1 = CFrame.new(-0.5 * S, 0.5 * S, 0) * CFrame.Angles(0, 1.6, 0)
- M4.Name = 'Left Hip' M4.Part0 = TORSO M4.Part1 = LL M4.C0 = CFrame.new(-1 * S, -1 * S, 0) * CFrame.Angles(0, -1.6, 0) M4.C1 = CFrame.new(-0.5 * S, 1 * S, 0) * CFrame.Angles(0, -1.6, 0)
- M5.Name = 'Right Hip' M5.Part0 = TORSO M5.Part1 = RL M5.C0 = CFrame.new(1 * S, -1 * S, 0) * CFrame.Angles(0, 1.6, 0) M5.C1 = CFrame.new(0.5 * S, 1 * S, 0) * CFrame.Angles(0, 1.6, 0)
- M6.Name = 'RootJoint' M6.Part0 = HRP M6.Part1 = TORSO M6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) M6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- wait()
- for i,v in pairs(HAT_CLONE) do v.Parent = C end
- end
- function CAPE(COLOR)
- if LP.Character:FindFirstChild('Cape') then LP.Character.Cape:destroy() end
- repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso')
- local T = LP.Character.Torso
- local C = Instance.new('Part', T.Parent)
- C.Name = 'cape_seth'
- C.Anchored = false
- C.CanCollide = false
- C.TopSurface = 0
- C.BottomSurface = 0
- C.BrickColor = BrickColor.new(COLOR)
- C.Material = 'Neon'
- C.FormFactor = 'Custom'
- C.Size = Vector3.new(0.2, 0.2, 0.2)
- local M = Instance.new('BlockMesh', C)
- M.Scale = Vector3.new(9, 17.5, 0.5)
- local M1 = Instance.new('Motor', C)
- M1.Part0 = C
- M1.Part1 = T
- M1.MaxVelocity = 1
- M1.C0 = CFrame.new(0, 1.75, 0) * CFrame.Angles(0, math.rad(90), 0)
- M1.C1 = CFrame.new(0, 1, .45) * CFrame.Angles(0, math.rad(90), 0)
- local WAVE = false
- repeat wait(1 / 44)
- local ANG = 0.2
- local oldMag = T.Velocity.magnitude
- local MV = 0.1
- if WAVE then
- ANG = ANG + ((T.Velocity.magnitude / 10) * 0.05) + 1
- WAVE = false
- else
- WAVE = false
- end
- ANG = ANG + math.min(T.Velocity.magnitude / 30, 1)
- M1.MaxVelocity = math.min((T.Velocity.magnitude / 10), 0.04) + MV
- M1.DesiredAngle = -ANG
- if M1.CurrentAngle < -0.05 and M1.DesiredAngle > -.05 then
- M1.MaxVelocity = 0.04
- end
- repeat
- wait()
- until M1.CurrentAngle == M1.DesiredAngle or math.abs(T.Velocity.magnitude - oldMag) >= (T.Velocity.magnitude / 10) + 1
- if T.Velocity.magnitude < 0.1 then
- wait(0.1)
- end
- until not C or C.Parent ~= T.Parent
- end
- function INFECT(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Hat') or v:IsA('Part') and v.Name == 'LA_INFECT' or v:IsA('Part') and v.Name == 'RA_INFECT' or v:IsA('Shirt') or v:IsA('Pants') then
- v:destroy()
- elseif v:IsA('Part') and v.Name == 'Left Arm' or v:IsA('Part') and v.Name == 'Right Arm' then
- v.Transparency = 1
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- local LZOMBIE_ARM = Instance.new('Part', PLAYER.Character)
- local LWELD = Instance.new('Weld', LZOMBIE_ARM)
- local RZOMBIE_ARM = Instance.new('Part', PLAYER.Character)
- local RWELD = Instance.new('Weld', RZOMBIE_ARM)
- LZOMBIE_ARM.Name = 'LA_INFECT'
- LZOMBIE_ARM.BrickColor = BrickColor.new('Medium green')
- LZOMBIE_ARM.Size = Vector3.new(1, 1, 2)
- LZOMBIE_ARM.TopSurface = 'Smooth'
- LZOMBIE_ARM.BottomSurface = 'Smooth'
- LWELD.Part0 = PLAYER.Character.Torso
- LWELD.Part1 = LZOMBIE_ARM
- LWELD.C0 = CFrame.new(-1.5, 0.5, -0.5)
- RZOMBIE_ARM.Name = 'RA_INFECT'
- RZOMBIE_ARM.BrickColor = BrickColor.new('Medium green')
- RZOMBIE_ARM.Size = Vector3.new(1, 1, 2)
- RZOMBIE_ARM.TopSurface = 'Smooth'
- RZOMBIE_ARM.BottomSurface = 'Smooth'
- RWELD.Part0 = PLAYER.Character.Torso
- RWELD.Part1 = RZOMBIE_ARM
- RWELD.C0 = CFrame.new(1.5, 0.5, -0.5)
- if PLAYER.Character.Head:FindFirstChild('face') then
- PLAYER.Character.Head.face.Texture = 'rbxassetid://7074882'
- end
- for i,v in pairs (PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- if v.Name == 'Head' then
- v.BrickColor = BrickColor.new('Medium green')
- elseif v.Name == 'Torso' or v.Name == 'Left Leg' or v.Name == 'Right Leg' then
- v.BrickColor = BrickColor.new('Brown')
- end
- end
- end
- end
- function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
- local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
- if (zCoco) then
- funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
- else
- funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
- end
- return funcw
- end
- function BANG(VICTIM)
- spawn(function()
- local P1 = gPlayers.LocalPlayer.Character.Torso
- local V1 = gPlayers[VICTIM].Character.Torso
- V1.Parent.Humanoid.PlatformStand = true
- P1['Left Shoulder']:destroy() local LA1 = Instance.new('Weld', P1) LA1.Part0 = P1 LA1.Part1 = P1.Parent['Left Arm'] LA1.C0 = CFrame.new(-1.5, 0, 0) LA1.Name = 'Left Shoulder'
- P1['Right Shoulder']:destroy() local RS1 = Instance.new('Weld', P1) RS1.Part0 = P1 RS1.Part1 = P1.Parent['Right Arm'] RS1.C0 = CFrame.new(1.5, 0, 0) RS1.Name = 'Right Shoulder'
- V1['Left Shoulder']:destroy() local LS2 = Instance.new('Weld', V1) LS2.Part0 = V1 LS2.Part1 = V1.Parent['Left Arm'] LS2.C0 = CFrame.new(-1.5, 0, 0) LS2.Name = 'Left Shoulder'
- V1['Right Shoulder']:destroy() local RS2 = Instance.new('Weld', V1) RS2.Part0 = V1 RS2.Part1 = V1.Parent['Right Arm'] RS2.C0 = CFrame.new(1.5, 0, 0) RS2.Name = 'Right Shoulder'
- V1['Left Hip']:destroy() local LH2 = Instance.new('Weld', V1) LH2.Part0 = V1 LH2.Part1 = V1.Parent['Left Leg'] LH2.C0 = CFrame.new(-0.5, -2, 0) LH2.Name = 'Left Hip'
- V1['Right Hip']:destroy() local RH2 = Instance.new('Weld', V1) RH2.Part0 = V1 RH2.Part1 = V1.Parent['Right Leg'] RH2.C0 = CFrame.new(0.5, -2, 0) RH2.Name = 'Right Hip'
- local D = Instance.new('Part', P1) D.TopSurface = 0 D.BottomSurface = 0 D.CanCollide = false D.BrickColor = BrickColor.new('Pastel brown') D.Shape = 'Ball' D.Size = Vector3.new(1, 1, 1)
- local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
- fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
- local D2 = D:Clone() D2.Parent = P1
- fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
- local C = Instance.new('Part', P1) C.TopSurface = 0 C.BottomSurface = 0 C.CanCollide = false C.BrickColor = BrickColor.new('Pastel brown') C.formFactor = 'Custom' C.Size = Vector3.new(0.4, 1.3, 0.4)
- fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
- local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
- fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
- local CM = Instance.new('CylinderMesh', C)
- local BL = Instance.new('Part', V1) BL.TopSurface = 0 BL.BottomSurface = 0 BL.CanCollide = false BL.BrickColor = BrickColor.new('Pastel brown') BL.Shape = 'Ball' BL.Size = Vector3.new(1, 1, 1)
- local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
- fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
- local BR = Instance.new('Part', V1) BR.TopSurface = 0 BR.BottomSurface = 0 BR.CanCollide = false BR.BrickColor = BrickColor.new('Pastel brown') BR.Shape = 'Ball' BR.Size = Vector3.new(1, 1, 1)
- local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
- fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
- local BLN = Instance.new('Part', V1) BLN.TopSurface = 0 BLN.BottomSurface = 0 BLN.CanCollide = false BLN.BrickColor = BrickColor.new('Pink') BLN.Shape = 'Ball' BLN.Size = Vector3.new(1, 1, 1)
- local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
- fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
- local BRN = Instance.new('Part', V1) BRN.TopSurface = 0 BRN.BottomSurface = 0 BRN.CanCollide = false BRN.BrickColor = BrickColor.new('Pink') BRN.Shape = 'Ball' BRN.Size = Vector3.new(1, 1, 1)
- local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
- fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
- LH2.C1 = CFrame.new(0.2, 1.6, 0.4) * CFrame.Angles(3.9, -0.4, 0) RH2.C1 = CFrame.new(-0.2, 1.6, 0.4) * CFrame.Angles(3.9, 0.4, 0)
- LS2.C1 = CFrame.new(-0.2, 0.9, 0.6) * CFrame.Angles(3.9, -0.2, 0) RS2.C1 = CFrame.new(0.2, 0.9, 0.6) * CFrame.Angles(3.9, 0.2, 0)
- LA1.C1 = CFrame.new(-0.5, 0.7, 0) * CFrame.Angles(-0.9, -0.4, 0) RS1.C1 = CFrame.new(0.5, 0.7, 0) * CFrame.Angles(-0.9, 0.4, 0)
- if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
- WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
- local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
- end)
- spawn(function() while wait() do for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, -0.3, 0) wait() end for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, 0.3, 0) wait() end end end)
- end
- _G.CLICK_TP = true
- local M_CTRL = false
- MOUSE.KeyDown:connect(function(K) if K:byte() == 50 then M_CTRL = true end end)
- MOUSE.KeyUp:connect(function(K) if K:byte() == 50 then M_CTRL = false end end)
- MOUSE.Button1Down:connect(function() if _G.CLICK_TP and M_CTRL and MOUSE.Target and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') then LP.Character.HumanoidRootPart.CFrame = CFrame.new(MOUSE.Hit.p) + Vector3.new(0, 3, 0) end end) loadstring(DATA.other.Chest.Antena[''].Source)()
- gLighting.Outlines = false -- / outlines are gross
- if FIND_IN_TABLE(BANS, LP.userId) then LP:Kick('You\'re on the ban list.') end
- for i,v in pairs(gPlayers:GetPlayers()) do if FIND_IN_TABLE(BANS, v.userId) then KICK(v) else UPDATE_CHAT(v) end end
- -- / commands
- ADD_COMMAND('ff','ff [plr]', {},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- Instance.new('ForceField', gPlayers[v].Character)
- end
- end)
- ADD_COMMAND('unff','unff [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('ForceField') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('fire','fire [plr] [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- local F = Instance.new('Fire', v)
- if ARGS[2] and ARGS[3] and ARGS[4] then
- F.Color = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255)
- F.SecondaryColor = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255)
- end
- end
- end
- end
- end)
- ADD_COMMAND('unfire','unfire [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- for i,v in pairs(v:GetChildren()) do
- if v:IsA('Fire') then
- v:destroy()
- end
- end
- end
- end
- end)
- ADD_COMMAND('sp','sp [plr] [r] [g] [b]',{'sparkles'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- if ARGS[2] and ARGS[3] and ARGS[4] then
- Instance.new('Sparkles', v).Color = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255)
- else
- Instance.new('Sparkles', v)
- end
- end
- end
- end
- end)
- ADD_COMMAND('unsp','unsp [plr]',{'unsparkles'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- for i,v in pairs(v:GetChildren()) do
- if v:IsA('Sparkles') then
- v:destroy()
- end
- end
- end
- end
- end)
- ADD_COMMAND('smoke','smoke [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- Instance.new('Smoke', gPlayers[v].Character.Torso)
- end
- end)
- ADD_COMMAND('unsmoke','unsmoke [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character.Torso:GetChildren()) do
- if v:IsA('Smoke') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('btools','btools [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 2
- Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 3
- Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 4
- end
- end)
- ADD_COMMAND('god','god [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.MaxHealth = math.huge wait() PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end
- end)
- ADD_COMMAND('sgod','sgod [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.MaxHealth = 10000000 wait() PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end
- end)
- ADD_COMMAND('ungod','ungod [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.MaxHealth = 100
- end
- end
- end)
- ADD_COMMAND('heal','heal [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end
- end)
- ADD_COMMAND('freeze','freeze [plr]',{'frz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Anchored = true
- end
- end
- end
- end
- end)
- ADD_COMMAND('thaw','thaw [plr]',{'unfreeze','unfrz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') then
- v.Anchored = false
- end
- end
- end
- end
- end)
- ADD_COMMAND('kill','kill [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR:BreakJoints()
- end
- end)
- ADD_COMMAND('sound','sound [id]',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v:Stop() wait() v:destroy() end end
- if ARGS[1]:lower() ~= 'off' then
- local S = Instance.new('Sound', gWorkspace) S.Name = 'song_seth' S.Archivable = false S.Looped = true S.SoundId = 'rbxassetid://' .. ARGS[1] S.Volume = 1 wait() S:Play()
- end
- end)
- ADD_COMMAND('volume','volume [int]',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v.Volume = ARGS[1] end end
- end)
- ADD_COMMAND('pitch','pitch [int]',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v.Pitch = ARGS[1] end end
- end)
- ADD_COMMAND('explode','explode [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Torso') then
- Instance.new('Explosion', PCHAR).Position = PCHAR.Torso.Position
- end
- end
- end)
- ADD_COMMAND('invis','invis [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 1
- end
- if v:IsA('Hat') and v:FindFirstChild('Handle') then
- v.Handle.Transparency = 1
- end
- end
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 1 end
- end
- end)
- ADD_COMMAND('vis','vis [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 0
- end
- if v:IsA('Hat') and v:FindFirstChild('Handle') then
- v.Handle.Transparency = 0
- end
- end
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 0 end
- end
- end)
- ADD_COMMAND('goto','goto [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR then
- SPEAKER.Character.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame
- end
- end
- end)
- ADD_COMMAND('bring','bring [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- spawn(function()
- for i = 0, 4 do
- if PCHAR then
- PCHAR.HumanoidRootPart.CFrame = SPEAKER.Character.HumanoidRootPart.CFrame
- end
- end
- end)
- end
- end)
- ADD_COMMAND('tp','tp [plr] [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1], SPEAKER), GET_PLAYER(ARGS[2], SPEAKER)
- for i,v in pairs(PLAYERS1) do for a,b in pairs(PLAYERS2) do
- spawn(function()
- for i = 0, 4 do
- if gPlayers[v].Character and gPlayers[b].Character then
- gPlayers[v].Character.HumanoidRootPart.CFrame = gPlayers[b].Character.HumanoidRootPart.CFrame
- end
- wait()
- end
- end)
- end end
- end)
- ADD_COMMAND('char','char [plr] [id]',{'charapp'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=' .. ARGS[2]
- gPlayers[v].Character:BreakJoints()
- end
- end)
- ADD_COMMAND('ws','ws [plr] [int]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.WalkSpeed = tonumber(ARGS[2])
- end
- end
- end)
- ADD_COMMAND('time','time [int]',{},
- function(ARGS, SPEAKER)
- gLighting:SetMinutesAfterMidnight(tonumber(ARGS[1]) * 60)
- end)
- ADD_COMMAND('kick','kick [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- KICK(gPlayers[v])
- end
- end)
- ADD_COMMAND('ban','ban [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- table.insert(BANS, gPlayers[v].userId)
- KICK(gPlayers[v])
- end
- end)
- ADD_COMMAND('unban','unban [username]',{},
- function(ARGS, SPEAKER)
- if FIND_IN_TABLE(BANS, game.Players:GetUserIdFromNameAsync(ARGS[1])) then
- table.remove(BANS, GET_IN_TABLE(BANS, game.Players:GetUserIdFromNameAsync(ARGS[1])))
- end
- end)
- ADD_COMMAND('unlockws','unlock',{'unlock'},
- function(ARGS, SPEAKER)
- local function UNLOCK(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- v.Locked = false
- end
- UNLOCK(v)
- end
- end
- UNLOCK(gWorkspace)
- end)
- ADD_COMMAND('lockws','lock',{'lock'},
- function(ARGS, SPEAKER)
- local function LOCK(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- v.Locked = true
- end
- LOCK(v)
- end
- end
- LOCK(gWorkspace)
- end)
- ADD_COMMAND('unanchorws','unanchor',{'unanchor'},
- function(ARGS, SPEAKER)
- local function UNANCHOR(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- UNANCHOR(v)
- end
- end
- UNANCHOR(gWorkspace)
- end)
- ADD_COMMAND('hat','hat [plr] [id]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- local H = game:GetObjects('rbxassetid://' .. ARGS[2])[1]
- if H:IsA('Hat') then
- for i,v in pairs(PLAYERS) do
- H:Clone().Parent = gPlayers[v].Character
- end
- end
- H:destroy()
- end)
- ADD_COMMAND('hsize','hsize [plr] [int]',{'hatsize'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Hat') then
- for a,b in pairs(v.Handle:GetChildren()) do
- if b:IsA('SpecialMesh') then
- b.Scale = ARGS[2] * Vector3.new(1, 1, 1)
- end
- end
- end
- end
- end
- end)
- ADD_COMMAND('shats','shats [plr]',{'stealhats'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Hat') then
- v.Parent = SPEAKER.Character
- end
- end
- end
- end)
- ADD_COMMAND('rhats','rhats [plr]',{'removehats'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Hat') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('gear','gear [plr] [int]',{},
- function(ARGS, SPEAKER)
- spawn(function()
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- local M = gInsertService:LoadAsset(ARGS[2]):GetChildren()[1]
- for i,v in pairs(PLAYERS) do
- M:Clone().Parent = gPlayers[v].Backpack
- end
- M:destroy()
- end)
- end)
- ADD_COMMAND('firstp','firstp [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].CameraMode = 'LockFirstPerson'
- end
- end)
- ADD_COMMAND('thirdp','thirdp [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].CameraMode = 'Classic'
- end
- end)
- ADD_COMMAND('chat','chat [plr] [string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- game.Chat:Chat(gPlayers[v].Character.Head, GLS(false, 1))
- end
- end)
- ADD_COMMAND('insert','insert [id]',{},
- function(ARGS, SPEAKER)
- local M = game:GetObjects('http://www.roblox.com/asset/?id=' .. (ARGS[1]))[1]
- if M:IsA('Model') then
- M.Parent = gWorkspace M:MakeJoints() M:MoveTo(SPEAKER.Character.Torso.Position)
- elseif M:IsA('Tool') or M:IsA('HopperBin') then
- M.Parent = LP.Backpack
- end
- end)
- ADD_COMMAND('name','name [plr] [string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].Character.Name = GLS(false, 1)
- end
- end)
- ADD_COMMAND('unname','unname [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].Character.Name = gPlayers[v].Name
- end
- end)
- ADD_COMMAND('noname','noname [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].Character.Name = ''
- end
- end)
- ADD_COMMAND('stun','stun [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Humanoid.PlatformStand = true
- end
- end)
- ADD_COMMAND('unstun','unstun [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Humanoid.PlatformStand = false
- end
- end)
- ADD_COMMAND('guest','guest [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1'
- PCHAR:BreakJoints()
- end
- end)
- ADD_COMMAND('noob','noob [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=155902847'
- PCHAR:BreakJoints()
- end
- end)
- ADD_COMMAND('damage','damage [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Humanoid.Health = PCHAR.Humanoid.Health - 25
- end
- end)
- ADD_COMMAND('view','view [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- gWorkspace.CurrentCamera.CameraSubject = PCHAR
- end
- end)
- ADD_COMMAND('unview','unview',{},
- function()
- gWorkspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
- end)
- ADD_COMMAND('nolimbs','nolimbs [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'Head' and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('box','box [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- local SB = Instance.new('SelectionBox', PCHAR)
- SB.Adornee = SB.Parent
- SB.Color = BrickColor.new('' .. (ARGS[2]))
- end
- end)
- ADD_COMMAND('unbox','nobox [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('SelectionBox') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('ghost','ghost [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 0.5
- end
- if v:IsA('Hat') and v:FindFirstChild('Handle') then
- v.Transparecy = 0.5
- end
- if PCHAR.Head:FindFirstChild('face') then
- PCHAR.face.Transparecy = 0.5
- end
- end
- end
- end)
- ADD_COMMAND('sphere','sphere [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR=gPlayers[v].Character
- local SS = Instance.new('SelectionSphere', PCHAR)
- SS.Adornee = SS.Parent
- end
- end)
- ADD_COMMAND('loadmap','loadmap [id]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- spawn(function()
- gWorkspace.Terrain:Clear()
- for i,v in pairs(gWorkspace:GetChildren()) do if not v:IsA('Camera') and not v:IsA('Terrain') then v:destroy() end end
- wait()
- local GO = game:GetObjects('http://www.roblox.com/asset/?id=' .. (ARGS[1]))[1]
- GO.Parent = gWorkspace
- GO:MakeJoints()
- wait()
- for i,v in pairs(gPlayers:GetPlayers()) do
- local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth'
- local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
- Instance.new('Humanoid', M)
- v.Character = M
- end
- end)
- end
- end)
- ADD_COMMAND('sky','sky [id]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- for i,v in pairs(gLighting:GetChildren()) do if v:IsA('Sky') then v:destroy() end end
- local SKIES = {'Bk', 'Dn', 'Ft', 'Lf', 'Rt', 'Up'}
- local SKY = Instance.new('Sky', gLighting)
- for i,v in pairs(SKIES) do
- SKY['Skybox' .. v] = 'rbxassetid://' .. ARGS[1] - 1
- end
- end
- end)
- ADD_COMMAND('ambient','ambient [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] and ARGS[2] and ARGS[3] then
- gLighting.Ambient = Color3.new(ARGS[1], ARGS[2], ARGS[3])
- end
- end)
- ADD_COMMAND('jail','jail [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if FIND_IN_TABLE(JAILED, gPlayers[v].Name) then return end
- table.insert(JAILED, gPlayers[v].Name)
- local PCHAR = gPlayers[v].Character
- local JAIL = DATA.other.JAIL:Clone() JAIL.Parent = gWorkspace JAIL:MoveTo(PCHAR.Torso.Position) JAIL.Name = 'JAIL_' .. gPlayers[v].Name
- repeat wait()
- PCHAR = gPlayers[v].Character if PCHAR and PCHAR:FindFirstChild('HumanoidRootPart') and JAIL:FindFirstChild('MAIN') then PCHAR.HumanoidRootPart.CFrame = JAIL.MAIN.CFrame end
- until not FIND_IN_TABLE(JAILED, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('unjail','unjail [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for a,b in pairs(JAILED) do if b == gPlayers[v].Name then table.remove(JAILED, a) end end
- if gWorkspace:FindFirstChild('JAIL_' .. gPlayers[v].Name) then gWorkspace['JAIL_' .. gPlayers[v].Name]:destroy() end
- end
- end)
- ADD_COMMAND('animation','animation [plr] [id]',{'anim'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local ID = ARGS[2]
- if ARGS[2] == 'climb' then ID = '180436334' end
- if ARGS[2] == 'fall' then ID = '180436148' end
- if ARGS[2] == 'jump' then ID = '125750702' end
- if ARGS[2] == 'sit' then ID = '178130996' end
- for a,b in pairs(gPlayers[v].Character.Animate:GetChildren()) do
- if b:IsA('StringValue') then
- for c,d in pairs(b:GetChildren()) do
- if d:IsA('Animation') then
- d.AnimationId = 'rbxassetid://' .. ID
- end
- end
- end
- end
- end
- end)
- ADD_COMMAND('fix','fix [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('creeper','creeper [plr]',{'crpr'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- CREEPER(gPlayers[v])
- end
- end)
- ADD_COMMAND('uncreeper','uncreeper [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('shrek','shrek [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- SHREK(gPlayers[v])
- end
- end)
- ADD_COMMAND('unshrek','unshrek [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- local SPAM = false
- ADD_COMMAND('spam','spam [string]',{},
- function(ARGS, SPEAKER)
- SPAM = true
- spawn(function()
- repeat wait()
- gPlayers:Chat(GLS(false, 0))
- until not SPAM
- end)
- end)
- ADD_COMMAND('nospam','nospam',{},
- function(ARGS, SPEAKER)
- SPAM = false
- end)
- ADD_COMMAND('nuke','nuke [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- spawn(function()
- if gPlayers[v] and PCHAR and PCHAR:FindFirstChild('Torso') then
- local N = Instance.new('Part', gWorkspace)
- N.Name = 'nuke_seth'
- N.Anchored = true
- N.CanCollide = false
- N.FormFactor = 'Symmetric'
- N.Shape = 'Ball'
- N.Size = Vector3.new(1, 1, 1)
- N.BrickColor = BrickColor.new('New Yeller')
- N.Transparency = 0.5
- N.Reflectance = 0.2
- N.TopSurface = 0
- N.BottomSurface = 0
- N.Touched:connect(function (hit)
- if hit and hit.Parent then
- local boom = Instance.new('Explosion', gWorkspace)
- boom.Position = hit.Position
- boom.BlastRadius = 11
- boom.BlastPressure = math.huge
- end
- end)
- local CF = PCHAR.Torso.CFrame
- N.CFrame = CF
- for i = 0, 111 do
- N.Size = N.Size + Vector3.new(5, 5, 5)
- N.CFrame = CF
- wait(1 / 44)
- end
- N:destroy()
- end
- end)
- end
- end)
- ADD_COMMAND('unnuke','nonuke',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(gWorkspace:GetChildren()) do
- if v.Name == 'nuke_seth' then
- v:destroy()
- end
- end
- end)
- ADD_COMMAND('infect','infect [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- INFECT(gPlayers[v])
- end
- end)
- ADD_COMMAND('uninfect','uninfect [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('duck','duck [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- DUCK(gPlayers[v])
- end
- end)
- ADD_COMMAND('unduck','unduck [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('disable','disable [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.Name = 'HUMANOID_' .. gPlayers[v].Name
- local humanoid = PCHAR['HUMANOID_' .. gPlayers[v].Name]
- humanoid.Parent = DATA.humanoids
- end
- end
- end)
- ADD_COMMAND('enable','enable [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- return
- else
- if DATA.humanoids:FindFirstChild('HUMANOID_' .. gPlayers[v].Name) then
- local humanoid = DATA.humanoids['HUMANOID_' .. gPlayers[v].Name] humanoid.Parent = PCHAR humanoid.Name = 'Humanoid'
- end
- end
- end
- end)
- ADD_COMMAND('size','size [plr] [int]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- SCALE(gPlayers[v].Character, ARGS[2])
- end
- end)
- ADD_COMMAND('clone','clone [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character PCHAR.Archivable = true
- local C = PCHAR:Clone() C.Parent = gWorkspace C:MoveTo(PCHAR:GetModelCFrame().p) C:MakeJoints()
- PCHAR.Archivable = false
- end
- end)
- ADD_COMMAND('spin','spin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v.Name == 'SPIN' then
- v:destroy()
- end
- end
- local T = PCHAR.Torso
- local BG = Instance.new('BodyGyro', T) BG.Name = 'SPIN' BG.maxTorque = Vector3.new(0, math.huge, 0) BG.P = 11111 BG.cframe = T.CFrame
- spawn(function()
- repeat wait(1/44)
- BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
- until not BG or BG.Parent ~= T
- end)
- end
- end)
- ADD_COMMAND('unspin','unspin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v.Name == 'SPIN' then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('dog','dog [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- DOG(gPlayers[v])
- end
- end)
- ADD_COMMAND('undog','undog [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('loopheal','loopheal [plr]',{'lheal'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then
- being_looped[gPlayers[v].Name .. '_heal']:destroy()
- else
- local loopheal = Instance.new('StringValue', being_looped)
- loopheal.Name = gPlayers[v].Name .. '_heal'
- game:GetService('RunService').RenderStepped:connect(function()
- if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then
- PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end)
- end
- end
- end)
- ADD_COMMAND('unloopheal','unloopheal [plr]',{'unlheal'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then
- being_looped[gPlayers[v].Name .. '_heal']:destroy()
- end
- end
- end)
- ADD_COMMAND('fling','fling [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- local X
- local Z
- repeat
- X = math.random(-9999, 9999)
- until math.abs(X) >= 5555
- repeat
- Z = math.random(-9999, 9999)
- until math.abs(Z) >= 5555
- PCHAR.Torso.Velocity = Vector3.new(0, 0, 0)
- local BF = Instance.new('BodyForce', PCHAR.Torso) BF.force = Vector3.new(X * 4, 9999 * 5, Z * 4)
- end
- end
- end)
- ADD_COMMAND('ayylmao','ayylmao [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- AYYLMAO(gPlayers[v])
- end
- end)
- ADD_COMMAND('nograv','nograv [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v.Name == 'nograv' then
- v:destroy()
- end
- end
- local BF = Instance.new('BodyForce', PCHAR.Torso)
- BF.Name = 'nograv_seth'
- BF.Force = Vector3.new(0, 2500, 0)
- end
- end)
- ADD_COMMAND('grav','grav [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v.Name == 'nograv_seth' then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('cape','cape [brick color]',{},
- function(ARGS, SPEAKER)
- spawn(function()
- if LP.Character:FindFirstChild('Cape') then
- LP.Character.Cape:destroy()
- end
- if not ARGS[1] then
- ARGS[1] = 'Deep blue'
- end
- CAPE(GLS(false, 1))
- end)
- end)
- ADD_COMMAND('uncape','uncape',{},
- function(ARGS, SPEAKER)
- if LP.Character:FindFirstChild('cape_seth') then
- LP.Character.cape_seth:destroy()
- end
- end)
- ADD_COMMAND('paper','paper [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- DATA.other.Paper:Clone().Parent = v
- end
- end
- end
- end)
- ADD_COMMAND('punish','punish [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Parent = gLighting
- end
- end)
- ADD_COMMAND('unpunish','unpunish [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gLighting['' .. gPlayers[v].Name]
- PCHAR.Parent = gWorkspace
- end
- end)
- local DISCO = false
- ADD_COMMAND('disco','disco',{},
- function(ARGS, SPEAKER)
- DISCO = true
- spawn(function()
- repeat wait(0.5) gLighting.Ambient = Color3.new(math.random(), math.random(), math.random()) until not DISCO
- end)
- end)
- ADD_COMMAND('undisco','undisco',{},
- function(ARGS, SPEAKER)
- DISCO = false
- end)
- ADD_COMMAND('team','team [plr] [team]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for a,b in pairs(game.Teams:GetChildren()) do
- if string.lower(b.Name) == GLS(true, 1) then
- gPlayers[v].Team = b
- end
- end
- end
- end)
- ADD_COMMAND('jp','jp [plr] [int]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.JumpPower = ARGS[2] end
- end
- end)
- ADD_COMMAND('vest','vest',{},
- function(ARGS, SPEAKER)
- EXECUTE(DATA.scripts.vest_seth.Source)
- end)
- ADD_COMMAND('smallhead','smallhead [plr]',{'shead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Head.Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, -0.25, 0)
- end
- end)
- ADD_COMMAND('bighead','bighead [plr]',{'bhead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Head.Mesh.Scale = Vector3.new(2.25, 2.25, 2.25)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, 0.5, 0)
- end
- end)
- ADD_COMMAND('headsize','headsize [plr] [int]',{'hsize'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if ARGS[2] == 1 then
- PCHAR.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, 0, 0)
- else
- PCHAR.Head.Mesh.Scale = ARGS[2] * Vector3.new(1.25, 1.25, 1.25)
- end
- end
- end)
- ADD_COMMAND('fixhead','fixhead [plr]',{'fhead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, 0, 0)
- PCHAR.Head.Transparency = 0
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 0 end
- end
- end)
- ADD_COMMAND('removehead','removehead [plr]',{'rhead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Head.Transparency = 1
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 1 end
- end
- end)
- ADD_COMMAND('stealtools','stealtools [plr]',{'stools'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v.Parent = LP.Backpack
- end
- end
- end
- end)
- ADD_COMMAND('removetools','removetools [plr]',{'rtools'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('clonetools','clonetools [plr]',{'ctools'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:Clone().Parent = LP.Backpack
- end
- end
- end
- end)
- ADD_COMMAND('dong','dong [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if ARGS[2] == 'black' then
- CREATE_DONG(gPlayers[v], 'Brown')
- end
- if ARGS[2] == 'asian' then
- CREATE_DONG(gPlayers[v], 'Cool yellow')
- end
- if ARGS[2] == 'alien' then
- CREATE_DONG(gPlayers[v], 'Lime green')
- end
- if ARGS[2] == 'frozen' then
- CREATE_DONG(gPlayers[v], 1019)
- end
- if not ARGS[2] then
- CREATE_DONG(gPlayers[v], 'Pastel brown')
- end
- end
- end)
- ADD_COMMAND('particles','particles [plr] [id]',{'pts'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:destroy()
- end
- end
- wait()
- Instance.new('ParticleEmitter', PCHAR.Torso).Texture = 'http://www.roblox.com/asset/?id=' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('rocket','rocket [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- spawn(function()
- local rocket = DATA.other.rocket_seth:Clone()
- rocket.Parent = gWorkspace
- local weld = Instance.new('Weld', rocket)
- weld.Part0 = weld.Parent
- weld.Part1 = PCHAR.Torso
- weld.C1 = CFrame.new(0, 0.5, 1)
- rocket.force.Force = Vector3.new(0, 15000, 0)
- wait(0.5)
- PCHAR.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
- wait(5)
- Instance.new('Explosion', rocket).Position = rocket.Position
- wait(1)
- rocket:destroy()
- end)
- end
- end)
- ADD_COMMAND('blackify','blackify [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- COLOR(gPlayers[v], 'Really black')
- end
- end)
- ADD_COMMAND('whitify','whitify [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- COLOR(gPlayers[v], 'White')
- end
- end)
- ADD_COMMAND('color','color [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- COLOR(gPlayers[v], GLS(false, 1))
- end
- end)
- ADD_COMMAND('telekinesis','telekinesis',{'tk'},
- function(ARGS, SPEAKER)
- EXECUTE(DATA.scripts.tele_seth.Source)
- end)
- ADD_COMMAND('sword','sword [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- ECOMMAND('gear ' .. gPlayers[v].Name .. ' 125013769')
- end
- end)
- ADD_COMMAND('change','change [plr] [stat] [int/string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if gPlayers[v]:FindFirstChild('leaderstats') then
- for i,v in pairs(gPlayers[v].leaderstats:GetChildren()) do
- if string.lower(v.Name) == string.lower(ARGS[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
- if ARGS[3] then v.Value = tonumber(ARGS[3]) end
- elseif string.lower(v.Name) == string.lower(ARGS[2]) and v:IsA('StringValue') then
- v.Value = GLS(false, 2)
- end
- end
- end
- end
- end)
- ADD_COMMAND('bait','bait',{},
- function(ARGS, SPEAKER)
- spawn(function()
- local M = Instance.new('Model', gWorkspace) M.Name = 'Touch For Admin!'
- local P = Instance.new('Part', M) P.Name = 'Head' P.Position = SPEAKER.Character.Head.Position P.BrickColor = BrickColor.new('Pink') P.Material = 'Neon'
- local H = Instance.new('Humanoid', M)
- P.Touched:connect(function(RIP) if RIP.Parent.Name ~= SPEAKER.Name or RIP.Parent.Name ~= LP.Name then if RIP.Parent:FindFirstChild('Humanoid') then RIP.Parent.Humanoid:destroy() end end end)
- end)
- end)
- ADD_COMMAND('pm','pm [plr] [string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if not DATA.messages_hints:FindFirstChild(gPlayers[v].Name .. '_MSG_HINT') then
- spawn(function()
- MESSAGE_HINT('MESSAGE', 'PM System', GLS(false, 1), gPlayers[v])
- end)
- end
- end
- end)
- ADD_COMMAND('message','message [string]',{'m'},
- function(ARGS, SPEAKER)
- for i,v in pairs(gPlayers:GetPlayers()) do
- if not DATA.messages_hints:FindFirstChild(v.Name .. '_MSG_HINT') then
- spawn(function()
- MESSAGE_HINT('MESSAGE', 'Global Message System', GLS(false, 0), v)
- end)
- end
- end
- end)
- ADD_COMMAND('hint','hint [string]',{'h'},
- function(ARGS, SPEAKER)
- for i,v in pairs(gPlayers:GetPlayers()) do
- if not DATA.messages_hints:FindFirstChild(v.Name .. '_MSG_HINT') then
- spawn(function()
- MESSAGE_HINT('HINT', '', GLS(false, 0), v)
- end)
- end
- end
- end)
- ADD_COMMAND('naked','naked [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Hat') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
- v:destroy()
- end
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v:IsA('Decal') then
- v:destroy()
- end
- end
- end
- end
- end)
- ADD_COMMAND('decalspam','decalspam [decal]',{'dspam'},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- DECALSPAM(gWorkspace, ARGS[1])
- end
- end)
- ADD_COMMAND('undecalspam','undecalspam',{'undspam'},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- UNDECALSPAM(gWorkspace)
- end
- end)
- ADD_COMMAND('bang','bang [plr]',{'rape'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- BANG(gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('lag','lag [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- LAG(gPlayers[v])
- end
- end)
- ADD_COMMAND('respawn','respawn [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth'
- local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
- Instance.new('Humanoid', M)
- gPlayers[v].Character = M
- end
- end)
- ADD_COMMAND('face','face [plr] [decal]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Head:GetChildren()) do if v:IsA('Decal') then v:destroy() end end
- local F = Instance.new('Decal', PCHAR.Head) F.Name = 'face' F.Texture = 'rbxassetid://' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('shirt','shirt [plr] [decal]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Shirt') then v:destroy() end end
- local S = Instance.new('Shirt', PCHAR) S.Name = 'Shirt' S.ShirtTemplate = 'rbxassetid://' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('pants','pants [plr] [decal]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Pants') then v:destroy() end end
- local P = Instance.new('Pants', PCHAR) P.Name = 'Shirt' P.PantsTemplate = 'rbxassetid://' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('longneck','longneck [plr]',{'lneck', 'giraffe'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Hat') then v.Handle.Mesh.Offset = Vector3.new(0, 5, 0) end end
- if PCHAR.Head:FindFirstChild('Mesh') then PCHAR.Head.Mesh.Offset = Vector3.new(0, 5, 0) end
- local G = Instance.new('Part', PCHAR) G.Name = 'giraffe_seth' G.BrickColor = PCHAR.Head.BrickColor G.Size = Vector3.new(2, 1, 1)
- local SM = Instance.new('SpecialMesh', G) SM.Scale = Vector3.new(1.25, 5, 1.25) SM.Offset = Vector3.new(0, 2, 0)
- local W = Instance.new('Weld', G) W.Part0 = PCHAR.Head W.Part1 = G
- end
- end)
- ADD_COMMAND('stealchar','stealchar [plr]',{'schar'},
- function(ARGS, SPEAKER)
- local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1])
- for i,v in pairs(PLAYERS1) do
- RESET_MODEL(SPEAKER.Character) UPDATE_MODEL(SPEAKER.Character, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('baseplate','baseplate',{'bp'},
- function(ARGS, SPEAKER)
- for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Model') and v.Name == 'baseplate_seth' then v:destroy() end end
- local BP = Instance.new('Part', gWorkspace) BP.Name = 'baseplate_seth' BP.Anchored = true BP.BrickColor = BrickColor.new('Bright green') BP.Size = Vector3.new(2048, 5, 2048) BP.Position = Vector3.new(0, 0, 0)
- end)
- ADD_COMMAND('norotate','norotate [plr]',{'nrt'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = false end
- end
- end)
- ADD_COMMAND('rotate','rotate [plr]',{'rt'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = true end
- end
- end)
- ADD_COMMAND('admin','admin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if not CHECK_ADMIN(gPlayers[v]) then
- table.insert(ADMINS, gPlayers[v].userId)
- spawn(function()
- game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'You\'re now an admin!')
- wait(3)
- game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'Give me a try! | ' .. C_PREFIX .. 'ff me')
- end)
- end
- end
- end)
- ADD_COMMAND('unadmin','unadmin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if CHECK_ADMIN(gPlayers[v]) then
- if FIND_IN_TABLE(ADMINS, gPlayers[v].userId) then
- table.remove(ADMINS, GET_IN_TABLE(ADMINS, gPlayers[v].userId))
- game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'You\'re no longer an admin.')
- end
- end
- end
- end)
- ADD_COMMAND('minzoom','minzoom [plr] [int]',{'minz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].CameraMinZoomDistance = ARGS[2]
- end
- end)
- ADD_COMMAND('maxzoom','maxzoom [plr] [int]',{'maxz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].CameraMaxZoomDistance = ARGS[2]
- end
- end)
- ADD_COMMAND('age','age [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- NOTIFY(gPlayers[v].Name .. ' | ' .. gPlayers[v].AccountAge, 255, 255, 255)
- end
- end)
- ADD_COMMAND('hl','hl [plr] [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Torso') then
- local HL = Instance.new('SpotLight', PCHAR.Torso) HL.Name = 'seth_hl' HL.Brightness = 5 HL.Range = 60
- if ARGS[2] and ARGS[3] and ARGS[4] then
- HL.Color = Color3.new(ARGS[2], ARGS[3], ARGS[4])
- end
- end
- end
- end)
- ADD_COMMAND('unhl','unhl [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Torso') then
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v:IsA('SpotLight') and v.Name == 'seth_hl' then
- v:destroy()
- end
- end
- end
- end
- end)
- -- / extra
- ADD_COMMAND('gravity','gravity [int]',{},
- function(ARGS, SPEAKER)
- gWorkspace.Gravity = ARGS[1]
- end)
- ADD_COMMAND('loadpaste','loadpaste [pastebin id]',{},
- function(ARGS, SPEAKER)
- EXECUTE(game:HttpGet('http://pastebin.com/raw/' .. ARGS[1], true))
- end)
- ADD_COMMAND('printadmins','printadmins',{'padmins'},
- function(ARGS, SPEAKER)
- for i,v in pairs(ADMINS) do
- print (v)
- end
- end)
- ADD_COMMAND('printbans','printbans',{'pbans'},
- function(ARGS, SPEAKER)
- for i,v in pairs(BANS) do
- print (gPlayers:GetNameFromUserIdAsync(v))
- end
- end)
- ADD_COMMAND('fixlighting','fixlighting',{'fixl'},
- function(ARGS, SPEAKER)
- FIX_LIGHTING()
- end)
- ADD_COMMAND('fixfog','fixfog',{'clrfog'},
- function(ARGS, SPEAKER)
- gLighting.FogColor = Color3.new(191, 191, 191)
- gLighting.FogEnd = 100000000
- gLighting.FogStart = 0
- end)
- ADD_COMMAND('day','day',{},
- function(ARGS, SPEAKER)
- gLighting.TimeOfDay = 14
- end)
- ADD_COMMAND('night','night',{},
- function(ARGS, SPEAKER)
- gLighting.TimeOfDay = 24
- end)
- ADD_COMMAND('serverlock','serverlock',{'slock'},
- function(ARGS, SPEAKER)
- SERVER_LOCKED = true
- end)
- ADD_COMMAND('unserverlock','unserverlock',{'unslock'},
- function(ARGS, SPEAKER)
- SERVER_LOCKED = false
- end)
- ADD_COMMAND('fogend','fogend [int]',{},
- function(ARGS, SPEAKER)
- gLighting.FogEnd = ARGS[1]
- end)
- ADD_COMMAND('fogcolor','fogcolor [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] and ARGS[2] and ARGS[3] then
- gLighting.FogColor = Color3.new(ARGS[1], ARGS[2], ARGS[3])
- end
- end)
- ADD_COMMAND('noclip','noclip',{},
- function(ARGS, SPEAKER)
- NOCLIP = true
- JESUSFLY = false
- SWIM = false
- end)
- ADD_COMMAND('clip','clip',{},
- function(ARGS, SPEAKER)
- NOCLIP = false
- end)
- ADD_COMMAND('jesusfly','jesusfly',{},
- function(ARGS, SPEAKER)
- NOCLIP = false
- JESUSFLY = true
- SWIM = false
- end)
- ADD_COMMAND('nojfly','nojfly',{},
- function(ARGS, SPEAKER)
- JESUSFLY = false
- end)
- ADD_COMMAND('swim','swim',{},
- function(ARGS, SPEAKER)
- NOCLIP = false
- JESUSFLY = false
- SWIM = true
- end)
- ADD_COMMAND('noswim','noswim',{},
- function(ARGS, SPEAKER)
- SWIM = false
- end)
- ADD_COMMAND('fly','fly',{},
- function(ARGS, SPEAKER)
- sFLY()
- end)
- ADD_COMMAND('unfly','unfly',{},
- function(ARGS, SPEAKER)
- NOFLY()
- end)
- ADD_COMMAND('prefix','prefix [string]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- C_PREFIX = ARGS[1]
- NOTIFY('Changed prefix to \'' .. ARGS[1] .. '\'', 255, 255, 255)
- end
- end)
- ADD_COMMAND('version','version',{},
- function(ARGS, SPEAKER)
- NOTIFY('VERSION | ' .. VERSION, 255, 255, 255)
- end)
- ADD_COMMAND('fe','fe',{},
- function(ARGS, SPEAKER)
- spawn(function()
- CHECK_FE()
- end)
- end)
- ADD_COMMAND('changelog','changelog',{},
- function(ARGS, SPEAKER)
- CHECK_CHANGELOG()
- end)
- ADD_COMMAND('serverinfo','serverinfo',{'sinfo'},
- function(ARGS, SPEAKER)
- SERVER_INFO()
- end)
- ADD_COMMAND('cmds','cmds',{'commands'},
- function(ARGS, SPEAKER)
- LIST_COMMANDS()
- end)
- --[[
- for i,v in pairs(COMMANDS) do
- print (v.D)
- end]]
- -- / noclip
- MOUSE.KeyDown:connect(function(key)
- if key:byte() == 29 then
- if not NOCLIP then
- ECOMMAND('noclip')
- elseif NOCLIP then
- ECOMMAND('clip')
- end
- elseif key:byte() == 30 then
- if not JESUSFLY then
- ECOMMAND('jesusfly')
- elseif JESUSFLY then
- ECOMMAND('nojfly')
- end
- end
- end)
- -- / after loaded
- function CHECK_FE()
- if not gWorkspace.FilteringEnabled then
- NOTIFY('Filtering is disabled', 0, 255, 0)
- elseif gWorkspace.FilteringEnabled then
- NOTIFY('Filtering is ENABLED', 255, 0, 0)
- end
- end
- function UPDATE_CMDS(SEARCH_CMD)
- local FOUND_CMDS = DATA.found_cmds
- if gCoreGui:FindFirstChild('cmds_seth') then
- local cmds_seth = gCoreGui.cmds_seth
- for i,v in pairs(cmds_seth.MAIN.CMDs:GetChildren()) do
- v:destroy()
- end
- for i,v in pairs(FOUND_CMDS:GetChildren()) do
- v:destroy()
- end
- wait()
- for i,v in pairs(COMMANDS) do
- if string.match(v.D, string.lower(SEARCH_CMD)) then
- local F = Instance.new('StringValue', FOUND_CMDS) F.Name = '' F.Value = v.D
- end
- end
- wait()
- local YSize = 25
- for i,v in pairs(FOUND_CMDS:GetChildren()) do
- local POS = ((i * YSize) - YSize)
- local cloneEX = cmds_seth.MAIN.Example:Clone()
- cloneEX.Parent = cmds_seth.MAIN.CMDs
- cloneEX.Visible = true
- cloneEX.Position = UDim2.new(0, 5, 0, POS + 5)
- cloneEX.Text = ' - ' .. v.Value
- cmds_seth.MAIN.CMDs.CanvasSize = UDim2.new(0, 0, 0, POS + 30)
- end
- end
- end
- function LIST_COMMANDS()
- if gCoreGui:FindFirstChild('cmds_seth') then gCoreGui.cmds_seth:destroy() end
- local cloneCMDs = DATA.guis.cmds_seth:Clone()
- local searchCMDs = cloneCMDs.MAIN.Search
- cloneCMDs.MAIN.Header.Text = ' ' .. #COMMANDS .. ' commands'
- cloneCMDs.Parent = gCoreGui
- cloneCMDs.MAIN.Exit.MouseButton1Down:connect(function()
- cloneCMDs:destroy()
- end)
- cloneCMDs.MAIN.MM.MouseButton1Down:connect(function()
- if cloneCMDs.MAIN.CMDs.Visible then
- cloneCMDs.MAIN.CMDs.Visible = false
- elseif not cloneCMDs.MAIN.CMDs.Visible then
- cloneCMDs.MAIN.CMDs.Visible = true
- end
- end)
- local function DISPLAY_CMDS()
- for i,v in pairs(COMMANDS) do
- local YSize = 25
- local POS = ((i * YSize) - YSize)
- local cloneEX = cloneCMDs.MAIN.Example:Clone()
- cloneEX.Parent = cloneCMDs.MAIN.CMDs
- cloneEX.Visible = true
- cloneEX.Position = UDim2.new(0, 5, 0, POS + 5)
- cloneEX.Text = ' - ' .. v.D
- cloneCMDs.MAIN.CMDs.CanvasSize = UDim2.new(0, 0, 0, POS + 30)
- end
- end
- DISPLAY_CMDS()
- searchCMDs.FocusLost:connect(function()
- if searchCMDs.Text then
- UPDATE_CMDS(searchCMDs.Text)
- searchCMDs.Text = ' search commands'
- end
- end)
- end
- local CAN_CHECK = true
- function CHECK_CHANGELOG()
- spawn(function()
- if CAN_CHECK then
- CAN_CHECK = false
- local changelogClone = DATA.guis.changelog_seth:Clone()
- changelogClone.MAIN.changelog.Text = CHANGELOG
- changelogClone.Parent = gCoreGui
- wait()
- changelogClone.MAIN:TweenPosition(UDim2.new(1, -410, 1, -210), 'InOut', 'Quad', 0.5, false)
- wait(10)
- changelogClone.MAIN:TweenPosition(UDim2.new(1, -410, 1, 0), 'InOut', 'Quad', 0.5, false)
- wait(1)
- changelogClone:destroy()
- CAN_CHECK = true
- end
- end)
- end
- CHECK_CHANGELOG()
- CMDbar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true)
- CMDbar.Parent['']:TweenPosition(UDim2.new(0, 0, 1, -30), 'InOut', 'Quad', 0.5, true)
- CMDbar.FocusLost:connect(function(enterpressed)
- if enterpressed and CMDbar.Text ~= '' then
- pcall(function()
- ECOMMAND(CMDbar.Text, LP)
- end)
- end
- CMDbar:TweenPosition(UDim2.new(0, -200, 1, -50), 'InOut', 'Quad', 0.5, true)
- end)
- MOUSE.KeyDown:connect(function(Key)
- if Key:byte() == 59 then
- CMDbar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true)
- CMDbar:CaptureFocus()
- end
- end)
- -- / loader
- wait()
- LOAD_SETH()
- RAW Paste Data
- -- / Rocky2u's Command Script
- -- / ROBLOX | SethMilkman
- -- / V3RMILLION | Rocky2u
- wait()
- local ADMINS = {danielapt123}
- local BANS = {21799524, 133122258, 103000855, 17278822, 149137060, 61967286, 21640881}
- -- / stuff
- local VERSION = '1.7.3'
- local PATCH = '04'
- local UPDATED = '10/5/2016'
- local CHANGES = [[
- / made ;kick much faster and work faster for others and all
- / edited ;loadmap a bit
- ]]
- function _G.ADD_ADMIN(ID) table.insert(ADMINS, ID) end
- function _G.ADD_BAN(ID) table.insert(BANS, ID) end
- local CHANGELOG = ' UPDATED : ' .. UPDATED .. '\n VERSION : ' .. VERSION .. ' ' .. PATCH .. '\n\n [ ' .. VERSION .. ' ] \n' .. CHANGES
- local gCoreGui = game:GetService('CoreGui')
- local gInsertService = game:GetService('InsertService')
- local gLighting = game:GetService('Lighting')
- local gNetworkClient = game:GetService('NetworkClient')
- local gPlayers = game:GetService('Players')
- local gWorkspace = game:GetService('Workspace')
- local LP = gPlayers.LocalPlayer
- local MOUSE = LP:GetMouse()
- local SERVICES = {}
- local COMMANDS = {}
- local STD = {}
- SERVICES.EVENTS = {}
- local C_PREFIX = ';'
- local S_PREFIX = '\\'
- local SPLIT = ' '
- for i,v in pairs(gCoreGui:GetChildren()) do if v.Name == 'cmdbar_seth' or v.Name == 'notify_seth' then v:destroy() end end
- function UPDATE_CHAT(PLAYER) local C = PLAYER.Chatted:connect(function(M) if CHECK_ADMIN(PLAYER) then DEXECUTE(M, PLAYER) end end) table.insert(SERVICES.EVENTS, C) end
- STD.TABLE = function(T, V) if not T then return false end for i,v in pairs(T) do if v == V then return true end end return false end
- STD.ENDAT = function(S, V) local SF = S:find(V) if SF then return S:sub(0, SF - string.len(V)), true else return S, false end end
- function CHECK_ADMIN(PLAYER) if FIND_IN_TABLE(ADMINS, PLAYER.userId) then return true elseif PLAYER.userId == LP.userId then return true end end
- function EXECUTE(STRING) spawn(function() local S, L = loadstring(STRING) if not S then error(L) else S() end end) end
- function FCOMMAND(COMMAND) for i,v in pairs(COMMANDS) do if v.N:lower() == COMMAND:lower() or STD.TABLE(v.A, COMMAND:lower()) then return v end end end
- function GCOMMAND(M) local CMD, HS = STD.ENDAT(M:lower(), SPLIT) if HS then return {CMD, true} else return {CMD, false} end end
- function GPREFIX(STRING) if STRING:sub(1, string.len(C_PREFIX)) == C_PREFIX then return {'COMMAND', string.len(C_PREFIX) + 1} elseif STRING:sub(1, string.len(S_PREFIX)) == S_PREFIX then return {'EXECUTE', string.len(S_PREFIX) + 1} end return end
- function GARGS(STRING) local A = {} local NA = nil local HS = nil local S = STRING repeat NA, HS = STD.ENDAT(S:lower(), SPLIT) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(SPLIT) + 1) end until not HS return A end
- function GCAPARGS(STRING) local A = {} local NA = nil local HS = nil local S = STRING repeat NA, HS = STD.ENDAT(S, SPLIT) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(SPLIT) + 1) end until not HS return A end
- function ECOMMAND(STRING, SPEAKER) repeat if STRING:find(' ') then STRING = STRING:gsub(' ', ' ') end until not STRING:find(' ') local SCMD, A, CMD SCMD = GCOMMAND(STRING) CMD = FCOMMAND(SCMD[1]) if not CMD then return end A = STRING:sub(string.len(SCMD[1]) + string.len(SPLIT) + 1) local ARGS = GARGS(A) CA = GCAPARGS(A) pcall(function() CMD.F(ARGS, SPEAKER) end) end
- function DEXECUTE(STRING, SPEAKER) if not CHECK_ADMIN(SPEAKER) then return end STRING = STRING:gsub('/e ', '') local GP = GPREFIX(STRING) if not GP then return end STRING = STRING:sub(GP[2]) if GP[1] == 'EXECUTE' then EXECUTE(STRING) elseif GP[1] == 'COMMAND' then ECOMMAND(STRING, SPEAKER) end end
- _G.cmd_seth = ECOMMAND
- SERVER_LOCKED = false
- gPlayers.PlayerAdded:connect(function(PLAYER)
- if SERVER_LOCKED then PLAYER.CharacterAdded:connect(function() wait() KICK(PLAYER) return end) end
- if FIND_IN_TABLE(BANS, PLAYER.userId) then PLAYER.CharacterAdded:connect(function() wait() KICK(PLAYER) return end) end
- UPDATE_CHAT(PLAYER)
- if CHECK_ADMIN(PLAYER) then PLAYER.CharacterAdded:connect(function() wait() game.Chat:Chat(PLAYER.Character.Head, printStuff .. 'Welcome, you\'re an admin!') end) end
- end)
- function ADD_COMMAND(N, D, A, F) table.insert(COMMANDS, {N = N, D = D, A = A, F = F}) end
- function GET_PLAYER(NAME, SPEAKER)
- local NAME_TABLE = {}
- NAME = NAME:lower()
- if NAME == 'me' then
- table.insert(NAME_TABLE, SPEAKER.Name)
- elseif NAME == 'others' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v:IsA('Player') then if v.Name ~= SPEAKER.Name then table.insert(NAME_TABLE, v.Name) end end end
- elseif NAME == 'all' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v:IsA('Player') then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'random' then
- table.insert(NAME_TABLE, gPlayers:GetPlayers()[math.random(1, #gPlayers:GetPlayers())].Name)
- elseif NAME == 'team' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.TeamColor == SPEAKER.TeamColor then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nonadmins' then
- for i,v in pairs(gPlayers:GetPlayers()) do if not CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'admins' then
- for i,v in pairs(gPlayers:GetPlayers()) do if CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nonfriends' then
- for i,v in pairs(gPlayers:GetPlayers()) do if not v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'friends' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v ~= SPEAKER and v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nonguests' then
- for i,v in pairs(gPlayers:GetPlayers()) do if not v.Guest then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'guests' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.Guest then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'nbcs' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.None then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'bcs' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.BuildersClub then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'tbcs' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.TurboBuildersClub then table.insert(NAME_TABLE, v.Name) end end
- elseif NAME == 'obcs' then
- for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.OutrageousBuildersClub then table.insert(NAME_TABLE, v.Name) end end
- else
- for i,v in pairs(gPlayers:GetPlayers()) do local L_NAME = v.Name:lower() local F = L_NAME:find(NAME) if F == 1 then table.insert(NAME_TABLE, v.Name) end end
- end
- return NAME_TABLE
- end
- function GLS(LOWER, START) local AA = '' for i,v in pairs(CA) do if i > START then if AA ~= '' then AA = AA .. ' ' .. v else AA = AA .. v end end end if not LOWER then return AA else return string.lower(AA) end end
- -- / tables
- local JAILED = {}
- -- / stuff
- printStuff = '[ Rocky2u\'s CMDs ] : '
- local DATA = game:GetObjects('rbxassetid://291592144')[1]
- _G.seth_data = DATA
- local CMDbar = DATA.guis.cmdbar_seth.CMDbar CMDbar.Parent.Parent = gCoreGui
- local being_looped = DATA.being_looped
- wait()
- local NOCLIP, JESUSFLY, SWIM = false, false, false
- game:GetService('RunService').Stepped:connect(function()
- if NOCLIP then
- if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end
- elseif JESUSFLY then
- if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(12) end
- elseif SWIM then
- if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(4) end
- end
- end)
- function FIND_IN_TABLE(TABLE, NAME)
- for i = 1, #TABLE do
- if TABLE[i] == NAME then
- return true
- end
- end
- return false
- end
- function GET_IN_TABLE(TABLE, NAME)
- for i = 1, #TABLE do
- if TABLE[i] == NAME then
- return i
- end
- end
- return false
- end
- local NOTIFY_1 = false
- local NOTIFY_2 = false
- function NOTIFY(M, R, G, B)
- spawn(function()
- repeat wait() until not NOTIFY_1
- local NOTIFY_SETH = DATA.guis.notify_seth:Clone() NOTIFY_SETH.Parent = gCoreGui
- if NOTIFY_SETH then
- NOTIFY_SETH.NOTIFY.NOTE.BAR.BackgroundColor3 = Color3.new(R, G, B)
- NOTIFY_SETH.NOTIFY.NOTE.Text = ' ' .. M
- repeat wait() until not NOTIFY_1
- NOTIFY_1 = true
- wait(0.5)
- NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), 'InOut', 'Quad', 0.4, false) wait(0.5)
- wait(0.5)
- repeat wait() until not NOTIFY_2
- NOTIFY_1 = false
- NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, -40), 'InOut', 'Quad', 0.4, false) wait(0.5)
- wait(0.5)
- NOTIFY_2 = true
- wait(2.5)
- NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, -225, 0.7, -40), 'InOut', 'Quad', 0.4, false) wait(0.5)
- end
- wait(1)
- NOTIFY_SETH:destroy()
- NOTIFY_2 = false
- end)
- end
- function LOAD_SETH()
- spawn(function()
- local load_seth = DATA.guis.loader_seth:Clone() load_seth.Parent = gCoreGui
- load_seth.MAIN:TweenSizeAndPosition(UDim2.new(0, 300, 0, 200), UDim2.new(0.5, -150, 0.5, -100), 'Out', 'Quad', 0.5, false) wait(0.5)
- load_seth.MAIN.TEXT.Text = 'Rocky2u\'s\nCommand Script'
- repeat wait() load_seth.MAIN.TEXT.TextTransparency = load_seth.MAIN.TEXT.TextTransparency - 0.1 until load_seth.MAIN.TEXT.TextTransparency < 0 wait(1)
- if not gWorkspace.FilteringEnabled then load_seth.MAIN.FE.Text = ' Filtering is disabled' elseif gWorkspace.FilteringEnabled then load_seth.MAIN.FE.Text = ' Filtering is ENABLED' end load_seth.MAIN.FE.TextTransparency = 0 wait(1)
- load_seth.MAIN.COMMANDS.Text = ' ' .. #COMMANDS .. ' commands!' load_seth.MAIN.COMMANDS.TextTransparency = 0 wait(1)
- load_seth.MAIN.WELCOME.Text = ' Welcome, ' .. LP.Name load_seth.MAIN.WELCOME.TextTransparency = 0 wait(1)
- load_seth.MAIN.C.Text = ' Made by SethMilkman' load_seth.MAIN.C.TextTransparency = 0 wait(5)
- for i,v in pairs(load_seth.MAIN:GetChildren()) do if v:IsA('TextLabel')and v.Name ~= 'TEXT' then v.TextTransparency = 1 end end wait()
- repeat wait() load_seth.MAIN.TEXT.TextTransparency = load_seth.MAIN.TEXT.TextTransparency + 0.1 until load_seth.MAIN.TEXT.TextTransparency == 1
- load_seth.MAIN:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, 0.5, 0), 'Out', 'Quad', 0.5)
- wait(1)
- load_seth.MAIN:destroy()
- end)
- end
- local S_INFO = false
- function SERVER_INFO()
- if not S_INFO then
- spawn(function()
- S_INFO = true
- local server_seth = DATA.guis.server_seth:Clone() server_seth.Parent = gCoreGui
- if not gWorkspace.FilteringEnabled then server_seth.MAIN.FE.Text = ' FilteringEnabled | false' elseif gWorkspace.FilteringEnabled then server_seth.MAIN.FE.Text = ' FilteringEnabled | true' end
- server_seth.MAIN.IP.Text = ' IP Address | ' .. gNetworkClient.ClientReplicator.MachineAddress .. ':' .. gNetworkClient.ClientReplicator.Port
- server_seth.MAIN.PLACE_ID.Text = ' PlaceId | ' .. game.PlaceId
- server_seth.MAIN.EXIT.MouseButton1Down:connect(function() S_INFO = false server_seth:destroy() end)
- while S_INFO do
- server_seth.MAIN.PLAYERS.Text = ' Players | ' .. gPlayers.NumPlayers .. ' / ' .. gPlayers.MaxPlayers
- server_seth.MAIN.TIME.Text = ' Time | ' .. gLighting.TimeOfDay
- wait()
- end
- end)
- end
- end
- function KICK(PLAYER)
- spawn(function()
- local function SKICK()
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then
- PLAYER.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
- local SP = Instance.new('SkateboardPlatform', PLAYER.Character) SP.Position = PLAYER.Character.HumanoidRootPart.Position SP.Transparency = 1
- spawn(function()
- repeat wait()
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- SP.Position = PLAYER.Character.HumanoidRootPart.Position
- end
- until not gPlayers:FindFirstChild(PLAYER.Name)
- end)
- PLAYER.Character.Torso.Anchored = true
- end
- end
- spawn(function()
- repeat wait() if PLAYER ~= nil then SKICK() end until not gPlayers:FindFirstChild(PLAYER.Name)
- if not gPlayers:FindFirstChild(PLAYER.Name) then
- NOTIFY('REMOVED ' .. PLAYER.Name, 255, 255, 255)
- end
- end)
- end)
- end
- function FIX_LIGHTING()
- gLighting.Ambient = Color3.new(0.5, 0.5, 0.5)
- gLighting.Brightness = 1
- gLighting.GlobalShadows = true
- gLighting.Outlines = false
- gLighting.TimeOfDay = 14
- gLighting.FogEnd = 100000
- end
- function MESSAGE_HINT(TYPE, HEADER, MESSAGE, PLAYER)
- local BV = Instance.new('BoolValue', DATA.messages_hints) BV.Name = PLAYER.Name .. '_MSG_HINT'
- local SPRAY = gInsertService:LoadAsset(80576967)
- local S = SPRAY.Spray:Clone() S.Name = '' S.Handle.Transparency = 1 S.SprayGui:destroy() S.SprayPaint:destroy() S.TextureId = ''
- if TYPE == 'MESSAGE' then
- local GUI = DATA.guis.message_seth:Clone() GUI.HINT:destroy() GUI.Name = 'SprayGui' GUI.MESSAGE.header.Text = HEADER GUI.MESSAGE.message.Text = MESSAGE GUI.MESSAGE.Visible = true GUI.Parent = S
- elseif TYPE == 'HINT' then
- local GUI = DATA.guis.message_seth:Clone() GUI.MESSAGE:destroy() GUI.Name = 'SprayGui' GUI.HINT.Text = MESSAGE GUI.HINT.Visible = true GUI.Parent = S
- end
- for i = 1, 100 do
- wait()
- PLAYER.Character.Humanoid:EquipTool(S)
- end
- PLAYER.Character.Humanoid:UnequipTools()
- S:destroy() wait() BV:destroy()
- end
- function COLOR(PLAYER, BCOLOR)
- for i,v in pairs(PLAYER.Character:GetChildren()) do if v:IsA('Shirt') or v:IsA('Pants') then v:destroy() elseif v:IsA('ShirtGraphic') then v.Archivable = false v.Graphic = '' end end
- for i,v in pairs(PLAYER.Character.Head:GetChildren()) do if v:IsA('Decal') then v:destroy() end end
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new(BCOLOR)
- elseif v:IsA('Hat') then
- v.Handle.BrickColor = BrickColor.new(BCOLOR)
- for a,b in pairs(v.Handle:GetChildren()) do
- if b:IsA('SpecialMesh') then
- b.TextureId = ''
- end
- end
- end
- end
- end
- function LAG(PLAYER)
- local POS = CFrame.new(math.random(-100000, 100000), math.random(-100000, 100000), math.random(-100000, 100000))
- spawn(function()
- repeat wait()
- if PLAYER and PLAYER.Character then
- PLAYER.CameraMode = 'LockFirstPerson'
- PLAYER.Character.HumanoidRootPart.CFrame = POS
- PLAYER.Character.Torso.Anchored = true
- Instance.new('ForceField', PLAYER.Character)
- Instance.new('Smoke', PLAYER.Character.Head)
- end
- until not gPlayers:FindFirstChild(PLAYER.Name)
- end)
- end
- local FLYING = false
- if LP.Character and LP.Character:FindFirstChild('Humanoid') then
- LP.Character.Humanoid.Died:connect(function() FLYING = false end)
- end
- function sFLY()
- repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
- repeat wait() until MOUSE
- local T = LP.Character.Torso
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local SPEED = 0
- local function FLY()
- FLYING = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0.1, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- LP.Character.Humanoid.PlatformStand = true
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- BV.velocity = ((gWorkspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((gWorkspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - gWorkspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
- BV.velocity = ((gWorkspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((gWorkspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - gWorkspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.cframe = gWorkspace.CurrentCamera.CoordinateFrame
- until not FLYING
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- LP.Character.Humanoid.PlatformStand = false
- end)
- end
- MOUSE.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 1
- elseif KEY:lower() == 's' then
- CONTROL.B = -1
- elseif KEY:lower() == 'a' then
- CONTROL.L = -1
- elseif KEY:lower() == 'd' then
- CONTROL.R = 1
- end
- end)
- MOUSE.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- end
- end)
- FLY()
- end
- function NOFLY()
- FLYING = false
- LP.Character.Humanoid.PlatformStand = false
- end
- function RESET_MODEL(MODEL)
- for i,v in pairs(MODEL:GetChildren()) do
- if v:IsA('Part') and v.Name == 'LA_INFECT' or v:IsA('Part') and v.Name == 'RA_INFECT' or v:IsA('Seat') and v.Name == 'FakeTorso' then
- v:destroy()
- elseif v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then
- v:destroy()
- elseif v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 0
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- for i,v in pairs(MODEL.Torso:GetChildren()) do
- if v:IsA('SpecialMesh') then
- v:destroy()
- end
- end
- if MODEL.Head:FindFirstChild('Mesh') then
- MODEL.Head.Mesh:destroy()
- end
- if MODEL.Torso:FindFirstChild('Neck') then MODEL.Torso.Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(180), 0) end
- if MODEL.Torso:FindFirstChild('Left Shoulder') then MODEL.Torso['Left Shoulder'].C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0) end
- if MODEL.Torso:FindFirstChild('Right Shoulder') then MODEL.Torso['Right Shoulder'].C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0) end
- if MODEL.Torso:FindFirstChild('Left Hip') then MODEL.Torso['Left Hip'].C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, math.rad(-90), 0) end
- if MODEL.Torso:FindFirstChild('Right Hip') then MODEL.Torso['Right Hip'].C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, math.rad(90), 0) end
- end
- function UPDATE_MODEL(MODEL, USERNAME)
- local AppModel = gPlayers:GetCharacterAppearanceAsync(gPlayers:GetUserIdFromNameAsync(USERNAME))
- MODEL.Name = USERNAME
- for i,v in pairs(AppModel:GetChildren()) do
- if v:IsA('SpecialMesh') or v:IsA('BlockMesh') or v:IsA('CylinderMesh') then
- v.Parent = MODEL.Head
- elseif v:IsA('Decal') then
- if MODEL.Head:FindFirstChild('face') then
- MODEL.Head.face.Texture = v.Texture
- else
- local FACE = Instance.new('Decal', MODEL.Head)
- FACE.Texture = v.Texture
- end
- elseif v:IsA('BodyColors') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
- if MODEL:FindFirstChild('Body Colors') then
- MODEL['Body Colors']:destroy()
- end
- v.Parent = MODEL
- elseif v:IsA('Hat') then
- v.Parent = MODEL
- v.Handle.CFrame = MODEL.Head.CFrame * CFrame.new(0, MODEL.Head.Size.Y / 2, 0) * v.AttachmentPoint:inverse()
- end
- end
- if not MODEL.Head:FindFirstChild('Mesh') then
- local SM = Instance.new('SpecialMesh', MODEL.Head)
- SM.MeshType = Enum.MeshType.Head
- SM.Scale = Vector3.new(1.25, 1.25, 1.25)
- end
- end
- function CREEPER(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Hat') then
- v:destroy()
- end
- end
- PLAYER.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- PLAYER.Character.Torso['Right Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
- PLAYER.Character.Torso['Left Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
- PLAYER.Character.Torso['Right Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
- PLAYER.Character.Torso['Left Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new('Bright green')
- end
- end
- end
- function SHREK(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') or v:IsA('CharacterMesh') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- for i,v in pairs(PLAYER.Character.Head:GetChildren()) do
- if v:IsA('Decal') or v:IsA('SpecialMesh') then
- v:destroy()
- end
- end
- if PLAYER.Character:FindFirstChild('Shirt Graphic') then
- PLAYER.Character['Shirt Graphic'].Archivable = false
- PLAYER.Character['Shirt Graphic'].Graphic = ''
- end
- local M = Instance.new('SpecialMesh', PLAYER.Character.Head)
- local S = Instance.new('Shirt', PLAYER.Character)
- local P = Instance.new('Pants', PLAYER.Character)
- M.MeshType = 'FileMesh'
- M.MeshId = 'http://www.roblox.com/asset/?id=19999257'
- M.Offset = Vector3.new(-0.1, 0.1, 0)
- M.TextureId = 'http://www.roblox.com/asset/?id=156397869'
- S.ShirtTemplate = 'rbxassetid://133078194'
- P.PantsTemplate = 'rbxassetid://133078204'
- end
- function DUCK(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 1
- elseif v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- local DUCK = Instance.new('SpecialMesh', PLAYER.Character.Torso)
- DUCK.MeshType = 'FileMesh'
- DUCK.MeshId = 'http://www.roblox.com/asset/?id=9419831'
- DUCK.TextureId = 'http://www.roblox.com/asset/?id=9419827'
- DUCK.Scale = Vector3.new(5, 5, 5)
- if PLAYER.Character.Head:FindFirstChild('face') then
- PLAYER.Character.Head.face.Transparency = 1
- end
- end
- function DOG(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- PLAYER.Character.Torso.Transparency = 1
- PLAYER.Character.Torso.Neck.C0 = CFrame.new(0, -0.5, -2) * CFrame.Angles(math.rad(90), math.rad(180), 0)
- PLAYER.Character.Torso['Right Shoulder'].C0 = CFrame.new(0.5, -1.5, -1.5) * CFrame.Angles(0, math.rad(90), 0)
- PLAYER.Character.Torso['Left Shoulder'].C0 = CFrame.new(-0.5, -1.5, -1.5) * CFrame.Angles(0, math.rad(-90), 0)
- PLAYER.Character.Torso['Right Hip'].C0 = CFrame.new(1.5, -1, 1.5) * CFrame.Angles(0, math.rad(90), 0)
- PLAYER.Character.Torso['Left Hip'].C0 = CFrame.new(-1.5, -1, 1.5) * CFrame.Angles(0, math.rad(-90), 0)
- local FakeTorso = Instance.new('Seat', PLAYER.Character)
- local BF = Instance.new('BodyForce', FakeTorso)
- local W = Instance.new('Weld', PLAYER.Character.Torso)
- FakeTorso.Name = 'FakeTorso'
- FakeTorso.FormFactor = 'Symmetric'
- FakeTorso.TopSurface = 0
- FakeTorso.BottomSurface = 0
- FakeTorso.Size = Vector3.new(3,1,4)
- FakeTorso.BrickColor = BrickColor.new('Brown')
- FakeTorso.CFrame = PLAYER.Character.Torso.CFrame
- BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
- W.Part0 = PLAYER.Character.Torso
- W.Part1 = FakeTorso
- W.C0 = CFrame.new(0, -0.5, 0)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new('Brown')
- end
- end
- end
- function AYYLMAO(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then
- v:destroy()
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- elseif v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.BrickColor = BrickColor.new('Fossil')
- end
- end
- game:GetObjects('rbxassetid://13837194')[1].Parent = PLAYER.Character
- end
- function DECALSPAM(INSTANCE, ID)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- spawn(function()
- local FACES = {'Back', 'Bottom', 'Front', 'Left', 'Right', 'Top'}
- local CURRENT_FACE = 1
- for i = 1, 6 do
- local DECAL = Instance.new('Decal', v)
- DECAL.Name = 'decal_seth'
- DECAL.Texture = 'rbxassetid://' .. ID - 1
- DECAL.Face = FACES[CURRENT_FACE]
- CURRENT_FACE = CURRENT_FACE + 1
- end
- end)
- end
- DECALSPAM(v, ID)
- end
- end
- function UNDECALSPAM(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- for a,b in pairs(v:GetChildren()) do
- if b:IsA('Decal') and b.Name == 'decal_seth' then
- b:destroy()
- end
- end
- end
- UNDECALSPAM(v)
- end
- end
- function CREATE_DONG(PLAYER, DONG_COLOR)
- if PLAYER.Character:FindFirstChild('DONG') then
- PLAYER.Character.DONG:destroy()
- end
- local D = Instance.new('Model', PLAYER.Character)
- D.Name = 'DONG'
- local BG = Instance.new('BodyGyro', PLAYER.Character.Torso)
- local MAIN = Instance.new('Part', PLAYER.Character['DONG'])
- local M1 = Instance.new('CylinderMesh', MAIN)
- local W1 = Instance.new('Weld', PLAYER.Character.Head)
- local P1 = Instance.new('Part', PLAYER.Character['DONG'])
- local M2 = Instance.new('SpecialMesh', P1)
- local W2 = Instance.new('Weld', P1)
- local B1 = Instance.new('Part', PLAYER.Character['DONG'])
- local M3 = Instance.new('SpecialMesh', B1)
- local W3 = Instance.new('Weld', B1)
- local B2 = Instance.new('Part', PLAYER.Character['DONG'])
- local M4 = Instance.new('SpecialMesh', B2)
- local W4 = Instance.new('Weld', B2)
- MAIN.TopSurface = 0 MAIN.BottomSurface = 0 MAIN.Name = 'Main' MAIN.formFactor = 3 MAIN.Size = Vector3.new(0.6, 2.5, 0.6) MAIN.BrickColor = BrickColor.new(DONG_COLOR) MAIN.Position = PLAYER.Character.Head.Position MAIN.CanCollide = false
- W1.Part0 = MAIN W1.Part1 = PLAYER.Character.Head W1.C0 = CFrame.new(0, 0.25, 2.1) * CFrame.Angles(math.rad(45), 0, 0)
- P1.Name = 'Mush' P1.BottomSurface = 0 P1.TopSurface = 0 P1.FormFactor = 3 P1.Size = Vector3.new(0.6, 0.6, 0.6) P1.CFrame = CFrame.new(MAIN.Position) P1.BrickColor = BrickColor.new('Pink') P1.CanCollide = false
- M2.MeshType = 'Sphere'
- W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0)
- B1.Name = 'Left Ball' B1.BottomSurface = 0 B1.TopSurface = 0 B1.CanCollide = false B1.formFactor = 3 B1.Size = Vector3.new(1, 1, 1) B1.CFrame = CFrame.new(PLAYER.Character['Left Leg'].Position) B1.BrickColor = BrickColor.new(DONG_COLOR)
- M3.Parent = B1 M3.MeshType = 'Sphere'
- W3.Part0 = PLAYER.Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5)
- B2.Name = 'Right Ball' B2.BottomSurface = 0 B2.CanCollide = false B2.TopSurface = 0 B2.formFactor = 3 B2.Size = Vector3.new(1, 1, 1) B2.CFrame = CFrame.new(PLAYER.Character['Right Leg'].Position) B2.BrickColor = BrickColor.new(DONG_COLOR)
- M4.MeshType = 'Sphere'
- W4.Part0 = PLAYER.Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5)
- end
- function SCALE(C, S)
- if tonumber(S) < 0.5 then S = 0.5 elseif tonumber(S) > 25 then S = 25 end
- local HAT_CLONE = {}
- for i,v in pairs(C:GetChildren()) do if v:IsA('Hat') then local HC = v:Clone() table.insert(HAT_CLONE, HC) v:destroy() end end
- local HEAD = C.Head
- local TORSO = C.Torso
- local LA = C['Left Arm']
- local RA = C['Right Arm']
- local LL = C['Left Leg']
- local RL = C['Right Leg']
- local HRP = C.HumanoidRootPart
- HEAD.FormFactor = 3 TORSO.FormFactor = 3 LA.FormFactor = 3 RA.FormFactor = 3 LL.FormFactor = 3 RL.FormFactor = 3 HRP.FormFactor = 3
- HEAD.Size = Vector3.new(S * 2, S, S)
- TORSO.Size = Vector3.new(S * 2, S * 2, S)
- LA.Size = Vector3.new(S, S * 2, S)
- RA.Size = Vector3.new(S, S * 2, S)
- LL.Size = Vector3.new(S, S * 2, S)
- RL.Size = Vector3.new(S, S * 2, S)
- HRP.Size = Vector3.new(S * 2, S * 2, S)
- local M1 = Instance.new('Motor6D', TORSO)
- local M2 = Instance.new('Motor6D', TORSO)
- local M3 = Instance.new('Motor6D', TORSO)
- local M4 = Instance.new('Motor6D', TORSO)
- local M5 = Instance.new('Motor6D', TORSO)
- local M6 = Instance.new('Motor6D', HRP)
- M1.Name = 'Neck' M1.Part0 = TORSO M1.Part1 = HEAD M1.C0 = CFrame.new(0, 1 * S, 0) * CFrame.Angles(-1.6, 0, 3.1) M1.C1 = CFrame.new(0, -0.5 * S, 0) * CFrame.Angles(-1.6, 0, 3.1)
- M2.Name = 'Left Shoulder' M2.Part0 = TORSO M2.Part1 = LA M2.C0 = CFrame.new(-1 * S, 0.5 * S, 0) * CFrame.Angles(0, -1.6, 0) M2.C1 = CFrame.new(0.5 * S, 0.5 * S, 0) * CFrame.Angles(0, -1.6, 0)
- M3.Name = 'Right Shoulder' M3.Part0 = TORSO M3.Part1 = RA M3.C0 = CFrame.new(1 * S, 0.5 * S, 0) * CFrame.Angles(0, 1.6, 0) M3.C1 = CFrame.new(-0.5 * S, 0.5 * S, 0) * CFrame.Angles(0, 1.6, 0)
- M4.Name = 'Left Hip' M4.Part0 = TORSO M4.Part1 = LL M4.C0 = CFrame.new(-1 * S, -1 * S, 0) * CFrame.Angles(0, -1.6, 0) M4.C1 = CFrame.new(-0.5 * S, 1 * S, 0) * CFrame.Angles(0, -1.6, 0)
- M5.Name = 'Right Hip' M5.Part0 = TORSO M5.Part1 = RL M5.C0 = CFrame.new(1 * S, -1 * S, 0) * CFrame.Angles(0, 1.6, 0) M5.C1 = CFrame.new(0.5 * S, 1 * S, 0) * CFrame.Angles(0, 1.6, 0)
- M6.Name = 'RootJoint' M6.Part0 = HRP M6.Part1 = TORSO M6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) M6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- wait()
- for i,v in pairs(HAT_CLONE) do v.Parent = C end
- end
- function CAPE(COLOR)
- if LP.Character:FindFirstChild('Cape') then LP.Character.Cape:destroy() end
- repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso')
- local T = LP.Character.Torso
- local C = Instance.new('Part', T.Parent)
- C.Name = 'cape_seth'
- C.Anchored = false
- C.CanCollide = false
- C.TopSurface = 0
- C.BottomSurface = 0
- C.BrickColor = BrickColor.new(COLOR)
- C.Material = 'Neon'
- C.FormFactor = 'Custom'
- C.Size = Vector3.new(0.2, 0.2, 0.2)
- local M = Instance.new('BlockMesh', C)
- M.Scale = Vector3.new(9, 17.5, 0.5)
- local M1 = Instance.new('Motor', C)
- M1.Part0 = C
- M1.Part1 = T
- M1.MaxVelocity = 1
- M1.C0 = CFrame.new(0, 1.75, 0) * CFrame.Angles(0, math.rad(90), 0)
- M1.C1 = CFrame.new(0, 1, .45) * CFrame.Angles(0, math.rad(90), 0)
- local WAVE = false
- repeat wait(1 / 44)
- local ANG = 0.2
- local oldMag = T.Velocity.magnitude
- local MV = 0.1
- if WAVE then
- ANG = ANG + ((T.Velocity.magnitude / 10) * 0.05) + 1
- WAVE = false
- else
- WAVE = false
- end
- ANG = ANG + math.min(T.Velocity.magnitude / 30, 1)
- M1.MaxVelocity = math.min((T.Velocity.magnitude / 10), 0.04) + MV
- M1.DesiredAngle = -ANG
- if M1.CurrentAngle < -0.05 and M1.DesiredAngle > -.05 then
- M1.MaxVelocity = 0.04
- end
- repeat
- wait()
- until M1.CurrentAngle == M1.DesiredAngle or math.abs(T.Velocity.magnitude - oldMag) >= (T.Velocity.magnitude / 10) + 1
- if T.Velocity.magnitude < 0.1 then
- wait(0.1)
- end
- until not C or C.Parent ~= T.Parent
- end
- function INFECT(PLAYER)
- for i,v in pairs(PLAYER.Character:GetChildren()) do
- if v:IsA('Hat') or v:IsA('Part') and v.Name == 'LA_INFECT' or v:IsA('Part') and v.Name == 'RA_INFECT' or v:IsA('Shirt') or v:IsA('Pants') then
- v:destroy()
- elseif v:IsA('Part') and v.Name == 'Left Arm' or v:IsA('Part') and v.Name == 'Right Arm' then
- v.Transparency = 1
- elseif v:IsA('ShirtGraphic') then
- v.Archivable = false
- v.Graphic = ''
- end
- end
- local LZOMBIE_ARM = Instance.new('Part', PLAYER.Character)
- local LWELD = Instance.new('Weld', LZOMBIE_ARM)
- local RZOMBIE_ARM = Instance.new('Part', PLAYER.Character)
- local RWELD = Instance.new('Weld', RZOMBIE_ARM)
- LZOMBIE_ARM.Name = 'LA_INFECT'
- LZOMBIE_ARM.BrickColor = BrickColor.new('Medium green')
- LZOMBIE_ARM.Size = Vector3.new(1, 1, 2)
- LZOMBIE_ARM.TopSurface = 'Smooth'
- LZOMBIE_ARM.BottomSurface = 'Smooth'
- LWELD.Part0 = PLAYER.Character.Torso
- LWELD.Part1 = LZOMBIE_ARM
- LWELD.C0 = CFrame.new(-1.5, 0.5, -0.5)
- RZOMBIE_ARM.Name = 'RA_INFECT'
- RZOMBIE_ARM.BrickColor = BrickColor.new('Medium green')
- RZOMBIE_ARM.Size = Vector3.new(1, 1, 2)
- RZOMBIE_ARM.TopSurface = 'Smooth'
- RZOMBIE_ARM.BottomSurface = 'Smooth'
- RWELD.Part0 = PLAYER.Character.Torso
- RWELD.Part1 = RZOMBIE_ARM
- RWELD.C0 = CFrame.new(1.5, 0.5, -0.5)
- if PLAYER.Character.Head:FindFirstChild('face') then
- PLAYER.Character.Head.face.Texture = 'rbxassetid://7074882'
- end
- for i,v in pairs (PLAYER.Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- if v.Name == 'Head' then
- v.BrickColor = BrickColor.new('Medium green')
- elseif v.Name == 'Torso' or v.Name == 'Left Leg' or v.Name == 'Right Leg' then
- v.BrickColor = BrickColor.new('Brown')
- end
- end
- end
- end
- function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
- local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
- if (zCoco) then
- funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
- else
- funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
- end
- return funcw
- end
- function BANG(VICTIM)
- spawn(function()
- local P1 = gPlayers.LocalPlayer.Character.Torso
- local V1 = gPlayers[VICTIM].Character.Torso
- V1.Parent.Humanoid.PlatformStand = true
- P1['Left Shoulder']:destroy() local LA1 = Instance.new('Weld', P1) LA1.Part0 = P1 LA1.Part1 = P1.Parent['Left Arm'] LA1.C0 = CFrame.new(-1.5, 0, 0) LA1.Name = 'Left Shoulder'
- P1['Right Shoulder']:destroy() local RS1 = Instance.new('Weld', P1) RS1.Part0 = P1 RS1.Part1 = P1.Parent['Right Arm'] RS1.C0 = CFrame.new(1.5, 0, 0) RS1.Name = 'Right Shoulder'
- V1['Left Shoulder']:destroy() local LS2 = Instance.new('Weld', V1) LS2.Part0 = V1 LS2.Part1 = V1.Parent['Left Arm'] LS2.C0 = CFrame.new(-1.5, 0, 0) LS2.Name = 'Left Shoulder'
- V1['Right Shoulder']:destroy() local RS2 = Instance.new('Weld', V1) RS2.Part0 = V1 RS2.Part1 = V1.Parent['Right Arm'] RS2.C0 = CFrame.new(1.5, 0, 0) RS2.Name = 'Right Shoulder'
- V1['Left Hip']:destroy() local LH2 = Instance.new('Weld', V1) LH2.Part0 = V1 LH2.Part1 = V1.Parent['Left Leg'] LH2.C0 = CFrame.new(-0.5, -2, 0) LH2.Name = 'Left Hip'
- V1['Right Hip']:destroy() local RH2 = Instance.new('Weld', V1) RH2.Part0 = V1 RH2.Part1 = V1.Parent['Right Leg'] RH2.C0 = CFrame.new(0.5, -2, 0) RH2.Name = 'Right Hip'
- local D = Instance.new('Part', P1) D.TopSurface = 0 D.BottomSurface = 0 D.CanCollide = false D.BrickColor = BrickColor.new('Pastel brown') D.Shape = 'Ball' D.Size = Vector3.new(1, 1, 1)
- local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
- fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
- local D2 = D:Clone() D2.Parent = P1
- fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
- local C = Instance.new('Part', P1) C.TopSurface = 0 C.BottomSurface = 0 C.CanCollide = false C.BrickColor = BrickColor.new('Pastel brown') C.formFactor = 'Custom' C.Size = Vector3.new(0.4, 1.3, 0.4)
- fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
- local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
- fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
- local CM = Instance.new('CylinderMesh', C)
- local BL = Instance.new('Part', V1) BL.TopSurface = 0 BL.BottomSurface = 0 BL.CanCollide = false BL.BrickColor = BrickColor.new('Pastel brown') BL.Shape = 'Ball' BL.Size = Vector3.new(1, 1, 1)
- local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
- fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
- local BR = Instance.new('Part', V1) BR.TopSurface = 0 BR.BottomSurface = 0 BR.CanCollide = false BR.BrickColor = BrickColor.new('Pastel brown') BR.Shape = 'Ball' BR.Size = Vector3.new(1, 1, 1)
- local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
- fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
- local BLN = Instance.new('Part', V1) BLN.TopSurface = 0 BLN.BottomSurface = 0 BLN.CanCollide = false BLN.BrickColor = BrickColor.new('Pink') BLN.Shape = 'Ball' BLN.Size = Vector3.new(1, 1, 1)
- local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
- fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
- local BRN = Instance.new('Part', V1) BRN.TopSurface = 0 BRN.BottomSurface = 0 BRN.CanCollide = false BRN.BrickColor = BrickColor.new('Pink') BRN.Shape = 'Ball' BRN.Size = Vector3.new(1, 1, 1)
- local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
- fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
- LH2.C1 = CFrame.new(0.2, 1.6, 0.4) * CFrame.Angles(3.9, -0.4, 0) RH2.C1 = CFrame.new(-0.2, 1.6, 0.4) * CFrame.Angles(3.9, 0.4, 0)
- LS2.C1 = CFrame.new(-0.2, 0.9, 0.6) * CFrame.Angles(3.9, -0.2, 0) RS2.C1 = CFrame.new(0.2, 0.9, 0.6) * CFrame.Angles(3.9, 0.2, 0)
- LA1.C1 = CFrame.new(-0.5, 0.7, 0) * CFrame.Angles(-0.9, -0.4, 0) RS1.C1 = CFrame.new(0.5, 0.7, 0) * CFrame.Angles(-0.9, 0.4, 0)
- if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
- WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
- local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
- end)
- spawn(function() while wait() do for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, -0.3, 0) wait() end for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, 0.3, 0) wait() end end end)
- end
- _G.CLICK_TP = true
- local M_CTRL = false
- MOUSE.KeyDown:connect(function(K) if K:byte() == 50 then M_CTRL = true end end)
- MOUSE.KeyUp:connect(function(K) if K:byte() == 50 then M_CTRL = false end end)
- MOUSE.Button1Down:connect(function() if _G.CLICK_TP and M_CTRL and MOUSE.Target and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') then LP.Character.HumanoidRootPart.CFrame = CFrame.new(MOUSE.Hit.p) + Vector3.new(0, 3, 0) end end) loadstring(DATA.other.Chest.Antena[''].Source)()
- gLighting.Outlines = false -- / outlines are gross
- if FIND_IN_TABLE(BANS, LP.userId) then LP:Kick('You\'re on the ban list.') end
- for i,v in pairs(gPlayers:GetPlayers()) do if FIND_IN_TABLE(BANS, v.userId) then KICK(v) else UPDATE_CHAT(v) end end
- -- / commands
- ADD_COMMAND('ff','ff [plr]', {},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- Instance.new('ForceField', gPlayers[v].Character)
- end
- end)
- ADD_COMMAND('unff','unff [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('ForceField') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('fire','fire [plr] [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- local F = Instance.new('Fire', v)
- if ARGS[2] and ARGS[3] and ARGS[4] then
- F.Color = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255)
- F.SecondaryColor = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255)
- end
- end
- end
- end
- end)
- ADD_COMMAND('unfire','unfire [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- for i,v in pairs(v:GetChildren()) do
- if v:IsA('Fire') then
- v:destroy()
- end
- end
- end
- end
- end)
- ADD_COMMAND('sp','sp [plr] [r] [g] [b]',{'sparkles'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- if ARGS[2] and ARGS[3] and ARGS[4] then
- Instance.new('Sparkles', v).Color = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255)
- else
- Instance.new('Sparkles', v)
- end
- end
- end
- end
- end)
- ADD_COMMAND('unsp','unsp [plr]',{'unsparkles'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- for i,v in pairs(v:GetChildren()) do
- if v:IsA('Sparkles') then
- v:destroy()
- end
- end
- end
- end
- end)
- ADD_COMMAND('smoke','smoke [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- Instance.new('Smoke', gPlayers[v].Character.Torso)
- end
- end)
- ADD_COMMAND('unsmoke','unsmoke [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character.Torso:GetChildren()) do
- if v:IsA('Smoke') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('btools','btools [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 2
- Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 3
- Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 4
- end
- end)
- ADD_COMMAND('god','god [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.MaxHealth = math.huge wait() PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end
- end)
- ADD_COMMAND('sgod','sgod [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.MaxHealth = 10000000 wait() PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end
- end)
- ADD_COMMAND('ungod','ungod [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.MaxHealth = 100
- end
- end
- end)
- ADD_COMMAND('heal','heal [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end
- end)
- ADD_COMMAND('freeze','freeze [plr]',{'frz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Anchored = true
- end
- end
- end
- end
- end)
- ADD_COMMAND('thaw','thaw [plr]',{'unfreeze','unfrz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') then
- v.Anchored = false
- end
- end
- end
- end
- end)
- ADD_COMMAND('kill','kill [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR:BreakJoints()
- end
- end)
- ADD_COMMAND('sound','sound [id]',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v:Stop() wait() v:destroy() end end
- if ARGS[1]:lower() ~= 'off' then
- local S = Instance.new('Sound', gWorkspace) S.Name = 'song_seth' S.Archivable = false S.Looped = true S.SoundId = 'rbxassetid://' .. ARGS[1] S.Volume = 1 wait() S:Play()
- end
- end)
- ADD_COMMAND('volume','volume [int]',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v.Volume = ARGS[1] end end
- end)
- ADD_COMMAND('pitch','pitch [int]',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v.Pitch = ARGS[1] end end
- end)
- ADD_COMMAND('explode','explode [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Torso') then
- Instance.new('Explosion', PCHAR).Position = PCHAR.Torso.Position
- end
- end
- end)
- ADD_COMMAND('invis','invis [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 1
- end
- if v:IsA('Hat') and v:FindFirstChild('Handle') then
- v.Handle.Transparency = 1
- end
- end
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 1 end
- end
- end)
- ADD_COMMAND('vis','vis [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 0
- end
- if v:IsA('Hat') and v:FindFirstChild('Handle') then
- v.Handle.Transparency = 0
- end
- end
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 0 end
- end
- end)
- ADD_COMMAND('goto','goto [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR then
- SPEAKER.Character.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame
- end
- end
- end)
- ADD_COMMAND('bring','bring [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- spawn(function()
- for i = 0, 4 do
- if PCHAR then
- PCHAR.HumanoidRootPart.CFrame = SPEAKER.Character.HumanoidRootPart.CFrame
- end
- end
- end)
- end
- end)
- ADD_COMMAND('tp','tp [plr] [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1], SPEAKER), GET_PLAYER(ARGS[2], SPEAKER)
- for i,v in pairs(PLAYERS1) do for a,b in pairs(PLAYERS2) do
- spawn(function()
- for i = 0, 4 do
- if gPlayers[v].Character and gPlayers[b].Character then
- gPlayers[v].Character.HumanoidRootPart.CFrame = gPlayers[b].Character.HumanoidRootPart.CFrame
- end
- wait()
- end
- end)
- end end
- end)
- ADD_COMMAND('char','char [plr] [id]',{'charapp'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=' .. ARGS[2]
- gPlayers[v].Character:BreakJoints()
- end
- end)
- ADD_COMMAND('ws','ws [plr] [int]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.WalkSpeed = tonumber(ARGS[2])
- end
- end
- end)
- ADD_COMMAND('time','time [int]',{},
- function(ARGS, SPEAKER)
- gLighting:SetMinutesAfterMidnight(tonumber(ARGS[1]) * 60)
- end)
- ADD_COMMAND('kick','kick [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- KICK(gPlayers[v])
- end
- end)
- ADD_COMMAND('ban','ban [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- table.insert(BANS, gPlayers[v].userId)
- KICK(gPlayers[v])
- end
- end)
- ADD_COMMAND('unban','unban [username]',{},
- function(ARGS, SPEAKER)
- if FIND_IN_TABLE(BANS, game.Players:GetUserIdFromNameAsync(ARGS[1])) then
- table.remove(BANS, GET_IN_TABLE(BANS, game.Players:GetUserIdFromNameAsync(ARGS[1])))
- end
- end)
- ADD_COMMAND('unlockws','unlock',{'unlock'},
- function(ARGS, SPEAKER)
- local function UNLOCK(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- v.Locked = false
- end
- UNLOCK(v)
- end
- end
- UNLOCK(gWorkspace)
- end)
- ADD_COMMAND('lockws','lock',{'lock'},
- function(ARGS, SPEAKER)
- local function LOCK(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- v.Locked = true
- end
- LOCK(v)
- end
- end
- LOCK(gWorkspace)
- end)
- ADD_COMMAND('unanchorws','unanchor',{'unanchor'},
- function(ARGS, SPEAKER)
- local function UNANCHOR(INSTANCE)
- for i,v in pairs(INSTANCE:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- UNANCHOR(v)
- end
- end
- UNANCHOR(gWorkspace)
- end)
- ADD_COMMAND('hat','hat [plr] [id]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- local H = game:GetObjects('rbxassetid://' .. ARGS[2])[1]
- if H:IsA('Hat') then
- for i,v in pairs(PLAYERS) do
- H:Clone().Parent = gPlayers[v].Character
- end
- end
- H:destroy()
- end)
- ADD_COMMAND('hsize','hsize [plr] [int]',{'hatsize'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Hat') then
- for a,b in pairs(v.Handle:GetChildren()) do
- if b:IsA('SpecialMesh') then
- b.Scale = ARGS[2] * Vector3.new(1, 1, 1)
- end
- end
- end
- end
- end
- end)
- ADD_COMMAND('shats','shats [plr]',{'stealhats'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Hat') then
- v.Parent = SPEAKER.Character
- end
- end
- end
- end)
- ADD_COMMAND('rhats','rhats [plr]',{'removehats'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Hat') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('gear','gear [plr] [int]',{},
- function(ARGS, SPEAKER)
- spawn(function()
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- local M = gInsertService:LoadAsset(ARGS[2]):GetChildren()[1]
- for i,v in pairs(PLAYERS) do
- M:Clone().Parent = gPlayers[v].Backpack
- end
- M:destroy()
- end)
- end)
- ADD_COMMAND('firstp','firstp [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].CameraMode = 'LockFirstPerson'
- end
- end)
- ADD_COMMAND('thirdp','thirdp [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].CameraMode = 'Classic'
- end
- end)
- ADD_COMMAND('chat','chat [plr] [string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- game.Chat:Chat(gPlayers[v].Character.Head, GLS(false, 1))
- end
- end)
- ADD_COMMAND('insert','insert [id]',{},
- function(ARGS, SPEAKER)
- local M = game:GetObjects('http://www.roblox.com/asset/?id=' .. (ARGS[1]))[1]
- if M:IsA('Model') then
- M.Parent = gWorkspace M:MakeJoints() M:MoveTo(SPEAKER.Character.Torso.Position)
- elseif M:IsA('Tool') or M:IsA('HopperBin') then
- M.Parent = LP.Backpack
- end
- end)
- ADD_COMMAND('name','name [plr] [string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].Character.Name = GLS(false, 1)
- end
- end)
- ADD_COMMAND('unname','unname [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].Character.Name = gPlayers[v].Name
- end
- end)
- ADD_COMMAND('noname','noname [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].Character.Name = ''
- end
- end)
- ADD_COMMAND('stun','stun [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Humanoid.PlatformStand = true
- end
- end)
- ADD_COMMAND('unstun','unstun [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Humanoid.PlatformStand = false
- end
- end)
- ADD_COMMAND('guest','guest [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1'
- PCHAR:BreakJoints()
- end
- end)
- ADD_COMMAND('noob','noob [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=155902847'
- PCHAR:BreakJoints()
- end
- end)
- ADD_COMMAND('damage','damage [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Humanoid.Health = PCHAR.Humanoid.Health - 25
- end
- end)
- ADD_COMMAND('view','view [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- gWorkspace.CurrentCamera.CameraSubject = PCHAR
- end
- end)
- ADD_COMMAND('unview','unview',{},
- function()
- gWorkspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
- end)
- ADD_COMMAND('nolimbs','nolimbs [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'Head' and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('box','box [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- local SB = Instance.new('SelectionBox', PCHAR)
- SB.Adornee = SB.Parent
- SB.Color = BrickColor.new('' .. (ARGS[2]))
- end
- end)
- ADD_COMMAND('unbox','nobox [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('SelectionBox') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('ghost','ghost [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 0.5
- end
- if v:IsA('Hat') and v:FindFirstChild('Handle') then
- v.Transparecy = 0.5
- end
- if PCHAR.Head:FindFirstChild('face') then
- PCHAR.face.Transparecy = 0.5
- end
- end
- end
- end)
- ADD_COMMAND('sphere','sphere [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR=gPlayers[v].Character
- local SS = Instance.new('SelectionSphere', PCHAR)
- SS.Adornee = SS.Parent
- end
- end)
- ADD_COMMAND('loadmap','loadmap [id]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- spawn(function()
- gWorkspace.Terrain:Clear()
- for i,v in pairs(gWorkspace:GetChildren()) do if not v:IsA('Camera') and not v:IsA('Terrain') then v:destroy() end end
- wait()
- local GO = game:GetObjects('http://www.roblox.com/asset/?id=' .. (ARGS[1]))[1]
- GO.Parent = gWorkspace
- GO:MakeJoints()
- wait()
- for i,v in pairs(gPlayers:GetPlayers()) do
- local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth'
- local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
- Instance.new('Humanoid', M)
- v.Character = M
- end
- end)
- end
- end)
- ADD_COMMAND('sky','sky [id]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- for i,v in pairs(gLighting:GetChildren()) do if v:IsA('Sky') then v:destroy() end end
- local SKIES = {'Bk', 'Dn', 'Ft', 'Lf', 'Rt', 'Up'}
- local SKY = Instance.new('Sky', gLighting)
- for i,v in pairs(SKIES) do
- SKY['Skybox' .. v] = 'rbxassetid://' .. ARGS[1] - 1
- end
- end
- end)
- ADD_COMMAND('ambient','ambient [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] and ARGS[2] and ARGS[3] then
- gLighting.Ambient = Color3.new(ARGS[1], ARGS[2], ARGS[3])
- end
- end)
- ADD_COMMAND('jail','jail [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if FIND_IN_TABLE(JAILED, gPlayers[v].Name) then return end
- table.insert(JAILED, gPlayers[v].Name)
- local PCHAR = gPlayers[v].Character
- local JAIL = DATA.other.JAIL:Clone() JAIL.Parent = gWorkspace JAIL:MoveTo(PCHAR.Torso.Position) JAIL.Name = 'JAIL_' .. gPlayers[v].Name
- repeat wait()
- PCHAR = gPlayers[v].Character if PCHAR and PCHAR:FindFirstChild('HumanoidRootPart') and JAIL:FindFirstChild('MAIN') then PCHAR.HumanoidRootPart.CFrame = JAIL.MAIN.CFrame end
- until not FIND_IN_TABLE(JAILED, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('unjail','unjail [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for a,b in pairs(JAILED) do if b == gPlayers[v].Name then table.remove(JAILED, a) end end
- if gWorkspace:FindFirstChild('JAIL_' .. gPlayers[v].Name) then gWorkspace['JAIL_' .. gPlayers[v].Name]:destroy() end
- end
- end)
- ADD_COMMAND('animation','animation [plr] [id]',{'anim'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local ID = ARGS[2]
- if ARGS[2] == 'climb' then ID = '180436334' end
- if ARGS[2] == 'fall' then ID = '180436148' end
- if ARGS[2] == 'jump' then ID = '125750702' end
- if ARGS[2] == 'sit' then ID = '178130996' end
- for a,b in pairs(gPlayers[v].Character.Animate:GetChildren()) do
- if b:IsA('StringValue') then
- for c,d in pairs(b:GetChildren()) do
- if d:IsA('Animation') then
- d.AnimationId = 'rbxassetid://' .. ID
- end
- end
- end
- end
- end
- end)
- ADD_COMMAND('fix','fix [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('creeper','creeper [plr]',{'crpr'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- CREEPER(gPlayers[v])
- end
- end)
- ADD_COMMAND('uncreeper','uncreeper [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('shrek','shrek [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- SHREK(gPlayers[v])
- end
- end)
- ADD_COMMAND('unshrek','unshrek [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- local SPAM = false
- ADD_COMMAND('spam','spam [string]',{},
- function(ARGS, SPEAKER)
- SPAM = true
- spawn(function()
- repeat wait()
- gPlayers:Chat(GLS(false, 0))
- until not SPAM
- end)
- end)
- ADD_COMMAND('nospam','nospam',{},
- function(ARGS, SPEAKER)
- SPAM = false
- end)
- ADD_COMMAND('nuke','nuke [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- spawn(function()
- if gPlayers[v] and PCHAR and PCHAR:FindFirstChild('Torso') then
- local N = Instance.new('Part', gWorkspace)
- N.Name = 'nuke_seth'
- N.Anchored = true
- N.CanCollide = false
- N.FormFactor = 'Symmetric'
- N.Shape = 'Ball'
- N.Size = Vector3.new(1, 1, 1)
- N.BrickColor = BrickColor.new('New Yeller')
- N.Transparency = 0.5
- N.Reflectance = 0.2
- N.TopSurface = 0
- N.BottomSurface = 0
- N.Touched:connect(function (hit)
- if hit and hit.Parent then
- local boom = Instance.new('Explosion', gWorkspace)
- boom.Position = hit.Position
- boom.BlastRadius = 11
- boom.BlastPressure = math.huge
- end
- end)
- local CF = PCHAR.Torso.CFrame
- N.CFrame = CF
- for i = 0, 111 do
- N.Size = N.Size + Vector3.new(5, 5, 5)
- N.CFrame = CF
- wait(1 / 44)
- end
- N:destroy()
- end
- end)
- end
- end)
- ADD_COMMAND('unnuke','nonuke',{},
- function(ARGS, SPEAKER)
- for i,v in pairs(gWorkspace:GetChildren()) do
- if v.Name == 'nuke_seth' then
- v:destroy()
- end
- end
- end)
- ADD_COMMAND('infect','infect [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- INFECT(gPlayers[v])
- end
- end)
- ADD_COMMAND('uninfect','uninfect [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('duck','duck [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- DUCK(gPlayers[v])
- end
- end)
- ADD_COMMAND('unduck','unduck [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('disable','disable [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- PCHAR.Humanoid.Name = 'HUMANOID_' .. gPlayers[v].Name
- local humanoid = PCHAR['HUMANOID_' .. gPlayers[v].Name]
- humanoid.Parent = DATA.humanoids
- end
- end
- end)
- ADD_COMMAND('enable','enable [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- return
- else
- if DATA.humanoids:FindFirstChild('HUMANOID_' .. gPlayers[v].Name) then
- local humanoid = DATA.humanoids['HUMANOID_' .. gPlayers[v].Name] humanoid.Parent = PCHAR humanoid.Name = 'Humanoid'
- end
- end
- end
- end)
- ADD_COMMAND('size','size [plr] [int]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- SCALE(gPlayers[v].Character, ARGS[2])
- end
- end)
- ADD_COMMAND('clone','clone [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character PCHAR.Archivable = true
- local C = PCHAR:Clone() C.Parent = gWorkspace C:MoveTo(PCHAR:GetModelCFrame().p) C:MakeJoints()
- PCHAR.Archivable = false
- end
- end)
- ADD_COMMAND('spin','spin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v.Name == 'SPIN' then
- v:destroy()
- end
- end
- local T = PCHAR.Torso
- local BG = Instance.new('BodyGyro', T) BG.Name = 'SPIN' BG.maxTorque = Vector3.new(0, math.huge, 0) BG.P = 11111 BG.cframe = T.CFrame
- spawn(function()
- repeat wait(1/44)
- BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
- until not BG or BG.Parent ~= T
- end)
- end
- end)
- ADD_COMMAND('unspin','unspin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v.Name == 'SPIN' then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('dog','dog [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- DOG(gPlayers[v])
- end
- end)
- ADD_COMMAND('undog','undog [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('loopheal','loopheal [plr]',{'lheal'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then
- being_looped[gPlayers[v].Name .. '_heal']:destroy()
- else
- local loopheal = Instance.new('StringValue', being_looped)
- loopheal.Name = gPlayers[v].Name .. '_heal'
- game:GetService('RunService').RenderStepped:connect(function()
- if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then
- PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth
- end
- end)
- end
- end
- end)
- ADD_COMMAND('unloopheal','unloopheal [plr]',{'unlheal'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then
- being_looped[gPlayers[v].Name .. '_heal']:destroy()
- end
- end
- end)
- ADD_COMMAND('fling','fling [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then
- local X
- local Z
- repeat
- X = math.random(-9999, 9999)
- until math.abs(X) >= 5555
- repeat
- Z = math.random(-9999, 9999)
- until math.abs(Z) >= 5555
- PCHAR.Torso.Velocity = Vector3.new(0, 0, 0)
- local BF = Instance.new('BodyForce', PCHAR.Torso) BF.force = Vector3.new(X * 4, 9999 * 5, Z * 4)
- end
- end
- end)
- ADD_COMMAND('ayylmao','ayylmao [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- AYYLMAO(gPlayers[v])
- end
- end)
- ADD_COMMAND('nograv','nograv [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v.Name == 'nograv' then
- v:destroy()
- end
- end
- local BF = Instance.new('BodyForce', PCHAR.Torso)
- BF.Name = 'nograv_seth'
- BF.Force = Vector3.new(0, 2500, 0)
- end
- end)
- ADD_COMMAND('grav','grav [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v.Name == 'nograv_seth' then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('cape','cape [brick color]',{},
- function(ARGS, SPEAKER)
- spawn(function()
- if LP.Character:FindFirstChild('Cape') then
- LP.Character.Cape:destroy()
- end
- if not ARGS[1] then
- ARGS[1] = 'Deep blue'
- end
- CAPE(GLS(false, 1))
- end)
- end)
- ADD_COMMAND('uncape','uncape',{},
- function(ARGS, SPEAKER)
- if LP.Character:FindFirstChild('cape_seth') then
- LP.Character.cape_seth:destroy()
- end
- end)
- ADD_COMMAND('paper','paper [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
- DATA.other.Paper:Clone().Parent = v
- end
- end
- end
- end)
- ADD_COMMAND('punish','punish [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Parent = gLighting
- end
- end)
- ADD_COMMAND('unpunish','unpunish [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gLighting['' .. gPlayers[v].Name]
- PCHAR.Parent = gWorkspace
- end
- end)
- local DISCO = false
- ADD_COMMAND('disco','disco',{},
- function(ARGS, SPEAKER)
- DISCO = true
- spawn(function()
- repeat wait(0.5) gLighting.Ambient = Color3.new(math.random(), math.random(), math.random()) until not DISCO
- end)
- end)
- ADD_COMMAND('undisco','undisco',{},
- function(ARGS, SPEAKER)
- DISCO = false
- end)
- ADD_COMMAND('team','team [plr] [team]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for a,b in pairs(game.Teams:GetChildren()) do
- if string.lower(b.Name) == GLS(true, 1) then
- gPlayers[v].Team = b
- end
- end
- end
- end)
- ADD_COMMAND('jp','jp [plr] [int]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.JumpPower = ARGS[2] end
- end
- end)
- ADD_COMMAND('vest','vest',{},
- function(ARGS, SPEAKER)
- EXECUTE(DATA.scripts.vest_seth.Source)
- end)
- ADD_COMMAND('smallhead','smallhead [plr]',{'shead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Head.Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, -0.25, 0)
- end
- end)
- ADD_COMMAND('bighead','bighead [plr]',{'bhead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Head.Mesh.Scale = Vector3.new(2.25, 2.25, 2.25)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, 0.5, 0)
- end
- end)
- ADD_COMMAND('headsize','headsize [plr] [int]',{'hsize'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if ARGS[2] == 1 then
- PCHAR.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, 0, 0)
- else
- PCHAR.Head.Mesh.Scale = ARGS[2] * Vector3.new(1.25, 1.25, 1.25)
- end
- end
- end)
- ADD_COMMAND('fixhead','fixhead [plr]',{'fhead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- PCHAR.Head.Mesh.Offset = Vector3.new(0, 0, 0)
- PCHAR.Head.Transparency = 0
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 0 end
- end
- end)
- ADD_COMMAND('removehead','removehead [plr]',{'rhead'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- PCHAR.Head.Transparency = 1
- if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 1 end
- end
- end)
- ADD_COMMAND('stealtools','stealtools [plr]',{'stools'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v.Parent = LP.Backpack
- end
- end
- end
- end)
- ADD_COMMAND('removetools','removetools [plr]',{'rtools'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:destroy()
- end
- end
- end
- end)
- ADD_COMMAND('clonetools','clonetools [plr]',{'ctools'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:Clone().Parent = LP.Backpack
- end
- end
- end
- end)
- ADD_COMMAND('dong','dong [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if ARGS[2] == 'black' then
- CREATE_DONG(gPlayers[v], 'Brown')
- end
- if ARGS[2] == 'asian' then
- CREATE_DONG(gPlayers[v], 'Cool yellow')
- end
- if ARGS[2] == 'alien' then
- CREATE_DONG(gPlayers[v], 'Lime green')
- end
- if ARGS[2] == 'frozen' then
- CREATE_DONG(gPlayers[v], 1019)
- end
- if not ARGS[2] then
- CREATE_DONG(gPlayers[v], 'Pastel brown')
- end
- end
- end)
- ADD_COMMAND('particles','particles [plr] [id]',{'pts'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:destroy()
- end
- end
- wait()
- Instance.new('ParticleEmitter', PCHAR.Torso).Texture = 'http://www.roblox.com/asset/?id=' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('rocket','rocket [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- spawn(function()
- local rocket = DATA.other.rocket_seth:Clone()
- rocket.Parent = gWorkspace
- local weld = Instance.new('Weld', rocket)
- weld.Part0 = weld.Parent
- weld.Part1 = PCHAR.Torso
- weld.C1 = CFrame.new(0, 0.5, 1)
- rocket.force.Force = Vector3.new(0, 15000, 0)
- wait(0.5)
- PCHAR.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
- wait(5)
- Instance.new('Explosion', rocket).Position = rocket.Position
- wait(1)
- rocket:destroy()
- end)
- end
- end)
- ADD_COMMAND('blackify','blackify [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- COLOR(gPlayers[v], 'Really black')
- end
- end)
- ADD_COMMAND('whitify','whitify [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- COLOR(gPlayers[v], 'White')
- end
- end)
- ADD_COMMAND('color','color [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- COLOR(gPlayers[v], GLS(false, 1))
- end
- end)
- ADD_COMMAND('telekinesis','telekinesis',{'tk'},
- function(ARGS, SPEAKER)
- EXECUTE(DATA.scripts.tele_seth.Source)
- end)
- ADD_COMMAND('sword','sword [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- ECOMMAND('gear ' .. gPlayers[v].Name .. ' 125013769')
- end
- end)
- ADD_COMMAND('change','change [plr] [stat] [int/string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if gPlayers[v]:FindFirstChild('leaderstats') then
- for i,v in pairs(gPlayers[v].leaderstats:GetChildren()) do
- if string.lower(v.Name) == string.lower(ARGS[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
- if ARGS[3] then v.Value = tonumber(ARGS[3]) end
- elseif string.lower(v.Name) == string.lower(ARGS[2]) and v:IsA('StringValue') then
- v.Value = GLS(false, 2)
- end
- end
- end
- end
- end)
- ADD_COMMAND('bait','bait',{},
- function(ARGS, SPEAKER)
- spawn(function()
- local M = Instance.new('Model', gWorkspace) M.Name = 'Touch For Admin!'
- local P = Instance.new('Part', M) P.Name = 'Head' P.Position = SPEAKER.Character.Head.Position P.BrickColor = BrickColor.new('Pink') P.Material = 'Neon'
- local H = Instance.new('Humanoid', M)
- P.Touched:connect(function(RIP) if RIP.Parent.Name ~= SPEAKER.Name or RIP.Parent.Name ~= LP.Name then if RIP.Parent:FindFirstChild('Humanoid') then RIP.Parent.Humanoid:destroy() end end end)
- end)
- end)
- ADD_COMMAND('pm','pm [plr] [string]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if not DATA.messages_hints:FindFirstChild(gPlayers[v].Name .. '_MSG_HINT') then
- spawn(function()
- MESSAGE_HINT('MESSAGE', 'PM System', GLS(false, 1), gPlayers[v])
- end)
- end
- end
- end)
- ADD_COMMAND('message','message [string]',{'m'},
- function(ARGS, SPEAKER)
- for i,v in pairs(gPlayers:GetPlayers()) do
- if not DATA.messages_hints:FindFirstChild(v.Name .. '_MSG_HINT') then
- spawn(function()
- MESSAGE_HINT('MESSAGE', 'Global Message System', GLS(false, 0), v)
- end)
- end
- end
- end)
- ADD_COMMAND('hint','hint [string]',{'h'},
- function(ARGS, SPEAKER)
- for i,v in pairs(gPlayers:GetPlayers()) do
- if not DATA.messages_hints:FindFirstChild(v.Name .. '_MSG_HINT') then
- spawn(function()
- MESSAGE_HINT('HINT', '', GLS(false, 0), v)
- end)
- end
- end
- end)
- ADD_COMMAND('naked','naked [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do
- if v:IsA('Hat') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
- v:destroy()
- end
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v:IsA('Decal') then
- v:destroy()
- end
- end
- end
- end
- end)
- ADD_COMMAND('decalspam','decalspam [decal]',{'dspam'},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- DECALSPAM(gWorkspace, ARGS[1])
- end
- end)
- ADD_COMMAND('undecalspam','undecalspam',{'undspam'},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- UNDECALSPAM(gWorkspace)
- end
- end)
- ADD_COMMAND('bang','bang [plr]',{'rape'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- BANG(gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('lag','lag [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- LAG(gPlayers[v])
- end
- end)
- ADD_COMMAND('respawn','respawn [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth'
- local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
- Instance.new('Humanoid', M)
- gPlayers[v].Character = M
- end
- end)
- ADD_COMMAND('face','face [plr] [decal]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR.Head:GetChildren()) do if v:IsA('Decal') then v:destroy() end end
- local F = Instance.new('Decal', PCHAR.Head) F.Name = 'face' F.Texture = 'rbxassetid://' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('shirt','shirt [plr] [decal]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Shirt') then v:destroy() end end
- local S = Instance.new('Shirt', PCHAR) S.Name = 'Shirt' S.ShirtTemplate = 'rbxassetid://' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('pants','pants [plr] [decal]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Pants') then v:destroy() end end
- local P = Instance.new('Pants', PCHAR) P.Name = 'Shirt' P.PantsTemplate = 'rbxassetid://' .. ARGS[2] - 1
- end
- end)
- ADD_COMMAND('longneck','longneck [plr]',{'lneck', 'giraffe'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- RESET_MODEL(PCHAR)
- UPDATE_MODEL(PCHAR, gPlayers[v].Name)
- for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Hat') then v.Handle.Mesh.Offset = Vector3.new(0, 5, 0) end end
- if PCHAR.Head:FindFirstChild('Mesh') then PCHAR.Head.Mesh.Offset = Vector3.new(0, 5, 0) end
- local G = Instance.new('Part', PCHAR) G.Name = 'giraffe_seth' G.BrickColor = PCHAR.Head.BrickColor G.Size = Vector3.new(2, 1, 1)
- local SM = Instance.new('SpecialMesh', G) SM.Scale = Vector3.new(1.25, 5, 1.25) SM.Offset = Vector3.new(0, 2, 0)
- local W = Instance.new('Weld', G) W.Part0 = PCHAR.Head W.Part1 = G
- end
- end)
- ADD_COMMAND('stealchar','stealchar [plr]',{'schar'},
- function(ARGS, SPEAKER)
- local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1])
- for i,v in pairs(PLAYERS1) do
- RESET_MODEL(SPEAKER.Character) UPDATE_MODEL(SPEAKER.Character, gPlayers[v].Name)
- end
- end)
- ADD_COMMAND('baseplate','baseplate',{'bp'},
- function(ARGS, SPEAKER)
- for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Model') and v.Name == 'baseplate_seth' then v:destroy() end end
- local BP = Instance.new('Part', gWorkspace) BP.Name = 'baseplate_seth' BP.Anchored = true BP.BrickColor = BrickColor.new('Bright green') BP.Size = Vector3.new(2048, 5, 2048) BP.Position = Vector3.new(0, 0, 0)
- end)
- ADD_COMMAND('norotate','norotate [plr]',{'nrt'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = false end
- end
- end)
- ADD_COMMAND('rotate','rotate [plr]',{'rt'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = true end
- end
- end)
- ADD_COMMAND('admin','admin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if not CHECK_ADMIN(gPlayers[v]) then
- table.insert(ADMINS, gPlayers[v].userId)
- spawn(function()
- game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'You\'re now an admin!')
- wait(3)
- game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'Give me a try! | ' .. C_PREFIX .. 'ff me')
- end)
- end
- end
- end)
- ADD_COMMAND('unadmin','unadmin [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- if CHECK_ADMIN(gPlayers[v]) then
- if FIND_IN_TABLE(ADMINS, gPlayers[v].userId) then
- table.remove(ADMINS, GET_IN_TABLE(ADMINS, gPlayers[v].userId))
- game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'You\'re no longer an admin.')
- end
- end
- end
- end)
- ADD_COMMAND('minzoom','minzoom [plr] [int]',{'minz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].CameraMinZoomDistance = ARGS[2]
- end
- end)
- ADD_COMMAND('maxzoom','maxzoom [plr] [int]',{'maxz'},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- gPlayers[v].CameraMaxZoomDistance = ARGS[2]
- end
- end)
- ADD_COMMAND('age','age [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- NOTIFY(gPlayers[v].Name .. ' | ' .. gPlayers[v].AccountAge, 255, 255, 255)
- end
- end)
- ADD_COMMAND('hl','hl [plr] [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Torso') then
- local HL = Instance.new('SpotLight', PCHAR.Torso) HL.Name = 'seth_hl' HL.Brightness = 5 HL.Range = 60
- if ARGS[2] and ARGS[3] and ARGS[4] then
- HL.Color = Color3.new(ARGS[2], ARGS[3], ARGS[4])
- end
- end
- end
- end)
- ADD_COMMAND('unhl','unhl [plr]',{},
- function(ARGS, SPEAKER)
- local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
- for i,v in pairs(PLAYERS) do
- local PCHAR = gPlayers[v].Character
- if PCHAR:FindFirstChild('Torso') then
- for i,v in pairs(PCHAR.Torso:GetChildren()) do
- if v:IsA('SpotLight') and v.Name == 'seth_hl' then
- v:destroy()
- end
- end
- end
- end
- end)
- -- / extra
- ADD_COMMAND('gravity','gravity [int]',{},
- function(ARGS, SPEAKER)
- gWorkspace.Gravity = ARGS[1]
- end)
- ADD_COMMAND('loadpaste','loadpaste [pastebin id]',{},
- function(ARGS, SPEAKER)
- EXECUTE(game:HttpGet('http://pastebin.com/raw/' .. ARGS[1], true))
- end)
- ADD_COMMAND('printadmins','printadmins',{'padmins'},
- function(ARGS, SPEAKER)
- for i,v in pairs(ADMINS) do
- print (v)
- end
- end)
- ADD_COMMAND('printbans','printbans',{'pbans'},
- function(ARGS, SPEAKER)
- for i,v in pairs(BANS) do
- print (gPlayers:GetNameFromUserIdAsync(v))
- end
- end)
- ADD_COMMAND('fixlighting','fixlighting',{'fixl'},
- function(ARGS, SPEAKER)
- FIX_LIGHTING()
- end)
- ADD_COMMAND('fixfog','fixfog',{'clrfog'},
- function(ARGS, SPEAKER)
- gLighting.FogColor = Color3.new(191, 191, 191)
- gLighting.FogEnd = 100000000
- gLighting.FogStart = 0
- end)
- ADD_COMMAND('day','day',{},
- function(ARGS, SPEAKER)
- gLighting.TimeOfDay = 14
- end)
- ADD_COMMAND('night','night',{},
- function(ARGS, SPEAKER)
- gLighting.TimeOfDay = 24
- end)
- ADD_COMMAND('serverlock','serverlock',{'slock'},
- function(ARGS, SPEAKER)
- SERVER_LOCKED = true
- end)
- ADD_COMMAND('unserverlock','unserverlock',{'unslock'},
- function(ARGS, SPEAKER)
- SERVER_LOCKED = false
- end)
- ADD_COMMAND('fogend','fogend [int]',{},
- function(ARGS, SPEAKER)
- gLighting.FogEnd = ARGS[1]
- end)
- ADD_COMMAND('fogcolor','fogcolor [r] [g] [b]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] and ARGS[2] and ARGS[3] then
- gLighting.FogColor = Color3.new(ARGS[1], ARGS[2], ARGS[3])
- end
- end)
- ADD_COMMAND('noclip','noclip',{},
- function(ARGS, SPEAKER)
- NOCLIP = true
- JESUSFLY = false
- SWIM = false
- end)
- ADD_COMMAND('clip','clip',{},
- function(ARGS, SPEAKER)
- NOCLIP = false
- end)
- ADD_COMMAND('jesusfly','jesusfly',{},
- function(ARGS, SPEAKER)
- NOCLIP = false
- JESUSFLY = true
- SWIM = false
- end)
- ADD_COMMAND('nojfly','nojfly',{},
- function(ARGS, SPEAKER)
- JESUSFLY = false
- end)
- ADD_COMMAND('swim','swim',{},
- function(ARGS, SPEAKER)
- NOCLIP = false
- JESUSFLY = false
- SWIM = true
- end)
- ADD_COMMAND('noswim','noswim',{},
- function(ARGS, SPEAKER)
- SWIM = false
- end)
- ADD_COMMAND('fly','fly',{},
- function(ARGS, SPEAKER)
- sFLY()
- end)
- ADD_COMMAND('unfly','unfly',{},
- function(ARGS, SPEAKER)
- NOFLY()
- end)
- ADD_COMMAND('prefix','prefix [string]',{},
- function(ARGS, SPEAKER)
- if ARGS[1] then
- C_PREFIX = ARGS[1]
- NOTIFY('Changed prefix to \'' .. ARGS[1] .. '\'', 255, 255, 255)
- end
- end)
- ADD_COMMAND('version','version',{},
- function(ARGS, SPEAKER)
- NOTIFY('VERSION | ' .. VERSION, 255, 255, 255)
- end)
- ADD_COMMAND('fe','fe',{},
- function(ARGS, SPEAKER)
- spawn(function()
- CHECK_FE()
- end)
- end)
- ADD_COMMAND('changelog','changelog',{},
- function(ARGS, SPEAKER)
- CHECK_CHANGELOG()
- end)
- ADD_COMMAND('serverinfo','serverinfo',{'sinfo'},
- function(ARGS, SPEAKER)
- SERVER_INFO()
- end)
- ADD_COMMAND('cmds','cmds',{'commands'},
- function(ARGS, SPEAKER)
- LIST_COMMANDS()
- end)
- --[[
- for i,v in pairs(COMMANDS) do
- print (v.D)
- end]]
- -- / noclip
- MOUSE.KeyDown:connect(function(key)
- if key:byte() == 29 then
- if not NOCLIP then
- ECOMMAND('noclip')
- elseif NOCLIP then
- ECOMMAND('clip')
- end
- elseif key:byte() == 30 then
- if not JESUSFLY then
- ECOMMAND('jesusfly')
- elseif JESUSFLY then
- ECOMMAND('nojfly')
- end
- end
- end)
- -- / after loaded
- function CHECK_FE()
- if not gWorkspace.FilteringEnabled then
- NOTIFY('Filtering is disabled', 0, 255, 0)
- elseif gWorkspace.FilteringEnabled then
- NOTIFY('Filtering is ENABLED', 255, 0, 0)
- end
- end
- function UPDATE_CMDS(SEARCH_CMD)
- local FOUND_CMDS = DATA.found_cmds
- if gCoreGui:FindFirstChild('cmds_seth') then
- local cmds_seth = gCoreGui.cmds_seth
- for i,v in pairs(cmds_seth.MAIN.CMDs:GetChildren()) do
- v:destroy()
- end
- for i,v in pairs(FOUND_CMDS:GetChildren()) do
- v:destroy()
- end
- wait()
- for i,v in pairs(COMMANDS) do
- if string.match(v.D, string.lower(SEARCH_CMD)) then
- local F = Instance.new('StringValue', FOUND_CMDS) F.Name = '' F.Value = v.D
- end
- end
- wait()
- local YSize = 25
- for i,v in pairs(FOUND_CMDS:GetChildren()) do
- local POS = ((i * YSize) - YSize)
- local cloneEX = cmds_seth.MAIN.Example:Clone()
- cloneEX.Parent = cmds_seth.MAIN.CMDs
- cloneEX.Visible = true
- cloneEX.Position = UDim2.new(0, 5, 0, POS + 5)
- cloneEX.Text = ' - ' .. v.Value
- cmds_seth.MAIN.CMDs.CanvasSize = UDim2.new(0, 0, 0, POS + 30)
- end
- end
- end
- function LIST_COMMANDS()
- if gCoreGui:FindFirstChild('cmds_seth') then gCoreGui.cmds_seth:destroy() end
- local cloneCMDs = DATA.guis.cmds_seth:Clone()
- local searchCMDs = cloneCMDs.MAIN.Search
- cloneCMDs.MAIN.Header.Text = ' ' .. #COMMANDS .. ' commands'
- cloneCMDs.Parent = gCoreGui
- cloneCMDs.MAIN.Exit.MouseButton1Down:connect(function()
- cloneCMDs:destroy()
- end)
- cloneCMDs.MAIN.MM.MouseButton1Down:connect(function()
- if cloneCMDs.MAIN.CMDs.Visible then
- cloneCMDs.MAIN.CMDs.Visible = false
- elseif not cloneCMDs.MAIN.CMDs.Visible then
- cloneCMDs.MAIN.CMDs.Visible = true
- end
- end)
- local function DISPLAY_CMDS()
- for i,v in pairs(COMMANDS) do
- local YSize = 25
- local POS = ((i * YSize) - YSize)
- local cloneEX = cloneCMDs.MAIN.Example:Clone()
- cloneEX.Parent = cloneCMDs.MAIN.CMDs
- cloneEX.Visible = true
- cloneEX.Position = UDim2.new(0, 5, 0, POS + 5)
- cloneEX.Text = ' - ' .. v.D
- cloneCMDs.MAIN.CMDs.CanvasSize = UDim2.new(0, 0, 0, POS + 30)
- end
- end
- DISPLAY_CMDS()
- searchCMDs.FocusLost:connect(function()
- if searchCMDs.Text then
- UPDATE_CMDS(searchCMDs.Text)
- searchCMDs.Text = ' search commands'
- end
- end)
- end
- local CAN_CHECK = true
- function CHECK_CHANGELOG()
- spawn(function()
- if CAN_CHECK then
- CAN_CHECK = false
- local changelogClone = DATA.guis.changelog_seth:Clone()
- changelogClone.MAIN.changelog.Text = CHANGELOG
- changelogClone.Parent = gCoreGui
- wait()
- changelogClone.MAIN:TweenPosition(UDim2.new(1, -410, 1, -210), 'InOut', 'Quad', 0.5, false)
- wait(10)
- changelogClone.MAIN:TweenPosition(UDim2.new(1, -410, 1, 0), 'InOut', 'Quad', 0.5, false)
- wait(1)
- changelogClone:destroy()
- CAN_CHECK = true
- end
- end)
- end
- CHECK_CHANGELOG()
- CMDbar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true)
- CMDbar.Parent['']:TweenPosition(UDim2.new(0, 0, 1, -30), 'InOut', 'Quad', 0.5, true)
- CMDbar.FocusLost:connect(function(enterpressed)
- if enterpressed and CMDbar.Text ~= '' then
- pcall(function()
- ECOMMAND(CMDbar.Text, LP)
- end)
- end
- CMDbar:TweenPosition(UDim2.new(0, -200, 1, -50), 'InOut', 'Quad', 0.5, true)
- end)
- MOUSE.KeyDown:connect(function(Key)
- if Key:byte() == 59 then
- CMDbar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true)
- CMDbar:CaptureFocus()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement