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