SHOW:
|
|
- or go back to the newest paste.
| 1 | --Rocky2u admin - fixed by Autumn (thanks <3), updated for Raindrop by 3dsboy08 | |
| 2 | ||
| 3 | --[[ | |
| 4 | ____ _ ____ _ ____ __ __ ____ | |
| 5 | | _ \ ___ ___| | ___ _|___ \ _ _( )___ / ___| \/ | _ \ ___ | |
| 6 | | |_) / _ \ / __| |/ / | | | __) | | | |// __| | | | |\/| | | | / __| | |
| 7 | | _ < (_) | (__| <| |_| |/ __/| |_| | \__ \ | |___| | | | |_| \__ \ | |
| 8 | |_| \_\___/ \___|_|\_\\__, |_____|\__,_| |___/ \____|_| |_|____/|___/ | |
| 9 | |___/ | |
| 10 | --]] | |
| 11 | ||
| 12 | - | local ADMINS = {Misterycochis}
|
| 12 | + | local ADMINS = {jassm11}
|
| 13 | local BANS = {}
| |
| 14 | ||
| 15 | function _G.ADD_ADMIN(ID) table.insert(ADMINS, ID) end | |
| 16 | function _G.ADD_BAN(ID) table.insert(BANS, ID) end | |
| 17 | ||
| 18 | local VERSION = '1.8.0' | |
| 19 | local UPDATED = '3/15/2017' | |
| 20 | local CHANGELOG = {
| |
| 21 | ' * updated ;nolimbs', | |
| 22 | ' * updated ;rhats', | |
| 23 | ' - removed ;sword (LoadAsset)', | |
| 24 | ' * updated ;punish and ;unpunish', | |
| 25 | ' * updated ;loopheal', | |
| 26 | ' + added ;loopkill & ;unloopkill' | |
| 27 | } | |
| 28 | ||
| 29 | local CREDITS = [[ | |
| 30 | Rocky2u - lol | |
| 31 | veinyrox - ;crash and ;shutdown | |
| 32 | Harkinian - half of the message function | |
| 33 | Moon - cmd bar addon idea | |
| 34 | ]] | |
| 35 | ||
| 36 | local _CORE = game:GetService('CoreGui')
| |
| 37 | local _LIGHTING = game:GetService('Lighting')
| |
| 38 | local _NETWORK = game:GetService('NetworkClient')
| |
| 39 | local _PLAYERS = game:GetService('Players')
| |
| 40 | ||
| 41 | local LP = _PLAYERS.LocalPlayer | |
| 42 | local MOUSE = LP:GetMouse() | |
| 43 | ||
| 44 | local SERVER_LOCKED = false | |
| 45 | local SHOWING_MESSAGE = false | |
| 46 | ||
| 47 | local SERVICES = {}
| |
| 48 | SERVICES.EVENTS = {}
| |
| 49 | ||
| 50 | local COMMANDS = {}
| |
| 51 | local STD = {}
| |
| 52 | local JAILED = {}
| |
| 53 | local KICKS = {}
| |
| 54 | local LOOPED_H = {}
| |
| 55 | local LOOPED_K = {}
| |
| 56 | ||
| 57 | local C_PREFIX = ';' | |
| 58 | local SPLIT = ' ' | |
| 59 | ||
| 60 | local IP = '' | |
| 61 | local PORT = '' | |
| 62 | ||
| 63 | if _NETWORK:FindFirstChild('ClientReplicator') then
| |
| 64 | IP = _NETWORK.ClientReplicator.MachineAddress | |
| 65 | PORT = _NETWORK.ClientReplicator.Port | |
| 66 | end | |
| 67 | ||
| 68 | local NEW = loadstring(Raindrop:DownloadString("https://raw.githubusercontent.com/RobloxLabs/internal-code/master/library-scripts/RbxUtility-60595411.lua"))().Create
| |
| 69 | ||
| 70 | 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 | |
| 71 | function STD.TABLE(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 | |
| 72 | function STD.ENDAT(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 | |
| 73 | function CHECK_ADMIN(PLAYER) if FIND_IN_TABLE(ADMINS, PLAYER.userId) then return true elseif PLAYER.userId == LP.userId then return true end end | |
| 74 | 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 | |
| 75 | function GCOMMAND(M) local CMD, HS = STD.ENDAT(M:lower(), SPLIT) if HS then return {CMD, true} else return {CMD, false} end end
| |
| 76 | function GPREFIX(STRING) if STRING:sub(1, string.len(C_PREFIX)) == C_PREFIX then return {'COMMAND', string.len(C_PREFIX) + 1} end return end
| |
| 77 | 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
| |
| 78 | 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
| |
| 79 | 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
| |
| 80 | 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] == 'COMMAND' then ECOMMAND(STRING, SPEAKER) end end
| |
| 81 | ||
| 82 | 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 | |
| 83 | function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end | |
| 84 | function GET_MASS(A, B) B = 0 for i,v in pairs(A:GetChildren()) do if v:IsA('BasePart') then B = B + v:GetMass() end GET_MASS(v) end return B end
| |
| 85 | ||
| 86 | local STUFF = '[ Rocky2u\'s CMDs ] : ' | |
| 87 | local NOCLIP, JESUSFLY, SWIM = false, false, false | |
| 88 | ||
| 89 | _PLAYERS.PlayerAdded:connect(function(PLAYER) | |
| 90 | if SERVER_LOCKED then PLAYER.CharacterAdded:connect(function() table.insert(KICKS, PLAYER) return end) end | |
| 91 | if FIND_IN_TABLE(BANS, PLAYER.userId) then PLAYER.CharacterAdded:connect(function() table.insert(KICKS, PLAYER) return end) end | |
| 92 | UPDATE_CHAT(PLAYER) | |
| 93 | if CHECK_ADMIN(PLAYER) then PLAYER.CharacterAdded:connect(function() game.Chat:Chat(PLAYER.Character.Head, STUFF .. 'Welcome, you\'re an admin!') end) end | |
| 94 | end) | |
| 95 | ||
| 96 | game:GetService('RunService').Stepped:connect(function()
| |
| 97 | for i,v in pairs(_PLAYERS:GetPlayers()) do | |
| 98 | if FIND_IN_TABLE(KICKS, v) then KICK(v) end | |
| 99 | if FIND_IN_TABLE(LOOPED_H, v.Name) then | |
| 100 | v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth | |
| 101 | end | |
| 102 | if FIND_IN_TABLE(LOOPED_K, v.Name) then | |
| 103 | v.Character:BreakJoints() | |
| 104 | end | |
| 105 | end | |
| 106 | if NOCLIP then | |
| 107 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end
| |
| 108 | elseif JESUSFLY then | |
| 109 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(12) end
| |
| 110 | elseif SWIM then | |
| 111 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(4) end
| |
| 112 | end | |
| 113 | end) | |
| 114 | ||
| 115 | function ADD_COMMAND(N, D, A, F) table.insert(COMMANDS, {N = N, D = D, A = A, F = F}) end
| |
| 116 | ||
| 117 | function GET_PLAYER(NAME, SPEAKER) | |
| 118 | local NAME_TABLE = {}
| |
| 119 | NAME = NAME:lower() | |
| 120 | if NAME == 'me' then | |
| 121 | table.insert(NAME_TABLE, SPEAKER.Name) | |
| 122 | elseif NAME == 'others' then | |
| 123 | for i,v in pairs(_PLAYERS:GetPlayers()) do if v.Name ~= SPEAKER.Name then table.insert(NAME_TABLE, v.Name) end end | |
| 124 | elseif NAME == 'all' then | |
| 125 | for i,v in pairs(_PLAYERS:GetPlayers()) do table.insert(NAME_TABLE, v.Name) end | |
| 126 | elseif NAME == 'random' then | |
| 127 | table.insert(NAME_TABLE, _PLAYERS:GetPlayers()[math.random(1, #_PLAYERS:GetPlayers())].Name) | |
| 128 | elseif NAME == 'team' then | |
| 129 | for i,v in pairs(_PLAYERS:GetPlayers()) do if v.TeamColor == SPEAKER.TeamColor then table.insert(NAME_TABLE, v.Name) end end | |
| 130 | elseif NAME == 'nonadmins' then | |
| 131 | for i,v in pairs(_PLAYERS:GetPlayers()) do if not CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end | |
| 132 | elseif NAME == 'admins' then | |
| 133 | for i,v in pairs(_PLAYERS:GetPlayers()) do if CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end | |
| 134 | elseif NAME == 'nonfriends' then | |
| 135 | for i,v in pairs(_PLAYERS:GetPlayers()) do if not v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end | |
| 136 | elseif NAME == 'friends' then | |
| 137 | for i,v in pairs(_PLAYERS:GetPlayers()) do if v ~= SPEAKER and v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end | |
| 138 | elseif NAME == 'nonguests' then | |
| 139 | for i,v in pairs(_PLAYERS:GetPlayers()) do if not v.Guest then table.insert(NAME_TABLE, v.Name) end end | |
| 140 | elseif NAME == 'guests' then | |
| 141 | for i,v in pairs(_PLAYERS:GetPlayers()) do if v.Guest then table.insert(NAME_TABLE, v.Name) end end | |
| 142 | elseif NAME == 'nbcs' then | |
| 143 | for i,v in pairs(_PLAYERS:GetPlayers()) do if v.MembershipType == Enum.MembershipType.None then table.insert(NAME_TABLE, v.Name) end end | |
| 144 | elseif NAME == 'bcs' then | |
| 145 | for i,v in pairs(_PLAYERS:GetPlayers()) do if v.MembershipType == Enum.MembershipType.BuildersClub then table.insert(NAME_TABLE, v.Name) end end | |
| 146 | elseif NAME == 'tbcs' then | |
| 147 | for i,v in pairs(_PLAYERS:GetPlayers()) do if v.MembershipType == Enum.MembershipType.TurboBuildersClub then table.insert(NAME_TABLE, v.Name) end end | |
| 148 | elseif NAME == 'obcs' then | |
| 149 | for i,v in pairs(_PLAYERS:GetPlayers()) do if v.MembershipType == Enum.MembershipType.OutrageousBuildersClub then table.insert(NAME_TABLE, v.Name) end end | |
| 150 | else | |
| 151 | for i,v in pairs(_PLAYERS: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 | |
| 152 | end | |
| 153 | return NAME_TABLE | |
| 154 | end | |
| 155 | ||
| 156 | local SI = 'rbxasset://textures/blackBkg_square.png' | |
| 157 | ||
| 158 | function LOAD_DATA() | |
| 159 | local DATA = Instance.new('Folder')
| |
| 160 | ||
| 161 | GUIS = Instance.new('Folder', DATA)
| |
| 162 | HUMANOIDS = Instance.new('Folder', DATA)
| |
| 163 | OTHER = Instance.new('Folder', DATA)
| |
| 164 | ||
| 165 | MAIN_GUI = Instance.new('ScreenGui', GUIS)
| |
| 166 | MAIN_GUI.Name = 'seth_main' | |
| 167 | NEW'TextLabel'{Name = 'main', Active = true, BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0.5, -200, 0.4, 0), Size = UDim2.new(0, 400, 0, 25), Draggable = true, Font = 'SourceSansBold', Text = ' Control Center', TextColor3 = C3(255, 255, 255), TextSize = 20, TextXAlignment = 'Left', Parent = MAIN_GUI}
| |
| 168 | NEW'Frame'{Name = 'holder', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 0, 1, 0), Size = UDim2.new(1, 25, 12, 0), Parent = MAIN_GUI.main}
| |
| 169 | local BUTTONS = Instance.new('Folder', MAIN_GUI.main.holder) BUTTONS.Name = 'buttons'
| |
| 170 | NEW'TextButton'{Name = 'server', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 5), Size = UDim2.new(0, 100, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'server info', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
| |
| 171 | NEW'TextButton'{Name = 'admins', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 110, 0, 5), Size = UDim2.new(0, 100, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'admins', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
| |
| 172 | NEW'TextButton'{Name = 'bans', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 215, 0, 5), Size = UDim2.new(0, 100, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'bans', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
| |
| 173 | NEW'TextButton'{Name = 'cmds', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 320, 0, 5), Size = UDim2.new(0, 100, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'commands', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
| |
| 174 | NEW'TextButton'{Name = 'fun', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 50, 0, 40), Size = UDim2.new(0, 105, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'fun', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
| |
| 175 | NEW'TextButton'{Name = 'changelog', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 160, 0, 40), Size = UDim2.new(0, 105, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'changelog', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
| |
| 176 | NEW'TextButton'{Name = 'credits', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 270, 0, 40), Size = UDim2.new(0, 105, 0, 30), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'credits', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = BUTTONS}
| |
| 177 | ||
| 178 | local HOLDERS = Instance.new('Folder', MAIN_GUI.main.holder) HOLDERS.Name = 'holders'
| |
| 179 | NEW'Frame'{Name = 'server', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Parent = HOLDERS}
| |
| 180 | NEW'TextLabel'{Name = 'fe', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' FilteringEnabled | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
| |
| 181 | NEW'TextLabel'{Name = 'ip', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 30), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' IP Address | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
| |
| 182 | NEW'TextLabel'{Name = 'port', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 60), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' Port | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
| |
| 183 | NEW'TextLabel'{Name = 'place_id', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 90), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' Place ID | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
| |
| 184 | NEW'TextLabel'{Name = 'players', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 120), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' Players | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
| |
| 185 | NEW'TextLabel'{Name = 'time', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 150), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' Time | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
| |
| 186 | NEW'TextLabel'{Name = 'gravity', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 180), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = ' Gravity | ', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.server}
| |
| 187 | NEW'ScrollingFrame'{Name = 'admins', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 5, TopImage = SI, MidImage = SI, BottomImage = SI, Parent = HOLDERS}
| |
| 188 | NEW'ScrollingFrame'{Name = 'bans', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 5, TopImage = SI, MidImage = SI, BottomImage = SI, Parent = HOLDERS}
| |
| 189 | NEW'ScrollingFrame'{Name = 'cmds', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 115), Size = UDim2.new(1, -10, 0, 210), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 5, TopImage = SI, MidImage = SI, BottomImage = SI, Parent = HOLDERS}
| |
| 190 | NEW'ScrollingFrame'{Name = 'fun', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 5, TopImage = SI, MidImage = SI, BottomImage = SI, Parent = HOLDERS}
| |
| 191 | NEW'ScrollingFrame'{Name = 'changelog', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 5, TopImage = SI, MidImage = SI, BottomImage = SI, Parent = HOLDERS}
| |
| 192 | local Y_CHANGES = 0 | |
| 193 | for i,v in pairs(CHANGELOG) do | |
| 194 | NEW'TextLabel'{Name = '', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_CHANGES), Size = UDim2.new(1, 0, 0, 30), Font = 'SourceSansBold', Text = v, TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.changelog}
| |
| 195 | HOLDERS.changelog.CanvasSize = HOLDERS.changelog.CanvasSize + UDim2.new(0, 0, 0, 30) | |
| 196 | Y_CHANGES = Y_CHANGES + 30 | |
| 197 | end | |
| 198 | NEW'Frame'{Name = 'credits', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.8, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 85), Size = UDim2.new(1, -10, 0, 210), Visible = false, Parent = HOLDERS}
| |
| 199 | NEW'TextLabel'{Name = 'text', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 1, BorderSizePixel = 0, Size = UDim2.new(1, 0, 1, 0), Font = 'SourceSansBold', Text = CREDITS, TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', TextYAlignment = 'Top', Parent = HOLDERS.credits}
| |
| 200 | NEW'TextBox'{Name = 'search', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0.25, 0, 0, 85), Size = UDim2.new(0.5, 0, 0, 25), Visible = false, Font = 'SourceSansBold', Text = 'search commands', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = HOLDERS}
| |
| 201 | ||
| 202 | NEW'Frame'{Name = 'line', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, 5, 0, 75), Size = UDim2.new(1, -10, 0, 5), Parent = MAIN_GUI.main.holder}
| |
| 203 | NEW'TextButton'{Name = 'close', BackgroundColor3 = C3(255, 50, 50), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(1, 0, 0, 0), Size = UDim2.new(0, 25, 0, 25), Text = '', Parent = MAIN_GUI.main}
| |
| 204 | ||
| 205 | CMD_BAR_H = Instance.new('ScreenGui', GUIS)
| |
| 206 | CMD_BAR_H.Name = 'cmdbar_seth' | |
| 207 | NEW'TextBox'{Name = 'bar', BackgroundColor3 = C3(0, 0, 0), BackgroundTransparency = 0.5, BorderSizePixel = 0, Position = UDim2.new(0, -200, 1, -50), Size = UDim2.new(0, 225, 0, 25), Font = 'SourceSansItalic', Text = 'press ; to execute a command', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = CMD_BAR_H}
| |
| 208 | NEW'ScrollingFrame'{Name = 'commands', BackgroundColor3 = C3(50, 50, 50), BackgroundTransparency = 0.5, BorderSizePixel = 0, Position = UDim2.new(0, 0, 1, -25), Size = UDim2.new(1, 0, 0, 0), Visible = false, CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 6, ScrollingEnabled = true, BottomImage = SI, MidImage = SI, TopImage = SI, Parent = CMD_BAR_H.bar}
| |
| 209 | NEW'TextLabel'{Name = 'commands_ex', BackgroundTransparency = 1, BorderSizePixel = 0, Size = UDim2.new(0, 200, 0, 20), Visible = false, Font = 'SourceSansBold', TextColor3 = C3(255, 255, 255), TextSize = 18, TextXAlignment = 'Left', Parent = CMD_BAR_H.bar}
| |
| 210 | ||
| 211 | local NOTIFY_H = Instance.new('ScreenGui', GUIS)
| |
| 212 | NOTIFY_H.Name = 'notify_seth' | |
| 213 | local N = Instance.new('Frame', NOTIFY_H)
| |
| 214 | N.Name = 'notify' | |
| 215 | N.BackgroundColor3 = C3(0, 0, 0) | |
| 216 | N.BackgroundTransparency = 0.5 | |
| 217 | N.BorderSizePixel = 0 | |
| 218 | N.Position = UDim2.new(0, -225, 0.6, 0) | |
| 219 | N.Size = UDim2.new(0, 225, 0, 30) | |
| 220 | local BAR = Instance.new('Frame', N)
| |
| 221 | BAR.Name = '' | |
| 222 | BAR.BackgroundColor3 = C3(255, 255, 255) | |
| 223 | BAR.BackgroundTransparency = 0.5 | |
| 224 | BAR.BorderSizePixel = 0 | |
| 225 | BAR.Position = UDim2.new(0, 0, 1, 0) | |
| 226 | BAR.Size = UDim2.new(1, 0, 0, 5) | |
| 227 | local TEXT = Instance.new('TextLabel', N)
| |
| 228 | TEXT.Name = 'text' | |
| 229 | TEXT.BackgroundTransparency = 1 | |
| 230 | TEXT.BorderSizePixel = 0 | |
| 231 | TEXT.Size = UDim2.new(1, 0, 1, 0) | |
| 232 | TEXT.Font = 'SourceSansBold' | |
| 233 | TEXT.TextColor3 = C3(255, 255, 255) | |
| 234 | TEXT.TextSize = 18 | |
| 235 | TEXT.TextXAlignment = 'Left' | |
| 236 | ||
| 237 | PAPER_MESH = Instance.new('BlockMesh', OTHER)
| |
| 238 | PAPER_MESH.Scale = Vector3.new(1, 1, 0.1) | |
| 239 | ||
| 240 | JAIL = Instance.new('Model', OTHER)
| |
| 241 | JAIL.Name = 'JAIL' | |
| 242 | local B = Instance.new('Part', JAIL)
| |
| 243 | B.Name = 'BUTTOM' | |
| 244 | B.BrickColor = BrickColor.new('Black')
| |
| 245 | B.Transparency = 0.5 | |
| 246 | B.Anchored = true | |
| 247 | B.Locked = true | |
| 248 | B.Size = Vector3.new(6, 1, 6) | |
| 249 | B.TopSurface = 'Smooth' | |
| 250 | B.BottomSurface = 'Smooth' | |
| 251 | local M = Instance.new('Part', JAIL)
| |
| 252 | M.Name = 'MAIN' | |
| 253 | M.BrickColor = BrickColor.new('Black')
| |
| 254 | M.Transparency = 1 | |
| 255 | M.Anchored = true | |
| 256 | M.CanCollide = false | |
| 257 | M.Locked = true | |
| 258 | M.Position = B.Position + Vector3.new(0, 3, 0) | |
| 259 | M.Size = Vector3.new(1, 1, 1) | |
| 260 | local P1 = Instance.new('Part', JAIL)
| |
| 261 | P1.BrickColor = BrickColor.new('Black')
| |
| 262 | P1.Transparency = 1 | |
| 263 | P1.Position = B.Position + Vector3.new(0, 3.5, -2.5) | |
| 264 | P1.Rotation = Vector3.new(0, 90, 0) | |
| 265 | P1.Anchored = true | |
| 266 | P1.Locked = true | |
| 267 | P1.Size = Vector3.new(1, 6, 6) | |
| 268 | local P2 = Instance.new('Part', JAIL)
| |
| 269 | P2.BrickColor = BrickColor.new('Black')
| |
| 270 | P2.Transparency = 1 | |
| 271 | P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0) | |
| 272 | P2.Rotation = Vector3.new(-180, 0, -180) | |
| 273 | P2.Anchored = true | |
| 274 | P2.Locked = true | |
| 275 | P2.Size = Vector3.new(1, 6, 4) | |
| 276 | local P3 = Instance.new('Part', JAIL)
| |
| 277 | P3.BrickColor = BrickColor.new('Black')
| |
| 278 | P3.Transparency = 1 | |
| 279 | P3.Position = B.Position + Vector3.new(2.5, 3.5, 0) | |
| 280 | P3.Rotation = Vector3.new(0, 0, 0) | |
| 281 | P3.Anchored = true | |
| 282 | P3.Locked = true | |
| 283 | P3.Size = Vector3.new(1, 6, 4) | |
| 284 | local P4 = Instance.new('Part', JAIL)
| |
| 285 | P4.BrickColor = BrickColor.new('Black')
| |
| 286 | P4.Transparency = 1 | |
| 287 | P4.Position = B.Position + Vector3.new(0, 3.5, 2.5) | |
| 288 | P4.Rotation = Vector3.new(0, 90, 0) | |
| 289 | P4.Anchored = true | |
| 290 | P4.Locked = true | |
| 291 | P4.Size = Vector3.new(1, 6, 4) | |
| 292 | local TOP = Instance.new('Part', JAIL)
| |
| 293 | TOP.BrickColor = BrickColor.new('Black')
| |
| 294 | TOP.Transparency = 0.5 | |
| 295 | TOP.Position = B.Position + Vector3.new(0, 7, 0) | |
| 296 | TOP.Rotation = Vector3.new(0, 0, 0) | |
| 297 | TOP.Anchored = true | |
| 298 | TOP.Locked = true | |
| 299 | TOP.Size = Vector3.new(6, 1, 6) | |
| 300 | TOP.TopSurface = 'Smooth' | |
| 301 | TOP.BottomSurface = 'Smooth' | |
| 302 | ||
| 303 | ROCKET = Instance.new('Part', OTHER)
| |
| 304 | ROCKET.Name = 'rocket_seth' | |
| 305 | ROCKET.CanCollide = false | |
| 306 | ROCKET.Size = Vector3.new(2, 5, 2) | |
| 307 | Instance.new('CylinderMesh', ROCKET)
| |
| 308 | local F = Instance.new('Part', ROCKET)
| |
| 309 | F.BrickColor = BrickColor.new('Black')
| |
| 310 | F.CanCollide = false | |
| 311 | F.Size = Vector3.new(2, 0.2, 2) | |
| 312 | Instance.new('CylinderMesh', F)
| |
| 313 | local PE = Instance.new('ParticleEmitter', F)
| |
| 314 | PE.Color = ColorSequence.new(C3(236, 139, 70), C3(236, 139, 70)) | |
| 315 | PE.Size = NumberSequence.new(0.2) | |
| 316 | PE.Texture = 'rbxassetid://17238048' | |
| 317 | PE.LockedToPart = true | |
| 318 | PE.Lifetime = NumberRange.new(0.2) | |
| 319 | PE.Rate = 50 | |
| 320 | PE.Speed = NumberRange.new(-20) | |
| 321 | local TOP = Instance.new('Part', ROCKET)
| |
| 322 | TOP.CanCollide = false | |
| 323 | TOP.Shape = 'Ball' | |
| 324 | TOP.Size = Vector3.new(2, 2, 2) | |
| 325 | TOP.TopSurface = 'Smooth' | |
| 326 | TOP.BottomSurface = 'Smooth' | |
| 327 | local BF = Instance.new('BodyForce', ROCKET)
| |
| 328 | BF.Name = 'force' | |
| 329 | BF.Force = Vector3.new(0, 0, 0) | |
| 330 | local W1 = Instance.new('Weld', ROCKET)
| |
| 331 | W1.Part0 = ROCKET | |
| 332 | W1.Part1 = F | |
| 333 | W1.C1 = CFrame.new(0, 2.6, 0) | |
| 334 | local W2 = Instance.new('Weld', ROCKET)
| |
| 335 | W2.Part0 = ROCKET | |
| 336 | W2.Part1 = TOP | |
| 337 | W2.C1 = CFrame.new(0, -2.6, 0) | |
| 338 | ||
| 339 | ALIEN_H = Instance.new('Accessory', OTHER)
| |
| 340 | local H = Instance.new('Part', ALIEN_H)
| |
| 341 | H.Name = 'Handle' | |
| 342 | H.Size = Vector3.new(2, 2.4, 2) | |
| 343 | local HA = Instance.new('Attachment', H)
| |
| 344 | HA.Name = 'HatAttachment' | |
| 345 | HA.Position = Vector3.new(0, 0.15, 0) | |
| 346 | local SM = Instance.new('SpecialMesh', H)
| |
| 347 | SM.MeshId = 'rbxassetid://13827689' | |
| 348 | SM.MeshType = 'FileMesh' | |
| 349 | SM.Scale = Vector3.new(1, 1.02, 1) | |
| 350 | SM.TextureId = 'rbxassetid://13827796' | |
| 351 | ||
| 352 | local S = Instance.new('Model', OTHER) S.Name = 'swastika'
| |
| 353 | NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Anchored = true, CanCollide = false, Size = Vector3.new(2, 2, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
| |
| 354 | NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(0, 3, 0), Anchored = true, CanCollide = false, Size = Vector3.new(2, 4, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
| |
| 355 | NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(3, 0, 0), Anchored = true, CanCollide = false, Size = Vector3.new(4, 2, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
| |
| 356 | NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(0, -3, 0), Anchored = true, CanCollide = false, Size = Vector3.new(2, 4, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
| |
| 357 | NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(-3, 0, 0), Anchored = true, CanCollide = false, Size = Vector3.new(4, 2, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
| |
| 358 | NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(3, 4, 0), Anchored = true, CanCollide = false, Size = Vector3.new(4, 2, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
| |
| 359 | NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(4, -3, 0), Anchored = true, CanCollide = false, Size = Vector3.new(2, 4, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
| |
| 360 | NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(-3, -4, 0), Anchored = true, CanCollide = false, Size = Vector3.new(4, 2, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
| |
| 361 | NEW'Part'{BrickColor = BrickColor.new('Really red'), Material = 'Plastic', Position = Vector3.new(-4, 3, 0), Anchored = true, CanCollide = false, Size = Vector3.new(2, 4, 2), BottomSurface = 'Smooth', TopSurface = 'Smooth', Parent = S}
| |
| 362 | ||
| 363 | CMD_BAR_H.Parent = _CORE | |
| 364 | end | |
| 365 | ||
| 366 | local RS = game:GetService('RunService').RenderStepped
| |
| 367 | ||
| 368 | function OPEN_MAIN() | |
| 369 | SETH_MAIN = MAIN_GUI:Clone() | |
| 370 | ||
| 371 | local BUTTONS = SETH_MAIN.main.holder.buttons | |
| 372 | local HOLDERS = SETH_MAIN.main.holder.holders | |
| 373 | ||
| 374 | for i,v in pairs(SETH_MAIN.main.holder.buttons:GetChildren()) do | |
| 375 | v.MouseButton1Down:connect(function(X, Y) | |
| 376 | OPEN_TAB(v.Name) | |
| 377 | if not v:FindFirstChild('circle') then
| |
| 378 | local C = Instance.new('ImageLabel', v)
| |
| 379 | C.BackgroundTransparency = 1 | |
| 380 | C.Position = UDim2.new(0, X - 0, 0, Y - 35) - UDim2.new(0, v.AbsolutePosition.X, 0, v.AbsolutePosition.Y) | |
| 381 | C.Size = UDim2.new(0, 0, 0, 0) | |
| 382 | C.ZIndex = v.ZIndex | |
| 383 | C.Image = 'rbxassetid://200182847' | |
| 384 | C.ImageColor3 = C3(0, 100, 255) | |
| 385 | C.Name = 'circle' | |
| 386 | C:TweenSizeAndPosition(UDim2.new(0, 500, 0, 500), C.Position - UDim2.new(0, 250, 0, 250), 'Out', 'Quart', 2.5) | |
| 387 | for i = 0, 1, 0.03 do | |
| 388 | C.ImageTransparency = i | |
| 389 | RS:wait() | |
| 390 | end | |
| 391 | C:destroy() | |
| 392 | end | |
| 393 | end) | |
| 394 | end | |
| 395 | ||
| 396 | HOLDERS.server.place_id.Text = ' Place ID | ' .. game.PlaceId | |
| 397 | game:GetService('RunService').Stepped:connect(function()
| |
| 398 | if SETH_MAIN:FindFirstChild('main') and HOLDERS:FindFirstChild('server') then
| |
| 399 | if not workspace.FilteringEnabled then | |
| 400 | HOLDERS.server.fe.Text = ' FilteringEnabled | false' | |
| 401 | else | |
| 402 | HOLDERS.server.fe.Text = ' FilteringEnabled | true' | |
| 403 | end | |
| 404 | HOLDERS.server.ip.Text = ' IP Address | ' .. IP | |
| 405 | HOLDERS.server.port.Text = ' Port | ' .. PORT | |
| 406 | HOLDERS.server.players.Text = ' Players | ' .. _PLAYERS.NumPlayers .. '/' .. _PLAYERS.MaxPlayers | |
| 407 | HOLDERS.server.time.Text = ' Time | ' .. _LIGHTING.TimeOfDay | |
| 408 | HOLDERS.server.gravity.Text = ' Gravity | ' .. workspace.Gravity | |
| 409 | end | |
| 410 | end) | |
| 411 | ||
| 412 | function UPDATE_ADMINS() | |
| 413 | HOLDERS.admins:ClearAllChildren() | |
| 414 | HOLDERS.admins.CanvasSize = UDim2.new(0, 0, 0, 0) | |
| 415 | local Y_ADMINS = 5 | |
| 416 | for i,v in pairs(ADMINS) do | |
| 417 | NEW'TextLabel'{Name = v, BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_ADMINS), Size = UDim2.new(1, -30, 0, 25), Font = 'SourceSansBold', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.admins}
| |
| 418 | NEW'TextButton'{Name = 'update', BackgroundColor3 = C3(255, 50, 50), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(1, 0, 0, 0), Size = UDim2.new(0, 25, 0, 25), Text = '', Parent = HOLDERS.admins[v]}
| |
| 419 | HOLDERS.admins[v].update.MouseButton1Down:connect(function() | |
| 420 | table.remove(ADMINS, i) | |
| 421 | UPDATE_ADMINS() | |
| 422 | end) | |
| 423 | HOLDERS.admins.CanvasSize = HOLDERS.admins.CanvasSize + UDim2.new(0, 0, 0, 30) | |
| 424 | Y_ADMINS = Y_ADMINS + 30 | |
| 425 | end | |
| 426 | HOLDERS.admins.CanvasSize = HOLDERS.admins.CanvasSize + UDim2.new(0, 0, 0, 5) | |
| 427 | spawn(function() | |
| 428 | for i,v in pairs(HOLDERS.admins:GetChildren()) do | |
| 429 | v.Text = ' ' .. _PLAYERS:GetNameFromUserIdAsync(v.Name) | |
| 430 | end | |
| 431 | end) | |
| 432 | end | |
| 433 | UPDATE_ADMINS() | |
| 434 | ||
| 435 | function UPDATE_BANS() | |
| 436 | HOLDERS.bans:ClearAllChildren() | |
| 437 | HOLDERS.bans.CanvasSize = UDim2.new(0, 0, 0, 0) | |
| 438 | local Y_BANS = 5 | |
| 439 | for i,v in pairs(BANS) do | |
| 440 | NEW'TextLabel'{Name = v, BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_BANS), Size = UDim2.new(1, -30, 0, 25), Font = 'SourceSansBold', Text = '', TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.bans}
| |
| 441 | NEW'TextButton'{Name = 'update', BackgroundColor3 = C3(255, 50, 50), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(1, 0, 0, 0), Size = UDim2.new(0, 25, 0, 25), Text = '', Parent = HOLDERS.bans[v]}
| |
| 442 | HOLDERS.bans[v].update.MouseButton1Down:connect(function() | |
| 443 | table.remove(BANS, i) | |
| 444 | UPDATE_BANS() | |
| 445 | end) | |
| 446 | HOLDERS.bans.CanvasSize = HOLDERS.bans.CanvasSize + UDim2.new(0, 0, 0, 30) | |
| 447 | Y_BANS = Y_BANS + 30 | |
| 448 | end | |
| 449 | HOLDERS.bans.CanvasSize = HOLDERS.bans.CanvasSize + UDim2.new(0, 0, 0, 5) | |
| 450 | spawn(function() | |
| 451 | for i,v in pairs(HOLDERS.bans:GetChildren()) do | |
| 452 | v.Text = ' ' .. _PLAYERS:GetNameFromUserIdAsync(v.Name) | |
| 453 | end | |
| 454 | end) | |
| 455 | end | |
| 456 | UPDATE_BANS() | |
| 457 | ||
| 458 | local function DISPLAY_CMDS() | |
| 459 | local Y_COMMANDS = 0 | |
| 460 | for i,v in pairs(COMMANDS) do | |
| 461 | NEW'TextLabel'{Name = '', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_COMMANDS), Size = UDim2.new(1, 0, 0, 25), Font = 'SourceSansBold', Text = ' ' .. v.D, TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.cmds}
| |
| 462 | HOLDERS.cmds.CanvasSize = HOLDERS.cmds.CanvasSize + UDim2.new(0, 0, 0, 25) | |
| 463 | Y_COMMANDS = Y_COMMANDS + 25 | |
| 464 | end | |
| 465 | end | |
| 466 | DISPLAY_CMDS() | |
| 467 | ||
| 468 | HOLDERS.search.Changed:connect(function() | |
| 469 | if SETH_MAIN:FindFirstChild('main') and SETH_MAIN.main.holder.holders:FindFirstChild('search') then
| |
| 470 | if HOLDERS.search.Text ~= 'search commands' and HOLDERS.search.Focused then | |
| 471 | if HOLDERS.search.Text ~= '' then | |
| 472 | if not HOLDERS.search.Text:find(' ') then
| |
| 473 | HOLDERS.cmds:ClearAllChildren() | |
| 474 | HOLDERS.cmds.CanvasSize = UDim2.new(0, 0, 0, 0) | |
| 475 | local Y_COMMANDS = 0 | |
| 476 | for i,v in pairs(COMMANDS) do | |
| 477 | if v.N:find(HOLDERS.search.Text) then | |
| 478 | HOLDERS.cmds.CanvasSize = HOLDERS.cmds.CanvasSize + UDim2.new(0, 0, 0, 25) | |
| 479 | NEW'TextLabel'{Name = '', BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_COMMANDS), Size = UDim2.new(1, 0, 0, 25), Font = 'SourceSansBold', Text = ' ' .. v.D, TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.cmds}
| |
| 480 | HOLDERS.changelog.CanvasSize = HOLDERS.changelog.CanvasSize + UDim2.new(0, 0, 0, 25) | |
| 481 | Y_COMMANDS = Y_COMMANDS + 25 | |
| 482 | end | |
| 483 | end | |
| 484 | end | |
| 485 | else | |
| 486 | HOLDERS.cmds:ClearAllChildren() | |
| 487 | HOLDERS.cmds.CanvasSize = UDim2.new(0, 0, 0, 0) | |
| 488 | DISPLAY_CMDS() | |
| 489 | end | |
| 490 | end | |
| 491 | end | |
| 492 | end) | |
| 493 | ||
| 494 | local FUN = {'balefire', 'swastika', 'trowel', 'path giver', 'orbital strike'}
| |
| 495 | local Y_FUN = 5 | |
| 496 | for i,v in pairs(FUN) do | |
| 497 | NEW'TextLabel'{Name = v, BackgroundColor3 = C3(255, 255, 255), BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, Y_FUN), Size = UDim2.new(1, -50, 0, 25), Font = 'SourceSansBold', Text = ' ' .. v, TextColor3 = C3(0, 0, 0), TextSize = 24, TextTransparency = 0.25, TextXAlignment = 'Left', Parent = HOLDERS.fun}
| |
| 498 | HOLDERS.fun.CanvasSize = HOLDERS.fun.CanvasSize + UDim2.new(0, 0, 0, 30) | |
| 499 | Y_FUN = Y_FUN + 30 | |
| 500 | end | |
| 501 | HOLDERS.fun.CanvasSize = HOLDERS.fun.CanvasSize + UDim2.new(0, 0, 0, 5) | |
| 502 | for i,v in pairs(HOLDERS.fun:GetChildren()) do | |
| 503 | NEW'TextButton'{Name = 'load', BackgroundColor3 = C3(50, 50, 255), BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(1, 0, 0, 0), Size = UDim2.new(0, 45, 0, 25), ClipsDescendants = true, Font = 'SourceSansBold', Text = 'load', TextColor3 = C3(255, 255, 255), TextSize = 20, Parent = v}
| |
| 504 | v.load.MouseButton1Down:connect(function() | |
| 505 | if v.Name == 'balefire' then LOAD_BALEFIRE() | |
| 506 | elseif v.Name == 'swastika' then local S = OTHER.swastika:Clone() S.Parent = workspace S:MoveTo(LP.Character.Head.Position + Vector3.new(0, 10, 0)) | |
| 507 | elseif v.Name == 'trowel' then LOAD_TROWEL() | |
| 508 | elseif v.Name == 'path giver' then LOAD_PATH() | |
| 509 | elseif v.Name == 'orbital strike' then LOAD_STRIKE() | |
| 510 | end | |
| 511 | end) | |
| 512 | end | |
| 513 | ||
| 514 | SETH_MAIN.main.close.MouseButton1Down:connect(function() | |
| 515 | SETH_MAIN:destroy() | |
| 516 | end) | |
| 517 | ||
| 518 | SETH_MAIN.Parent = _CORE | |
| 519 | end | |
| 520 | ||
| 521 | LOAD_DATA() | |
| 522 | ||
| 523 | --/ TOOLS | |
| 524 | ||
| 525 | function LOAD_BALEFIRE() | |
| 526 | local HB = Instance.new('HopperBin', LP.Backpack)
| |
| 527 | HB.Name = 'balefire' | |
| 528 | ||
| 529 | local function BF(P) | |
| 530 | for i = 1, 50 do | |
| 531 | local E = Instance.new('Explosion', workspace)
| |
| 532 | E.BlastRadius = 3 | |
| 533 | E.BlastPressure = 999999 | |
| 534 | E.Position = LP.Character.Torso.CFrame.p + ((P - LP.Character.Torso.CFrame.p).unit * 6 * i) + ((P - LP.Character.Torso.CFrame.p).unit * 7) | |
| 535 | end | |
| 536 | end | |
| 537 | ||
| 538 | FIRED = false | |
| 539 | local function FIRE(M) | |
| 540 | if not FIRED then | |
| 541 | FIRED = true | |
| 542 | BF(M.Hit.p) | |
| 543 | wait(0.25) | |
| 544 | FIRED = false | |
| 545 | end | |
| 546 | end | |
| 547 | ||
| 548 | HB.Selected:connect(function(M) | |
| 549 | M.Button1Down:connect(function() | |
| 550 | FIRE(M) | |
| 551 | end) | |
| 552 | end) | |
| 553 | end | |
| 554 | ||
| 555 | function LOAD_TROWEL() | |
| 556 | local T = Instance.new('Tool', LP.Backpack) T.Name = 'trowel'
| |
| 557 | NEW'Part'{Name = 'Handle', Size = Vector3.new(1, 4.4, 1), Parent = T}
| |
| 558 | NEW'SpecialMesh'{MeshId = 'rbxasset://fonts/trowel.mesh', MeshType = 'FileMesh', TextureId = 'rbxasset://textures/TrowelTexture.png', Parent = T.Handle}
| |
| 559 | NEW'Sound'{Name = 'build', SoundId = 'rbxasset://sounds//bass.wav', Volume = 1, Parent = T.Handle}
| |
| 560 | ||
| 561 | local HEIGHT = 5 | |
| 562 | local SPEED = 0.05 | |
| 563 | local WIDTH = 15 | |
| 564 | ||
| 565 | function BRICK(CF, P, C) | |
| 566 | local B = Instance.new('Part')
| |
| 567 | B.BrickColor = C | |
| 568 | B.CFrame = CF * CFrame.new(P + B.Size / 2) | |
| 569 | B.Parent = game.Workspace | |
| 570 | B:MakeJoints() | |
| 571 | B.Material = 'Neon' | |
| 572 | return B, P + B.Size | |
| 573 | end | |
| 574 | ||
| 575 | function BW(CF) | |
| 576 | local BC = BrickColor.Random() | |
| 577 | local B = {}
| |
| 578 | assert(WIDTH > 0) | |
| 579 | local Y = 0 | |
| 580 | while Y < HEIGHT do | |
| 581 | local P | |
| 582 | local X = -WIDTH / 2 | |
| 583 | while X < WIDTH / 2 do | |
| 584 | local brick | |
| 585 | brick, P = BRICK(CF, Vector3.new(X, Y, 0), BC) | |
| 586 | X = P.x | |
| 587 | table.insert(B, brick) | |
| 588 | wait(SPEED) | |
| 589 | end | |
| 590 | Y = P.y | |
| 591 | end | |
| 592 | return B | |
| 593 | end | |
| 594 | ||
| 595 | function S(A) | |
| 596 | if math.abs(A.x) > math.abs(A.z) then | |
| 597 | if A.x > 0 then | |
| 598 | return Vector3.new(1, 0, 0) | |
| 599 | else | |
| 600 | return Vector3.new(-1, 0, 0) | |
| 601 | end | |
| 602 | else | |
| 603 | if A.z > 0 then | |
| 604 | return Vector3.new(0, 0, 1) | |
| 605 | else | |
| 606 | return Vector3.new(0, 0, -1) | |
| 607 | end | |
| 608 | end | |
| 609 | end | |
| 610 | ||
| 611 | T.Enabled = true | |
| 612 | T.Activated:connect(function() | |
| 613 | if T.Enabled and LP.Character:FindFirstChild('Humanoid') then
| |
| 614 | T.Enabled = false | |
| 615 | T.Handle.build:Play() | |
| 616 | BW(CFrame.new(LP.Character.Humanoid.TargetPoint, LP.Character.Humanoid.TargetPoint + S((LP.Character.Humanoid.TargetPoint - LP.Character.Head.Position).unit))) | |
| 617 | T.Enabled = true | |
| 618 | end | |
| 619 | end) | |
| 620 | end | |
| 621 | ||
| 622 | function LOAD_PATH() | |
| 623 | local HB = Instance.new('HopperBin', LP.Backpack) HB.Name = 'path giver'
| |
| 624 | ||
| 625 | local function PATH(M, C) | |
| 626 | if ENABLED and LP.Character then | |
| 627 | if not workspace:FindFirstChild('paths_seth') then Instance.new('Folder', workspace).Name = 'paths_seth' end
| |
| 628 | local hit = M.Target | |
| 629 | local point = M.Hit.p | |
| 630 | local P = Instance.new('Part', workspace.paths_seth)
| |
| 631 | P.BrickColor = C | |
| 632 | P.Material = 'Neon' | |
| 633 | P.Transparency = 0.75 | |
| 634 | P.Anchored = true | |
| 635 | P.Size = Vector3.new(20, 1, 20) | |
| 636 | P.Velocity = M.Hit.lookVector * 75 | |
| 637 | P.BottomSurface = 'Smooth' | |
| 638 | P.TopSurface = 'Smooth' | |
| 639 | P.CFrame = CFrame.new(LP.Character.Head.Position) | |
| 640 | P.CFrame = CFrame.new(LP.Character.Torso.Position.x, LP.Character.Torso.Position.y - 4, LP.Character.Torso.Position.z) | |
| 641 | P.CFrame = CFrame.new(P.Position, point) | |
| 642 | wait() | |
| 643 | PATH(M, C) | |
| 644 | end | |
| 645 | end | |
| 646 | ||
| 647 | local function SELECTED(M) | |
| 648 | M.Button1Down:connect(function() ENABLED = true PATH(M, BrickColor.Random()) end) | |
| 649 | M.Button1Up:connect(function() ENABLED = false end) | |
| 650 | M.KeyDown:connect(function(K) if K == 'r' then if workspace:FindFirstChild('paths_seth') then workspace.paths_seth:destroy() end end end)
| |
| 651 | end | |
| 652 | ||
| 653 | HB.Selected:connect(SELECTED) | |
| 654 | end | |
| 655 | ||
| 656 | function LOAD_STRIKE() | |
| 657 | local HB = Instance.new('HopperBin', LP.Backpack) HB.Name = 'orbital strike'
| |
| 658 | ||
| 659 | local function SHOOT(T) | |
| 660 | if ENABLED then | |
| 661 | local P0 = CFrame.new(0, 1500, 0) | |
| 662 | P0 = P0 + ((P0 * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0)).lookVector * 0.5) + (P0 * CFrame.fromEulerAnglesXYZ(0, math.pi / 2, 0)).lookVector | |
| 663 | local P1 = P0 + ((P0.p - T.Hit.p).unit * -2) | |
| 664 | SATELITE.CFrame = CFrame.new((P0.p + P1.p) / 2, P0.p) * CFrame.fromEulerAnglesXYZ(-math.pi / 2, 0, 0) | |
| 665 | ||
| 666 | local M = Instance.new('Model', workspace)
| |
| 667 | NEW'Part'{BrickColor = BrickColor.new('Pink'), Material = 'Neon', CFrame = CFrame.new((SATELITE.CFrame.p + T.Hit.p) / 2, SATELITE.CFrame.p), Anchored = true, CanCollide = false, Size = Vector3.new(1, 1, 1), Parent = M}
| |
| 668 | NEW'BlockMesh'{Scale = Vector3.new(1, 1, (SATELITE.CFrame.p - T.Hit.p).magnitude), Parent = M.Part}
| |
| 669 | NEW'Explosion'{Position = T.Hit.p, BlastRadius = 20, Parent = workspace}
| |
| 670 | ||
| 671 | for i = 1,10 do M.Part.Transparency = 0.5 + (i * 0.05) wait(0.05) end | |
| 672 | M:destroy() | |
| 673 | end | |
| 674 | end | |
| 675 | ||
| 676 | HB.Selected:connect(function(M) | |
| 677 | if not workspace:FindFirstChild('orbital_seth') then
| |
| 678 | SATELITE = Instance.new('Part', workspace)
| |
| 679 | SATELITE.Name = 'orbital_seth' | |
| 680 | SATELITE.Position = Vector3.new(0, 1500, 0) | |
| 681 | SATELITE.Anchored = true | |
| 682 | SATELITE.CanCollide = false | |
| 683 | SATELITE.Size = Vector3.new(5, 16.8, 5) | |
| 684 | NEW'SpecialMesh'{MeshId = 'rbxassetid://1064328', Scale = Vector3.new(0.2, 0.2, 0.2), Parent = SATELITE}
| |
| 685 | end | |
| 686 | M.Button1Down:connect(function() ENABLED = true SHOOT(M) end) | |
| 687 | M.Button1Up:connect(function() ENABLED = false end) | |
| 688 | end) | |
| 689 | end | |
| 690 | ||
| 691 | function FIND_IN_TABLE(TABLE, NAME) | |
| 692 | for i,v in pairs(TABLE) do | |
| 693 | if v == NAME then | |
| 694 | return true | |
| 695 | end | |
| 696 | end | |
| 697 | return false | |
| 698 | end | |
| 699 | ||
| 700 | function GET_IN_TABLE(TABLE, NAME) | |
| 701 | for i = 1, #TABLE do | |
| 702 | if TABLE[i] == NAME then | |
| 703 | return i | |
| 704 | end | |
| 705 | end | |
| 706 | return false | |
| 707 | end | |
| 708 | ||
| 709 | local NOTIFY_1 = false | |
| 710 | local NOTIFY_2 = false | |
| 711 | ||
| 712 | function NOTIFY(M, R, G, B) | |
| 713 | spawn(function() | |
| 714 | repeat wait() until not NOTIFY_1 | |
| 715 | local NOTIFY_SETH = GUIS.notify_seth:Clone() NOTIFY_SETH.Parent = _CORE | |
| 716 | if NOTIFY_SETH then | |
| 717 | NOTIFY_SETH.notify[''].BackgroundColor3 = C3(R, G, B) | |
| 718 | NOTIFY_SETH.notify.text.Text = ' ' .. M | |
| 719 | repeat wait() until not NOTIFY_1 | |
| 720 | NOTIFY_1 = true | |
| 721 | wait(0.5) | |
| 722 | NOTIFY_SETH.notify:TweenPosition(UDim2.new(0, 0, 0.6, 0), 'InOut', 'Quad', 0.4, false) wait(0.5) | |
| 723 | wait(0.5) | |
| 724 | repeat wait() until not NOTIFY_2 | |
| 725 | NOTIFY_1 = false | |
| 726 | NOTIFY_SETH.notify:TweenPosition(UDim2.new(0, 0, 0.6, -40), 'InOut', 'Quad', 0.4, false) wait(0.5) | |
| 727 | wait(0.5) | |
| 728 | NOTIFY_2 = true | |
| 729 | wait(2.5) | |
| 730 | NOTIFY_SETH.notify:TweenPosition(UDim2.new(0, -225, 0.6, -40), 'InOut', 'Quad', 0.4, false) wait(0.5) | |
| 731 | end | |
| 732 | wait(1) | |
| 733 | NOTIFY_SETH:destroy() | |
| 734 | NOTIFY_2 = false | |
| 735 | end) | |
| 736 | end | |
| 737 | ||
| 738 | function KICK(P) | |
| 739 | spawn(function() | |
| 740 | for i = 1,5 do | |
| 741 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') and P.Character:FindFirstChild('Torso') then
| |
| 742 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
| 743 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
| |
| 744 | spawn(function() | |
| 745 | repeat wait() | |
| 746 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
| |
| 747 | until not _PLAYERS:FindFirstChild(P.Name) | |
| 748 | end) | |
| 749 | P.Character.Torso.Anchored = true | |
| 750 | end | |
| 751 | end | |
| 752 | end) | |
| 753 | end | |
| 754 | ||
| 755 | _PLAYERS.PlayerRemoving:connect(function(P) | |
| 756 | if FIND_IN_TABLE(KICKS, P) then | |
| 757 | for i,v in pairs(KICKS) do if v == P then table.remove(KICKS, i) end end | |
| 758 | NOTIFY('KICKED ' .. P.Name, 255, 255, 255)
| |
| 759 | end | |
| 760 | if FIND_IN_TABLE(JAILED, P.Name) then | |
| 761 | for i,v in pairs(JAILED) do if v == P.Name then table.remove(KICKS, i) end end | |
| 762 | end | |
| 763 | end) | |
| 764 | ||
| 765 | function FIX_LIGHTING() | |
| 766 | _LIGHTING.Ambient = C3(0.5, 0.5, 0.5) | |
| 767 | _LIGHTING.Brightness = 1 | |
| 768 | _LIGHTING.GlobalShadows = true | |
| 769 | _LIGHTING.Outlines = false | |
| 770 | _LIGHTING.TimeOfDay = 14 | |
| 771 | _LIGHTING.FogEnd = 100000 | |
| 772 | end | |
| 773 | ||
| 774 | function COLOR(PLAYER, BCOLOR) | |
| 775 | 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
| |
| 776 | for i,v in pairs(PLAYER.Character.Head:GetChildren()) do if v:IsA('Decal') then v:destroy() end end
| |
| 777 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
| 778 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 779 | v.BrickColor = BrickColor.new(BCOLOR) | |
| 780 | elseif v:IsA('Accessory') then
| |
| 781 | v.Handle.BrickColor = BrickColor.new(BCOLOR) | |
| 782 | for a,b in pairs(v.Handle:GetChildren()) do | |
| 783 | if b:IsA('SpecialMesh') then
| |
| 784 | b.TextureId = '' | |
| 785 | end | |
| 786 | end | |
| 787 | end | |
| 788 | end | |
| 789 | end | |
| 790 | ||
| 791 | function LAG(PLAYER) | |
| 792 | local POS = CFrame.new(math.random(-100000, 100000), math.random(-100000, 100000), math.random(-100000, 100000)) | |
| 793 | spawn(function() | |
| 794 | repeat wait() | |
| 795 | if PLAYER and PLAYER.Character then | |
| 796 | PLAYER.CameraMode = 'LockFirstPerson' | |
| 797 | PLAYER.Character.HumanoidRootPart.CFrame = POS | |
| 798 | PLAYER.Character.Torso.Anchored = true | |
| 799 | Instance.new('ForceField', PLAYER.Character)
| |
| 800 | Instance.new('Smoke', PLAYER.Character.Head)
| |
| 801 | end | |
| 802 | until not _PLAYERS:FindFirstChild(PLAYER.Name) | |
| 803 | end) | |
| 804 | end | |
| 805 | ||
| 806 | local FLYING = false | |
| 807 | ||
| 808 | if LP.Character and LP.Character:FindFirstChild('Humanoid') then
| |
| 809 | LP.Character.Humanoid.Died:connect(function() FLYING = false end) | |
| 810 | end | |
| 811 | ||
| 812 | function sFLY() | |
| 813 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
| |
| 814 | repeat wait() until MOUSE | |
| 815 | ||
| 816 | local T = LP.Character.Torso | |
| 817 | local CONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 818 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 819 | local SPEED = 0 | |
| 820 | ||
| 821 | local function FLY() | |
| 822 | FLYING = true | |
| 823 | local BG = Instance.new('BodyGyro', T)
| |
| 824 | local BV = Instance.new('BodyVelocity', T)
| |
| 825 | BG.P = 9e4 | |
| 826 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
| 827 | BG.cframe = T.CFrame | |
| 828 | BV.velocity = Vector3.new(0, 0.1, 0) | |
| 829 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 830 | spawn(function() | |
| 831 | repeat wait() | |
| 832 | LP.Character.Humanoid.PlatformStand = true | |
| 833 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
| 834 | SPEED = 50 | |
| 835 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
| 836 | SPEED = 0 | |
| 837 | end | |
| 838 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
| 839 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
| 840 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
| |
| 841 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
| 842 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
| 843 | else | |
| 844 | BV.velocity = Vector3.new(0, 0.1, 0) | |
| 845 | end | |
| 846 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
| 847 | until not FLYING | |
| 848 | CONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 849 | lCONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 850 | SPEED = 0 | |
| 851 | BG:destroy() | |
| 852 | BV:destroy() | |
| 853 | LP.Character.Humanoid.PlatformStand = false | |
| 854 | end) | |
| 855 | end | |
| 856 | ||
| 857 | MOUSE.KeyDown:connect(function(KEY) | |
| 858 | if KEY:lower() == 'w' then | |
| 859 | CONTROL.F = 1 | |
| 860 | elseif KEY:lower() == 's' then | |
| 861 | CONTROL.B = -1 | |
| 862 | elseif KEY:lower() == 'a' then | |
| 863 | CONTROL.L = -1 | |
| 864 | elseif KEY:lower() == 'd' then | |
| 865 | CONTROL.R = 1 | |
| 866 | end | |
| 867 | end) | |
| 868 | ||
| 869 | MOUSE.KeyUp:connect(function(KEY) | |
| 870 | if KEY:lower() == 'w' then | |
| 871 | CONTROL.F = 0 | |
| 872 | elseif KEY:lower() == 's' then | |
| 873 | CONTROL.B = 0 | |
| 874 | elseif KEY:lower() == 'a' then | |
| 875 | CONTROL.L = 0 | |
| 876 | elseif KEY:lower() == 'd' then | |
| 877 | CONTROL.R = 0 | |
| 878 | end | |
| 879 | end) | |
| 880 | FLY() | |
| 881 | end | |
| 882 | ||
| 883 | function NOFLY() | |
| 884 | FLYING = false | |
| 885 | LP.Character.Humanoid.PlatformStand = false | |
| 886 | end | |
| 887 | ||
| 888 | function RESET_MODEL(MODEL) | |
| 889 | for i,v in pairs(MODEL:GetChildren()) do | |
| 890 | if v:IsA('Seat') and v.Name == 'FakeTorso' then
| |
| 891 | v:destroy() | |
| 892 | elseif v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') then
| |
| 893 | v:destroy() | |
| 894 | elseif v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 895 | v.Transparency = 0 | |
| 896 | elseif v:IsA('ShirtGraphic') then
| |
| 897 | v.Archivable = false | |
| 898 | v.Graphic = '' | |
| 899 | end | |
| 900 | end | |
| 901 | for i,v in pairs(MODEL.Torso:GetChildren()) do | |
| 902 | if v:IsA('SpecialMesh') then
| |
| 903 | v:destroy() | |
| 904 | end | |
| 905 | end | |
| 906 | if MODEL.Head:FindFirstChild('Mesh') then
| |
| 907 | MODEL.Head.Mesh:destroy() | |
| 908 | end | |
| 909 | 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
| |
| 910 | 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
| |
| 911 | 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
| |
| 912 | 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
| |
| 913 | 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
| |
| 914 | end | |
| 915 | ||
| 916 | function UPDATE_MODEL(MODEL, USERNAME) | |
| 917 | local AppModel = _PLAYERS:GetCharacterAppearanceAsync(_PLAYERS:GetUserIdFromNameAsync(USERNAME)) | |
| 918 | MODEL.Name = USERNAME | |
| 919 | for i,v in pairs(AppModel:GetChildren()) do | |
| 920 | if v:IsA('SpecialMesh') or v:IsA('BlockMesh') or v:IsA('CylinderMesh') then
| |
| 921 | v.Parent = MODEL.Head | |
| 922 | elseif v:IsA('Decal') then
| |
| 923 | if MODEL.Head:FindFirstChild('face') then
| |
| 924 | MODEL.Head.face.Texture = v.Texture | |
| 925 | else | |
| 926 | local FACE = Instance.new('Decal', MODEL.Head)
| |
| 927 | FACE.Texture = v.Texture | |
| 928 | end | |
| 929 | elseif v:IsA('BodyColors') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
| |
| 930 | if MODEL:FindFirstChild('Body Colors') then
| |
| 931 | MODEL['Body Colors']:destroy() | |
| 932 | end | |
| 933 | v.Parent = MODEL | |
| 934 | elseif v:IsA('Accessory') then
| |
| 935 | v.Parent = MODEL | |
| 936 | v.Handle.CFrame = MODEL.Head.CFrame * CFrame.new(0, MODEL.Head.Size.Y / 2, 0) * v.AttachmentPoint:inverse() | |
| 937 | end | |
| 938 | end | |
| 939 | if not MODEL.Head:FindFirstChild('Mesh') then
| |
| 940 | local SM = Instance.new('SpecialMesh', MODEL.Head)
| |
| 941 | SM.MeshType = Enum.MeshType.Head | |
| 942 | SM.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 943 | end | |
| 944 | end | |
| 945 | ||
| 946 | function CREEPER(PLAYER) | |
| 947 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
| 948 | if v:IsA('Shirt') or v:IsA('Pants') then
| |
| 949 | v:destroy() | |
| 950 | elseif v:IsA('ShirtGraphic') then
| |
| 951 | v.Archivable = false | |
| 952 | v.Graphic = '' | |
| 953 | end | |
| 954 | end | |
| 955 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
| 956 | if v:IsA('Accessory') then
| |
| 957 | v:destroy() | |
| 958 | end | |
| 959 | end | |
| 960 | PLAYER.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
| 961 | PLAYER.Character.Torso['Right Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0) | |
| 962 | PLAYER.Character.Torso['Left Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0) | |
| 963 | PLAYER.Character.Torso['Right Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0) | |
| 964 | PLAYER.Character.Torso['Left Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0) | |
| 965 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
| 966 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 967 | v.BrickColor = BrickColor.new('Bright green')
| |
| 968 | end | |
| 969 | end | |
| 970 | end | |
| 971 | ||
| 972 | function SHREK(PLAYER) | |
| 973 | COLOR(PLAYER, 'Bright green') | |
| 974 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
| 975 | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') or v:IsA('CharacterMesh') then
| |
| 976 | v:destroy() | |
| 977 | elseif v:IsA('ShirtGraphic') then
| |
| 978 | v.Archivable = false | |
| 979 | v.Graphic = '' | |
| 980 | end | |
| 981 | end | |
| 982 | for i,v in pairs(PLAYER.Character.Head:GetChildren()) do | |
| 983 | if v:IsA('Decal') or v:IsA('SpecialMesh') then
| |
| 984 | v:destroy() | |
| 985 | end | |
| 986 | end | |
| 987 | if PLAYER.Character:FindFirstChild('Shirt Graphic') then
| |
| 988 | PLAYER.Character['Shirt Graphic'].Archivable = false | |
| 989 | PLAYER.Character['Shirt Graphic'].Graphic = '' | |
| 990 | end | |
| 991 | local M = Instance.new('SpecialMesh', PLAYER.Character.Head)
| |
| 992 | local S = Instance.new('Shirt', PLAYER.Character)
| |
| 993 | local P = Instance.new('Pants', PLAYER.Character)
| |
| 994 | M.MeshType = 'FileMesh' | |
| 995 | M.MeshId = 'rbxassetid://19999257' | |
| 996 | M.Offset = Vector3.new(-0.1, 0.1, 0) | |
| 997 | M.TextureId = 'rbxassetid://156397869' | |
| 998 | S.ShirtTemplate = 'rbxassetid://133078194' | |
| 999 | P.PantsTemplate = 'rbxassetid://133078204' | |
| 1000 | end | |
| 1001 | ||
| 1002 | function DUCK(PLAYER) | |
| 1003 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
| 1004 | if v:IsA('Part') and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then
| |
| 1005 | v.Transparency = 1 | |
| 1006 | elseif v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') then
| |
| 1007 | v:destroy() | |
| 1008 | elseif v:IsA('ShirtGraphic') then
| |
| 1009 | v.Archivable = false | |
| 1010 | v.Graphic = '' | |
| 1011 | end | |
| 1012 | end | |
| 1013 | local DUCK = Instance.new('SpecialMesh', PLAYER.Character.Torso)
| |
| 1014 | DUCK.MeshType = 'FileMesh' | |
| 1015 | DUCK.MeshId = 'rbxassetid://9419831' | |
| 1016 | DUCK.TextureId = 'rbxassetid://9419827' | |
| 1017 | DUCK.Scale = Vector3.new(5, 5, 5) | |
| 1018 | if PLAYER.Character.Head:FindFirstChild('face') then
| |
| 1019 | PLAYER.Character.Head.face.Transparency = 1 | |
| 1020 | end | |
| 1021 | end | |
| 1022 | ||
| 1023 | function DOG(PLAYER) | |
| 1024 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
| 1025 | if v:IsA('Shirt') or v:IsA('Pants') then
| |
| 1026 | v:destroy() | |
| 1027 | elseif v:IsA('ShirtGraphic') then
| |
| 1028 | v.Archivable = false | |
| 1029 | v.Graphic = '' | |
| 1030 | end | |
| 1031 | end | |
| 1032 | PLAYER.Character.Torso.Transparency = 1 | |
| 1033 | PLAYER.Character.Torso.Neck.C0 = CFrame.new(0, -0.5, -2) * CFrame.Angles(math.rad(90), math.rad(180), 0) | |
| 1034 | PLAYER.Character.Torso['Right Shoulder'].C0 = CFrame.new(0.5, -1.5, -1.5) * CFrame.Angles(0, math.rad(90), 0) | |
| 1035 | PLAYER.Character.Torso['Left Shoulder'].C0 = CFrame.new(-0.5, -1.5, -1.5) * CFrame.Angles(0, math.rad(-90), 0) | |
| 1036 | PLAYER.Character.Torso['Right Hip'].C0 = CFrame.new(1.5, -1, 1.5) * CFrame.Angles(0, math.rad(90), 0) | |
| 1037 | PLAYER.Character.Torso['Left Hip'].C0 = CFrame.new(-1.5, -1, 1.5) * CFrame.Angles(0, math.rad(-90), 0) | |
| 1038 | local FakeTorso = Instance.new('Seat', PLAYER.Character)
| |
| 1039 | local BF = Instance.new('BodyForce', FakeTorso)
| |
| 1040 | local W = Instance.new('Weld', PLAYER.Character.Torso)
| |
| 1041 | FakeTorso.Name = 'FakeTorso' | |
| 1042 | FakeTorso.TopSurface = 0 | |
| 1043 | FakeTorso.BottomSurface = 0 | |
| 1044 | FakeTorso.Size = Vector3.new(3,1,4) | |
| 1045 | FakeTorso.BrickColor = BrickColor.new('Brown')
| |
| 1046 | FakeTorso.CFrame = PLAYER.Character.Torso.CFrame | |
| 1047 | BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0) | |
| 1048 | W.Part0 = PLAYER.Character.Torso | |
| 1049 | W.Part1 = FakeTorso | |
| 1050 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 1051 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
| 1052 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 1053 | v.BrickColor = BrickColor.new('Brown')
| |
| 1054 | end | |
| 1055 | end | |
| 1056 | end | |
| 1057 | ||
| 1058 | function ALIEN(PLAYER) | |
| 1059 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
| 1060 | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') then
| |
| 1061 | v:destroy() | |
| 1062 | elseif v:IsA('ShirtGraphic') then
| |
| 1063 | v.Archivable = false | |
| 1064 | v.Graphic = '' | |
| 1065 | elseif v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 1066 | v.BrickColor = BrickColor.new('Fossil')
| |
| 1067 | end | |
| 1068 | end | |
| 1069 | ALIEN_H:Clone().Parent = PLAYER.Character | |
| 1070 | end | |
| 1071 | ||
| 1072 | function DECALSPAM(INSTANCE, ID) | |
| 1073 | for i,v in pairs(INSTANCE:GetChildren()) do | |
| 1074 | if v:IsA('BasePart') then
| |
| 1075 | spawn(function() | |
| 1076 | local FACES = {'Back', 'Bottom', 'Front', 'Left', 'Right', 'Top'}
| |
| 1077 | local CURRENT_FACE = 1 | |
| 1078 | for i = 1, 6 do | |
| 1079 | local DECAL = Instance.new('Decal', v)
| |
| 1080 | DECAL.Name = 'decal_seth' | |
| 1081 | DECAL.Texture = 'rbxassetid://' .. ID - 1 | |
| 1082 | DECAL.Face = FACES[CURRENT_FACE] | |
| 1083 | CURRENT_FACE = CURRENT_FACE + 1 | |
| 1084 | end | |
| 1085 | end) | |
| 1086 | end | |
| 1087 | DECALSPAM(v, ID) | |
| 1088 | end | |
| 1089 | end | |
| 1090 | ||
| 1091 | function UNDECALSPAM(INSTANCE) | |
| 1092 | for i,v in pairs(INSTANCE:GetChildren()) do | |
| 1093 | if v:IsA('BasePart') then
| |
| 1094 | for a,b in pairs(v:GetChildren()) do | |
| 1095 | if b:IsA('Decal') and b.Name == 'decal_seth' then
| |
| 1096 | b:destroy() | |
| 1097 | end | |
| 1098 | end | |
| 1099 | end | |
| 1100 | UNDECALSPAM(v) | |
| 1101 | end | |
| 1102 | end | |
| 1103 | ||
| 1104 | function CREATE_DONG(PLAYER, DONG_COLOR) | |
| 1105 | if PLAYER.Character:FindFirstChild('DONG') then
| |
| 1106 | PLAYER.Character.DONG:destroy() | |
| 1107 | end | |
| 1108 | local D = Instance.new('Model', PLAYER.Character)
| |
| 1109 | D.Name = 'DONG' | |
| 1110 | ||
| 1111 | local BG = Instance.new('BodyGyro', PLAYER.Character.Torso)
| |
| 1112 | local MAIN = Instance.new('Part', PLAYER.Character['DONG'])
| |
| 1113 | local M1 = Instance.new('CylinderMesh', MAIN)
| |
| 1114 | local W1 = Instance.new('Weld', PLAYER.Character.Head)
| |
| 1115 | local P1 = Instance.new('Part', PLAYER.Character['DONG'])
| |
| 1116 | local M2 = Instance.new('SpecialMesh', P1)
| |
| 1117 | local W2 = Instance.new('Weld', P1)
| |
| 1118 | local B1 = Instance.new('Part', PLAYER.Character['DONG'])
| |
| 1119 | local M3 = Instance.new('SpecialMesh', B1)
| |
| 1120 | local W3 = Instance.new('Weld', B1)
| |
| 1121 | local B2 = Instance.new('Part', PLAYER.Character['DONG'])
| |
| 1122 | local M4 = Instance.new('SpecialMesh', B2)
| |
| 1123 | local W4 = Instance.new('Weld', B2)
| |
| 1124 | MAIN.TopSurface = 0 MAIN.BottomSurface = 0 MAIN.Name = 'Main' 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 | |
| 1125 | W1.Part0 = MAIN W1.Part1 = PLAYER.Character.Head W1.C0 = CFrame.new(0, 0.25, 2.1) * CFrame.Angles(math.rad(45), 0, 0) | |
| 1126 | P1.Name = 'Mush' P1.BottomSurface = 0 P1.TopSurface = 0 P1.Size = Vector3.new(0.6, 0.6, 0.6) P1.CFrame = CFrame.new(MAIN.Position) P1.BrickColor = BrickColor.new('Pink') P1.CanCollide = false
| |
| 1127 | M2.MeshType = 'Sphere' | |
| 1128 | W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0) | |
| 1129 | B1.Name = 'Left Ball' B1.BottomSurface = 0 B1.TopSurface = 0 B1.CanCollide = false B1.Size = Vector3.new(1, 1, 1) B1.CFrame = CFrame.new(PLAYER.Character['Left Leg'].Position) B1.BrickColor = BrickColor.new(DONG_COLOR) | |
| 1130 | M3.Parent = B1 M3.MeshType = 'Sphere' | |
| 1131 | W3.Part0 = PLAYER.Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5) | |
| 1132 | B2.Name = 'Right Ball' B2.BottomSurface = 0 B2.CanCollide = false B2.TopSurface = 0 B2.Size = Vector3.new(1, 1, 1) B2.CFrame = CFrame.new(PLAYER.Character['Right Leg'].Position) B2.BrickColor = BrickColor.new(DONG_COLOR) | |
| 1133 | M4.MeshType = 'Sphere' | |
| 1134 | W4.Part0 = PLAYER.Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5) | |
| 1135 | end | |
| 1136 | ||
| 1137 | function SCALE(C, S) | |
| 1138 | if tonumber(S) < 0.5 then S = 0.5 elseif tonumber(S) > 25 then S = 25 end | |
| 1139 | ||
| 1140 | local HAT_CLONE = {}
| |
| 1141 | ||
| 1142 | for i,v in pairs(C:GetChildren()) do if v:IsA('Accessory') then local HC = v:Clone() table.insert(HAT_CLONE, HC) v:destroy() end end
| |
| 1143 | ||
| 1144 | local HEAD = C.Head | |
| 1145 | local TORSO = C.Torso | |
| 1146 | local LA = C['Left Arm'] | |
| 1147 | local RA = C['Right Arm'] | |
| 1148 | local LL = C['Left Leg'] | |
| 1149 | local RL = C['Right Leg'] | |
| 1150 | local HRP = C.HumanoidRootPart | |
| 1151 | ||
| 1152 | HEAD.Size = Vector3.new(S * 2, S, S) | |
| 1153 | TORSO.Size = Vector3.new(S * 2, S * 2, S) | |
| 1154 | LA.Size = Vector3.new(S, S * 2, S) | |
| 1155 | RA.Size = Vector3.new(S, S * 2, S) | |
| 1156 | LL.Size = Vector3.new(S, S * 2, S) | |
| 1157 | RL.Size = Vector3.new(S, S * 2, S) | |
| 1158 | HRP.Size = Vector3.new(S * 2, S * 2, S) | |
| 1159 | ||
| 1160 | local M1 = Instance.new('Motor6D', TORSO)
| |
| 1161 | local M2 = Instance.new('Motor6D', TORSO)
| |
| 1162 | local M3 = Instance.new('Motor6D', TORSO)
| |
| 1163 | local M4 = Instance.new('Motor6D', TORSO)
| |
| 1164 | local M5 = Instance.new('Motor6D', TORSO)
| |
| 1165 | local M6 = Instance.new('Motor6D', HRP)
| |
| 1166 | ||
| 1167 | 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) | |
| 1168 | 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) | |
| 1169 | 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) | |
| 1170 | 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) | |
| 1171 | 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) | |
| 1172 | 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) | |
| 1173 | ||
| 1174 | for i,v in pairs(HAT_CLONE) do v.Parent = C end | |
| 1175 | end | |
| 1176 | ||
| 1177 | function CAPE(COLOR) | |
| 1178 | if LP.Character:FindFirstChild('Cape') then LP.Character.Cape:destroy() end
| |
| 1179 | ||
| 1180 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso')
| |
| 1181 | ||
| 1182 | local T = LP.Character.Torso | |
| 1183 | ||
| 1184 | local C = Instance.new('Part', T.Parent)
| |
| 1185 | C.Name = 'cape_seth' | |
| 1186 | C.Anchored = false | |
| 1187 | C.CanCollide = false | |
| 1188 | C.TopSurface = 0 | |
| 1189 | C.BottomSurface = 0 | |
| 1190 | C.BrickColor = BrickColor.new(COLOR) | |
| 1191 | C.Material = 'Neon' | |
| 1192 | C.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1193 | ||
| 1194 | local M = Instance.new('BlockMesh', C)
| |
| 1195 | M.Scale = Vector3.new(9, 17.5, 0.5) | |
| 1196 | ||
| 1197 | local M1 = Instance.new('Motor', C)
| |
| 1198 | M1.Part0 = C | |
| 1199 | M1.Part1 = T | |
| 1200 | M1.MaxVelocity = 1 | |
| 1201 | M1.C0 = CFrame.new(0, 1.75, 0) * CFrame.Angles(0, math.rad(90), 0) | |
| 1202 | M1.C1 = CFrame.new(0, 1, .45) * CFrame.Angles(0, math.rad(90), 0) | |
| 1203 | ||
| 1204 | local WAVE = false | |
| 1205 | ||
| 1206 | repeat wait(1 / 44) | |
| 1207 | local ANG = 0.2 | |
| 1208 | local oldMag = T.Velocity.magnitude | |
| 1209 | local MV = 0.1 | |
| 1210 | ||
| 1211 | if WAVE then | |
| 1212 | ANG = ANG + ((T.Velocity.magnitude / 10) * 0.05) + 1 | |
| 1213 | WAVE = false | |
| 1214 | else | |
| 1215 | WAVE = false | |
| 1216 | end | |
| 1217 | ANG = ANG + math.min(T.Velocity.magnitude / 30, 1) | |
| 1218 | M1.MaxVelocity = math.min((T.Velocity.magnitude / 10), 0.04) + MV | |
| 1219 | M1.DesiredAngle = -ANG | |
| 1220 | if M1.CurrentAngle < -0.05 and M1.DesiredAngle > -.05 then | |
| 1221 | M1.MaxVelocity = 0.04 | |
| 1222 | end | |
| 1223 | repeat | |
| 1224 | wait() | |
| 1225 | until M1.CurrentAngle == M1.DesiredAngle or math.abs(T.Velocity.magnitude - oldMag) >= (T.Velocity.magnitude / 10) + 1 | |
| 1226 | if T.Velocity.magnitude < 0.1 then | |
| 1227 | wait(0.1) | |
| 1228 | end | |
| 1229 | until not C or C.Parent ~= T.Parent | |
| 1230 | end | |
| 1231 | ||
| 1232 | function INFECT(PLAYER) | |
| 1233 | for i,v in pairs(PLAYER.Character:GetChildren()) do | |
| 1234 | Instance.new('Folder', PLAYER.Character).Name = 'infected_seth'
| |
| 1235 | if v:IsA('Accessory') or v:IsA('Shirt') or v:IsA('Pants') then
| |
| 1236 | v:destroy() | |
| 1237 | elseif v:IsA('ShirtGraphic') then
| |
| 1238 | v.Archivable = false | |
| 1239 | v.Graphic = '' | |
| 1240 | end | |
| 1241 | end | |
| 1242 | ||
| 1243 | if PLAYER.Character.Head:FindFirstChild('face') then
| |
| 1244 | PLAYER.Character.Head.face.Texture = 'rbxassetid://7074882' | |
| 1245 | end | |
| 1246 | ||
| 1247 | for i,v in pairs (PLAYER.Character:GetChildren()) do | |
| 1248 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 1249 | if v.Name == 'Head' or v.Name == 'Left Arm' or v.Name == 'Right Arm' then | |
| 1250 | v.BrickColor = BrickColor.new('Medium green')
| |
| 1251 | elseif v.Name == 'Torso' or v.Name == 'Left Leg' or v.Name == 'Right Leg' then | |
| 1252 | v.BrickColor = BrickColor.new('Brown')
| |
| 1253 | end | |
| 1254 | end | |
| 1255 | end | |
| 1256 | ||
| 1257 | local T = PLAYER.Character.Torso.Touched:connect(function(TC) | |
| 1258 | if not TC.Parent:FindFirstChild('infected_seth') then
| |
| 1259 | local GPFC = _PLAYERS:GetPlayerFromCharacter(TC.Parent) | |
| 1260 | if GPFC then | |
| 1261 | INFECT(GPFC) | |
| 1262 | end | |
| 1263 | end | |
| 1264 | end) | |
| 1265 | end | |
| 1266 | ||
| 1267 | function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F) | |
| 1268 | local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
| |
| 1269 | if (zCoco) then | |
| 1270 | funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
| 1271 | else | |
| 1272 | funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
| 1273 | end | |
| 1274 | return funcw | |
| 1275 | end | |
| 1276 | ||
| 1277 | function BANG(VICTIM) | |
| 1278 | spawn(function() | |
| 1279 | local P1 = _PLAYERS.LocalPlayer.Character.Torso | |
| 1280 | local V1 = _PLAYERS[VICTIM].Character.Torso | |
| 1281 | ||
| 1282 | V1.Parent.Humanoid.PlatformStand = true | |
| 1283 | ||
| 1284 | 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'
| |
| 1285 | ||
| 1286 | 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'
| |
| 1287 | ||
| 1288 | 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'
| |
| 1289 | ||
| 1290 | 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'
| |
| 1291 | ||
| 1292 | 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'
| |
| 1293 | ||
| 1294 | 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'
| |
| 1295 | ||
| 1296 | 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)
| |
| 1297 | ||
| 1298 | local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
| |
| 1299 | ||
| 1300 | fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
| |
| 1301 | ||
| 1302 | local D2 = D:Clone() D2.Parent = P1 | |
| 1303 | ||
| 1304 | fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
| |
| 1305 | ||
| 1306 | local C = Instance.new('Part', P1) C.TopSurface = 0 C.BottomSurface = 0 C.CanCollide = false C.BrickColor = BrickColor.new('Pastel brown') C.Size = Vector3.new(0.4, 1.3, 0.4)
| |
| 1307 | ||
| 1308 | fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
| |
| 1309 | ||
| 1310 | local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
| |
| 1311 | ||
| 1312 | fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
| |
| 1313 | ||
| 1314 | local CM = Instance.new('CylinderMesh', C)
| |
| 1315 | ||
| 1316 | 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)
| |
| 1317 | ||
| 1318 | local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
| |
| 1319 | ||
| 1320 | fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
| |
| 1321 | ||
| 1322 | 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)
| |
| 1323 | ||
| 1324 | local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
| |
| 1325 | ||
| 1326 | fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
| |
| 1327 | ||
| 1328 | 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)
| |
| 1329 | ||
| 1330 | local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
| |
| 1331 | ||
| 1332 | fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
| |
| 1333 | ||
| 1334 | 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)
| |
| 1335 | ||
| 1336 | local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
| |
| 1337 | ||
| 1338 | fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
| |
| 1339 | ||
| 1340 | 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) | |
| 1341 | 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) | |
| 1342 | 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) | |
| 1343 | ||
| 1344 | if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
| |
| 1345 | ||
| 1346 | WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
| |
| 1347 | ||
| 1348 | local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0) | |
| 1349 | end) | |
| 1350 | spawn(function() while wait() do for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, -0.3, 0) end for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, 0.3, 0) end end end) | |
| 1351 | end | |
| 1352 | ||
| 1353 | function RESPAWN(PLAYER) | |
| 1354 | local M = Instance.new('Model', workspace) M.Name = 'respawn_seth'
| |
| 1355 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
| |
| 1356 | Instance.new('Humanoid', M)
| |
| 1357 | PLAYER.Character = M | |
| 1358 | end | |
| 1359 | ||
| 1360 | function LOAD_MESSAGE(STRING) | |
| 1361 | _PLAYERS.LocalPlayer.CharacterAppearanceId = 20018 | |
| 1362 | RESPAWN(LP) | |
| 1363 | ||
| 1364 | R = false | |
| 1365 | LP.CharacterAdded:connect(function() | |
| 1366 | if not R then | |
| 1367 | wait(0.5) | |
| 1368 | if LP.Character:FindFirstChild('Humanoid') then
| |
| 1369 | MAIN_HAT = LP.Character:FindFirstChild('BunnyEarsOfCaprice'):Clone()
| |
| 1370 | end | |
| 1371 | R = true | |
| 1372 | end | |
| 1373 | end) | |
| 1374 | repeat wait() until R | |
| 1375 | RESPAWN(LP) | |
| 1376 | LP.CharacterAppearanceId = 0 | |
| 1377 | ||
| 1378 | if MAIN_HAT then | |
| 1379 | MAIN_HAT.Handle.CanCollide = true | |
| 1380 | local M = MAIN_HAT.Handle.BunnyTools.EggScript3:Clone() | |
| 1381 | local P = Instance.new('Part')
| |
| 1382 | M.Disabled = false | |
| 1383 | M.Parent = P | |
| 1384 | MAIN_HAT.Handle.BunnyTools.EggMesh3:Clone().Parent = P | |
| 1385 | MAIN_HAT:destroy() | |
| 1386 | P.Parent = LP.Character | |
| 1387 | repeat wait() until LP:FindFirstChild('ChessMsg')
| |
| 1388 | MG = LP:FindFirstChild('ChessMsg')
| |
| 1389 | MG.Name = 'message_seth' | |
| 1390 | MG.Text = '' | |
| 1391 | MG.Parent = workspace | |
| 1392 | MESSAGE(STRING) | |
| 1393 | P:destroy() | |
| 1394 | for i,v in pairs(workspace:GetChildren()) do | |
| 1395 | if v:IsA('Part') and v.BrickColor == BrickColor.new('Bright red') and v.Reflectance == 0 and v.Transparency == 0 and not v.Anchored and v.CanCollide and v.Locked and v:FindFirstChild('Decal') and v.Size == Vector3.new(8, 0.4, 8) then
| |
| 1396 | if v.Decal.Texture == 'http://www.roblox.com/asset/?id=1531000' and v.Transparency == 0 and v.Decal.Face == Enum.NormalId.Top then | |
| 1397 | v:destroy() | |
| 1398 | end | |
| 1399 | end | |
| 1400 | end | |
| 1401 | end | |
| 1402 | end | |
| 1403 | ||
| 1404 | function MESSAGE(STRING) | |
| 1405 | if not SHOWING_MESSAGE then | |
| 1406 | spawn(function() | |
| 1407 | SHOWING_MESSAGE = true | |
| 1408 | MG.Text = STRING | |
| 1409 | wait(5) | |
| 1410 | MG.Text = '' | |
| 1411 | SHOWING_MESSAGE = false | |
| 1412 | end) | |
| 1413 | end | |
| 1414 | end | |
| 1415 | ||
| 1416 | _G.CLICK_TP = false | |
| 1417 | local M_CTRL = false | |
| 1418 | ||
| 1419 | MOUSE.KeyDown:connect(function(K) if K:byte() == 50 then M_CTRL = true end end) | |
| 1420 | MOUSE.KeyUp:connect(function(K) if K:byte() == 50 then M_CTRL = false end end) | |
| 1421 | 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)
| |
| 1422 | ||
| 1423 | _LIGHTING.Outlines = false -- / outlines are gross | |
| 1424 | ||
| 1425 | if FIND_IN_TABLE(BANS, LP.userId) then LP:Kick() end | |
| 1426 | ||
| 1427 | for i,v in pairs(_PLAYERS:GetPlayers()) do if FIND_IN_TABLE(BANS, v.userId) then table.insert(KICKS, v) else UPDATE_CHAT(v) end end | |
| 1428 | ||
| 1429 | -- / commands | |
| 1430 | ||
| 1431 | ADD_COMMAND('ff','ff [plr]', {},
| |
| 1432 | function(ARGS, SPEAKER) | |
| 1433 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1434 | for i,v in pairs(PLAYERS) do | |
| 1435 | Instance.new('ForceField', _PLAYERS[v].Character)
| |
| 1436 | end | |
| 1437 | end) | |
| 1438 | ||
| 1439 | ADD_COMMAND('unff','unff [plr]',{},
| |
| 1440 | function(ARGS, SPEAKER) | |
| 1441 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1442 | for i,v in pairs(PLAYERS) do | |
| 1443 | for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do | |
| 1444 | if v:IsA('ForceField') then
| |
| 1445 | v:destroy() | |
| 1446 | end | |
| 1447 | end | |
| 1448 | end | |
| 1449 | end) | |
| 1450 | ||
| 1451 | ADD_COMMAND('fire','fire [plr] [r] [g] [b]',{},
| |
| 1452 | function(ARGS, SPEAKER) | |
| 1453 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1454 | for i,v in pairs(PLAYERS) do | |
| 1455 | for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do | |
| 1456 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 1457 | local F = Instance.new('Fire', v)
| |
| 1458 | if ARGS[2] and ARGS[3] and ARGS[4] then | |
| 1459 | F.Color = C3(ARGS[2], ARGS[3], ARGS[4]) | |
| 1460 | F.SecondaryColor = C3(ARGS[2], ARGS[3], ARGS[4]) | |
| 1461 | end | |
| 1462 | end | |
| 1463 | end | |
| 1464 | end | |
| 1465 | end) | |
| 1466 | ||
| 1467 | ADD_COMMAND('unfire','unfire [plr]',{},
| |
| 1468 | function(ARGS, SPEAKER) | |
| 1469 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1470 | for i,v in pairs(PLAYERS) do | |
| 1471 | local PCHAR = _PLAYERS[v].Character | |
| 1472 | for i,v in pairs(PCHAR:GetChildren()) do | |
| 1473 | for i,v in pairs(v:GetChildren()) do | |
| 1474 | if v:IsA('Fire') then
| |
| 1475 | v:destroy() | |
| 1476 | end | |
| 1477 | end | |
| 1478 | end | |
| 1479 | end | |
| 1480 | end) | |
| 1481 | ||
| 1482 | ADD_COMMAND('sp','sp [plr] [r] [g] [b]',{'sparkles'},
| |
| 1483 | function(ARGS, SPEAKER) | |
| 1484 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1485 | for i,v in pairs(PLAYERS) do | |
| 1486 | for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do | |
| 1487 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 1488 | if ARGS[2] and ARGS[3] and ARGS[4] then | |
| 1489 | Instance.new('Sparkles', v).Color = C3(ARGS[2], ARGS[3], ARGS[4])
| |
| 1490 | else | |
| 1491 | Instance.new('Sparkles', v)
| |
| 1492 | end | |
| 1493 | end | |
| 1494 | end | |
| 1495 | end | |
| 1496 | end) | |
| 1497 | ||
| 1498 | ADD_COMMAND('unsp','unsp [plr]',{'unsparkles'},
| |
| 1499 | function(ARGS, SPEAKER) | |
| 1500 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1501 | for i,v in pairs(PLAYERS) do | |
| 1502 | for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do | |
| 1503 | for i,v in pairs(v:GetChildren()) do | |
| 1504 | if v:IsA('Sparkles') then
| |
| 1505 | v:destroy() | |
| 1506 | end | |
| 1507 | end | |
| 1508 | end | |
| 1509 | end | |
| 1510 | end) | |
| 1511 | ||
| 1512 | ADD_COMMAND('smoke','smoke [plr]',{},
| |
| 1513 | function(ARGS, SPEAKER) | |
| 1514 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1515 | for i,v in pairs(PLAYERS) do | |
| 1516 | Instance.new('Smoke', _PLAYERS[v].Character.Torso)
| |
| 1517 | end | |
| 1518 | end) | |
| 1519 | ||
| 1520 | ADD_COMMAND('unsmoke','unsmoke [plr]',{},
| |
| 1521 | function(ARGS, SPEAKER) | |
| 1522 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1523 | for i,v in pairs(PLAYERS) do | |
| 1524 | for i,v in pairs(_PLAYERS[v].Character.Torso:GetChildren()) do | |
| 1525 | if v:IsA('Smoke') then
| |
| 1526 | v:destroy() | |
| 1527 | end | |
| 1528 | end | |
| 1529 | end | |
| 1530 | end) | |
| 1531 | ||
| 1532 | ADD_COMMAND('btools','btools [plr]',{},
| |
| 1533 | function(ARGS, SPEAKER) | |
| 1534 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1535 | for i,v in pairs(PLAYERS) do | |
| 1536 | Instance.new('HopperBin', _PLAYERS[v].Backpack).BinType = 2
| |
| 1537 | Instance.new('HopperBin', _PLAYERS[v].Backpack).BinType = 3
| |
| 1538 | Instance.new('HopperBin', _PLAYERS[v].Backpack).BinType = 4
| |
| 1539 | end | |
| 1540 | end) | |
| 1541 | ||
| 1542 | ADD_COMMAND('god','god [plr]',{},
| |
| 1543 | function(ARGS, SPEAKER) | |
| 1544 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1545 | for i,v in pairs(PLAYERS) do | |
| 1546 | local PCHAR = _PLAYERS[v].Character | |
| 1547 | if PCHAR:FindFirstChild('Humanoid') then
| |
| 1548 | PCHAR.Humanoid.MaxHealth = math.huge PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth | |
| 1549 | end | |
| 1550 | end | |
| 1551 | end) | |
| 1552 | ||
| 1553 | ADD_COMMAND('sgod','sgod [plr]',{},
| |
| 1554 | function(ARGS, SPEAKER) | |
| 1555 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1556 | for i,v in pairs(PLAYERS) do | |
| 1557 | local PCHAR = _PLAYERS[v].Character | |
| 1558 | if PCHAR:FindFirstChild('Humanoid') then
| |
| 1559 | PCHAR.Humanoid.MaxHealth = 10000000 PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth | |
| 1560 | end | |
| 1561 | end | |
| 1562 | end) | |
| 1563 | ||
| 1564 | ADD_COMMAND('ungod','ungod [plr]',{},
| |
| 1565 | function(ARGS, SPEAKER) | |
| 1566 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1567 | for i,v in pairs(PLAYERS) do | |
| 1568 | local PCHAR = _PLAYERS[v].Character | |
| 1569 | if PCHAR:FindFirstChild('Humanoid') then
| |
| 1570 | PCHAR.Humanoid.MaxHealth = 100 | |
| 1571 | end | |
| 1572 | end | |
| 1573 | end) | |
| 1574 | ||
| 1575 | ADD_COMMAND('heal','heal [plr]',{},
| |
| 1576 | function(ARGS, SPEAKER) | |
| 1577 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1578 | for i,v in pairs(PLAYERS) do | |
| 1579 | local PCHAR = _PLAYERS[v].Character | |
| 1580 | if PCHAR:FindFirstChild('Humanoid') then
| |
| 1581 | PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth | |
| 1582 | end | |
| 1583 | end | |
| 1584 | end) | |
| 1585 | ||
| 1586 | ADD_COMMAND('freeze','freeze [plr]',{'frz'},
| |
| 1587 | function(ARGS, SPEAKER) | |
| 1588 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1589 | for i,v in pairs(PLAYERS) do | |
| 1590 | for i,v in pairs(PLAYERS) do | |
| 1591 | local PCHAR = _PLAYERS[v].Character | |
| 1592 | for i,v in pairs(PCHAR:GetChildren()) do | |
| 1593 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 1594 | v.Anchored = true | |
| 1595 | end | |
| 1596 | end | |
| 1597 | end | |
| 1598 | end | |
| 1599 | end) | |
| 1600 | ||
| 1601 | ADD_COMMAND('thaw','thaw [plr]',{'unfreeze','unfrz'},
| |
| 1602 | function(ARGS, SPEAKER) | |
| 1603 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1604 | for i,v in pairs(PLAYERS) do | |
| 1605 | for i,v in pairs(PLAYERS) do | |
| 1606 | for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do | |
| 1607 | if v:IsA('Part') then
| |
| 1608 | v.Anchored = false | |
| 1609 | end | |
| 1610 | end | |
| 1611 | end | |
| 1612 | end | |
| 1613 | end) | |
| 1614 | ||
| 1615 | ADD_COMMAND('kill','kill [plr]',{},
| |
| 1616 | function(ARGS, SPEAKER) | |
| 1617 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1618 | for i,v in pairs(PLAYERS) do | |
| 1619 | _PLAYERS[v].Character:BreakJoints() | |
| 1620 | end | |
| 1621 | end) | |
| 1622 | ||
| 1623 | ADD_COMMAND('sound','sound [id]',{},
| |
| 1624 | function(ARGS, SPEAKER) | |
| 1625 | for i,v in pairs(workspace:GetChildren()) do if v:IsA('Sound') then v:Stop() v:destroy() end end
| |
| 1626 | if ARGS[1]:lower() ~= 'off' then | |
| 1627 | local S = Instance.new('Sound', workspace) S.Name = 'song_seth' S.Archivable = false S.Looped = true S.SoundId = 'rbxassetid://' .. ARGS[1] S.Volume = 1 S:Play()
| |
| 1628 | end | |
| 1629 | end) | |
| 1630 | ||
| 1631 | ADD_COMMAND('volume','volume [int]',{},
| |
| 1632 | function(ARGS, SPEAKER) | |
| 1633 | for i,v in pairs(workspace:GetChildren()) do if v:IsA('Sound') then v.Volume = ARGS[1] end end
| |
| 1634 | end) | |
| 1635 | ||
| 1636 | ADD_COMMAND('pitch','pitch [int]',{},
| |
| 1637 | function(ARGS, SPEAKER) | |
| 1638 | for i,v in pairs(workspace:GetChildren()) do if v:IsA('Sound') then v.Pitch = ARGS[1] end end
| |
| 1639 | end) | |
| 1640 | ||
| 1641 | ADD_COMMAND('explode','explode [plr]',{},
| |
| 1642 | function(ARGS, SPEAKER) | |
| 1643 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1644 | for i,v in pairs(PLAYERS) do | |
| 1645 | local PCHAR = _PLAYERS[v].Character | |
| 1646 | if PCHAR:FindFirstChild('Torso') then
| |
| 1647 | Instance.new('Explosion', PCHAR).Position = PCHAR.Torso.Position
| |
| 1648 | end | |
| 1649 | end | |
| 1650 | end) | |
| 1651 | ||
| 1652 | ADD_COMMAND('invis','invis [plr]',{},
| |
| 1653 | function(ARGS, SPEAKER) | |
| 1654 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1655 | for i,v in pairs(PLAYERS) do | |
| 1656 | local PCHAR = _PLAYERS[v].Character | |
| 1657 | for i,v in pairs(PCHAR:GetChildren()) do | |
| 1658 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 1659 | v.Transparency = 1 | |
| 1660 | end | |
| 1661 | if v:IsA('Accessory') and v:FindFirstChild('Handle') then
| |
| 1662 | v.Handle.Transparency = 1 | |
| 1663 | end | |
| 1664 | end | |
| 1665 | if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 1 end
| |
| 1666 | end | |
| 1667 | end) | |
| 1668 | ||
| 1669 | ADD_COMMAND('vis','vis [plr]',{},
| |
| 1670 | function(ARGS, SPEAKER) | |
| 1671 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1672 | for i,v in pairs(PLAYERS) do | |
| 1673 | local PCHAR = _PLAYERS[v].Character | |
| 1674 | for i,v in pairs(PCHAR:GetChildren()) do | |
| 1675 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 1676 | v.Transparency = 0 | |
| 1677 | end | |
| 1678 | if v:IsA('Accessory') and v:FindFirstChild('Handle') then
| |
| 1679 | v.Handle.Transparency = 0 | |
| 1680 | end | |
| 1681 | end | |
| 1682 | if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 0 end
| |
| 1683 | end | |
| 1684 | end) | |
| 1685 | ||
| 1686 | ADD_COMMAND('goto','goto [plr]',{},
| |
| 1687 | function(ARGS, SPEAKER) | |
| 1688 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1689 | for i,v in pairs(PLAYERS) do | |
| 1690 | local PCHAR = _PLAYERS[v].Character | |
| 1691 | if PCHAR then | |
| 1692 | SPEAKER.Character.HumanoidRootPart.CFrame = PCHAR.Torso.CFrame | |
| 1693 | end | |
| 1694 | end | |
| 1695 | end) | |
| 1696 | ||
| 1697 | ADD_COMMAND('bring','bring [plr]',{},
| |
| 1698 | function(ARGS, SPEAKER) | |
| 1699 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1700 | for i,v in pairs(PLAYERS) do | |
| 1701 | _PLAYERS[v].Character.HumanoidRootPart.CFrame = SPEAKER.Character.Torso.CFrame | |
| 1702 | end | |
| 1703 | end) | |
| 1704 | ||
| 1705 | ADD_COMMAND('tp','tp [plr] [plr]',{},
| |
| 1706 | function(ARGS, SPEAKER) | |
| 1707 | local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1], SPEAKER), GET_PLAYER(ARGS[2], SPEAKER) | |
| 1708 | for i,v in pairs(PLAYERS1) do for a,b in pairs(PLAYERS2) do | |
| 1709 | if _PLAYERS[v].Character and _PLAYERS[b].Character then | |
| 1710 | _PLAYERS[v].Character.HumanoidRootPart.CFrame = _PLAYERS[b].Character.Torso.CFrame | |
| 1711 | end | |
| 1712 | end end | |
| 1713 | end) | |
| 1714 | ||
| 1715 | ADD_COMMAND('char','char [plr] [id]',{'charapp'},
| |
| 1716 | function(ARGS, SPEAKER) | |
| 1717 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1718 | for i,v in pairs(PLAYERS) do | |
| 1719 | _PLAYERS[v].CharacterAppearanceId = ARGS[2] | |
| 1720 | _PLAYERS[v].Character:BreakJoints() | |
| 1721 | end | |
| 1722 | end) | |
| 1723 | ||
| 1724 | ADD_COMMAND('ws','ws [plr] [int]',{},
| |
| 1725 | function(ARGS, SPEAKER) | |
| 1726 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1727 | for i,v in pairs(PLAYERS) do | |
| 1728 | local PCHAR = _PLAYERS[v].Character | |
| 1729 | if PCHAR:FindFirstChild('Humanoid') then
| |
| 1730 | PCHAR.Humanoid.WalkSpeed = tonumber(ARGS[2]) | |
| 1731 | end | |
| 1732 | end | |
| 1733 | end) | |
| 1734 | ||
| 1735 | ADD_COMMAND('time','time [int]',{},
| |
| 1736 | function(ARGS, SPEAKER) | |
| 1737 | _LIGHTING:SetMinutesAfterMidnight(tonumber(ARGS[1]) * 60) | |
| 1738 | end) | |
| 1739 | ||
| 1740 | ADD_COMMAND('kick','kick [plr]',{},
| |
| 1741 | function(ARGS, SPEAKER) | |
| 1742 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1743 | for i,v in pairs(PLAYERS) do | |
| 1744 | table.insert(KICKS, _PLAYERS[v]) | |
| 1745 | end | |
| 1746 | end) | |
| 1747 | ||
| 1748 | ADD_COMMAND('ban','ban [plr]',{},
| |
| 1749 | function(ARGS, SPEAKER) | |
| 1750 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1751 | for i,v in pairs(PLAYERS) do | |
| 1752 | table.insert(BANS, _PLAYERS[v].userId) | |
| 1753 | table.insert(KICKS, _PLAYERS[v]) | |
| 1754 | UPDATE_BANS() | |
| 1755 | end | |
| 1756 | end) | |
| 1757 | ||
| 1758 | ADD_COMMAND('unban','unban [username]',{},
| |
| 1759 | function(ARGS, SPEAKER) | |
| 1760 | if FIND_IN_TABLE(BANS, game.Players:GetUserIdFromNameAsync(ARGS[1])) then | |
| 1761 | table.remove(BANS, GET_IN_TABLE(BANS, game.Players:GetUserIdFromNameAsync(ARGS[1]))) | |
| 1762 | UPDATE_BANS() | |
| 1763 | end | |
| 1764 | end) | |
| 1765 | ||
| 1766 | ADD_COMMAND('unlockws','unlock',{'unlock'},
| |
| 1767 | function(ARGS, SPEAKER) | |
| 1768 | local function UNLOCK(INSTANCE) | |
| 1769 | for i,v in pairs(INSTANCE:GetChildren()) do | |
| 1770 | if v:IsA('BasePart') then
| |
| 1771 | v.Locked = false | |
| 1772 | end | |
| 1773 | UNLOCK(v) | |
| 1774 | end | |
| 1775 | end | |
| 1776 | UNLOCK(workspace) | |
| 1777 | end) | |
| 1778 | ||
| 1779 | ADD_COMMAND('lockws','lock',{'lock'},
| |
| 1780 | function(ARGS, SPEAKER) | |
| 1781 | local function LOCK(INSTANCE) | |
| 1782 | for i,v in pairs(INSTANCE:GetChildren()) do | |
| 1783 | if v:IsA('BasePart') then
| |
| 1784 | v.Locked = true | |
| 1785 | end | |
| 1786 | LOCK(v) | |
| 1787 | end | |
| 1788 | end | |
| 1789 | LOCK(workspace) | |
| 1790 | end) | |
| 1791 | ||
| 1792 | ADD_COMMAND('unanchorws','unanchor',{'unanchor'},
| |
| 1793 | function(ARGS, SPEAKER) | |
| 1794 | local function UNANCHOR(INSTANCE) | |
| 1795 | for i,v in pairs(INSTANCE:GetChildren()) do | |
| 1796 | if v:IsA('BasePart') then
| |
| 1797 | v.Anchored = false | |
| 1798 | end | |
| 1799 | UNANCHOR(v) | |
| 1800 | end | |
| 1801 | end | |
| 1802 | UNANCHOR(workspace) | |
| 1803 | end) | |
| 1804 | ||
| 1805 | ADD_COMMAND('anchorws','anchor',{'anchor'},
| |
| 1806 | function(ARGS, SPEAKER) | |
| 1807 | local function ANCHOR(INSTANCE) | |
| 1808 | for i,v in pairs(INSTANCE:GetChildren()) do | |
| 1809 | if v:IsA('BasePart') then
| |
| 1810 | v.Anchored = true | |
| 1811 | end | |
| 1812 | ANCHOR(v) | |
| 1813 | end | |
| 1814 | end | |
| 1815 | ANCHOR(workspace) | |
| 1816 | end) | |
| 1817 | ||
| 1818 | ADD_COMMAND('hsize','hsize [plr] [int]',{'hatsize'},
| |
| 1819 | function(ARGS, SPEAKER) | |
| 1820 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1821 | for i,v in pairs(PLAYERS) do | |
| 1822 | for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do | |
| 1823 | if v:IsA('Accessory') then
| |
| 1824 | for a,b in pairs(v.Handle:GetChildren()) do | |
| 1825 | if b:IsA('SpecialMesh') then
| |
| 1826 | b.Scale = ARGS[2] * Vector3.new(1, 1, 1) | |
| 1827 | end | |
| 1828 | end | |
| 1829 | end | |
| 1830 | end | |
| 1831 | end | |
| 1832 | end) | |
| 1833 | ||
| 1834 | ADD_COMMAND('shats','shats [plr]',{'stealhats'},
| |
| 1835 | function(ARGS, SPEAKER) | |
| 1836 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1837 | for i,v in pairs(PLAYERS) do | |
| 1838 | for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do | |
| 1839 | if v:IsA('Accessory') then
| |
| 1840 | v.Parent = SPEAKER.Character | |
| 1841 | end | |
| 1842 | end | |
| 1843 | end | |
| 1844 | end) | |
| 1845 | ||
| 1846 | ADD_COMMAND('rhats','rhats [plr]',{'removehats'},
| |
| 1847 | function(ARGS, SPEAKER) | |
| 1848 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1849 | for i,v in pairs(PLAYERS) do | |
| 1850 | local PCHAR = _PLAYERS[v].Character | |
| 1851 | if PCHAR:FindFirstChild('Humanoid') then
| |
| 1852 | PCHAR.Humanoid:RemoveAccessories() | |
| 1853 | end | |
| 1854 | end | |
| 1855 | end) | |
| 1856 | ||
| 1857 | ADD_COMMAND('firstp','firstp [plr]',{},
| |
| 1858 | function(ARGS, SPEAKER) | |
| 1859 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1860 | for i,v in pairs(PLAYERS) do | |
| 1861 | _PLAYERS[v].CameraMode = 'LockFirstPerson' | |
| 1862 | end | |
| 1863 | end) | |
| 1864 | ||
| 1865 | ADD_COMMAND('thirdp','thirdp [plr]',{},
| |
| 1866 | function(ARGS, SPEAKER) | |
| 1867 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1868 | for i,v in pairs(PLAYERS) do | |
| 1869 | _PLAYERS[v].CameraMode = 'Classic' | |
| 1870 | end | |
| 1871 | end) | |
| 1872 | ||
| 1873 | ADD_COMMAND('chat','chat [plr] [string]',{},
| |
| 1874 | function(ARGS, SPEAKER) | |
| 1875 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1876 | for i,v in pairs(PLAYERS) do | |
| 1877 | game.Chat:Chat(_PLAYERS[v].Character.Head, GLS(false, 1)) | |
| 1878 | end | |
| 1879 | end) | |
| 1880 | ||
| 1881 | ADD_COMMAND('name','name [plr] [string]',{},
| |
| 1882 | function(ARGS, SPEAKER) | |
| 1883 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1884 | for i,v in pairs(PLAYERS) do | |
| 1885 | _PLAYERS[v].Character.Name = GLS(false, 1) | |
| 1886 | end | |
| 1887 | end) | |
| 1888 | ||
| 1889 | ADD_COMMAND('unname','unname [plr]',{},
| |
| 1890 | function(ARGS, SPEAKER) | |
| 1891 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1892 | for i,v in pairs(PLAYERS) do | |
| 1893 | _PLAYERS[v].Character.Name = _PLAYERS[v].Name | |
| 1894 | end | |
| 1895 | end) | |
| 1896 | ||
| 1897 | ADD_COMMAND('noname','noname [plr]',{},
| |
| 1898 | function(ARGS, SPEAKER) | |
| 1899 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1900 | for i,v in pairs(PLAYERS) do | |
| 1901 | _PLAYERS[v].Character.Name = '' | |
| 1902 | end | |
| 1903 | end) | |
| 1904 | ||
| 1905 | ADD_COMMAND('stun','stun [plr]',{},
| |
| 1906 | function(ARGS, SPEAKER) | |
| 1907 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1908 | for i,v in pairs(PLAYERS) do | |
| 1909 | local PCHAR = _PLAYERS[v].Character | |
| 1910 | PCHAR.Humanoid.PlatformStand = true | |
| 1911 | end | |
| 1912 | end) | |
| 1913 | ||
| 1914 | ADD_COMMAND('unstun','unstun [plr]',{},
| |
| 1915 | function(ARGS, SPEAKER) | |
| 1916 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1917 | for i,v in pairs(PLAYERS) do | |
| 1918 | local PCHAR = _PLAYERS[v].Character | |
| 1919 | PCHAR.Humanoid.PlatformStand = false | |
| 1920 | end | |
| 1921 | end) | |
| 1922 | ||
| 1923 | ADD_COMMAND('guest','guest [plr]',{},
| |
| 1924 | function(ARGS, SPEAKER) | |
| 1925 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1926 | for i,v in pairs(PLAYERS) do | |
| 1927 | local PCHAR = _PLAYERS[v].Character | |
| 1928 | _PLAYERS[v].CharacterAppearanceId = 1 | |
| 1929 | PCHAR:BreakJoints() | |
| 1930 | end | |
| 1931 | end) | |
| 1932 | ||
| 1933 | ADD_COMMAND('noob','noob [plr]',{},
| |
| 1934 | function(ARGS, SPEAKER) | |
| 1935 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1936 | for i,v in pairs(PLAYERS) do | |
| 1937 | local PCHAR = _PLAYERS[v].Character | |
| 1938 | _PLAYERS[v].CharacterAppearanceId = 155902847 | |
| 1939 | PCHAR:BreakJoints() | |
| 1940 | end | |
| 1941 | end) | |
| 1942 | ||
| 1943 | ADD_COMMAND('damage','damage [plr] [int]',{},
| |
| 1944 | function(ARGS, SPEAKER) | |
| 1945 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1946 | for i,v in pairs(PLAYERS) do | |
| 1947 | _PLAYERS[v].Character.Humanoid:TakeDamage(ARGS[2]) | |
| 1948 | end | |
| 1949 | end) | |
| 1950 | ||
| 1951 | ADD_COMMAND('view','view [plr]',{},
| |
| 1952 | function(ARGS, SPEAKER) | |
| 1953 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1954 | for i,v in pairs(PLAYERS) do | |
| 1955 | local PCHAR = _PLAYERS[v].Character | |
| 1956 | workspace.CurrentCamera.CameraSubject = PCHAR | |
| 1957 | end | |
| 1958 | end) | |
| 1959 | ||
| 1960 | ADD_COMMAND('unview','unview',{},
| |
| 1961 | function() | |
| 1962 | workspace.CurrentCamera.CameraSubject = _PLAYERS.LocalPlayer.Character | |
| 1963 | end) | |
| 1964 | ||
| 1965 | ADD_COMMAND('nolimbs','nolimbs [plr]',{},
| |
| 1966 | function(ARGS, SPEAKER) | |
| 1967 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1968 | for i,v in pairs(PLAYERS) do | |
| 1969 | local PCHAR = _PLAYERS[v].Character | |
| 1970 | for i,v in pairs(PCHAR:GetChildren()) do | |
| 1971 | local LIMB = PCHAR.Humanoid:GetLimb(v) | |
| 1972 | if v:IsA('BasePart') and PCHAR:FindFirstChild('Humanoid') and LIMB ~= Enum.Limb.Unknown and LIMB ~= Enum.Limb.Head and LIMB ~= Enum.Limb.Torso then
| |
| 1973 | v:destroy() | |
| 1974 | end | |
| 1975 | end | |
| 1976 | end | |
| 1977 | end) | |
| 1978 | ||
| 1979 | ADD_COMMAND('box','box [plr]',{},
| |
| 1980 | function(ARGS, SPEAKER) | |
| 1981 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1982 | for i,v in pairs(PLAYERS) do | |
| 1983 | local PCHAR = _PLAYERS[v].Character | |
| 1984 | local SB = Instance.new('SelectionBox', PCHAR)
| |
| 1985 | SB.Adornee = SB.Parent | |
| 1986 | SB.Color = BrickColor.new('' .. (ARGS[2]))
| |
| 1987 | end | |
| 1988 | end) | |
| 1989 | ||
| 1990 | ADD_COMMAND('unbox','nobox [plr]',{},
| |
| 1991 | function(ARGS, SPEAKER) | |
| 1992 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 1993 | for i,v in pairs(PLAYERS) do | |
| 1994 | local PCHAR = _PLAYERS[v].Character | |
| 1995 | for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do | |
| 1996 | if v:IsA('SelectionBox') then
| |
| 1997 | v:destroy() | |
| 1998 | end | |
| 1999 | end | |
| 2000 | end | |
| 2001 | end) | |
| 2002 | ||
| 2003 | ADD_COMMAND('ghost','ghost [plr]',{},
| |
| 2004 | function(ARGS, SPEAKER) | |
| 2005 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2006 | for i,v in pairs(PLAYERS) do | |
| 2007 | local PCHAR = _PLAYERS[v].Character | |
| 2008 | for i,v in pairs(PCHAR:GetChildren()) do | |
| 2009 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 2010 | v.Transparency = 0.5 | |
| 2011 | elseif v:IsA('Accessory') and v:FindFirstChild('Handle') then
| |
| 2012 | v.Handle.Transparency = 0.5 | |
| 2013 | elseif PCHAR.Head:FindFirstChild('face') then
| |
| 2014 | PCHAR.Head.face.Transparency = 0.5 | |
| 2015 | end | |
| 2016 | end | |
| 2017 | end | |
| 2018 | end) | |
| 2019 | ||
| 2020 | ADD_COMMAND('sphere','sphere [plr]',{},
| |
| 2021 | function(ARGS, SPEAKER) | |
| 2022 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2023 | for i,v in pairs(PLAYERS) do | |
| 2024 | local PCHAR=_PLAYERS[v].Character | |
| 2025 | local SS = Instance.new('SelectionSphere', PCHAR)
| |
| 2026 | SS.Adornee = SS.Parent | |
| 2027 | end | |
| 2028 | end) | |
| 2029 | ||
| 2030 | ADD_COMMAND('sky','sky [id]',{},
| |
| 2031 | function(ARGS, SPEAKER) | |
| 2032 | if ARGS[1] then | |
| 2033 | for i,v in pairs(_LIGHTING:GetChildren()) do if v:IsA('Sky') then v:destroy() end end
| |
| 2034 | local SKIES = {'Bk', 'Dn', 'Ft', 'Lf', 'Rt', 'Up'}
| |
| 2035 | local SKY = Instance.new('Sky', _LIGHTING)
| |
| 2036 | for i,v in pairs(SKIES) do | |
| 2037 | SKY['Skybox' .. v] = 'rbxassetid://' .. ARGS[1] - 1 | |
| 2038 | end | |
| 2039 | end | |
| 2040 | end) | |
| 2041 | ||
| 2042 | ADD_COMMAND('ambient','ambient [r] [g] [b]',{},
| |
| 2043 | function(ARGS, SPEAKER) | |
| 2044 | if ARGS[1] and ARGS[2] and ARGS[3] then | |
| 2045 | _LIGHTING.Ambient = C3(ARGS[1], ARGS[2], ARGS[3]) | |
| 2046 | end | |
| 2047 | end) | |
| 2048 | ||
| 2049 | ADD_COMMAND('jail','jail [plr]',{},
| |
| 2050 | function(ARGS, SPEAKER) | |
| 2051 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2052 | for i,v in pairs(PLAYERS) do | |
| 2053 | if FIND_IN_TABLE(JAILED, _PLAYERS[v].Name) then return end | |
| 2054 | table.insert(JAILED, _PLAYERS[v].Name) | |
| 2055 | local PCHAR = _PLAYERS[v].Character | |
| 2056 | local J = JAIL:Clone() J.Parent = workspace J:MoveTo(PCHAR.Torso.Position) J.Name = 'JAIL_' .. _PLAYERS[v].Name | |
| 2057 | repeat wait() | |
| 2058 | PCHAR = _PLAYERS[v].Character if PCHAR and PCHAR:FindFirstChild('HumanoidRootPart') and J:FindFirstChild('MAIN') then PCHAR.HumanoidRootPart.CFrame = J.MAIN.CFrame + Vector3.new(0, 1, 0) end
| |
| 2059 | until not FIND_IN_TABLE(JAILED, _PLAYERS[v].Name) | |
| 2060 | end | |
| 2061 | end) | |
| 2062 | ||
| 2063 | ADD_COMMAND('unjail','unjail [plr]',{},
| |
| 2064 | function(ARGS, SPEAKER) | |
| 2065 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2066 | for i,v in pairs(PLAYERS) do | |
| 2067 | for a,b in pairs(JAILED) do if b == _PLAYERS[v].Name then table.remove(JAILED, a) end end | |
| 2068 | if workspace:FindFirstChild('JAIL_' .. _PLAYERS[v].Name) then workspace['JAIL_' .. _PLAYERS[v].Name]:destroy() end
| |
| 2069 | end | |
| 2070 | end) | |
| 2071 | ||
| 2072 | ADD_COMMAND('animation','animation [plr] [id]',{'anim'},
| |
| 2073 | function(ARGS, SPEAKER) | |
| 2074 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2075 | for i,v in pairs(PLAYERS) do | |
| 2076 | local ID = ARGS[2] | |
| 2077 | if ARGS[2] == 'climb' then ID = '180436334' end | |
| 2078 | if ARGS[2] == 'fall' then ID = '180436148' end | |
| 2079 | if ARGS[2] == 'jump' then ID = '125750702' end | |
| 2080 | if ARGS[2] == 'sit' then ID = '178130996' end | |
| 2081 | for a,b in pairs(_PLAYERS[v].Character.Animate:GetChildren()) do | |
| 2082 | if b:IsA('StringValue') then
| |
| 2083 | for c,d in pairs(b:GetChildren()) do | |
| 2084 | if d:IsA('Animation') then
| |
| 2085 | d.AnimationId = 'rbxassetid://' .. ID | |
| 2086 | end | |
| 2087 | end | |
| 2088 | end | |
| 2089 | end | |
| 2090 | end | |
| 2091 | end) | |
| 2092 | ||
| 2093 | ADD_COMMAND('fix','fix [plr]',{},
| |
| 2094 | function(ARGS, SPEAKER) | |
| 2095 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2096 | for i,v in pairs(PLAYERS) do | |
| 2097 | local PCHAR = _PLAYERS[v].Character | |
| 2098 | RESET_MODEL(PCHAR) | |
| 2099 | UPDATE_MODEL(PCHAR, _PLAYERS[v].Name) | |
| 2100 | end | |
| 2101 | end) | |
| 2102 | ||
| 2103 | ADD_COMMAND('creeper','creeper [plr]',{'crpr'},
| |
| 2104 | function(ARGS, SPEAKER) | |
| 2105 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2106 | for i,v in pairs(PLAYERS) do | |
| 2107 | CREEPER(_PLAYERS[v]) | |
| 2108 | end | |
| 2109 | end) | |
| 2110 | ||
| 2111 | ADD_COMMAND('uncreeper','uncreeper [plr]',{},
| |
| 2112 | function(ARGS, SPEAKER) | |
| 2113 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2114 | for i,v in pairs(PLAYERS) do | |
| 2115 | local PCHAR = _PLAYERS[v].Character | |
| 2116 | RESET_MODEL(PCHAR) | |
| 2117 | UPDATE_MODEL(PCHAR, _PLAYERS[v].Name) | |
| 2118 | end | |
| 2119 | end) | |
| 2120 | ||
| 2121 | ADD_COMMAND('shrek','shrek [plr]',{},
| |
| 2122 | function(ARGS, SPEAKER) | |
| 2123 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2124 | for i,v in pairs(PLAYERS) do | |
| 2125 | SHREK(_PLAYERS[v]) | |
| 2126 | end | |
| 2127 | end) | |
| 2128 | ||
| 2129 | ADD_COMMAND('unshrek','unshrek [plr]',{},
| |
| 2130 | function(ARGS, SPEAKER) | |
| 2131 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2132 | for i,v in pairs(PLAYERS) do | |
| 2133 | local PCHAR = _PLAYERS[v].Character | |
| 2134 | RESET_MODEL(PCHAR) | |
| 2135 | UPDATE_MODEL(PCHAR, _PLAYERS[v].Name) | |
| 2136 | end | |
| 2137 | end) | |
| 2138 | ||
| 2139 | ADD_COMMAND('nuke','nuke [plr]',{},
| |
| 2140 | function(ARGS, SPEAKER) | |
| 2141 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2142 | for i,v in pairs(PLAYERS) do | |
| 2143 | local PCHAR = _PLAYERS[v].Character | |
| 2144 | spawn(function() | |
| 2145 | if _PLAYERS[v] and PCHAR and PCHAR:FindFirstChild('Torso') then
| |
| 2146 | local N = Instance.new('Part', workspace)
| |
| 2147 | N.Name = 'nuke_seth' | |
| 2148 | N.Anchored = true | |
| 2149 | N.CanCollide = false | |
| 2150 | N.Shape = 'Ball' | |
| 2151 | N.Size = Vector3.new(1, 1, 1) | |
| 2152 | N.BrickColor = BrickColor.new('New Yeller')
| |
| 2153 | N.Transparency = 0.5 | |
| 2154 | N.Reflectance = 0.2 | |
| 2155 | N.TopSurface = 0 | |
| 2156 | N.BottomSurface = 0 | |
| 2157 | N.Touched:connect(function(T) | |
| 2158 | if T and T.Parent then | |
| 2159 | local E = Instance.new('Explosion', workspace)
| |
| 2160 | E.Position = T.Position | |
| 2161 | E.BlastRadius = 20 | |
| 2162 | E.BlastPressure = math.huge | |
| 2163 | end | |
| 2164 | end) | |
| 2165 | local CF = PCHAR.Torso.CFrame | |
| 2166 | N.CFrame = CF | |
| 2167 | for i = 1,30 do | |
| 2168 | N.Size = N.Size + Vector3.new(5, 5, 5) | |
| 2169 | N.CFrame = CF | |
| 2170 | wait(1 / 44) | |
| 2171 | end | |
| 2172 | N:destroy() | |
| 2173 | end | |
| 2174 | end) | |
| 2175 | end | |
| 2176 | end) | |
| 2177 | ||
| 2178 | ADD_COMMAND('unnuke','nonuke',{},
| |
| 2179 | function(ARGS, SPEAKER) | |
| 2180 | for i,v in pairs(workspace:GetChildren()) do | |
| 2181 | if v:IsA('Part') and v.Name == 'nuke_seth' then
| |
| 2182 | v:destroy() | |
| 2183 | end | |
| 2184 | end | |
| 2185 | end) | |
| 2186 | ||
| 2187 | ADD_COMMAND('infect','infect [plr]',{},
| |
| 2188 | function(ARGS, SPEAKER) | |
| 2189 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2190 | for i,v in pairs(PLAYERS) do | |
| 2191 | INFECT(_PLAYERS[v]) | |
| 2192 | end | |
| 2193 | end) | |
| 2194 | ||
| 2195 | ADD_COMMAND('uninfect','uninfect [plr]',{},
| |
| 2196 | function(ARGS, SPEAKER) | |
| 2197 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2198 | for i,v in pairs(PLAYERS) do | |
| 2199 | local PCHAR = _PLAYERS[v].Character | |
| 2200 | RESET_MODEL(PCHAR) | |
| 2201 | UPDATE_MODEL(PCHAR, _PLAYERS[v].Name) | |
| 2202 | end | |
| 2203 | end) | |
| 2204 | ||
| 2205 | ADD_COMMAND('duck','duck [plr]',{},
| |
| 2206 | function(ARGS, SPEAKER) | |
| 2207 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2208 | for i,v in pairs(PLAYERS) do | |
| 2209 | DUCK(_PLAYERS[v]) | |
| 2210 | end | |
| 2211 | end) | |
| 2212 | ||
| 2213 | ADD_COMMAND('unduck','unduck [plr]',{},
| |
| 2214 | function(ARGS, SPEAKER) | |
| 2215 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2216 | for i,v in pairs(PLAYERS) do | |
| 2217 | local PCHAR = _PLAYERS[v].Character | |
| 2218 | RESET_MODEL(PCHAR) | |
| 2219 | UPDATE_MODEL(PCHAR, _PLAYERS[v].Name) | |
| 2220 | end | |
| 2221 | end) | |
| 2222 | ||
| 2223 | ADD_COMMAND('disable','disable [plr]',{},
| |
| 2224 | function(ARGS, SPEAKER) | |
| 2225 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2226 | for i,v in pairs(PLAYERS) do | |
| 2227 | local PCHAR = _PLAYERS[v].Character | |
| 2228 | if PCHAR:FindFirstChild('Humanoid') then
| |
| 2229 | PCHAR.Humanoid.Name = 'HUMANOID_' .. _PLAYERS[v].Name | |
| 2230 | local humanoid = PCHAR['HUMANOID_' .. _PLAYERS[v].Name] | |
| 2231 | humanoid.Parent = HUMANOIDS | |
| 2232 | end | |
| 2233 | end | |
| 2234 | end) | |
| 2235 | ||
| 2236 | ADD_COMMAND('enable','enable [plr]',{},
| |
| 2237 | function(ARGS, SPEAKER) | |
| 2238 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2239 | for i,v in pairs(PLAYERS) do | |
| 2240 | local PCHAR = _PLAYERS[v].Character | |
| 2241 | if PCHAR:FindFirstChild('Humanoid') then
| |
| 2242 | return | |
| 2243 | else | |
| 2244 | if HUMANOIDS:FindFirstChild('HUMANOID_' .. _PLAYERS[v].Name) then
| |
| 2245 | local humanoid = HUMANOIDS['HUMANOID_' .. _PLAYERS[v].Name] humanoid.Parent = PCHAR humanoid.Name = 'Humanoid' | |
| 2246 | end | |
| 2247 | end | |
| 2248 | end | |
| 2249 | end) | |
| 2250 | ||
| 2251 | ADD_COMMAND('size','size [plr] [int]',{},
| |
| 2252 | function(ARGS, SPEAKER) | |
| 2253 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2254 | for i,v in pairs(PLAYERS) do | |
| 2255 | SCALE(_PLAYERS[v].Character, ARGS[2]) | |
| 2256 | end | |
| 2257 | end) | |
| 2258 | ||
| 2259 | ADD_COMMAND('clone','clone [plr]',{},
| |
| 2260 | function(ARGS, SPEAKER) | |
| 2261 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2262 | for i,v in pairs(PLAYERS) do | |
| 2263 | local PCHAR = _PLAYERS[v].Character PCHAR.Archivable = true | |
| 2264 | local C = PCHAR:Clone() C.Parent = workspace C:MoveTo(PCHAR:GetModelCFrame().p) C:MakeJoints() | |
| 2265 | PCHAR.Archivable = false | |
| 2266 | end | |
| 2267 | end) | |
| 2268 | ||
| 2269 | ADD_COMMAND('spin','spin [plr]',{},
| |
| 2270 | function(ARGS, SPEAKER) | |
| 2271 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2272 | for i,v in pairs(PLAYERS) do | |
| 2273 | local PCHAR = _PLAYERS[v].Character | |
| 2274 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
| 2275 | if v.Name == 'SPIN' then | |
| 2276 | v:destroy() | |
| 2277 | end | |
| 2278 | end | |
| 2279 | local T = PCHAR.Torso | |
| 2280 | local BG = Instance.new('BodyGyro', T) BG.Name = 'SPIN' BG.maxTorque = Vector3.new(0, math.huge, 0) BG.P = 11111 BG.cframe = T.CFrame
| |
| 2281 | spawn(function() | |
| 2282 | repeat wait(1/44) | |
| 2283 | BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0) | |
| 2284 | until not BG or BG.Parent ~= T | |
| 2285 | end) | |
| 2286 | end | |
| 2287 | end) | |
| 2288 | ||
| 2289 | ADD_COMMAND('unspin','unspin [plr]',{},
| |
| 2290 | function(ARGS, SPEAKER) | |
| 2291 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2292 | for i,v in pairs(PLAYERS) do | |
| 2293 | local PCHAR = _PLAYERS[v].Character | |
| 2294 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
| 2295 | if v.Name == 'SPIN' then | |
| 2296 | v:destroy() | |
| 2297 | end | |
| 2298 | end | |
| 2299 | end | |
| 2300 | end) | |
| 2301 | ||
| 2302 | ADD_COMMAND('dog','dog [plr]',{},
| |
| 2303 | function(ARGS, SPEAKER) | |
| 2304 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2305 | for i,v in pairs(PLAYERS) do | |
| 2306 | DOG(_PLAYERS[v]) | |
| 2307 | end | |
| 2308 | end) | |
| 2309 | ||
| 2310 | ADD_COMMAND('undog','undog [plr]',{},
| |
| 2311 | function(ARGS, SPEAKER) | |
| 2312 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2313 | for i,v in pairs(PLAYERS) do | |
| 2314 | local PCHAR = _PLAYERS[v].Character | |
| 2315 | RESET_MODEL(PCHAR) | |
| 2316 | UPDATE_MODEL(PCHAR, _PLAYERS[v].Name) | |
| 2317 | end | |
| 2318 | end) | |
| 2319 | ||
| 2320 | ADD_COMMAND('loopheal','loopheal [plr]',{'lheal'},
| |
| 2321 | function(ARGS, SPEAKER) | |
| 2322 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2323 | for i,v in pairs(PLAYERS) do | |
| 2324 | if not FIND_IN_TABLE(LOOPED_H, _PLAYERS[v].Name) then | |
| 2325 | table.insert(LOOPED_H, _PLAYERS[v].Name) | |
| 2326 | end | |
| 2327 | end | |
| 2328 | end) | |
| 2329 | ||
| 2330 | ADD_COMMAND('unloopheal','unloopheal [plr]',{'unlheal'},
| |
| 2331 | function(ARGS, SPEAKER) | |
| 2332 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2333 | for i,v in pairs(PLAYERS) do | |
| 2334 | if FIND_IN_TABLE(LOOPED_H, _PLAYERS[v].Name) then | |
| 2335 | table.remove(LOOPED_H, GET_IN_TABLE(LOOPED_H, _PLAYERS[v].Name)) | |
| 2336 | end | |
| 2337 | end | |
| 2338 | end) | |
| 2339 | ||
| 2340 | ADD_COMMAND('loopkill','loopheal [plr]',{'lheal'},
| |
| 2341 | function(ARGS, SPEAKER) | |
| 2342 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2343 | for i,v in pairs(PLAYERS) do | |
| 2344 | if not FIND_IN_TABLE(LOOPED_K, _PLAYERS[v].Name) then | |
| 2345 | table.insert(LOOPED_K, _PLAYERS[v].Name) | |
| 2346 | end | |
| 2347 | end | |
| 2348 | end) | |
| 2349 | ||
| 2350 | ADD_COMMAND('unloopkill','unloopkill [plr]',{'unlkill'},
| |
| 2351 | function(ARGS, SPEAKER) | |
| 2352 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2353 | for i,v in pairs(PLAYERS) do | |
| 2354 | if FIND_IN_TABLE(LOOPED_K, _PLAYERS[v].Name) then | |
| 2355 | table.remove(LOOPED_K, GET_IN_TABLE(LOOPED_K, _PLAYERS[v].Name)) | |
| 2356 | end | |
| 2357 | end | |
| 2358 | end) | |
| 2359 | ||
| 2360 | ADD_COMMAND('fling','fling [plr]',{},
| |
| 2361 | function(ARGS, SPEAKER) | |
| 2362 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2363 | for i,v in pairs(PLAYERS) do | |
| 2364 | local PCHAR = _PLAYERS[v].Character | |
| 2365 | if PCHAR:FindFirstChild('Humanoid') then
| |
| 2366 | local X | |
| 2367 | local Z | |
| 2368 | repeat | |
| 2369 | X = math.random(-9999, 9999) | |
| 2370 | until math.abs(X) >= 5555 | |
| 2371 | repeat | |
| 2372 | Z = math.random(-9999, 9999) | |
| 2373 | until math.abs(Z) >= 5555 | |
| 2374 | PCHAR.Torso.Velocity = Vector3.new(0, 0, 0) | |
| 2375 | local BF = Instance.new('BodyForce', PCHAR.Torso) BF.force = Vector3.new(X * 4, 9999 * 5, Z * 4)
| |
| 2376 | end | |
| 2377 | end | |
| 2378 | end) | |
| 2379 | ||
| 2380 | ADD_COMMAND('alien','alien [plr]',{},
| |
| 2381 | function(ARGS, SPEAKER) | |
| 2382 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2383 | for i,v in pairs(PLAYERS) do | |
| 2384 | ALIEN(_PLAYERS[v]) | |
| 2385 | end | |
| 2386 | end) | |
| 2387 | ||
| 2388 | ADD_COMMAND('nograv','nograv [plr]',{},
| |
| 2389 | function(ARGS, SPEAKER) | |
| 2390 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2391 | for i,v in pairs(PLAYERS) do | |
| 2392 | if not _PLAYERS[v].Character.Torso:FindFirstChild('nograv_seth') then
| |
| 2393 | NEW'BodyForce'{Name = 'nograv_seth', Force = Vector3.new(0, GET_MASS(_PLAYERS[v].Character) * 196.2, 0), Parent = _PLAYERS[v].Character.Torso}
| |
| 2394 | end | |
| 2395 | end | |
| 2396 | end) | |
| 2397 | ||
| 2398 | ADD_COMMAND('grav','grav [plr]',{},
| |
| 2399 | function(ARGS, SPEAKER) | |
| 2400 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2401 | for i,v in pairs(PLAYERS) do | |
| 2402 | if _PLAYERS[v].Character.Torso:FindFirstChild('nograv_seth') then
| |
| 2403 | _PLAYERS[v].Character.Torso.nograv_seth:destroy() | |
| 2404 | end | |
| 2405 | end | |
| 2406 | end) | |
| 2407 | ||
| 2408 | ADD_COMMAND('cape','cape [brick color]',{},
| |
| 2409 | function(ARGS, SPEAKER) | |
| 2410 | spawn(function() | |
| 2411 | if LP.Character:FindFirstChild('Cape') then
| |
| 2412 | LP.Character.Cape:destroy() | |
| 2413 | end | |
| 2414 | if not ARGS[1] then | |
| 2415 | ARGS[1] = 'Deep blue' | |
| 2416 | end | |
| 2417 | CAPE(GLS(false, 1)) | |
| 2418 | end) | |
| 2419 | end) | |
| 2420 | ||
| 2421 | ADD_COMMAND('uncape','uncape',{},
| |
| 2422 | function(ARGS, SPEAKER) | |
| 2423 | if LP.Character:FindFirstChild('cape_seth') then
| |
| 2424 | LP.Character.cape_seth:destroy() | |
| 2425 | end | |
| 2426 | end) | |
| 2427 | ||
| 2428 | ADD_COMMAND('paper','paper [plr]',{},
| |
| 2429 | function(ARGS, SPEAKER) | |
| 2430 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2431 | for i,v in pairs(PLAYERS) do | |
| 2432 | local PCHAR = _PLAYERS[v].Character | |
| 2433 | for i,v in pairs(PCHAR:GetChildren()) do | |
| 2434 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 2435 | PAPER_MESH:Clone().Parent = v | |
| 2436 | end | |
| 2437 | end | |
| 2438 | end | |
| 2439 | end) | |
| 2440 | ||
| 2441 | ADD_COMMAND('punish','punish [plr]',{},
| |
| 2442 | function(ARGS, SPEAKER) | |
| 2443 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2444 | for i,v in pairs(PLAYERS) do | |
| 2445 | _PLAYERS[v].Character.Parent = nil | |
| 2446 | end | |
| 2447 | end) | |
| 2448 | ||
| 2449 | ADD_COMMAND('unpunish','unpunish [plr]',{},
| |
| 2450 | function(ARGS, SPEAKER) | |
| 2451 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2452 | for i,v in pairs(PLAYERS) do | |
| 2453 | _PLAYERS[v].Character.Parent = workspace | |
| 2454 | end | |
| 2455 | end) | |
| 2456 | ||
| 2457 | local DISCO = false | |
| 2458 | ||
| 2459 | ADD_COMMAND('disco','disco',{},
| |
| 2460 | function(ARGS, SPEAKER) | |
| 2461 | DISCO = true | |
| 2462 | if not DISCO then | |
| 2463 | spawn(function() | |
| 2464 | repeat wait(1) _LIGHTING.Ambient = C3(math.random(), math.random(), math.random()) until not DISCO | |
| 2465 | end) | |
| 2466 | end | |
| 2467 | end) | |
| 2468 | ||
| 2469 | ADD_COMMAND('undisco','undisco',{},
| |
| 2470 | function(ARGS, SPEAKER) | |
| 2471 | DISCO = false | |
| 2472 | end) | |
| 2473 | ||
| 2474 | ADD_COMMAND('team','team [plr] [team]',{},
| |
| 2475 | function(ARGS, SPEAKER) | |
| 2476 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2477 | for i,v in pairs(PLAYERS) do | |
| 2478 | for a,b in pairs(game.Teams:GetChildren()) do | |
| 2479 | if string.lower(b.Name) == GLS(true, 1) then | |
| 2480 | _PLAYERS[v].Team = b | |
| 2481 | end | |
| 2482 | end | |
| 2483 | end | |
| 2484 | end) | |
| 2485 | ||
| 2486 | ADD_COMMAND('jp','jp [plr] [int]',{},
| |
| 2487 | function(ARGS, SPEAKER) | |
| 2488 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2489 | for i,v in pairs(PLAYERS) do | |
| 2490 | local PCHAR = _PLAYERS[v].Character | |
| 2491 | if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.JumpPower = ARGS[2] end
| |
| 2492 | end | |
| 2493 | end) | |
| 2494 | ||
| 2495 | ADD_COMMAND('smallhead','smallhead [plr]',{'shead'},
| |
| 2496 | function(ARGS, SPEAKER) | |
| 2497 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2498 | for i,v in pairs(PLAYERS) do | |
| 2499 | local PCHAR = _PLAYERS[v].Character | |
| 2500 | PCHAR.Head.Mesh.Scale = Vector3.new(0.5, 0.5, 0.5) | |
| 2501 | PCHAR.Head.Mesh.Offset = Vector3.new(0, -0.25, 0) | |
| 2502 | end | |
| 2503 | end) | |
| 2504 | ||
| 2505 | ADD_COMMAND('bighead','bighead [plr]',{'bhead'},
| |
| 2506 | function(ARGS, SPEAKER) | |
| 2507 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2508 | for i,v in pairs(PLAYERS) do | |
| 2509 | local PCHAR = _PLAYERS[v].Character | |
| 2510 | PCHAR.Head.Mesh.Scale = Vector3.new(2.25, 2.25, 2.25) | |
| 2511 | PCHAR.Head.Mesh.Offset = Vector3.new(0, 0.5, 0) | |
| 2512 | end | |
| 2513 | end) | |
| 2514 | ||
| 2515 | ADD_COMMAND('headsize','headsize [plr] [int]',{'hsize'},
| |
| 2516 | function(ARGS, SPEAKER) | |
| 2517 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2518 | for i,v in pairs(PLAYERS) do | |
| 2519 | local PCHAR = _PLAYERS[v].Character | |
| 2520 | if ARGS[2] == 1 then | |
| 2521 | PCHAR.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 2522 | PCHAR.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
| 2523 | else | |
| 2524 | PCHAR.Head.Mesh.Scale = ARGS[2] * Vector3.new(1.25, 1.25, 1.25) | |
| 2525 | end | |
| 2526 | end | |
| 2527 | end) | |
| 2528 | ||
| 2529 | ADD_COMMAND('fixhead','fixhead [plr]',{'fhead'},
| |
| 2530 | function(ARGS, SPEAKER) | |
| 2531 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2532 | for i,v in pairs(PLAYERS) do | |
| 2533 | local PCHAR = _PLAYERS[v].Character | |
| 2534 | PCHAR.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 2535 | PCHAR.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
| 2536 | PCHAR.Head.Transparency = 0 | |
| 2537 | if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 0 end
| |
| 2538 | end | |
| 2539 | end) | |
| 2540 | ||
| 2541 | ADD_COMMAND('removehead','removehead [plr]',{'rhead'},
| |
| 2542 | function(ARGS, SPEAKER) | |
| 2543 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2544 | for i,v in pairs(PLAYERS) do | |
| 2545 | local PCHAR = _PLAYERS[v].Character | |
| 2546 | PCHAR.Head.Transparency = 1 | |
| 2547 | if PCHAR.Head:FindFirstChild('face') then PCHAR.Head.face.Transparency = 1 end
| |
| 2548 | end | |
| 2549 | end) | |
| 2550 | ||
| 2551 | ADD_COMMAND('stealtools','stealtools [plr]',{'stools'},
| |
| 2552 | function(ARGS, SPEAKER) | |
| 2553 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2554 | for i,v in pairs(PLAYERS) do | |
| 2555 | for i,v in pairs(_PLAYERS[v].Backpack:GetChildren()) do | |
| 2556 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 2557 | v.Parent = LP.Backpack | |
| 2558 | end | |
| 2559 | end | |
| 2560 | end | |
| 2561 | end) | |
| 2562 | ||
| 2563 | ADD_COMMAND('removetools','removetools [plr]',{'rtools'},
| |
| 2564 | function(ARGS, SPEAKER) | |
| 2565 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2566 | for i,v in pairs(PLAYERS) do | |
| 2567 | for i,v in pairs(_PLAYERS[v].Backpack:GetChildren()) do | |
| 2568 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 2569 | v:destroy() | |
| 2570 | end | |
| 2571 | end | |
| 2572 | end | |
| 2573 | end) | |
| 2574 | ||
| 2575 | ADD_COMMAND('clonetools','clonetools [plr]',{'ctools'},
| |
| 2576 | function(ARGS, SPEAKER) | |
| 2577 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2578 | for i,v in pairs(PLAYERS) do | |
| 2579 | for i,v in pairs(_PLAYERS[v].Backpack:GetChildren()) do | |
| 2580 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 2581 | v:Clone().Parent = LP.Backpack | |
| 2582 | end | |
| 2583 | end | |
| 2584 | end | |
| 2585 | end) | |
| 2586 | ||
| 2587 | ADD_COMMAND('dong','dong [plr]',{},
| |
| 2588 | function(ARGS, SPEAKER) | |
| 2589 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2590 | for i,v in pairs(PLAYERS) do | |
| 2591 | local PCHAR = _PLAYERS[v].Character | |
| 2592 | if ARGS[2] == 'black' then | |
| 2593 | CREATE_DONG(_PLAYERS[v], 'Brown') | |
| 2594 | end | |
| 2595 | if ARGS[2] == 'asian' then | |
| 2596 | CREATE_DONG(_PLAYERS[v], 'Cool yellow') | |
| 2597 | end | |
| 2598 | if ARGS[2] == 'alien' then | |
| 2599 | CREATE_DONG(_PLAYERS[v], 'Lime green') | |
| 2600 | end | |
| 2601 | if ARGS[2] == 'frozen' then | |
| 2602 | CREATE_DONG(_PLAYERS[v], 1019) | |
| 2603 | end | |
| 2604 | if not ARGS[2] then | |
| 2605 | CREATE_DONG(_PLAYERS[v], 'Pastel brown') | |
| 2606 | end | |
| 2607 | end | |
| 2608 | end) | |
| 2609 | ||
| 2610 | ADD_COMMAND('particles','particles [plr] [id]',{'pts'},
| |
| 2611 | function(ARGS, SPEAKER) | |
| 2612 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2613 | for i,v in pairs(PLAYERS) do | |
| 2614 | local PCHAR = _PLAYERS[v].Character | |
| 2615 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
| 2616 | if v:IsA('ParticleEmitter') then
| |
| 2617 | v:destroy() | |
| 2618 | end | |
| 2619 | end | |
| 2620 | Instance.new('ParticleEmitter', PCHAR.Torso).Texture = 'rbxassetid://' .. ARGS[2] - 1
| |
| 2621 | end | |
| 2622 | end) | |
| 2623 | ||
| 2624 | ADD_COMMAND('rocket','rocket [plr]',{},
| |
| 2625 | function(ARGS, SPEAKER) | |
| 2626 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2627 | for i,v in pairs(PLAYERS) do | |
| 2628 | local PCHAR = _PLAYERS[v].Character | |
| 2629 | spawn(function() | |
| 2630 | local R = ROCKET:Clone() | |
| 2631 | R.Parent = workspace | |
| 2632 | local W = Instance.new('Weld', R)
| |
| 2633 | W.Part0 = W.Parent | |
| 2634 | W.Part1 = PCHAR.Torso | |
| 2635 | W.C1 = CFrame.new(0, 0.5, 1) | |
| 2636 | R.force.Force = Vector3.new(0, 15000, 0) | |
| 2637 | wait() | |
| 2638 | PCHAR.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0) | |
| 2639 | wait(5) | |
| 2640 | Instance.new('Explosion', R).Position = R.Position
| |
| 2641 | wait(1) | |
| 2642 | R:destroy() | |
| 2643 | end) | |
| 2644 | end | |
| 2645 | end) | |
| 2646 | ||
| 2647 | ADD_COMMAND('blackify','blackify [plr]',{},
| |
| 2648 | function(ARGS, SPEAKER) | |
| 2649 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2650 | for i,v in pairs(PLAYERS) do | |
| 2651 | COLOR(_PLAYERS[v], 'Really black') | |
| 2652 | end | |
| 2653 | end) | |
| 2654 | ||
| 2655 | ADD_COMMAND('whitify','whitify [plr]',{},
| |
| 2656 | function(ARGS, SPEAKER) | |
| 2657 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2658 | for i,v in pairs(PLAYERS) do | |
| 2659 | COLOR(_PLAYERS[v], 'White') | |
| 2660 | end | |
| 2661 | end) | |
| 2662 | ||
| 2663 | ADD_COMMAND('color','color [plr] [brick color]',{},
| |
| 2664 | function(ARGS, SPEAKER) | |
| 2665 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2666 | for i,v in pairs(PLAYERS) do | |
| 2667 | COLOR(_PLAYERS[v], GLS(false, 1)) | |
| 2668 | end | |
| 2669 | end) | |
| 2670 | ||
| 2671 | ADD_COMMAND('change','change [plr] [stat] [int/string]',{},
| |
| 2672 | function(ARGS, SPEAKER) | |
| 2673 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2674 | for i,v in pairs(PLAYERS) do | |
| 2675 | if _PLAYERS[v]:FindFirstChild('leaderstats') then
| |
| 2676 | for i,v in pairs(_PLAYERS[v].leaderstats:GetChildren()) do | |
| 2677 | if string.lower(v.Name) == string.lower(ARGS[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
| |
| 2678 | if ARGS[3] then v.Value = tonumber(ARGS[3]) end | |
| 2679 | elseif string.lower(v.Name) == string.lower(ARGS[2]) and v:IsA('StringValue') then
| |
| 2680 | v.Value = GLS(false, 2) | |
| 2681 | end | |
| 2682 | end | |
| 2683 | end | |
| 2684 | end | |
| 2685 | end) | |
| 2686 | ||
| 2687 | ADD_COMMAND('bait','bait',{},
| |
| 2688 | function(ARGS, SPEAKER) | |
| 2689 | spawn(function() | |
| 2690 | local M = Instance.new('Model', workspace) M.Name = 'Touch For Admin!'
| |
| 2691 | local P = Instance.new('Part', M) P.Name = 'Head' P.Position = SPEAKER.Character.Head.Position P.BrickColor = BrickColor.new('Pink') P.Material = 'Neon'
| |
| 2692 | local H = Instance.new('Humanoid', M)
| |
| 2693 | 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)
| |
| 2694 | end) | |
| 2695 | end) | |
| 2696 | ||
| 2697 | ADD_COMMAND('naked','naked [plr]',{},
| |
| 2698 | function(ARGS, SPEAKER) | |
| 2699 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2700 | for i,v in pairs(PLAYERS) do | |
| 2701 | local PCHAR = _PLAYERS[v].Character | |
| 2702 | for i,v in pairs(PCHAR:GetChildren()) do | |
| 2703 | if v:IsA('Accessory') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
| |
| 2704 | v:destroy() | |
| 2705 | end | |
| 2706 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
| 2707 | if v:IsA('Decal') then
| |
| 2708 | v:destroy() | |
| 2709 | end | |
| 2710 | end | |
| 2711 | end | |
| 2712 | end | |
| 2713 | end) | |
| 2714 | ||
| 2715 | ADD_COMMAND('decalspam','decalspam [decal]',{'dspam'},
| |
| 2716 | function(ARGS, SPEAKER) | |
| 2717 | if ARGS[1] then | |
| 2718 | DECALSPAM(workspace, ARGS[1]) | |
| 2719 | end | |
| 2720 | end) | |
| 2721 | ||
| 2722 | ADD_COMMAND('undecalspam','undecalspam',{'undspam'},
| |
| 2723 | function(ARGS, SPEAKER) | |
| 2724 | if ARGS[1] then | |
| 2725 | UNDECALSPAM(workspace) | |
| 2726 | end | |
| 2727 | end) | |
| 2728 | ||
| 2729 | ADD_COMMAND('bang','bang [plr]',{'rape'},
| |
| 2730 | function(ARGS, SPEAKER) | |
| 2731 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2732 | for i,v in pairs(PLAYERS) do | |
| 2733 | BANG(_PLAYERS[v].Name) | |
| 2734 | end | |
| 2735 | end) | |
| 2736 | ||
| 2737 | ADD_COMMAND('lag','lag [plr]',{},
| |
| 2738 | function(ARGS, SPEAKER) | |
| 2739 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2740 | for i,v in pairs(PLAYERS) do | |
| 2741 | LAG(_PLAYERS[v]) | |
| 2742 | end | |
| 2743 | end) | |
| 2744 | ||
| 2745 | ADD_COMMAND('respawn','respawn [plr]',{},
| |
| 2746 | function(ARGS, SPEAKER) | |
| 2747 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2748 | for i,v in pairs(PLAYERS) do | |
| 2749 | RESPAWN(_PLAYERS[v]) | |
| 2750 | end | |
| 2751 | end) | |
| 2752 | ||
| 2753 | ADD_COMMAND('face','face [plr] [decal]',{},
| |
| 2754 | function(ARGS, SPEAKER) | |
| 2755 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2756 | for i,v in pairs(PLAYERS) do | |
| 2757 | local PCHAR = _PLAYERS[v].Character | |
| 2758 | for i,v in pairs(PCHAR.Head:GetChildren()) do if v:IsA('Decal') then v:destroy() end end
| |
| 2759 | local F = Instance.new('Decal', PCHAR.Head) F.Name = 'face' F.Texture = 'rbxassetid://' .. ARGS[2] - 1
| |
| 2760 | end | |
| 2761 | end) | |
| 2762 | ||
| 2763 | ADD_COMMAND('shirt','shirt [plr] [decal]',{},
| |
| 2764 | function(ARGS, SPEAKER) | |
| 2765 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2766 | for i,v in pairs(PLAYERS) do | |
| 2767 | local PCHAR = _PLAYERS[v].Character | |
| 2768 | for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Shirt') then v:destroy() end end
| |
| 2769 | local S = Instance.new('Shirt', PCHAR) S.Name = 'Shirt' S.ShirtTemplate = 'rbxassetid://' .. ARGS[2] - 1
| |
| 2770 | end | |
| 2771 | end) | |
| 2772 | ||
| 2773 | ADD_COMMAND('pants','pants [plr] [decal]',{},
| |
| 2774 | function(ARGS, SPEAKER) | |
| 2775 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2776 | for i,v in pairs(PLAYERS) do | |
| 2777 | local PCHAR = _PLAYERS[v].Character | |
| 2778 | for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Pants') then v:destroy() end end
| |
| 2779 | local P = Instance.new('Pants', PCHAR) P.Name = 'Shirt' P.PantsTemplate = 'rbxassetid://' .. ARGS[2] - 1
| |
| 2780 | end | |
| 2781 | end) | |
| 2782 | ||
| 2783 | ADD_COMMAND('longneck','longneck [plr]',{'lneck', 'giraffe'},
| |
| 2784 | function(ARGS, SPEAKER) | |
| 2785 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2786 | for i,v in pairs(PLAYERS) do | |
| 2787 | local PCHAR = _PLAYERS[v].Character | |
| 2788 | RESET_MODEL(PCHAR) | |
| 2789 | UPDATE_MODEL(PCHAR, _PLAYERS[v].Name) | |
| 2790 | for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Accessory') then v.Handle.Mesh.Offset = Vector3.new(0, 5, 0) end end
| |
| 2791 | if PCHAR.Head:FindFirstChild('Mesh') then PCHAR.Head.Mesh.Offset = Vector3.new(0, 5, 0) end
| |
| 2792 | local G = Instance.new('Part', PCHAR) G.Name = 'giraffe_seth' G.BrickColor = PCHAR.Head.BrickColor G.Size = Vector3.new(2, 1, 1)
| |
| 2793 | local SM = Instance.new('SpecialMesh', G) SM.Scale = Vector3.new(1.25, 5, 1.25) SM.Offset = Vector3.new(0, 2, 0)
| |
| 2794 | local W = Instance.new('Weld', G) W.Part0 = PCHAR.Head W.Part1 = G
| |
| 2795 | end | |
| 2796 | end) | |
| 2797 | ||
| 2798 | ADD_COMMAND('stealchar','stealchar [plr]',{'schar'},
| |
| 2799 | function(ARGS, SPEAKER) | |
| 2800 | local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1]) | |
| 2801 | for i,v in pairs(PLAYERS1) do | |
| 2802 | RESET_MODEL(SPEAKER.Character) UPDATE_MODEL(SPEAKER.Character, _PLAYERS[v].Name) | |
| 2803 | end | |
| 2804 | end) | |
| 2805 | ||
| 2806 | ADD_COMMAND('baseplate','baseplate',{'bp'},
| |
| 2807 | function(ARGS, SPEAKER) | |
| 2808 | for i,v in pairs(workspace:GetChildren()) do if v:IsA('Model') and v.Name == 'baseplate_seth' then v:destroy() end end
| |
| 2809 | local BP = Instance.new('Part', workspace) 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)
| |
| 2810 | end) | |
| 2811 | ||
| 2812 | ADD_COMMAND('norotate','norotate [plr]',{'nrt'},
| |
| 2813 | function(ARGS, SPEAKER) | |
| 2814 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2815 | for i,v in pairs(PLAYERS) do | |
| 2816 | local PCHAR = _PLAYERS[v].Character | |
| 2817 | if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = false end
| |
| 2818 | end | |
| 2819 | end) | |
| 2820 | ||
| 2821 | ADD_COMMAND('rotate','rotate [plr]',{'rt'},
| |
| 2822 | function(ARGS, SPEAKER) | |
| 2823 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2824 | for i,v in pairs(PLAYERS) do | |
| 2825 | local PCHAR = _PLAYERS[v].Character | |
| 2826 | if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = true end
| |
| 2827 | end | |
| 2828 | end) | |
| 2829 | ||
| 2830 | ADD_COMMAND('admin','admin [plr]',{},
| |
| 2831 | function(ARGS, SPEAKER) | |
| 2832 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2833 | for i,v in pairs(PLAYERS) do | |
| 2834 | if not CHECK_ADMIN(_PLAYERS[v]) then | |
| 2835 | table.insert(ADMINS, _PLAYERS[v].userId) | |
| 2836 | UPDATE_ADMINS() | |
| 2837 | spawn(function() | |
| 2838 | game.Chat:Chat(_PLAYERS[v].Character.Head, STUFF .. 'You\'re now an admin!') | |
| 2839 | wait(3) | |
| 2840 | game.Chat:Chat(_PLAYERS[v].Character.Head, STUFF .. 'Give me a try! | ' .. C_PREFIX .. 'ff me') | |
| 2841 | end) | |
| 2842 | end | |
| 2843 | end | |
| 2844 | end) | |
| 2845 | ||
| 2846 | ADD_COMMAND('unadmin','unadmin [plr]',{},
| |
| 2847 | function(ARGS, SPEAKER) | |
| 2848 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2849 | for i,v in pairs(PLAYERS) do | |
| 2850 | if CHECK_ADMIN(_PLAYERS[v]) then | |
| 2851 | if FIND_IN_TABLE(ADMINS, _PLAYERS[v].userId) then | |
| 2852 | table.remove(ADMINS, GET_IN_TABLE(ADMINS, _PLAYERS[v].userId)) | |
| 2853 | UPDATE_ADMINS() | |
| 2854 | game.Chat:Chat(_PLAYERS[v].Character.Head, STUFF .. 'You\'re no longer an admin.') | |
| 2855 | end | |
| 2856 | end | |
| 2857 | end | |
| 2858 | end) | |
| 2859 | ||
| 2860 | ADD_COMMAND('minzoom','minzoom [plr] [int]',{'minz'},
| |
| 2861 | function(ARGS, SPEAKER) | |
| 2862 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2863 | for i,v in pairs(PLAYERS) do | |
| 2864 | _PLAYERS[v].CameraMinZoomDistance = ARGS[2] | |
| 2865 | end | |
| 2866 | end) | |
| 2867 | ||
| 2868 | ADD_COMMAND('maxzoom','maxzoom [plr] [int]',{'maxz'},
| |
| 2869 | function(ARGS, SPEAKER) | |
| 2870 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2871 | for i,v in pairs(PLAYERS) do | |
| 2872 | _PLAYERS[v].CameraMaxZoomDistance = ARGS[2] | |
| 2873 | end | |
| 2874 | end) | |
| 2875 | ||
| 2876 | ADD_COMMAND('age','age [plr]',{},
| |
| 2877 | function(ARGS, SPEAKER) | |
| 2878 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2879 | for i,v in pairs(PLAYERS) do | |
| 2880 | NOTIFY(_PLAYERS[v].Name .. ' | ' .. _PLAYERS[v].AccountAge, 255, 255, 255) | |
| 2881 | end | |
| 2882 | end) | |
| 2883 | ||
| 2884 | ADD_COMMAND('hl','hl [plr] [r] [g] [b]',{},
| |
| 2885 | function(ARGS, SPEAKER) | |
| 2886 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2887 | for i,v in pairs(PLAYERS) do | |
| 2888 | local PCHAR = _PLAYERS[v].Character | |
| 2889 | if PCHAR:FindFirstChild('Torso') then
| |
| 2890 | local HL = Instance.new('SpotLight', PCHAR.Torso) HL.Name = 'seth_hl' HL.Brightness = 5 HL.Range = 60
| |
| 2891 | if ARGS[2] and ARGS[3] and ARGS[4] then | |
| 2892 | HL.Color = C3(ARGS[2], ARGS[3], ARGS[4]) | |
| 2893 | end | |
| 2894 | end | |
| 2895 | end | |
| 2896 | end) | |
| 2897 | ||
| 2898 | ADD_COMMAND('unhl','unhl [plr]',{},
| |
| 2899 | function(ARGS, SPEAKER) | |
| 2900 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2901 | for i,v in pairs(PLAYERS) do | |
| 2902 | local PCHAR = _PLAYERS[v].Character | |
| 2903 | if PCHAR:FindFirstChild('Torso') then
| |
| 2904 | for i,v in pairs(PCHAR.Torso:GetChildren()) do | |
| 2905 | if v:IsA('SpotLight') and v.Name == 'seth_hl' then
| |
| 2906 | v:destroy() | |
| 2907 | end | |
| 2908 | end | |
| 2909 | end | |
| 2910 | end | |
| 2911 | end) | |
| 2912 | ||
| 2913 | ADD_COMMAND('crash','crash [plr]',{},
| |
| 2914 | function(ARGS, SPEAKER) | |
| 2915 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2916 | for i,v in pairs(PLAYERS) do | |
| 2917 | local PCHAR = _PLAYERS[v].Character | |
| 2918 | PCHAR.Torso.Anchored = true | |
| 2919 | for i,v in pairs(PCHAR:GetChildren()) do | |
| 2920 | if v:IsA('Humanoid') then
| |
| 2921 | for i = 1,10 do | |
| 2922 | v.HipHeight = 1/0*0 | |
| 2923 | end | |
| 2924 | end | |
| 2925 | end | |
| 2926 | end | |
| 2927 | end) | |
| 2928 | ||
| 2929 | ADD_COMMAND('shutdown','shutdown',{},
| |
| 2930 | function(ARGS, SPEAKER) | |
| 2931 | workspace.Gravity = 1/0*0 | |
| 2932 | end) | |
| 2933 | ||
| 2934 | ADD_COMMAND('smite','smite [plr]',{},
| |
| 2935 | function(ARGS, SPEAKER) | |
| 2936 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2937 | for i,v in pairs(PLAYERS) do | |
| 2938 | local PCHAR = _PLAYERS[v].Character | |
| 2939 | spawn(function() | |
| 2940 | local function CastRay(A, B, C) local V = B - A return workspace:FindPartOnRayWithIgnoreList(Ray.new(A, V.unit * math.min(V.magnitude, 999)), C or {}, false, true) end
| |
| 2941 | ||
| 2942 | local PP = PCHAR.PrimaryPart.Position - Vector3.new(0, 3, 0) | |
| 2943 | local S = Instance.new('Sound', workspace) S.SoundId = 'rbxassetid://178090362' S.Volume = 1 S:Play() spawn(function() wait(7) S:destroy() end)
| |
| 2944 | local S,P2 = CastRay(PP, PP - Vector3.new(0, 9, 0), {PCHAR})
| |
| 2945 | ||
| 2946 | local P1 = Instance.new('Part', game.Workspace)
| |
| 2947 | P1.BrickColor = BrickColor.new('Institutional white')
| |
| 2948 | P1.Material = 'Neon' | |
| 2949 | P1.Transparency = 0.9 | |
| 2950 | P1.Anchored = true | |
| 2951 | P1.CanCollide = false | |
| 2952 | P1.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2953 | P1.CFrame = CFrame.new((S and P2 or PP) + Vector3.new(0, 1e3, 0)) | |
| 2954 | Instance.new('BlockMesh', P1).Scale = Vector3.new(10, 10000, 10)
| |
| 2955 | ||
| 2956 | local P2, P3, P4, P5 = P1:Clone(), P1:Clone(), P1:Clone(), P1:Clone() | |
| 2957 | for i, v in next, {P2, P3, P4, P5} do i = i * 0.1 v.Parent, v.Size = P1, Vector3.new(0.2 + i, 0.2, 0.2 + i ) v.CFrame = P1.CFrame end wait(0.5) P1:destroy() PCHAR:BreakJoints()
| |
| 2958 | end) | |
| 2959 | end | |
| 2960 | end) | |
| 2961 | ||
| 2962 | ADD_COMMAND('skydive','skydive [plr]',{},
| |
| 2963 | function(ARGS, SPEAKER) | |
| 2964 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2965 | for i,v in pairs(PLAYERS) do | |
| 2966 | local PCHAR = _PLAYERS[v].Character | |
| 2967 | spawn(function() | |
| 2968 | for i = 0, 3 do | |
| 2969 | if PCHAR then | |
| 2970 | PCHAR.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame + Vector3.new(0, 7500, 0) | |
| 2971 | end | |
| 2972 | end | |
| 2973 | end) | |
| 2974 | end | |
| 2975 | end) | |
| 2976 | ||
| 2977 | ADD_COMMAND('message','message [string]',{'m'},
| |
| 2978 | function(ARGS, SPEAKER) | |
| 2979 | spawn(function() | |
| 2980 | if MG then | |
| 2981 | MESSAGE(GLS(false, 0)) | |
| 2982 | else | |
| 2983 | LOAD_MESSAGE(GLS(false, 0)) | |
| 2984 | end | |
| 2985 | end) | |
| 2986 | end) | |
| 2987 | ||
| 2988 | ADD_COMMAND('control','control [plr]',{},
| |
| 2989 | function(ARGS, SPEAKER) | |
| 2990 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
| 2991 | for i,v in pairs(PLAYERS) do | |
| 2992 | local PCHAR = _PLAYERS[v].Character | |
| 2993 | local HB = Instance.new('HopperBin', LP.Backpack) HB.Name = _PLAYERS[v].Name
| |
| 2994 | local CONTROL_ENABLED = false | |
| 2995 | local function CONTROL(P, V3) | |
| 2996 | if CONTROL_ENABLED then | |
| 2997 | if P.Character and P.Character:FindFirstChild('Humanoid') then
| |
| 2998 | P.Character.Humanoid:MoveTo(V3) | |
| 2999 | end | |
| 3000 | end | |
| 3001 | end | |
| 3002 | HB.Selected:connect(function(M) | |
| 3003 | M.Button1Down:connect(function() CONTROL_ENABLED = true CONTROL(_PLAYERS:FindFirstChild(HB.Name), M.Hit.p) end) | |
| 3004 | M.Button1Up:connect(function() CONTROL_ENABLED = false end) | |
| 3005 | end) | |
| 3006 | end | |
| 3007 | end) | |
| 3008 | ||
| 3009 | -- / extra | |
| 3010 | ||
| 3011 | ADD_COMMAND('gravity','gravity [int]',{},
| |
| 3012 | function(ARGS, SPEAKER) | |
| 3013 | workspace.Gravity = ARGS[1] | |
| 3014 | end) | |
| 3015 | ||
| 3016 | ADD_COMMAND('fixlighting','fixlighting',{'fixl'},
| |
| 3017 | function(ARGS, SPEAKER) | |
| 3018 | FIX_LIGHTING() | |
| 3019 | end) | |
| 3020 | ||
| 3021 | ADD_COMMAND('fixfog','fixfog',{'clrfog'},
| |
| 3022 | function(ARGS, SPEAKER) | |
| 3023 | _LIGHTING.FogColor = C3(191, 191, 191) | |
| 3024 | _LIGHTING.FogEnd = 100000000 | |
| 3025 | _LIGHTING.FogStart = 0 | |
| 3026 | end) | |
| 3027 | ||
| 3028 | ADD_COMMAND('day','day',{},
| |
| 3029 | function(ARGS, SPEAKER) | |
| 3030 | _LIGHTING.TimeOfDay = 14 | |
| 3031 | end) | |
| 3032 | ||
| 3033 | ADD_COMMAND('night','night',{},
| |
| 3034 | function(ARGS, SPEAKER) | |
| 3035 | _LIGHTING.TimeOfDay = 24 | |
| 3036 | end) | |
| 3037 | ||
| 3038 | ADD_COMMAND('serverlock','serverlock',{'slock'},
| |
| 3039 | function(ARGS, SPEAKER) | |
| 3040 | SERVER_LOCKED = true | |
| 3041 | end) | |
| 3042 | ||
| 3043 | ADD_COMMAND('unserverlock','unserverlock',{'unslock'},
| |
| 3044 | function(ARGS, SPEAKER) | |
| 3045 | SERVER_LOCKED = false | |
| 3046 | end) | |
| 3047 | ||
| 3048 | ADD_COMMAND('fogend','fogend [int]',{},
| |
| 3049 | function(ARGS, SPEAKER) | |
| 3050 | _LIGHTING.FogEnd = ARGS[1] | |
| 3051 | end) | |
| 3052 | ||
| 3053 | ADD_COMMAND('fogcolor','fogcolor [r] [g] [b]',{},
| |
| 3054 | function(ARGS, SPEAKER) | |
| 3055 | if ARGS[1] and ARGS[2] and ARGS[3] then | |
| 3056 | _LIGHTING.FogColor = C3(ARGS[1], ARGS[2], ARGS[3]) | |
| 3057 | end | |
| 3058 | end) | |
| 3059 | ||
| 3060 | ADD_COMMAND('noclip','noclip',{},
| |
| 3061 | function(ARGS, SPEAKER) | |
| 3062 | NOCLIP = true | |
| 3063 | JESUSFLY = false | |
| 3064 | SWIM = false | |
| 3065 | end) | |
| 3066 | ||
| 3067 | ADD_COMMAND('clip','clip',{},
| |
| 3068 | function(ARGS, SPEAKER) | |
| 3069 | NOCLIP = false | |
| 3070 | end) | |
| 3071 | ||
| 3072 | ADD_COMMAND('jesusfly','jesusfly',{},
| |
| 3073 | function(ARGS, SPEAKER) | |
| 3074 | NOCLIP = false | |
| 3075 | JESUSFLY = true | |
| 3076 | SWIM = false | |
| 3077 | end) | |
| 3078 | ||
| 3079 | ADD_COMMAND('nojfly','nojfly',{},
| |
| 3080 | function(ARGS, SPEAKER) | |
| 3081 | JESUSFLY = false | |
| 3082 | end) | |
| 3083 | ||
| 3084 | ADD_COMMAND('swim','swim',{},
| |
| 3085 | function(ARGS, SPEAKER) | |
| 3086 | NOCLIP = false | |
| 3087 | JESUSFLY = false | |
| 3088 | SWIM = true | |
| 3089 | end) | |
| 3090 | ||
| 3091 | ADD_COMMAND('noswim','noswim',{},
| |
| 3092 | function(ARGS, SPEAKER) | |
| 3093 | SWIM = false | |
| 3094 | end) | |
| 3095 | ||
| 3096 | ADD_COMMAND('fly','fly',{},
| |
| 3097 | function(ARGS, SPEAKER) | |
| 3098 | sFLY() | |
| 3099 | end) | |
| 3100 | ||
| 3101 | ADD_COMMAND('unfly','unfly',{},
| |
| 3102 | function(ARGS, SPEAKER) | |
| 3103 | NOFLY() | |
| 3104 | end) | |
| 3105 | ||
| 3106 | ADD_COMMAND('prefix','prefix [string]',{},
| |
| 3107 | function(ARGS, SPEAKER) | |
| 3108 | if ARGS[1] then | |
| 3109 | C_PREFIX = ARGS[1] | |
| 3110 | NOTIFY('Changed prefix to \'' .. ARGS[1] .. '\'', 255, 255, 255)
| |
| 3111 | end | |
| 3112 | end) | |
| 3113 | ||
| 3114 | ADD_COMMAND('version','version',{},
| |
| 3115 | function(ARGS, SPEAKER) | |
| 3116 | NOTIFY('VERSION | ' .. VERSION, 255, 255, 255)
| |
| 3117 | end) | |
| 3118 | ||
| 3119 | ADD_COMMAND('fe','fe',{},
| |
| 3120 | function(ARGS, SPEAKER) | |
| 3121 | spawn(function() | |
| 3122 | CHECK_FE() | |
| 3123 | end) | |
| 3124 | end) | |
| 3125 | ||
| 3126 | function OPEN_COMMANDS() | |
| 3127 | SETH_MAIN.main.holder.Size = UDim2.new(1, 25, 12, 30) | |
| 3128 | SETH_MAIN.main.holder.holders.search.Visible = true | |
| 3129 | end | |
| 3130 | ||
| 3131 | function CLOSE_COMMANDS() | |
| 3132 | SETH_MAIN.main.holder.holders.search.Visible = false | |
| 3133 | SETH_MAIN.main.holder.Size = UDim2.new(1, 25, 12, 0) | |
| 3134 | end | |
| 3135 | ||
| 3136 | function OPEN_TAB(TAB) | |
| 3137 | if not _CORE:FindFirstChild('seth_main') then OPEN_MAIN() end
| |
| 3138 | for a,b in pairs(SETH_MAIN.main.holder.holders:GetChildren()) do | |
| 3139 | if b.Name ~= TAB then | |
| 3140 | b.Visible = false | |
| 3141 | else | |
| 3142 | b.Visible = true | |
| 3143 | end | |
| 3144 | if TAB ~= 'cmds' then | |
| 3145 | CLOSE_COMMANDS() | |
| 3146 | else | |
| 3147 | OPEN_COMMANDS() | |
| 3148 | end | |
| 3149 | end | |
| 3150 | end | |
| 3151 | ||
| 3152 | ADD_COMMAND('serverinfo','serverinfo',{'sinfo'},
| |
| 3153 | function(ARGS, SPEAKER) | |
| 3154 | OPEN_TAB('server')
| |
| 3155 | end) | |
| 3156 | ||
| 3157 | ADD_COMMAND('admins','admins',{},
| |
| 3158 | function(ARGS, SPEAKER) | |
| 3159 | OPEN_TAB('admins')
| |
| 3160 | end) | |
| 3161 | ||
| 3162 | ADD_COMMAND('cmds','cmds',{'commands'},
| |
| 3163 | function(ARGS, SPEAKER) | |
| 3164 | OPEN_TAB('cmds')
| |
| 3165 | end) | |
| 3166 | ||
| 3167 | ADD_COMMAND('bans','bans',{},
| |
| 3168 | function(ARGS, SPEAKER) | |
| 3169 | OPEN_TAB('bans')
| |
| 3170 | end) | |
| 3171 | ||
| 3172 | ADD_COMMAND('fun','fun',{},
| |
| 3173 | function(ARGS, SPEAKER) | |
| 3174 | OPEN_TAB('fun')
| |
| 3175 | end) | |
| 3176 | ||
| 3177 | ADD_COMMAND('changelog','changelog',{},
| |
| 3178 | function(ARGS, SPEAKER) | |
| 3179 | OPEN_TAB('changelog')
| |
| 3180 | end) | |
| 3181 | ||
| 3182 | ADD_COMMAND('credits','credits',{},
| |
| 3183 | function(ARGS, SPEAKER) | |
| 3184 | OPEN_TAB('credits')
| |
| 3185 | end) | |
| 3186 | ||
| 3187 | MOUSE.KeyDown:connect(function(key) | |
| 3188 | if key:byte() == 29 then | |
| 3189 | if not NOCLIP then | |
| 3190 | ECOMMAND('noclip')
| |
| 3191 | elseif NOCLIP then | |
| 3192 | ECOMMAND('clip')
| |
| 3193 | end | |
| 3194 | elseif key:byte() == 30 then | |
| 3195 | if not JESUSFLY then | |
| 3196 | ECOMMAND('jesusfly')
| |
| 3197 | elseif JESUSFLY then | |
| 3198 | ECOMMAND('nojfly')
| |
| 3199 | end | |
| 3200 | end | |
| 3201 | end) | |
| 3202 | ||
| 3203 | -- / after loaded | |
| 3204 | ||
| 3205 | function CHECK_FE() | |
| 3206 | if not workspace.FilteringEnabled then | |
| 3207 | NOTIFY('Filtering is disabled', 50, 255, 50)
| |
| 3208 | elseif workspace.FilteringEnabled then | |
| 3209 | NOTIFY('Filtering is ENABLED', 255, 50, 50)
| |
| 3210 | end | |
| 3211 | end | |
| 3212 | ||
| 3213 | CMD_BAR_H.bar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true) | |
| 3214 | ||
| 3215 | local GOING_IN = true | |
| 3216 | CMD_BAR_H.bar.Changed:connect(function() | |
| 3217 | if CMD_BAR_H.bar.Text ~= 'press ; to execute a command' and CMD_BAR_H.bar.Focused and not GOING_IN then | |
| 3218 | if CMD_BAR_H.bar.Text ~= '' then | |
| 3219 | if not CMD_BAR_H.bar.Text:find(' ') then
| |
| 3220 | CMD_BAR_H.bar.commands.Visible = true | |
| 3221 | CMD_BAR_H.bar.commands:ClearAllChildren() | |
| 3222 | CMD_BAR_H.bar.commands.CanvasSize = UDim2.new(0, 0, 0, 0) | |
| 3223 | local Y_COMMANDS = 0 | |
| 3224 | for i,v in pairs(COMMANDS) do | |
| 3225 | if v.N:find(CMD_BAR_H.bar.Text) then | |
| 3226 | CMD_BAR_H.bar.commands:TweenSize(UDim2.new(1, 0, 1, -200), 'InOut', 'Quad', 0.2, true) | |
| 3227 | CMD_BAR_H.bar.commands.CanvasSize = CMD_BAR_H.bar.commands.CanvasSize + UDim2.new(0, 0, 0, 20) | |
| 3228 | local COMMANDS_C = CMD_BAR_H.bar.commands_ex:Clone() | |
| 3229 | COMMANDS_C.Position = UDim2.new(0, 0, 0, Y_COMMANDS) | |
| 3230 | COMMANDS_C.Visible = true | |
| 3231 | COMMANDS_C.Text = ' ' .. v.D | |
| 3232 | COMMANDS_C.Parent = CMD_BAR_H.bar.commands | |
| 3233 | Y_COMMANDS = Y_COMMANDS + 20 | |
| 3234 | end | |
| 3235 | end | |
| 3236 | end | |
| 3237 | else | |
| 3238 | CMD_BAR_H.bar.commands:TweenSize(UDim2.new(1, 0, 0, 0), 'InOut', 'Quad', 0.2, true) | |
| 3239 | CMD_BAR_H.bar.commands:ClearAllChildren() | |
| 3240 | CMD_BAR_H.bar.commands.CanvasSize = UDim2.new(0, 0, 0, 0) | |
| 3241 | end | |
| 3242 | end | |
| 3243 | end) | |
| 3244 | ||
| 3245 | CMD_BAR_H.bar.FocusLost:connect(function() | |
| 3246 | GOING_IN = true | |
| 3247 | if CMD_BAR_H.bar.Text ~= '' then | |
| 3248 | spawn(function() | |
| 3249 | ECOMMAND(CMD_BAR_H.bar.Text, LP) | |
| 3250 | end) | |
| 3251 | end | |
| 3252 | CMD_BAR_H.bar.commands:ClearAllChildren() | |
| 3253 | CMD_BAR_H.bar.commands.CanvasSize = UDim2.new(0, 0, 0, 0) | |
| 3254 | CMD_BAR_H.bar.commands:TweenSize(UDim2.new(1, 0, 0, 0), 'InOut', 'Quad', 0.2, true) | |
| 3255 | CMD_BAR_H.bar:TweenPosition(UDim2.new(0, -225, 1, -50), 'InOut', 'Quad', 0.5, true) | |
| 3256 | end) | |
| 3257 | ||
| 3258 | MOUSE.KeyDown:connect(function(K) | |
| 3259 | if K:byte() == 59 then | |
| 3260 | GOING_IN = false | |
| 3261 | CMD_BAR_H.bar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true) | |
| 3262 | CMD_BAR_H.bar:CaptureFocus() | |
| 3263 | end | |
| 3264 | end) | |
| 3265 | ||
| 3266 | NOTIFY('Hello, ' .. _PLAYERS.LocalPlayer.Name, 255, 255, 255)
| |
| 3267 | CHECK_FE() |