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