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