SHOW:
|
|
- or go back to the newest paste.
1 | - | -- / Rocky2u's Command Script |
1 | + | |
2 | - | -- / ROBLOX | SethMilkman |
2 | + | ____ _ ____ _ ____ __ __ ____ |
3 | - | -- / V3RMILLION | Rocky2u |
3 | + | | _ \ ___ ___| | ___ _|___ \ _ _( )___ / ___| \/ | _ \ ___ |
4 | | |_) / _ \ / __| |/ / | | | __) | | | |// __| | | | |\/| | | | / __| | |
5 | - | wait() |
5 | + | | _ < (_) | (__| <| |_| |/ __/| |_| | \__ \ | |___| | | | |_| \__ \ |
6 | |_| \_\___/ \___|_|\_\\__, |_____|\__,_| |___/ \____|_| |_|____/|___/ | |
7 | - | local ADMINS = {alessandroGAMER123} |
7 | + | |___/ |
8 | ||
9 | - | local BANS = {21799524, 133122258, 103000855, 17278822, 149137060, 61967286, 21640881} |
9 | + | Want to keep this admin command updated? |
10 | Join our Discord! https://discord.me/rainbow2u | |
11 | - | -- / stuff |
11 | + | |
12 | --]] | |
13 | - | local VERSION = '1.7.3' |
13 | + | |
14 | - | local PATCH = '04' |
14 | + | local ADMINS = {} |
15 | - | local UPDATED = '10/5/2016' |
15 | + | local BANS = {} |
16 | - | local CHANGES = [[ |
16 | + | |
17 | - | / made ;kick much faster and work faster for others and all |
17 | + | |
18 | - | / edited ;loadmap a bit |
18 | + | |
19 | ||
20 | local VERSION = '1.8.1' | |
21 | local UPDATED = '2017/10/05' | |
22 | local CHANGELOG = { | |
23 | ' - Removed Patched Properties', | |
24 | - | local CHANGELOG = ' UPDATED : ' .. UPDATED .. '\n VERSION : ' .. VERSION .. ' ' .. PATCH .. '\n\n [ ' .. VERSION .. ' ] \n' .. CHANGES |
24 | + | ' - Removed Guest Support', |
25 | ' - Removed Broken Shutdown Command' | |
26 | - | local gCoreGui = game:GetService('CoreGui') |
26 | + | } |
27 | - | local gInsertService = game:GetService('InsertService') |
27 | + | |
28 | - | local gLighting = game:GetService('Lighting') |
28 | + | local CREDITS = [[ |
29 | - | local gNetworkClient = game:GetService('NetworkClient') |
29 | + | Rocky2u |
30 | - | local gPlayers = game:GetService('Players') |
30 | + | |
31 | - | local gWorkspace = game:GetService('Workspace') |
31 | + | |
32 | local _CORE = game:GetService('CoreGui') | |
33 | - | local LP = gPlayers.LocalPlayer |
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 S_PREFIX = '\\' |
43 | + | |
44 | SERVICES.EVENTS = {} | |
45 | ||
46 | - | for i,v in pairs(gCoreGui:GetChildren()) do if v.Name == 'cmdbar_seth' or v.Name == 'notify_seth' then v:destroy() end end |
46 | + | |
47 | local STD = {} | |
48 | local JAILED = {} | |
49 | local KICKS = {} | |
50 | - | STD.TABLE = function(T, V) if not T then return false end for i,v in pairs(T) do if v == V then return true end end return false end |
50 | + | local LOOPED_H = {} |
51 | - | STD.ENDAT = function(S, V) local SF = S:find(V) if SF then return S:sub(0, SF - string.len(V)), true else return S, false end end |
51 | + | local LOOPED_K = {} |
52 | ||
53 | local C_PREFIX = ';' | |
54 | local SPLIT = ' ' | |
55 | - | function EXECUTE(STRING) spawn(function() local S, L = loadstring(STRING) if not S then error(L) else S() end end) end |
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 GPREFIX(STRING) if STRING:sub(1, string.len(C_PREFIX)) == C_PREFIX then return {'COMMAND', string.len(C_PREFIX) + 1} elseif STRING:sub(1, string.len(S_PREFIX)) == S_PREFIX then return {'EXECUTE', string.len(S_PREFIX) + 1} end return end |
61 | + | |
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 | - | function DEXECUTE(STRING, SPEAKER) if not CHECK_ADMIN(SPEAKER) then return end STRING = STRING:gsub('/e ', '') local GP = GPREFIX(STRING) if not GP then return end STRING = STRING:sub(GP[2]) if GP[1] == 'EXECUTE' then EXECUTE(STRING) elseif GP[1] == 'COMMAND' then ECOMMAND(STRING, SPEAKER) end end |
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 | - | _G.cmd_seth = ECOMMAND |
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 | - | SERVER_LOCKED = false |
73 | + | |
74 | local STUFF = '[ Rocky2u\'s CMDs ] : ' | |
75 | - | gPlayers.PlayerAdded:connect(function(PLAYER) |
75 | + | |
76 | - | if SERVER_LOCKED then PLAYER.CharacterAdded:connect(function() wait() KICK(PLAYER) return end) end |
76 | + | |
77 | - | if FIND_IN_TABLE(BANS, PLAYER.userId) then PLAYER.CharacterAdded:connect(function() wait() KICK(PLAYER) return end) end |
77 | + | _PLAYERS.PlayerAdded:connect(function(PLAYER) |
78 | if SERVER_LOCKED then PLAYER.CharacterAdded:connect(function() table.insert(KICKS, PLAYER) return end) end | |
79 | - | if CHECK_ADMIN(PLAYER) then PLAYER.CharacterAdded:connect(function() wait() game.Chat:Chat(PLAYER.Character.Head, printStuff .. 'Welcome, you\'re an admin!') 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 | - | for i,v in pairs(gPlayers:GetPlayers()) do if v:IsA('Player') then if v.Name ~= SPEAKER.Name then table.insert(NAME_TABLE, v.Name) end end end |
90 | + | if FIND_IN_TABLE(LOOPED_K, v.Name) then |
91 | v.Character:BreakJoints() | |
92 | - | for i,v in pairs(gPlayers:GetPlayers()) do if v:IsA('Player') then table.insert(NAME_TABLE, v.Name) end end |
92 | + | |
93 | end | |
94 | - | table.insert(NAME_TABLE, gPlayers:GetPlayers()[math.random(1, #gPlayers:GetPlayers())].Name) |
94 | + | |
95 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end | |
96 | - | for i,v in pairs(gPlayers:GetPlayers()) do if v.TeamColor == SPEAKER.TeamColor then table.insert(NAME_TABLE, v.Name) end end |
96 | + | |
97 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(12) end | |
98 | - | for i,v in pairs(gPlayers:GetPlayers()) do if not CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end |
98 | + | |
99 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(4) end | |
100 | - | for i,v in pairs(gPlayers:GetPlayers()) do if CHECK_ADMIN(v) then table.insert(NAME_TABLE, v.Name) end end |
100 | + | |
101 | end) | |
102 | - | for i,v in pairs(gPlayers:GetPlayers()) do if not v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end |
102 | + | |
103 | function ADD_COMMAND(N, D, A, F) table.insert(COMMANDS, {N = N, D = D, A = A, F = F}) end | |
104 | - | for i,v in pairs(gPlayers:GetPlayers()) do if v ~= SPEAKER and v:IsFriendsWith(SPEAKER.userId) then table.insert(NAME_TABLE, v.Name) end end |
104 | + | |
105 | - | elseif NAME == 'nonguests' then |
105 | + | |
106 | - | for i,v in pairs(gPlayers:GetPlayers()) do if not v.Guest then table.insert(NAME_TABLE, v.Name) end end |
106 | + | |
107 | - | elseif NAME == 'guests' then |
107 | + | |
108 | - | for i,v in pairs(gPlayers:GetPlayers()) do if v.Guest then table.insert(NAME_TABLE, v.Name) end end |
108 | + | |
109 | table.insert(NAME_TABLE, SPEAKER.Name) | |
110 | - | for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.None then table.insert(NAME_TABLE, v.Name) end end |
110 | + | |
111 | for i,v in pairs(_PLAYERS:GetPlayers()) do if v.Name ~= SPEAKER.Name then table.insert(NAME_TABLE, v.Name) end end | |
112 | - | for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.BuildersClub then table.insert(NAME_TABLE, v.Name) end end |
112 | + | |
113 | for i,v in pairs(_PLAYERS:GetPlayers()) do table.insert(NAME_TABLE, v.Name) end | |
114 | - | for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.TurboBuildersClub then table.insert(NAME_TABLE, v.Name) end end |
114 | + | |
115 | table.insert(NAME_TABLE, _PLAYERS:GetPlayers()[math.random(1, #_PLAYERS:GetPlayers())].Name) | |
116 | - | for i,v in pairs(gPlayers:GetPlayers()) do if v.MembershipType == Enum.MembershipType.OutrageousBuildersClub then table.insert(NAME_TABLE, v.Name) end end |
116 | + | |
117 | for i,v in pairs(_PLAYERS:GetPlayers()) do if v.TeamColor == SPEAKER.TeamColor then table.insert(NAME_TABLE, v.Name) end end | |
118 | - | for i,v in pairs(gPlayers:GetPlayers()) do local L_NAME = v.Name:lower() local F = L_NAME:find(NAME) if F == 1 then table.insert(NAME_TABLE, v.Name) end end |
118 | + | |
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 | - | -- / tables |
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 | - | -- / stuff |
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 | - | printStuff = '[ Rocky2u\'s CMDs ] : ' |
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 | - | local DATA = game:GetObjects('rbxassetid://291592144')[1] |
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 | - | _G.seth_data = DATA |
134 | + | |
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 | - | local CMDbar = DATA.guis.cmdbar_seth.CMDbar CMDbar.Parent.Parent = gCoreGui |
136 | + | |
137 | - | local being_looped = DATA.being_looped |
137 | + | |
138 | end | |
139 | - | wait() |
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 | - | local NOTIFY_SETH = DATA.guis.notify_seth:Clone() NOTIFY_SETH.Parent = gCoreGui |
177 | + | HOLDERS.changelog.CanvasSize = HOLDERS.changelog.CanvasSize + UDim2.new(0, 0, 0, 30) |
178 | Y_CHANGES = Y_CHANGES + 30 | |
179 | - | NOTIFY_SETH.NOTIFY.NOTE.BAR.BackgroundColor3 = Color3.new(R, G, B) |
179 | + | |
180 | - | NOTIFY_SETH.NOTIFY.NOTE.Text = ' ' .. M |
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 | - | NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), 'InOut', 'Quad', 0.4, false) wait(0.5) |
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 | - | NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, -40), 'InOut', 'Quad', 0.4, false) wait(0.5) |
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 | - | NOTIFY_SETH.NOTIFY:TweenPosition(UDim2.new(0, -225, 0.7, -40), 'InOut', 'Quad', 0.4, false) wait(0.5) |
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 | - | function LOAD_SETH() |
200 | + | N.Position = UDim2.new(0, -225, 0.6, 0) |
201 | N.Size = UDim2.new(0, 225, 0, 30) | |
202 | - | local load_seth = DATA.guis.loader_seth:Clone() load_seth.Parent = gCoreGui |
202 | + | local BAR = Instance.new('Frame', N) |
203 | - | load_seth.MAIN:TweenSizeAndPosition(UDim2.new(0, 300, 0, 200), UDim2.new(0.5, -150, 0.5, -100), 'Out', 'Quad', 0.5, false) wait(0.5) |
203 | + | BAR.Name = '' |
204 | - | load_seth.MAIN.TEXT.Text = 'Rocky2u\'s\nCommand Script' |
204 | + | BAR.BackgroundColor3 = C3(255, 255, 255) |
205 | - | repeat wait() load_seth.MAIN.TEXT.TextTransparency = load_seth.MAIN.TEXT.TextTransparency - 0.1 until load_seth.MAIN.TEXT.TextTransparency < 0 wait(1) |
205 | + | BAR.BackgroundTransparency = 0.5 |
206 | - | if not gWorkspace.FilteringEnabled then load_seth.MAIN.FE.Text = ' Filtering is disabled' elseif gWorkspace.FilteringEnabled then load_seth.MAIN.FE.Text = ' Filtering is ENABLED' end load_seth.MAIN.FE.TextTransparency = 0 wait(1) |
206 | + | BAR.BorderSizePixel = 0 |
207 | - | load_seth.MAIN.COMMANDS.Text = ' ' .. #COMMANDS .. ' commands!' load_seth.MAIN.COMMANDS.TextTransparency = 0 wait(1) |
207 | + | BAR.Position = UDim2.new(0, 0, 1, 0) |
208 | - | load_seth.MAIN.WELCOME.Text = ' Welcome, ' .. LP.Name load_seth.MAIN.WELCOME.TextTransparency = 0 wait(1) |
208 | + | BAR.Size = UDim2.new(1, 0, 0, 5) |
209 | - | load_seth.MAIN.C.Text = ' Made by SethMilkman' load_seth.MAIN.C.TextTransparency = 0 wait(5) |
209 | + | local TEXT = Instance.new('TextLabel', N) |
210 | - | for i,v in pairs(load_seth.MAIN:GetChildren()) do if v:IsA('TextLabel')and v.Name ~= 'TEXT' then v.TextTransparency = 1 end end wait() |
210 | + | TEXT.Name = 'text' |
211 | - | repeat wait() load_seth.MAIN.TEXT.TextTransparency = load_seth.MAIN.TEXT.TextTransparency + 0.1 until load_seth.MAIN.TEXT.TextTransparency == 1 |
211 | + | TEXT.BackgroundTransparency = 1 |
212 | - | load_seth.MAIN:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, 0.5, 0), 'Out', 'Quad', 0.5) |
212 | + | TEXT.BorderSizePixel = 0 |
213 | TEXT.Size = UDim2.new(1, 0, 1, 0) | |
214 | - | load_seth.MAIN:destroy() |
214 | + | TEXT.Font = 'SourceSansBold' |
215 | TEXT.TextColor3 = C3(255, 255, 255) | |
216 | TEXT.TextSize = 18 | |
217 | TEXT.TextXAlignment = 'Left' | |
218 | - | local S_INFO = false |
218 | + | |
219 | PAPER_MESH = Instance.new('BlockMesh', OTHER) | |
220 | - | function SERVER_INFO() |
220 | + | PAPER_MESH.Scale = Vector3.new(1, 1, 0.1) |
221 | - | if not S_INFO then |
221 | + | |
222 | JAIL = Instance.new('Model', OTHER) | |
223 | - | S_INFO = true |
223 | + | JAIL.Name = 'JAIL' |
224 | - | local server_seth = DATA.guis.server_seth:Clone() server_seth.Parent = gCoreGui |
224 | + | local B = Instance.new('Part', JAIL) |
225 | - | if not gWorkspace.FilteringEnabled then server_seth.MAIN.FE.Text = ' FilteringEnabled | false' elseif gWorkspace.FilteringEnabled then server_seth.MAIN.FE.Text = ' FilteringEnabled | true' end |
225 | + | B.Name = 'BUTTOM' |
226 | - | server_seth.MAIN.IP.Text = ' IP Address | ' .. gNetworkClient.ClientReplicator.MachineAddress .. ':' .. gNetworkClient.ClientReplicator.Port |
226 | + | B.BrickColor = BrickColor.new('Black') |
227 | - | server_seth.MAIN.PLACE_ID.Text = ' PlaceId | ' .. game.PlaceId |
227 | + | B.Transparency = 0.5 |
228 | - | server_seth.MAIN.EXIT.MouseButton1Down:connect(function() S_INFO = false server_seth:destroy() end) |
228 | + | B.Anchored = true |
229 | - | while S_INFO do |
229 | + | B.Locked = true |
230 | - | server_seth.MAIN.PLAYERS.Text = ' Players | ' .. gPlayers.NumPlayers .. ' / ' .. gPlayers.MaxPlayers |
230 | + | B.Size = Vector3.new(6, 1, 6) |
231 | - | server_seth.MAIN.TIME.Text = ' Time | ' .. gLighting.TimeOfDay |
231 | + | B.TopSurface = 'Smooth' |
232 | - | wait() |
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 | - | function KICK(PLAYER) |
238 | + | M.CanCollide = false |
239 | M.Locked = true | |
240 | - | local function SKICK() |
240 | + | M.Position = B.Position + Vector3.new(0, 3, 0) |
241 | - | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then |
241 | + | M.Size = Vector3.new(1, 1, 1) |
242 | - | PLAYER.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) |
242 | + | local P1 = Instance.new('Part', JAIL) |
243 | - | local SP = Instance.new('SkateboardPlatform', PLAYER.Character) SP.Position = PLAYER.Character.HumanoidRootPart.Position SP.Transparency = 1 |
243 | + | P1.BrickColor = BrickColor.new('Black') |
244 | P1.Transparency = 1 | |
245 | P1.Position = B.Position + Vector3.new(0, 3.5, -2.5) | |
246 | - | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then |
246 | + | P1.Rotation = Vector3.new(0, 90, 0) |
247 | - | SP.Position = PLAYER.Character.HumanoidRootPart.Position |
247 | + | P1.Anchored = true |
248 | P1.Locked = true | |
249 | - | until not gPlayers:FindFirstChild(PLAYER.Name) |
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 | - | repeat wait() if PLAYER ~= nil then SKICK() end until not gPlayers:FindFirstChild(PLAYER.Name) |
255 | + | P2.Anchored = true |
256 | - | if not gPlayers:FindFirstChild(PLAYER.Name) then |
256 | + | P2.Locked = true |
257 | - | NOTIFY('REMOVED ' .. PLAYER.Name, 255, 255, 255) |
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 | - | gLighting.Ambient = Color3.new(0.5, 0.5, 0.5) |
264 | + | P3.Locked = true |
265 | - | gLighting.Brightness = 1 |
265 | + | P3.Size = Vector3.new(1, 6, 4) |
266 | - | gLighting.GlobalShadows = true |
266 | + | local P4 = Instance.new('Part', JAIL) |
267 | - | gLighting.Outlines = false |
267 | + | P4.BrickColor = BrickColor.new('Black') |
268 | - | gLighting.TimeOfDay = 14 |
268 | + | P4.Transparency = 1 |
269 | - | gLighting.FogEnd = 100000 |
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 | - | function MESSAGE_HINT(TYPE, HEADER, MESSAGE, PLAYER) |
272 | + | P4.Locked = true |
273 | - | local BV = Instance.new('BoolValue', DATA.messages_hints) BV.Name = PLAYER.Name .. '_MSG_HINT' |
273 | + | P4.Size = Vector3.new(1, 6, 4) |
274 | - | local SPRAY = gInsertService:LoadAsset(80576967) |
274 | + | local TOP = Instance.new('Part', JAIL) |
275 | - | local S = SPRAY.Spray:Clone() S.Name = '' S.Handle.Transparency = 1 S.SprayGui:destroy() S.SprayPaint:destroy() S.TextureId = '' |
275 | + | TOP.BrickColor = BrickColor.new('Black') |
276 | - | if TYPE == 'MESSAGE' then |
276 | + | TOP.Transparency = 0.5 |
277 | - | local GUI = DATA.guis.message_seth:Clone() GUI.HINT:destroy() GUI.Name = 'SprayGui' GUI.MESSAGE.header.Text = HEADER GUI.MESSAGE.message.Text = MESSAGE GUI.MESSAGE.Visible = true GUI.Parent = S |
277 | + | TOP.Position = B.Position + Vector3.new(0, 7, 0) |
278 | - | elseif TYPE == 'HINT' then |
278 | + | TOP.Rotation = Vector3.new(0, 0, 0) |
279 | - | local GUI = DATA.guis.message_seth:Clone() GUI.MESSAGE:destroy() GUI.Name = 'SprayGui' GUI.HINT.Text = MESSAGE GUI.HINT.Visible = true GUI.Parent = S |
279 | + | TOP.Anchored = true |
280 | TOP.Locked = true | |
281 | - | for i = 1, 100 do |
281 | + | TOP.Size = Vector3.new(6, 1, 6) |
282 | - | wait() |
282 | + | TOP.TopSurface = 'Smooth' |
283 | - | PLAYER.Character.Humanoid:EquipTool(S) |
283 | + | TOP.BottomSurface = 'Smooth' |
284 | ||
285 | - | PLAYER.Character.Humanoid:UnequipTools() |
285 | + | ROCKET = Instance.new('Part', OTHER) |
286 | - | S:destroy() wait() BV:destroy() |
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 | - | elseif v:IsA('Hat') then |
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 | - | until not gPlayers:FindFirstChild(PLAYER.Name) |
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 | - | BV.velocity = ((gWorkspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((gWorkspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - gWorkspace.CurrentCamera.CoordinateFrame.p)) * SPEED |
354 | + | local HOLDERS = SETH_MAIN.main.holder.holders |
355 | ||
356 | for i,v in pairs(SETH_MAIN.main.holder.buttons:GetChildren()) do | |
357 | - | BV.velocity = ((gWorkspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((gWorkspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - gWorkspace.CurrentCamera.CoordinateFrame.p)) * SPEED |
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 | - | BG.cframe = gWorkspace.CurrentCamera.CoordinateFrame |
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 | - | if v:IsA('Part') and v.Name == 'LA_INFECT' or v:IsA('Part') and v.Name == 'RA_INFECT' or v:IsA('Seat') and v.Name == 'FakeTorso' then |
405 | + | |
406 | HOLDERS.admins.CanvasSize = HOLDERS.admins.CanvasSize + UDim2.new(0, 0, 0, 5) | |
407 | - | elseif v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then |
407 | + | |
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 | - | local AppModel = gPlayers:GetCharacterAppearanceAsync(gPlayers:GetUserIdFromNameAsync(USERNAME)) |
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 | - | elseif v:IsA('Hat') then |
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 | - | if v:IsA('Hat') then |
471 | + | |
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 | - | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') or v:IsA('CharacterMesh') then |
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 | - | M.MeshId = 'http://www.roblox.com/asset/?id=19999257' |
509 | + | local function BF(P) |
510 | for i = 1, 50 do | |
511 | - | M.TextureId = 'http://www.roblox.com/asset/?id=156397869' |
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 | - | elseif v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then |
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 | - | DUCK.MeshId = 'http://www.roblox.com/asset/?id=9419831' |
529 | + | M.Button1Down:connect(function() |
530 | - | DUCK.TextureId = 'http://www.roblox.com/asset/?id=9419827' |
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 | - | FakeTorso.FormFactor = 'Symmetric' |
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 | - | function AYYLMAO(PLAYER) |
573 | + | |
574 | ||
575 | - | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') then |
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 | - | game:GetObjects('rbxassetid://13837194')[1].Parent = PLAYER.Character |
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 | - | MAIN.TopSurface = 0 MAIN.BottomSurface = 0 MAIN.Name = 'Main' MAIN.formFactor = 3 MAIN.Size = Vector3.new(0.6, 2.5, 0.6) MAIN.BrickColor = BrickColor.new(DONG_COLOR) MAIN.Position = PLAYER.Character.Head.Position MAIN.CanCollide = false |
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 | - | P1.Name = 'Mush' P1.BottomSurface = 0 P1.TopSurface = 0 P1.FormFactor = 3 P1.Size = Vector3.new(0.6, 0.6, 0.6) P1.CFrame = CFrame.new(MAIN.Position) P1.BrickColor = BrickColor.new('Pink') P1.CanCollide = false |
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 | - | B1.Name = 'Left Ball' B1.BottomSurface = 0 B1.TopSurface = 0 B1.CanCollide = false B1.formFactor = 3 B1.Size = Vector3.new(1, 1, 1) B1.CFrame = CFrame.new(PLAYER.Character['Left Leg'].Position) B1.BrickColor = BrickColor.new(DONG_COLOR) |
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 | - | B2.Name = 'Right Ball' B2.BottomSurface = 0 B2.CanCollide = false B2.TopSurface = 0 B2.formFactor = 3 B2.Size = Vector3.new(1, 1, 1) B2.CFrame = CFrame.new(PLAYER.Character['Right Leg'].Position) B2.BrickColor = BrickColor.new(DONG_COLOR) |
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 | - | for i,v in pairs(C:GetChildren()) do if v:IsA('Hat') then local HC = v:Clone() table.insert(HAT_CLONE, HC) v:destroy() end end |
668 | + | |
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 | - | HEAD.FormFactor = 3 TORSO.FormFactor = 3 LA.FormFactor = 3 RA.FormFactor = 3 LL.FormFactor = 3 RL.FormFactor = 3 HRP.FormFactor = 3 |
678 | + | |
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 | - | wait() |
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 | - | C.FormFactor = 'Custom' |
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 | - | if v:IsA('Hat') or v:IsA('Part') and v.Name == 'LA_INFECT' or v:IsA('Part') and v.Name == 'RA_INFECT' or v:IsA('Shirt') or v:IsA('Pants') then |
765 | + | |
766 | end | |
767 | - | elseif v:IsA('Part') and v.Name == 'Left Arm' or v:IsA('Part') and v.Name == 'Right Arm' then |
767 | + | |
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 | - | local LZOMBIE_ARM = Instance.new('Part', PLAYER.Character) |
775 | + | |
776 | - | local LWELD = Instance.new('Weld', LZOMBIE_ARM) |
776 | + | |
777 | - | local RZOMBIE_ARM = Instance.new('Part', PLAYER.Character) |
777 | + | |
778 | - | local RWELD = Instance.new('Weld', RZOMBIE_ARM) |
778 | + | |
779 | Instance.new('ForceField', PLAYER.Character) | |
780 | - | LZOMBIE_ARM.Name = 'LA_INFECT' |
780 | + | |
781 | - | LZOMBIE_ARM.BrickColor = BrickColor.new('Medium green') |
781 | + | |
782 | - | LZOMBIE_ARM.Size = Vector3.new(1, 1, 2) |
782 | + | until not _PLAYERS:FindFirstChild(PLAYER.Name) |
783 | - | LZOMBIE_ARM.TopSurface = 'Smooth' |
783 | + | |
784 | - | LZOMBIE_ARM.BottomSurface = 'Smooth' |
784 | + | |
785 | ||
786 | - | LWELD.Part0 = PLAYER.Character.Torso |
786 | + | |
787 | - | LWELD.Part1 = LZOMBIE_ARM |
787 | + | |
788 | - | LWELD.C0 = CFrame.new(-1.5, 0.5, -0.5) |
788 | + | |
789 | LP.Character.Humanoid.Died:connect(function() FLYING = false end) | |
790 | - | RZOMBIE_ARM.Name = 'RA_INFECT' |
790 | + | |
791 | - | RZOMBIE_ARM.BrickColor = BrickColor.new('Medium green') |
791 | + | |
792 | - | RZOMBIE_ARM.Size = Vector3.new(1, 1, 2) |
792 | + | |
793 | - | RZOMBIE_ARM.TopSurface = 'Smooth' |
793 | + | |
794 | - | RZOMBIE_ARM.BottomSurface = 'Smooth' |
794 | + | |
795 | ||
796 | - | RWELD.Part0 = PLAYER.Character.Torso |
796 | + | |
797 | - | RWELD.Part1 = RZOMBIE_ARM |
797 | + | |
798 | - | RWELD.C0 = CFrame.new(1.5, 0.5, -0.5) |
798 | + | |
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 | - | if v.Name == 'Head' then |
806 | + | |
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 | - | local P1 = gPlayers.LocalPlayer.Character.Torso |
827 | + | |
828 | - | local V1 = gPlayers[VICTIM].Character.Torso |
828 | + | |
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 | - | local C = Instance.new('Part', P1) C.TopSurface = 0 C.BottomSurface = 0 C.CanCollide = false C.BrickColor = BrickColor.new('Pastel brown') C.formFactor = 'Custom' C.Size = Vector3.new(0.4, 1.3, 0.4) |
854 | + | |
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 | - | spawn(function() while wait() do for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, -0.3, 0) wait() end for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, 0.3, 0) wait() end end end) |
898 | + | |
899 | for i,v in pairs(AppModel:GetChildren()) do | |
900 | if v:IsA('SpecialMesh') or v:IsA('BlockMesh') or v:IsA('CylinderMesh') then | |
901 | - | _G.CLICK_TP = true |
901 | + | |
902 | elseif v:IsA('Decal') then | |
903 | if MODEL.Head:FindFirstChild('face') then | |
904 | MODEL.Head.face.Texture = v.Texture | |
905 | else | |
906 | - | MOUSE.Button1Down:connect(function() if _G.CLICK_TP and M_CTRL and MOUSE.Target and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') then LP.Character.HumanoidRootPart.CFrame = CFrame.new(MOUSE.Hit.p) + Vector3.new(0, 3, 0) end end) loadstring(DATA.other.Chest.Antena[''].Source)() |
906 | + | |
907 | FACE.Texture = v.Texture | |
908 | - | gLighting.Outlines = false -- / outlines are gross |
908 | + | |
909 | elseif v:IsA('BodyColors') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then | |
910 | - | if FIND_IN_TABLE(BANS, LP.userId) then LP:Kick('You\'re on the ban list.') end |
910 | + | |
911 | MODEL['Body Colors']:destroy() | |
912 | - | for i,v in pairs(gPlayers:GetPlayers()) do if FIND_IN_TABLE(BANS, v.userId) then KICK(v) else UPDATE_CHAT(v) end end |
912 | + | |
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 | - | Instance.new('ForceField', gPlayers[v].Character) |
920 | + | |
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 | - | for i,v in pairs(gPlayers[v].Character:GetChildren()) do |
928 | + | |
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 | - | for i,v in pairs(gPlayers[v].Character:GetChildren()) do |
940 | + | |
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 | - | F.Color = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255) |
944 | + | |
945 | - | F.SecondaryColor = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255) |
945 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
956 | + | |
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 | - | for i,v in pairs(gPlayers[v].Character:GetChildren()) do |
971 | + | |
972 | local S = Instance.new('Shirt', PLAYER.Character) | |
973 | local P = Instance.new('Pants', PLAYER.Character) | |
974 | - | Instance.new('Sparkles', v).Color = Color3.new(ARGS[2]/255, ARGS[3]/255, ARGS[4]/255) |
974 | + | |
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 | - | for i,v in pairs(gPlayers[v].Character:GetChildren()) do |
987 | + | |
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 | - | Instance.new('Smoke', gPlayers[v].Character.Torso) |
1001 | + | |
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 | - | for i,v in pairs(gPlayers[v].Character.Torso:GetChildren()) do |
1009 | + | |
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 | - | Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 2 |
1021 | + | |
1022 | - | Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 3 |
1022 | + | |
1023 | - | Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 4 |
1023 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1031 | + | |
1032 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
1033 | - | PCHAR.Humanoid.MaxHealth = math.huge wait() PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth |
1033 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1042 | + | |
1043 | v.Archivable = false | |
1044 | - | PCHAR.Humanoid.MaxHealth = 10000000 wait() PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth |
1044 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1053 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1064 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1076 | + | |
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 PCHAR = gPlayers[v].Character |
1091 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1105 | + | |
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 | - | for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v:Stop() wait() v:destroy() end end |
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 | - | local S = Instance.new('Sound', gWorkspace) S.Name = 'song_seth' S.Archivable = false S.Looped = true S.SoundId = 'rbxassetid://' .. ARGS[1] S.Volume = 1 wait() S:Play() |
1114 | + | |
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 | - | for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v.Volume = ARGS[1] end end |
1120 | + | |
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 | - | for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Sound') then v.Pitch = ARGS[1] end end |
1125 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1132 | + | |
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 PCHAR = gPlayers[v].Character |
1143 | + | |
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 | - | if v:IsA('Hat') and v:FindFirstChild('Handle') then |
1148 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1160 | + | |
1161 | ||
1162 | local T = LP.Character.Torso | |
1163 | ||
1164 | local C = Instance.new('Part', T.Parent) | |
1165 | - | if v:IsA('Hat') and v:FindFirstChild('Handle') then |
1165 | + | |
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 PCHAR = gPlayers[v].Character |
1177 | + | |
1178 | M1.Part0 = C | |
1179 | - | SPEAKER.Character.HumanoidRootPart.CFrame = PCHAR.HumanoidRootPart.CFrame |
1179 | + | |
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 PCHAR = gPlayers[v].Character |
1188 | + | |
1189 | local MV = 0.1 | |
1190 | - | for i = 0, 4 do |
1190 | + | |
1191 | if WAVE then | |
1192 | - | PCHAR.HumanoidRootPart.CFrame = SPEAKER.Character.HumanoidRootPart.CFrame |
1192 | + | |
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 | - | for i = 0, 4 do |
1204 | + | |
1205 | - | if gPlayers[v].Character and gPlayers[b].Character then |
1205 | + | |
1206 | - | gPlayers[v].Character.HumanoidRootPart.CFrame = gPlayers[b].Character.HumanoidRootPart.CFrame |
1206 | + | |
1207 | wait(0.1) | |
1208 | - | wait() |
1208 | + | |
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 | - | gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=' .. ARGS[2] |
1218 | + | |
1219 | - | gPlayers[v].Character:BreakJoints() |
1219 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1227 | + | |
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 | - | gLighting:SetMinutesAfterMidnight(tonumber(ARGS[1]) * 60) |
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 | - | KICK(gPlayers[v]) |
1243 | + | |
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 | - | table.insert(BANS, gPlayers[v].userId) |
1251 | + | |
1252 | - | KICK(gPlayers[v]) |
1252 | + | |
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 | - | UNLOCK(gWorkspace) |
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 | - | LOCK(gWorkspace) |
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 | - | UNANCHOR(gWorkspace) |
1299 | + | |
1300 | fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0) | |
1301 | ||
1302 | - | ADD_COMMAND('hat','hat [plr] [id]',{}, |
1302 | + | |
1303 | ||
1304 | local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1305 | - | local H = game:GetObjects('rbxassetid://' .. ARGS[2])[1] |
1305 | + | |
1306 | - | if H:IsA('Hat') then |
1306 | + | |
1307 | ||
1308 | - | H:Clone().Parent = gPlayers[v].Character |
1308 | + | |
1309 | - | end |
1309 | + | |
1310 | local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2) | |
1311 | - | H:destroy() |
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 | - | for i,v in pairs(gPlayers[v].Character:GetChildren()) do |
1318 | + | |
1319 | - | if v:IsA('Hat') then |
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 | - | for i,v in pairs(gPlayers[v].Character:GetChildren()) do |
1334 | + | local M = Instance.new('Model', workspace) M.Name = 'respawn_seth' |
1335 | - | if v:IsA('Hat') then |
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 | - | for i,v in pairs(gPlayers[v].Character:GetChildren()) do |
1346 | + | if not R then |
1347 | - | if v:IsA('Hat') then |
1347 | + | |
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 | - | ADD_COMMAND('gear','gear [plr] [int]',{}, |
1354 | + | repeat wait() until R |
1355 | RESPAWN(LP) | |
1356 | LP.CharacterAppearanceId = 0 | |
1357 | - | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) |
1357 | + | |
1358 | - | local M = gInsertService:LoadAsset(ARGS[2]):GetChildren()[1] |
1358 | + | if MAIN_HAT then |
1359 | MAIN_HAT.Handle.CanCollide = true | |
1360 | - | M:Clone().Parent = gPlayers[v].Backpack |
1360 | + | local M = MAIN_HAT.Handle.BunnyTools.EggScript3:Clone() |
1361 | local P = Instance.new('Part') | |
1362 | - | M:destroy() |
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 | - | gPlayers[v].CameraMode = 'LockFirstPerson' |
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 | - | gPlayers[v].CameraMode = 'Classic' |
1378 | + | |
1379 | end | |
1380 | end | |
1381 | end | |
1382 | end | |
1383 | ||
1384 | function MESSAGE(STRING) | |
1385 | if not SHOWING_MESSAGE then | |
1386 | - | game.Chat:Chat(gPlayers[v].Character.Head, GLS(false, 1)) |
1386 | + | |
1387 | SHOWING_MESSAGE = true | |
1388 | MG.Text = STRING | |
1389 | wait(5) | |
1390 | - | ADD_COMMAND('insert','insert [id]',{}, |
1390 | + | MG.Text = '' |
1391 | SHOWING_MESSAGE = false | |
1392 | - | local M = game:GetObjects('http://www.roblox.com/asset/?id=' .. (ARGS[1]))[1] |
1392 | + | |
1393 | - | if M:IsA('Model') then |
1393 | + | |
1394 | - | M.Parent = gWorkspace M:MakeJoints() M:MoveTo(SPEAKER.Character.Torso.Position) |
1394 | + | |
1395 | - | elseif M:IsA('Tool') or M:IsA('HopperBin') then |
1395 | + | |
1396 | - | M.Parent = LP.Backpack |
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 | - | gPlayers[v].Character.Name = GLS(false, 1) |
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 | - | gPlayers[v].Character.Name = gPlayers[v].Name |
1412 | + | |
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 | - | gPlayers[v].Character.Name = '' |
1420 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1428 | + | |
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 PCHAR = gPlayers[v].Character |
1437 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1446 | + | |
1447 | - | gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1' |
1447 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1456 | + | |
1457 | - | gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=155902847' |
1457 | + | |
1458 | end | |
1459 | end | |
1460 | end) | |
1461 | ||
1462 | - | ADD_COMMAND('damage','damage [plr]',{}, |
1462 | + | |
1463 | function(ARGS, SPEAKER) | |
1464 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1465 | for i,v in pairs(PLAYERS) do | |
1466 | - | local PCHAR = gPlayers[v].Character |
1466 | + | for i,v in pairs(_PLAYERS[v].Character:GetChildren()) do |
1467 | - | PCHAR.Humanoid.Health = PCHAR.Humanoid.Health - 25 |
1467 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1475 | + | |
1476 | - | gWorkspace.CurrentCamera.CameraSubject = PCHAR |
1476 | + | |
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 | - | gWorkspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character |
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 | - | local PCHAR = gPlayers[v].Character |
1489 | + | |
1490 | end) | |
1491 | - | if v:IsA('Part') and v.Name ~= 'Head' and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then |
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 PCHAR = gPlayers[v].Character |
1502 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1513 | + | |
1514 | - | for i,v in pairs(gPlayers[v].Character:GetChildren()) do |
1514 | + | |
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 = gPlayers[v].Character |
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 | - | if v:IsA('Hat') and v:FindFirstChild('Handle') then |
1531 | + | |
1532 | - | v.Transparecy = 0.5 |
1532 | + | |
1533 | ADD_COMMAND('sgod','sgod [plr]',{}, | |
1534 | - | if PCHAR.Head:FindFirstChild('face') then |
1534 | + | |
1535 | - | PCHAR.face.Transparecy = 0.5 |
1535 | + | |
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 | - | local PCHAR=gPlayers[v].Character |
1545 | + | |
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 | - | ADD_COMMAND('loadmap','loadmap [id]',{}, |
1551 | + | |
1552 | end | |
1553 | end) | |
1554 | ||
1555 | - | gWorkspace.Terrain:Clear() |
1555 | + | |
1556 | - | for i,v in pairs(gWorkspace:GetChildren()) do if not v:IsA('Camera') and not v:IsA('Terrain') then v:destroy() end end |
1556 | + | |
1557 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1558 | - | local GO = game:GetObjects('http://www.roblox.com/asset/?id=' .. (ARGS[1]))[1] |
1558 | + | |
1559 | - | GO.Parent = gWorkspace |
1559 | + | local PCHAR = _PLAYERS[v].Character |
1560 | - | GO:MakeJoints() |
1560 | + | |
1561 | PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth | |
1562 | - | for i,v in pairs(gPlayers:GetPlayers()) do |
1562 | + | |
1563 | - | local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth' |
1563 | + | |
1564 | - | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 |
1564 | + | |
1565 | - | Instance.new('Humanoid', M) |
1565 | + | |
1566 | - | v.Character = M |
1566 | + | |
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 | - | for i,v in pairs(gLighting:GetChildren()) do if v:IsA('Sky') then v:destroy() end end |
1575 | + | |
1576 | end | |
1577 | - | local SKY = Instance.new('Sky', gLighting) |
1577 | + | |
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 | - | gLighting.Ambient = Color3.new(ARGS[1], ARGS[2], ARGS[3]) |
1587 | + | |
1588 | v.Anchored = false | |
1589 | end | |
1590 | end | |
1591 | end | |
1592 | end | |
1593 | end) | |
1594 | ||
1595 | - | if FIND_IN_TABLE(JAILED, gPlayers[v].Name) then return end |
1595 | + | |
1596 | - | table.insert(JAILED, gPlayers[v].Name) |
1596 | + | |
1597 | - | local PCHAR = gPlayers[v].Character |
1597 | + | |
1598 | - | local JAIL = DATA.other.JAIL:Clone() JAIL.Parent = gWorkspace JAIL:MoveTo(PCHAR.Torso.Position) JAIL.Name = 'JAIL_' .. gPlayers[v].Name |
1598 | + | |
1599 | _PLAYERS[v].Character:BreakJoints() | |
1600 | - | PCHAR = gPlayers[v].Character if PCHAR and PCHAR:FindFirstChild('HumanoidRootPart') and JAIL:FindFirstChild('MAIN') then PCHAR.HumanoidRootPart.CFrame = JAIL.MAIN.CFrame end |
1600 | + | |
1601 | - | until not FIND_IN_TABLE(JAILED, gPlayers[v].Name) |
1601 | + | |
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 | - | for a,b in pairs(JAILED) do if b == gPlayers[v].Name then table.remove(JAILED, a) end end |
1609 | + | |
1610 | - | if gWorkspace:FindFirstChild('JAIL_' .. gPlayers[v].Name) then gWorkspace['JAIL_' .. gPlayers[v].Name]:destroy() 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 | - | for a,b in pairs(gPlayers[v].Character.Animate:GetChildren()) do |
1623 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1639 | + | |
1640 | end | |
1641 | - | UPDATE_MODEL(PCHAR, gPlayers[v].Name) |
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 | - | CREEPER(gPlayers[v]) |
1649 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1657 | + | |
1658 | if v:IsA('Accessory') and v:FindFirstChild('Handle') then | |
1659 | - | UPDATE_MODEL(PCHAR, gPlayers[v].Name) |
1659 | + | |
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 | - | SHREK(gPlayers[v]) |
1667 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1675 | + | |
1676 | ||
1677 | - | UPDATE_MODEL(PCHAR, gPlayers[v].Name) |
1677 | + | |
1678 | function(ARGS, SPEAKER) | |
1679 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1680 | for i,v in pairs(PLAYERS) do | |
1681 | - | local SPAM = false |
1681 | + | _PLAYERS[v].Character.HumanoidRootPart.CFrame = SPEAKER.Character.Torso.CFrame |
1682 | end | |
1683 | - | ADD_COMMAND('spam','spam [string]',{}, |
1683 | + | |
1684 | ||
1685 | - | SPAM = true |
1685 | + | |
1686 | function(ARGS, SPEAKER) | |
1687 | local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1], SPEAKER), GET_PLAYER(ARGS[2], SPEAKER) | |
1688 | - | gPlayers:Chat(GLS(false, 0)) |
1688 | + | |
1689 | - | until not SPAM |
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 | - | ADD_COMMAND('nospam','nospam',{}, |
1693 | + | |
1694 | ||
1695 | - | SPAM = false |
1695 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1702 | + | |
1703 | ||
1704 | - | if gPlayers[v] and PCHAR and PCHAR:FindFirstChild('Torso') then |
1704 | + | |
1705 | - | local N = Instance.new('Part', gWorkspace) |
1705 | + | |
1706 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1707 | for i,v in pairs(PLAYERS) do | |
1708 | local PCHAR = _PLAYERS[v].Character | |
1709 | - | N.FormFactor = 'Symmetric' |
1709 | + | |
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 | - | N.Touched:connect(function (hit) |
1717 | + | _LIGHTING:SetMinutesAfterMidnight(tonumber(ARGS[1]) * 60) |
1718 | - | if hit and hit.Parent then |
1718 | + | |
1719 | - | local boom = Instance.new('Explosion', gWorkspace) |
1719 | + | |
1720 | - | boom.Position = hit.Position |
1720 | + | |
1721 | - | boom.BlastRadius = 11 |
1721 | + | |
1722 | - | boom.BlastPressure = math.huge |
1722 | + | |
1723 | for i,v in pairs(PLAYERS) do | |
1724 | table.insert(KICKS, _PLAYERS[v]) | |
1725 | end | |
1726 | end) | |
1727 | - | for i = 0, 111 do |
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 | - | for i,v in pairs(gWorkspace:GetChildren()) do |
1740 | + | |
1741 | - | if v.Name == 'nuke_seth' then |
1741 | + | |
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 | - | INFECT(gPlayers[v]) |
1751 | + | |
1752 | end | |
1753 | UNLOCK(v) | |
1754 | end | |
1755 | end | |
1756 | UNLOCK(workspace) | |
1757 | end) | |
1758 | ||
1759 | - | local PCHAR = gPlayers[v].Character |
1759 | + | |
1760 | function(ARGS, SPEAKER) | |
1761 | - | UPDATE_MODEL(PCHAR, gPlayers[v].Name) |
1761 | + | |
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 | - | DUCK(gPlayers[v]) |
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 | - | local PCHAR = gPlayers[v].Character |
1777 | + | |
1778 | end | |
1779 | - | UPDATE_MODEL(PCHAR, gPlayers[v].Name) |
1779 | + | |
1780 | end | |
1781 | end | |
1782 | UNANCHOR(workspace) | |
1783 | end) | |
1784 | ||
1785 | ADD_COMMAND('anchorws','anchor',{'anchor'}, | |
1786 | function(ARGS, SPEAKER) | |
1787 | - | local PCHAR = gPlayers[v].Character |
1787 | + | local function ANCHOR(INSTANCE) |
1788 | for i,v in pairs(INSTANCE:GetChildren()) do | |
1789 | - | PCHAR.Humanoid.Name = 'HUMANOID_' .. gPlayers[v].Name |
1789 | + | |
1790 | - | local humanoid = PCHAR['HUMANOID_' .. gPlayers[v].Name] |
1790 | + | v.Anchored = true |
1791 | - | humanoid.Parent = DATA.humanoids |
1791 | + | |
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 PCHAR = gPlayers[v].Character |
1800 | + | |
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 | - | if DATA.humanoids:FindFirstChild('HUMANOID_' .. gPlayers[v].Name) then |
1804 | + | |
1805 | - | local humanoid = DATA.humanoids['HUMANOID_' .. gPlayers[v].Name] humanoid.Parent = PCHAR humanoid.Name = 'Humanoid' |
1805 | + | |
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 | - | SCALE(gPlayers[v].Character, ARGS[2]) |
1815 | + | |
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 | - | local PCHAR = gPlayers[v].Character PCHAR.Archivable = true |
1823 | + | |
1824 | - | local C = PCHAR:Clone() C.Parent = gWorkspace C:MoveTo(PCHAR:GetModelCFrame().p) C:MakeJoints() |
1824 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1833 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1853 | + | |
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 | - | DOG(gPlayers[v]) |
1866 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1874 | + | |
1875 | end) | |
1876 | - | UPDATE_MODEL(PCHAR, gPlayers[v].Name) |
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 | - | local PCHAR = gPlayers[v].Character |
1884 | + | |
1885 | - | if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then |
1885 | + | |
1886 | - | being_looped[gPlayers[v].Name .. '_heal']:destroy() |
1886 | + | |
1887 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1888 | - | local loopheal = Instance.new('StringValue', being_looped) |
1888 | + | |
1889 | - | loopheal.Name = gPlayers[v].Name .. '_heal' |
1889 | + | local PCHAR = _PLAYERS[v].Character |
1890 | - | game:GetService('RunService').RenderStepped:connect(function() |
1890 | + | |
1891 | - | if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then |
1891 | + | |
1892 | - | PCHAR.Humanoid.Health = PCHAR.Humanoid.MaxHealth |
1892 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1903 | + | |
1904 | - | if being_looped:FindFirstChild(gPlayers[v].Name .. '_heal') then |
1904 | + | |
1905 | - | being_looped[gPlayers[v].Name .. '_heal']:destroy() |
1905 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1914 | + | |
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 | - | ADD_COMMAND('ayylmao','ayylmao [plr]',{}, |
1930 | + | |
1931 | ADD_COMMAND('view','view [plr]',{}, | |
1932 | function(ARGS, SPEAKER) | |
1933 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1934 | - | AYYLMAO(gPlayers[v]) |
1934 | + | |
1935 | local PCHAR = _PLAYERS[v].Character | |
1936 | workspace.CurrentCamera.CameraSubject = PCHAR | |
1937 | end | |
1938 | end) | |
1939 | ||
1940 | ADD_COMMAND('unview','unview',{}, | |
1941 | function() | |
1942 | - | local PCHAR = gPlayers[v].Character |
1942 | + | workspace.CurrentCamera.CameraSubject = _PLAYERS.LocalPlayer.Character |
1943 | end) | |
1944 | - | if v.Name == 'nograv' then |
1944 | + | |
1945 | ADD_COMMAND('nolimbs','nolimbs [plr]',{}, | |
1946 | function(ARGS, SPEAKER) | |
1947 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
1948 | - | local BF = Instance.new('BodyForce', PCHAR.Torso) |
1948 | + | |
1949 | - | BF.Name = 'nograv_seth' |
1949 | + | local PCHAR = _PLAYERS[v].Character |
1950 | - | BF.Force = Vector3.new(0, 2500, 0) |
1950 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1958 | + | |
1959 | ADD_COMMAND('box','box [plr]',{}, | |
1960 | - | if v.Name == 'nograv_seth' then |
1960 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
1991 | + | elseif v:IsA('Accessory') and v:FindFirstChild('Handle') then |
1992 | v.Handle.Transparency = 0.5 | |
1993 | elseif PCHAR.Head:FindFirstChild('face') then | |
1994 | - | DATA.other.Paper:Clone().Parent = v |
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 = gPlayers[v].Character |
2004 | + | local PCHAR=_PLAYERS[v].Character |
2005 | - | PCHAR.Parent = gLighting |
2005 | + | |
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 | - | local PCHAR = gLighting['' .. gPlayers[v].Name] |
2013 | + | for i,v in pairs(_LIGHTING:GetChildren()) do if v:IsA('Sky') then v:destroy() end end |
2014 | - | PCHAR.Parent = gWorkspace |
2014 | + | |
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 | - | repeat wait(0.5) gLighting.Ambient = Color3.new(math.random(), math.random(), math.random()) until not DISCO |
2024 | + | |
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 | - | gPlayers[v].Team = b |
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 | - | local PCHAR = gPlayers[v].Character |
2049 | + | |
2050 | end) | |
2051 | ||
2052 | ADD_COMMAND('animation','animation [plr] [id]',{'anim'}, | |
2053 | function(ARGS, SPEAKER) | |
2054 | - | ADD_COMMAND('vest','vest',{}, |
2054 | + | |
2055 | for i,v in pairs(PLAYERS) do | |
2056 | - | EXECUTE(DATA.scripts.vest_seth.Source) |
2056 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2063 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2073 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2083 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
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 | - | local PCHAR = gPlayers[v].Character |
2109 | + | |
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 | - | for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do |
2119 | + | |
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 | - | for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do |
2131 | + | |
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 | - | for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do |
2143 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2155 | + | |
2156 | end) | |
2157 | - | CREATE_DONG(gPlayers[v], 'Brown') |
2157 | + | |
2158 | ADD_COMMAND('unnuke','nonuke',{}, | |
2159 | function(ARGS, SPEAKER) | |
2160 | - | CREATE_DONG(gPlayers[v], 'Cool yellow') |
2160 | + | for i,v in pairs(workspace:GetChildren()) do |
2161 | if v:IsA('Part') and v.Name == 'nuke_seth' then | |
2162 | v:destroy() | |
2163 | - | CREATE_DONG(gPlayers[v], 'Lime green') |
2163 | + | |
2164 | end | |
2165 | end) | |
2166 | - | CREATE_DONG(gPlayers[v], 1019) |
2166 | + | |
2167 | ADD_COMMAND('infect','infect [plr]',{}, | |
2168 | function(ARGS, SPEAKER) | |
2169 | - | CREATE_DONG(gPlayers[v], 'Pastel brown') |
2169 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2178 | + | |
2179 | local PCHAR = _PLAYERS[v].Character | |
2180 | RESET_MODEL(PCHAR) | |
2181 | UPDATE_MODEL(PCHAR, _PLAYERS[v].Name) | |
2182 | end | |
2183 | end) | |
2184 | - | wait() |
2184 | + | |
2185 | - | Instance.new('ParticleEmitter', PCHAR.Torso).Texture = 'http://www.roblox.com/asset/?id=' .. ARGS[2] - 1 |
2185 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2193 | + | |
2194 | function(ARGS, SPEAKER) | |
2195 | - | local rocket = DATA.other.rocket_seth:Clone() |
2195 | + | |
2196 | - | rocket.Parent = gWorkspace |
2196 | + | |
2197 | - | local weld = Instance.new('Weld', rocket) |
2197 | + | local PCHAR = _PLAYERS[v].Character |
2198 | - | weld.Part0 = weld.Parent |
2198 | + | |
2199 | - | weld.Part1 = PCHAR.Torso |
2199 | + | UPDATE_MODEL(PCHAR, _PLAYERS[v].Name) |
2200 | - | weld.C1 = CFrame.new(0, 0.5, 1) |
2200 | + | |
2201 | - | rocket.force.Force = Vector3.new(0, 15000, 0) |
2201 | + | |
2202 | ||
2203 | ADD_COMMAND('disable','disable [plr]',{}, | |
2204 | function(ARGS, SPEAKER) | |
2205 | - | Instance.new('Explosion', rocket).Position = rocket.Position |
2205 | + | |
2206 | for i,v in pairs(PLAYERS) do | |
2207 | - | rocket:destroy() |
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 | - | COLOR(gPlayers[v], 'Really black') |
2216 | + | |
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 | - | COLOR(gPlayers[v], 'White') |
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 | - | ADD_COMMAND('color','color [plr]',{}, |
2228 | + | |
2229 | end) | |
2230 | ||
2231 | ADD_COMMAND('size','size [plr] [int]',{}, | |
2232 | - | COLOR(gPlayers[v], GLS(false, 1)) |
2232 | + | |
2233 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2234 | for i,v in pairs(PLAYERS) do | |
2235 | SCALE(_PLAYERS[v].Character, ARGS[2]) | |
2236 | - | ADD_COMMAND('telekinesis','telekinesis',{'tk'}, |
2236 | + | |
2237 | end) | |
2238 | - | EXECUTE(DATA.scripts.tele_seth.Source) |
2238 | + | |
2239 | ADD_COMMAND('clone','clone [plr]',{}, | |
2240 | function(ARGS, SPEAKER) | |
2241 | - | ADD_COMMAND('sword','sword [plr]',{}, |
2241 | + | |
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 | - | ECOMMAND('gear ' .. gPlayers[v].Name .. ' 125013769') |
2245 | + | |
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 | - | if gPlayers[v]:FindFirstChild('leaderstats') then |
2253 | + | local PCHAR = _PLAYERS[v].Character |
2254 | - | for i,v in pairs(gPlayers[v].leaderstats:GetChildren()) do |
2254 | + | |
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 | - | local M = Instance.new('Model', gWorkspace) M.Name = 'Touch For Admin!' |
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 | - | ADD_COMMAND('pm','pm [plr] [string]',{}, |
2275 | + | |
2276 | v:destroy() | |
2277 | end | |
2278 | end | |
2279 | - | if not DATA.messages_hints:FindFirstChild(gPlayers[v].Name .. '_MSG_HINT') then |
2279 | + | |
2280 | end) | |
2281 | - | MESSAGE_HINT('MESSAGE', 'PM System', GLS(false, 1), gPlayers[v]) |
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 | - | for i,v in pairs(gPlayers:GetPlayers()) do |
2289 | + | |
2290 | - | if not DATA.messages_hints:FindFirstChild(v.Name .. '_MSG_HINT') then |
2290 | + | |
2291 | function(ARGS, SPEAKER) | |
2292 | - | MESSAGE_HINT('MESSAGE', 'Global Message System', GLS(false, 0), v) |
2292 | + | |
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 | - | ADD_COMMAND('hint','hint [string]',{'h'}, |
2298 | + | |
2299 | ||
2300 | - | for i,v in pairs(gPlayers:GetPlayers()) do |
2300 | + | |
2301 | - | if not DATA.messages_hints:FindFirstChild(v.Name .. '_MSG_HINT') then |
2301 | + | |
2302 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2303 | - | MESSAGE_HINT('HINT', '', GLS(false, 0), v) |
2303 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2313 | + | |
2314 | if FIND_IN_TABLE(LOOPED_H, _PLAYERS[v].Name) then | |
2315 | - | if v:IsA('Hat') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') 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 | - | DECALSPAM(gWorkspace, ARGS[1]) |
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 | - | UNDECALSPAM(gWorkspace) |
2337 | + | |
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 | - | BANG(gPlayers[v].Name) |
2345 | + | |
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 | - | LAG(gPlayers[v]) |
2353 | + | |
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 | - | local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth' |
2361 | + | |
2362 | - | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 |
2362 | + | |
2363 | - | Instance.new('Humanoid', M) |
2363 | + | |
2364 | - | gPlayers[v].Character = M |
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 | - | local PCHAR = gPlayers[v].Character |
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 | - | local PCHAR = gPlayers[v].Character |
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 | - | local PCHAR = gPlayers[v].Character |
2392 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2402 | + | |
2403 | if LP.Character:FindFirstChild('cape_seth') then | |
2404 | - | UPDATE_MODEL(PCHAR, gPlayers[v].Name) |
2404 | + | |
2405 | - | for i,v in pairs(PCHAR:GetChildren()) do if v:IsA('Hat') then v.Handle.Mesh.Offset = Vector3.new(0, 5, 0) end end |
2405 | + | |
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 | - | RESET_MODEL(SPEAKER.Character) UPDATE_MODEL(SPEAKER.Character, gPlayers[v].Name) |
2417 | + | |
2418 | end | |
2419 | end) | |
2420 | ||
2421 | ADD_COMMAND('punish','punish [plr]',{}, | |
2422 | function(ARGS, SPEAKER) | |
2423 | - | for i,v in pairs(gWorkspace:GetChildren()) do if v:IsA('Model') and v.Name == 'baseplate_seth' then v:destroy() end end |
2423 | + | |
2424 | - | local BP = Instance.new('Part', gWorkspace) BP.Name = 'baseplate_seth' BP.Anchored = true BP.BrickColor = BrickColor.new('Bright green') BP.Size = Vector3.new(2048, 5, 2048) BP.Position = Vector3.new(0, 0, 0) |
2424 | + | |
2425 | _PLAYERS[v].Character.Parent = nil | |
2426 | end | |
2427 | end) | |
2428 | ||
2429 | ADD_COMMAND('unpunish','unpunish [plr]',{}, | |
2430 | function(ARGS, SPEAKER) | |
2431 | - | local PCHAR = gPlayers[v].Character |
2431 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2440 | + | |
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 | - | if not CHECK_ADMIN(gPlayers[v]) then |
2449 | + | |
2450 | - | table.insert(ADMINS, gPlayers[v].userId) |
2450 | + | |
2451 | DISCO = false | |
2452 | - | game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'You\'re now an admin!') |
2452 | + | |
2453 | ||
2454 | - | game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'Give me a try! | ' .. C_PREFIX .. 'ff me') |
2454 | + | |
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 | - | if CHECK_ADMIN(gPlayers[v]) then |
2464 | + | |
2465 | - | if FIND_IN_TABLE(ADMINS, gPlayers[v].userId) then |
2465 | + | |
2466 | - | table.remove(ADMINS, GET_IN_TABLE(ADMINS, gPlayers[v].userId)) |
2466 | + | |
2467 | - | game.Chat:Chat(gPlayers[v].Character.Head, printStuff .. 'You\'re no longer an admin.') |
2467 | + | |
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 | - | gPlayers[v].CameraMinZoomDistance = ARGS[2] |
2477 | + | |
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 | - | gPlayers[v].CameraMaxZoomDistance = ARGS[2] |
2485 | + | |
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 | - | NOTIFY(gPlayers[v].Name .. ' | ' .. gPlayers[v].AccountAge, 255, 255, 255) |
2493 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2501 | + | |
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 | - | HL.Color = Color3.new(ARGS[2], ARGS[3], ARGS[4]) |
2505 | + | |
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 | - | local PCHAR = gPlayers[v].Character |
2515 | + | |
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 | - | gWorkspace.Gravity = ARGS[1] |
2530 | + | |
2531 | ADD_COMMAND('stealtools','stealtools [plr]',{'stools'}, | |
2532 | function(ARGS, SPEAKER) | |
2533 | - | ADD_COMMAND('loadpaste','loadpaste [pastebin id]',{}, |
2533 | + | |
2534 | for i,v in pairs(PLAYERS) do | |
2535 | - | EXECUTE(game:HttpGet('http://pastebin.com/raw/' .. ARGS[1], true)) |
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 | - | ADD_COMMAND('printadmins','printadmins',{'padmins'}, |
2538 | + | |
2539 | end | |
2540 | - | for i,v in pairs(ADMINS) do |
2540 | + | |
2541 | - | print (v) |
2541 | + | |
2542 | ||
2543 | ADD_COMMAND('removetools','removetools [plr]',{'rtools'}, | |
2544 | function(ARGS, SPEAKER) | |
2545 | - | ADD_COMMAND('printbans','printbans',{'pbans'}, |
2545 | + | |
2546 | for i,v in pairs(PLAYERS) do | |
2547 | - | for i,v in pairs(BANS) do |
2547 | + | for i,v in pairs(_PLAYERS[v].Backpack:GetChildren()) do |
2548 | - | print (gPlayers:GetNameFromUserIdAsync(v)) |
2548 | + | |
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 | - | gLighting.FogColor = Color3.new(191, 191, 191) |
2559 | + | for i,v in pairs(_PLAYERS[v].Backpack:GetChildren()) do |
2560 | - | gLighting.FogEnd = 100000000 |
2560 | + | |
2561 | - | gLighting.FogStart = 0 |
2561 | + | |
2562 | end | |
2563 | end | |
2564 | end | |
2565 | end) | |
2566 | - | gLighting.TimeOfDay = 14 |
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 | - | gLighting.TimeOfDay = 24 |
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 | - | gLighting.FogEnd = ARGS[1] |
2586 | + | |
2587 | end | |
2588 | end) | |
2589 | ||
2590 | ADD_COMMAND('particles','particles [plr] [id]',{'pts'}, | |
2591 | function(ARGS, SPEAKER) | |
2592 | - | gLighting.FogColor = Color3.new(ARGS[1], ARGS[2], ARGS[3]) |
2592 | + | |
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 | - | CHECK_CHANGELOG() |
2664 | + | |
2665 | end) | |
2666 | ||
2667 | ADD_COMMAND('bait','bait',{}, | |
2668 | function(ARGS, SPEAKER) | |
2669 | - | SERVER_INFO() |
2669 | + | |
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 | - | LIST_COMMANDS() |
2674 | + | |
2675 | end) | |
2676 | ||
2677 | ADD_COMMAND('naked','naked [plr]',{}, | |
2678 | - | for i,v in pairs(COMMANDS) do |
2678 | + | |
2679 | - | print (v.D) |
2679 | + | |
2680 | - | end]] |
2680 | + | |
2681 | local PCHAR = _PLAYERS[v].Character | |
2682 | - | -- / noclip |
2682 | + | |
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 | - | if not gWorkspace.FilteringEnabled then |
2703 | + | |
2704 | - | NOTIFY('Filtering is disabled', 0, 255, 0) |
2704 | + | |
2705 | - | elseif gWorkspace.FilteringEnabled then |
2705 | + | UNDECALSPAM(workspace) |
2706 | - | NOTIFY('Filtering is ENABLED', 255, 0, 0) |
2706 | + | |
2707 | end) | |
2708 | ||
2709 | ADD_COMMAND('bang','bang [plr]',{'rape'}, | |
2710 | - | function UPDATE_CMDS(SEARCH_CMD) |
2710 | + | |
2711 | - | local FOUND_CMDS = DATA.found_cmds |
2711 | + | |
2712 | - | if gCoreGui:FindFirstChild('cmds_seth') then |
2712 | + | |
2713 | - | local cmds_seth = gCoreGui.cmds_seth |
2713 | + | BANG(_PLAYERS[v].Name) |
2714 | - | for i,v in pairs(cmds_seth.MAIN.CMDs:GetChildren()) do |
2714 | + | |
2715 | end) | |
2716 | ||
2717 | - | for i,v in pairs(FOUND_CMDS:GetChildren()) do |
2717 | + | |
2718 | function(ARGS, SPEAKER) | |
2719 | local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER) | |
2720 | - | wait() |
2720 | + | |
2721 | LAG(_PLAYERS[v]) | |
2722 | - | if string.match(v.D, string.lower(SEARCH_CMD)) then |
2722 | + | |
2723 | - | local F = Instance.new('StringValue', FOUND_CMDS) F.Name = '' F.Value = v.D |
2723 | + | |
2724 | ||
2725 | ADD_COMMAND('respawn','respawn [plr]',{}, | |
2726 | - | wait() |
2726 | + | |
2727 | - | local YSize = 25 |
2727 | + | |
2728 | - | for i,v in pairs(FOUND_CMDS:GetChildren()) do |
2728 | + | |
2729 | - | local POS = ((i * YSize) - YSize) |
2729 | + | RESPAWN(_PLAYERS[v]) |
2730 | - | local cloneEX = cmds_seth.MAIN.Example:Clone() |
2730 | + | |
2731 | - | cloneEX.Parent = cmds_seth.MAIN.CMDs |
2731 | + | |
2732 | - | cloneEX.Visible = true |
2732 | + | |
2733 | - | cloneEX.Position = UDim2.new(0, 5, 0, POS + 5) |
2733 | + | |
2734 | - | cloneEX.Text = ' - ' .. v.Value |
2734 | + | |
2735 | - | cmds_seth.MAIN.CMDs.CanvasSize = UDim2.new(0, 0, 0, POS + 30) |
2735 | + | |
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 | - | function LIST_COMMANDS() |
2740 | + | |
2741 | - | if gCoreGui:FindFirstChild('cmds_seth') then gCoreGui.cmds_seth:destroy() end |
2741 | + | |
2742 | - | local cloneCMDs = DATA.guis.cmds_seth:Clone() |
2742 | + | |
2743 | - | local searchCMDs = cloneCMDs.MAIN.Search |
2743 | + | |
2744 | - | cloneCMDs.MAIN.Header.Text = ' ' .. #COMMANDS .. ' commands' |
2744 | + | |
2745 | - | cloneCMDs.Parent = gCoreGui |
2745 | + | |
2746 | - | cloneCMDs.MAIN.Exit.MouseButton1Down:connect(function() |
2746 | + | |
2747 | - | cloneCMDs:destroy() |
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 | - | cloneCMDs.MAIN.MM.MouseButton1Down:connect(function() |
2749 | + | |
2750 | - | if cloneCMDs.MAIN.CMDs.Visible then |
2750 | + | |
2751 | - | cloneCMDs.MAIN.CMDs.Visible = false |
2751 | + | |
2752 | - | elseif not cloneCMDs.MAIN.CMDs.Visible then |
2752 | + | |
2753 | - | cloneCMDs.MAIN.CMDs.Visible = true |
2753 | + | |
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 | - | local YSize = 25 |
2758 | + | |
2759 | - | local POS = ((i * YSize) - YSize) |
2759 | + | |
2760 | - | local cloneEX = cloneCMDs.MAIN.Example:Clone() |
2760 | + | |
2761 | - | cloneEX.Parent = cloneCMDs.MAIN.CMDs |
2761 | + | |
2762 | - | cloneEX.Visible = true |
2762 | + | |
2763 | - | cloneEX.Position = UDim2.new(0, 5, 0, POS + 5) |
2763 | + | |
2764 | - | cloneEX.Text = ' - ' .. v.D |
2764 | + | |
2765 | - | cloneCMDs.MAIN.CMDs.CanvasSize = UDim2.new(0, 0, 0, POS + 30) |
2765 | + | |
2766 | for i,v in pairs(PLAYERS) do | |
2767 | local PCHAR = _PLAYERS[v].Character | |
2768 | RESET_MODEL(PCHAR) | |
2769 | - | searchCMDs.FocusLost:connect(function() |
2769 | + | UPDATE_MODEL(PCHAR, _PLAYERS[v].Name) |
2770 | - | if searchCMDs.Text then |
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 | - | UPDATE_CMDS(searchCMDs.Text) |
2771 | + | |
2772 | - | searchCMDs.Text = ' search commands' |
2772 | + | |
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 | - | local CAN_CHECK = true |
2777 | + | |
2778 | ADD_COMMAND('stealchar','stealchar [plr]',{'schar'}, | |
2779 | - | function CHECK_CHANGELOG() |
2779 | + | |
2780 | local PLAYERS1, PLAYERS2 = GET_PLAYER(ARGS[1]) | |
2781 | - | if CAN_CHECK then |
2781 | + | |
2782 | - | CAN_CHECK = false |
2782 | + | RESET_MODEL(SPEAKER.Character) UPDATE_MODEL(SPEAKER.Character, _PLAYERS[v].Name) |
2783 | - | local changelogClone = DATA.guis.changelog_seth:Clone() |
2783 | + | |
2784 | - | changelogClone.MAIN.changelog.Text = CHANGELOG |
2784 | + | |
2785 | - | changelogClone.Parent = gCoreGui |
2785 | + | |
2786 | ADD_COMMAND('baseplate','baseplate',{'bp'}, | |
2787 | - | changelogClone.MAIN:TweenPosition(UDim2.new(1, -410, 1, -210), 'InOut', 'Quad', 0.5, false) |
2787 | + | |
2788 | - | wait(10) |
2788 | + | for i,v in pairs(workspace:GetChildren()) do if v:IsA('Model') and v.Name == 'baseplate_seth' then v:destroy() end end |
2789 | - | changelogClone.MAIN:TweenPosition(UDim2.new(1, -410, 1, 0), 'InOut', 'Quad', 0.5, false) |
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 | - | changelogClone:destroy() |
2791 | + | |
2792 | - | CAN_CHECK = true |
2792 | + | |
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 | - | CHECK_CHANGELOG() |
2797 | + | |
2798 | end | |
2799 | - | CMDbar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true) |
2799 | + | |
2800 | - | CMDbar.Parent['']:TweenPosition(UDim2.new(0, 0, 1, -30), 'InOut', 'Quad', 0.5, true) |
2800 | + | |
2801 | ADD_COMMAND('rotate','rotate [plr]',{'rt'}, | |
2802 | - | CMDbar.FocusLost:connect(function(enterpressed) |
2802 | + | |
2803 | - | if enterpressed and CMDbar.Text ~= '' then |
2803 | + | |
2804 | - | pcall(function() |
2804 | + | |
2805 | - | ECOMMAND(CMDbar.Text, LP) |
2805 | + | local PCHAR = _PLAYERS[v].Character |
2806 | if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.AutoRotate = true end | |
2807 | end | |
2808 | - | CMDbar:TweenPosition(UDim2.new(0, -200, 1, -50), 'InOut', 'Quad', 0.5, true) |
2808 | + | |
2809 | ||
2810 | ADD_COMMAND('admin','admin [plr]',{}, | |
2811 | - | MOUSE.KeyDown:connect(function(Key) |
2811 | + | |
2812 | - | if Key:byte() == 59 then |
2812 | + | |
2813 | - | CMDbar:TweenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true) |
2813 | + | |
2814 | - | CMDbar:CaptureFocus() |
2814 | + | if not CHECK_ADMIN(_PLAYERS[v]) then |
2815 | table.insert(ADMINS, _PLAYERS[v].userId) | |
2816 | UPDATE_ADMINS() | |
2817 | spawn(function() | |
2818 | - | -- / loader |
2818 | + | game.Chat:Chat(_PLAYERS[v].Character.Head, STUFF .. 'You\'re now an admin!') |
2819 | wait(3) | |
2820 | - | wait() |
2820 | + | game.Chat:Chat(_PLAYERS[v].Character.Head, STUFF .. 'Give me a try! | ' .. C_PREFIX .. 'ff me') |
2821 | end) | |
2822 | - | LOAD_SETH() |
2822 | + | |
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() |