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