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