SHOW:
|
|
- or go back to the newest paste.
1 | - | --THIS SCRIPT HAS BEEN DISCONTINUED |
1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | - | --Please use Infinite Yield FE |
2 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
3 | - | --infyield.yolasite.com |
3 | + | |
4 | - | --discord.io/infiniteyield |
4 | + | print("FE Compatibility code by Mokiros") |
5 | script.Parent = Player.Character | |
6 | - | local GUI = Instance.new("ScreenGui") |
6 | + | |
7 | - | local AnnGUI = Instance.new("Frame") |
7 | + | --RemoteEvent for communicating |
8 | - | local background = Instance.new("Frame") |
8 | + | local Event = Instance.new("RemoteEvent") |
9 | - | local TextBox = Instance.new("TextLabel") |
9 | + | Event.Name = "UserInput_Event" |
10 | ||
11 | --Fake event to make stuff like Mouse.KeyDown work | |
12 | local function fakeEvent() | |
13 | - | local ExitImage = Instance.new("ImageLabel") |
13 | + | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} |
14 | t.connect = t.Connect | |
15 | - | GUI.Parent = game:GetService("CoreGui") |
15 | + | return t |
16 | end | |
17 | - | AnnGUI.Name = "AnnGUI" |
17 | + | |
18 | - | AnnGUI.Parent = GUI |
18 | + | --Creating fake input objects with fake variables |
19 | - | AnnGUI.Active = true |
19 | + | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} |
20 | - | AnnGUI.BackgroundTransparency = 1 |
20 | + | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
21 | - | AnnGUI.Position = UDim2.new(0.5, -180, 0, -500) |
21 | + | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) |
22 | - | AnnGUI.Size = UDim2.new(0, 360, 0, 20) |
22 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
23 | - | AnnGUI.ZIndex = 10 |
23 | + | end} |
24 | --Merged 2 functions into one by checking amount of arguments | |
25 | - | background.Name = "background" |
25 | + | CAS.UnbindAction = CAS.BindAction |
26 | - | background.Parent = AnnGUI |
26 | + | |
27 | - | background.Active = true |
27 | + | --This function will trigger the events that have been :Connect()'ed |
28 | - | background.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
28 | + | local function te(self,ev,...) |
29 | - | background.BorderSizePixel = 0 |
29 | + | local t = m[ev] |
30 | - | background.Position = UDim2.new(0, 0, 0, 20) |
30 | + | if t and t._fakeEvent and t.Function then |
31 | - | background.Size = UDim2.new(0, 360, 0, 150) |
31 | + | t.Function(...) |
32 | - | background.ZIndex = 10 |
32 | + | |
33 | end | |
34 | - | TextBox.Parent = background |
34 | + | m.TrigEvent = te |
35 | - | TextBox.BackgroundTransparency = 1 |
35 | + | UIS.TrigEvent = te |
36 | - | TextBox.Position = UDim2.new(0, 5, 0, 5) |
36 | + | |
37 | - | TextBox.Size = UDim2.new(0, 350, 0, 140) |
37 | + | Event.OnServerEvent:Connect(function(plr,io) |
38 | - | TextBox.Font = Enum.Font.SourceSans |
38 | + | if plr~=Player then return end |
39 | - | TextBox.TextSize = 18 |
39 | + | if io.isMouse then |
40 | - | TextBox.TextWrapped = true |
40 | + | m.Target = io.Target |
41 | - | TextBox.Text = "This version of Infinite Yield has been discontinued. Please go to our website or discord server to get a currently supported version.\n\ndiscord.io/infiniteyield\n\ninfyield.yolasite.com" |
41 | + | m.Hit = io.Hit |
42 | - | TextBox.TextColor3 = Color3.new(1, 1, 1) |
42 | + | |
43 | - | TextBox.TextXAlignment = Enum.TextXAlignment.Left |
43 | + | local b = io.UserInputState == Enum.UserInputState.Begin |
44 | - | TextBox.TextYAlignment = Enum.TextYAlignment.Top |
44 | + | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
45 | - | TextBox.ZIndex = 10 |
45 | + | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
46 | end | |
47 | for _,t in pairs(CAS.Actions) do | |
48 | - | shadow.Parent = AnnGUI |
48 | + | for _,k in pairs(t.Keys) do |
49 | - | shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
49 | + | if k==io.KeyCode then |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | - | shadow.Size = UDim2.new(0, 360, 0, 20) |
51 | + | |
52 | - | shadow.ZIndex = 10 |
52 | + | |
53 | end | |
54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
56 | end | |
57 | - | PopupText.Size = UDim2.new(1, 0, 0.95, 0) |
57 | + | |
58 | - | PopupText.ZIndex = 10 |
58 | + | Event.Parent = NLS([==[ |
59 | - | PopupText.Font = Enum.Font.SourceSans |
59 | + | local Player = game:GetService("Players").LocalPlayer |
60 | - | PopupText.TextSize = 14 |
60 | + | local Event = script:WaitForChild("UserInput_Event") |
61 | - | PopupText.Text = "Server Announcement" |
61 | + | |
62 | - | PopupText.TextColor3 = Color3.new(1, 1, 1) |
62 | + | local UIS = game:GetService("UserInputService") |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | --Since InputObject is a client-side instance, we create and pass table instead | |
66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
67 | - | Exit.BackgroundTransparency = 1 |
67 | + | |
68 | - | Exit.Position = UDim2.new(1, -20, 0, 0) |
68 | + | UIS.InputBegan:Connect(input) |
69 | UIS.InputEnded:Connect(input) | |
70 | ||
71 | - | Exit.ZIndex = 10 |
71 | + | local Mouse = Player:GetMouse() |
72 | local h,t | |
73 | - | ExitImage.Parent = Exit |
73 | + | --Give the server mouse data 30 times every second, but only if the values changed |
74 | - | ExitImage.BackgroundColor3 = Color3.new(1, 1, 1) |
74 | + | --If player is not moving their mouse, client won't fire events |
75 | - | ExitImage.BackgroundTransparency = 1 |
75 | + | while wait(1/30) do |
76 | - | ExitImage.Position = UDim2.new(0, 5, 0, 5) |
76 | + | if h~=Mouse.Hit or t~=Mouse.Target then |
77 | - | ExitImage.Size = UDim2.new(0, 10, 0, 10) |
77 | + | h,t=Mouse.Hit,Mouse.Target |
78 | - | ExitImage.Image = "rbxassetid://5054663650" |
78 | + | Event:FireServer({isMouse=true,Target=t,Hit=h}) |
79 | - | ExitImage.ZIndex = 10 |
79 | + | |
80 | end]==],Player.Character) | |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | - | AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil) |
82 | + | |
83 | --------------------------------------------------------------- | |
84 | --------------------------------------------------------------- | |
85 | - | AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil) |
85 | + | |
86 | - | wait(0.6) |
86 | + | |
87 | - | AnnGUI:Destroy() |
87 | + | |
88 | - | run() |
88 | + | |
89 | -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | -- | |
90 | -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| -- | |
91 | -- -- | |
92 | - | --script start |
92 | + | |
93 | ---------------------------Edge-Moon--------------------------- | |
94 | --------------------------------------------------------------- | |
95 | ||
96 | local Version = '9.5.3' | |
97 | HttpService = game:GetService("HttpService") | |
98 | SAVEFILE = { | |
99 | colorR = 0.121569; | |
100 | colorG = 0.121569; | |
101 | colorB = 0.121569; | |
102 | cmdprefix = ';'; | |
103 | suggestionstoggle = true; | |
104 | allowfriends = true; | |
105 | JLnotify = true; | |
106 | Mseconds = '7'; | |
107 | Nfriends = true; | |
108 | cmdbarbind = ';'; | |
109 | chatsV = false; | |
110 | whispersV = false; | |
111 | commandsV = false; | |
112 | aliasSave = {} | |
113 | } | |
114 | defaults = HttpService:JSONEncode(SAVEFILE) | |
115 | ||
116 | function writefileExploit() if is_protosmasher_caller ~= nil or elysianexecute ~= nil or Synapse ~= nil then return true end end | |
117 | ||
118 | loaded = false | |
119 | function run() | |
120 | local function writeF() | |
121 | writefile("IY.txt", defaults) | |
122 | wait(1) | |
123 | local newjson = readfile("IY.txt") | |
124 | local CREATEFILE = HttpService:JSONDecode(newjson) | |
125 | colorR = CREATEFILE.colorR | |
126 | colorG = CREATEFILE.colorG | |
127 | colorB = CREATEFILE.colorB | |
128 | cmdprefix = CREATEFILE.cmdprefix | |
129 | suggestionstoggle = CREATEFILE.suggestionstoggle | |
130 | allowfriends = CREATEFILE.allowfriends | |
131 | JLnotify = CREATEFILE.JLnotify | |
132 | Mseconds = CREATEFILE.Mseconds | |
133 | Nfriends = CREATEFILE.Nfriends | |
134 | cmdbarbind = CREATEFILE.cmdbarbind | |
135 | chatsV = CREATEFILE.chatsV | |
136 | whispersV = CREATEFILE.whispersV | |
137 | commandsV = CREATEFILE.commandsV | |
138 | aliasSave = CREATEFILE.aliasSave | |
139 | loaded = true end | |
140 | function pcWRITE() | |
141 | local file, err = pcall(writeF) | |
142 | if not file then | |
143 | warn("READ/WRITE ERROR: "..err) | |
144 | R_W = game:GetObjects("rbxassetid://01587976911")[1] R_W.Parent = game.CoreGui | |
145 | function Click(mouse) R_W:Destroy() | |
146 | for _, child in pairs(game.CoreGui:GetChildren()) do | |
147 | if child.Name == "IYrun" then | |
148 | child:Destroy() end end end | |
149 | R_W.drag.PromptDialog.shadow.Exit.MouseButton1Down:connect(Click) end end | |
150 | if writefileExploit() then | |
151 | local function sfile() | |
152 | local checktxt = readfile("IY.txt") | |
153 | if checktxt == nil then pcWRITE() writeF() | |
154 | else return end end | |
155 | local success, message2 = pcall(sfile) | |
156 | if success then | |
157 | local json = readfile("IY.txt") | |
158 | local LOADFILE = HttpService:JSONDecode(json) | |
159 | colorR = LOADFILE.colorR | |
160 | colorG = LOADFILE.colorG | |
161 | colorB = LOADFILE.colorB | |
162 | cmdprefix = LOADFILE.cmdprefix | |
163 | suggestionstoggle = LOADFILE.suggestionstoggle | |
164 | allowfriends = LOADFILE.allowfriends | |
165 | JLnotify = LOADFILE.JLnotify | |
166 | Mseconds = LOADFILE.Mseconds | |
167 | Nfriends = LOADFILE.Nfriends | |
168 | cmdbarbind = LOADFILE.cmdbarbind | |
169 | chatsV = LOADFILE.chatsV | |
170 | whispersV = LOADFILE.whispersV | |
171 | commandsV = LOADFILE.commandsV | |
172 | aliasSave = LOADFILE.aliasSave | |
173 | loaded = true else | |
174 | pcWRITE() writeF() end | |
175 | else | |
176 | colorR = 0.121569 | |
177 | colorG = 0.121569 | |
178 | colorB = 0.121569 | |
179 | cmdprefix = ';' | |
180 | suggestionstoggle = true | |
181 | allowfriends = true | |
182 | JLnotify = true | |
183 | Mseconds = '7' | |
184 | Nfriends = true | |
185 | cmdbarbind = ';' | |
186 | chatsV = false | |
187 | whispersV = false | |
188 | commandsV = false | |
189 | aliasSave = {} | |
190 | loaded = true | |
191 | end | |
192 | repeat wait() until loaded == true | |
193 | local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local Player = gPlayers.LocalPlayer | |
194 | local Mouse = Player:GetMouse() local char = Player.Character local LP = gPlayers.LocalPlayer local gPlayers = game:GetService("Players") local _players = game:GetService('Players') MSGhook = false local services={} local cmds={} | |
195 | local std={} local loopkillT = {} local rainbowT = {} local disabletoolsT = {} local banT = {} local adminT = {} function FIND_CHILD(PATH, NAME) if PATH:FindFirstChild(NAME) then return true end return false end | |
196 | services.events = {} local user = gPlayers.LocalPlayer local bringT = {} agelock = nil isagelocked = false local scriptprefix='\\' | |
197 | local split=" " slock = false | |
198 | function updatefile() | |
199 | if writefileExploit() then | |
200 | local update = { | |
201 | colorR = colorR; | |
202 | colorG = colorG; | |
203 | colorB = colorB; | |
204 | cmdprefix = cmdprefix; | |
205 | suggestionstoggle = suggestionstoggle; | |
206 | allowfriends = allowfriends; | |
207 | JLnotify = JLnotify; | |
208 | Mseconds = Mseconds; | |
209 | Nfriends = Nfriends; | |
210 | cmdbarbind = cmdbarbind; | |
211 | chatsV = chatsV; | |
212 | whispersV = whispersV; | |
213 | commandsV = commandsV; | |
214 | aliasSave = aliasSave | |
215 | } | |
216 | local updated = HttpService:JSONEncode(update) | |
217 | wait(0.1) | |
218 | writefile("IY.txt", updated) end end | |
219 | function isNumber(str) | |
220 | return tonumber(str) ~= nil end | |
221 | function msghook() | |
222 | for _, child in pairs( workspace:GetChildren()) do | |
223 | if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then | |
224 | child.Name = "IYmessage" child.Text = '' MSGhook = true end end | |
225 | if workspace:FindFirstChild("IYmessage") then MSGhook = true | |
226 | else MSGhook = false end end | |
227 | game:GetService("RunService").RenderStepped:Connect(function() | |
228 | game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0) | |
229 | if r15noclip then | |
230 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end end | |
231 | if LP.Character and LP.Character:FindFirstChild('Humanoid') then | |
232 | LP.Character.Humanoid.Died:connect(function() FLYING = false end) | |
233 | if MSGhook == true and workspace:FindFirstChild("IYmessage") then | |
234 | if workspace.IYmessage.Text == '' then | |
235 | for _, child in pairs( LightingService:GetChildren()) do | |
236 | if child.Name == "IYmblur" then | |
237 | child:Destroy() end end end | |
238 | else MSGhook = false end | |
239 | for i,v in pairs(_players:GetPlayers()) do | |
240 | if FindTable(loopkillT, v.Name) then | |
241 | v.Character:BreakJoints() end | |
242 | if FindTable(disabletoolsT, v.Name) and v:FindFirstChild('Backpack') then | |
243 | v.Backpack:Destroy() | |
244 | for i,n in pairs(v.Character:GetChildren()) do | |
245 | if n:IsA('Tool') or n:IsA('HopperBin') then | |
246 | n:destroy() end end end | |
247 | if FindTable(rainbowT, v.Name) then | |
248 | v.Neutral = false | |
249 | v.TeamColor = BrickColor.random() | |
250 | end end end end) | |
251 | LightingService = game:GetService("Lighting") | |
252 | origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time = | |
253 | LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart} | |
254 | function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end | |
255 | function FindTable(Table, Name) | |
256 | for i,v in pairs(Table) do | |
257 | if v == Name then | |
258 | return true | |
259 | end end | |
260 | return false | |
261 | end | |
262 | function GetInTable(Table, Name) | |
263 | for i = 1, #Table do | |
264 | if Table[i] == Name then | |
265 | return i | |
266 | end end | |
267 | return false end | |
268 | _players.PlayerRemoving:connect(function(player) | |
269 | for a,b in pairs(injail) do if b == player.Name then table.remove(injail, a) workspace["JAIL_" .. player.Name]:Destroy() end end | |
270 | for a,b in pairs(hastab) do if b == player.Name then table.remove(hastab, a) workspace[player.Name .. "TAB"]:Destroy() end end | |
271 | if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then | |
272 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
273 | Title = player.Name, | |
274 | Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']', | |
275 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
276 | Duration = 5, | |
277 | }) | |
278 | elseif JLnotify == true and Nfriends == false then | |
279 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
280 | Title = player.Name, | |
281 | Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']', | |
282 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
283 | Duration = 5, | |
284 | }) | |
285 | end | |
286 | end) | |
287 | FLYING = false | |
288 | iyflyspeed = 1 | |
289 | function sFLY() -- from rocky2u cmdscript | |
290 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid') | |
291 | repeat wait() until Mouse | |
292 | ||
293 | local T = LP.Character.HumanoidRootPart | |
294 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
295 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
296 | local SPEED = 0 | |
297 | ||
298 | local function FLY() | |
299 | FLYING = true | |
300 | local BG = Instance.new('BodyGyro', T) | |
301 | local BV = Instance.new('BodyVelocity', T) | |
302 | BG.P = 9e4 | |
303 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
304 | BG.cframe = T.CFrame | |
305 | BV.velocity = Vector3.new(0, 0.1, 0) | |
306 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
307 | spawn(function() | |
308 | repeat wait() | |
309 | LP.Character.Humanoid.PlatformStand = true | |
310 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
311 | SPEED = 50 | |
312 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
313 | SPEED = 0 | |
314 | end | |
315 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
316 | 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 | |
317 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
318 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
319 | 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 | |
320 | else | |
321 | BV.velocity = Vector3.new(0, 0.1, 0) | |
322 | end | |
323 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
324 | until not FLYING | |
325 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
326 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
327 | SPEED = 0 | |
328 | BG:destroy() | |
329 | BV:destroy() | |
330 | LP.Character.Humanoid.PlatformStand = false | |
331 | end) | |
332 | end | |
333 | Mouse.KeyDown:connect(function(KEY) | |
334 | if KEY:lower() == 'w' then | |
335 | CONTROL.F = iyflyspeed | |
336 | elseif KEY:lower() == 's' then | |
337 | CONTROL.B = -iyflyspeed | |
338 | elseif KEY:lower() == 'a' then | |
339 | CONTROL.L = -iyflyspeed | |
340 | elseif KEY:lower() == 'd' then | |
341 | CONTROL.R = iyflyspeed | |
342 | end | |
343 | end) | |
344 | Mouse.KeyUp:connect(function(KEY) | |
345 | if KEY:lower() == 'w' then | |
346 | CONTROL.F = 0 | |
347 | elseif KEY:lower() == 's' then | |
348 | CONTROL.B = 0 | |
349 | elseif KEY:lower() == 'a' then | |
350 | CONTROL.L = 0 | |
351 | elseif KEY:lower() == 'd' then | |
352 | CONTROL.R = 0 | |
353 | end | |
354 | end) | |
355 | FLY() | |
356 | end | |
357 | function NOFLY() | |
358 | FLYING = false | |
359 | LP.Character.Humanoid.PlatformStand = false | |
360 | end | |
361 | HK = { | |
362 | '-HOTKEYS-', | |
363 | 'HOLD F2 - Click TP', | |
364 | 'F4 - Toggle Fly', | |
365 | 'F5 - Toggle Noclip', | |
366 | '-COMMANDS-' | |
367 | } | |
368 | CMDs = { | |
369 | 'addalias [cmd] [alias]', | |
370 | 'addstat [plr] [text]', | |
371 | 'admins', | |
372 | 'admin [plr]', | |
373 | 'agelock [age num]', | |
374 | 'addban [full username]', | |
375 | 'age [plr]', | |
376 | 'aliases', | |
377 | 'alien / ayylmao [plr]', | |
378 | 'ambient [R G B]', | |
379 | 'anchor', | |
380 | 'animation [plr] [anim]', | |
381 | 'arrest [plr]', | |
382 | 'bait', | |
383 | 'ball [plr]', | |
384 | 'bang [plr] [plr] / bang [plr]', | |
385 | 'bans', | |
386 | 'ban [plr]', | |
387 | 'base', | |
388 | 'begone / thot [plr]', | |
389 | 'bgui [plr] [text]', | |
390 | 'blackandwhite', | |
391 | 'bleach [plr]', | |
392 | 'blackify [plr]', | |
393 | 'blind [plr]', | |
394 | 'blur [num]', | |
395 | 'bomb [plr]', | |
396 | 'box [plr]', | |
397 | 'breakloops/break (cmd loops)', | |
398 | 'brightness [num]', | |
399 | 'bring [plr]', | |
400 | 'btools [plr]', | |
401 | 'burn [plr]', | |
402 | 'cape [plr] [R G B]', | |
403 | 'car [plr]', | |
404 | 'change [plr] [stat] [num]', | |
405 | 'charplr / cp [plr] [plr]', | |
406 | 'char [plr] [ID]', | |
407 | 'chat [plr] [msg]', | |
408 | 'chickenarms / chicken [plr]', | |
409 | 'clear', | |
410 | 'clip', | |
411 | 'clone [plr]', | |
412 | 'clraliases', | |
413 | 'clrbans', | |
414 | 'clrterrain', | |
415 | 'cmds', | |
416 | 'confuse [plr]', | |
417 | 'control [plr]', | |
418 | 'copytools / ctools [plr]', | |
419 | 'countdown [num]', | |
420 | 'crash [plr]', | |
421 | 'creeper [plr]', | |
422 | 'cripple [plr]', | |
423 | 'crucify [plr]', | |
424 | 'damage [plr]', | |
425 | 'dance [plr]', | |
426 | 'day', | |
427 | 'decalspam [ID]', | |
428 | 'deleteclass / dc [class name]', | |
429 | 'deletepos / dpos [name]', | |
430 | 'delete [part name]', | |
431 | 'devuzi', | |
432 | 'disablereset [plr]', | |
433 | 'disabletools [plr]', | |
434 | 'disable [plr]', | |
435 | 'disco', | |
436 | 'discomesh [plr]', | |
437 | 'distortsound / distort [num]', | |
438 | 'dog [plr]', | |
439 | 'dong [plr]', | |
440 | 'draw', | |
441 | 'duck [plr]', | |
442 | 'dummy [name]', | |
443 | 'earthquake [power] [intensity]', | |
444 | 'enablereset [plr]', | |
445 | 'enabletools [plr]', | |
446 | 'enable [plr]', | |
447 | 'esp [plr]', | |
448 | 'exit', | |
449 | 'explode [plr]', | |
450 | 'explorer / dex', | |
451 | 'f3x', | |
452 | 'face [plr] [ID]', | |
453 | 'fart [plr]', | |
454 | 'fat [plr]', | |
455 | 'fegod', | |
456 | 'feinvisible / feinvis', | |
457 | 'fekill [plr] (need a tool)', | |
458 | 'ff [plr]', | |
459 | 'filtering', | |
460 | 'fire [plr] [R G B]', | |
461 | 'firstp [plr]', | |
462 | 'fix', | |
463 | 'fixcam', | |
464 | 'fixlighting / fixl', | |
465 | 'flashlight [plr]', | |
466 | 'fling [plr]', | |
467 | 'float [plr]', | |
468 | 'flood', | |
469 | 'fly', | |
470 | 'flyspeed [num]', | |
471 | 'fogcolor [R G B]', | |
472 | 'fogend [num]', | |
473 | 'freecam / fc', | |
474 | 'freecamspeed / fcspeed [num]', | |
475 | 'freeze / fr [plr]', | |
476 | 'ghost [plr]', | |
477 | 'glass [plr]', | |
478 | 'globalshadows / gshadows', | |
479 | 'glowstick [plr] [R G B]', | |
480 | 'god [plr]', | |
481 | 'goto [plr]', | |
482 | 'gravity [num]', | |
483 | 'hang [plr]', | |
484 | 'hatsize [plr] [num]', | |
485 | 'hat [plr] [ID]', | |
486 | 'headshake [plr]', | |
487 | 'headsize [plr] [num]', | |
488 | 'heal [plr]', | |
489 | 'hidename [plr]', | |
490 | 'hideplaylist / hideplayer', | |
491 | 'hipheight / hheight [plr] [num]', | |
492 | 'hub', | |
493 | 'infect [plr]', | |
494 | 'insert [ID/name]', | |
495 | 'invert', | |
496 | 'invisible / invis [plr]', | |
497 | 'invisibleff / invisff [plr]', | |
498 | 'iyspam', | |
499 | 'jail [plr]', | |
500 | 'jumppower / jpower [plr] [num]', | |
501 | 'jump [plr]', | |
502 | 'keeptools / ktools [plr]', | |
503 | 'keybind [key] [cmd]', | |
504 | 'kick [plr]', | |
505 | 'kidnap [plr]', | |
506 | 'kill [plr]', | |
507 | 'knife', | |
508 | 'knuckles [plr]', | |
509 | 'light [plr] [R G B]', | |
510 | 'loadm', | |
511 | 'loadmap [ID]', | |
512 | 'loadpos / lpos [plr] [name]', | |
513 | 'lockws', | |
514 | 'lock [plr]', | |
515 | 'logs', | |
516 | 'longneck [plr]', | |
517 | 'loopbring [plr]', | |
518 | 'loopheal [plr]', | |
519 | 'loopjump / ljump [plr]', | |
520 | 'loopkill [plr]', | |
521 | 'loopname / lname [plr]', | |
522 | 'loopoof', | |
523 | 'loopsit / lsit [plr]', | |
524 | 'mage', | |
525 | 'maxhealth [plr] [num]', | |
526 | 'maxzoom [plr] [num]', | |
527 | 'mesh [plr] [mesh] [texture]', | |
528 | 'message / m [msg]', | |
529 | 'meteor/asteroid [plr]', | |
530 | 'naked [plr]', | |
531 | 'name [plr]', | |
532 | 'neon [plr]', | |
533 | 'nextsong', | |
534 | 'night', | |
535 | 'nil [plr]', | |
536 | 'noarms [plr]', | |
537 | 'nobox [plr]', | |
538 | 'noclip', | |
539 | 'noclones [plr]', | |
540 | 'nodong [plr]', | |
541 | 'nodummies', | |
542 | 'noesp [plr]', | |
543 | 'noglobalshadows / nogshadows', | |
544 | 'nokeeptools / noktools [plr]', | |
545 | 'nolimbs [plr]', | |
546 | 'nooutlines', | |
547 | 'noparticles [plr]', | |
548 | 'noplrsound [plr]', | |
549 | 'norain', | |
550 | 'notools [plr]', | |
551 | 'nuke [plr]', | |
552 | 'os [plr]', | |
553 | 'offset [plr] [coordinate]', | |
554 | 'outlines', | |
555 | 'paper [plr]', | |
556 | 'partdisco', | |
557 | 'particles [plr] [ID]', | |
558 | 'pipetp [plr] [plr]', | |
559 | 'pitch [num]', | |
560 | 'playhash / hash [hash]', | |
561 | 'playlist / player [ID],[ID]...', | |
562 | 'plrsound [plr] [ID]', | |
563 | 'positions / pos', | |
564 | 'prefix [string]', | |
565 | 'prevsong', | |
566 | 'punish [plr]', | |
567 | 'rainbowname [plr]', | |
568 | 'rainbow [plr]', | |
569 | 'rain [mesh] [texture]', | |
570 | 'refresh / re [plr]', | |
571 | 'rejoin', | |
572 | 'remotespy', | |
573 | 'removealias [alias]', | |
574 | 'removebait / nobait', | |
575 | 'rgui', | |
576 | 'removehats / rhats [plr]', | |
577 | 'removespawns', | |
578 | 'respawn [plr]', | |
579 | 'restoremap / rmap', | |
580 | 'rocket [plr]', | |
581 | 'savelighting / slighting', | |
582 | 'savemap / smap', | |
583 | 'savepos / spos [name]', | |
584 | 'script [script]', | |
585 | 'seagull / gull [plr]', | |
586 | 'seizure [plr]', | |
587 | 'serverinfo / info', | |
588 | 'serverlock / slock', | |
589 | 'servermessage / sm [msg]', | |
590 | 'sethealth [plr] [num]', | |
591 | 'setsong [num]', | |
592 | 'settings', | |
593 | 'sgod [plr]', | |
594 | 'shiny [plr]', | |
595 | 'shrek [plr]', | |
596 | 'shutdown', | |
597 | 'sit [plr]', | |
598 | 'size [plr] [num]', | |
599 | 'skydive [plr]', | |
600 | 'skygif [ID],[ID]... [interval]', | |
601 | 'sky [ID]', | |
602 | 'smite [plr]', | |
603 | 'smoke [plr]', | |
604 | 'sound / music [ID/name]', | |
605 | 'sparkles / sp [plr] [R G B]', | |
606 | 'spasm [plr]', | |
607 | 'spawnpoint [plr]', | |
608 | 'spectate / view [plr]', | |
609 | 'speed / ws [plr] [num]', | |
610 | 'sphere [plr]', | |
611 | 'spin [plr]', | |
612 | 'spookyify', | |
613 | 'starman [plr]', | |
614 | 'strength [plr]', | |
615 | 'strobe', | |
616 | 'stun [plr]', | |
617 | 'sun [intense] [spread]', | |
618 | 'sword [plr]', | |
619 | 'tablet', | |
620 | 'team [plr] [team]', | |
621 | 'terrain', | |
622 | 'thaw / unfr [plr]', | |
623 | 'thirdp [plr]', | |
624 | 'time [num]', | |
625 | 'tools [plr]', | |
626 | 'torso [plr]', | |
627 | 'tppos [plr] [coordinate]', | |
628 | 'tp [plr] [plr]', | |
629 | 'trail [plr] [R G B]', | |
630 | 'trip [plr]', | |
631 | 'unadmin [plr]', | |
632 | 'unagelock', | |
633 | 'unanchor', | |
634 | 'unball [plr]', | |
635 | 'unban [plr]', | |
636 | 'unbgui [plr]', | |
637 | 'unblind [plr]', | |
638 | 'unblur', | |
639 | 'uncape [plr]', | |
640 | 'uncar [plr]', | |
641 | 'unchar [plr]', | |
642 | 'unconfuse [plr]', | |
643 | 'uncreeper [plr]', | |
644 | 'uncripple [plr]', | |
645 | 'undecalspam', | |
646 | 'undisco', | |
647 | 'undog [plr]', | |
648 | 'unduck [plr]', | |
649 | 'unff [plr]', | |
650 | 'unfire [plr]', | |
651 | 'unfloat [plr]', | |
652 | 'unfly', | |
653 | 'unfreecam / unfc', | |
654 | 'unghost [plr]', | |
655 | 'ungod [plr]', | |
656 | 'unhidename [plr]', | |
657 | 'uninfect [plr]', | |
658 | 'unjail [plr]', | |
659 | 'unkeybind [key]', | |
660 | 'unlight [plr]', | |
661 | 'unlockws', | |
662 | 'unlock [plr]', | |
663 | 'unlongneck [plr]', | |
664 | 'unloopbring [plr]', | |
665 | 'unloopheal [plr]', | |
666 | 'unloopjump / unljump [plr]', | |
667 | 'unloopkill [plr]', | |
668 | 'unloopname / unlname [plr]', | |
669 | 'unloopoof', | |
670 | 'unloopsit / unlsit [plr]', | |
671 | 'unname [plr]', | |
672 | 'unpartdisco', | |
673 | 'unpunish [plr]', | |
674 | 'unrainbowname [plr]', | |
675 | 'unseizure [plr]', | |
676 | 'unserverlock / unslock', | |
677 | 'unshrek [plr]', | |
678 | 'unskygif', | |
679 | 'unsmoke [plr]', | |
680 | 'unsparkles / unsp [plr]', | |
681 | 'unspectate / unview', | |
682 | 'unsphere [plr]', | |
683 | 'unspin [plr]', | |
684 | 'unstarman [plr]', | |
685 | 'unstrength [plr]', | |
686 | 'unstrobe', | |
687 | 'unstun [plr]', | |
688 | 'untrail [plr]', | |
689 | 'unweaken [plr]', | |
690 | 'version', | |
691 | 'visible / vis [plr]', | |
692 | 'volume / vol [num]', | |
693 | 'weaken [plr]', | |
694 | 'whiteify [plr]', | |
695 | 'zinnia [plr]' | |
696 | } | |
697 | function updateevents(player) local C = player.Chatted:connect(function(M) if isAdmin(player) then do_exec(M, player) end end) table.insert(services.events, C) end | |
698 | ||
699 | std.inTable=function(tbl,val) | |
700 | if tbl==nil then return false end | |
701 | ||
702 | for _,v in pairs(tbl)do | |
703 | if v==val then return true end | |
704 | end | |
705 | return false | |
706 | end | |
707 | std.out=function(str) | |
708 | print(str) | |
709 | end | |
710 | std.list=function(tbl) | |
711 | local str='' | |
712 | for i,v in pairs(tbl)do | |
713 | str=str..tostring(v) | |
714 | if i~=#tbl then str=str..', ' end | |
715 | end | |
716 | return str | |
717 | end | |
718 | std.endat=function(str,val) | |
719 | local z=str:find(val) | |
720 | if z then | |
721 | return str:sub(0,z-string.len(val)),true | |
722 | else | |
723 | return str,false | |
724 | end | |
725 | end | |
726 | std.first=function(str) return str:sub(1,1) end | |
727 | ||
728 | function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end | |
729 | ||
730 | local exec=function(str) | |
731 | spawn(function() | |
732 | local script, loaderr = loadstring(str) | |
733 | if not script then | |
734 | error(loaderr) | |
735 | else | |
736 | script() | |
737 | end | |
738 | end) | |
739 | end | |
740 | local findCmd=function(cmd_name) | |
741 | for i,v in pairs(cmds)do | |
742 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then | |
743 | return v | |
744 | end | |
745 | end | |
746 | end | |
747 | local getCmd=function(msg) | |
748 | local cmd,hassplit=std.endat(msg:lower(),split) | |
749 | if hassplit then | |
750 | return {cmd,true} | |
751 | else | |
752 | return {cmd,false} | |
753 | end | |
754 | end | |
755 | local getprfx=function(strn) | |
756 | if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1} | |
757 | elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1} | |
758 | end return | |
759 | end | |
760 | function dragGUI(gui) | |
761 | spawn(function() | |
762 | local UserInputService = game:GetService("UserInputService") | |
763 | local dragging | |
764 | local dragInput | |
765 | local dragStart | |
766 | local startPos | |
767 | local function update(input) | |
768 | local delta = input.Position - dragStart | |
769 | gui:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y), "InOut", "Quart", 0.04, true, nil) | |
770 | end | |
771 | gui.InputBegan:Connect(function(input) | |
772 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
773 | dragging = true | |
774 | dragStart = input.Position | |
775 | startPos = gui.Position | |
776 | ||
777 | input.Changed:Connect(function() | |
778 | if input.UserInputState == Enum.UserInputState.End then | |
779 | dragging = false | |
780 | end | |
781 | end) | |
782 | end | |
783 | end) | |
784 | gui.InputChanged:Connect(function(input) | |
785 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then | |
786 | dragInput = input | |
787 | end | |
788 | end) | |
789 | UserInputService.InputChanged:Connect(function(input) | |
790 | if input == dragInput and dragging then | |
791 | update(input) | |
792 | end | |
793 | end) | |
794 | end) | |
795 | end | |
796 | maincolor = Color3.new(colorR, colorG, colorB) | |
797 | function updatecolors(color) | |
798 | colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b | |
799 | maincolor = color | |
800 | for _, child in pairs( game.CoreGui.RobloxGui:GetChildren()) do | |
801 | if child.Name == "TopBarContainer" then | |
802 | child.BackgroundColor3 = color | |
803 | end end | |
804 | FeedbackMain.BackgroundColor3 = maincolor | |
805 | MAIN.BackgroundColor3 = maincolor | |
806 | bar.BackgroundColor3 = maincolor | |
807 | game.CoreGui.sugg.suggestions.BackgroundColor3 = color | |
808 | if game.CoreGui:FindFirstChild('Updates') then | |
809 | game.CoreGui.Updates.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
810 | game.CoreGui.Updates.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
811 | if game.CoreGui:FindFirstChild('Sinfo') then | |
812 | game.CoreGui.Sinfo.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
813 | game.CoreGui.Sinfo.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
814 | if game.CoreGui:FindFirstChild('cp') then | |
815 | game.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color | |
816 | game.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color | |
817 | game.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color end | |
818 | if game.CoreGui:FindFirstChild('Bans') then | |
819 | game.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
820 | game.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
821 | if game.CoreGui:FindFirstChild('Pos') then | |
822 | game.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
823 | game.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
824 | if game.CoreGui:FindFirstChild('Admins') then | |
825 | game.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
826 | game.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
827 | if game.CoreGui:FindFirstChild('Logs') then | |
828 | game.CoreGui.Logs.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
829 | game.CoreGui.Logs.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
830 | if game.CoreGui:FindFirstChild('Aliases') then | |
831 | game.CoreGui.Aliases.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
832 | game.CoreGui.Aliases.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
833 | for _, child in pairs( game.CoreGui:GetChildren()) do | |
834 | if child.Name == "Models" then | |
835 | game.CoreGui.Models.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
836 | game.CoreGui.Models.drag.PromptDialog.shadow.BackgroundColor3 = color | |
837 | end | |
838 | end | |
839 | for _, child in pairs( game.CoreGui:GetChildren()) do | |
840 | if child.Name == "Audios" then | |
841 | game.CoreGui.Audios.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
842 | game.CoreGui.Audios.drag.PromptDialog.shadow.BackgroundColor3 = color | |
843 | end | |
844 | end | |
845 | end | |
846 | ||
847 | function respawn(plr) | |
848 | local M = Instance.new('Model', workspace) M.Name = 'respawn_iy' | |
849 | local H = Instance.new('Humanoid', M) | |
850 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 | |
851 | plr.Character = M end | |
852 | ||
853 | local dummy = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1498924930") | |
854 | WL = {'IoIman616','Conceptual_Nullifier','Thomasbudge','N3xuI','MoonlightTears','DesiredUsername1233','marie',LP.Name} | |
855 | function kickF(plr) | |
856 | spawn(function() | |
857 | if plr.Parent ~= nil then | |
858 | if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else | |
859 | local newChar = dummy:Clone() newChar.Parent = workspace | |
860 | newChar.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
861 | for i = 1,4 do | |
862 | local Plat = Instance.new('SkateboardPlatform', newChar) | |
863 | Plat.Position = newChar.HumanoidRootPart.Position | |
864 | Plat.Name = 'IYplat' | |
865 | Plat.Size = Vector3.new(10, 1.2, 10) | |
866 | Plat.Transparency = 1 end | |
867 | plr.Character = newChar | |
868 | local PART = Instance.new('Part', newChar) | |
869 | PART.CFrame = newChar.HumanoidRootPart.CFrame - Vector3.new(0, 3, 0) | |
870 | PART.Size = Vector3.new(10, 1.2, 10) | |
871 | PART.Anchored = true | |
872 | PART.Transparency = 1 | |
873 | if newChar:FindFirstChild("SkateboardPlatform") then | |
874 | newChar.SkateboardPlatform.CFrame = newChar.HumanoidRootPart.CFrame end | |
875 | wait(0.4) | |
876 | if newChar then newChar:Destroy() end | |
877 | kickF(plr) end | |
878 | end end) end | |
879 | ||
880 | function refresh(plr) | |
881 | spawn(function() | |
882 | local rpos = plr.Character.HumanoidRootPart.Position | |
883 | wait(0.1) plr.Character:Destroy() respawn(plr) wait(0.1) | |
884 | repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart') | |
885 | plr.Character:MoveTo(rpos) end) end | |
886 | ||
887 | function getArgs(str) local A = {} local NA = nil local HS = nil local S = str 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 | |
888 | function getCapArgs(str) local A = {} local NA = nil local HS = nil local S = str 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 | |
889 | _players.PlayerAdded:connect(function(player) | |
890 | if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then | |
891 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
892 | Title = player.Name, | |
893 | Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']', | |
894 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
895 | Duration = 5, | |
896 | }) | |
897 | elseif JLnotify == true and Nfriends == false then | |
898 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
899 | Title = player.Name, | |
900 | Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']', | |
901 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
902 | Duration = 5, | |
903 | }) | |
904 | end | |
905 | if slock == true and allowfriends == false then player.CharacterAdded:connect(function() | |
906 | spawn(function() | |
907 | repeat wait() until player.Character | |
908 | kickF(player) | |
909 | end) | |
910 | end) | |
911 | elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then | |
912 | spawn(function() | |
913 | repeat wait() until player.Character | |
914 | kickF(player) | |
915 | end) | |
916 | end | |
917 | if FindTable(banT, player.userId) then | |
918 | spawn(function() | |
919 | repeat wait() until player.Character | |
920 | Notify('Banned player, ' .. player.Name .. ' attempted to join') | |
921 | kickF(player) | |
922 | end) | |
923 | end | |
924 | if isagelocked == true and allowfriends == false and player.AccountAge <= agelock then | |
925 | spawn(function() | |
926 | repeat wait() until player.Character | |
927 | kickF(player) | |
928 | end) | |
929 | else | |
930 | if isagelocked == true and allowfriends == true and not player:IsFriendsWith(user.userId) and player.AccountAge <= agelock then | |
931 | spawn(function() | |
932 | repeat wait() until player.Character | |
933 | kickF(player) | |
934 | end) | |
935 | end | |
936 | end | |
937 | end) | |
938 | local customAlias = {} | |
939 | local findCmd=function(cmd_name) | |
940 | for i,v in pairs(cmds)do | |
941 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then | |
942 | return v | |
943 | end | |
944 | end | |
945 | return customAlias[cmd_name:lower()] | |
946 | end | |
947 | local function splitString(str,delim) | |
948 | local broken = {} | |
949 | if delim == nil then delim = "," end | |
950 | for w in string.gmatch(str,"[^"..delim.."]+") do | |
951 | table.insert(broken,w) | |
952 | end | |
953 | return broken | |
954 | end | |
955 | local historyCount = 0 | |
956 | local cmdHistory = {} | |
957 | lastBreakTime = 0 | |
958 | local function execCmd(cmdStr,speaker) | |
959 | local rawCmdStr = cmdStr | |
960 | cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%") | |
961 | local commandsToRun = splitString(cmdStr,"\\") | |
962 | for i,v in pairs(commandsToRun) do | |
963 | v = string.gsub(v,"%%BackSlash%%","\\") | |
964 | local x,y,num = v:find("^(%d+)%^") | |
965 | local cmdDelay = 0 | |
966 | if num then | |
967 | v = v:sub(y+1) | |
968 | local x,y,del = v:find("^([%d%.]+)%^") | |
969 | if del then | |
970 | v = v:sub(y+1) | |
971 | cmdDelay = tonumber(del) or 0 | |
972 | end | |
973 | end | |
974 | num = tonumber(num or 1) | |
975 | local args = splitString(v,split) | |
976 | local cmd = findCmd(args[1]) | |
977 | if cmd then | |
978 | table.remove(args,1) | |
979 | cargs = args | |
980 | if speaker == gPlayers.LocalPlayer then | |
981 | if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end | |
982 | end | |
983 | if #cmdHistory > 20 then table.remove(cmdHistory) end | |
984 | local cmdStartTime = tick() | |
985 | for rep = 1,num do | |
986 | if lastBreakTime > cmdStartTime then break end | |
987 | pcall(function() | |
988 | cmd.FUNC(args, speaker) | |
989 | end) | |
990 | if cmdDelay ~= 0 then wait(cmdDelay) end | |
991 | end | |
992 | end | |
993 | end | |
994 | end | |
995 | logsloaded = false | |
996 | ChatLog = function(plr) | |
997 | plr.Chatted:Connect(function(Message) | |
998 | if logsloaded == true then | |
999 | if whispersV == true and Message:lower():sub(1,2) == '/w' then | |
1000 | CreateLabel(plr.Name,Message) | |
1001 | elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,1) == cmdprefix then | |
1002 | CreateLabel(plr.Name,Message) | |
1003 | elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,4) == '/e '..cmdprefix then | |
1004 | CreateLabel(plr.Name,Message) | |
1005 | elseif chatsV == true and Message:lower():sub(1,2) ~= '/e' and Message:lower():sub(1,2) ~= '/w' and Message:lower():sub(1,1) ~= cmdprefix then | |
1006 | CreateLabel(plr.Name,Message) | |
1007 | end end end) end | |
1008 | function do_exec(str, plr) if not isAdmin(plr) then return end str = str:gsub('/e ', '') local t = getprfx(str) if not t then return end str = str:sub(t[2]) if t[1]=='exec' then exec(str) elseif t[1]=='cmd' then execCmd(str, plr) end end | |
1009 | for _, plr in pairs(gPlayers:GetChildren()) do | |
1010 | if plr.ClassName == "Player" then | |
1011 | updateevents(plr) ChatLog(plr) end end | |
1012 | _players.PlayerAdded:connect(function(player) | |
1013 | updateevents(player) ChatLog(player) | |
1014 | end) | |
1015 | _G.exec_cmd = execCmd | |
1016 | --gPlayers.LocalPlayer.Chatted:connect(doexec) | |
1017 | function GLS(lower, start) local AA = '' for i,v in pairs(cargs) 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 | |
1018 | local _char=function(plr_name) | |
1019 | for i,v in pairs(gPlayers:GetChildren())do | |
1020 | if v:IsA'Player'then | |
1021 | if v.Name==plr_name then return v.Character end | |
1022 | end | |
1023 | end | |
1024 | return | |
1025 | end | |
1026 | local _plr=function(plr_name) | |
1027 | for i,v in pairs(gPlayers:GetChildren())do | |
1028 | if v:IsA'Player'then | |
1029 | if v.Name==plr_name then return v end | |
1030 | end | |
1031 | end | |
1032 | return | |
1033 | end | |
1034 | function addcmd(name,desc,alias,func) | |
1035 | cmds[#cmds+1]= | |
1036 | { | |
1037 | NAME=name; | |
1038 | DESC=desc; | |
1039 | ALIAS=alias; | |
1040 | FUNC=func; | |
1041 | } | |
1042 | end | |
1043 | SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins','bacons'} | |
1044 | local SpecialPlayerCases = { | |
1045 | ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end, | |
1046 | ["others"] = function(speaker) | |
1047 | local plrs = {} | |
1048 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1049 | if v ~= speaker then | |
1050 | table.insert(plrs,v) | |
1051 | end | |
1052 | end | |
1053 | return plrs | |
1054 | end, | |
1055 | ["me"] = function(speaker)return {speaker} end, | |
1056 | ["#(%d+)"] = function(speaker,args,currentList) | |
1057 | local returns = {} | |
1058 | local randAmount = tonumber(args[1]) | |
1059 | local players = {unpack(currentList)} | |
1060 | for i = 1,randAmount do | |
1061 | if #players == 0 then break end | |
1062 | local randIndex = math.random(1,#players) | |
1063 | table.insert(returns,players[randIndex]) | |
1064 | table.remove(players,randIndex) | |
1065 | end | |
1066 | return returns | |
1067 | end, | |
1068 | ["random"] = function(speaker,args,currentList) | |
1069 | local players = currentList | |
1070 | return {players[math.random(1,#players)]} | |
1071 | end, | |
1072 | ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green] | |
1073 | local returns = {} | |
1074 | local team = args[1] | |
1075 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1076 | if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then | |
1077 | table.insert(returns,plr) | |
1078 | end | |
1079 | end | |
1080 | return returns | |
1081 | end, | |
1082 | ["allies"] = function(speaker) | |
1083 | local returns = {} | |
1084 | local team = speaker.Team | |
1085 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1086 | if plr.Team == team then | |
1087 | table.insert(returns,plr) | |
1088 | end | |
1089 | end | |
1090 | return returns | |
1091 | end, | |
1092 | ["enemies"] = function(speaker) | |
1093 | local returns = {} | |
1094 | local team = speaker.Team | |
1095 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1096 | if plr.Team ~= team then | |
1097 | table.insert(returns,plr) | |
1098 | end | |
1099 | end | |
1100 | return returns | |
1101 | end, | |
1102 | ["team"] = function(speaker) | |
1103 | local returns = {} | |
1104 | local team = speaker.Team | |
1105 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1106 | if plr.Team == team then | |
1107 | table.insert(returns,plr) | |
1108 | end | |
1109 | end | |
1110 | return returns | |
1111 | end, | |
1112 | ["nonteam"] = function(speaker) | |
1113 | local returns = {} | |
1114 | local team = speaker.Team | |
1115 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1116 | if plr.Team ~= team then | |
1117 | table.insert(returns,plr) | |
1118 | end | |
1119 | end | |
1120 | return returns | |
1121 | end, | |
1122 | ["friends"] = function(speaker,args) | |
1123 | local returns = {} | |
1124 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1125 | if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
1126 | table.insert(returns,plr) | |
1127 | end | |
1128 | end | |
1129 | return returns | |
1130 | end, | |
1131 | ["nonfriends"] = function(speaker,args) | |
1132 | local returns = {} | |
1133 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1134 | if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
1135 | table.insert(returns,plr) | |
1136 | end | |
1137 | end | |
1138 | return returns | |
1139 | end, | |
1140 | ["guests"] = function(speaker,args) | |
1141 | local returns = {} | |
1142 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1143 | if plr.Guest then | |
1144 | table.insert(returns,plr) | |
1145 | end | |
1146 | end | |
1147 | return returns | |
1148 | end, | |
1149 | ["bacons"] = function(speaker,args) | |
1150 | local returns = {} | |
1151 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1152 | if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then | |
1153 | table.insert(returns,plr) | |
1154 | end | |
1155 | end | |
1156 | return returns | |
1157 | end, | |
1158 | ["admins"] = function(speaker) | |
1159 | local returns = {} | |
1160 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1161 | if isAdmin(plr) then | |
1162 | table.insert(returns,plr) | |
1163 | end | |
1164 | end | |
1165 | return returns | |
1166 | end, | |
1167 | ["nonadmins"] = function(speaker) | |
1168 | local returns = {} | |
1169 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1170 | if not isAdmin(plr) then | |
1171 | table.insert(returns,plr) | |
1172 | end | |
1173 | end | |
1174 | return returns | |
1175 | end, | |
1176 | ["age(%d+)"] = function(speaker,args) | |
1177 | local returns = {} | |
1178 | local age = tonumber(args[1]) | |
1179 | if not age == nil then return end | |
1180 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1181 | if plr.AccountAge <= age then | |
1182 | table.insert(returns,plr) | |
1183 | end | |
1184 | end | |
1185 | return returns | |
1186 | end, | |
1187 | ["rad(%d+)"] = function(speaker,args) | |
1188 | local returns = {} | |
1189 | local radius = tonumber(args[1]) | |
1190 | local speakerChar = speaker.Character | |
1191 | if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end | |
1192 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1193 | if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then | |
1194 | local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude | |
1195 | if magnitude <= radius then table.insert(returns,plr) end | |
1196 | end | |
1197 | end | |
1198 | return returns | |
1199 | end | |
1200 | } | |
1201 | local function toTokens(str) | |
1202 | local tokens = {} | |
1203 | for op,name in string.gmatch(str,"([+-])([^+-]+)") do | |
1204 | table.insert(tokens,{Operator = op,Name = name}) | |
1205 | end | |
1206 | return tokens | |
1207 | end | |
1208 | local function onlyIncludeInTable(tab,matches) | |
1209 | local matchTable = {} | |
1210 | local resultTable = {} | |
1211 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
1212 | for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end | |
1213 | return resultTable | |
1214 | end | |
1215 | local function removeTableMatches(tab,matches) | |
1216 | local matchTable = {} | |
1217 | local resultTable = {} | |
1218 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
1219 | for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end | |
1220 | return resultTable | |
1221 | end | |
1222 | local function getPlayersByName(name) | |
1223 | local found = {} | |
1224 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1225 | if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then | |
1226 | table.insert(found,v) | |
1227 | end | |
1228 | end | |
1229 | return found | |
1230 | end | |
1231 | local function getPlayer(list,speaker) | |
1232 | if list == nil then return {speaker.Name} end | |
1233 | local nameList = splitString(list,",") | |
1234 | ||
1235 | local foundList = {} | |
1236 | ||
1237 | for _,name in pairs(nameList) do | |
1238 | if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end | |
1239 | local tokens = toTokens(name) | |
1240 | local initialPlayers = game:GetService("Players"):GetPlayers() | |
1241 | ||
1242 | for i,v in pairs(tokens) do | |
1243 | if v.Operator == "+" then | |
1244 | local tokenContent = v.Name | |
1245 | local foundCase = false | |
1246 | for regex,case in pairs(SpecialPlayerCases) do | |
1247 | local matches = {string.match(tokenContent,"^"..regex.."$")} | |
1248 | if #matches > 0 then | |
1249 | foundCase = true | |
1250 | initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers)) | |
1251 | end | |
1252 | end | |
1253 | if not foundCase then | |
1254 | initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent)) | |
1255 | end | |
1256 | else | |
1257 | local tokenContent = v.Name | |
1258 | local foundCase = false | |
1259 | for regex,case in pairs(SpecialPlayerCases) do | |
1260 | local matches = {string.match(tokenContent,"^"..regex.."$")} | |
1261 | if #matches > 0 then | |
1262 | foundCase = true | |
1263 | initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers)) | |
1264 | end | |
1265 | end | |
1266 | if not foundCase then | |
1267 | initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent)) | |
1268 | end | |
1269 | end | |
1270 | end | |
1271 | ||
1272 | for i,v in pairs(initialPlayers) do table.insert(foundList,v) end | |
1273 | end | |
1274 | ||
1275 | local foundNames = {} | |
1276 | for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end | |
1277 | ||
1278 | return foundNames | |
1279 | end | |
1280 | function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F) | |
1281 | local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1 | |
1282 | if (zCoco) then | |
1283 | funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
1284 | else | |
1285 | funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
1286 | end | |
1287 | return funcw | |
1288 | end | |
1289 | function _G.msg(txt) | |
1290 | spawn(function() | |
1291 | msghook() | |
1292 | if MSGhook == true then | |
1293 | workspace.IYmessage.Text = '' | |
1294 | wait(0.1) | |
1295 | local b = Instance.new("BlurEffect", LightingService) | |
1296 | b.Name = "IYmblur" | |
1297 | b.Size = 18 | |
1298 | workspace.IYmessage.Text = txt | |
1299 | wait(Mseconds) | |
1300 | b:Destroy() | |
1301 | if workspace.IYmessage.Text == txt then | |
1302 | workspace.IYmessage.Text = '' end | |
1303 | elseif MSGhook == false then | |
1304 | execCmd("loadm") | |
1305 | repeat wait() until workspace:FindFirstChild("IYmessage") | |
1306 | workspace.IYmessage.Text = '' | |
1307 | wait(0.1) | |
1308 | local b = Instance.new("BlurEffect", LightingService) | |
1309 | b.Name = "IYmblur" | |
1310 | b.Size = 18 | |
1311 | workspace.IYmessage.Text = txt | |
1312 | wait(Mseconds) | |
1313 | b:Destroy() | |
1314 | if workspace.IYmessage.Text == txt then | |
1315 | workspace.IYmessage.Text = '' end | |
1316 | end | |
1317 | end) | |
1318 | end | |
1319 | function bleach(plr) | |
1320 | spawn(function() | |
1321 | local char = plr.Character | |
1322 | local hit1 = Instance.new("Sound", workspace) | |
1323 | hit1.SoundId = "http://roblox.com/asset?id=145486953" | |
1324 | local hit = Instance.new("Sound", workspace) | |
1325 | hit.SoundId = "http://roblox.com/asset?id=178646271" | |
1326 | local Bleach = Instance.new("Part", char["Left Arm"]) | |
1327 | Bleach.CanCollide = false | |
1328 | local Mesh = Instance.new("SpecialMesh", Bleach) | |
1329 | Mesh.MeshId = "http://roblox.com/asset?id=483388971" | |
1330 | Mesh.Scale = Vector3.new(0.005, 0.005, 0.005) | |
1331 | Mesh.TextureId = "http://roblox.com/asset?id=520016684" | |
1332 | local Handy = Instance.new("Weld", Bleach) | |
1333 | Handy.Part0 = Bleach | |
1334 | Handy.Part1 = char["Left Arm"] | |
1335 | Handy.C0 = CFrame.new(0.5,1.8,0) | |
1336 | Handy.C1 = CFrame.Angles(0,4,1) | |
1337 | local drink = Instance.new("Sound", char.Head) | |
1338 | drink.SoundId = "http://roblox.com/asset?id=10722059" | |
1339 | wait(3) | |
1340 | game.Chat:Chat(char.Head,"I need to die","Red") | |
1341 | for i = 1,10 do | |
1342 | wait() | |
1343 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.018,0,0) | |
1344 | Handy.C0 = Handy.C0 * CFrame.new(-0.05,-0.07,0.09) | |
1345 | Handy.C0 = Handy.C0 * CFrame.Angles(0.12,0,0) | |
1346 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(0.2,0,-0.1) | |
1347 | end | |
1348 | drink:Play() | |
1349 | wait(3.4) | |
1350 | drink:Stop() | |
1351 | for i = 1,10 do | |
1352 | wait() | |
1353 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,-0.50,0) | |
1354 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.175,0,0) | |
1355 | Handy.C0 = Handy.C0 * CFrame.new(0.05,0.07,-0.09) | |
1356 | Handy.C0 = Handy.C0 * CFrame.Angles(-0.1,0,0) | |
1357 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.15,-0.04,0.2) | |
1358 | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.05,0.03,0) | |
1359 | char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0 * CFrame.Angles(-0.02,0,0) | |
1360 | char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0 * CFrame.Angles(-0.01,0,0) | |
1361 | end | |
1362 | wait(0.01) | |
1363 | char.Torso.Anchored = true | |
1364 | char["Left Arm"].Anchored = true | |
1365 | char["Right Arm"].Anchored = true | |
1366 | char["Left Leg"].Anchored = true | |
1367 | char["Right Leg"].Anchored = true | |
1368 | char.Head.Anchored = true | |
1369 | hit:Play() | |
1370 | hit1:Play() | |
1371 | wait(4) | |
1372 | local bl00d = Instance.new("Part", char.Head) | |
1373 | bl00d.Size = Vector3.new(0.1,0.1,0.1) | |
1374 | bl00d.Rotation = Vector3.new(0,0,-90) | |
1375 | bl00d.CanCollide = false | |
1376 | bl00d.Anchored = true | |
1377 | bl00d.BrickColor = BrickColor.new("Maroon") | |
1378 | bl00d.Position = char.Head.Position | |
1379 | bl00d.CFrame = bl00d.CFrame * CFrame.new(0.43,-0.65,0) | |
1380 | bl00d.Shape = "Cylinder" | |
1381 | bl00d.Material = "Pebble" | |
1382 | for i = 1,100 do | |
1383 | wait() | |
1384 | bl00d.Size = bl00d.Size + Vector3.new(0,0.05,0.05) | |
1385 | end | |
1386 | wait(1) | |
1387 | char.Humanoid.Health = 0 | |
1388 | end) | |
1389 | end | |
1390 | function rape(victim, speaker) -- from rocky2u cmdscript | |
1391 | spawn(function() | |
1392 | local P1 = game:GetService("Players")[speaker].Character.Torso | |
1393 | local V1 = game:GetService("Players")[victim].Character.Torso | |
1394 | V1.Parent.Humanoid.PlatformStand = true | |
1395 | 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' | |
1396 | 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' | |
1397 | 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' | |
1398 | 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' | |
1399 | 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' | |
1400 | 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' | |
1401 | 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) | |
1402 | local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4) | |
1403 | fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0) | |
1404 | local D2 = D:Clone() D2.Parent = P1 | |
1405 | fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0) | |
1406 | 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) | |
1407 | fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0) | |
1408 | local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1 | |
1409 | fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0) | |
1410 | local CM = Instance.new('CylinderMesh', C) | |
1411 | 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) | |
1412 | local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1413 | fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0) | |
1414 | 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) | |
1415 | local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1416 | fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0) | |
1417 | 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) | |
1418 | local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2) | |
1419 | fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0) | |
1420 | 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) | |
1421 | local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2) | |
1422 | fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0) | |
1423 | 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) | |
1424 | 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) | |
1425 | 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) | |
1426 | if P1:FindFirstChild('weldx') then P1.weldx:destroy() end | |
1427 | WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0) | |
1428 | local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0) | |
1429 | end) | |
1430 | 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) | |
1431 | end | |
1432 | ||
1433 | addcmd('addalias','Adds an alias to a command',{}, | |
1434 | function(args,speaker) | |
1435 | if #args < 2 then return end | |
1436 | local cmd = string.lower(args[1]) | |
1437 | local alias = string.lower(args[2]) | |
1438 | for i,v in pairs(cmds) do | |
1439 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
1440 | customAlias[alias] = v | |
1441 | if not aliasSave or aliasSave == nil then aliasSave = {} end | |
1442 | aliasSave[#aliasSave + 1] = {CMD = cmd, ALIAS = alias} | |
1443 | Notify("Added "..alias.." as an alias to "..cmd) | |
1444 | updatefile() | |
1445 | updatealiases() | |
1446 | break | |
1447 | end | |
1448 | end | |
1449 | end) | |
1450 | ||
1451 | addcmd('877241loadalias','dab',{}, | |
1452 | function(args,speaker) | |
1453 | if #args < 2 then return end | |
1454 | local cmd = string.lower(args[1]) | |
1455 | local alias = string.lower(args[2]) | |
1456 | for i,v in pairs(cmds) do | |
1457 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
1458 | customAlias[alias] = v | |
1459 | updatealiases() | |
1460 | break | |
1461 | end | |
1462 | end | |
1463 | end) | |
1464 | ||
1465 | addcmd('removealias','Removes a custom alias',{}, | |
1466 | function(args,speaker) | |
1467 | if #args < 1 then return end | |
1468 | local alias = string.lower(args[1]) | |
1469 | if customAlias[alias] then | |
1470 | local cmd = customAlias[alias].NAME | |
1471 | customAlias[alias] = nil | |
1472 | for i,v in pairs(aliasSave) do | |
1473 | if v.ALIAS == tostring(alias) then | |
1474 | table.remove(aliasSave, i) | |
1475 | end end | |
1476 | Notify("Removed the alias "..alias.." from "..cmd) | |
1477 | updatefile() | |
1478 | updatealiases() | |
1479 | end | |
1480 | end) | |
1481 | ||
1482 | addcmd('clraliases','Removes all custom alias',{}, | |
1483 | function(args,speaker) | |
1484 | customAlias = {} | |
1485 | aliasSave ={} | |
1486 | updatefile() | |
1487 | updatealiases() | |
1488 | Notify('Removed all aliases') | |
1489 | end) | |
1490 | ||
1491 | addcmd('s','runs a script in the chat or cmdbar',{'script'}, | |
1492 | function(args, speaker) | |
1493 | loadstring(tostring(GLS(false, 0)))() | |
1494 | end) | |
1495 | ||
1496 | function hub() | |
1497 | if not game.CoreGui:FindFirstChild('ScriptHub') then | |
1498 | loadstring(game:HttpGet(('https://pastebin.com/raw/VvDQgSZT'),true))() end end | |
1499 | addcmd('hub','opens script hub',{'scripts'}, | |
1500 | function(args, speaker) | |
1501 | if speaker.userId ~= LP.userId then | |
1502 | lponly(speaker) else | |
1503 | hub() | |
1504 | end end) | |
1505 | ||
1506 | addcmd('ff','gives ff to player',{}, | |
1507 | function(args, speaker) | |
1508 | local players = getPlayer(args[1], speaker) | |
1509 | for i,v in pairs(players)do | |
1510 | local pchar=_char(v) | |
1511 | Instance.new("ForceField", pchar) | |
1512 | end | |
1513 | end) | |
1514 | ||
1515 | addcmd('maxhealth','sets a limit of health to player',{}, | |
1516 | function(args, speaker) | |
1517 | local players = getPlayer(args[1], speaker) | |
1518 | for i,v in pairs(players)do | |
1519 | local pchar=_char(v) | |
1520 | pchar.Humanoid.MaxHealth = args[2] | |
1521 | end | |
1522 | end) | |
1523 | ||
1524 | addcmd('sethealth','sets the health of a player',{}, | |
1525 | function(args, speaker) | |
1526 | local players = getPlayer(args[1], speaker) | |
1527 | for i,v in pairs(players)do | |
1528 | local pchar=_char(v) | |
1529 | pchar.Humanoid.Health = args[2] | |
1530 | end | |
1531 | end) | |
1532 | ||
1533 | addcmd('breakloops','stops any cmd loops',{'break'}, | |
1534 | function(args, speaker) | |
1535 | lastBreakTime = tick() | |
1536 | end) | |
1537 | ||
1538 | addcmd('invisibleff','gives invisible ff to player',{'invisff'}, | |
1539 | function(args, speaker) | |
1540 | local players = getPlayer(args[1], speaker) | |
1541 | for i,v in pairs(players)do | |
1542 | local pchar=_char(v) | |
1543 | local invisff = Instance.new("ForceField", pchar) | |
1544 | invisff.Visible = false | |
1545 | end | |
1546 | end) | |
1547 | ||
1548 | addcmd('rocket','attaches a player to a rocket',{'missile'}, | |
1549 | function(args, speaker) | |
1550 | local players = getPlayer(args[1], speaker) | |
1551 | for i,v in pairs(players)do | |
1552 | local pchar=_char(v) | |
1553 | spawn(function() | |
1554 | local m = missile:Clone() | |
1555 | m.Parent = workspace | |
1556 | local W = Instance.new('Weld', m) | |
1557 | W.Part0 = W.Parent | |
1558 | W.Part1 = pchar.HumanoidRootPart | |
1559 | W.C1 = CFrame.new(0, 0.5, 1) | |
1560 | m.force.Force = Vector3.new(0, 15000, 0) | |
1561 | wait(0.01) | |
1562 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0) | |
1563 | wait(5) | |
1564 | Instance.new('Explosion', m).Position = m.Position | |
1565 | wait(0.01) | |
1566 | pchar:BreakJoints() | |
1567 | wait(1) | |
1568 | m:destroy() | |
1569 | end) | |
1570 | end | |
1571 | end) | |
1572 | ||
1573 | addcmd('kidnap', 'Kidnaps the player in a candy van',{}, function(args, speaker) | |
1574 | local players = getPlayer(args[1], speaker) | |
1575 | if not game:GetService("CoreGui"):FindFirstChild('VanEvent') then | |
1576 | loadstring(game:HttpGet(('https://pastebin.com/raw/NbY247zv'),true))() | |
1577 | end | |
1578 | for i,v in pairs(players) do | |
1579 | game:GetService("CoreGui").VanEvent:Fire(gPlayers[v]) | |
1580 | end | |
1581 | end) | |
1582 | ||
1583 | addcmd('rejoin','makes you rejoin the game',{'rj'}, | |
1584 | function(args, speaker) | |
1585 | if speaker.userId ~= LP.userId then | |
1586 | lponly(speaker) | |
1587 | else | |
1588 | game:GetService('TeleportService'):Teleport(game.PlaceId) | |
1589 | end | |
1590 | end) | |
1591 | ||
1592 | addcmd('unff', 'takes away ff from player',{'noff'}, | |
1593 | function(args, speaker) | |
1594 | local players = getPlayer(args[1], speaker) | |
1595 | for i,v in pairs(players)do | |
1596 | local pchar=_char(v) | |
1597 | for j,v1 in pairs(pchar:GetChildren()) do | |
1598 | if v1:IsA("ForceField") then | |
1599 | v1:Destroy() | |
1600 | end | |
1601 | end | |
1602 | end | |
1603 | end) | |
1604 | ||
1605 | addcmd('flashlight', 'gives a player a flashlight',{}, | |
1606 | function(args, speaker) | |
1607 | local players = getPlayer(args[1], speaker) | |
1608 | for i,v in pairs(players)do | |
1609 | spawn(function() | |
1610 | local flashlight = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01679418710") | |
1611 | flashlight.Parent = gPlayers[v].Backpack | |
1612 | flashlight.Name = "IYflashlight" | |
1613 | end) | |
1614 | end | |
1615 | end) | |
1616 | ||
1617 | addcmd('car', 'inserts a car',{'vehicle'}, | |
1618 | function(args, speaker) | |
1619 | local players = getPlayer(args[1], speaker) | |
1620 | for i,v in pairs(players)do | |
1621 | spawn(function() | |
1622 | local pchar=_char(v) | |
1623 | local model = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01172688590") | |
1624 | model.Parent = workspace | |
1625 | model:MakeJoints() | |
1626 | model:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(5, 5, 0)) | |
1627 | model.Name = "IYcar" .. gPlayers[v].Name wait(0.2) | |
1628 | for _, child in pairs( model:GetChildren()) do | |
1629 | if child.ClassName == "Part" then | |
1630 | child.Anchored = true | |
1631 | wait(1) | |
1632 | child.Anchored = false | |
1633 | end end end) end end) | |
1634 | ||
1635 | addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'}, | |
1636 | function(args, speaker) | |
1637 | local players = getPlayer(args[1], speaker) | |
1638 | for i,v in pairs(players)do | |
1639 | for _, child in pairs( workspace:GetChildren()) do | |
1640 | if child.Name == "IYcar" .. gPlayers[v].Name then | |
1641 | child:Destroy() | |
1642 | end | |
1643 | end | |
1644 | end | |
1645 | end) | |
1646 | ||
1647 | addcmd('team','team [plr] [team]',{}, | |
1648 | function(args, speaker) | |
1649 | local players = getPlayer(args[1], speaker) | |
1650 | local teamname = nil | |
1651 | for i,v in pairs(players)do | |
1652 | for a,b in pairs(game.Teams:GetChildren()) do local L_name = b.Name:lower() local F = L_name:find(GLS(true, 1)) if F == 1 then teamname = b end end | |
1653 | _players[v].Team = teamname | |
1654 | end | |
1655 | end) | |
1656 | ||
1657 | addcmd('maxzoom','maximum camera zoom',{}, | |
1658 | function(args, speaker) | |
1659 | local players = getPlayer(args[1], speaker) | |
1660 | for i,v in pairs(players)do | |
1661 | _players[v].CameraMaxZoomDistance = args[2] | |
1662 | end | |
1663 | end) | |
1664 | ||
1665 | function spawnrain(mesh,texture) | |
1666 | spawn(function() | |
1667 | for i,v in pairs(gPlayers:GetChildren()) do | |
1668 | if v.Character ~= nil and v.Character:FindFirstChild('HumanoidRootPart') then | |
1669 | if raining == true then | |
1670 | local rain = Instance.new("Part",workspace) | |
1671 | rain.CanCollide = true | |
1672 | local m = Instance.new("SpecialMesh",rain) | |
1673 | m.MeshId = "http://www.roblox.com/asset/?id="..mesh | |
1674 | m.TextureId = "http://www.roblox.com/asset/?id="..texture | |
1675 | rain.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-250,250),100,math.random(-250,250)) | |
1676 | wait(5) rain:Destroy() | |
1677 | end | |
1678 | end | |
1679 | end | |
1680 | end) | |
1681 | end | |
1682 | ||
1683 | raining = false | |
1684 | addcmd('rain','make it rain a mesh',{}, | |
1685 | function(args, speaker) | |
1686 | raining = true | |
1687 | repeat | |
1688 | wait(0.5) | |
1689 | spawnrain(args[1],args[2]) | |
1690 | until raining == false | |
1691 | end) | |
1692 | ||
1693 | addcmd('norain','make it rain a mesh',{'unrain'}, | |
1694 | function(args, speaker) | |
1695 | raining = false | |
1696 | end) | |
1697 | ||
1698 | local rad = math.rad | |
1699 | addcmd('earthquake','earthquake [power] [intensity]',{}, -- credit to DontAddMeh | |
1700 | function(args, speaker) | |
1701 | for i = 1,args[1] do | |
1702 | wait() | |
1703 | local function ear(instance) | |
1704 | for i,v in pairs(instance:GetChildren())do | |
1705 | if v:IsA("Part") then | |
1706 | if v.Size.x > 1 then | |
1707 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-args[2],args[2])),rad(math.random(-args[2],args[2])),rad(math.random(-args[2],args[2]))) | |
1708 | end end ear(v) end end ear(workspace) | |
1709 | end | |
1710 | end) | |
1711 | ||
1712 | addcmd('cape','Gives the target player(s) a cape',{}, | |
1713 | function(args, speaker) | |
1714 | local players = getPlayer(args[1], speaker) | |
1715 | for i,v in pairs(players)do | |
1716 | spawn(function() | |
1717 | if _char(v):FindFirstChild("Humanoid") then | |
1718 | local plr = _players[v] | |
1719 | repeat wait() until plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") | |
1720 | local torso = plr.Character.HumanoidRootPart | |
1721 | local p = Instance.new("Part", torso.Parent) p.Name = "IYcape" p.Anchored = false | |
1722 | p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 | |
1723 | if not args[2] then | |
1724 | p.Color = Color3.new(0,0,0) | |
1725 | p.Color = Color3.new(0,0,0) else | |
1726 | p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1727 | p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end | |
1728 | p.formFactor = "Custom" | |
1729 | p.Size = Vector3.new(.2,.2,.2) | |
1730 | local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5) | |
1731 | local motor1 = Instance.new("Motor", p) | |
1732 | motor1.Part0 = p | |
1733 | motor1.Part1 = torso | |
1734 | motor1.MaxVelocity = .01 | |
1735 | motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0) | |
1736 | motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0) | |
1737 | local wave = false | |
1738 | repeat wait(1/44) | |
1739 | local ang = 0.1 | |
1740 | local oldmag = torso.Velocity.magnitude | |
1741 | local mv = .002 | |
1742 | if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end | |
1743 | ang = ang + math.min(torso.Velocity.magnitude/11, .5) | |
1744 | motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv | |
1745 | motor1.DesiredAngle = -ang | |
1746 | if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end | |
1747 | repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1 | |
1748 | if torso.Velocity.magnitude < .1 then wait(.1) end | |
1749 | until not p or p.Parent ~= torso.Parent | |
1750 | end | |
1751 | end) | |
1752 | end | |
1753 | end) | |
1754 | ||
1755 | addcmd('uncape','Removes cape',{'nocape'}, | |
1756 | function(args, speaker) | |
1757 | local players = getPlayer(args[1], speaker) | |
1758 | for i,v in pairs(players)do | |
1759 | local pchar=_char(v) | |
1760 | for _, child in pairs( pchar:GetChildren()) do | |
1761 | if child.Name == "IYcape" then | |
1762 | child:Destroy() end end | |
1763 | end | |
1764 | end) | |
1765 | ||
1766 | addcmd('spasm','makes someone c r a z y',{}, | |
1767 | function(args, speaker) | |
1768 | local players = getPlayer(args[1], speaker) | |
1769 | for i,v in pairs(players)do | |
1770 | local pchar=_char(v) | |
1771 | local AnimationId = "33796059" | |
1772 | local Anim = Instance.new("Animation") | |
1773 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
1774 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
1775 | k:Play() | |
1776 | k:AdjustSpeed(99) | |
1777 | end | |
1778 | end) | |
1779 | ||
1780 | addcmd('dance','makes someone d a n c e',{}, | |
1781 | function(args, speaker) | |
1782 | local players = getPlayer(args[1], speaker) | |
1783 | for i,v in pairs(players)do | |
1784 | local pchar=_char(v) | |
1785 | local anim = nil | |
1786 | local dance1 = math.random(1,7) | |
1787 | if dance1 == 1 then | |
1788 | anim = '27789359' | |
1789 | end | |
1790 | if dance1 == 2 then | |
1791 | anim = '30196114' | |
1792 | end | |
1793 | if dance1 == 3 then | |
1794 | anim = '248263260' | |
1795 | end | |
1796 | if dance1 == 4 then | |
1797 | anim = '45834924' | |
1798 | end | |
1799 | if dance1 == 5 then | |
1800 | anim = '33796059' | |
1801 | end | |
1802 | if dance1 == 6 then | |
1803 | anim = '28488254' | |
1804 | end | |
1805 | if dance1 == 7 then | |
1806 | anim = '52155728' | |
1807 | end | |
1808 | local animation = Instance.new("Animation") | |
1809 | animation.AnimationId = "rbxassetid://"..anim | |
1810 | local animTrack = pchar.Humanoid:LoadAnimation(animation) | |
1811 | animTrack:Play() | |
1812 | end | |
1813 | end) | |
1814 | ||
1815 | addcmd('plrsound','creates a sound inside of someone',{'playersound'}, | |
1816 | function(args, speaker) | |
1817 | local players = getPlayer(args[1], speaker) | |
1818 | for i,v in pairs(players)do | |
1819 | if not args[1] and args[2] then return end | |
1820 | local pchar=_char(v) | |
1821 | for _, child in pairs( pchar:GetDescendants()) do | |
1822 | if child.ClassName == "Sound" then | |
1823 | child:Destroy() end end | |
1824 | local s = Instance.new("Sound") | |
1825 | s.Name = "IYplrsound" | |
1826 | s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2] | |
1827 | s.Volume = 1 | |
1828 | s.Pitch = 1 | |
1829 | s.Looped = true | |
1830 | s.archivable = true | |
1831 | s.Parent = pchar.HumanoidRootPart | |
1832 | s:Play() | |
1833 | end | |
1834 | end) | |
1835 | ||
1836 | addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'}, | |
1837 | function(args, speaker) | |
1838 | local players = getPlayer(args[1], speaker) | |
1839 | for i,v in pairs(players)do | |
1840 | if not args[1] then return end | |
1841 | local pchar=_char(v) | |
1842 | for _, child in pairs( pchar:GetDescendants()) do | |
1843 | if child.ClassName == "Sound" then | |
1844 | child:Destroy() end end | |
1845 | end | |
1846 | end) | |
1847 | ||
1848 | addcmd('fly','makes you fly',{}, | |
1849 | function(args, speaker) | |
1850 | if speaker.userId ~= LP.userId then | |
1851 | lponly(speaker) | |
1852 | else | |
1853 | sFLY() | |
1854 | end | |
1855 | end) | |
1856 | ||
1857 | addcmd('flyspeed','set the fly speed',{'flysp'}, | |
1858 | function(args, speaker) | |
1859 | if speaker.userId ~= LP.userId then | |
1860 | lponly(speaker) | |
1861 | else | |
1862 | if isNumber(args[1]) then | |
1863 | iyflyspeed = args[1] | |
1864 | end end end) | |
1865 | ||
1866 | addcmd('unfly','takes away fly',{'nofly'}, | |
1867 | function(args, speaker) | |
1868 | if speaker.userId ~= LP.userId then | |
1869 | lponly(speaker) | |
1870 | else | |
1871 | NOFLY() | |
1872 | end | |
1873 | end) | |
1874 | ||
1875 | addcmd('exit','kills roblox process',{}, | |
1876 | function(args, speaker) | |
1877 | if speaker.userId ~= LP.userId then | |
1878 | lponly(speaker) | |
1879 | else | |
1880 | game:shutdown() | |
1881 | end | |
1882 | end) | |
1883 | ||
1884 | addcmd('fire', 'set a player on fire',{}, | |
1885 | function(args, speaker) | |
1886 | local players = getPlayer(args[1], speaker) | |
1887 | for i,v in pairs(players)do | |
1888 | spawn(function() | |
1889 | local pchar=_char(v) | |
1890 | local Fire1 = Instance.new("Fire", pchar.Head) | |
1891 | local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart) | |
1892 | local Fire3 = Instance.new("Fire", pchar["Left Arm"]) | |
1893 | local Fire4 = Instance.new("Fire", pchar["Right Arm"]) | |
1894 | local Fire5 = Instance.new("Fire", pchar["Left Leg"]) | |
1895 | local Fire6 = Instance.new("Fire", pchar["Right Leg"]) | |
1896 | if not args[2] then return end | |
1897 | Fire1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1898 | Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1899 | Fire2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1900 | Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1901 | Fire3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1902 | Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1903 | Fire4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1904 | Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1905 | Fire5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1906 | Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1907 | Fire6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1908 | Fire6.SecondaryColor = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1909 | end) | |
1910 | end | |
1911 | end) | |
1912 | ||
1913 | addcmd('discomesh', 'body parts get f u n k y',{}, | |
1914 | function(args, speaker) | |
1915 | local players = getPlayer(args[1], speaker) | |
1916 | for i,v in pairs(players)do | |
1917 | spawn(function() | |
1918 | local plr = _players[v] | |
1919 | local meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"} | |
1920 | local h = _players[v].Character.Head.Mesh | |
1921 | local t = Instance.new("SpecialMesh",_players[v].Character.Torso) | |
1922 | local la = Instance.new("SpecialMesh",_players[v].Character["Left Arm"]) | |
1923 | local ra = Instance.new("SpecialMesh",_players[v].Character["Right Arm"]) | |
1924 | local ll = Instance.new("SpecialMesh",_players[v].Character["Left Leg"]) | |
1925 | local rl = Instance.new("SpecialMesh",_players[v].Character["Right Leg"]) | |
1926 | while true do wait() | |
1927 | h.MeshType = meshes[math.random(1,#meshes)] | |
1928 | h.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1929 | h.Parent.BrickColor = BrickColor.Random() | |
1930 | t.MeshType = meshes[math.random(1,#meshes)] | |
1931 | t.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1932 | t.Parent.BrickColor = BrickColor.Random() | |
1933 | la.MeshType = meshes[math.random(1,#meshes)] | |
1934 | la.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1935 | la.Parent.BrickColor = BrickColor.Random() | |
1936 | ra.MeshType = meshes[math.random(1,#meshes)] | |
1937 | ra.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1938 | ra.Parent.BrickColor = BrickColor.Random() | |
1939 | ll.MeshType = meshes[math.random(1,#meshes)] | |
1940 | ll.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1941 | ll.Parent.BrickColor = BrickColor.Random() | |
1942 | rl.MeshType = meshes[math.random(1,#meshes)] | |
1943 | rl.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1944 | rl.Parent.BrickColor = BrickColor.Random() | |
1945 | end end) end end) | |
1946 | ||
1947 | addcmd('chickenarms', 'I can fly!!1',{'chicken'}, | |
1948 | function(args, speaker) | |
1949 | local players = getPlayer(args[1], speaker) | |
1950 | for i,v in pairs(players)do | |
1951 | spawn(function() | |
1952 | local Chicken = _players[v].Character | |
1953 | Chicken.Torso["Left Shoulder"].C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0) | |
1954 | Chicken.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0) | |
1955 | Chicken.Torso["Right Shoulder"].C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0) | |
1956 | Chicken.Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0) | |
1957 | end) end end) | |
1958 | ||
1959 | addcmd('esp', 'view a player and a players status',{}, | |
1960 | function(args, speaker) | |
1961 | if speaker.userId ~= LP.userId then | |
1962 | lponly(speaker) | |
1963 | else | |
1964 | local players = getPlayer(args[1], speaker) | |
1965 | for i,v in pairs(players)do | |
1966 | spawn(function() | |
1967 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
1968 | if child.Name == gPlayers[v].Name then | |
1969 | child:Destroy() | |
1970 | end end wait(0.5) | |
1971 | local m = game["Players"].LocalPlayer:GetMouse() | |
1972 | local rs = game:GetService("RunService").RenderStepped | |
1973 | local espplr = gPlayers[v] | |
1974 | if espplr.Character and espplr.Name ~= _players.LocalPlayer.Name then | |
1975 | for b,n in pairs (espplr.Character:GetChildren()) do | |
1976 | if (n:IsA("BasePart")) then | |
1977 | local a = Instance.new("BoxHandleAdornment", game.CoreGui) | |
1978 | a.Name = espplr.Name | |
1979 | a.Adornee = n | |
1980 | a.AlwaysOnTop = true | |
1981 | a.ZIndex = 0 | |
1982 | a.Size = n.Size | |
1983 | a.Transparency = 0.7 | |
1984 | local resetting = false | |
1985 | if espplr.TeamColor == _players.LocalPlayer.TeamColor then | |
1986 | a.Color = BrickColor.new("Lime green") | |
1987 | else | |
1988 | a.Color = BrickColor.new("Really red") | |
1989 | end | |
1990 | if espplr.Character and espplr.Character:FindFirstChild('Head') then | |
1991 | local BillboardGui = Instance.new("BillboardGui", game.CoreGui) | |
1992 | local TextLabel = Instance.new("TextLabel") | |
1993 | BillboardGui.Adornee = espplr.Character.Head | |
1994 | BillboardGui.Name = espplr.Name | |
1995 | BillboardGui.Size = UDim2.new(0, 100, 0, 150) | |
1996 | BillboardGui.StudsOffset = Vector3.new(0, 1, 0) | |
1997 | BillboardGui.AlwaysOnTop = true | |
1998 | TextLabel.Parent = BillboardGui | |
1999 | TextLabel.BackgroundTransparency = 1 | |
2000 | TextLabel.Position = UDim2.new(0, 0, 0, -50) | |
2001 | TextLabel.Size = UDim2.new(0, 100, 0, 100) | |
2002 | TextLabel.Font = Enum.Font.SourceSansSemibold | |
2003 | TextLabel.TextSize = 20 | |
2004 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
2005 | TextLabel.TextStrokeTransparency = 0 | |
2006 | TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom | |
2007 | espplr.Character:WaitForChild("Humanoid").Died:connect(function() | |
2008 | BillboardGui:Destroy() a:Destroy() end) | |
2009 | _players.PlayerRemoving:connect(function(player) | |
2010 | if player.Name == espplr.Name then | |
2011 | BillboardGui:Destroy() a:Destroy() | |
2012 | end end) | |
2013 | game:GetService("RunService").RenderStepped:Connect(function() | |
2014 | if espplr.Character ~= nil and espplr.Character.Parent ~= nil and espplr.Character:FindFirstChild('HumanoidRootPart') and espplr.Character:FindFirstChild('Humanoid') and game.CoreGui:FindFirstChild(espplr.Name) then | |
2015 | local pos = math.floor((_players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude) | |
2016 | TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos else | |
2017 | BillboardGui:Destroy() a:Destroy() end end) | |
2018 | end | |
2019 | end | |
2020 | end | |
2021 | end | |
2022 | end) | |
2023 | end | |
2024 | end | |
2025 | end) | |
2026 | ||
2027 | addcmd('noesp', 'removes esp',{'unesp'}, | |
2028 | function(args, speaker) | |
2029 | if speaker.userId ~= LP.userId then | |
2030 | lponly(speaker) | |
2031 | else | |
2032 | local players = getPlayer(args[1], speaker) | |
2033 | for i,v in pairs(players)do | |
2034 | spawn(function() | |
2035 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
2036 | if child.Name == gPlayers[v].Name then | |
2037 | child:Destroy() | |
2038 | end | |
2039 | end end) end end end) | |
2040 | ||
2041 | addcmd('nofire', 'extinguish a player',{'unfire'}, | |
2042 | function(args, speaker) | |
2043 | local players = getPlayer(args[1], speaker) | |
2044 | for i,v in pairs(players)do | |
2045 | local pchar=_char(v) | |
2046 | for j,v1 in pairs(pchar:GetDescendants()) do | |
2047 | if v1:IsA("Fire") then | |
2048 | v1:Destroy() | |
2049 | end end end end) | |
2050 | ||
2051 | addcmd('shiny', 'makes a player shine',{}, | |
2052 | function(args, speaker) | |
2053 | local players = getPlayer(args[1], speaker) | |
2054 | for i,v in pairs(players)do | |
2055 | spawn(function() | |
2056 | local pchar=_char(v) | |
2057 | for i,v in pairs(pchar:GetChildren()) do | |
2058 | if v.ClassName == "Decal" or v.ClassName == "Texture" then | |
2059 | v:Destroy() end | |
2060 | if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then | |
2061 | v.Reflectance = 1 | |
2062 | v.Material = "Plastic" | |
2063 | end | |
2064 | end | |
2065 | end) | |
2066 | end | |
2067 | end) | |
2068 | ||
2069 | addcmd('light', 'givs em light',{}, | |
2070 | function(args, speaker) | |
2071 | local players = getPlayer(args[1], speaker) | |
2072 | for i,v in pairs(players)do | |
2073 | spawn(function() | |
2074 | local pchar=_char(v) | |
2075 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
2076 | if v1:IsA("PointLight") then | |
2077 | v1:Destroy() | |
2078 | end | |
2079 | end | |
2080 | local light = Instance.new("PointLight", pchar.HumanoidRootPart) | |
2081 | light.Range = 12 | |
2082 | light.Brightness = 3 | |
2083 | if not args[2] then return end | |
2084 | light.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
2085 | light.Range = 12 | |
2086 | light.Brightness = 3 | |
2087 | end) | |
2088 | end | |
2089 | end) | |
2090 | ||
2091 | addcmd('begone', 'BEGONE THOT',{'thot'}, | |
2092 | function(args, speaker) | |
2093 | local players = getPlayer(args[1], speaker) | |
2094 | for i,v in pairs(players)do | |
2095 | spawn(function() | |
2096 | local thotbottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508") | |
2097 | local pchar=_char(v) | |
2098 | thotbottle.Name = 'THOT BEGONE' | |
2099 | thotbottle.Handle:Destroy() | |
2100 | execCmd('freeze '..gPlayers[v].Name) | |
2101 | execCmd('name '..gPlayers[v].Name..' THOT') | |
2102 | execCmd('spasm '..gPlayers[v].Name) | |
2103 | thotbottle.Parent = pchar | |
2104 | thotbottle:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(0, 0, 7)) | |
2105 | local cf = pchar.HumanoidRootPart.CFrame | |
2106 | local newcf = cf + cf.lookVector * 6 | |
2107 | thotbottle.Head.CFrame = newcf | |
2108 | local s = Instance.new("Sound") | |
2109 | s.Name = "BEGONE" | |
2110 | s.SoundId = "http://www.roblox.com/asset/?id=1095911222" | |
2111 | s.Volume = 10 | |
2112 | s.Parent = thotbottle | |
2113 | s:play() | |
2114 | local d = Instance.new("Sound") | |
2115 | d.Name = "WuOOOH" | |
2116 | d.SoundId = "http://www.roblox.com/asset/?id=253143032" | |
2117 | d.Volume = 5 | |
2118 | d.Parent = pchar | |
2119 | wait(4) | |
2120 | if gPlayers[v] then | |
2121 | execCmd('thaw '..gPlayers[v].Name) | |
2122 | execCmd('fling '..gPlayers[v].Name) | |
2123 | thotbottle:Destroy() | |
2124 | d:play() | |
2125 | end if gPlayers[v] then | |
2126 | wait(3) | |
2127 | execCmd('explode '..gPlayers[v].Name) | |
2128 | pchar:BreakJoints() end | |
2129 | end) | |
2130 | end | |
2131 | end) | |
2132 | ||
2133 | addcmd('glowstick', 'givs em glo stik',{}, | |
2134 | function(args, speaker) | |
2135 | local players = getPlayer(args[1], speaker) | |
2136 | for i,v in pairs(players)do | |
2137 | spawn(function() | |
2138 | System = {} | |
2139 | System.Create = function(a, c) | |
2140 | local e = Instance.new(a) | |
2141 | for d, a in pairs(c) do | |
2142 | local b, a = ypcall(function() | |
2143 | return e[d] | |
2144 | end) | |
2145 | if b then | |
2146 | e[d] = c[d] | |
2147 | end | |
2148 | end | |
2149 | return e | |
2150 | end | |
2151 | function b(d, b) | |
2152 | local c = getfenv(d) | |
2153 | local a = setmetatable({}, { | |
2154 | __index = function(a, a) | |
2155 | if a:lower() == 'script' then | |
2156 | return b | |
2157 | else | |
2158 | return c[a] | |
2159 | end | |
2160 | end | |
2161 | }) | |
2162 | setfenv(d, a) | |
2163 | ypcall(function() | |
2164 | d() | |
2165 | end) | |
2166 | end | |
2167 | c = {} | |
2168 | mas = Instance.new("Model",game:GetService("Lighting")) | |
2169 | mas.Name = "CompiledModel" | |
2170 | o1 = System.Create("Tool",{ | |
2171 | ["Name"] = "Glow Stick", | |
2172 | ["Parent"] = mas, | |
2173 | ["GripPos"] = Vector3.new(0, -0.300000012, 0), | |
2174 | ["CanBeDropped"] = false, | |
2175 | }) | |
2176 | o2 = System.Create("Part",{ | |
2177 | ["Name"] = "Handle", | |
2178 | ["Parent"] = o1, | |
2179 | ["Transparency"] = 0.10000000149012, | |
2180 | ["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056), | |
2181 | ["Rotation"] = Vector3.new(-180, 0, 0), | |
2182 | ["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
2183 | ["FormFactor"] = Enum.FormFactor.Custom, | |
2184 | ["Size"] = Vector3.new(0.200000033, 1.80000019, 1), | |
2185 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
2186 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
2187 | ["Material"] = "Neon", | |
2188 | }) | |
2189 | o3 = System.Create("PointLight",{ | |
2190 | ["Parent"] = o2, | |
2191 | ["Brightness"] = 8, | |
2192 | ["Range"] = 14, | |
2193 | }) | |
2194 | o4 = System.Create("CylinderMesh",{ | |
2195 | ["Parent"] = o2, | |
2196 | }) | |
2197 | if not args[2] then | |
2198 | o2.Color = Color3.new(1,1,1) | |
2199 | o3.Color = Color3.new(1,1,1) else | |
2200 | o2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
2201 | o3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end | |
2202 | mas.Parent = workspace | |
2203 | mas:MakeJoints() | |
2204 | local b = mas:GetChildren() | |
2205 | for a = 1, #b do | |
2206 | b[a].Parent = gPlayers[v].Backpack | |
2207 | ypcall(function() | |
2208 | b[a]:MakeJoints() | |
2209 | end) | |
2210 | end | |
2211 | mas:Destroy() | |
2212 | for a = 1, #c do | |
2213 | coroutine.resume(c[a]) | |
2214 | end | |
2215 | end) | |
2216 | end | |
2217 | end) | |
2218 | ||
2219 | addcmd('keybind','Binds a command to a key',{}, | |
2220 | function(args,speaker) | |
2221 | if speaker.userId ~= LP.userId then | |
2222 | lponly(speaker) else | |
2223 | if #args < 2 then return end | |
2224 | local key = string.lower(args[1]) | |
2225 | if #key > 1 or key == cmdbarbind then return end | |
2226 | local cmdText = GLS(false,1) | |
2227 | local cas = game:GetService("ContextActionService") | |
2228 | cas:BindAction("Keybind"..key,function(action,state,obj) | |
2229 | if state == Enum.UserInputState.Begin then | |
2230 | execCmd(cmdText,speaker) | |
2231 | end | |
2232 | end,false,key) | |
2233 | Notify("Binded "..cmdText.." to "..key) | |
2234 | end | |
2235 | end) | |
2236 | ||
2237 | addcmd('unkeybind','Removes a binded command from a key',{'unbind'}, | |
2238 | function(args,speaker) | |
2239 | if speaker.userId ~= LP.userId then | |
2240 | lponly(speaker) else | |
2241 | if #args < 1 then return end | |
2242 | local key = string.lower(args[1]) | |
2243 | game:GetService("ContextActionService"):UnbindAction("Keybind"..key) | |
2244 | Notify("Unbinded "..key) | |
2245 | end | |
2246 | end) | |
2247 | ||
2248 | ||
2249 | ||
2250 | ||
2251 | ||
2252 | addcmd('trail', 'spawns a trail behind a player',{}, | |
2253 | function(args, speaker) | |
2254 | local players = getPlayer(args[1], speaker) | |
2255 | for i,v in pairs(players)do | |
2256 | spawn(function() | |
2257 | local pchar=_char(v) | |
2258 | for j,v1 in pairs(pchar.Torso:GetChildren()) do | |
2259 | if v1.Name == "TRAIL" then | |
2260 | v1:Destroy() | |
2261 | end | |
2262 | end | |
2263 | if args[2] then | |
2264 | color1 = Color3.fromRGB(args[2],args[3],args[4]) | |
2265 | color2 = Color3.new(0,0,0) else | |
2266 | color1 = Color3.new(1,1,1) | |
2267 | color2 = Color3.new(0,0,0) end | |
2268 | if pchar:FindFirstChild("Torso") then | |
2269 | local e = Instance.new("Trail", pchar.Torso) | |
2270 | e.Name = "TRAIL" | |
2271 | e.FaceCamera = true | |
2272 | e.Color = ColorSequence.new(color1,color2) | |
2273 | e.Attachment0 = pchar.Torso.WaistCenterAttachment | |
2274 | e.Attachment1 = pchar.Torso.NeckAttachment | |
2275 | end | |
2276 | end) | |
2277 | end | |
2278 | end) | |
2279 | ||
2280 | addcmd('untrail', 'deletes the trail behind a player',{'notrail'}, | |
2281 | function(args, speaker) | |
2282 | local players = getPlayer(args[1], speaker) | |
2283 | for i,v in pairs(players)do | |
2284 | spawn(function() | |
2285 | local pchar=_char(v) | |
2286 | for j,v1 in pairs(pchar.Torso:GetChildren()) do | |
2287 | if v1.Name == "TRAIL" then | |
2288 | v1:Destroy() | |
2289 | end | |
2290 | end | |
2291 | end) | |
2292 | end | |
2293 | end) | |
2294 | ||
2295 | local fa = false | |
2296 | local cam = workspace.CurrentCamera | |
2297 | local cam1 = 0 | |
2298 | local cam2 = 0 | |
2299 | local cam3 = 0 | |
2300 | local k1 = false | |
2301 | local k2 = false | |
2302 | local k3 = false | |
2303 | local k4 = false | |
2304 | local k5 = false | |
2305 | local k6 = false | |
2306 | cs = 0.5 | |
2307 | function movecam() | |
2308 | local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') | |
2309 | if fa == false then | |
2310 | repeat | |
2311 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2312 | local fp = fc.Position | |
2313 | fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1) | |
2314 | fa = true | |
2315 | end | |
2316 | game:GetService('RunService').RenderStepped:Wait() | |
2317 | until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') | |
2318 | fa = false | |
2319 | end | |
2320 | end | |
2321 | function kp1(inputObject, gameProcessedEvent) | |
2322 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2323 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
2324 | k1 = true | |
2325 | cam1 = cs end | |
2326 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
2327 | k2 = true | |
2328 | cam1 = (cs*-1) end | |
2329 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
2330 | k3 = true | |
2331 | cam2 = cs end | |
2332 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
2333 | k4 = true | |
2334 | cam2 = (cs*-1) end | |
2335 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
2336 | k5 = true | |
2337 | cam3 = cs end | |
2338 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
2339 | k6 = true | |
2340 | cam3 = (cs*-1) end | |
2341 | end | |
2342 | end | |
2343 | game:GetService("UserInputService").InputBegan:connect(kp1) | |
2344 | function kp2(inputObject, gameProcessedEvent) | |
2345 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2346 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
2347 | k1 = false | |
2348 | if k2 == false then | |
2349 | cam1 = 0 | |
2350 | end | |
2351 | end | |
2352 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
2353 | k2 = false | |
2354 | if k1 == false then | |
2355 | cam1 = 0 | |
2356 | end | |
2357 | end | |
2358 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
2359 | k3= false | |
2360 | if k4== false then | |
2361 | cam2 = 0 | |
2362 | end | |
2363 | end | |
2364 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
2365 | k4 = false | |
2366 | if k3 == false then | |
2367 | cam2 = 0 | |
2368 | end | |
2369 | end | |
2370 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
2371 | k5 = false | |
2372 | if k6 == false then | |
2373 | cam3 = 0 | |
2374 | end | |
2375 | end | |
2376 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
2377 | k6 = false | |
2378 | if k5 == false then | |
2379 | cam3 = 0 | |
2380 | end | |
2381 | end | |
2382 | end | |
2383 | end | |
2384 | game:GetService("UserInputService").InputEnded:connect(kp2) | |
2385 | function FC() | |
2386 | if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2387 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true | |
2388 | local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character) | |
2389 | fc.CanCollide = false | |
2390 | fc.Anchored = true | |
2391 | fc.Transparency = 1 | |
2392 | fc.Size = Vector3.new(1,1,1) | |
2393 | fc.Name = 'xFC' | |
2394 | fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame | |
2395 | local cam = workspace.CurrentCamera | |
2396 | cam.CameraSubject = fc | |
2397 | cam.CameraType = 'Custom' | |
2398 | movecam() | |
2399 | end end | |
2400 | function UFC() | |
2401 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false | |
2402 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2403 | game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy() | |
2404 | local cam = workspace.CurrentCamera | |
2405 | cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid | |
2406 | cam.CameraType = 'Custom' | |
2407 | end end | |
2408 | ||
2409 | addcmd('freecam','freecam',{'fc'}, | |
2410 | function(args, speaker) | |
2411 | if speaker.userId ~= LP.userId then | |
2412 | lponly(speaker) | |
2413 | else | |
2414 | FC() | |
2415 | end | |
2416 | end) | |
2417 | ||
2418 | addcmd('fixcam','fixes camera',{}, | |
2419 | function(args, speaker) | |
2420 | if speaker.userId ~= LP.userId then | |
2421 | lponly(speaker) | |
2422 | else | |
2423 | workspace.CurrentCamera:remove() | |
2424 | wait(.1) | |
2425 | workspace.CurrentCamera.CameraSubject = LP.Character.Humanoid | |
2426 | workspace.CurrentCamera.CameraType = "Custom" | |
2427 | LP.CameraMinZoomDistance = 0.5 | |
2428 | LP.CameraMaxZoomDistance = 400 | |
2429 | LP.CameraMode = "Classic" | |
2430 | end | |
2431 | end) | |
2432 | ||
2433 | addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'}, | |
2434 | function(args, speaker) | |
2435 | local players = getPlayer(args[1], speaker) | |
2436 | for i,v in pairs(players)do | |
2437 | local pchar=_char(v) | |
2438 | local char = pchar | |
2439 | local hum = char.Humanoid | |
2440 | for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end | |
2441 | hum.HealthDisplayDistance = 0 | |
2442 | --execcmd god | |
2443 | local stake = Instance.new("Part",char) | |
2444 | stake.Anchored = true | |
2445 | stake.BrickColor = BrickColor.new("Reddish brown") | |
2446 | stake.Material = "Wood" | |
2447 | stake.Size = Vector3.new(1,7,1) | |
2448 | stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1) | |
2449 | local hay = Instance.new("Part",char) | |
2450 | hay.Anchored = true | |
2451 | hay.Material = "Grass" | |
2452 | hay.BrickColor = BrickColor.new("New Yeller") | |
2453 | hay.Size = Vector3.new(6,1,5) | |
2454 | hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0) | |
2455 | local hay2 = hay:clone() | |
2456 | hay2.Parent = char | |
2457 | hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0) | |
2458 | local fire = Instance.new("Fire",hay) | |
2459 | fire.Enabled = false | |
2460 | fire.Heat = 25 | |
2461 | fire.Size = 2 | |
2462 | fire.Color = Color3.new(170/255,85/255,0) | |
2463 | local smoke = Instance.new("Smoke",hay) | |
2464 | smoke.Enabled = false | |
2465 | smoke.Opacity = 1 | |
2466 | smoke.RiseVelocity = 25 | |
2467 | smoke.Size = 15 | |
2468 | smoke.Color = Color3.new(0,0,0) | |
2469 | local light = Instance.new("PointLight",hay) | |
2470 | light.Color = Color3.new(170/255,85/255,0) | |
2471 | light.Range = 0 | |
2472 | light.Brightness = 1 | |
2473 | light.Enabled = false | |
2474 | --[[]] | |
2475 | local crack = Instance.new("Sound",hay) | |
2476 | crack.SoundId = "rbxassetid://239443642" | |
2477 | crack.Looped = true | |
2478 | crack.Volume = 0 | |
2479 | local scream = Instance.new("Sound",char.Torso) | |
2480 | scream.SoundId = "rbxassetid://264227115" | |
2481 | scream.Looped = true | |
2482 | scream.Volume = 0 | |
2483 | --]] | |
2484 | wait() | |
2485 | char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5) | |
2486 | char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5) | |
2487 | ||
2488 | local bods = char['Body Colors'] | |
2489 | local colors = { | |
2490 | --"Really red"; | |
2491 | "Bright red"; | |
2492 | "Crimson"; | |
2493 | "Maroon"; | |
2494 | "Really black"; | |
2495 | } | |
2496 | ||
2497 | fire.Enabled=true | |
2498 | smoke.Enabled=true | |
2499 | light.Enabled=true | |
2500 | crack:Play() | |
2501 | scream:Play() | |
2502 | scream.Pitch = 0.8 | |
2503 | --scream.Volume = 0.5 | |
2504 | for i=1,30 do | |
2505 | crack.Volume = crack.Volume+(1/30) | |
2506 | scream.Volume = crack.Volume | |
2507 | fire.Size=i | |
2508 | smoke.RiseVelocity=i-5 | |
2509 | smoke.Size=i/2 | |
2510 | light.Range=i*2 | |
2511 | wait(1) | |
2512 | end | |
2513 | ||
2514 | for i=1,#colors do | |
2515 | bods.HeadColor=BrickColor.new(colors[i]) | |
2516 | bods.LeftArmColor=BrickColor.new(colors[i]) | |
2517 | bods.LeftLegColor=BrickColor.new(colors[i]) | |
2518 | bods.RightArmColor=BrickColor.new(colors[i]) | |
2519 | bods.RightLegColor=BrickColor.new(colors[i]) | |
2520 | bods.TorsoColor=BrickColor.new(colors[i]) | |
2521 | hay.BrickColor=BrickColor.new(colors[i]) | |
2522 | hay2.BrickColor=BrickColor.new(colors[i]) | |
2523 | stake.BrickColor=BrickColor.new(colors[i]) | |
2524 | wait(5) | |
2525 | end | |
2526 | wait(10) | |
2527 | scream.Volume = 0.5 | |
2528 | wait(1) | |
2529 | scream:Stop() | |
2530 | char:BreakJoints() | |
2531 | end | |
2532 | end) | |
2533 | ||
2534 | addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'}, | |
2535 | function(args, speaker) | |
2536 | if speaker.userId ~= LP.userId then | |
2537 | lponly(speaker) | |
2538 | else | |
2539 | UFC() | |
2540 | end | |
2541 | end) | |
2542 | ||
2543 | addcmd('freecamspeed','unfreecam',{'fcspeed'}, | |
2544 | function(args, speaker) | |
2545 | if speaker.userId ~= LP.userId then | |
2546 | lponly(speaker) | |
2547 | else | |
2548 | if isNumber(args[1]) then | |
2549 | cs = args[1] | |
2550 | end end end) | |
2551 | ||
2552 | addcmd('nolight', 'no more light',{'unlight'}, | |
2553 | function(args, speaker) | |
2554 | local players = getPlayer(args[1], speaker) | |
2555 | for i,v in pairs(players)do | |
2556 | local pchar=_char(v) | |
2557 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
2558 | if v1:IsA("PointLight") then | |
2559 | v1:Destroy() | |
2560 | end | |
2561 | end | |
2562 | end | |
2563 | end) | |
2564 | ||
2565 | addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'}, | |
2566 | function(args, speaker) | |
2567 | local players = getPlayer(args[1], speaker) | |
2568 | for i,v in pairs(players)do | |
2569 | local pchar=_char(v) | |
2570 | scale = 10 | |
2571 | ||
2572 | function weld(tab) | |
2573 | local last = nil | |
2574 | for i,v in pairs(tab) do | |
2575 | if v:IsA("BasePart") then | |
2576 | if last then | |
2577 | local w = Instance.new("Weld",last) | |
2578 | w.Part0 = w.Parent | |
2579 | w.Part1 = v | |
2580 | local pos = last.CFrame:toObjectSpace(v.CFrame) | |
2581 | w.C0 = pos | |
2582 | end | |
2583 | last = v | |
2584 | end | |
2585 | end | |
2586 | end | |
2587 | ||
2588 | function makeball(pos) | |
2589 | local model = Instance.new("Model",workspace) | |
2590 | model.Name = gPlayers[v].Name .. "ball" | |
2591 | local rand = BrickColor.Random() | |
2592 | pchar.Head.Anchored = true | |
2593 | for i=0,340,20 do | |
2594 | wait() | |
2595 | for z=-90,70,20 do | |
2596 | local p = Instance.new("Part",model) | |
2597 | p.formFactor = "Custom" | |
2598 | p.BrickColor = rand | |
2599 | p.Transparency = 0.5 | |
2600 | p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140) | |
2601 | p.Anchored = true | |
2602 | p.TopSurface = 0 | |
2603 | p.BottomSurface = 0 | |
2604 | p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2) | |
2605 | p:breakJoints() | |
2606 | end | |
2607 | end | |
2608 | weld(model:children()) | |
2609 | for i,v in pairs(model:children()) do v.Anchored = false end | |
2610 | pchar.Head.Anchored = false | |
2611 | model:MakeJoints() | |
2612 | end | |
2613 | ||
2614 | if pchar then | |
2615 | makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0)) | |
2616 | end | |
2617 | end | |
2618 | end) | |
2619 | ||
2620 | addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'}, | |
2621 | function(args, speaker) | |
2622 | local players = getPlayer(args[1], speaker) | |
2623 | for i,v in pairs(players)do | |
2624 | local pchar=_char(v) | |
2625 | for _, child in pairs( workspace:GetChildren()) do | |
2626 | if child.Name == gPlayers[v].Name .. "ball" then | |
2627 | child:Destroy() | |
2628 | end | |
2629 | end | |
2630 | end | |
2631 | end) | |
2632 | ||
2633 | local fastwait = function(time) | |
2634 | local expire = tick()+(time or 0.02999999999999999889) | |
2635 | while game:GetService("RunService").Heartbeat:wait() do | |
2636 | if tick() >= expire then return true end | |
2637 | end | |
2638 | end | |
2639 | ||
2640 | function arrest(name) | |
2641 | spawn(function() | |
2642 | local p = game:GetService("Players"):FindFirstChild(name) | |
2643 | local char = p.Character | |
2644 | local torso = p.Character:FindFirstChild("HumanoidRootPart") | |
2645 | local humanoid = p.Character:FindFirstChild("Humanoid") | |
2646 | if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then | |
2647 | local van = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587") | |
2648 | if van then | |
2649 | local function check() | |
2650 | if not van or not van.Parent or not p or p.Parent ~= game:GetService("Players") or not torso or not humanoid or not torso.Parent or not humanoid.Parent or not char or not char.Parent then | |
2651 | return false | |
2652 | else | |
2653 | return true | |
2654 | end | |
2655 | end | |
2656 | ||
2657 | --local driver = van.Driver | |
2658 | --local grabber = van.Clown | |
2659 | local primary = van.Primary | |
2660 | --local door = van.Door | |
2661 | local tPos = torso.CFrame | |
2662 | ||
2663 | local sound = Instance.new("Sound",primary) | |
2664 | sound.SoundId = "rbxassetid://258529216" | |
2665 | sound.Looped = true | |
2666 | sound:Play() | |
2667 | ||
2668 | local chuckle = Instance.new("Sound",primary) | |
2669 | chuckle.SoundId = "rbxassetid://175964948" | |
2670 | chuckle.Looped = true | |
2671 | chuckle.Volume = 0.5 | |
2672 | chuckle:Play() | |
2673 | ||
2674 | van.PrimaryPart = van.Primary | |
2675 | van.Name = "ADONIS_VAN" | |
2676 | van.Parent = workspace | |
2677 | humanoid.Name = "NoResetForYou" | |
2678 | humanoid.WalkSpeed = 0 | |
2679 | sound.Pitch = 1.3 | |
2680 | ||
2681 | local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace) | |
2682 | music.Name = "COPSONG" | |
2683 | music.SoundId = "rbxassetid://132007810" | |
2684 | music.Volume = 1 | |
2685 | music.Looped = true | |
2686 | if not music.Playing then music:Play() end | |
2687 | ||
2688 | spawn(function() | |
2689 | while fastwait(0.2) do | |
2690 | van.Body.Lightbar.Red.PointLight.Enabled = true | |
2691 | van.Body.Lightbar.Blue.PointLight.Enabled = false | |
2692 | fastwait(0.2) | |
2693 | van.Body.Lightbar.Red.PointLight.Enabled = false | |
2694 | van.Body.Lightbar.Blue.PointLight.Enabled = true | |
2695 | end | |
2696 | end) | |
2697 | ||
2698 | for i = 1,200 do | |
2699 | if not check() then | |
2700 | break | |
2701 | else | |
2702 | van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0))) | |
2703 | fastwait(0.001*(i/5)) | |
2704 | end | |
2705 | end | |
2706 | ||
2707 | sound.Pitch = 0.9 | |
2708 | ||
2709 | fastwait(0.5) | |
2710 | if check() then | |
2711 | --door.Transparency = 1 | |
2712 | end | |
2713 | ||
2714 | local freeze = Instance.new("Sound",primary) | |
2715 | freeze.SoundId = "rbxassetid://163732279" | |
2716 | freeze.Volume = 5 | |
2717 | freeze:Play() | |
2718 | ||
2719 | fastwait(3) | |
2720 | ||
2721 | if check() then | |
2722 | torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0)) | |
2723 | end | |
2724 | ||
2725 | fastwait(0.5) | |
2726 | if check() then | |
2727 | --door.Transparency = 0 | |
2728 | end | |
2729 | fastwait(0.5) | |
2730 | ||
2731 | sound.Pitch = 1.3 | |
2732 | local gui = Instance.new("ScreenGui") | |
2733 | local frame = Instance.new("Frame",gui) | |
2734 | frame.BackgroundTransparency = 1 | |
2735 | frame.BackgroundColor3 = Color3.new(0,0,0) | |
2736 | frame.Position = UDim2.new(0,0,0,-36) | |
2737 | frame.Size = UDim2.new(1,0,1,36) | |
2738 | spawn(function() | |
2739 | for i = 1,0,-0.01 do | |
2740 | frame.BackgroundTransparency = i | |
2741 | fastwait(0.1) | |
2742 | end | |
2743 | frame.BackgroundTransparency = 0 | |
2744 | end) | |
2745 | ||
2746 | p.CameraMaxZoomDistance = 0.5 | |
2747 | ||
2748 | torso.Anchored = true | |
2749 | ||
2750 | for i = 1,400 do | |
2751 | if not check() then | |
2752 | break | |
2753 | else | |
2754 | van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0))) | |
2755 | torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0)) | |
2756 | fastwait(0.1/(i*5)) | |
2757 | ||
2758 | if i == 270 then | |
2759 | music.Volume = 5 | |
2760 | end | |
2761 | end | |
2762 | end | |
2763 | ||
2764 | local function KICK(P) | |
2765 | spawn(function() | |
2766 | if not FindTable(WL, P.Name) then | |
2767 | for i = 1,5 do | |
2768 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
2769 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
2770 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
2771 | spawn(function() | |
2772 | repeat fastwait() | |
2773 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
2774 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
2775 | end) | |
2776 | P.Character.HumanoidRootPart.Anchored = true | |
2777 | end | |
2778 | end | |
2779 | end | |
2780 | end) | |
2781 | end | |
2782 | ||
2783 | if p and p.Parent == game:GetService("Players") then | |
2784 | if p == game:GetService("Players").LocalPlayer then | |
2785 | fastwait(5) | |
2786 | end | |
2787 | torso.Anchored = false | |
2788 | p.CharacterAdded:Connect(function() | |
2789 | fastwait() | |
2790 | KICK(p) | |
2791 | end) | |
2792 | KICK(p) | |
2793 | end | |
2794 | fastwait(0.5) | |
2795 | pcall(function() van:Destroy() end) | |
2796 | pcall(function() gui:Destroy() end) | |
2797 | if not workspace:FindFirstChild("ADONIS_VAN") then | |
2798 | music:Destroy() | |
2799 | end | |
2800 | end | |
2801 | end | |
2802 | end) | |
2803 | end | |
2804 | ||
2805 | addcmd('arrest', 'arrests player',{}, | |
2806 | function(args, speaker) | |
2807 | local players = getPlayer(args[1], speaker) | |
2808 | for i,v in pairs(players)do | |
2809 | arrest(gPlayers[v].Name) | |
2810 | end | |
2811 | end) | |
2812 | ||
2813 | addcmd('nodummies', 'clears dummies',{}, | |
2814 | function(args, speaker) | |
2815 | for _, child in pairs( workspace:GetChildren()) do | |
2816 | if child:FindFirstChild('isdummy') then | |
2817 | child:Destroy() | |
2818 | end | |
2819 | end | |
2820 | end) | |
2821 | ||
2822 | addcmd('dummy','Make a dummy(usage: ;dummy name)',{}, | |
2823 | function(args, speaker) | |
2824 | local name = GLS(false, 0) | |
2825 | local lchar = game:GetService('Players').LocalPlayer | |
2826 | local Model0 = Instance.new("Model") | |
2827 | local Part1 = Instance.new("Part") | |
2828 | local SpecialMesh2 = Instance.new("SpecialMesh") | |
2829 | local Decal3 = Instance.new("Decal") | |
2830 | local Part4 = Instance.new("Part") | |
2831 | local Motor5 = Instance.new("Motor") | |
2832 | local Motor6 = Instance.new("Motor") | |
2833 | local Motor7 = Instance.new("Motor") | |
2834 | local Motor8 = Instance.new("Motor") | |
2835 | local Motor9 = Instance.new("Motor") | |
2836 | local Part10 = Instance.new("Part") | |
2837 | local Part11 = Instance.new("Part") | |
2838 | local Part12 = Instance.new("Part") | |
2839 | local Part13 = Instance.new("Part") | |
2840 | local dum = Instance.new("BoolValue") | |
2841 | dum.Name = "isdummy" | |
2842 | dum.Parent = Model0 | |
2843 | local Humanoid14 = Instance.new("Humanoid") | |
2844 | Model0.Name = name | |
2845 | Model0.Parent = workspace | |
2846 | Model0.PrimaryPart = Part1 | |
2847 | Part1.Name = "Head" | |
2848 | Part1.Parent = Model0 | |
2849 | Part1.BrickColor = BrickColor.new("Bright yellow") | |
2850 | Part1.CanCollide = false | |
2851 | Part1.FormFactor = Enum.FormFactor.Symmetric | |
2852 | Part1.Friction = 0 | |
2853 | Part1.Size = Vector3.new(2, 1, 1) | |
2854 | Part1.CFrame = CFrame.new(3.49000192, 4.49999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2855 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
2856 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2857 | Part1.Position = Vector3.new(3.49000192, 4.49999905, 7.75) | |
2858 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2859 | SpecialMesh2.Parent = Part1 | |
2860 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2861 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2862 | Decal3.Name = "face" | |
2863 | Decal3.Parent = Part1 | |
2864 | Decal3.Texture = "rbxasset://textures/face.png" | |
2865 | Part4.Name = "Torso" | |
2866 | Part4.Parent = Model0 | |
2867 | Part4.BrickColor = BrickColor.new("Bright blue") | |
2868 | Part4.CanCollide = false | |
2869 | Part4.FormFactor = Enum.FormFactor.Symmetric | |
2870 | Part4.Friction = 0 | |
2871 | Part4.Size = Vector3.new(2, 2, 1) | |
2872 | Part4.CFrame = CFrame.new(3.49000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2873 | Part4.LeftSurface = Enum.SurfaceType.Weld | |
2874 | Part4.RightSurface = Enum.SurfaceType.Weld | |
2875 | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
2876 | Part4.Position = Vector3.new(3.49000192, 2.99999905, 7.75) | |
2877 | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
2878 | Motor5.Name = "Right Shoulder" | |
2879 | Motor5.Parent = Part4 | |
2880 | Motor5.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2881 | Motor5.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2882 | Motor5.Part0 = Part4 | |
2883 | Motor5.Part1 = Part11 | |
2884 | Motor5.DesiredAngle = 0.083800852298737 | |
2885 | Motor5.MaxVelocity = 0.15000000596046 | |
2886 | Motor6.Name = "Left Shoulder" | |
2887 | Motor6.Parent = Part4 | |
2888 | Motor6.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2889 | Motor6.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2890 | Motor6.Part0 = Part4 | |
2891 | Motor6.Part1 = Part10 | |
2892 | Motor6.DesiredAngle = 0.083800852298737 | |
2893 | Motor6.MaxVelocity = 0.15000000596046 | |
2894 | Motor7.Name = "Left Hip" | |
2895 | Motor7.Parent = Part4 | |
2896 | Motor7.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2897 | Motor7.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2898 | Motor7.Part0 = Part4 | |
2899 | Motor7.Part1 = Part12 | |
2900 | Motor7.DesiredAngle = -0.083800852298737 | |
2901 | Motor7.MaxVelocity = 0.10000000149012 | |
2902 | Motor8.Name = "Neck" | |
2903 | Motor8.Parent = Part4 | |
2904 | Motor8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
2905 | Motor8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
2906 | Motor8.Part0 = Part4 | |
2907 | Motor8.Part1 = Part1 | |
2908 | Motor8.MaxVelocity = 0.10000000149012 | |
2909 | Motor9.Name = "Right Hip" | |
2910 | Motor9.Parent = Part4 | |
2911 | Motor9.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2912 | Motor9.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2913 | Motor9.Part0 = Part4 | |
2914 | Motor9.Part1 = Part13 | |
2915 | Motor9.DesiredAngle = -0.083800852298737 | |
2916 | Motor9.MaxVelocity = 0.10000000149012 | |
2917 | Part10.Name = "Left Arm" | |
2918 | Part10.Parent = Model0 | |
2919 | Part10.BrickColor = BrickColor.new("Bright yellow") | |
2920 | Part10.CanCollide = false | |
2921 | Part10.FormFactor = Enum.FormFactor.Symmetric | |
2922 | Part10.Size = Vector3.new(1, 2, 1) | |
2923 | Part10.CFrame = CFrame.new(1.99000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2924 | Part10.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2925 | Part10.Position = Vector3.new(1.99000192, 2.99999905, 7.75) | |
2926 | Part10.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2927 | Part11.Name = "Right Arm" | |
2928 | Part11.Parent = Model0 | |
2929 | Part11.BrickColor = BrickColor.new("Bright yellow") | |
2930 | Part11.CanCollide = false | |
2931 | Part11.FormFactor = Enum.FormFactor.Symmetric | |
2932 | Part11.Size = Vector3.new(1, 2, 1) | |
2933 | Part11.CFrame = CFrame.new(4.99000168, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2934 | Part11.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2935 | Part11.Position = Vector3.new(4.99000168, 2.99999905, 7.75) | |
2936 | Part11.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2937 | Part12.Name = "Left Leg" | |
2938 | Part12.Parent = Model0 | |
2939 | Part12.BrickColor = BrickColor.new("Br. yellowish green") | |
2940 | Part12.CanCollide = false | |
2941 | Part12.FormFactor = Enum.FormFactor.Symmetric | |
2942 | Part12.Size = Vector3.new(1, 2, 1) | |
2943 | Part12.CFrame = CFrame.new(2.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2944 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
2945 | Part12.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2946 | Part12.Position = Vector3.new(2.99000192, 0.999999046, 7.75) | |
2947 | Part12.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2948 | Part13.Name = "Right Leg" | |
2949 | Part13.Parent = Model0 | |
2950 | Part13.BrickColor = BrickColor.new("Br. yellowish green") | |
2951 | Part13.CanCollide = false | |
2952 | Part13.FormFactor = Enum.FormFactor.Symmetric | |
2953 | Part13.Size = Vector3.new(1, 2, 1) | |
2954 | Part13.CFrame = CFrame.new(3.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2955 | Part13.BottomSurface = Enum.SurfaceType.Smooth | |
2956 | Part13.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2957 | Part13.Position = Vector3.new(3.99000192, 0.999999046, 7.75) | |
2958 | Part13.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2959 | Humanoid14.Parent = Model0 | |
2960 | Humanoid14.RightLeg = Part13 | |
2961 | Humanoid14.LeftLeg = Part12 | |
2962 | Humanoid14.Torso = Part4 | |
2963 | Model0:MoveTo(game:GetService('Players').LocalPlayer.Character:GetModelCFrame().p) | |
2964 | Model0.Parent = game:GetService('Workspace') | |
2965 | end) | |
2966 | ||
2967 | addcmd('loopkill', 'rip person',{'lkill'}, | |
2968 | function(args, speaker) | |
2969 | local players = getPlayer(args[1], speaker) | |
2970 | for i,v in pairs(players)do | |
2971 | if not FindTable(loopkillT, _players[v].Name) then | |
2972 | table.insert(loopkillT, _players[v].Name) | |
2973 | if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else | |
2974 | Notify('Loopkilling player(s)') end end end end) | |
2975 | ||
2976 | addcmd('unloopkill', 'un rip person',{'unlkill'}, | |
2977 | function(args, speaker) | |
2978 | local players = getPlayer(args[1], speaker) | |
2979 | for i,v in pairs(players)do | |
2980 | if FindTable(loopkillT, _players[v].Name) then | |
2981 | table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name)) | |
2982 | if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else | |
2983 | Notify('No longer loopkilling player(s)') end end end end) | |
2984 | ||
2985 | addcmd('disabletools', 'removes their tools',{'loopremovetools'}, | |
2986 | function(args, speaker) | |
2987 | local players = getPlayer(args[1], speaker) | |
2988 | for i,v in pairs(players)do | |
2989 | if not FindTable(disabletoolsT, _players[v].Name) then | |
2990 | table.insert(disabletoolsT, _players[v].Name) | |
2991 | if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else | |
2992 | Notify('Disabled tools for player(s)') end end end end) | |
2993 | ||
2994 | addcmd('enabletools', 'lets them have tools',{}, | |
2995 | function(args, speaker) | |
2996 | local players = getPlayer(args[1], speaker) | |
2997 | for i,v in pairs(players)do | |
2998 | if FindTable(disabletoolsT, _players[v].Name) then | |
2999 | table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) wait(0.1) refresh(_players[v]) | |
3000 | if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else | |
3001 | Notify('Enabled tools for player(s)') end end end end) | |
3002 | ||
3003 | addcmd('refresh', 'refresh their player model',{'re'}, | |
3004 | function(args, speaker) | |
3005 | local players = getPlayer(args[1], speaker) | |
3006 | for i,v in pairs(players)do | |
3007 | refresh(_players[v]) | |
3008 | end end) | |
3009 | ||
3010 | local fastwait = function(time) | |
3011 | local expire = tick()+(time or 0.02999999999999999889) | |
3012 | while game:GetService("RunService").Heartbeat:wait() do | |
3013 | if tick() >= expire then return true end | |
3014 | end | |
3015 | end | |
3016 | ||
3017 | function gull(name) | |
3018 | spawn(function() | |
3019 | local char = game:GetService("Players")[name].Character | |
3020 | char.PrimaryPart = char.HumanoidRootPart | |
3021 | ||
3022 | local tors = game:GetService("Players")[name].Character.HumanoidRootPart | |
3023 | local initCFrame = tors.CFrame | |
3024 | ||
3025 | if char:FindFirstChild("Torso") then | |
3026 | char.Torso.Anchored = true | |
3027 | else | |
3028 | char.UpperTorso.Anchored = true | |
3029 | end | |
3030 | char:FindFirstChildOfClass("Humanoid").Name = "Sad" | |
3031 | ||
3032 | local gull = Instance.new("Part") | |
3033 | gull.Anchored = true | |
3034 | gull.CanCollide = false | |
3035 | gull.Position = Vector3.new(0,100000,0) | |
3036 | local mesh = Instance.new("SpecialMesh",gull) | |
3037 | mesh.MeshId = "http://www.roblox.com/asset/?id=272501436" | |
3038 | mesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
3039 | mesh.Scale = Vector3.new(10,10,10) | |
3040 | ||
3041 | local leftWing = Instance.new("Part",gull) | |
3042 | leftWing.CanCollide = false | |
3043 | local lmesh = Instance.new("SpecialMesh",leftWing) | |
3044 | lmesh.MeshId = "http://www.roblox.com/asset/?id=267684584" | |
3045 | lmesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
3046 | lmesh.Scale = Vector3.new(10,10,10) | |
3047 | local leftMotor = Instance.new("Motor6D",gull) | |
3048 | leftMotor.MaxVelocity = 1 | |
3049 | leftMotor.Part0 = gull | |
3050 | leftMotor.Part1 = leftWing | |
3051 | leftMotor.C0 = CFrame.new(-50.2919998, -0.0920021087, 0.280000001) | |
3052 | ||
3053 | local rightWing = Instance.new("Part",gull) | |
3054 | rightWing.CanCollide = false | |
3055 | local rmesh = Instance.new("SpecialMesh",rightWing) | |
3056 | rmesh.MeshId = "http://www.roblox.com/asset/?id=267684651" | |
3057 | rmesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
3058 | rmesh.Scale = Vector3.new(10,10,10) | |
3059 | local rightMotor = Instance.new("Motor6D",gull) | |
3060 | rightMotor.MaxVelocity = 1 | |
3061 | rightMotor.Part0 = gull | |
3062 | rightMotor.Part1 = rightWing | |
3063 | rightMotor.C0 = CFrame.new(47.1930008, -0.0670021027, 0.280000001) | |
3064 | ||
3065 | local sound = Instance.new("Sound",gull) | |
3066 | sound.SoundId = "rbxassetid://160877039" | |
3067 | sound.Volume = 10 | |
3068 | gull.Parent = workspace | |
3069 | ||
3070 | for i = 400,-1000,-2 do | |
3071 | local der = 0.02*i | |
3072 | local angle = math.atan(der/1) | |
3073 | gull.CFrame = initCFrame*CFrame.Angles(angle,math.pi,0) + initCFrame.lookVector * (i+5) + Vector3.new(0,0.01*i^2+7,0) | |
3074 | if i == 0 then sound:Play() end | |
3075 | if i <= 0 then | |
3076 | char:SetPrimaryPartCFrame(gull.CFrame) | |
3077 | local nextAngle = -0.2*math.sin(0.05*math.pi*(i)) | |
3078 | leftMotor.DesiredAngle = -nextAngle | |
3079 | leftMotor.C0 = CFrame.new(-50.2919998, 47.193*math.tan(nextAngle), 0.280000001) | |
3080 | rightMotor.DesiredAngle = nextAngle | |
3081 | rightMotor.C0 = CFrame.new(47.1930008, 47.193*math.tan(nextAngle), 0.280000001) | |
3082 | end | |
3083 | game:GetService("RunService").RenderStepped:wait() | |
3084 | end | |
3085 | ||
3086 | local function KICK(P) | |
3087 | spawn(function() | |
3088 | if not FindTable(WL, P.Name) then | |
3089 | for i = 1,5 do | |
3090 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
3091 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
3092 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
3093 | spawn(function() | |
3094 | repeat wait() | |
3095 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
3096 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
3097 | end) | |
3098 | P.Character.HumanoidRootPart.Anchored = true | |
3099 | end | |
3100 | end | |
3101 | end | |
3102 | end) | |
3103 | end | |
3104 | ||
3105 | if char:FindFirstChild("Torso") then | |
3106 | char.Torso.Anchored = false | |
3107 | else | |
3108 | char.UpperTorso.Anchored = false | |
3109 | end | |
3110 | ||
3111 | spawn(function() | |
3112 | if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(5) end | |
3113 | game:GetService("Players")[name].CharacterAdded:Connect(function() | |
3114 | wait() | |
3115 | KICK(game:GetService("Players")[name]) | |
3116 | end) | |
3117 | KICK(game:GetService("Players")[name]) | |
3118 | end) | |
3119 | ||
3120 | local go = Instance.new("BodyVelocity",gull) | |
3121 | go.Velocity = Vector3.new(0,1000,0) | |
3122 | go.MaxForce = Vector3.new(1000000,1000000,1000000) | |
3123 | gull.Anchored = false | |
3124 | end) | |
3125 | end | |
3126 | ||
3127 | addcmd('seagull', 'seagulls player',{'gull'}, | |
3128 | function(args, speaker) | |
3129 | local players = getPlayer(args[1], speaker) | |
3130 | for i,v in pairs(players)do | |
3131 | gull(gPlayers[v].Name) | |
3132 | end | |
3133 | end) | |
3134 | ||
3135 | local song = nil | |
3136 | function zinniaKick(name) | |
3137 | spawn(function() | |
3138 | if song == nil or song.Parent == nil then | |
3139 | song = Instance.new("Sound",workspace) | |
3140 | song.SoundId = "rbxassetid://190423831" | |
3141 | song.Volume = 1 | |
3142 | song.Looped = true | |
3143 | song:Play() | |
3144 | end | |
3145 | local zin = Instance.new("Part") | |
3146 | zin.Name = "CuteZinnia" | |
3147 | zin.Anchored = true | |
3148 | zin.CanCollide = false | |
3149 | zin.Locked = true | |
3150 | local mesh = Instance.new("SpecialMesh") | |
3151 | mesh.MeshId = "rbxassetid://1175670539" | |
3152 | mesh.TextureId = "rbxassetid://1175670558" | |
3153 | mesh.Scale = Vector3.new(0.05,0.05,0.05) | |
3154 | mesh.Offset = Vector3.new(0,0.88,0) | |
3155 | mesh.Parent = zin | |
3156 | local char = game:GetService("Players")[name].Character | |
3157 | char.PrimaryPart = char.HumanoidRootPart | |
3158 | if char:FindFirstChild("Torso") then | |
3159 | char.Torso.Anchored = true | |
3160 | else | |
3161 | char.UpperTorso.Anchored = true | |
3162 | end | |
3163 | zin.CFrame = (char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*50) * CFrame.Angles(0,math.pi,0) + Vector3.new(0,500,0) + (char:FindFirstChild("UpperTorso") and Vector3.new(0,0.9,0) or Vector3.new(0,0,0)) | |
3164 | zin.Parent = workspace | |
3165 | local tween = game:GetService("TweenService"):Create(zin,TweenInfo.new(3,Enum.EasingStyle.Quart,Enum.EasingDirection.Out,0,false,0),{CFrame = zin.CFrame - Vector3.new(0,500,0)}) | |
3166 | tween:Play() | |
3167 | fastwait(3) | |
3168 | for i = 50,1,-1 do | |
3169 | zin.CFrame = (char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*i) * CFrame.Angles(0,math.pi,0) + (char:FindFirstChild("UpperTorso") and Vector3.new(0,0.9,0) or Vector3.new(0,0,0)) | |
3170 | fastwait() | |
3171 | end | |
3172 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3173 | fastwait(1) | |
3174 | local turns = 0 | |
3175 | ||
3176 | while turns < 200 do | |
3177 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3178 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3179 | turns = turns + 1 | |
3180 | fastwait() | |
3181 | end | |
3182 | for i = 1,10 do | |
3183 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3184 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3185 | fastwait() | |
3186 | end | |
3187 | local rX,rZ = 0,0 | |
3188 | repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000 | |
3189 | repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000 | |
3190 | local bv = Instance.new("BodyForce",char.HumanoidRootPart) | |
3191 | bv.Force = Vector3.new(rX,10000,rZ) | |
3192 | if char:FindFirstChild("Torso") then | |
3193 | char.Torso.Anchored = false | |
3194 | else | |
3195 | char.UpperTorso.Anchored = false | |
3196 | end | |
3197 | function KICK(P) | |
3198 | spawn(function() | |
3199 | if not FindTable(WL, P.Name) then | |
3200 | for i = 1,5 do | |
3201 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
3202 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
3203 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
3204 | spawn(function() | |
3205 | repeat fastwait() | |
3206 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
3207 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
3208 | end) | |
3209 | P.Character.HumanoidRootPart.Anchored = true | |
3210 | end | |
3211 | end | |
3212 | end | |
3213 | end) | |
3214 | end | |
3215 | spawn(function() | |
3216 | if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end | |
3217 | game:GetService("Players")[name].CharacterAdded:Connect(function() | |
3218 | fastwait() | |
3219 | KICK(game:GetService("Players")[name]) | |
3220 | end) | |
3221 | KICK(game:GetService("Players")[name]) | |
3222 | end) | |
3223 | for i = 1,20 do | |
3224 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3225 | fastwait() | |
3226 | end | |
3227 | while turns > 0 do | |
3228 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3229 | turns = turns - 5 | |
3230 | fastwait() | |
3231 | end | |
3232 | fastwait(1) | |
3233 | zin.Name = "GoneZinnia" | |
3234 | local go = Instance.new("BodyVelocity",zin) | |
3235 | go.Velocity = zin.CFrame.lookVector * 100 | |
3236 | go.MaxForce = Vector3.new(1000000,1000000,1000000) | |
3237 | zin.Anchored = false | |
3238 | fastwait(20) | |
3239 | if song and not workspace:FindFirstChild("CuteZinnia") then | |
3240 | song:Destroy() | |
3241 | song = nil | |
3242 | end | |
3243 | end) | |
3244 | end | |
3245 | ||
3246 | addcmd('zinnia', 'asdf for moon',{}, | |
3247 | function(args, speaker) | |
3248 | local players = getPlayer(args[1], speaker) | |
3249 | for i,v in pairs(players)do | |
3250 | zinniaKick(gPlayers[v].Name) | |
3251 | end | |
3252 | end) | |
3253 | ||
3254 | addcmd('rainbowname', 'color spam their name tag',{'rname'}, | |
3255 | function(args, speaker) | |
3256 | local players = getPlayer(args[1], speaker) | |
3257 | for i,v in pairs(players)do | |
3258 | if not FindTable(rainbowT, _players[v].Name) then | |
3259 | table.insert(rainbowT, _players[v].Name) | |
3260 | if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else | |
3261 | Notify('Gave player(s) rainbow name') end end end end) | |
3262 | ||
3263 | addcmd('unrainbowname', 'removes their colorful name',{'unrname'}, | |
3264 | function(args, speaker) | |
3265 | local players = getPlayer(args[1], speaker) | |
3266 | for i,v in pairs(players)do | |
3267 | if FindTable(rainbowT, _players[v].Name) then | |
3268 | table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name)) | |
3269 | _players[v].Neutral = true | |
3270 | if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else | |
3271 | Notify('Disabled rainbow name for player(s)') end end end end) | |
3272 | ||
3273 | addcmd('terrain', 'gives you terrain tools',{'tt'}, | |
3274 | function(args, speaker) | |
3275 | if speaker.userId ~= LP.userId then | |
3276 | lponly(speaker) | |
3277 | else | |
3278 | --Terrain Script | |
3279 | --Edge/IoIman616 | |
3280 | ||
3281 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do | |
3282 | if child.Name == "MaterialGui" then | |
3283 | child:Destroy() | |
3284 | end | |
3285 | end | |
3286 | ||
3287 | function sandbox(var,func) | |
3288 | local env = getfenv(func) | |
3289 | local newenv = setmetatable({},{ | |
3290 | __index = function(self,k) | |
3291 | if k=="script" then | |
3292 | return var | |
3293 | else | |
3294 | return env[k] | |
3295 | end | |
3296 | end, | |
3297 | }) | |
3298 | setfenv(func,newenv) | |
3299 | return func | |
3300 | end | |
3301 | cors = {} | |
3302 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3303 | HopperBin0 = Instance.new("HopperBin") | |
3304 | HopperBin0.Name = "Terrain Build" | |
3305 | HopperBin0.Parent = mas | |
3306 | for i,v in pairs(mas:GetChildren()) do | |
3307 | v.Parent = game:GetService("Players").LocalPlayer.Backpack | |
3308 | pcall(function() v:MakeJoints() end) | |
3309 | end | |
3310 | mas:Destroy() | |
3311 | for i,v in pairs(cors) do | |
3312 | spawn(function() | |
3313 | pcall(v) | |
3314 | end) | |
3315 | end | |
3316 | ||
3317 | wait(0.01) | |
3318 | ||
3319 | function sandbox(var,func) | |
3320 | local env = getfenv(func) | |
3321 | local newenv = setmetatable({},{ | |
3322 | __index = function(self,k) | |
3323 | if k=="script" then | |
3324 | return var | |
3325 | else | |
3326 | return env[k] | |
3327 | end | |
3328 | end, | |
3329 | }) | |
3330 | setfenv(func,newenv) | |
3331 | return func | |
3332 | end | |
3333 | cors = {} | |
3334 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3335 | ScreenGui0 = Instance.new("ScreenGui") | |
3336 | ImageLabel1 = Instance.new("ImageLabel") | |
3337 | ImageButton2 = Instance.new("ImageButton") | |
3338 | Frame3 = Instance.new("Frame") | |
3339 | NumberValue4 = Instance.new("NumberValue") | |
3340 | ImageButton5 = Instance.new("ImageButton") | |
3341 | Frame6 = Instance.new("Frame") | |
3342 | NumberValue7 = Instance.new("NumberValue") | |
3343 | ImageButton8 = Instance.new("ImageButton") | |
3344 | Frame9 = Instance.new("Frame") | |
3345 | NumberValue10 = Instance.new("NumberValue") | |
3346 | ImageButton11 = Instance.new("ImageButton") | |
3347 | Frame12 = Instance.new("Frame") | |
3348 | NumberValue13 = Instance.new("NumberValue") | |
3349 | ImageButton14 = Instance.new("ImageButton") | |
3350 | Frame15 = Instance.new("Frame") | |
3351 | NumberValue16 = Instance.new("NumberValue") | |
3352 | ImageButton17 = Instance.new("ImageButton") | |
3353 | Frame18 = Instance.new("Frame") | |
3354 | NumberValue19 = Instance.new("NumberValue") | |
3355 | ImageButton20 = Instance.new("ImageButton") | |
3356 | Frame21 = Instance.new("Frame") | |
3357 | NumberValue22 = Instance.new("NumberValue") | |
3358 | ImageButton23 = Instance.new("ImageButton") | |
3359 | Frame24 = Instance.new("Frame") | |
3360 | NumberValue25 = Instance.new("NumberValue") | |
3361 | ImageButton26 = Instance.new("ImageButton") | |
3362 | Frame27 = Instance.new("Frame") | |
3363 | NumberValue28 = Instance.new("NumberValue") | |
3364 | ImageButton29 = Instance.new("ImageButton") | |
3365 | Frame30 = Instance.new("Frame") | |
3366 | NumberValue31 = Instance.new("NumberValue") | |
3367 | ImageButton32 = Instance.new("ImageButton") | |
3368 | Frame33 = Instance.new("Frame") | |
3369 | NumberValue34 = Instance.new("NumberValue") | |
3370 | ImageButton35 = Instance.new("ImageButton") | |
3371 | Frame36 = Instance.new("Frame") | |
3372 | NumberValue37 = Instance.new("NumberValue") | |
3373 | ImageButton38 = Instance.new("ImageButton") | |
3374 | Frame39 = Instance.new("Frame") | |
3375 | NumberValue40 = Instance.new("NumberValue") | |
3376 | ImageButton41 = Instance.new("ImageButton") | |
3377 | Frame42 = Instance.new("Frame") | |
3378 | NumberValue43 = Instance.new("NumberValue") | |
3379 | ImageButton44 = Instance.new("ImageButton") | |
3380 | Frame45 = Instance.new("Frame") | |
3381 | NumberValue46 = Instance.new("NumberValue") | |
3382 | ImageButton47 = Instance.new("ImageButton") | |
3383 | Frame48 = Instance.new("Frame") | |
3384 | NumberValue49 = Instance.new("NumberValue") | |
3385 | ImageButton50 = Instance.new("ImageButton") | |
3386 | Frame51 = Instance.new("Frame") | |
3387 | NumberValue52 = Instance.new("NumberValue") | |
3388 | ImageButton53 = Instance.new("ImageButton") | |
3389 | Frame54 = Instance.new("Frame") | |
3390 | ScreenGui0.Name = "MaterialGui" | |
3391 | ScreenGui0.Parent = mas | |
3392 | ImageLabel1.Name = "MaterialMenu" | |
3393 | ImageLabel1.Parent = ScreenGui0 | |
3394 | ImageLabel1.Transparency = 1 | |
3395 | ImageLabel1.Size = UDim2.new(0, 100, 0, 450) | |
3396 | ImageLabel1.Position = UDim2.new(0, 0, 1, -550) | |
3397 | ImageLabel1.BackgroundTransparency = 1 | |
3398 | ImageLabel1.ZIndex = 2 | |
3399 | ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png" | |
3400 | ImageButton2.Name = "Grass" | |
3401 | ImageButton2.Parent = ImageLabel1 | |
3402 | ImageButton2.Transparency = 1 | |
3403 | ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3404 | ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0) | |
3405 | ImageButton2.BackgroundTransparency = 1 | |
3406 | ImageButton2.ZIndex = 4 | |
3407 | ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112" | |
3408 | Frame3.Name = "Selection" | |
3409 | Frame3.Parent = ImageButton2 | |
3410 | Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3411 | Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3412 | Frame3.BackgroundColor3 = Color3.new(1, 1, 1) | |
3413 | Frame3.BorderSizePixel = 0 | |
3414 | Frame3.ZIndex = 3 | |
3415 | NumberValue4.Name = "num" | |
3416 | NumberValue4.Parent = ImageButton2 | |
3417 | NumberValue4.Value = 1 | |
3418 | ImageButton5.Name = "Sand" | |
3419 | ImageButton5.Parent = ImageLabel1 | |
3420 | ImageButton5.Transparency = 1 | |
3421 | ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3422 | ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0) | |
3423 | ImageButton5.BackgroundTransparency = 1 | |
3424 | ImageButton5.ZIndex = 4 | |
3425 | ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652" | |
3426 | Frame6.Name = "Selection" | |
3427 | Frame6.Parent = ImageButton5 | |
3428 | Frame6.Transparency = 1 | |
3429 | Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3430 | Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3431 | Frame6.BackgroundColor3 = Color3.new(1, 1, 1) | |
3432 | Frame6.BackgroundTransparency = 1 | |
3433 | Frame6.BorderSizePixel = 0 | |
3434 | Frame6.ZIndex = 3 | |
3435 | NumberValue7.Name = "num" | |
3436 | NumberValue7.Parent = ImageButton5 | |
3437 | NumberValue7.Value = 2 | |
3438 | ImageButton8.Name = "Brick" | |
3439 | ImageButton8.Parent = ImageLabel1 | |
3440 | ImageButton8.Transparency = 1 | |
3441 | ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3442 | ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0) | |
3443 | ImageButton8.BackgroundTransparency = 1 | |
3444 | ImageButton8.ZIndex = 4 | |
3445 | ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537" | |
3446 | Frame9.Name = "Selection" | |
3447 | Frame9.Parent = ImageButton8 | |
3448 | Frame9.Transparency = 1 | |
3449 | Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3450 | Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3451 | Frame9.BackgroundColor3 = Color3.new(1, 1, 1) | |
3452 | Frame9.BackgroundTransparency = 1 | |
3453 | Frame9.BorderSizePixel = 0 | |
3454 | Frame9.ZIndex = 3 | |
3455 | NumberValue10.Name = "num" | |
3456 | NumberValue10.Parent = ImageButton8 | |
3457 | NumberValue10.Value = 3 | |
3458 | ImageButton11.Name = "Granite" | |
3459 | ImageButton11.Parent = ImageLabel1 | |
3460 | ImageButton11.Transparency = 1 | |
3461 | ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3462 | ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0) | |
3463 | ImageButton11.BackgroundTransparency = 1 | |
3464 | ImageButton11.ZIndex = 4 | |
3465 | ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153" | |
3466 | Frame12.Name = "Selection" | |
3467 | Frame12.Parent = ImageButton11 | |
3468 | Frame12.Transparency = 1 | |
3469 | Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3470 | Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3471 | Frame12.BackgroundColor3 = Color3.new(1, 1, 1) | |
3472 | Frame12.BackgroundTransparency = 1 | |
3473 | Frame12.BorderSizePixel = 0 | |
3474 | Frame12.ZIndex = 3 | |
3475 | NumberValue13.Name = "num" | |
3476 | NumberValue13.Parent = ImageButton11 | |
3477 | NumberValue13.Value = 4 | |
3478 | ImageButton14.Name = "Asphalt" | |
3479 | ImageButton14.Parent = ImageLabel1 | |
3480 | ImageButton14.Transparency = 1 | |
3481 | ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3482 | ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0) | |
3483 | ImageButton14.BackgroundTransparency = 1 | |
3484 | ImageButton14.ZIndex = 4 | |
3485 | ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038" | |
3486 | Frame15.Name = "Selection" | |
3487 | Frame15.Parent = ImageButton14 | |
3488 | Frame15.Transparency = 1 | |
3489 | Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3490 | Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3491 | Frame15.BackgroundColor3 = Color3.new(1, 1, 1) | |
3492 | Frame15.BackgroundTransparency = 1 | |
3493 | Frame15.BorderSizePixel = 0 | |
3494 | Frame15.ZIndex = 3 | |
3495 | NumberValue16.Name = "num" | |
3496 | NumberValue16.Parent = ImageButton14 | |
3497 | NumberValue16.Value = 5 | |
3498 | ImageButton17.Name = "Iron" | |
3499 | ImageButton17.Parent = ImageLabel1 | |
3500 | ImageButton17.Transparency = 1 | |
3501 | ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3502 | ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0) | |
3503 | ImageButton17.BackgroundTransparency = 1 | |
3504 | ImageButton17.ZIndex = 4 | |
3505 | ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093" | |
3506 | Frame18.Name = "Selection" | |
3507 | Frame18.Parent = ImageButton17 | |
3508 | Frame18.Transparency = 1 | |
3509 | Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3510 | Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3511 | Frame18.BackgroundColor3 = Color3.new(1, 1, 1) | |
3512 | Frame18.BackgroundTransparency = 1 | |
3513 | Frame18.BorderSizePixel = 0 | |
3514 | Frame18.ZIndex = 3 | |
3515 | NumberValue19.Name = "num" | |
3516 | NumberValue19.Parent = ImageButton17 | |
3517 | NumberValue19.Value = 6 | |
3518 | ImageButton20.Name = "Aluminum" | |
3519 | ImageButton20.Parent = ImageLabel1 | |
3520 | ImageButton20.Transparency = 1 | |
3521 | ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3522 | ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0) | |
3523 | ImageButton20.BackgroundTransparency = 1 | |
3524 | ImageButton20.ZIndex = 4 | |
3525 | ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995" | |
3526 | Frame21.Name = "Selection" | |
3527 | Frame21.Parent = ImageButton20 | |
3528 | Frame21.Transparency = 1 | |
3529 | Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3530 | Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3531 | Frame21.BackgroundColor3 = Color3.new(1, 1, 1) | |
3532 | Frame21.BackgroundTransparency = 1 | |
3533 | Frame21.BorderSizePixel = 0 | |
3534 | Frame21.ZIndex = 3 | |
3535 | NumberValue22.Name = "num" | |
3536 | NumberValue22.Parent = ImageButton20 | |
3537 | NumberValue22.Value = 7 | |
3538 | ImageButton23.Name = "Gold" | |
3539 | ImageButton23.Parent = ImageLabel1 | |
3540 | ImageButton23.Transparency = 1 | |
3541 | ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3542 | ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0) | |
3543 | ImageButton23.BackgroundTransparency = 1 | |
3544 | ImageButton23.ZIndex = 4 | |
3545 | ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118" | |
3546 | Frame24.Name = "Selection" | |
3547 | Frame24.Parent = ImageButton23 | |
3548 | Frame24.Transparency = 1 | |
3549 | Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3550 | Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3551 | Frame24.BackgroundColor3 = Color3.new(1, 1, 1) | |
3552 | Frame24.BackgroundTransparency = 1 | |
3553 | Frame24.BorderSizePixel = 0 | |
3554 | Frame24.ZIndex = 3 | |
3555 | NumberValue25.Name = "num" | |
3556 | NumberValue25.Parent = ImageButton23 | |
3557 | NumberValue25.Value = 8 | |
3558 | ImageButton26.Name = "Plank" | |
3559 | ImageButton26.Parent = ImageLabel1 | |
3560 | ImageButton26.Transparency = 1 | |
3561 | ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3562 | ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0) | |
3563 | ImageButton26.BackgroundTransparency = 1 | |
3564 | ImageButton26.ZIndex = 4 | |
3565 | ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015" | |
3566 | Frame27.Name = "Selection" | |
3567 | Frame27.Parent = ImageButton26 | |
3568 | Frame27.Transparency = 1 | |
3569 | Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3570 | Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3571 | Frame27.BackgroundColor3 = Color3.new(1, 1, 1) | |
3572 | Frame27.BackgroundTransparency = 1 | |
3573 | Frame27.BorderSizePixel = 0 | |
3574 | Frame27.ZIndex = 3 | |
3575 | NumberValue28.Name = "num" | |
3576 | NumberValue28.Parent = ImageButton26 | |
3577 | NumberValue28.Value = 9 | |
3578 | ImageButton29.Name = "Log" | |
3579 | ImageButton29.Parent = ImageLabel1 | |
3580 | ImageButton29.Transparency = 1 | |
3581 | ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3582 | ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0) | |
3583 | ImageButton29.BackgroundTransparency = 1 | |
3584 | ImageButton29.ZIndex = 4 | |
3585 | ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051" | |
3586 | Frame30.Name = "Selection" | |
3587 | Frame30.Parent = ImageButton29 | |
3588 | Frame30.Transparency = 1 | |
3589 | Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3590 | Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3591 | Frame30.BackgroundColor3 = Color3.new(1, 1, 1) | |
3592 | Frame30.BackgroundTransparency = 1 | |
3593 | Frame30.BorderSizePixel = 0 | |
3594 | Frame30.ZIndex = 3 | |
3595 | NumberValue31.Name = "num" | |
3596 | NumberValue31.Parent = ImageButton29 | |
3597 | NumberValue31.Value = 10 | |
3598 | ImageButton32.Name = "Gravel" | |
3599 | ImageButton32.Parent = ImageLabel1 | |
3600 | ImageButton32.Transparency = 1 | |
3601 | ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3602 | ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0) | |
3603 | ImageButton32.BackgroundTransparency = 1 | |
3604 | ImageButton32.ZIndex = 4 | |
3605 | ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206" | |
3606 | Frame33.Name = "Selection" | |
3607 | Frame33.Parent = ImageButton32 | |
3608 | Frame33.Transparency = 1 | |
3609 | Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3610 | Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3611 | Frame33.BackgroundColor3 = Color3.new(1, 1, 1) | |
3612 | Frame33.BackgroundTransparency = 1 | |
3613 | Frame33.BorderSizePixel = 0 | |
3614 | Frame33.ZIndex = 3 | |
3615 | NumberValue34.Name = "num" | |
3616 | NumberValue34.Parent = ImageButton32 | |
3617 | NumberValue34.Value = 11 | |
3618 | ImageButton35.Name = "Cinder" | |
3619 | ImageButton35.Parent = ImageLabel1 | |
3620 | ImageButton35.Transparency = 1 | |
3621 | ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3622 | ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0) | |
3623 | ImageButton35.BackgroundTransparency = 1 | |
3624 | ImageButton35.ZIndex = 4 | |
3625 | ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103" | |
3626 | Frame36.Name = "Selection" | |
3627 | Frame36.Parent = ImageButton35 | |
3628 | Frame36.Transparency = 1 | |
3629 | Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3630 | Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3631 | Frame36.BackgroundColor3 = Color3.new(1, 1, 1) | |
3632 | Frame36.BackgroundTransparency = 1 | |
3633 | Frame36.BorderSizePixel = 0 | |
3634 | Frame36.ZIndex = 3 | |
3635 | NumberValue37.Name = "num" | |
3636 | NumberValue37.Parent = ImageButton35 | |
3637 | NumberValue37.Value = 12 | |
3638 | ImageButton38.Name = "Stone" | |
3639 | ImageButton38.Parent = ImageLabel1 | |
3640 | ImageButton38.Transparency = 1 | |
3641 | ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3642 | ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0) | |
3643 | ImageButton38.BackgroundTransparency = 1 | |
3644 | ImageButton38.ZIndex = 4 | |
3645 | ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804" | |
3646 | Frame39.Name = "Selection" | |
3647 | Frame39.Parent = ImageButton38 | |
3648 | Frame39.Transparency = 1 | |
3649 | Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3650 | Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3651 | Frame39.BackgroundColor3 = Color3.new(1, 1, 1) | |
3652 | Frame39.BackgroundTransparency = 1 | |
3653 | Frame39.BorderSizePixel = 0 | |
3654 | Frame39.ZIndex = 3 | |
3655 | NumberValue40.Name = "num" | |
3656 | NumberValue40.Parent = ImageButton38 | |
3657 | NumberValue40.Value = 13 | |
3658 | ImageButton41.Name = "Cement" | |
3659 | ImageButton41.Parent = ImageLabel1 | |
3660 | ImageButton41.Transparency = 1 | |
3661 | ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3662 | ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0) | |
3663 | ImageButton41.BackgroundTransparency = 1 | |
3664 | ImageButton41.ZIndex = 4 | |
3665 | ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059" | |
3666 | Frame42.Name = "Selection" | |
3667 | Frame42.Parent = ImageButton41 | |
3668 | Frame42.Transparency = 1 | |
3669 | Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3670 | Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3671 | Frame42.BackgroundColor3 = Color3.new(1, 1, 1) | |
3672 | Frame42.BackgroundTransparency = 1 | |
3673 | Frame42.BorderSizePixel = 0 | |
3674 | Frame42.ZIndex = 3 | |
3675 | NumberValue43.Name = "num" | |
3676 | NumberValue43.Parent = ImageButton41 | |
3677 | NumberValue43.Value = 14 | |
3678 | ImageButton44.Name = "Red Plastic" | |
3679 | ImageButton44.Parent = ImageLabel1 | |
3680 | ImageButton44.Transparency = 1 | |
3681 | ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3682 | ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0) | |
3683 | ImageButton44.BackgroundTransparency = 1 | |
3684 | ImageButton44.ZIndex = 4 | |
3685 | ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848" | |
3686 | Frame45.Name = "Selection" | |
3687 | Frame45.Parent = ImageButton44 | |
3688 | Frame45.Transparency = 1 | |
3689 | Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3690 | Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3691 | Frame45.BackgroundColor3 = Color3.new(1, 1, 1) | |
3692 | Frame45.BackgroundTransparency = 1 | |
3693 | Frame45.BorderSizePixel = 0 | |
3694 | Frame45.ZIndex = 3 | |
3695 | NumberValue46.Name = "num" | |
3696 | NumberValue46.Parent = ImageButton44 | |
3697 | NumberValue46.Value = 15 | |
3698 | ImageButton47.Name = "Blue Plastic" | |
3699 | ImageButton47.Parent = ImageLabel1 | |
3700 | ImageButton47.Transparency = 1 | |
3701 | ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3702 | ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0) | |
3703 | ImageButton47.BackgroundTransparency = 1 | |
3704 | ImageButton47.ZIndex = 4 | |
3705 | ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924" | |
3706 | Frame48.Name = "Selection" | |
3707 | Frame48.Parent = ImageButton47 | |
3708 | Frame48.Transparency = 1 | |
3709 | Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3710 | Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3711 | Frame48.BackgroundColor3 = Color3.new(1, 1, 1) | |
3712 | Frame48.BackgroundTransparency = 1 | |
3713 | Frame48.BorderSizePixel = 0 | |
3714 | Frame48.ZIndex = 3 | |
3715 | NumberValue49.Name = "num" | |
3716 | NumberValue49.Parent = ImageButton47 | |
3717 | NumberValue49.Value = 16 | |
3718 | ImageButton50.Name = "Water" | |
3719 | ImageButton50.Parent = ImageLabel1 | |
3720 | ImageButton50.Transparency = 1 | |
3721 | ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3722 | ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0) | |
3723 | ImageButton50.BackgroundTransparency = 1 | |
3724 | ImageButton50.ZIndex = 4 | |
3725 | ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697" | |
3726 | Frame51.Name = "Selection" | |
3727 | Frame51.Parent = ImageButton50 | |
3728 | Frame51.Transparency = 1 | |
3729 | Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3730 | Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3731 | Frame51.BackgroundColor3 = Color3.new(1, 1, 1) | |
3732 | Frame51.BackgroundTransparency = 1 | |
3733 | Frame51.BorderSizePixel = 0 | |
3734 | Frame51.ZIndex = 3 | |
3735 | NumberValue52.Name = "num" | |
3736 | NumberValue52.Parent = ImageButton50 | |
3737 | NumberValue52.Value = 17 | |
3738 | ImageButton53.Name = "Dig" | |
3739 | ImageButton53.Parent = ImageLabel1 | |
3740 | ImageButton53.Transparency = 1 | |
3741 | ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3742 | ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0) | |
3743 | ImageButton53.BackgroundTransparency = 1 | |
3744 | ImageButton53.ZIndex = 4 | |
3745 | ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201" | |
3746 | Frame54.Name = "Selection" | |
3747 | Frame54.Parent = ImageButton53 | |
3748 | Frame54.Transparency = 1 | |
3749 | Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3750 | Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3751 | Frame54.BackgroundColor3 = Color3.new(1, 1, 1) | |
3752 | Frame54.BackgroundTransparency = 1 | |
3753 | Frame54.BorderSizePixel = 0 | |
3754 | Frame54.ZIndex = 3 | |
3755 | for i,v in pairs(mas:GetChildren()) do | |
3756 | v.Parent = gPlayers.LocalPlayer.PlayerGui | |
3757 | pcall(function() v:MakeJoints() end) | |
3758 | end | |
3759 | mas:Destroy() | |
3760 | for i,v in pairs(cors) do | |
3761 | spawn(function() | |
3762 | pcall(v) | |
3763 | end) | |
3764 | end | |
3765 | wait(0.01) | |
3766 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
3767 | material = 1 | |
3768 | local Terrain = workspace.Terrain | |
3769 | local CC = workspace.CurrentCamera | |
3770 | ||
3771 | local SelB = Instance.new("SelectionBox") | |
3772 | SelB.Color = BrickColor.new("Bright green") | |
3773 | ||
3774 | local SelP = Instance.new("Part") | |
3775 | SelP.Anchored = true | |
3776 | SelP.formFactor = Enum.FormFactor.Custom | |
3777 | ||
3778 | HopperBin0.Selected:connect(function(M) | |
3779 | SelB.Parent = gPlayers.LocalPlayer.PlayerGui | |
3780 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true | |
3781 | SelB.Adornee = nil | |
3782 | ||
3783 | local ClickState = "None" | |
3784 | ||
3785 | local ClickType = 1 | |
3786 | ||
3787 | local TerrainClick = 1 | |
3788 | ||
3789 | local P1 = nil | |
3790 | ||
3791 | M.KeyDown:connect(function(K) | |
3792 | if K == "q" then | |
3793 | ClickType = 1 | |
3794 | elseif K == "e" then | |
3795 | ClickType = 2 | |
3796 | elseif K == "z" then | |
3797 | TerrainClick = 0 | |
3798 | elseif K == "x" then | |
3799 | TerrainClick = 1 | |
3800 | elseif K == "c" then | |
3801 | TerrainClick = 2 | |
3802 | elseif K == "v" then | |
3803 | TerrainClick = 3 | |
3804 | elseif K == "b" then | |
3805 | TerrainClick = 4 | |
3806 | end | |
3807 | end) | |
3808 | ||
3809 | M.Button1Down:connect(function() | |
3810 | if not M.Target then return end | |
3811 | local Hit = M.Hit | |
3812 | local cellPos | |
3813 | if ClickType == 1 then | |
3814 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3815 | else | |
3816 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3817 | end | |
3818 | if ClickState == "None" then | |
3819 | ClickState = "Click1" | |
3820 | P1 = cellPos | |
3821 | end | |
3822 | end) | |
3823 | M.Button1Up:connect(function() | |
3824 | if not M.Target then return end | |
3825 | local Hit = M.Hit | |
3826 | local cellPos | |
3827 | if ClickType == 1 then | |
3828 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3829 | else | |
3830 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3831 | end | |
3832 | if ClickState == "Click1" then | |
3833 | ClickState = "None" | |
3834 | local MinX = math.min(P1.x,cellPos.x) | |
3835 | local MaxX = math.max(P1.x,cellPos.x) | |
3836 | local MinY = math.min(P1.y,cellPos.y) | |
3837 | local MaxY = math.max(P1.y,cellPos.y) | |
3838 | local MinZ = math.min(P1.z,cellPos.z) | |
3839 | local MaxZ = math.max(P1.z,cellPos.z) | |
3840 | for y=MinY,MaxY do | |
3841 | for x=MinX,MaxX do | |
3842 | for z=MinZ,MaxZ do | |
3843 | Terrain:SetCell(x, y, z, material, 0, 0) | |
3844 | end | |
3845 | end | |
3846 | wait() | |
3847 | end | |
3848 | SelB.Adornee = nil | |
3849 | end | |
3850 | end) | |
3851 | M.Move:connect(function() | |
3852 | if not M.Target then return end | |
3853 | local Hit = M.Hit | |
3854 | local cellPos | |
3855 | if ClickType == 1 then | |
3856 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3857 | else | |
3858 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3859 | end | |
3860 | if ClickState == "Click1" then | |
3861 | SelB.Adornee = SelP | |
3862 | local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z) | |
3863 | local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z) | |
3864 | local Size = W1-W2 | |
3865 | Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4) | |
3866 | local Pos = (W1+W2)/2 | |
3867 | SelP.Size = Size | |
3868 | SelP.CFrame = CFrame.new(Pos) | |
3869 | end | |
3870 | end) | |
3871 | end) | |
3872 | ||
3873 | HopperBin0.Deselected:connect(function() | |
3874 | SelB.Parent = nil | |
3875 | SelB.Adornee = nil | |
3876 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
3877 | end) | |
3878 | ||
3879 | game:GetService('RunService').Stepped:connect(function() | |
3880 | if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then | |
3881 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
3882 | if child:FindFirstChild("num") and material ~= child.num.Value then | |
3883 | child.Selection.BackgroundTransparency = 1 | |
3884 | end | |
3885 | end | |
3886 | end | |
3887 | end) | |
3888 | ||
3889 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
3890 | local enterCon = child.MouseButton1Click:connect(function() | |
3891 | if child.ClassName == "ImageButton" and child:FindFirstChild("num") then | |
3892 | material = child.num.Value | |
3893 | if child:FindFirstChild("Selection") then | |
3894 | child.Selection.BackgroundTransparency = 0 | |
3895 | end | |
3896 | end | |
3897 | end) | |
3898 | end | |
3899 | ||
3900 | local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function() | |
3901 | workspace.Terrain:Clear() | |
3902 | end) | |
3903 | ||
3904 | function sandbox(var,func) | |
3905 | local env = getfenv(func) | |
3906 | local newenv = setmetatable({},{ | |
3907 | __index = function(self,k) | |
3908 | if k=="script" then | |
3909 | return var | |
3910 | else | |
3911 | return env[k] | |
3912 | end | |
3913 | end, | |
3914 | }) | |
3915 | setfenv(func,newenv) | |
3916 | return func | |
3917 | end | |
3918 | cors = {} | |
3919 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3920 | HopperBin0 = Instance.new("HopperBin") | |
3921 | HopperBin0.Name = "Terrain Delete" | |
3922 | HopperBin0.Parent = mas | |
3923 | for i,v in pairs(mas:GetChildren()) do | |
3924 | v.Parent = game:GetService("Players").LocalPlayer.Backpack | |
3925 | pcall(function() v:MakeJoints() end) | |
3926 | end | |
3927 | mas:Destroy() | |
3928 | for i,v in pairs(cors) do | |
3929 | spawn(function() | |
3930 | pcall(v) | |
3931 | end) | |
3932 | end | |
3933 | ||
3934 | function onClick(mouse) | |
3935 | p = gPlayers.LocalPlayer | |
3936 | if (p == nil) then return end | |
3937 | if (p.Character == nil) then return end | |
3938 | ||
3939 | if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end | |
3940 | ||
3941 | c = workspace.Terrain | |
3942 | ||
3943 | local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z)) | |
3944 | local x = cellPos.x | |
3945 | local y = cellPos.y | |
3946 | local z = cellPos.z | |
3947 | ||
3948 | c:SetCell(x, y, z, 0, 0, 0) | |
3949 | ||
3950 | end | |
3951 | ||
3952 | ||
3953 | function onSelect(mouse) | |
3954 | mouse.Button1Down:connect(function () onClick(mouse) end) | |
3955 | end | |
3956 | ||
3957 | ||
3958 | ||
3959 | HopperBin0.Selected:connect(onSelect) | |
3960 | end | |
3961 | end) | |
3962 | ||
3963 | addcmd('knife', 'tm knife',{}, | |
3964 | function(args, speaker) | |
3965 | if speaker.userId ~= LP.userId then | |
3966 | lponly(speaker) else | |
3967 | if not game.CoreGui:FindFirstChild('CorePart') then | |
3968 | local data = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01318477872") | |
3969 | local script = data.LocalScript | |
3970 | ||
3971 | local player = gPlayers.LocalPlayer | |
3972 | ||
3973 | if not player:FindFirstChild("TMDATA") then | |
3974 | script.Parent.TMDATA:Clone().Parent = player | |
3975 | end | |
3976 | if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then | |
3977 | script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage | |
3978 | end | |
3979 | ||
3980 | if game.CoreGui:FindFirstChild("CorePart") then | |
3981 | game.CoreGui.CorePart:Destroy() | |
3982 | end | |
3983 | ||
3984 | ||
3985 | if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end | |
3986 | local knife = script.Parent["Knife"]:Clone() | |
3987 | local gun = script.Parent["Gun"]:Clone() | |
3988 | local fastgun = script.Parent["Fast Gun"]:Clone() | |
3989 | local lasergun = script.Parent["Laser Gun"]:Clone() | |
3990 | script.Parent.CorePart:Clone().Parent = game.CoreGui | |
3991 | ||
3992 | local newKnife = knife:Clone() | |
3993 | newKnife.Parent = player.Backpack | |
3994 | _G.tool = newKnife | |
3995 | ||
3996 | local barActive = false | |
3997 | local activeOptions = {} | |
3998 | ||
3999 | function createDDown(callback,but,...) | |
4000 | if barActive then | |
4001 | for i,v in pairs(activeOptions) do | |
4002 | v:Destroy() | |
4003 | end | |
4004 | activeOptions = {} | |
4005 | barActive = false | |
4006 | return | |
4007 | else | |
4008 | barActive = true | |
4009 | end | |
4010 | local slots = {...} | |
4011 | local base = but | |
4012 | for i,v in pairs(slots) do | |
4013 | local newOption = base:Clone() | |
4014 | newOption.ZIndex = 5 | |
4015 | newOption.Name = "Option "..tostring(i) | |
4016 | newOption.Parent = base.Parent | |
4017 | table.insert(activeOptions,newOption) | |
4018 | newOption.Position = UDim2.new(but.Position.X.Scale, but.Position.X.Offset, but.Position.Y.Scale, but.Position.Y.Offset + (#activeOptions * but.Size.Y.Offset)) | |
4019 | newOption.Text = slots[i] | |
4020 | newOption.MouseButton1Down:connect(function() | |
4021 | but.Text = slots[i] | |
4022 | callback(slots[i]) | |
4023 | for i,v in pairs(activeOptions) do | |
4024 | v:Destroy() | |
4025 | end | |
4026 | activeOptions = {} | |
4027 | barActive = false | |
4028 | end) | |
4029 | end | |
4030 | end | |
4031 | ||
4032 | local butA = game.CoreGui.CorePart.Frame.ability | |
4033 | butA.MouseButton1Down:connect(function() | |
4034 | createDDown(function(sel) | |
4035 | gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat! | |
4036 | end,butA,"Normal","Laser Knife","Boom Blade","MLG Money","Midas Touch","HOT! Knife","Ghost Knife","Tesla Knife","Quickscoper","Rainbow Laser","Spider Knife","Warp Knife","Brainwasher", "Bolting Knife") | |
4037 | end) | |
4038 | ||
4039 | local butG = game.CoreGui.CorePart.Frame.gamemode | |
4040 | butG.MouseButton1Down:connect(function() | |
4041 | createDDown(function(sel) | |
4042 | game.ReplicatedStorage.GameInProgress.Mode.Value = sel | |
4043 | end,butG,"Classic","Cold Killer") | |
4044 | end) | |
4045 | ||
4046 | local butM = game.CoreGui.CorePart.Frame.mode | |
4047 | butM.MouseButton1Down:connect(function() | |
4048 | createDDown(function(sel) | |
4049 | _G.knifemode = sel | |
4050 | end,butM,"PlayersOnly","Players+Npcs") | |
4051 | end) | |
4052 | ||
4053 | _G.Scripters = {} | |
4054 | ||
4055 | function _G.loadScripts(obj,runall) | |
4056 | for i,v in pairs(obj:GetDescendants()) do | |
4057 | if v:IsA("LocalScript") and (not v.Disabled or runall) then | |
4058 | table.insert(_G.Scripters,v) | |
4059 | local i = #_G.Scripters | |
4060 | local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source) | |
4061 | spawn(loadfunc) | |
4062 | print("LOADED",v:GetFullName()) | |
4063 | end | |
4064 | end | |
4065 | end | |
4066 | ||
4067 | player.CharacterAdded:Connect(function() | |
4068 | newKnife = knife:Clone() | |
4069 | newKnife.Parent = player.Backpack | |
4070 | _G.loadScripts(newKnife) | |
4071 | end) | |
4072 | ||
4073 | _G.knifemode = "PlayersOnly" | |
4074 | _G.loadScripts(newKnife) | |
4075 | --_G.loadScripts(gun) | |
4076 | --_G.loadScripts(fastgun) | |
4077 | --_G.loadScripts(lasergun) | |
4078 | end | |
4079 | end | |
4080 | end) | |
4081 | ||
4082 | addcmd('devuzi', 'op af',{'uzi'}, | |
4083 | function(args, speaker) | |
4084 | if speaker.userId ~= LP.userId then | |
4085 | lponly(speaker) | |
4086 | else | |
4087 | wait(0.25); | |
4088 | ||
4089 | ||
4090 | _clear=function() | |
4091 | local c={char;bag;gui;}; | |
4092 | for i=1,#c do | |
4093 | local c=c[i]:children(); | |
4094 | for i=1,#c do | |
4095 | if(c[i].Name==name)then | |
4096 | c[i].Parent=nil; | |
4097 | end; | |
4098 | end; | |
4099 | end; | |
4100 | local n=name..user.Name; | |
4101 | local c=workspace:children(); | |
4102 | for i=1,#c do | |
4103 | if(c[i].Name==n)then | |
4104 | c[i].Parent=nil; | |
4105 | end; | |
4106 | end; | |
4107 | end; | |
4108 | ||
4109 | _valid_key=function(object,key) | |
4110 | return object[key],key; | |
4111 | end; | |
4112 | ||
4113 | _new=function(class) | |
4114 | return function(props) | |
4115 | if(type(list_base_props)=='table')then | |
4116 | for i,v in next,list_base_props do | |
4117 | if(props[i]==nil)then | |
4118 | props[i]=v; | |
4119 | end; | |
4120 | end; | |
4121 | end; | |
4122 | ||
4123 | local object=class; | |
4124 | ||
4125 | if(type(class)=='string')then | |
4126 | object=Instance.new(class:sub(1,1):upper()..class:sub(2)); | |
4127 | end; | |
4128 | ||
4129 | local parent=props[1]; | |
4130 | props[1]=nil; | |
4131 | ||
4132 | for i,v in next,props do | |
4133 | local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2)); | |
4134 | if(not load)then | |
4135 | load,res,key=pcall(_valid_key,object,i); | |
4136 | end; | |
4137 | ||
4138 | if(key)then | |
4139 | t=type(res); | |
4140 | s=tostring(res); | |
4141 | if(t=='userdata'and s=='Signal '..key)then | |
4142 | if(type(v)=='table')then | |
4143 | for i=1,#v do | |
4144 | res:connect(v[i]); | |
4145 | end; | |
4146 | else | |
4147 | res:connect(v); | |
4148 | end; | |
4149 | else | |
4150 | object[key]=v; | |
4151 | end; | |
4152 | end; | |
4153 | end; | |
4154 | ||
4155 | if(parent)then | |
4156 | object.Parent=parent; | |
4157 | end; | |
4158 | ||
4159 | return object; | |
4160 | end; | |
4161 | end; | |
4162 | ||
4163 | _RGB=function(r,g,b) | |
4164 | return Color3.new(r/255,g/255,b/255); | |
4165 | end; | |
4166 | ||
4167 | _copy=function(o) | |
4168 | local def=o.archivable; | |
4169 | o.archivable=true; | |
4170 | local c=o:clone(); | |
4171 | o.archivable=def; | |
4172 | return c; | |
4173 | end; | |
4174 | ||
4175 | _hum=function(char) | |
4176 | local hum=char:findFirstChild'Humanoid'; | |
4177 | if(not hum or hum.className~='Humanoid')then | |
4178 | local c=char:children(); | |
4179 | for i=1,#c do | |
4180 | if(c[i].className=='Humanoid')then | |
4181 | return c[i]; | |
4182 | end; | |
4183 | end; | |
4184 | else | |
4185 | return hum; | |
4186 | end; | |
4187 | end; | |
4188 | ||
4189 | _hum_tag=function(hum) | |
4190 | local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum); | |
4191 | c.Name='creator'; | |
4192 | c.Value=user; | |
4193 | if(hum.Health==0 and not hum:findFirstChild'killed')then | |
4194 | Instance.new('BoolValue',hum).Name='killed'; | |
4195 | bullets.clip=bullets.clip+10; | |
4196 | end; | |
4197 | end; | |
4198 | ||
4199 | _hum_dam=function(hum,dam,percent) | |
4200 | hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam); | |
4201 | if(hum.Health<=hum.MaxHealth*0.1)then | |
4202 | _hum_tag(hum); | |
4203 | end; | |
4204 | end; | |
4205 | ||
4206 | _ray=function(v0,v1,i) | |
4207 | local mag=(v0-v1).magnitude; | |
4208 | local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag)); | |
4209 | ||
4210 | return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i); | |
4211 | end; | |
4212 | ||
4213 | _must=function(v0,v1,i) | |
4214 | local hit,pos=_ray(v0,v1,i); | |
4215 | return not hit and mouse.target or hit,pos; | |
4216 | end; | |
4217 | ||
4218 | _cframe=function(x,y,z,r0,r1,r2) | |
4219 | return CFrame.Angles( | |
4220 | math.rad(r0 or 0), | |
4221 | math.rad(r1 or 0), | |
4222 | math.rad(r2 or 0) | |
4223 | )*CFrame.new(x,y,z); | |
4224 | end; | |
4225 | ||
4226 | _update=function() | |
4227 | if(bool_active and not screen.Parent)then | |
4228 | screen.Parent=gui; | |
4229 | elseif(not bool_active and screen.Parent)then | |
4230 | screen.Parent=nil; | |
4231 | end; | |
4232 | end; | |
4233 | ||
4234 | _light=function(v0,v1) | |
4235 | local mag=(v0-v1).magnitude; | |
4236 | local len=math.random(2,7); | |
4237 | len=len>mag/2 and mag/2 or len; | |
4238 | ||
4239 | --local light=_new'part'{ | |
4240 | -- cFrame=CFrame.new(v0,v1); | |
4241 | -- size=Vector3.new(1,1,1); | |
4242 | -- color=_RGB(255,255,0); | |
4243 | -- anchored=true; | |
4244 | -- inv; | |
4245 | --}; | |
4246 | _new'blockMesh'{ | |
4247 | scale=Vector3.new(0.2,0.2,len); | |
4248 | offset=Vector3.new(0,0,-len/2); | |
4249 | light; | |
4250 | }; | |
4251 | ||
4252 | local bb=_new'billboardGui'{ | |
4253 | size=UDim2.new(2,0,2,0); | |
4254 | adornee=light; | |
4255 | light; | |
4256 | }; | |
4257 | _new'imageLabel'{ | |
4258 | image=url:format(109101526); | |
4259 | backgroundTransparency=1; | |
4260 | size=UDim2.new(1,0,1,0); | |
4261 | bb; | |
4262 | }; | |
4263 | ||
4264 | -- _rem(light,0.15); | |
4265 | end; | |
4266 | ||
4267 | _rem=function(object,del) | |
4268 | if(del)then | |
4269 | delay(del,function() | |
4270 | if(object.Parent)then | |
4271 | object.Parent=nil; | |
4272 | end; | |
4273 | end); | |
4274 | else | |
4275 | pcall(function() | |
4276 | if(object.Parent)then | |
4277 | object.Parent=nil; | |
4278 | end; | |
4279 | end); | |
4280 | end; | |
4281 | end; | |
4282 | ||
4283 | _blood=function(pos,count) | |
4284 | for i=1,count do | |
4285 | local p=_new'part'{ | |
4286 | rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
4287 | position=pos+Vector3.new(math.random(),math.random(),math.random()); | |
4288 | velocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
4289 | size=Vector3.new(math.random(),math.random(),math.random())/3; | |
4290 | color=_RGB(255,0,0); | |
4291 | transparency=0.5; | |
4292 | canCollide=true; | |
4293 | bottomSurface=0; | |
4294 | topSurface=0; | |
4295 | formFactor=3; | |
4296 | locked=true; | |
4297 | inv; | |
4298 | }; | |
4299 | delay(5,function() | |
4300 | p.Parent=nil; | |
4301 | end); | |
4302 | end; | |
4303 | end; | |
4304 | ||
4305 | _make_hue=function() | |
4306 | h_hue=_new'part'{ | |
4307 | size=Vector3.new(0.25,1.8,0.35); | |
4308 | color=_RGB(100,100,100); | |
4309 | formFactor=3; | |
4310 | name='hue'; | |
4311 | handle; | |
4312 | }; | |
4313 | hh_weld=_new'weld'{ | |
4314 | c1=_cframe(0,0.5,0); | |
4315 | part0=handle; | |
4316 | part1=h_hue; | |
4317 | handle; | |
4318 | }; | |
4319 | end; | |
4320 | ||
4321 | _shot=function(v0,v1) | |
4322 | if(not time_left)then | |
4323 | time_left=0; | |
4324 | end; | |
4325 | if(time_left>time())then | |
4326 | return nil; | |
4327 | else | |
4328 | time_left=time()+math.random(1,10)/100; | |
4329 | end; | |
4330 | ||
4331 | if(bullets.current<1)then | |
4332 | local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{ | |
4333 | soundId='rbxasset://sounds/SWITCH3.wav'; | |
4334 | name='tick_sound'; | |
4335 | volume=0.2; | |
4336 | pitch=2; | |
4337 | head; | |
4338 | }; | |
4339 | tick_sound:play(); | |
4340 | if(bullets.clip>0)then | |
4341 | time_left=time()+2; | |
4342 | h_hue:breakJoints(); | |
4343 | h_hue.CanCollide=true; | |
4344 | h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10; | |
4345 | _rem(h_hue,10); | |
4346 | delay(1.9,function() | |
4347 | _make_hue(); | |
4348 | local got=(bullets.clip>bullets.maximum and | |
4349 | bullets.maximum or | |
4350 | bullets.clip)-bullets.current; | |
4351 | ||
4352 | bullets.clip=bullets.clip-got; | |
4353 | bullets.current=bullets.current+got; | |
4354 | end); | |
4355 | end; | |
4356 | return nil; | |
4357 | else | |
4358 | bullets.current=bullets.current-1; | |
4359 | ||
4360 | h_weld.C1=_cframe(0,0.75,0, | |
4361 | -math.random(1000,1100)/10,180,0); | |
4362 | d_weld.C1=_cframe(0,-0.25,0.3); | |
4363 | ||
4364 | lightstuff.Visible=true; | |
4365 | delay(0.1,function() | |
4366 | lightstuff.Visible=false; | |
4367 | end); | |
4368 | ||
4369 | _rem(_new'part'{ | |
4370 | velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10; | |
4371 | cFrame=drag.CFrame*CFrame.new(-0.5,0,0); | |
4372 | size=Vector3.new(0.1,0.1,0.4); | |
4373 | color=_RGB(200,200,0); | |
4374 | material='Slate'; | |
4375 | canCollide=true; | |
4376 | formFactor=3; | |
4377 | inv; | |
4378 | },5); | |
4379 | ||
4380 | delay(0.1,function() | |
4381 | d_weld.C1=_cframe(0,-0.25,0); | |
4382 | if(bool_active)then | |
4383 | h_weld.C1=h_weld_cf_active; | |
4384 | end; | |
4385 | end) | |
4386 | end; | |
4387 | ||
4388 | local hit,pos=_must(v0,v1,char); | |
4389 | ||
4390 | shot_sound:play(); | |
4391 | ||
4392 | ||
4393 | _rem(_new'part'{ | |
4394 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
4395 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
4396 | color=_RGB(255,255,0); | |
4397 | transparency=0.6; | |
4398 | reflectance=0.5; | |
4399 | canCollide=false; | |
4400 | bottomSurface=0; | |
4401 | anchored=true; | |
4402 | formFactor=3; | |
4403 | topSurface=0; | |
4404 | inv; | |
4405 | },.15); | |
4406 | _light(v0,v1); | |
4407 | ||
4408 | if(not hit)then return nil;end; | |
4409 | ||
4410 | if(hit.Parent.className=='Hat')then | |
4411 | hit:breakJoints(); | |
4412 | hit.CanCollide=true; | |
4413 | hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50); | |
4414 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90)); | |
4415 | else | |
4416 | local hum=_hum(hit.Parent); | |
4417 | if(not hum)then | |
4418 | if(hit.Anchored==false and hit.Size.magnitude<4)then | |
4419 | hit:breakJoints(); | |
4420 | hit.CanCollide=true; | |
4421 | end; | |
4422 | else | |
4423 | _hum_dam(hum,math.random(4,6)); | |
4424 | _blood(pos,math.random(3,6)); | |
4425 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6; | |
4426 | if(hit.Name=='Head')then | |
4427 | hum.Health=0; | |
4428 | _blood(pos,math.random(3,6)); | |
4429 | delay(0.001,function() | |
4430 | _new(workspace:FindFirstChild'head_shot'or'sound'){ | |
4431 | pitch=math.random(70,100)*0.01; | |
4432 | soundId=url:format(1876552); | |
4433 | name='head_shot'; | |
4434 | workspace; | |
4435 | }:play(); | |
4436 | end); | |
4437 | _hum_tag(hum); | |
4438 | _rem(_new'part'{ | |
4439 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
4440 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
4441 | color=torso.Color; | |
4442 | transparency=0.5; | |
4443 | canCollide=false; | |
4444 | bottomSurface=0; | |
4445 | anchored=true; | |
4446 | formFactor=3; | |
4447 | topSurface=0; | |
4448 | inv; | |
4449 | },30); | |
4450 | hit.Parent=nil; | |
4451 | for b=0,1 do | |
4452 | for a=0,1 do | |
4453 | for i=0,1 do | |
4454 | _rem(_new'part'{ | |
4455 | velocity=CFrame.new(v0,pos).lookVector*20; | |
4456 | cFrame=hit.CFrame*CFrame.new(i,-b,a); | |
4457 | size=Vector3.new(0.5,0.5,0.5); | |
4458 | color=_RGB(255,255,255); | |
4459 | bottomSurface=0; | |
4460 | canCollide=true; | |
4461 | transparency=0; | |
4462 | formFactor=3; | |
4463 | topSurface=0; | |
4464 | hum; | |
4465 | },30); | |
4466 | end; | |
4467 | end; | |
4468 | end; | |
4469 | end; | |
4470 | end; | |
4471 | end; | |
4472 | end; | |
4473 | ||
4474 | ||
4475 | ||
4476 | _cf_select=function(mouse) | |
4477 | mouse.Icon=url:format(109111387);--108999296 | |
4478 | bool_active=true; | |
4479 | ||
4480 | local arm=char:findFirstChild'Right Arm'; | |
4481 | local weld=torso:findFirstChild'Right Shoulder'; | |
4482 | if(arm and weld)then | |
4483 | h_weld.Part0=arm; | |
4484 | h_weld.C1=h_weld_cf_active; | |
4485 | ||
4486 | weld.Part1=nil; | |
4487 | weld.Part0=nil; | |
4488 | ||
4489 | weld=_new(torso:findFirstChild'right_arml'or'weld'){ | |
4490 | name='right_arml'; | |
4491 | part0=torso; | |
4492 | part1=arm; | |
4493 | torso; | |
4494 | }; | |
4495 | ||
4496 | arml=(arml or 0)+1; | |
4497 | local alv=arml; | |
4498 | local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso); | |
4499 | gyro.maxTorque=Vector3.new(5e5,5e5,5e5); | |
4500 | gyro.P=30000; | |
4501 | gyro.D=1000; | |
4502 | gyro.Name='p_gyro'; | |
4503 | repeat | |
4504 | local pos=mouse.hit.p; | |
4505 | local val,valp,p0,p1,p2,hitpos,cj,c0,c1; | |
4506 | ||
4507 | val=-math.pi*0.5; | |
4508 | valp=val*-1; | |
4509 | p0=torso.CFrame; | |
4510 | p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector; | |
4511 | p1=p0+((p0.p-pos).unit*-2); | |
4512 | p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0); | |
4513 | hitpos=torso.Position; | |
4514 | cj=CFrame.new(hitpos); | |
4515 | c0=torso.CFrame:inverse()*cj; | |
4516 | c1=p2:inverse()*cj; | |
4517 | weld.C0=c0; | |
4518 | weld.C1=c1; | |
4519 | ||
4520 | gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z)); | |
4521 | ||
4522 | wait(0.001); | |
4523 | until arml~=alv; | |
4524 | gyro.Parent=nil; | |
4525 | end; | |
4526 | end; | |
4527 | ||
4528 | _cf_deselect=function() | |
4529 | bool_active=false; | |
4530 | arml=(arml or 0)+1; | |
4531 | loop_shot=(loop_shot or 0)+1; | |
4532 | ||
4533 | h_weld.Part0=torso; | |
4534 | h_weld.C1=h_weld_cf_inactive; | |
4535 | ||
4536 | local weld=torso:findFirstChild'right_arml'; | |
4537 | if(weld)then | |
4538 | weld.Part1=nil; | |
4539 | weld.Part0=nil; | |
4540 | end; | |
4541 | local arm=char:findFirstChild'Right Arm'; | |
4542 | local weld=torso:findFirstChild'Right Shoulder'; | |
4543 | if(arm and weld)then | |
4544 | weld.Part0=torso; | |
4545 | weld.Part1=arm; | |
4546 | end; | |
4547 | end; | |
4548 | ||
4549 | _cf_mouse=function(event,fun) | |
4550 | mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...) | |
4551 | if(bool_active)then | |
4552 | fun(...); | |
4553 | end; | |
4554 | end); | |
4555 | end; | |
4556 | ||
4557 | ||
4558 | do | |
4559 | local main=getfenv(0); | |
4560 | local c=game:children(); | |
4561 | local check=function(v) | |
4562 | if(v.className~=''and v.className~='Instance'and game:service(v.className))then | |
4563 | main[v.className:sub(1,1):lower()..v.className:sub(2)]=v; | |
4564 | end; | |
4565 | end; | |
4566 | for i=1,#c do | |
4567 | pcall(check,c[i]); | |
4568 | end; | |
4569 | end; | |
4570 | ||
4571 | ||
4572 | bullets={ | |
4573 | maximum=51111111111111111111111111110; | |
4574 | current=511111111111111111111111111111110; | |
4575 | clip=501111111111111111111111111111111*4; | |
4576 | }; | |
4577 | ||
4578 | list_base_props={ | |
4579 | backgroundColor3=_RGB(0,0,0); | |
4580 | textColor3=_RGB(200,200,200); | |
4581 | borderSizePixel=0; | |
4582 | color=_RGB(0,0,0); | |
4583 | archivable=false; | |
4584 | canCollide=false; | |
4585 | bottomSurface=0; | |
4586 | topSurface=0; | |
4587 | formFactor=0; | |
4588 | locked=true; | |
4589 | }; | |
4590 | ||
4591 | ||
4592 | ||
4593 | user=players.localPlayer; | |
4594 | mouse=user:getMouse(); | |
4595 | char=user.Character; | |
4596 | gui=user.PlayerGui; | |
4597 | bag=user.Backpack; | |
4598 | torso=char.Torso; | |
4599 | head=char.Head; | |
4600 | hum=_hum(char); | |
4601 | ||
4602 | url='rbxassetid://%d'; | |
4603 | name='dev-uzi'; | |
4604 | ||
4605 | h_weld_cf_inactive=_cframe(0.35,0.5,0.5, | |
4606 | 0,90,-70); | |
4607 | h_weld_cf_active=_cframe(0,0.75,0, | |
4608 | -110,180,0); | |
4609 | ||
4610 | assert(hum,'humanoid is not found'); | |
4611 | ||
4612 | ||
4613 | ||
4614 | _clear(); | |
4615 | ||
4616 | ||
4617 | _cf_mouse('button1Down',function() | |
4618 | loop_shot=(loop_shot or 0)+1; | |
4619 | local vers=loop_shot; | |
4620 | local step=runService.Stepped; | |
4621 | repeat | |
4622 | _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p); | |
4623 | step:wait();--wait(0.001); | |
4624 | until vers~=loop_shot; | |
4625 | end); | |
4626 | ||
4627 | _cf_mouse('button1Up',function() | |
4628 | loop_shot=(loop_shot or 0)+1; | |
4629 | end); | |
4630 | ||
4631 | _cf_mouse('move',function() | |
4632 | cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11); | |
4633 | end); | |
4634 | ||
4635 | _cf_mouse('keyDown',function(k) | |
4636 | if(k=='r')then | |
4637 | if(bullets.clip>0 and time_left<=time())then | |
4638 | local got=(bullets.clip>bullets.maximum and | |
4639 | bullets.maximum or | |
4640 | bullets.clip)-bullets.current; | |
4641 | ||
4642 | bullets.clip=bullets.clip-got; | |
4643 | bullets.current=bullets.current+got; | |
4644 | if(got~=0)then | |
4645 | time_left=time()+2; | |
4646 | end; | |
4647 | end; | |
4648 | end; | |
4649 | end); | |
4650 | ||
4651 | ||
4652 | screen=_new'screenGui'{ | |
4653 | name=name; | |
4654 | }; | |
4655 | ||
4656 | cross_f=_new'frame'{ | |
4657 | size=UDim2.new(0,21,0,21); | |
4658 | backgroundTransparency=1; | |
4659 | screen; | |
4660 | }; | |
4661 | ||
4662 | for i=0,1 do | |
4663 | _new'frame'{ | |
4664 | position=UDim2.new(0,13*i,0,11); | |
4665 | size=UDim2.new(0,10,0,1); | |
4666 | cross_f; | |
4667 | }; | |
4668 | end; | |
4669 | ||
4670 | for i=0,1 do | |
4671 | _new'frame'{ | |
4672 | position=UDim2.new(0,11,0,13*i); | |
4673 | size=UDim2.new(0,1,0,10); | |
4674 | cross_f; | |
4675 | }; | |
4676 | end; | |
4677 | ||
4678 | ||
4679 | ||
4680 | shot_sound=_new(head:findFirstChild'2920959'or'sound'){ | |
4681 | soundId=url:format(2920959); | |
4682 | pitch=1.4; | |
4683 | head; | |
4684 | }; | |
4685 | if(shot_sound.Name~='2920959')then | |
4686 | shot_sound.Name='2920959'; | |
4687 | shot_sound:play(); | |
4688 | end; | |
4689 | ||
4690 | bin=_new'hopperBin'{ | |
4691 | deselected=_cf_deselect; | |
4692 | selected=_cf_select; | |
4693 | name=name; | |
4694 | bag; | |
4695 | }; | |
4696 | ||
4697 | inv=_new'model'{ | |
4698 | name=name; | |
4699 | char; | |
4700 | }; | |
4701 | ||
4702 | handle=_new'part'{ | |
4703 | size=Vector3.new(0.3,1.3,0.4); | |
4704 | color=_RGB(140,140,140); | |
4705 | name='handle'; | |
4706 | formFactor=3; | |
4707 | inv; | |
4708 | touched=function(hit) | |
4709 | if(hit.Parent.className=='Model')then | |
4710 | local hum=_hum(hit.Parent); | |
4711 | if(hum~=nil)then | |
4712 | _hum_dam(hum,handle.Velocity.magnitude); | |
4713 | end; | |
4714 | end; | |
4715 | end; | |
4716 | }; | |
4717 | h_weld=_new'weld'{ | |
4718 | c1=h_weld_cf_inactive; | |
4719 | part1=handle; | |
4720 | part0=torso; | |
4721 | handle; | |
4722 | }; | |
4723 | _make_hue(); | |
4724 | ||
4725 | h_part=_new'part'{ | |
4726 | size=Vector3.new(0.4,0.4,1.4); | |
4727 | color=_RGB(140,140,140); | |
4728 | name='handle'; | |
4729 | formFactor=3; | |
4730 | handle; | |
4731 | }; | |
4732 | hp_weld=_new'weld'{ | |
4733 | c1=_cframe(0,-1.3/2,-0.3, | |
4734 | 20,0,0); | |
4735 | part0=handle; | |
4736 | part1=h_part; | |
4737 | handle; | |
4738 | }; | |
4739 | ||
4740 | drag=_new'part'{ | |
4741 | size=Vector3.new(0.5,0.45,1.5); | |
4742 | color=_RGB(100,100,100); | |
4743 | name='handle'; | |
4744 | formFactor=3; | |
4745 | handle; | |
4746 | }; | |
4747 | d_weld=_new'weld'{ | |
4748 | c1=_cframe(0,-0.25,0); | |
4749 | part0=h_part; | |
4750 | part1=drag; | |
4751 | handle; | |
4752 | }; | |
4753 | ||
4754 | tube=_new'part'{ | |
4755 | size=Vector3.new(0.2,0.2,1.5); | |
4756 | color=_RGB(0,0,0); | |
4757 | name='handle'; | |
4758 | formFactor=3; | |
4759 | handle; | |
4760 | }; | |
4761 | t_weld=_new'weld'{ | |
4762 | c1=_cframe(0,-0.3,-0.1); | |
4763 | part0=h_part; | |
4764 | part1=tube; | |
4765 | handle; | |
4766 | }; | |
4767 | ||
4768 | bullets_label=_new'textLabel'{ | |
4769 | textStrokeColor3=_RGB(0,0,0); | |
4770 | textColor3=_RGB(200,200,200); | |
4771 | textStrokeTransparency=0; | |
4772 | backgroundTransparency=1; | |
4773 | fontSize=5; | |
4774 | screen; | |
4775 | }; | |
4776 | ||
4777 | lightstuff=_new'frame'{ | |
4778 | backgroundColor3=_RGB(255,255,255); | |
4779 | position=UDim2.new(0,0,0,-1); | |
4780 | backgroundTransparency=0.5; | |
4781 | size=UDim2.new(1,0,1,1); | |
4782 | borderSizePixel=0; | |
4783 | visible=false; | |
4784 | screen; | |
4785 | }; | |
4786 | ||
4787 | coroutine.wrap(function() | |
4788 | local red,white,green; | |
4789 | repeat | |
4790 | if(screen.Parent)then | |
4791 | if(not green and bullets.current==bullets.maximum)then | |
4792 | green=true; | |
4793 | bullets_label.TextColor3=_RGB(0,200,0); | |
4794 | elseif(not red and bullets.current==0)then | |
4795 | red=true; | |
4796 | bullets_label.TextColor3=_RGB(200,0,0); | |
4797 | elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then | |
4798 | bullets_label.TextColor3=_RGB(200,200,200); | |
4799 | green=false; | |
4800 | red=false; | |
4801 | end; | |
4802 | bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip); | |
4803 | bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y); | |
4804 | bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6); | |
4805 | end; | |
4806 | wait(0.001); | |
4807 | until nil; | |
4808 | end)(); | |
4809 | ||
4810 | ||
4811 | _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1; | |
4812 | local vers=_G.dev_pistol_version; | |
4813 | repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0; | |
4814 | if(hum.Health==0)then | |
4815 | _clear(); | |
4816 | end; | |
4817 | end | |
4818 | end) | |
4819 | ||
4820 | addcmd('nil', 'removes the player',{}, | |
4821 | function(args, speaker) | |
4822 | local players = getPlayer(args[1], speaker) | |
4823 | for i,v in pairs(players)do | |
4824 | pcall(function() gPlayers[v].Character:Remove() end) | |
4825 | gPlayers[v].Character = nil | |
4826 | if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else | |
4827 | Notify('Made player(s) nil') end end end) | |
4828 | ||
4829 | ||
4830 | addcmd('addban', 'Adds a ban to the banlist if the player is offline.', {}, | |
4831 | function(args, speaker) | |
4832 | local player = args[1] | |
4833 | local playerid = game:GetService("Players"):GetUserIdFromNameAsync(args[1]) | |
4834 | if player ~= nil then | |
4835 | if FindTable(WL, player) then Notify('Error: '..player..' is whitelisted') elseif not FindTable(banname, player) then | |
4836 | table.insert(banT, playerid) | |
4837 | banname[#banname + 1] = {NAME = tostring(player), ID = tonumber(playerid), AGE = "-"} | |
4838 | updatebans() | |
4839 | Notify("Added ban for: "..player) | |
4840 | end | |
4841 | end | |
4842 | end) | |
4843 | ||
4844 | addcmd('ban', 'goodbye ;)',{}, | |
4845 | function(args, speaker) | |
4846 | local players = getPlayer(args[1], speaker) | |
4847 | for i,v in pairs(players)do | |
4848 | if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else | |
4849 | Notify('Banned player(s)') end | |
4850 | spawn(function() | |
4851 | if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else | |
4852 | if not FindTable(banname, gPlayers[v].Name) then | |
4853 | table.insert(banT, _players[v].userId) | |
4854 | banname[#banname + 1] = {NAME = tostring(gPlayers[v].Name), ID = tonumber(gPlayers[v].userId), AGE = tonumber(gPlayers[v].AccountAge)} | |
4855 | updatebans() | |
4856 | kickF(gPlayers[v]) | |
4857 | end | |
4858 | end | |
4859 | end) | |
4860 | end | |
4861 | end) | |
4862 | ||
4863 | addcmd('clearbans', 'welcome back!',{'clrbans'}, | |
4864 | function(args, speaker) | |
4865 | banT = {} | |
4866 | banname = {} | |
4867 | Notify('Removed all bans') | |
4868 | updatebans() | |
4869 | end) | |
4870 | ||
4871 | addcmd('unban','unbans a player',{}, | |
4872 | function(args, speaker) | |
4873 | if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then | |
4874 | table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1]))) | |
4875 | for i,v in pairs(banname) do | |
4876 | if v.NAME == tostring(args[1]) then | |
4877 | table.remove(banname, i) | |
4878 | updatebans() | |
4879 | end end | |
4880 | Notify('Unbanned ' .. args[1]) | |
4881 | end | |
4882 | end) | |
4883 | ||
4884 | addcmd('dismiss', 'dismiss',{'verify'}, | |
4885 | function(args, speaker) | |
4886 | for _, child in pairs( workspace:GetChildren()) do | |
4887 | if child.Name == speaker.Name .. "TAB" then | |
4888 | child:Destroy() end end | |
4889 | for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end | |
4890 | end) | |
4891 | ||
4892 | addcmd('admin', 'ur an admin now ;o',{}, | |
4893 | function(args, speaker) | |
4894 | if speaker.userId ~= LP.userId then | |
4895 | lponly(speaker) else | |
4896 | local players = getPlayer(args[1], speaker) | |
4897 | for i,v in pairs(players)do | |
4898 | spawn(function() | |
4899 | if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then | |
4900 | table.insert(adminT, _players[v].userId) | |
4901 | adminname[#adminname + 1] = {NAME = tostring(gPlayers[v].Name)} | |
4902 | updateadmins() | |
4903 | if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else | |
4904 | Notify('Gave player(s) admin') end | |
4905 | game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1) | |
4906 | end end) end end end) | |
4907 | ||
4908 | addcmd('unadmin', 'removes the admin',{'noadmin'}, | |
4909 | function(args, speaker) | |
4910 | if speaker.userId ~= LP.userId then | |
4911 | lponly(speaker) else | |
4912 | local players = getPlayer(args[1], speaker) | |
4913 | for i,v in pairs(players)do | |
4914 | local radmin = tostring(_players[v].Name) | |
4915 | if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then | |
4916 | table.remove(adminT, GetInTable(adminT, _players[v].userId)) | |
4917 | for a,b in pairs(adminname) do | |
4918 | if b.NAME == radmin then | |
4919 | table.remove(adminname, a) | |
4920 | updateadmins() | |
4921 | end end | |
4922 | game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2) | |
4923 | if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else | |
4924 | Notify('Removed admin from player(s)') end | |
4925 | end | |
4926 | end | |
4927 | end | |
4928 | end) | |
4929 | ||
4930 | addcmd('bang', 'owo',{'rape'}, | |
4931 | function(args, speaker) | |
4932 | local players = getPlayer(args[1], speaker) | |
4933 | local target = getPlayer(args[2], speaker)[1] | |
4934 | for i,v in pairs(players)do | |
4935 | if args[2] then | |
4936 | rape(target, v) | |
4937 | else | |
4938 | rape(v, speaker.Name) | |
4939 | end | |
4940 | end | |
4941 | end) | |
4942 | ||
4943 | addcmd('bgui', 'gives player billboard gui presenting text',{}, | |
4944 | function(args, speaker) | |
4945 | local players = getPlayer(args[1], speaker) | |
4946 | for i,v in pairs(players)do | |
4947 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
4948 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy() | |
4949 | end | |
4950 | ||
4951 | y = Instance.new("BillboardGui") | |
4952 | y.Size = UDim2.new(0,100,0,150) | |
4953 | y.StudsOffset = Vector3.new(0,1,0) | |
4954 | y.Parent = gPlayers[v].Character.Head | |
4955 | y.Adornee = gPlayers[v].Character.Head | |
4956 | f = Instance.new("TextLabel") | |
4957 | f.Parent = y | |
4958 | f.BackgroundTransparency = 1 | |
4959 | f.Position = UDim2.new(0,0,0,-50) | |
4960 | f.Size = UDim2.new(0,100,0,100) | |
4961 | f.Font = "Highway" | |
4962 | f.FontSize = "Size48" | |
4963 | f.Text = GLS(false, 1) | |
4964 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
4965 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
4966 | f.TextStrokeTransparency = 0 | |
4967 | f.TextYAlignment = "Bottom" | |
4968 | end | |
4969 | end) | |
4970 | ||
4971 | addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'}, | |
4972 | function(args, speaker) | |
4973 | local players = getPlayer(args[1], speaker) | |
4974 | for i,v in pairs(players)do | |
4975 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
4976 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy() | |
4977 | end | |
4978 | end | |
4979 | end) | |
4980 | ||
4981 | function pipeTp(name,target) | |
4982 | spawn(function() | |
4983 | local pipe = Instance.new("Part") | |
4984 | pipe.Name = "Pipe" | |
4985 | pipe.Color = Color3.new(52/255,142/255,64/255) | |
4986 | pipe.Size = Vector3.new(8,8,8) | |
4987 | pipe.Anchored = true | |
4988 | local mesh = Instance.new("SpecialMesh",pipe) | |
4989 | mesh.MeshId = "rbxassetid://856736661" | |
4990 | mesh.Scale = Vector3.new(0.15, 0.15, 0.15) | |
4991 | local sound = Instance.new("Sound",pipe) | |
4992 | sound.SoundId = "rbxassetid://864352897" | |
4993 | sound.Volume = 1 | |
4994 | ||
4995 | local targetpos = game:GetService("Players")[target].Character.HumanoidRootPart.CFrame | |
4996 | ||
4997 | local char = game:GetService("Players")[name].Character | |
4998 | char.PrimaryPart = char.HumanoidRootPart | |
4999 | if char:FindFirstChild("Torso") then | |
5000 | char.Torso.Anchored = true | |
5001 | else | |
5002 | char.UpperTorso.Anchored = true | |
5003 | end | |
5004 | ||
5005 | local torso = char.HumanoidRootPart | |
5006 | local initPos = torso.CFrame | |
5007 | ||
5008 | pipe.Parent = workspace | |
5009 | pipe.CFrame = initPos - Vector3.new(0,8,0) | |
5010 | ||
5011 | for i = 0,8,0.2 do | |
5012 | pipe.CFrame = initPos - Vector3.new(0,8-i,0) | |
5013 | if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end | |
5014 | game:GetService("RunService").RenderStepped:wait() | |
5015 | end | |
5016 | ||
5017 | sound:Play() | |
5018 | for i = 7,-8,-0.2 do | |
5019 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0)) | |
5020 | game:GetService("RunService").RenderStepped:wait() | |
5021 | end | |
5022 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,-8,0)) | |
5023 | ||
5024 | for i = 8,0,-0.2 do | |
5025 | pipe.CFrame = initPos - Vector3.new(0,8-i,0) | |
5026 | game:GetService("RunService").RenderStepped:wait() | |
5027 | end | |
5028 | ||
5029 | pipe.CFrame = targetpos - Vector3.new(0,8,0) | |
5030 | char:SetPrimaryPartCFrame(pipe.CFrame) | |
5031 | ||
5032 | for i = 0,8,0.2 do | |
5033 | pipe.CFrame = targetpos - Vector3.new(0,8-i,0) | |
5034 | game:GetService("RunService").RenderStepped:wait() | |
5035 | end | |
5036 | ||
5037 | local played = false | |
5038 | for i = -8,7,0.2 do | |
5039 | if i >= 0 and not played then played = true sound:Play() end | |
5040 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0)) | |
5041 | game:GetService("RunService").RenderStepped:wait() | |
5042 | end | |
5043 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) | |
5044 | ||
5045 | for i = 8,0,-0.2 do | |
5046 | pipe.CFrame = targetpos - Vector3.new(0,8-i,0) | |
5047 | if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end | |
5048 | game:GetService("RunService").RenderStepped:wait() | |
5049 | end | |
5050 | ||
5051 | pipe:Destroy() | |
5052 | ||
5053 | if char:FindFirstChild("Torso") then | |
5054 | char.Torso.Anchored = false | |
5055 | else | |
5056 | char.UpperTorso.Anchored = false | |
5057 | end | |
5058 | end) | |
5059 | end | |
5060 | ||
5061 | addcmd('pipetp', 'uses pipe to tp plr to plr',{}, | |
5062 | function(args, speaker) | |
5063 | local players = getPlayer(args[1], speaker) | |
5064 | local target = getPlayer(args[2], speaker)[1] | |
5065 | for i,v in pairs(players)do | |
5066 | pipeTp(v,target) | |
5067 | end | |
5068 | end) | |
5069 | ||
5070 | addcmd('rhats', 'no more hats',{'removehats'}, | |
5071 | function(args, speaker) | |
5072 | local players = getPlayer(args[1], speaker) | |
5073 | for i,v in pairs(players) do | |
5074 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
5075 | if v:IsA('Accessory') then | |
5076 | v:destroy() | |
5077 | end | |
5078 | end | |
5079 | end | |
5080 | end) | |
5081 | ||
5082 | addcmd('naked', 'no more clothing',{}, | |
5083 | function(args, speaker) | |
5084 | local players = getPlayer(args[1], speaker) | |
5085 | for i,v in pairs(players) do | |
5086 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
5087 | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then | |
5088 | v:destroy() | |
5089 | end | |
5090 | end | |
5091 | end | |
5092 | end) | |
5093 | ||
5094 | addcmd('rainbow', 'makes a players parts change colors',{}, | |
5095 | function(args, speaker) | |
5096 | local players = getPlayer(args[1], speaker) | |
5097 | for i,v in pairs(players) do | |
5098 | local Parts={} | |
5099 | local function GetDiscoColor(hue) | |
5100 | local section = hue % 1 * 3 | |
5101 | local secondary = 0.5 * math.pi * (section % 1) | |
5102 | if section < 1 then | |
5103 | return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary)) | |
5104 | elseif section < 2 then | |
5105 | return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary)) | |
5106 | else | |
5107 | return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1) | |
5108 | end | |
5109 | end | |
5110 | local Part = function(x,y,z,color,tr,cc,an,parent) | |
5111 | local p = Instance.new('Part',parent) | |
5112 | p.formFactor = 'Custom' | |
5113 | p.Size = Vector3.new(x,y,z) | |
5114 | p.BrickColor = BrickColor.new(color) | |
5115 | p.CanCollide = cc | |
5116 | p.Transparency = tr | |
5117 | p.Anchored = an | |
5118 | p.TopSurface,p.BottomSurface = 0,0 | |
5119 | p:BreakJoints'' | |
5120 | table.insert(Parts,p) | |
5121 | return p | |
5122 | end | |
5123 | local Weld = function(p0,p1) | |
5124 | local w = Instance.new('Motor',p0) | |
5125 | w.Part0 = p0 | |
5126 | w.Part1 = p1 | |
5127 | return w | |
5128 | end | |
5129 | local Mesh = function(par,num,x,y,z) | |
5130 | local msh = 0 | |
5131 | if num == 1 then | |
5132 | msh = Instance.new("SpecialMesh",par) | |
5133 | msh.MeshId='rbxasset://fonts/torso.mesh' | |
5134 | msh.TextureId='rbxasset://25701026' | |
5135 | end | |
5136 | if num == 2 then | |
5137 | msh = Instance.new("SpecialMesh",par) | |
5138 | msh.MeshId='rbxasset://fonts/head.mesh' | |
5139 | msh.TextureId='rbxassetid://25701026' | |
5140 | end | |
5141 | msh.Scale = Vector3.new(x,y,z) | |
5142 | return msh | |
5143 | end | |
5144 | local char=gPlayers[v].Character | |
5145 | for _,v in pairs(char:GetChildren()) do | |
5146 | if v.ClassName=="Part" then | |
5147 | v.Transparency=1 | |
5148 | elseif v.ClassName=="Hat" then | |
5149 | v.Handle.Mesh.TextureId='rbxassetid://25701026' | |
5150 | table.insert(Parts,v.Handle) | |
5151 | end | |
5152 | end | |
5153 | local t=Part(1,1,1,'',0,false,false,char) | |
5154 | Mesh(t,1,1,1,1) | |
5155 | Weld(char.Torso,t) | |
5156 | local a=Part(1,1,1,'',0,false,false,char) | |
5157 | Mesh(a,1,.5,1,1) | |
5158 | Weld(char['Right Arm'],a) | |
5159 | local a=Part(1,1,1,'',0,false,false,char) | |
5160 | Mesh(a,1,.5,1,1) | |
5161 | Weld(char['Left Arm'],a) | |
5162 | local l=Part(1,1,1,'',0,false,false,char) | |
5163 | Mesh(l,1,.5,1,1) | |
5164 | Weld(char['Right Leg'],l) | |
5165 | local l=Part(1,1,1,'',0,false,false,char) | |
5166 | Mesh(l,1,.5,1,1) | |
5167 | Weld(char['Left Leg'],l) | |
5168 | local h=Part(1,1,1,'',0,false,false,char) | |
5169 | Mesh(h,2,1,1,1) | |
5170 | Weld(char.Head,h) | |
5171 | spawn(function() | |
5172 | while(coroutine.yield())do | |
5173 | for i=1,#Parts do | |
5174 | Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5) | |
5175 | end | |
5176 | end; | |
5177 | end); | |
5178 | end | |
5179 | end) | |
5180 | ||
5181 | addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'}, | |
5182 | function(args, speaker) | |
5183 | local players = getPlayer(args[1], speaker) | |
5184 | for i,v in pairs(players) do | |
5185 | for i,v in pairs(gPlayers[v].Backpack:GetDescendants()) do | |
5186 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
5187 | v:destroy() end | |
5188 | for i,v in pairs(players) do | |
5189 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
5190 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
5191 | v:destroy() end end end | |
5192 | end | |
5193 | end | |
5194 | end) | |
5195 | ||
5196 | addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'}, | |
5197 | function(args, speaker) | |
5198 | local players = getPlayer(args[1], speaker) | |
5199 | for i,v in pairs(players)do | |
5200 | local function copy(instance) | |
5201 | for i,c in pairs(instance:GetChildren())do | |
5202 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5203 | c:Clone().Parent = gPlayers[v].StarterGear end | |
5204 | copy(c) | |
5205 | end | |
5206 | end | |
5207 | copy(gPlayers[v].Backpack) | |
5208 | end | |
5209 | for i,v in pairs(players)do | |
5210 | local function copy(instance) | |
5211 | for i,c in pairs(instance:GetChildren())do | |
5212 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5213 | c:Clone().Parent = gPlayers[v].StarterGear end | |
5214 | copy(c) | |
5215 | end | |
5216 | end | |
5217 | copy(gPlayers[v].Character) | |
5218 | end | |
5219 | Notify('Copied tools to StarterGear') | |
5220 | end) | |
5221 | ||
5222 | addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'}, | |
5223 | function(args, speaker) | |
5224 | local players = getPlayer(args[1], speaker) | |
5225 | for i,v in pairs(players)do | |
5226 | for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do | |
5227 | if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy() | |
5228 | end end end | |
5229 | Notify('Cleared tools from StarterGear') | |
5230 | end) | |
5231 | ||
5232 | addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'}, | |
5233 | function(args, speaker) | |
5234 | local players = getPlayer(args[1], speaker) | |
5235 | for i,v in pairs(players)do | |
5236 | local function copy(instance) | |
5237 | for i,c in pairs(instance:GetChildren())do | |
5238 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5239 | c:Clone().Parent = gPlayers[v].Backpack end | |
5240 | copy(c) | |
5241 | end | |
5242 | end | |
5243 | copy(LightingService) | |
5244 | end | |
5245 | for i,v in pairs(players)do | |
5246 | local function copy(instance) | |
5247 | for i,c in pairs(instance:GetChildren())do | |
5248 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5249 | c:Clone().Parent = gPlayers[v].Backpack end | |
5250 | copy(c) | |
5251 | end | |
5252 | end | |
5253 | copy(game.ReplicatedStorage) | |
5254 | end | |
5255 | end) | |
5256 | ||
5257 | wdisco = false | |
5258 | addcmd('partdisco', 'color spams the workspace',{'pdisco'}, | |
5259 | function(args, speaker) | |
5260 | if wdisco == false then | |
5261 | wdisco = true | |
5262 | presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"} | |
5263 | repeat wait(1) | |
5264 | if wdisco == true then | |
5265 | local function color(instance) | |
5266 | for i,v in pairs(instance:GetChildren())do | |
5267 | if v.className == "Part" then | |
5268 | v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end | |
5269 | color(v) | |
5270 | end | |
5271 | end | |
5272 | color(workspace) | |
5273 | end | |
5274 | until wdisco == false | |
5275 | end | |
5276 | end) | |
5277 | ||
5278 | addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'}, | |
5279 | function(args, speaker) | |
5280 | wdisco = false | |
5281 | end) | |
5282 | ||
5283 | addcmd('gravity', 'workspace gravity',{''}, | |
5284 | function(args, speaker) | |
5285 | workspace.Gravity = args[1] | |
5286 | Notify('Gravity set to ' .. args[1]) | |
5287 | end) | |
5288 | ||
5289 | SINFOGUIopen = false | |
5290 | function serverinfogui() | |
5291 | if SINFOGUIopen == false then | |
5292 | local Sinfo = Instance.new("ScreenGui") | |
5293 | local drag = Instance.new("Frame") | |
5294 | local PromptDialog = Instance.new("Frame") | |
5295 | local shadow = Instance.new("Frame") | |
5296 | local PopupText = Instance.new("TextLabel") | |
5297 | local Exit = Instance.new("TextButton") | |
5298 | local ContainerFrame = Instance.new("Frame") | |
5299 | local TextLabel = Instance.new("TextLabel") | |
5300 | local TextLabel2 = Instance.new("TextLabel") | |
5301 | local TextLabel3 = Instance.new("TextLabel") | |
5302 | local Time = Instance.new("TextLabel") | |
5303 | local appearance = Instance.new("TextLabel") | |
5304 | local fe = Instance.new("TextLabel") | |
5305 | local maxplayers = Instance.new("TextLabel") | |
5306 | local name = Instance.new("TextLabel") | |
5307 | local placeid = Instance.new("TextLabel") | |
5308 | local playerid = Instance.new("TextLabel") | |
5309 | local players = Instance.new("TextLabel") | |
5310 | Sinfo.Name = "Sinfo" | |
5311 | Sinfo.Parent = game.CoreGui | |
5312 | drag.Name = "drag" | |
5313 | drag.Parent = Sinfo | |
5314 | drag.Active = true | |
5315 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
5316 | drag.BackgroundTransparency = 1 | |
5317 | dragGUI(drag) | |
5318 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
5319 | drag.Size = UDim2.new(0, 290, 0, 30) | |
5320 | PromptDialog.Name = "PromptDialog" | |
5321 | PromptDialog.Parent = drag | |
5322 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
5323 | PromptDialog.BackgroundTransparency = 1 | |
5324 | PromptDialog.BorderSizePixel = 0 | |
5325 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
5326 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
5327 | PromptDialog.ZIndex = 8 | |
5328 | shadow.Name = "shadow" | |
5329 | shadow.Parent = PromptDialog | |
5330 | shadow.BackgroundColor3 = maincolor | |
5331 | shadow.BackgroundTransparency = 0.30000001192093 | |
5332 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
5333 | shadow.BorderSizePixel = 0 | |
5334 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
5335 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
5336 | PopupText.Name = "PopupText" | |
5337 | PopupText.Parent = shadow | |
5338 | PopupText.BackgroundTransparency = 1 | |
5339 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
5340 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
5341 | PopupText.ZIndex = 110 | |
5342 | PopupText.Font = Enum.Font.SourceSansBold | |
5343 | PopupText.FontSize = Enum.FontSize.Size28 | |
5344 | PopupText.Text = "Server" | |
5345 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
5346 | PopupText.TextStrokeTransparency = 0 | |
5347 | PopupText.TextWrapped = true | |
5348 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
5349 | Exit.Name = "Exit" | |
5350 | Exit.Parent = shadow | |
5351 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
5352 | Exit.BackgroundTransparency = 0.30000001192093 | |
5353 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
5354 | Exit.BorderSizePixel = 0 | |
5355 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
5356 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
5357 | Exit.FontSize = Enum.FontSize.Size14 | |
5358 | Exit.Text = "" | |
5359 | ContainerFrame.Name = "ContainerFrame" | |
5360 | ContainerFrame.Parent = PromptDialog | |
5361 | ContainerFrame.BackgroundColor3 = maincolor | |
5362 | ContainerFrame.BackgroundTransparency = 0.5 | |
5363 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
5364 | ContainerFrame.BorderSizePixel = 0 | |
5365 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
5366 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
5367 | ContainerFrame.ZIndex = 5 | |
5368 | TextLabel.Name = "Text Label" | |
5369 | TextLabel.Parent = ContainerFrame | |
5370 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
5371 | TextLabel.BackgroundTransparency = 1 | |
5372 | TextLabel.BorderColor3 = Color3.new(0, 0, 0) | |
5373 | TextLabel.Position = UDim2.new(0, 10, 0, 70) | |
5374 | TextLabel.Size = UDim2.new(0, 100, 0, 20) | |
5375 | TextLabel.ZIndex = 10 | |
5376 | TextLabel.Font = Enum.Font.SourceSans | |
5377 | TextLabel.FontSize = Enum.FontSize.Size24 | |
5378 | TextLabel.Text = "Run Time:" | |
5379 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
5380 | TextLabel.TextStrokeTransparency = 0 | |
5381 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
5382 | TextLabel2.Name = "Text Label2" | |
5383 | TextLabel2.Parent = ContainerFrame | |
5384 | TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
5385 | TextLabel2.BackgroundTransparency = 1 | |
5386 | TextLabel2.BorderColor3 = Color3.new(0, 0, 0) | |
5387 | TextLabel2.Position = UDim2.new(0, 10, 0, 120) | |
5388 | TextLabel2.Size = UDim2.new(0, 100, 0, 20) | |
5389 | TextLabel2.ZIndex = 10 | |
5390 | TextLabel2.Font = Enum.Font.SourceSans | |
5391 | TextLabel2.FontSize = Enum.FontSize.Size24 | |
5392 | TextLabel2.Text = "Statistics:" | |
5393 | TextLabel2.TextColor3 = Color3.new(1, 1, 1) | |
5394 | TextLabel2.TextStrokeTransparency = 0 | |
5395 | TextLabel2.TextXAlignment = Enum.TextXAlignment.Left | |
5396 | TextLabel3.Name = "Text Label3" | |
5397 | TextLabel3.Parent = ContainerFrame | |
5398 | TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) | |
5399 | TextLabel3.BackgroundTransparency = 1 | |
5400 | TextLabel3.BorderColor3 = Color3.new(0, 0, 0) | |
5401 | TextLabel3.Position = UDim2.new(0, 10, 0, 0) | |
5402 | TextLabel3.Size = UDim2.new(0, 100, 0, 20) | |
5403 | TextLabel3.ZIndex = 10 | |
5404 | TextLabel3.Font = Enum.Font.SourceSans | |
5405 | TextLabel3.FontSize = Enum.FontSize.Size24 | |
5406 | TextLabel3.Text = "Local Player:" | |
5407 | TextLabel3.TextColor3 = Color3.new(1, 1, 1) | |
5408 | TextLabel3.TextStrokeTransparency = 0 | |
5409 | TextLabel3.TextXAlignment = Enum.TextXAlignment.Left | |
5410 | Time.Name = "Time" | |
5411 | Time.Parent = ContainerFrame | |
5412 | Time.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5413 | Time.BackgroundTransparency = 1 | |
5414 | Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5415 | Time.Position = UDim2.new(0, 10, 0, 90) | |
5416 | Time.Size = UDim2.new(0, 100, 0, 20) | |
5417 | Time.ZIndex = 100 | |
5418 | Time.Font = Enum.Font.ArialBold | |
5419 | Time.FontSize = Enum.FontSize.Size14 | |
5420 | Time.Text = "Loading..." | |
5421 | Time.TextColor3 = Color3.new(1, 1, 1) | |
5422 | Time.TextStrokeTransparency = 0 | |
5423 | Time.TextXAlignment = Enum.TextXAlignment.Left | |
5424 | appearance.Name = "appearance" | |
5425 | appearance.Parent = ContainerFrame | |
5426 | appearance.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5427 | appearance.BackgroundTransparency = 1 | |
5428 | appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5429 | appearance.Position = UDim2.new(0, 10, 0, 40) | |
5430 | appearance.Size = UDim2.new(0, 100, 0, 20) | |
5431 | appearance.ZIndex = 10 | |
5432 | appearance.Font = Enum.Font.ArialBold | |
5433 | appearance.FontSize = Enum.FontSize.Size14 | |
5434 | appearance.Text = "Appearance: Loading..." | |
5435 | appearance.TextColor3 = Color3.new(1, 1, 1) | |
5436 | appearance.TextStrokeTransparency = 0 | |
5437 | appearance.TextXAlignment = Enum.TextXAlignment.Left | |
5438 | fe.Name = "fe" | |
5439 | fe.Parent = ContainerFrame | |
5440 | fe.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5441 | fe.BackgroundTransparency = 1 | |
5442 | fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5443 | fe.Position = UDim2.new(0, 10, 0, 200) | |
5444 | fe.Size = UDim2.new(0, 100, 0, 20) | |
5445 | fe.ZIndex = 10 | |
5446 | fe.Font = Enum.Font.ArialBold | |
5447 | fe.FontSize = Enum.FontSize.Size14 | |
5448 | fe.Text = "Loading..." | |
5449 | fe.TextColor3 = Color3.new(1, 1, 1) | |
5450 | fe.TextStrokeTransparency = 0 | |
5451 | fe.TextXAlignment = Enum.TextXAlignment.Left | |
5452 | maxplayers.Name = "maxplayers" | |
5453 | maxplayers.Parent = ContainerFrame | |
5454 | maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5455 | maxplayers.BackgroundTransparency = 1 | |
5456 | maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5457 | maxplayers.Position = UDim2.new(0, 10, 0, 160) | |
5458 | maxplayers.Size = UDim2.new(0, 100, 0, 20) | |
5459 | maxplayers.ZIndex = 10 | |
5460 | maxplayers.Font = Enum.Font.ArialBold | |
5461 | maxplayers.FontSize = Enum.FontSize.Size14 | |
5462 | maxplayers.Text = "Loading..." | |
5463 | maxplayers.TextColor3 = Color3.new(1, 1, 1) | |
5464 | maxplayers.TextStrokeTransparency = 0 | |
5465 | maxplayers.TextXAlignment = Enum.TextXAlignment.Left | |
5466 | name.Name = "name" | |
5467 | name.Parent = ContainerFrame | |
5468 | name.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5469 | name.BackgroundTransparency = 1 | |
5470 | name.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5471 | name.Position = UDim2.new(0, 10, 0, 180) | |
5472 | name.Size = UDim2.new(0, 100, 0, 20) | |
5473 | name.ZIndex = 10 | |
5474 | name.Font = Enum.Font.ArialBold | |
5475 | name.FontSize = Enum.FontSize.Size14 | |
5476 | name.Text = "Place: Loading..." | |
5477 | name.TextColor3 = Color3.new(1, 1, 1) | |
5478 | name.TextStrokeTransparency = 0 | |
5479 | name.TextXAlignment = Enum.TextXAlignment.Left | |
5480 | placeid.Name = "placeid" | |
5481 | placeid.Parent = ContainerFrame | |
5482 | placeid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5483 | placeid.BackgroundTransparency = 1 | |
5484 | placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5485 | placeid.Position = UDim2.new(0, 10, 0, 220) | |
5486 | placeid.Size = UDim2.new(0, 100, 0, 20) | |
5487 | placeid.ZIndex = 10 | |
5488 | placeid.Font = Enum.Font.ArialBold | |
5489 | placeid.FontSize = Enum.FontSize.Size14 | |
5490 | placeid.Text = "Place ID: Loading..." | |
5491 | placeid.TextColor3 = Color3.new(1, 1, 1) | |
5492 | placeid.TextStrokeTransparency = 0 | |
5493 | placeid.TextXAlignment = Enum.TextXAlignment.Left | |
5494 | playerid.Name = "playerid" | |
5495 | playerid.Parent = ContainerFrame | |
5496 | playerid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5497 | playerid.BackgroundTransparency = 1 | |
5498 | playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5499 | playerid.Position = UDim2.new(0, 10, 0, 20) | |
5500 | playerid.Size = UDim2.new(0, 100, 0, 20) | |
5501 | playerid.ZIndex = 10 | |
5502 | playerid.Font = Enum.Font.ArialBold | |
5503 | playerid.FontSize = Enum.FontSize.Size14 | |
5504 | playerid.Text = "Player ID: Loading..." | |
5505 | playerid.TextColor3 = Color3.new(1, 1, 1) | |
5506 | playerid.TextStrokeTransparency = 0 | |
5507 | playerid.TextXAlignment = Enum.TextXAlignment.Left | |
5508 | players.Name = "players" | |
5509 | players.Parent = ContainerFrame | |
5510 | players.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5511 | players.BackgroundTransparency = 1 | |
5512 | players.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5513 | players.Position = UDim2.new(0, 10, 0, 140) | |
5514 | players.Size = UDim2.new(0, 100, 0, 20) | |
5515 | players.ZIndex = 100 | |
5516 | players.Font = Enum.Font.ArialBold | |
5517 | players.FontSize = Enum.FontSize.Size14 | |
5518 | players.Text = "Loading..." | |
5519 | players.TextColor3 = Color3.new(1, 1, 1) | |
5520 | players.TextStrokeTransparency = 0 | |
5521 | players.TextXAlignment = Enum.TextXAlignment.Left | |
5522 | local SINFOGUI = ContainerFrame | |
5523 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
5524 | SINFOGUIopen = true wait(0.5) | |
5525 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId) | |
5526 | SINFOGUI.name.Text = "Place: " .. Asset.Name | |
5527 | Exit.MouseButton1Click:Connect(function() | |
5528 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
5529 | wait(0.6) SINFOGUIopen = false Sinfo:Destroy() end) | |
5530 | SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId | |
5531 | if workspace.FilteringEnabled == true then | |
5532 | SINFOGUI.fe.Text = "Filtering Enabled" | |
5533 | elseif workspace.FilteringEnabled == false then | |
5534 | SINFOGUI.fe.Text = "Filtering Disabled" end | |
5535 | SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max" | |
5536 | SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat | |
5537 | players = gPlayers:getPlayers() | |
5538 | SINFOGUI.players.Text = #players.. " Player(s)" | |
5539 | SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId | |
5540 | local seconds = math.floor(workspace.DistributedGameTime) | |
5541 | local minutes = math.floor(workspace.DistributedGameTime / 60) | |
5542 | local hours = math.floor(workspace.DistributedGameTime / 60 / 60) | |
5543 | local seconds = seconds - (minutes * 60) | |
5544 | local minutes = minutes - (hours * 60) | |
5545 | if hours < 1 then if minutes < 1 then | |
5546 | SINFOGUI.Time.Text = seconds .. " Second(s)" else | |
5547 | SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else | |
5548 | SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
5549 | end wait(1) until SINFOGUIopen == false end end | |
5550 | addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'}, | |
5551 | function(args, speaker) | |
5552 | if speaker.userId ~= LP.userId then | |
5553 | lponly(speaker) | |
5554 | else | |
5555 | serverinfogui() | |
5556 | end | |
5557 | end) | |
5558 | ||
5559 | addcmd('sparkles', 'give a player sparkles',{'sp'}, | |
5560 | function(args, speaker) | |
5561 | local players = getPlayer(args[1], speaker) | |
5562 | for i,v in pairs(players)do | |
5563 | spawn(function() | |
5564 | local pchar=_char(v) | |
5565 | local Sparkles1 = Instance.new("Sparkles", pchar.Head) | |
5566 | local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart) | |
5567 | local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"]) | |
5568 | local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"]) | |
5569 | local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"]) | |
5570 | local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"]) | |
5571 | if not args[2] then return end | |
5572 | Sparkles1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5573 | Sparkles2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5574 | Sparkles3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5575 | Sparkles4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5576 | Sparkles5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5577 | Sparkles6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5578 | end) | |
5579 | end | |
5580 | end) | |
5581 | ||
5582 | addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'}, | |
5583 | function(args, speaker) | |
5584 | local players = getPlayer(args[1], speaker) | |
5585 | for i,v in pairs(players)do | |
5586 | local pchar=_char(v) | |
5587 | for j,v1 in pairs(pchar:GetDescendants()) do | |
5588 | if v1:IsA("Sparkles") then | |
5589 | v1:Destroy() | |
5590 | end end end | |
5591 | end) | |
5592 | ||
5593 | addcmd('smoke', 'give a player smoke',{}, | |
5594 | function(args, speaker) | |
5595 | local players = getPlayer(args[1], speaker) | |
5596 | for i,v in pairs(players)do | |
5597 | local pchar=_char(v) | |
5598 | Instance.new("Smoke", pchar.HumanoidRootPart) | |
5599 | end | |
5600 | end) | |
5601 | ||
5602 | addcmd('addstat', 'give a player a stat',{}, | |
5603 | function(args, speaker) | |
5604 | local players = getPlayer(args[1], speaker) | |
5605 | for i,v in pairs(players)do | |
5606 | spawn(function() | |
5607 | if gPlayers[v]:FindFirstChild("leaderstats") then | |
5608 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
5609 | if child.Name == "STAT" then | |
5610 | child:Destroy() | |
5611 | end | |
5612 | end | |
5613 | local score = Instance.new("StringValue") | |
5614 | score.Name = "STAT" | |
5615 | score.Value = GLS(false, 1) | |
5616 | score.Parent = gPlayers[v].leaderstats | |
5617 | else | |
5618 | local stats = Instance.new("IntValue") | |
5619 | stats.Name = "leaderstats" | |
5620 | stats.Parent = gPlayers[v] | |
5621 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
5622 | if child.Name == "STAT" then | |
5623 | child:Destroy() | |
5624 | end | |
5625 | end | |
5626 | local score = Instance.new("StringValue") | |
5627 | score.Name = "STAT" | |
5628 | score.Value = GLS(false, 1) | |
5629 | score.Parent = gPlayers[v].leaderstats | |
5630 | end | |
5631 | end) | |
5632 | end | |
5633 | end) | |
5634 | ||
5635 | addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'}, | |
5636 | function(args, speaker) | |
5637 | local players = getPlayer(args[1], speaker) | |
5638 | for i,v in pairs(players)do | |
5639 | local pchar=_char(v) | |
5640 | for j,v1 in pairs(pchar:GetDescendants()) do | |
5641 | if v1:IsA("Smoke") then | |
5642 | v1:Destroy() | |
5643 | end | |
5644 | end | |
5645 | end | |
5646 | end) | |
5647 | ||
5648 | addcmd('longneck', 'makes a player have a really long neck',{'giraffe'}, | |
5649 | function(args, speaker) | |
5650 | local players = getPlayer(args[1], speaker) | |
5651 | for i,v in pairs(players)do | |
5652 | local pchar=_char(v) | |
5653 | for i,v in pairs(pchar:GetChildren()) do | |
5654 | if pchar.Torso:FindFirstChild("Neck") then | |
5655 | pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
5656 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end | |
5657 | Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1) | |
5658 | Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true | |
5659 | local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7) | |
5660 | local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0) | |
5661 | end | |
5662 | end | |
5663 | end | |
5664 | end) | |
5665 | ||
5666 | addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'}, | |
5667 | function(args, speaker) | |
5668 | local players = getPlayer(args[1], speaker) | |
5669 | for i,v in pairs(players)do | |
5670 | local pchar=_char(v) | |
5671 | for i,v in pairs(pchar:GetChildren()) do | |
5672 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
5673 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end | |
5674 | end | |
5675 | end | |
5676 | end) | |
5677 | ||
5678 | addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'}, | |
5679 | function(args, speaker) | |
5680 | workspace.Terrain:Clear() | |
5681 | end) | |
5682 | ||
5683 | addcmd('smite','get hit by lightning',{}, | |
5684 | function(args, speaker) | |
5685 | local players = getPlayer(args[1], speaker) | |
5686 | for i,v in pairs(players)do | |
5687 | local pchar=_char(v) | |
5688 | spawn(function() | |
5689 | local char = pchar | |
5690 | local zeus = Instance.new("Model",char) | |
5691 | local cloud = Instance.new("Part",zeus) | |
5692 | cloud.Anchored = true | |
5693 | cloud.CanCollide = false | |
5694 | cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0) | |
5695 | local sound = Instance.new("Sound",cloud) | |
5696 | sound.SoundId = "rbxassetid://133426162" | |
5697 | local mesh = Instance.new("SpecialMesh",cloud) | |
5698 | mesh.MeshId = "http://www.roblox.com/asset/?id=1095708" | |
5699 | mesh.TextureId = "http://www.roblox.com/asset/?id=1095709" | |
5700 | mesh.Scale = Vector3.new(30,30,40) | |
5701 | mesh.VertexColor = Vector3.new(0.3,0.3,0.3) | |
5702 | local light = Instance.new("PointLight",cloud) | |
5703 | light.Color = Color3.new(0,85/255,1) | |
5704 | light.Brightness = 10 | |
5705 | light.Range = 30 | |
5706 | light.Enabled = false | |
5707 | wait(0.2) | |
5708 | sound.Volume = 0.5 | |
5709 | sound.Pitch = 0.8 | |
5710 | sound:Play() | |
5711 | light.Enabled = true | |
5712 | wait(1/100) | |
5713 | light.Enabled = false | |
5714 | wait(0.2) | |
5715 | light.Enabled = true | |
5716 | light.Brightness = 1 | |
5717 | wait(0.05) | |
5718 | light.Brightness = 3 | |
5719 | wait(0.02) | |
5720 | light.Brightness = 1 | |
5721 | wait(0.07) | |
5722 | light.Brightness = 10 | |
5723 | wait(0.09) | |
5724 | light.Brightness = 0 | |
5725 | wait(0.01) | |
5726 | light.Brightness = 7 | |
5727 | light.Enabled = false | |
5728 | wait(1.5) | |
5729 | local part1 = Instance.new("Part",zeus) | |
5730 | part1.Anchored = true | |
5731 | part1.CanCollide = false | |
5732 | part1.Size = Vector3.new(2, 9.2, 1) | |
5733 | part1.BrickColor = BrickColor.new("New Yeller") | |
5734 | part1.Transparency = 0.6 | |
5735 | part1.BottomSurface = "Smooth" | |
5736 | part1.TopSurface = "Smooth" | |
5737 | part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0) | |
5738 | part1.Rotation = Vector3.new(0.359, 1.4, -14.361) | |
5739 | wait() | |
5740 | local part2 = part1:clone() | |
5741 | part2.Parent = zeus | |
5742 | part2.Size = Vector3.new(1, 7.48, 2) | |
5743 | part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0) | |
5744 | part2.Rotation = Vector3.new(77.514, -75.232, 78.051) | |
5745 | wait() | |
5746 | local part3 = part1:clone() | |
5747 | part3.Parent = zeus | |
5748 | part3.Size = Vector3.new(1.86, 7.56, 1) | |
5749 | part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0) | |
5750 | part3.Rotation = Vector3.new(0, 0, -11.128) | |
5751 | sound.SoundId = "rbxassetid://130818250" | |
5752 | sound.Volume = 1 | |
5753 | sound.Pitch = 1 | |
5754 | sound:Play() | |
5755 | wait() | |
5756 | part1.Transparency = 1 | |
5757 | part2.Transparency = 1 | |
5758 | part3.Transparency = 1 | |
5759 | Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0) | |
5760 | char:BreakJoints() | |
5761 | end) | |
5762 | end | |
5763 | end) | |
5764 | ||
5765 | addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'}, | |
5766 | function(args, speaker) | |
5767 | local players = getPlayer(args[1], speaker) | |
5768 | for i,v in pairs(players)do | |
5769 | spawn(function() | |
5770 | local pchar=_char(v) | |
5771 | local Ast = Instance.new("Part", workspace) Ast.Name = "Asteroid" Ast.Position = pchar.HumanoidRootPart.Position + Vector3.new(0,500,0) Ast.Size = Vector3.new(12,12,12) | |
5772 | local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030" | |
5773 | local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30 | |
5774 | local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10 | |
5775 | local f = Instance.new("Sound") | |
5776 | f.Name = "fly" | |
5777 | f.SoundId = "rbxassetid://179438534" | |
5778 | f.Volume = 3 | |
5779 | f.Pitch = 1 | |
5780 | f.Looped = true | |
5781 | f.archivable = true | |
5782 | f.Parent = Ast | |
5783 | f:play() | |
5784 | local Touched = false | |
5785 | coroutine.wrap(function() | |
5786 | repeat wait(0.1) | |
5787 | Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z) | |
5788 | until not Ast or Ast.Parent == nil or Touched == true | |
5789 | end)() | |
5790 | Ast.Touched:connect(function(Part) | |
5791 | if Touched == false then | |
5792 | Touched = true | |
5793 | Part:BreakJoints() | |
5794 | local Boom = Instance.new("Explosion", workspace) | |
5795 | Boom.Position = Ast.Position | |
5796 | Boom.BlastPressure = 1000000 | |
5797 | Boom.BlastRadius = 30 | |
5798 | Fire.Heat = 0 | |
5799 | Smoke.RiseVelocity = 0 | |
5800 | f:Destroy() | |
5801 | local s = Instance.new("Sound") | |
5802 | s.Name = "boom" | |
5803 | s.SoundId = "rbxassetid://188590169" | |
5804 | s.Volume = 3 | |
5805 | s.Pitch = 1 | |
5806 | s.Looped = true | |
5807 | s.archivable = true | |
5808 | s.Parent = Ast | |
5809 | s:play() | |
5810 | coroutine.wrap(function() | |
5811 | wait(10) | |
5812 | s:Destroy() | |
5813 | if Ast and Ast.Parent ~= nil then | |
5814 | Ast:Destroy() | |
5815 | end | |
5816 | end)() | |
5817 | end | |
5818 | end) | |
5819 | end) | |
5820 | end | |
5821 | end) | |
5822 | ||
5823 | addcmd('bomb','gives you a bomb vest',{'terrorist'}, | |
5824 | function(args, speaker) | |
5825 | local players = getPlayer(args[1], speaker) | |
5826 | for i,v in pairs(players)do | |
5827 | spawn(function() | |
5828 | local Char=_char(v) | |
5829 | local HumanoidRootPart = Char.HumanoidRootPart | |
5830 | local TickWait = 1 | |
5831 | local Dead = false | |
5832 | ||
5833 | local Position = Vector3.new(0,100,0) | |
5834 | function NewPart(Parent) | |
5835 | local Part = Instance.new("Part", Parent) | |
5836 | Part.CanCollide = false | |
5837 | Part.Position = Position | |
5838 | Part.TopSurface = "Smooth" | |
5839 | Part.BottomSurface = "Smooth" | |
5840 | Position = Position + Vector3.new(0,10,0) | |
5841 | return Part | |
5842 | end | |
5843 | ||
5844 | local Model = Char:FindFirstChild("Bomb") | |
5845 | if Model then Model:Destroy() end | |
5846 | ||
5847 | local Model = Instance.new("Model", Char) | |
5848 | Model.Name = "Bomb" | |
5849 | ||
5850 | local Belt = NewPart(Model) | |
5851 | Belt.Size = Vector3.new(2.2,0.5,1.2) | |
5852 | local Weld = Instance.new("Weld", Belt) | |
5853 | Weld.Part0 = Belt | |
5854 | Weld.Part1 = HumanoidRootPart | |
5855 | Weld.C0 = CFrame.new(0,1.1,0) | |
5856 | local Light = Instance.new("PointLight", Belt) | |
5857 | Light.Range = 15 | |
5858 | Light.Brightness = 5 | |
5859 | Light.Color = Color3.new(1,0,0) | |
5860 | local Beep = Instance.new("Sound", Belt) | |
5861 | Beep.SoundId = "http://www.roblox.com/asset/?id=188588790" | |
5862 | local ExplodeSound = Instance.new("Sound", Belt) | |
5863 | ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 | |
5864 | ExplodeSound.Pitch = 2.8 | |
5865 | ExplodeSound.Volume = 3 | |
5866 | ||
5867 | local Back = NewPart(Model) | |
5868 | Back.Size = Vector3.new(1.5,1.5,0.5) | |
5869 | local Weld = Instance.new("Weld", Back) | |
5870 | Weld.Part0 = Back | |
5871 | Weld.Part1 = HumanoidRootPart | |
5872 | Weld.C0 = CFrame.new(0,0.1,-0.75) | |
5873 | ||
5874 | local StrapLeft = NewPart(Model) | |
5875 | StrapLeft.Size = Vector3.new(0.2,0.5,1.6) | |
5876 | local Weld = Instance.new("Weld", StrapLeft) | |
5877 | Weld.Part0 = StrapLeft | |
5878 | Weld.Part1 = HumanoidRootPart | |
5879 | Weld.C0 = CFrame.new(0.65,-0.9,-0.2) | |
5880 | ||
5881 | local BuckleLeft = NewPart(Model) | |
5882 | BuckleLeft.Size = Vector3.new(0.2,1.5,0.2) | |
5883 | local Weld = Instance.new("Weld", BuckleLeft) | |
5884 | Weld.Part0 = BuckleLeft | |
5885 | Weld.Part1 = HumanoidRootPart | |
5886 | Weld.C0 = CFrame.new(0.65,0.1,0.5) | |
5887 | ||
5888 | local StrapRight = NewPart(Model) | |
5889 | StrapRight.Size = Vector3.new(0.2,0.5,1.6) | |
5890 | local Weld = Instance.new("Weld", StrapRight) | |
5891 | Weld.Part0 = StrapRight | |
5892 | Weld.Part1 = HumanoidRootPart | |
5893 | Weld.C0 = CFrame.new(-0.65,-0.9,-0.2) | |
5894 | ||
5895 | local BuckleRight = NewPart(Model) | |
5896 | BuckleRight.Size = Vector3.new(0.2,1.5,0.2) | |
5897 | local Weld = Instance.new("Weld", BuckleRight) | |
5898 | Weld.Part0 = BuckleRight | |
5899 | Weld.Part1 = HumanoidRootPart | |
5900 | Weld.C0 = CFrame.new(-0.65,0.1,0.5) | |
5901 | ||
5902 | LightEnabled = true | |
5903 | coroutine.wrap(function() | |
5904 | repeat | |
5905 | wait(TickWait) | |
5906 | LightEnabled = not LightEnabled | |
5907 | Light.Enabled = LightEnabled | |
5908 | Beep:Play() | |
5909 | until Dead == true or Char:FindFirstChild("Bomb") == nil | |
5910 | end)() | |
5911 | ||
5912 | wait(10) | |
5913 | if Dead == false then | |
5914 | Dead = true | |
5915 | ExplodeSound:Play(); wait(1.4) | |
5916 | local Explosion = Instance.new("Explosion") | |
5917 | Explosion.Position = Belt.Position | |
5918 | Explosion.BlastPressure = 100000 | |
5919 | Explosion.DestroyJointRadiusPercent = 0.7 | |
5920 | Explosion.ExplosionType = "CratersAndDebris" | |
5921 | Explosion.BlastRadius = 50 | |
5922 | Explosion.Parent = workspace | |
5923 | end | |
5924 | end) | |
5925 | end | |
5926 | end) | |
5927 | ||
5928 | addcmd('btools', 'gives a player btools',{}, | |
5929 | function(args, speaker) | |
5930 | local players = getPlayer(args[1], speaker) | |
5931 | if players ~= nil then | |
5932 | for i, v in pairs(players) do | |
5933 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 1 -- Model Grab Tool | |
5934 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 -- Part Grab Tool | |
5935 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 -- Clone Tool | |
5936 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 -- Hammer Tool | |
5937 | if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else | |
5938 | Notify('Gave btools to player(s)') end end end end) | |
5939 | ||
5940 | addcmd('sword', 'gives a player a sword',{}, | |
5941 | function(args, speaker) | |
5942 | local players = getPlayer(args[1], speaker) | |
5943 | if players ~= nil then | |
5944 | for i, v in pairs(players) do | |
5945 | coroutine.resume(coroutine.create(function() | |
5946 | if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then | |
5947 | local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png" | |
5948 | sword.GripForward = Vector3.new(-1,0,0) | |
5949 | sword.GripPos = Vector3.new(0,0,-1.5) | |
5950 | sword.GripRight = Vector3.new(0,1,0) | |
5951 | sword.GripUp = Vector3.new(0,0,1) | |
5952 | local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0 | |
5953 | local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png" | |
5954 | repeat wait() until gPlayers[v] and gPlayers[v].Character and gPlayers[v].Character:findFirstChild("Humanoid") | |
5955 | local Damage = 15 | |
5956 | local SlashSound = Instance.new("Sound", handle) | |
5957 | SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
5958 | SlashSound.Volume = 1 | |
5959 | local LungeSound = Instance.new("Sound", handle) | |
5960 | LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" | |
5961 | LungeSound.Volume = 1 | |
5962 | local UnsheathSound = Instance.new("Sound", handle) | |
5963 | UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" | |
5964 | UnsheathSound.Volume = 1 | |
5965 | handle.Touched:connect(function(hit) | |
5966 | if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and gPlayers[v].Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= gPlayers[v].Character.Humanoid then | |
5967 | local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = speaker tag.Name = "creator" game:service("Debris"):AddItem(tag, 3) | |
5968 | hit.Parent.Humanoid:TakeDamage(Damage) | |
5969 | if not sword.Enabled or gPlayers[v].Character.Humanoid.Health <= 0 then return end | |
5970 | sword.Enabled = false | |
5971 | SlashSound:play() | |
5972 | local slash = Instance.new("StringValue", sword) slash.Name = "toolanim" slash.Value = "Slash" | |
5973 | wait(0.5) | |
5974 | sword.Enabled = true | |
5975 | end | |
5976 | end) | |
5977 | sword.Equipped:connect(function(hit) | |
5978 | UnsheathSound:play() | |
5979 | sword.Enabled = true | |
5980 | end) | |
5981 | end | |
5982 | end)) | |
5983 | end | |
5984 | end | |
5985 | end) | |
5986 | ||
5987 | addcmd('hatsize', 'changes players hat size',{''}, | |
5988 | function(args, speaker) | |
5989 | local players = getPlayer(args[1], speaker) | |
5990 | for i,v in pairs(players) do | |
5991 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
5992 | if v:IsA('Accessory') then | |
5993 | for a,b in pairs(v.Handle:GetChildren()) do | |
5994 | if b:IsA('SpecialMesh') then | |
5995 | b.Scale = args[2] * Vector3.new(1, 1, 1) | |
5996 | end | |
5997 | end | |
5998 | end | |
5999 | end | |
6000 | end | |
6001 | end) | |
6002 | ||
6003 | addcmd('headsize', 'changes players head size',{''}, | |
6004 | function(args, speaker) | |
6005 | local players = getPlayer(args[1], speaker) | |
6006 | for i,v in pairs(players) do | |
6007 | local plrchar = _players[v].Character | |
6008 | if not plrchar.Humanoid:FindFirstChild('HeadScale') then | |
6009 | if args[2] == 1 then | |
6010 | plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
6011 | plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
6012 | else | |
6013 | plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25) | |
6014 | end | |
6015 | else plrchar.Humanoid.HeadScale.Value = args[2] | |
6016 | end | |
6017 | end | |
6018 | end) | |
6019 | ||
6020 | addcmd('change', 'changes a players stat',{'stat'}, | |
6021 | function(args, speaker) | |
6022 | local players = getPlayer(args[1], speaker) | |
6023 | for i,v in pairs(players) do | |
6024 | if _players[v]:FindFirstChild('leaderstats') then | |
6025 | for i,v in pairs(_players[v].leaderstats:GetChildren()) do | |
6026 | if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then | |
6027 | if args[3] then v.Value = tonumber(args[3]) end | |
6028 | elseif string.lower(v.Name) == string.lower(args[2]) and v:IsA('StringValue') then | |
6029 | v.Value = GLS(false, 2) | |
6030 | end | |
6031 | end | |
6032 | end | |
6033 | end | |
6034 | end) | |
6035 | ||
6036 | addcmd('draw', 'drawing tool',{}, | |
6037 | function(args, speaker) | |
6038 | if speaker.userId ~= LP.userId then | |
6039 | lponly(speaker) | |
6040 | else | |
6041 | for i,v in next,game:children()do | |
6042 | pcall(function() | |
6043 | local c=v.className; | |
6044 | rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c)); | |
6045 | end); | |
6046 | end; | |
6047 | ||
6048 | ||
6049 | user=players.LocalPlayer; | |
6050 | uname=user.Name; | |
6051 | guis=user.PlayerGui; | |
6052 | pack=user.Backpack; | |
6053 | ||
6054 | keyDowns={}; | |
6055 | freeKeys={}; | |
6056 | shortcuts={}; | |
6057 | ||
6058 | _G.mine=_G.mine or{}; | |
6059 | ||
6060 | name='Draw3D'; | |
6061 | url='http://www.roblox.com/asset/?id=%d'; | |
6062 | ||
6063 | iconNormal=url:format(96578285); | |
6064 | iconOnDown=url:format(96584484); | |
6065 | ||
6066 | ver=0; | |
6067 | drawPixel=0.10; | |
6068 | _G.drawLimit=_G.drawLimit or 1000; | |
6069 | ||
6070 | _G.drawColor=_G.drawColor or Color3.new(); | |
6071 | ||
6072 | ||
6073 | ||
6074 | ||
6075 | ||
6076 | destroy=game.remove; | |
6077 | find=game.findFirstChild; | |
6078 | new=Instance.new; | |
6079 | with=function(c) | |
6080 | return function(p) | |
6081 | local o=type(c)=='string'and new(c)or c; | |
6082 | local x=p.Parent;p.Parent=nil; | |
6083 | for i,v in next,p do | |
6084 | o[i]=v; | |
6085 | end; | |
6086 | if(x)then | |
6087 | o.Parent=x; | |
6088 | end; | |
6089 | return o; | |
6090 | end; | |
6091 | end; | |
6092 | getPlace=function() | |
6093 | if(find(workspace,'draw')==nil)then | |
6094 | new('Model',workspace).Name='draw'; | |
6095 | end; | |
6096 | if(find(workspace.draw,uname)==nil)then | |
6097 | new('Model',workspace.draw).Name=uname; | |
6098 | end; | |
6099 | return workspace.draw[uname]; | |
6100 | end; | |
6101 | drawLine=function(start,target) | |
6102 | local gui=with'BlockMesh'{ | |
6103 | Parent=with'Part'{ | |
6104 | CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2); | |
6105 | Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel); | |
6106 | Parent=getPlace(); | |
6107 | Color=_G.drawColor; | |
6108 | BottomSurface=0; | |
6109 | Anchored=true; | |
6110 | TopSurface=0; | |
6111 | formFactor=3; | |
6112 | Name=name; | |
6113 | }}.Parent; | |
6114 | table.insert(_G.mine,gui); | |
6115 | return gui; | |
6116 | end; | |
6117 | onDown=function() | |
6118 | if(drawing)then | |
6119 | return nil; | |
6120 | end; | |
6121 | if(selectGui.Adornee)then | |
6122 | destroy(selectGui.Adornee); | |
6123 | end; | |
6124 | ||
6125 | drawing=true; | |
6126 | ||
6127 | mouse.Icon=iconOnDown; | |
6128 | ver=ver+1; | |
6129 | ||
6130 | ||
6131 | local cVer,start,target=ver,mouse.hit.p; | |
6132 | ||
6133 | local group={}; | |
6134 | repeat | |
6135 | Wait(0.02); | |
6136 | ||
6137 | if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then | |
6138 | ||
6139 | target=mouse.hit.p; | |
6140 | ||
6141 | table.insert(group,drawLine(start,target)); | |
6142 | ||
6143 | start=target; | |
6144 | end; | |
6145 | until ver~=cVer; | |
6146 | drawing=false; | |
6147 | ||
6148 | local groupM=new('Model',getPlace()); | |
6149 | for i,v in next,group do | |
6150 | if(v:IsDescendantOf(Workspace))then | |
6151 | v.Parent=groupM; | |
6152 | end; | |
6153 | end; | |
6154 | if(next(groupM:children())==nil)then | |
6155 | destroy(groupM); | |
6156 | end; | |
6157 | end; | |
6158 | onUp=function() | |
6159 | mouse.Icon=iconNormal; | |
6160 | ver=ver+1; | |
6161 | end; | |
6162 | onKeyDown=function(k) | |
6163 | if(freeKeys[k]==false)then | |
6164 | return false; | |
6165 | end; | |
6166 | freeKeys[k]=false; | |
6167 | Wait(0.01); | |
6168 | if(keyDowns[k])then | |
6169 | keyDowns[k](); | |
6170 | elseif(shortcuts[k])then | |
6171 | shortcuts[k](); | |
6172 | end; | |
6173 | end; | |
6174 | onKeyUp=function(k) | |
6175 | freeKeys[k]=true; | |
6176 | end; | |
6177 | onMove=function() | |
6178 | ||
6179 | end; | |
6180 | onSelect=function(lmouse) | |
6181 | frame.Visible=true; | |
6182 | ||
6183 | mouse=lmouse; | |
6184 | ||
6185 | mouse.Icon=iconNormal; | |
6186 | ||
6187 | mouse.Button1Down:connect(onDown); | |
6188 | mouse.KeyDown:connect(onKeyDown); | |
6189 | mouse.Button1Up:connect(onUp); | |
6190 | mouse.KeyUp:connect(onKeyUp); | |
6191 | mouse.Move:connect(onMove); | |
6192 | end; | |
6193 | onDeselect=function() | |
6194 | ver=ver+1; | |
6195 | frame.Visible=false; | |
6196 | selectGui.Adornee=nil; | |
6197 | mouse.Icon=iconNormal; | |
6198 | for i,v in next,freeKeys do | |
6199 | freeKeys[i]=true; | |
6200 | end; | |
6201 | end; | |
6202 | addButton=function(title,shortcut,fun) | |
6203 | with'TextButton'{ | |
6204 | Text=string.format(' %s (%s)',title,shortcut); | |
6205 | TextXAlignment=0; | |
6206 | Parent=frame; | |
6207 | }.MouseButton1Up:connect(fun); | |
6208 | ||
6209 | shortcuts[shortcut]=fun; | |
6210 | ||
6211 | local c=#frame:children(); | |
6212 | for i,v in next,frame:children()do | |
6213 | v.Position=UDim2.new(0,0,0,20*(i-1)); | |
6214 | v.Size=UDim2.new(1,0,0,20); | |
6215 | end; | |
6216 | ||
6217 | frame.Position=UDim2.new(1,-152,.5,-c*10); | |
6218 | frame.Size=UDim2.new(0,150,0,c*20); | |
6219 | end; | |
6220 | ||
6221 | ||
6222 | ||
6223 | ||
6224 | ||
6225 | ||
6226 | ||
6227 | ||
6228 | for i,v in next,{guis;pack;}do | |
6229 | pcall(function() | |
6230 | repeat until destroy(v[name]); | |
6231 | end); | |
6232 | end; | |
6233 | ||
6234 | ||
6235 | ||
6236 | tool=with'HopperBin'{ | |
6237 | Parent=pack; | |
6238 | Name=name; | |
6239 | }; | |
6240 | tool.Deselected:connect(onDeselect); | |
6241 | tool.Selected:connect(onSelect); | |
6242 | ||
6243 | ||
6244 | ||
6245 | ||
6246 | screen=with'ScreenGui'{ | |
6247 | Parent=guis; | |
6248 | Name=name; | |
6249 | }; | |
6250 | frame=with'Frame'{ | |
6251 | Parent=screen; | |
6252 | Visible=false; | |
6253 | }; | |
6254 | clframe=with'Frame'{ | |
6255 | Position=UDim2.new(.5,-50,.5,-50); | |
6256 | Size=UDim2.new(0,100,0,100); | |
6257 | Visible=false; | |
6258 | Parent=screen; | |
6259 | }; | |
6260 | selectGui=with'SelectionBox'{ | |
6261 | Parent=screen; | |
6262 | }; | |
6263 | ||
6264 | local c=0; | |
6265 | for y=0,7 do | |
6266 | for x=0,7 do | |
6267 | local color=BrickColor.palette(c).Color; | |
6268 | ||
6269 | with'ImageButton'{ | |
6270 | Position=UDim2.new(.125*x,0,.125*y); | |
6271 | Size=UDim2.new(.125,0,.125); | |
6272 | BackgroundColor3=color; | |
6273 | Parent=clframe; | |
6274 | }.MouseButton1Up:connect(function() | |
6275 | clframe.Visible=false; | |
6276 | _G.drawColor=color; | |
6277 | end); | |
6278 | ||
6279 | c=c+1; | |
6280 | end; | |
6281 | end; | |
6282 | ||
6283 | addButton('Color','c',function() | |
6284 | clframe.Visible=true; | |
6285 | end); | |
6286 | addButton('Remove your draws','r',function() | |
6287 | repeat | |
6288 | destroy(_G.mine[1]); | |
6289 | table.remove(_G.mine,1); | |
6290 | Wait(0.01); | |
6291 | until nil; | |
6292 | end); | |
6293 | addButton('Remove global draws','k',function() | |
6294 | destroy(workspace.draw); | |
6295 | while(_G.mine[1])do | |
6296 | destroy(_G.mine[1]); | |
6297 | table.remove(_G.mine,1); | |
6298 | end; | |
6299 | end); | |
6300 | addButton('Remove selected','x',function() | |
6301 | repeat | |
6302 | if(find(workspace,'draw'))then | |
6303 | local dt=mouse.target; | |
6304 | if(dt and dt:IsDescendantOf(workspace.draw))then | |
6305 | selectGui.Adornee=dt.Parent; | |
6306 | else | |
6307 | selectGui.Adornee=nil; | |
6308 | end; | |
6309 | else | |
6310 | selectGui.Adornee=nil; | |
6311 | end; | |
6312 | Wait(0.01); | |
6313 | until freeKeys.x; | |
6314 | selectGui.Adornee=nil; | |
6315 | end); | |
6316 | ||
6317 | ||
6318 | ||
6319 | ||
6320 | repeat | |
6321 | Wait(0.01); | |
6322 | if(next(_G.mine)and _G.mine[_G.drawLimit])then | |
6323 | destroy(_G.mine[1]); | |
6324 | table.remove(_G.mine,1); | |
6325 | end; | |
6326 | until script.Parent==nil or tool.Parent==nil; | |
6327 | script.Disabled=true; | |
6328 | destroy(screen); | |
6329 | end | |
6330 | end) | |
6331 | ||
6332 | addcmd('god', 'gods player',{}, | |
6333 | function(args, speaker) | |
6334 | local players = getPlayer(args[1], speaker) | |
6335 | for i,v in pairs(players)do | |
6336 | local pchar=_char(v) | |
6337 | if pchar then pchar.Humanoid.MaxHealth=math.huge end | |
6338 | end | |
6339 | end) | |
6340 | ||
6341 | addcmd('sgod', 'silently gods player',{}, | |
6342 | function(args, speaker) | |
6343 | local players = getPlayer(args[1], speaker) | |
6344 | for i,v in pairs(players)do | |
6345 | local pchar=_char(v) | |
6346 | spawn(function() | |
6347 | pchar.Humanoid.MaxHealth = 10000000 | |
6348 | wait() | |
6349 | pchar.Humanoid.Health = 10000000 | |
6350 | if FindTable(SPC, args[1]) then Notify('Silent godded ' ..args[1]) else | |
6351 | Notify('Silent godded player(s)') end | |
6352 | end) | |
6353 | end | |
6354 | end) | |
6355 | ||
6356 | addcmd('ungod', 'removes god from a player',{}, | |
6357 | function(args, speaker) | |
6358 | local players = getPlayer(args[1], speaker) | |
6359 | for i,v in pairs(players)do | |
6360 | local pchar=_char(v) | |
6361 | if pchar then | |
6362 | pchar.Humanoid.MaxHealth=100 | |
6363 | pchar.Humanoid.Health=100 | |
6364 | end | |
6365 | end | |
6366 | end) | |
6367 | ||
6368 | addcmd('heal', 'resets a players health',{}, | |
6369 | function(args, speaker) | |
6370 | local players = getPlayer(args[1], speaker) | |
6371 | for i,v in pairs(players)do spawn(function() | |
6372 | local pchar=_char(v) | |
6373 | if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end end) end end) | |
6374 | ||
6375 | addcmd('fart', 'makes u fart',{}, | |
6376 | function(args, speaker) | |
6377 | local players = getPlayer(args[1], speaker) | |
6378 | for i,v in pairs(players)do | |
6379 | spawn(function() | |
6380 | local pchar=_char(v) | |
6381 | fart = Instance.new("Smoke") | |
6382 | fart.Parent = pchar.HumanoidRootPart | |
6383 | fart.Color = Color3.new(255/255, 255/255, 0) | |
6384 | fart.Opacity = 0.4 | |
6385 | fart.Size = 1.0 | |
6386 | fart.RiseVelocity = 8 | |
6387 | fartsound = Instance.new("Sound", workspace) | |
6388 | fsound = "http://www.roblox.com/asset?id=251309043" | |
6389 | fartsound.SoundId = fsound | |
6390 | fartsound.Volume = 1.0 | |
6391 | fartsound:Play() | |
6392 | wait(9.0) | |
6393 | fartsound:Destroy() | |
6394 | pchar.HumanoidRootPart.Smoke:Destroy() | |
6395 | end) | |
6396 | end | |
6397 | end) | |
6398 | ||
6399 | addcmd('decalspam', 'you can already guess...',{}, | |
6400 | function(args, speaker) | |
6401 | Notify('Decal Spammed ID: ' ..args[1]) | |
6402 | wait(4) | |
6403 | decalID = args[1] | |
6404 | function exPro(root) | |
6405 | for _, v in pairs(root:GetChildren()) do | |
6406 | if v:IsA("BasePart") then | |
6407 | local One = Instance.new("Decal", v) | |
6408 | local Two = Instance.new("Decal", v) | |
6409 | local Three = Instance.new("Decal", v) | |
6410 | local Four = Instance.new("Decal", v) | |
6411 | local Five = Instance.new("Decal", v) | |
6412 | local Six = Instance.new("Decal", v) | |
6413 | One.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6414 | Two.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6415 | Three.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6416 | Four.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6417 | Five.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6418 | Six.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6419 | One.Face = "Front" | |
6420 | Two.Face = "Back" | |
6421 | Three.Face = "Right" | |
6422 | Four.Face = "Left" | |
6423 | Five.Face = "Top" | |
6424 | Six.Face = "Bottom" | |
6425 | One.Name = "IYdecal" | |
6426 | Two.Name = "IYdecal" | |
6427 | Three.Name = "IYdecal" | |
6428 | Four.Name = "IYdecal" | |
6429 | Five.Name = "IYdecal" | |
6430 | Six.Name = "IYdecal" | |
6431 | end | |
6432 | exPro(v) | |
6433 | end | |
6434 | end | |
6435 | function asdf(root) | |
6436 | for _, v in pairs(root:GetChildren()) do | |
6437 | asdf(v) | |
6438 | end | |
6439 | end | |
6440 | exPro(workspace) | |
6441 | asdf(workspace) | |
6442 | end) | |
6443 | ||
6444 | addcmd('undecalspam', 'removes the mess',{}, | |
6445 | function(args, speaker) | |
6446 | Notify('Removing Decal Spam...') | |
6447 | wait(4) | |
6448 | function exPro(root) | |
6449 | for _, v in pairs(root:GetChildren()) do | |
6450 | if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then | |
6451 | v.Parent = nil | |
6452 | end | |
6453 | exPro(v) | |
6454 | end | |
6455 | end | |
6456 | function asdf(root) | |
6457 | for _, v in pairs(root:GetChildren()) do | |
6458 | asdf(v) | |
6459 | end | |
6460 | end | |
6461 | exPro(workspace) | |
6462 | asdf(workspace) | |
6463 | end) | |
6464 | ||
6465 | addcmd('sky', 'sets the sky',{'skybox'}, | |
6466 | function(args, speaker) | |
6467 | playinggif = false | |
6468 | for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end | |
6469 | s = Instance.new("Sky") | |
6470 | s.Name = "Sky" | |
6471 | s.Parent = LightingService | |
6472 | local skyboxID = args[1] | |
6473 | s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID | |
6474 | s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID | |
6475 | s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID | |
6476 | s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID | |
6477 | s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID | |
6478 | s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID | |
6479 | LightingService.TimeOfDay = 12 | |
6480 | end) | |
6481 | ||
6482 | addcmd('skygif', 'makes the sky play the IDs you feed it',{}, | |
6483 | function(args, speaker) | |
6484 | if args[2] then skyinterval = tonumber(args[2]) else skyinterval = 0.05 end | |
6485 | playinggif = false | |
6486 | wait(0.5) | |
6487 | local GIF = splitString(args[1]) | |
6488 | for _, child in pairs( gLighting:GetChildren()) do | |
6489 | if child.ClassName == "Sky" then | |
6490 | child:Destroy() | |
6491 | end | |
6492 | end | |
6493 | Sky = Instance.new("Sky",game.Lighting) | |
6494 | Notify('Loading...') | |
6495 | playinggif = true | |
6496 | for N,F in ipairs(GIF) do | |
6497 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..F) | |
6498 | end | |
6499 | gLighting.TimeOfDay = 12 | |
6500 | Notify('Playing skybox') | |
6501 | playinggif = true | |
6502 | wait(0.5) | |
6503 | repeat | |
6504 | for N,F in ipairs(GIF) do | |
6505 | Sky.SkyboxBk = "http://www.roblox.com/asset/?id="..F- 1 | |
6506 | Sky.SkyboxDn = "http://www.roblox.com/asset/?id="..F- 1 | |
6507 | Sky.SkyboxFt = "http://www.roblox.com/asset/?id="..F- 1 | |
6508 | Sky.SkyboxLf = "http://www.roblox.com/asset/?id="..F- 1 | |
6509 | Sky.SkyboxRt = "http://www.roblox.com/asset/?id="..F- 1 | |
6510 | Sky.SkyboxUp = "http://www.roblox.com/asset/?id="..F- 1 | |
6511 | wait(skyinterval) | |
6512 | end | |
6513 | until playinggif == false | |
6514 | end) | |
6515 | ||
6516 | addcmd('unskygif', 'removes the sky animation',{'noskygif'}, | |
6517 | function(args, speaker) | |
6518 | playinggif = false | |
6519 | wait(0.5) | |
6520 | Notify('Stopped sky gif') | |
6521 | for _, child in pairs( gLighting:GetChildren()) do | |
6522 | if child.ClassName == "Sky" then | |
6523 | child:Destroy() | |
6524 | end | |
6525 | end | |
6526 | end) | |
6527 | ||
6528 | addcmd('freeze', 'freezes a player',{'fr'}, | |
6529 | function(args, speaker) | |
6530 | local players = getPlayer(args[1], speaker) | |
6531 | if players ~= nil then | |
6532 | for i, v in pairs(players) do | |
6533 | spawn(function() | |
6534 | for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and not x.Anchored then x.Anchored = true end | |
6535 | end | |
6536 | end) | |
6537 | end | |
6538 | end | |
6539 | end) | |
6540 | ||
6541 | addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'}, | |
6542 | function(args, speaker) | |
6543 | local players = getPlayer(args[1], speaker) | |
6544 | if players ~= nil then | |
6545 | for i, v in pairs(players) do | |
6546 | spawn(function() | |
6547 | for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and x.Anchored then x.Anchored = false end | |
6548 | end | |
6549 | end) | |
6550 | end | |
6551 | end | |
6552 | end) | |
6553 | ||
6554 | addcmd('spawn', 'places a spawn',{'spawnpoint'}, | |
6555 | function(args, speaker) | |
6556 | local players = getPlayer(args[1], speaker) | |
6557 | if players ~= nil then | |
6558 | for i, v in pairs(players) do | |
6559 | local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn' | |
6560 | M.CFrame = _char(v).HumanoidRootPart.CFrame | |
6561 | M.Color = maincolor M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6) | |
6562 | M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0) | |
6563 | M.Anchored = true | |
6564 | end | |
6565 | end | |
6566 | end) | |
6567 | ||
6568 | addcmd('deletespawns', 'places a spawn',{'removespawns'}, | |
6569 | function(args, speaker) | |
6570 | for i,v in pairs(workspace:GetDescendants()) do | |
6571 | if v:IsA("SpawnLocation") then | |
6572 | v:Destroy() | |
6573 | end | |
6574 | end | |
6575 | end) | |
6576 | ||
6577 | addcmd('neon', 'makes a player neon',{}, | |
6578 | function(args, speaker) | |
6579 | local players = getPlayer(args[1], speaker) | |
6580 | if players ~= nil then | |
6581 | for i, v in pairs(players) do | |
6582 | for _, child in pairs( _char(v):GetChildren()) do | |
6583 | if child.ClassName == "CharacterMesh" then | |
6584 | child:Destroy() | |
6585 | end | |
6586 | end | |
6587 | for _, child in pairs( _char(v):GetChildren()) do | |
6588 | if child.ClassName == "Shirt" then | |
6589 | child:Destroy() | |
6590 | end | |
6591 | end | |
6592 | for _, child in pairs( _char(v):GetChildren()) do | |
6593 | if child.ClassName == "Pants" then | |
6594 | child:Destroy() | |
6595 | end | |
6596 | end | |
6597 | for _, child in pairs( _char(v):GetDescendants()) do | |
6598 | if child.ClassName == "Part" then | |
6599 | child.Material = "Neon" | |
6600 | end | |
6601 | end | |
6602 | end | |
6603 | end | |
6604 | end) | |
6605 | ||
6606 | addcmd('glass', 'makes a player glass',{}, | |
6607 | function(args, speaker) | |
6608 | local players = getPlayer(args[1], speaker) | |
6609 | if players ~= nil then | |
6610 | for i, v in pairs(players) do | |
6611 | for _, child in pairs( _char(v):GetChildren()) do | |
6612 | if child.ClassName == "CharacterMesh" then | |
6613 | child:Destroy() | |
6614 | end | |
6615 | end | |
6616 | for _, child in pairs( _char(v):GetChildren()) do | |
6617 | if child.ClassName == "Shirt" then | |
6618 | child:Destroy() | |
6619 | end | |
6620 | end | |
6621 | for _, child in pairs( _char(v):GetChildren()) do | |
6622 | if child.ClassName == "Pants" then | |
6623 | child:Destroy() | |
6624 | end | |
6625 | end | |
6626 | for _, child in pairs( _char(v):GetDescendants()) do | |
6627 | if child.ClassName == "Part" then | |
6628 | child.Material = "Glass" | |
6629 | child.Transparency = 0.3 | |
6630 | end | |
6631 | end | |
6632 | end | |
6633 | end | |
6634 | end) | |
6635 | ||
6636 | ||
6637 | addcmd('os', 'Shows the targets platform.', {'platform', 'device'}, | |
6638 | function(args, speaker) | |
6639 | local players = getPlayer(args[1], speaker) | |
6640 | local platforms = {} | |
6641 | for i,v in pairs(players) do | |
6642 | local p = game:GetService("Players")[v] | |
6643 | table.insert(platforms, p.Name.."'s platform is: "..p.OsPlatform) | |
6644 | end | |
6645 | Notify(table.concat(platforms, ', ')) | |
6646 | end) | |
6647 | ||
6648 | addcmd('whiteify', 'Turns the target white.', {'white'}, | |
6649 | function(args, speaker) | |
6650 | local players = getPlayer(args[1], speaker) | |
6651 | ||
6652 | for i,v in pairs(players) do | |
6653 | local lplr = game:GetService("Players")[v] | |
6654 | local bodyc = lplr.Character["Body Colors"] | |
6655 | local color = "Institutional white" | |
6656 | ||
6657 | bodyc.HeadColor = BrickColor.new(color) | |
6658 | bodyc.LeftArmColor = BrickColor.new(color) | |
6659 | bodyc.LeftLegColor = BrickColor.new(color) | |
6660 | bodyc.RightArmColor = BrickColor.new(color) | |
6661 | bodyc.RightLegColor = BrickColor.new(color) | |
6662 | bodyc.TorsoColor = BrickColor.new(color) | |
6663 | end | |
6664 | end) | |
6665 | ||
6666 | addcmd('blackify', 'Turns the target black.', {'black'}, | |
6667 | function(args, speaker) | |
6668 | local players = getPlayer(args[1], speaker) | |
6669 | ||
6670 | for i,v in pairs(players) do | |
6671 | local lplr = game:GetService("Players")[v] | |
6672 | local bodyc = lplr.Character["Body Colors"] | |
6673 | local color = "Black" | |
6674 | ||
6675 | bodyc.HeadColor = BrickColor.new(color) | |
6676 | bodyc.LeftArmColor = BrickColor.new(color) | |
6677 | bodyc.LeftLegColor = BrickColor.new(color) | |
6678 | bodyc.RightArmColor = BrickColor.new(color) | |
6679 | bodyc.RightLegColor = BrickColor.new(color) | |
6680 | bodyc.TorsoColor = BrickColor.new(color) | |
6681 | end | |
6682 | end) | |
6683 | ||
6684 | addcmd('kill', 'kills a player',{}, | |
6685 | function(args, speaker) | |
6686 | local players = getPlayer(args[1], speaker) | |
6687 | for i,v in pairs(players)do | |
6688 | local pchar=_char(v) | |
6689 | pchar:BreakJoints() | |
6690 | end | |
6691 | end) | |
6692 | ||
6693 | addcmd('knuckles', 'that dead meme',{'ugandaknuckles'}, | |
6694 | function(args, speaker) | |
6695 | local players = getPlayer(args[1], speaker) | |
6696 | for i,v in pairs(players)do | |
6697 | spawn(function() | |
6698 | local plr = gPlayers[v] | |
6699 | local char = plr.Character | |
6700 | char.Humanoid.WalkSpeed = 100 | |
6701 | char.Humanoid.JumpPower = 70 | |
6702 | spawn(function() | |
6703 | for i,v in pairs(char:GetChildren()) do | |
6704 | if v:IsA("BasePart") then | |
6705 | coroutine.wrap(function() | |
6706 | for i=0,1,.1 do | |
6707 | wait() | |
6708 | v.Transparency = v.Transparency +i | |
6709 | end | |
6710 | end)() | |
6711 | end | |
6712 | end | |
6713 | for i,v in pairs(char:GetChildren()) do | |
6714 | if v:IsA("Accessory") then | |
6715 | coroutine.wrap(function() | |
6716 | for i=0,1,.1 do | |
6717 | wait() | |
6718 | v.Handle.Transparency = v.Handle.Transparency +i | |
6719 | end | |
6720 | end)() | |
6721 | end | |
6722 | end | |
6723 | end) | |
6724 | char.Head.face:Destroy() | |
6725 | wait(1) | |
6726 | local s = Instance.new("Sound") | |
6727 | s.Name = "wae" | |
6728 | s.SoundId = "http://www.roblox.com/asset/?id=1308281913" | |
6729 | s.Volume = 1 | |
6730 | s.Pitch = 1 | |
6731 | s.Looped = true | |
6732 | s.archivable = true | |
6733 | s.Parent = gPlayers.LocalPlayer.Character.Head | |
6734 | s:play() | |
6735 | local daqueen = Instance.new("Part",char) | |
6736 | daqueen.Name = "asd" | |
6737 | daqueen.CanCollide = false | |
6738 | local mesh = Instance.new("SpecialMesh",daqueen) | |
6739 | mesh.Scale = Vector3.new(0.1,0.1,0.1) | |
6740 | mesh.MeshId = "rbxassetid://1300136843" | |
6741 | local text = Instance.new("Decal",daqueen) | |
6742 | text.Name = "asd" | |
6743 | text.Texture = "rbxassetid://1300137893" | |
6744 | local knowdawey = Instance.new("Weld",char) | |
6745 | knowdawey.Part0 = char.HumanoidRootPart | |
6746 | knowdawey.Part1 = daqueen | |
6747 | local eye1 = Instance.new("Part") | |
6748 | eye1.CanCollide = false | |
6749 | eye1.Parent = char | |
6750 | local mesh1 = Instance.new("SpecialMesh",eye1) | |
6751 | mesh1.MeshId = "rbxassetid://1300138314" | |
6752 | mesh1.Scale = Vector3.new(0.1,0.1,0.2) | |
6753 | local eyetext = Instance.new("Decal",eye1) | |
6754 | eyetext.Texture = "rbxassetid://1300129774" | |
6755 | local eye1w = Instance.new("Weld",char) | |
6756 | eye1w.Part0 = char.HumanoidRootPart | |
6757 | eye1w.Part1 = eye1 | |
6758 | eye1w.C1 = CFrame.new(0,-1.3,0.7) | |
6759 | end) | |
6760 | end | |
6761 | end) | |
6762 | ||
6763 | addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'}, | |
6764 | function(args, speaker) | |
6765 | part = GLS(false, 0) | |
6766 | local function dels(instance) | |
6767 | for i,v in pairs(instance:GetChildren())do | |
6768 | if v.Name:lower() == part:lower() then v:Destroy() end | |
6769 | dels(v) | |
6770 | end | |
6771 | end | |
6772 | dels(workspace) | |
6773 | Notify('Deleted ' ..GLS(false, 0)) | |
6774 | end) | |
6775 | ||
6776 | addcmd('deleteclass', 'removes any part with a certain classname from the workspace',{'removeclass','deleteclassname','removeclassname','dc'}, | |
6777 | function(args, speaker) | |
6778 | part = GLS(false, 0) | |
6779 | local function dels(instance) | |
6780 | for i,v in pairs(instance:GetChildren())do | |
6781 | if v.ClassName:lower() == part:lower() then v:Destroy() end | |
6782 | dels(v) | |
6783 | end | |
6784 | end | |
6785 | dels(workspace) | |
6786 | Notify('Deleted items with ClassName ' ..GLS(false, 0)) | |
6787 | end) | |
6788 | ||
6789 | addcmd('blur', 'adjusts blur',{}, | |
6790 | function(args, speaker) | |
6791 | local function dels(instance) | |
6792 | for i,v in pairs(instance:GetChildren())do | |
6793 | if v:IsA'BlurEffect'then v:Destroy()end | |
6794 | dels(v) | |
6795 | end | |
6796 | end | |
6797 | dels(LightingService) | |
6798 | ||
6799 | local b = Instance.new("BlurEffect", LightingService) | |
6800 | b.Name = "IYblur" | |
6801 | b.Size = args[1] | |
6802 | end) | |
6803 | ||
6804 | addcmd('distortsound','changes volume of sound',{'distort'}, | |
6805 | function(args, speaker) | |
6806 | for i,v in pairs(workspace:GetChildren())do | |
6807 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6808 | v:ClearAllChildren () | |
6809 | local d = Instance.new('DistortionSoundEffect') | |
6810 | d.Parent = v | |
6811 | d.Level = args[1] | |
6812 | Notify('Changed distortion to ' .. args[1]) | |
6813 | end | |
6814 | end | |
6815 | end) | |
6816 | ||
6817 | addcmd('volume','changes volume of sound',{'vol'}, | |
6818 | function(args, speaker) | |
6819 | for i,v in pairs(workspace:GetChildren())do | |
6820 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6821 | v.Volume = args[1] | |
6822 | Notify('Changed volume to ' .. args[1]) | |
6823 | end | |
6824 | end | |
6825 | end) | |
6826 | ||
6827 | addcmd('pitch','changes pitch of sound',{}, | |
6828 | function(args, speaker) | |
6829 | for i,v in pairs(workspace:GetChildren())do | |
6830 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6831 | v.Pitch = args[1] | |
6832 | Notify('Changed pitch to ' .. args[1]) | |
6833 | end | |
6834 | end | |
6835 | end) | |
6836 | ||
6837 | addcmd('loadmap', 'spawns a map',{}, | |
6838 | function(args, speaker) | |
6839 | local m = args[1] | |
6840 | for _,v in pairs(workspace:GetChildren()) do | |
6841 | if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then | |
6842 | v:Destroy() elseif v:IsA("Terrain") then v:Clear() end end | |
6843 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end | |
6844 | wait(1) | |
6845 | local map = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. m) | |
6846 | map.Parent = workspace | |
6847 | end) | |
6848 | ||
6849 | addcmd('loadm','loads global messaging',{}, -- global message method by HARKINIAN @ V3RMILLION | |
6850 | function(args, speaker) | |
6851 | msghook() | |
6852 | if MSGhook == false then | |
6853 | local localp = game:GetService'Players'.LocalPlayer | |
6854 | localp.CharacterAppearanceId = 20018 | |
6855 | localp.Character:BreakJoints() | |
6856 | repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice' | |
6857 | Instance.new("ForceField", localp.Character) | |
6858 | repeat wait() until localp.Character.BunnyEarsOfCaprice.Handle:FindFirstChild'BunnyTools' | |
6859 | _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone() | |
6860 | localp.CharacterAppearanceId = 0 | |
6861 | localp.Character:BreakJoints() | |
6862 | if _G.mainhat ~= nil then | |
6863 | local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone() | |
6864 | local part = Instance.new('Part') | |
6865 | part.Anchored = true | |
6866 | part.Transparency = 1 | |
6867 | main.Disabled = false | |
6868 | main.Parent = part | |
6869 | _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part | |
6870 | part.Parent = localp.Character | |
6871 | part.CFrame = localp.Character.HumanoidRootPart.CFrame | |
6872 | repeat wait() until localp:FindFirstChild'ChessMsg' | |
6873 | part:Destroy() | |
6874 | local message = localp:FindFirstChild'ChessMsg' | |
6875 | message.Text = '' | |
6876 | message.Parent = workspace | |
6877 | message.Name = "IYmessage" | |
6878 | if part ~= nil then part:Destroy() end | |
6879 | localp.Character.HumanoidRootPart.Anchored = false | |
6880 | for _, child in pairs( workspace:GetChildren()) do | |
6881 | if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then | |
6882 | child:Destroy() | |
6883 | end | |
6884 | end | |
6885 | if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Destroy() end | |
6886 | if _G.msg ~= nil then | |
6887 | Notify('Loaded global message bypass') | |
6888 | else | |
6889 | execCmd("loadm") | |
6890 | end | |
6891 | end | |
6892 | elseif MSGhook == true then | |
6893 | Notify('Messages already loaded!') | |
6894 | end | |
6895 | end) | |
6896 | ||
6897 | addcmd('countdown', 'makes a countdown', {}, | |
6898 | function(args, speaker) | |
6899 | local players = getPlayer(args[1], speaker) | |
6900 | if args[1] ~= string then | |
6901 | local time = args[1] | |
6902 | msghook() | |
6903 | if MSGhook == true then | |
6904 | local h = workspace.IYmessage | |
6905 | for i = time, 1, -1 do | |
6906 | wait(1) | |
6907 | h.Text = "Countdown: "..i.."" | |
6908 | end | |
6909 | wait(1) | |
6910 | h.Text = "Times Up!" | |
6911 | wait(2) | |
6912 | h.Text = '' | |
6913 | elseif MSGhook == false then | |
6914 | execCmd("loadm") | |
6915 | repeat wait() until workspace:FindFirstChild("IYmessage") | |
6916 | local h = workspace.IYmessage | |
6917 | for i = time, 1, -1 do | |
6918 | wait(1) | |
6919 | h.Text = "Countdown: "..i.."" | |
6920 | end | |
6921 | wait(1) | |
6922 | h.Text = "Times Up!" | |
6923 | wait(2) | |
6924 | h.Text = '' | |
6925 | end | |
6926 | end | |
6927 | end) | |
6928 | ||
6929 | addcmd('explode', 'explode a player', {}, | |
6930 | function(args, speaker) | |
6931 | local players = getPlayer(args[1], speaker) | |
6932 | for i, v in pairs(players) do | |
6933 | local char = _char(v) | |
6934 | if char:FindFirstChild("HumanoidRootPart") then | |
6935 | Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position | |
6936 | end | |
6937 | end | |
6938 | end) | |
6939 | ||
6940 | addcmd('flood', 'makes a flood e.e', {}, | |
6941 | function(args, speaker) | |
6942 | workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") | |
6943 | end) | |
6944 | ||
6945 | addcmd('spookyify', 'makes it sp00ky', {}, | |
6946 | function(args, speaker) | |
6947 | local music = Instance.new("Sound", workspace) | |
6948 | music.SoundId = "http://www.roblox.com/asset/?id=257569267" | |
6949 | music.Volume = 20 | |
6950 | music.Looped = true | |
6951 | music:Play() | |
6952 | ||
6953 | tex1 = "http://www.roblox.com/asset/?id=185495987" | |
6954 | tex2 = "http://www.roblox.com/asset/?id=260858020" | |
6955 | tex3 = "http://www.roblox.com/asset/?id=149213919" | |
6956 | tex4 = "http://www.roblox.com/asset/?id=171905673" | |
6957 | ||
6958 | local w = workspace:GetChildren() | |
6959 | ||
6960 | for i= 1,#w do | |
6961 | if w[i]:isA("BasePart") then | |
6962 | pe = Instance.new("ParticleEmitter", w[i]) | |
6963 | pe.Texture = tex4 | |
6964 | pe.VelocitySpread = 5 | |
6965 | end | |
6966 | end | |
6967 | ||
6968 | local playerLeaderstats = {} | |
6969 | for i, v in pairs(gPlayers:GetChildren()) do | |
6970 | table.insert(playerLeaderstats, v) | |
6971 | end | |
6972 | for i, v in pairs(playerLeaderstats) do | |
6973 | pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart) | |
6974 | pe.Texture = "http://www.roblox.com/asset/?id=171905673" | |
6975 | pe.VelocitySpread = 50 | |
6976 | end | |
6977 | ||
6978 | texture = "http://www.roblox.com/asset/?id=185495987" | |
6979 | ||
6980 | local A = workspace:GetChildren() | |
6981 | local B = workspace:GetChildren() | |
6982 | local C = workspace:GetChildren() | |
6983 | local D = workspace:GetChildren() | |
6984 | local E = workspace:GetChildren() | |
6985 | local F = workspace:GetChildren() | |
6986 | for i,v in pairs(A) do | |
6987 | if v:IsA("Part") then | |
6988 | local d = Instance.new("Decal",v) | |
6989 | v.Decal.Face = "Top" | |
6990 | v.Decal.Texture = texture | |
6991 | v.Anchored = true | |
6992 | end | |
6993 | end | |
6994 | ||
6995 | for i,v in pairs(B) do | |
6996 | if v:IsA("Part") then | |
6997 | local s = Instance.new("Decal",v) | |
6998 | s.Face = "Front" | |
6999 | s.Texture = texture | |
7000 | end | |
7001 | end | |
7002 | ||
7003 | for i,v in pairs(C) do | |
7004 | if v:IsA("Part") then | |
7005 | local h = Instance.new("Decal",v) | |
7006 | h.Face = "Back" | |
7007 | h.Texture = texture | |
7008 | end | |
7009 | end | |
7010 | ||
7011 | for i,v in pairs(D) do | |
7012 | if v:IsA("Part") then | |
7013 | local j = Instance.new("Decal",v) | |
7014 | j.Face = "Left" | |
7015 | j.Texture = texture | |
7016 | end | |
7017 | end | |
7018 | ||
7019 | for i,v in pairs(E) do | |
7020 | if v:IsA("Part") then | |
7021 | local k = Instance.new("Decal",v) | |
7022 | k.Face = "Right" | |
7023 | k.Texture = texture | |
7024 | end | |
7025 | end | |
7026 | ||
7027 | for i,v in pairs(F) do | |
7028 | if v:IsA("Part") then | |
7029 | local l = Instance.new("Decal",v) | |
7030 | l.Face = "Bottom" | |
7031 | l.Texture = texture | |
7032 | end | |
7033 | ||
7034 | imageOne = "http://www.roblox.com/asset/?id=169585459" | |
7035 | imageTwo = "http://www.roblox.com/asset/?id=169585475" | |
7036 | imageThree = "http://www.roblox.com/asset/?id=169585485" | |
7037 | imageFour = "http://www.roblox.com/asset/?id=169585502" | |
7038 | imageFive = "http://www.roblox.com/asset/?id=169585515" | |
7039 | imageSix = "http://www.roblox.com/asset/?id=169585502" | |
7040 | imageSeven = "http://www.roblox.com/asset/?id=169585485" | |
7041 | imageEight = "http://www.roblox.com/asset/?id=169585475" | |
7042 | ||
7043 | Spooky = Instance.new("Sound", workspace) | |
7044 | Spooky.Name = "Spooky" | |
7045 | Spooky.SoundId = "rbxassetid://174270407" | |
7046 | Spooky.Volume = 15 | |
7047 | Spooky.Looped = true | |
7048 | Spooky:Play() | |
7049 | ||
7050 | Sky = Instance.new("Sky", LightingService) | |
7051 | Sky.SkyboxBk = imageOne | |
7052 | Sky.SkyboxDn = imageOne | |
7053 | Sky.SkyboxFt = imageOne | |
7054 | Sky.SkyboxLf = imageOne | |
7055 | Sky.SkyboxRt = imageOne | |
7056 | Sky.SkyboxUp = imageOne | |
7057 | ||
7058 | ||
7059 | while true do | |
7060 | Sky.SkyboxBk = imageOne | |
7061 | Sky.SkyboxDn = imageOne | |
7062 | Sky.SkyboxFt = imageOne | |
7063 | Sky.SkyboxLf = imageOne | |
7064 | Sky.SkyboxRt = imageOne | |
7065 | Sky.SkyboxUp = imageOne | |
7066 | wait(0.15) | |
7067 | Sky.SkyboxBk = imageTwo | |
7068 | Sky.SkyboxDn = imageTwo | |
7069 | Sky.SkyboxFt = imageTwo | |
7070 | Sky.SkyboxLf = imageTwo | |
7071 | Sky.SkyboxRt = imageTwo | |
7072 | Sky.SkyboxUp = imageTwo | |
7073 | wait(0.15) | |
7074 | Sky.SkyboxBk = imageThree | |
7075 | Sky.SkyboxDn = imageThree | |
7076 | Sky.SkyboxFt = imageThree | |
7077 | Sky.SkyboxLf = imageThree | |
7078 | Sky.SkyboxRt = imageThree | |
7079 | Sky.SkyboxUp = imageThree | |
7080 | wait(0.15) | |
7081 | Sky.SkyboxBk = imageFour | |
7082 | Sky.SkyboxDn = imageFour | |
7083 | Sky.SkyboxFt = imageFour | |
7084 | Sky.SkyboxLf = imageFour | |
7085 | Sky.SkyboxRt = imageFour | |
7086 | Sky.SkyboxUp = imageFour | |
7087 | wait(0.15) | |
7088 | Sky.SkyboxBk = imageFive | |
7089 | Sky.SkyboxDn = imageFive | |
7090 | Sky.SkyboxFt = imageFive | |
7091 | Sky.SkyboxLf = imageFive | |
7092 | Sky.SkyboxRt = imageFive | |
7093 | Sky.SkyboxUp = imageFive | |
7094 | wait(0.15) | |
7095 | Sky.SkyboxBk = imageSix | |
7096 | Sky.SkyboxDn = imageSix | |
7097 | Sky.SkyboxFt = imageSix | |
7098 | Sky.SkyboxLf = imageSix | |
7099 | Sky.SkyboxRt = imageSix | |
7100 | Sky.SkyboxUp = imageSix | |
7101 | wait(0.15) | |
7102 | Sky.SkyboxBk = imageSeven | |
7103 | Sky.SkyboxDn = imageSeven | |
7104 | Sky.SkyboxFt = imageSeven | |
7105 | Sky.SkyboxLf = imageSeven | |
7106 | Sky.SkyboxRt = imageSeven | |
7107 | Sky.SkyboxUp = imageSeven | |
7108 | wait(0.15) | |
7109 | Sky.SkyboxBk = imageEight | |
7110 | Sky.SkyboxDn = imageEight | |
7111 | Sky.SkyboxFt = imageEight | |
7112 | Sky.SkyboxLf = imageEight | |
7113 | Sky.SkyboxRt = imageEight | |
7114 | Sky.SkyboxUp = imageEight | |
7115 | wait(0.15) | |
7116 | ||
7117 | end | |
7118 | end | |
7119 | end) | |
7120 | ||
7121 | addcmd('invisible', 'make a player invisible',{'invis'}, | |
7122 | function(args, speaker) | |
7123 | local players = getPlayer(args[1], speaker) | |
7124 | for i, v in pairs(players) do | |
7125 | for k, v2 in pairs(_char(v):GetChildren()) do | |
7126 | if v2.className == "Part" then | |
7127 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end | |
7128 | elseif v2.className == "Accessory" then | |
7129 | if v2:FindFirstChild("Handle") then | |
7130 | v2.Handle.Transparency = 1 | |
7131 | end | |
7132 | end | |
7133 | if v2:FindFirstChild("face") then | |
7134 | v2.face.Transparency = 1 | |
7135 | end | |
7136 | end | |
7137 | end | |
7138 | end) | |
7139 | ||
7140 | addcmd('visible', 'make a player visible',{'vis'}, | |
7141 | function(args, speaker) | |
7142 | local players = getPlayer(args[1], speaker) | |
7143 | for i, v in pairs(players) do | |
7144 | for k, v2 in pairs(_char(v):GetChildren()) do | |
7145 | if v2.className == "Part" then | |
7146 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then | |
7147 | if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end | |
7148 | end | |
7149 | if v2:FindFirstChild("face") then | |
7150 | v2.face.Transparency = 0 | |
7151 | end | |
7152 | end | |
7153 | end | |
7154 | end) | |
7155 | ||
7156 | addcmd('goto', 'go to a player',{'to'}, | |
7157 | function(args, speaker) | |
7158 | local players = getPlayer(args[1], speaker) | |
7159 | if _char(players[1]) ~= nil then | |
7160 | if speaker.Character:FindFirstChild("Humanoid") then | |
7161 | speaker.Character.Humanoid.Jump = true | |
7162 | end | |
7163 | speaker.Character:MoveTo(_char(players[1]).HumanoidRootPart.Position) | |
7164 | end | |
7165 | end) | |
7166 | ||
7167 | addcmd('bring', 'bring a player to you',{}, | |
7168 | function(args, speaker) | |
7169 | local players = getPlayer(args[1], speaker) | |
7170 | for i,v in pairs(players) do | |
7171 | if _char(v) ~= nil then | |
7172 | if _char(v):FindFirstChild("Humanoid") then | |
7173 | _char(v).Humanoid.Jump = true | |
7174 | _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position) | |
7175 | end | |
7176 | wait(0.1) | |
7177 | _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position) | |
7178 | end | |
7179 | end | |
7180 | end) | |
7181 | ||
7182 | addcmd('tp', 'teleport player 1 to player 2',{}, | |
7183 | function(args, speaker) | |
7184 | local players1=getPlayer(args[1], speaker) | |
7185 | local players2=getPlayer(args[2], speaker) | |
7186 | if not players2[1] then return end | |
7187 | for i,v in pairs(players1) do | |
7188 | if _char(v) ~= nil and _char(players2[1]) ~= nil then | |
7189 | if _char(v):FindFirstChild("Humanoid") then | |
7190 | _char(v).Humanoid.Jump = true | |
7191 | _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position) | |
7192 | end | |
7193 | wait(0.1) | |
7194 | _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position) | |
7195 | end | |
7196 | end | |
7197 | end) | |
7198 | ||
7199 | local WayPoints = {} | |
7200 | addcmd("savepos","sets a waypoint at the speaker's position",{'spos'}, | |
7201 | function(args, speaker) | |
7202 | local WPName = tostring(GLS(false, 0)) | |
7203 | if speaker.Character:findFirstChild("HumanoidRootPart") then | |
7204 | Notify("Created waypoint: "..GLS(false, 0)) | |
7205 | local torso = speaker.Character:findFirstChild("HumanoidRootPart") | |
7206 | WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}} | |
7207 | updatepositions() | |
7208 | end | |
7209 | end) | |
7210 | ||
7211 | addcmd("deletepos","sets a waypoint at the speaker's position",{'dpos'}, | |
7212 | function(args, speaker) | |
7213 | for i,v in pairs(WayPoints) do | |
7214 | if v.NAME == tostring(GLS(false, 0)) then | |
7215 | Notify("Deleted waypoint: " .. v.NAME) | |
7216 | table.remove(WayPoints, i) | |
7217 | updatepositions() | |
7218 | end end | |
7219 | end) | |
7220 | ||
7221 | ||
7222 | addcmd("loadpos","teleports a player to a waypoint",{'lpos'}, | |
7223 | function(args, speaker) | |
7224 | local players = getPlayer(args[1], speaker) | |
7225 | local WPName = tostring(GLS(false, 1)) | |
7226 | for i,v in pairs(players) do | |
7227 | if gPlayers[v] and gPlayers[v].Character then | |
7228 | for i,_ in pairs(WayPoints) do | |
7229 | local x = WayPoints[i].COORD[1] | |
7230 | local y = WayPoints[i].COORD[2] | |
7231 | local z = WayPoints[i].COORD[3] | |
7232 | if tostring(WayPoints[i].NAME) == tostring(WPName) then | |
7233 | gPlayers[v].Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z) | |
7234 | end | |
7235 | end | |
7236 | end | |
7237 | end | |
7238 | end) | |
7239 | ||
7240 | addcmd('charplr','charplr [plr] [plr]',{'cp'}, | |
7241 | function(args, speaker) | |
7242 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
7243 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
7244 | if _players[v].Character and _players[b].Character then | |
7245 | _players[v].CharacterAppearanceId = _players[b].userId | |
7246 | refresh(_players[v]) | |
7247 | end | |
7248 | end | |
7249 | end | |
7250 | end) | |
7251 | ||
7252 | addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'}, | |
7253 | function(args, speaker) | |
7254 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
7255 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
7256 | spawn(function() | |
7257 | for i,v in pairs(_players[v].Backpack:GetChildren()) do | |
7258 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
7259 | if not _players[b] then | |
7260 | v:Clone().Parent = speaker.Backpack | |
7261 | else v:Clone().Parent = _players[b].Backpack | |
7262 | end | |
7263 | end | |
7264 | end | |
7265 | end) | |
7266 | end | |
7267 | end | |
7268 | end) | |
7269 | ||
7270 | addcmd('char', 'change a players appearance',{}, | |
7271 | function(args, speaker) | |
7272 | local players = getPlayer(args[1], speaker) | |
7273 | if not args[1]or not args[2]then return end | |
7274 | local id=args[2] | |
7275 | if players ~= nil then | |
7276 | for i,v in pairs(players) do | |
7277 | gPlayers[v].CharacterAppearanceId = id | |
7278 | refresh(gPlayers[v]) | |
7279 | end | |
7280 | end | |
7281 | end) | |
7282 | ||
7283 | addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'}, | |
7284 | function(args, speaker) | |
7285 | local players = getPlayer(args[1], speaker) | |
7286 | if players ~= nil then | |
7287 | for i,v in pairs(players) do | |
7288 | gPlayers[v].CharacterAppearanceId = 0 | |
7289 | refresh(gPlayers[v]) | |
7290 | end | |
7291 | end | |
7292 | end) | |
7293 | ||
7294 | addcmd('speed', 'change a players walkspeed',{'ws'}, | |
7295 | function(args, speaker) | |
7296 | local players = getPlayer(args[1], speaker) | |
7297 | if not args[1]or not args[2]then return end | |
7298 | local num=args[2] | |
7299 | for i,v in pairs(players) do | |
7300 | if _char(v):FindFirstChild("Humanoid") then | |
7301 | _char(v).Humanoid.WalkSpeed=tonumber(num) | |
7302 | end | |
7303 | end | |
7304 | end) | |
7305 | ||
7306 | addcmd('jump', 'forces a player to jump',{}, | |
7307 | function(args, speaker) | |
7308 | local players = getPlayer(args[1], speaker) | |
7309 | for i,v in pairs(players) do | |
7310 | if _char(v):FindFirstChild("Humanoid") then | |
7311 | _char(v).Humanoid.Jump = true | |
7312 | end | |
7313 | end | |
7314 | end) | |
7315 | ||
7316 | jumping = {} | |
7317 | addcmd('loopjump','like a bunny :)',{'ljump'}, | |
7318 | function(args, speaker) | |
7319 | local players = getPlayer(args[1], speaker) | |
7320 | for i,v in pairs(players)do | |
7321 | spawn(function() | |
7322 | if FindTable(jumping, _players[v].Name) then return end | |
7323 | table.insert(jumping, _players[v].Name) | |
7324 | repeat wait(0.01) | |
7325 | if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then | |
7326 | if _players[v].Character.Humanoid.Jump ~= true then | |
7327 | _players[v].Character.Humanoid.Jump = true end end | |
7328 | until not FindTable(jumping, _players[v].Name) | |
7329 | end) | |
7330 | end | |
7331 | end) | |
7332 | ||
7333 | addcmd('unljump','unjails player',{'noljump','unloopjump','noloopjump'}, | |
7334 | function(args, speaker) | |
7335 | local players = getPlayer(args[1], speaker) | |
7336 | for i,v in pairs(players)do | |
7337 | spawn(function() | |
7338 | for a,b in pairs(jumping) do if b == _players[v].Name then table.remove(jumping, a) end end | |
7339 | end) | |
7340 | end | |
7341 | end) | |
7342 | ||
7343 | addcmd('sit', 'sit a player',{}, | |
7344 | function(args, speaker) | |
7345 | local players = getPlayer(args[1], speaker) | |
7346 | for i,v in pairs(players) do | |
7347 | if _char(v):FindFirstChild("Humanoid") then | |
7348 | _char(v).Humanoid.Sit = true | |
7349 | end | |
7350 | end | |
7351 | end) | |
7352 | ||
7353 | sitting = {} | |
7354 | addcmd('loopsit','very annoying',{'lsit'}, | |
7355 | function(args, speaker) | |
7356 | local players = getPlayer(args[1], speaker) | |
7357 | for i,v in pairs(players)do | |
7358 | spawn(function() | |
7359 | if FindTable(sitting, _players[v].Name) then return end | |
7360 | table.insert(sitting, _players[v].Name) | |
7361 | repeat wait(0.01) | |
7362 | if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then | |
7363 | if _players[v].Character.Humanoid.Sit ~= true then | |
7364 | _players[v].Character.Humanoid.Sit = true end end | |
7365 | until not FindTable(sitting, _players[v].Name) | |
7366 | end) | |
7367 | end | |
7368 | end) | |
7369 | ||
7370 | addcmd('unlsit','unjails player',{'nolsit','unloopsit','noloopsit'}, | |
7371 | function(args, speaker) | |
7372 | local players = getPlayer(args[1], speaker) | |
7373 | for i,v in pairs(players)do | |
7374 | spawn(function() | |
7375 | for a,b in pairs(sitting) do if b == _players[v].Name then table.remove(sitting, a) end end | |
7376 | end) | |
7377 | end | |
7378 | end) | |
7379 | ||
7380 | addcmd('strength',' strong',{}, | |
7381 | function(args, speaker) | |
7382 | local players = getPlayer(args[1], speaker) | |
7383 | for i,v in pairs(players)do | |
7384 | spawn(function() | |
7385 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7386 | if child.ClassName == "Part" then | |
7387 | child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5) | |
7388 | end | |
7389 | end | |
7390 | end) | |
7391 | end | |
7392 | end) | |
7393 | ||
7394 | addcmd('weaken',' weak',{}, | |
7395 | function(args, speaker) | |
7396 | local players = getPlayer(args[1], speaker) | |
7397 | for i,v in pairs(players)do | |
7398 | spawn(function() | |
7399 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7400 | if child.ClassName == "Part" then | |
7401 | child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5) | |
7402 | end | |
7403 | end | |
7404 | end) | |
7405 | end | |
7406 | end) | |
7407 | ||
7408 | addcmd('unweaken',' undoes strength and weaken',{'unstrength'}, | |
7409 | function(args, speaker) | |
7410 | local players = getPlayer(args[1], speaker) | |
7411 | for i,v in pairs(players)do | |
7412 | spawn(function() | |
7413 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7414 | if child.ClassName == "Part" then | |
7415 | child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5) | |
7416 | end | |
7417 | end | |
7418 | end) | |
7419 | end | |
7420 | end) | |
7421 | ||
7422 | addcmd('trip','makes a player trip',{}, | |
7423 | function(args, speaker) | |
7424 | local players = getPlayer(args[1], speaker) | |
7425 | for i,v in pairs(players)do | |
7426 | spawn(function() | |
7427 | if _players[v].Character:findFirstChild("Right Leg") then -- credz to Zwolf#3762 | |
7428 | local dir = _players[v].Character:findFirstChild("Right Leg") | |
7429 | dir.Anchored = true | |
7430 | if dir.Anchored == true then | |
7431 | wait(.5) | |
7432 | _players[v].Character.Humanoid.Sit = true | |
7433 | wait(1) | |
7434 | _players[v].Character.Humanoid.Sit = false | |
7435 | dir.Anchored = false | |
7436 | end | |
7437 | end | |
7438 | end) | |
7439 | end | |
7440 | end) | |
7441 | ||
7442 | oofing = false | |
7443 | addcmd('loopoof','very VERY annoying',{}, | |
7444 | function(args, speaker) | |
7445 | oofing = true | |
7446 | repeat wait(0.01) | |
7447 | for i,v in pairs(game:GetService'Players':GetPlayers()) do | |
7448 | if v.Character ~= nil and v.Character:FindFirstChild'Head' then | |
7449 | for _,x in pairs(v.Character.Head:GetChildren()) do | |
7450 | if x:IsA'Sound' then x.Playing = true end | |
7451 | end | |
7452 | end | |
7453 | end | |
7454 | until oofing == false | |
7455 | end) | |
7456 | ||
7457 | addcmd('unloopoof','stops the oof chaos',{}, | |
7458 | function(args, speaker) | |
7459 | oofing = false | |
7460 | end) | |
7461 | ||
7462 | addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'}, | |
7463 | function(args, speaker) | |
7464 | local players = getPlayer(args[1], speaker) | |
7465 | if not args[1]or not args[2]then return end | |
7466 | local num=args[2] | |
7467 | for i,v in pairs(players) do | |
7468 | if _char(v):FindFirstChild("Humanoid") then | |
7469 | _char(v).Humanoid.JumpPower=tonumber(num) | |
7470 | end | |
7471 | end | |
7472 | end) | |
7473 | ||
7474 | addcmd('confuse', 'confusing...',{}, | |
7475 | function(args, speaker) | |
7476 | local players = getPlayer(args[1], speaker) | |
7477 | for i,v in pairs(players) do | |
7478 | spawn(function() | |
7479 | if _char(v):FindFirstChild("Humanoid") then | |
7480 | _char(v).Humanoid.Name = "ConfusedNigga" | |
7481 | while true do | |
7482 | _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6) | |
7483 | _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100)) | |
7484 | wait(0.1) | |
7485 | end | |
7486 | ||
7487 | end | |
7488 | end) | |
7489 | end | |
7490 | end) | |
7491 | ||
7492 | addcmd('unconfuse', 'not confusing...',{}, | |
7493 | function(args, speaker) | |
7494 | local players = getPlayer(args[1], speaker) | |
7495 | for i,v in pairs(players) do | |
7496 | spawn(function() | |
7497 | if _char(v):FindFirstChild("ConfusedNigga") then | |
7498 | _char(v).ConfusedNigga.Name = "Humanoid" | |
7499 | wait(0.3) | |
7500 | _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
7501 | ||
7502 | end | |
7503 | end) | |
7504 | end | |
7505 | end) | |
7506 | ||
7507 | addcmd('cripple', 'cripples a player xddd',{'stun'}, | |
7508 | function(args, speaker) | |
7509 | local players = getPlayer(args[1], speaker) | |
7510 | for i,v in pairs(players) do | |
7511 | if _char(v):FindFirstChild("Humanoid") then | |
7512 | _char(v).Humanoid.PlatformStand = true | |
7513 | end | |
7514 | end | |
7515 | end) | |
7516 | ||
7517 | addcmd('uncripple', 'un cripples a player xddd',{'unstun'}, | |
7518 | function(args, speaker) | |
7519 | local players = getPlayer(args[1], speaker) | |
7520 | for i,v in pairs(players) do | |
7521 | if _char(v):FindFirstChild("Humanoid") then | |
7522 | _char(v).Humanoid.PlatformStand = false | |
7523 | end | |
7524 | end | |
7525 | end) | |
7526 | ||
7527 | addcmd('hipheight', 'adjusts hip height',{'hheight'}, | |
7528 | function(args, speaker) | |
7529 | local players = getPlayer(args[1], speaker) | |
7530 | for i,v in pairs(players) do | |
7531 | if _char(v):FindFirstChild("Humanoid") then | |
7532 | _char(v).Humanoid.HipHeight = args[2] | |
7533 | end | |
7534 | end | |
7535 | end) | |
7536 | ||
7537 | addcmd('face', 'change a players face',{}, | |
7538 | function(args, speaker) | |
7539 | local players = getPlayer(args[1], speaker) | |
7540 | for i,v in pairs(players) do | |
7541 | if _char(v).Head:FindFirstChild("face") then | |
7542 | _char(v).Head.face.Texture = "rbxassetid://" .. args[2] | |
7543 | end | |
7544 | end | |
7545 | end) | |
7546 | ||
7547 | addcmd('time', 'change the time of day',{}, | |
7548 | function(args, speaker) | |
7549 | if not args[1]then return end | |
7550 | Notify('Time set to ' .. args[1]) | |
7551 | LightingService.ClockTime = args[1] | |
7552 | end) | |
7553 | ||
7554 | addcmd('day', 'change the time to day',{}, | |
7555 | function(args, speaker) | |
7556 | LightingService.ClockTime = 15 | |
7557 | end) | |
7558 | ||
7559 | addcmd('night', 'change the time of night',{}, | |
7560 | function(args, speaker) | |
7561 | LightingService.ClockTime = 0 | |
7562 | end) | |
7563 | ||
7564 | addcmd('globalshadows', 'changes the lighting property',{'gshadows'}, | |
7565 | function(args, speaker) | |
7566 | Notify('Turned on global shadows') | |
7567 | LightingService.GlobalShadows = true | |
7568 | end) | |
7569 | ||
7570 | addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'}, | |
7571 | function(args, speaker) | |
7572 | Notify('Turned off global shadows') | |
7573 | LightingService.GlobalShadows = false | |
7574 | end) | |
7575 | ||
7576 | addcmd('outlines', 'changes the lighting property',{}, | |
7577 | function(args, speaker) | |
7578 | Notify('Turned on outlines') | |
7579 | LightingService.Outlines = true | |
7580 | end) | |
7581 | ||
7582 | addcmd('unoutlines', 'changes the lighting property',{'nooutlines'}, | |
7583 | function(args, speaker) | |
7584 | Notify('Turned off outlines') | |
7585 | LightingService.Outlines = false | |
7586 | end) | |
7587 | ||
7588 | addcmd('brightness', 'changes the lighting property',{}, | |
7589 | function(args, speaker) | |
7590 | Notify('Set brightness to ' .. args[1]) | |
7591 | LightingService.Brightness = args[1] | |
7592 | end) | |
7593 | ||
7594 | addcmd('age','tells you the age of a player',{}, | |
7595 | function(args, speaker) | |
7596 | local players = getPlayer(args[1], speaker) | |
7597 | if speaker.userId ~= LP.userId then | |
7598 | lponly(speaker) | |
7599 | else | |
7600 | for i,v in pairs(players) do | |
7601 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
7602 | Title = _players[v].Name, | |
7603 | Text = 'Age: '.._players[v].AccountAge, | |
7604 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]].._players[v].Name..[[&RAND]] .. math.random(1,100000000), | |
7605 | Duration = 5, | |
7606 | }) | |
7607 | end | |
7608 | end | |
7609 | end) | |
7610 | ||
7611 | addcmd('remotespy', 'prints remotes',{'remotes'}, | |
7612 | function(args, speaker) | |
7613 | if speaker.userId ~= LP.userId then | |
7614 | lponly(speaker) | |
7615 | else | |
7616 | Notify('Printing remotes') | |
7617 | function getem(o) | |
7618 | for i,v in pairs(o:children())do | |
7619 | if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then | |
7620 | print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName()) | |
7621 | end | |
7622 | getem(v) | |
7623 | end | |
7624 | end | |
7625 | pcall(getem,game) | |
7626 | end | |
7627 | end) | |
7628 | ||
7629 | addcmd('f3x', 'loads f3x tools',{'fex'}, | |
7630 | function(args, speaker) | |
7631 | if speaker.userId ~= LP.userId then | |
7632 | lponly(speaker) | |
7633 | else | |
7634 | loadstring(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1059691823").Source)() | |
7635 | end | |
7636 | end) | |
7637 | ||
7638 | addcmd('kick', 'kick a player',{}, | |
7639 | function(args, speaker) | |
7640 | local players = getPlayer(args[1], speaker) | |
7641 | for i,v in pairs(players) do | |
7642 | spawn(function() | |
7643 | if FindTable(SPC, args[1]) then Notify('Kicked ' ..args[1]) else | |
7644 | Notify('Kicked player(s)') end | |
7645 | kickF(gPlayers[v]) | |
7646 | end) end end) | |
7647 | ||
7648 | function fadelock(id) | |
7649 | if lockic.ImageTransparency ~= 1 then | |
7650 | for i=1, 10 do | |
7651 | lockic.ImageTransparency = lockic.ImageTransparency + 0.1 | |
7652 | wait(0.01) | |
7653 | end | |
7654 | lockic.ImageTransparency = 1 | |
7655 | end | |
7656 | if id ~= 'off' then | |
7657 | lockic.Image = id | |
7658 | wait(0.2) | |
7659 | for i=1, 10 do | |
7660 | lockic.ImageTransparency = lockic.ImageTransparency - 0.1 | |
7661 | wait(0.01) | |
7662 | end | |
7663 | lockic.ImageTransparency = 0 | |
7664 | end end | |
7665 | ||
7666 | addcmd('serverlock', 'lock teh server',{'slock'}, | |
7667 | function(args, speaker) | |
7668 | slock = true | |
7669 | agelock = false | |
7670 | Notify('Locked Server') | |
7671 | fadelock("rbxassetid://1495252742") | |
7672 | end) | |
7673 | ||
7674 | addcmd('unserverlock', 'unlock teh server',{'unslock'}, | |
7675 | function(args, speaker) | |
7676 | slock = false | |
7677 | Notify('Unlocked Server') | |
7678 | if lockic.Image == "rbxassetid://1495252742" then | |
7679 | fadelock('off') | |
7680 | end | |
7681 | end) | |
7682 | ||
7683 | addcmd('agelock', 'lock teh server for a certain age',{'alock'}, | |
7684 | function(args, speaker) | |
7685 | if isNumber(args[1]) then | |
7686 | Notify('Set the age lock to age ' .. args[1]) | |
7687 | isagelocked = true | |
7688 | slock = false | |
7689 | agelock = tonumber(args[1]) | |
7690 | fadelock("rbxassetid://1495252495") | |
7691 | end | |
7692 | end) | |
7693 | ||
7694 | addcmd('unagelock', 'lock teh server for a certain age',{'unalock','noagelock','noalock'}, | |
7695 | function(args, speaker) | |
7696 | Notify('Disabled age lock') | |
7697 | isagelocked = false | |
7698 | if lockic.Image == "rbxassetid://1495252495" then | |
7699 | fadelock('off') | |
7700 | end | |
7701 | end) | |
7702 | ||
7703 | addcmd('unlockws', 'unlock the whole workspace',{}, | |
7704 | function(args, speaker) | |
7705 | Notify('Workspace unlocked') | |
7706 | wait(1) | |
7707 | local function unlock(instance) | |
7708 | for i,v in pairs(instance:GetChildren()) do | |
7709 | if v:IsA("BasePart") then | |
7710 | v.Locked = false | |
7711 | end | |
7712 | unlock(v) | |
7713 | end | |
7714 | end | |
7715 | unlock(workspace) | |
7716 | end) | |
7717 | ||
7718 | addcmd('lockws', 'lock the whole workspace',{}, | |
7719 | function(args, speaker) | |
7720 | Notify('Workspace locked') | |
7721 | wait(1) | |
7722 | local function lock(instance) | |
7723 | for i,v in pairs(instance:GetChildren()) do | |
7724 | if v:IsA("BasePart") then | |
7725 | v.Locked = true | |
7726 | end | |
7727 | lock(v) | |
7728 | end | |
7729 | end | |
7730 | lock(workspace) | |
7731 | end) | |
7732 | ||
7733 | addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'}, | |
7734 | function(args, speaker) | |
7735 | local function unanchor(instance) | |
7736 | for i,v in pairs(instance:GetChildren()) do | |
7737 | if v:IsA("BasePart") then | |
7738 | v.Anchored=false | |
7739 | end | |
7740 | unanchor(v) | |
7741 | end | |
7742 | end | |
7743 | unanchor(workspace) | |
7744 | end) | |
7745 | ||
7746 | addcmd('anchorws', 'anchor the whole workspace',{'anchor'}, | |
7747 | function(args, speaker) | |
7748 | local function anchor(instance) | |
7749 | for i,v in pairs(instance:GetChildren()) do | |
7750 | if v:IsA("BasePart") then | |
7751 | v.Anchored=true | |
7752 | end | |
7753 | anchor(v) | |
7754 | end | |
7755 | end | |
7756 | anchor(workspace) | |
7757 | end) | |
7758 | ||
7759 | addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'}, | |
7760 | function() | |
7761 | for _,v in pairs(workspace:GetChildren()) do | |
7762 | if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then | |
7763 | v:Destroy() | |
7764 | elseif v:IsA("Terrain") then | |
7765 | v:Clear() | |
7766 | end | |
7767 | end | |
7768 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end | |
7769 | local p = Instance.new("Part", workspace) | |
7770 | p.Anchored = true | |
7771 | p.FormFactor = "Symmetric" | |
7772 | p.Size = Vector3.new(1000,1,1000) | |
7773 | p.Position = Vector3.new(0,0,0) | |
7774 | p.BrickColor = BrickColor.new("Bright green") | |
7775 | p.Material = "Grass" | |
7776 | p.Locked = true | |
7777 | end) | |
7778 | ||
7779 | addcmd('headshake', 'shakes a players head',{}, | |
7780 | function(args, speaker) | |
7781 | local players = getPlayer(args[1], speaker) | |
7782 | for i,v in pairs(players) do | |
7783 | spawn(function() | |
7784 | local shaken = gPlayers[v].Character | |
7785 | for X = 1, math.huge, 0.2 do | |
7786 | wait() | |
7787 | shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0) | |
7788 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
7789 | end | |
7790 | for X = 1, math.huge, 0.1 do | |
7791 | wait() | |
7792 | shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) | |
7793 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
7794 | end | |
7795 | for _,c in pairs(gPlayers:GetChildren()) do | |
7796 | c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100) | |
7797 | end | |
7798 | for _,c in pairs(gPlayers:GetChildren()) do | |
7799 | c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
7800 | end | |
7801 | end) | |
7802 | end | |
7803 | end) | |
7804 | ||
7805 | addcmd('explorer', 'opens DEX',{'dex'}, | |
7806 | function(args, speaker) | |
7807 | if speaker.userId ~= LP.userId then | |
7808 | lponly(speaker) | |
7809 | else | |
7810 | loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)() | |
7811 | end | |
7812 | end) | |
7813 | ||
7814 | addcmd('iyspam', '/shrug',{}, | |
7815 | function(args, speaker) | |
7816 | loadstring(game:HttpGet(('https://pastebin.com/raw/aJ15LAbN'),true))() | |
7817 | end) | |
7818 | ||
7819 | addcmd('firstp', 'forces player to go into first person',{}, | |
7820 | function(args, speaker) | |
7821 | local players = getPlayer(args[1], speaker) | |
7822 | for i,v in pairs(players)do | |
7823 | gPlayers[v].CameraMode = "LockFirstPerson" | |
7824 | end | |
7825 | end) | |
7826 | ||
7827 | addcmd('lock', 'locks a players body parts',{}, | |
7828 | function(args, speaker) | |
7829 | local players = getPlayer(args[1], speaker) | |
7830 | for i,v in pairs(players)do | |
7831 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
7832 | if v:IsA("Part") then | |
7833 | v.Locked = true | |
7834 | end end end | |
7835 | end) | |
7836 | ||
7837 | addcmd('unlock', 'locks a players body parts',{}, | |
7838 | function(args, speaker) | |
7839 | local players = getPlayer(args[1], speaker) | |
7840 | for i,v in pairs(players)do | |
7841 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
7842 | if v:IsA("Part") then | |
7843 | v.Locked = false | |
7844 | end end end | |
7845 | end) | |
7846 | ||
7847 | addcmd('disablereset', 'makes a player unable to reset',{'noreset'}, | |
7848 | function(args, speaker) | |
7849 | local players = getPlayer(args[1], speaker) | |
7850 | for i,v in pairs(players)do | |
7851 | spawn(function() | |
7852 | gPlayers[v].Character.Humanoid.Name = "HumanoidIY" | |
7853 | if FindTable(SPC, args[1]) then Notify('Disabled reset for ' .. args[1]) else | |
7854 | Notify('Disabled reset for player(s)') end | |
7855 | end) | |
7856 | end | |
7857 | end) | |
7858 | ||
7859 | addcmd('enablereset', 'makes a player unable to reset',{'reset'}, | |
7860 | function(args, speaker) | |
7861 | local players = getPlayer(args[1], speaker) | |
7862 | for i,v in pairs(players)do | |
7863 | spawn(function() | |
7864 | gPlayers[v].Character.HumanoidIY.Name = "Humanoid" | |
7865 | if FindTable(SPC, args[1]) then Notify('Enabled reset for ' .. args[1]) else | |
7866 | Notify('Enabled reset for player(s)') end | |
7867 | end) | |
7868 | end | |
7869 | end) | |
7870 | ||
7871 | addcmd("fixlighting","Removes effects from lighting",{'fixl'}, | |
7872 | function(args,speaker) | |
7873 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
7874 | if v:IsA("PostEffect") then | |
7875 | v:Destroy() | |
7876 | end | |
7877 | end | |
7878 | LightingService.Ambient = origsettings.abt | |
7879 | LightingService.OutdoorAmbient = origsettings.oabt | |
7880 | LightingService.Brightness = origsettings.brt | |
7881 | LightingService.TimeOfDay = origsettings.time | |
7882 | LightingService.FogColor = origsettings.fclr | |
7883 | LightingService.FogEnd = origsettings.fe | |
7884 | LightingService.FogStart = origsettings.fs | |
7885 | end) | |
7886 | ||
7887 | addcmd("savelighting","Removes effects from lighting",{'slighting'}, | |
7888 | function(args,speaker) | |
7889 | origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time = | |
7890 | LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart} | |
7891 | Notify('Saved lighting settings') | |
7892 | end) | |
7893 | ||
7894 | addcmd("blackandwhite","Makes the game black and white",{}, | |
7895 | function(args,speaker) | |
7896 | local lighting = game:GetService("Lighting") | |
7897 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7898 | effect.Saturation = -1 | |
7899 | end) | |
7900 | ||
7901 | addcmd("invert","Makes the game inverted",{}, | |
7902 | function(args,speaker) | |
7903 | local lighting = game:GetService("Lighting") | |
7904 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7905 | effect.Saturation = -1 | |
7906 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7907 | effect.Saturation = -1 | |
7908 | end) | |
7909 | ||
7910 | addcmd("sun","Intensifys the sun",{}, | |
7911 | function(args,speaker) | |
7912 | local intense = args[1] or 0.25 | |
7913 | local spread = args[2] or 1 | |
7914 | local lighting = game:GetService("Lighting") | |
7915 | local effect = Instance.new("SunRaysEffect",lighting) | |
7916 | effect.Name = "IYsun" | |
7917 | effect.Intensity = tonumber(intense) | |
7918 | effect.Spread = tonumber(spread) | |
7919 | end) | |
7920 | ||
7921 | addcmd('base', 'spawns a base',{}, | |
7922 | function(args, speaker) | |
7923 | local pt = Instance.new("Part") | |
7924 | pt.BrickColor = BrickColor.new("Silver") | |
7925 | pt.Anchored = true | |
7926 | pt.CanCollide = true | |
7927 | pt.BottomSurface = "Weld" | |
7928 | pt.Parent = workspace | |
7929 | pt.Name = (math.random(1,1000000)) | |
7930 | pt.Size = Vector3.new(1000, 1, 1000) | |
7931 | pt.Locked = true | |
7932 | Notify('Created new base') | |
7933 | end) | |
7934 | ||
7935 | addcmd('unblur', 'removes all blur instances',{'noblur'}, | |
7936 | function(args, speaker) | |
7937 | for i,v in pairs(LightingService:GetChildren()) do | |
7938 | if v:IsA('BlurEffect') then | |
7939 | v:Destroy() | |
7940 | end | |
7941 | end | |
7942 | end) | |
7943 | ||
7944 | addcmd('thirdp', 'allows player to go into third person',{}, | |
7945 | function(args, speaker) | |
7946 | local players = getPlayer(args[1], speaker) | |
7947 | for i,v in pairs(players)do | |
7948 | gPlayers[v].CameraMode = "Classic" | |
7949 | end | |
7950 | end) | |
7951 | ||
7952 | addcmd('chat', 'forces player to chat what you input',{}, | |
7953 | function(args, speaker) | |
7954 | local players = getPlayer(args[1], speaker) | |
7955 | for i,v in pairs(players)do | |
7956 | game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3) | |
7957 | end | |
7958 | end) | |
7959 | ||
7960 | addcmd('name', 'names player',{}, | |
7961 | function(args, speaker) | |
7962 | local players = getPlayer(args[1], speaker) | |
7963 | if not args[1] then return end | |
7964 | for i,v in pairs(players) do | |
7965 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7966 | if mod:FindFirstChild("TAG") then | |
7967 | gPlayers[v].Character.Head.Transparency = 0 | |
7968 | mod:Destroy() | |
7969 | end | |
7970 | end | |
7971 | ||
7972 | local char = gPlayers[v].Character | |
7973 | local model = Instance.new("Model", char) | |
7974 | local clone = char.Head:Clone() | |
7975 | local hum = Instance.new("Humanoid", model) | |
7976 | local weld = Instance.new("Weld", clone) | |
7977 | model.Name = GLS(false, 1) | |
7978 | clone.Parent = model | |
7979 | hum.Name = "TAG" | |
7980 | hum.MaxHealth = 100 | |
7981 | hum.Health = 100 | |
7982 | weld.Part0 = clone | |
7983 | weld.Part1 = char.Head | |
7984 | char.Head.Transparency = 1 | |
7985 | end | |
7986 | end) | |
7987 | ||
7988 | addcmd('unname', 'unnames player',{'unhidename'}, | |
7989 | function(args, speaker) | |
7990 | local players = getPlayer(args[1], speaker) | |
7991 | local name = (args[2]) | |
7992 | for i,v in pairs(players) do | |
7993 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7994 | if mod:FindFirstChild("TAG") then | |
7995 | gPlayers[v].Character.Head.Transparency = 0 | |
7996 | mod:Destroy() | |
7997 | end | |
7998 | end | |
7999 | end | |
8000 | end) | |
8001 | ||
8002 | addcmd('noname', 'hides the players name',{'hidename'}, | |
8003 | function(args, speaker) | |
8004 | local players = getPlayer(args[1], speaker) | |
8005 | for i,v in pairs(players) do | |
8006 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
8007 | if mod:FindFirstChild("TAG") then | |
8008 | gPlayers[v].Character.Head.Transparency = 0 | |
8009 | mod:Destroy() | |
8010 | end | |
8011 | end | |
8012 | ||
8013 | local char = gPlayers[v].Character | |
8014 | local model = Instance.new("Model", char) | |
8015 | local clone = char.Head:Clone() | |
8016 | local hum = Instance.new("Humanoid", model) | |
8017 | local weld = Instance.new("Weld", clone) | |
8018 | model.Name = "" | |
8019 | clone.Parent = model | |
8020 | hum.Name = "TAG" | |
8021 | hum.MaxHealth = 100 | |
8022 | hum.Health = 100 | |
8023 | weld.Part0 = clone | |
8024 | weld.Part1 = char.Head | |
8025 | char.Head.Transparency = 1 | |
8026 | end | |
8027 | end) | |
8028 | ||
8029 | addcmd('damage', 'damages a player',{}, | |
8030 | function(args, speaker) | |
8031 | local players = getPlayer(args[1], speaker) | |
8032 | for i,v in pairs(players) do | |
8033 | gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25 | |
8034 | end | |
8035 | end) | |
8036 | ||
8037 | addcmd('view', 'views player',{'spectate'}, | |
8038 | function(args, speaker) | |
8039 | local players = getPlayer(args[1], speaker) | |
8040 | for i,v in pairs(players) do | |
8041 | workspace.CurrentCamera.CameraSubject = gPlayers[v].Character | |
8042 | Notify('Viewing ' .. gPlayers[v].Name) | |
8043 | end | |
8044 | end) | |
8045 | ||
8046 | addcmd('unview', 'stops viewing player',{'unspectate'}, | |
8047 | function() | |
8048 | workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
8049 | Notify('View turned off') | |
8050 | end) | |
8051 | ||
8052 | addcmd('nolimbs', 'removes limbs from player',{'rlimbs'}, | |
8053 | function(args, speaker) | |
8054 | local players = getPlayer(args[1], speaker) | |
8055 | for i,v in pairs(players) do | |
8056 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
8057 | if v:IsA("BasePart") and | |
8058 | v.Name == "Right Leg" or | |
8059 | v.Name == "Left Leg" or | |
8060 | v.Name == "Right Arm" or | |
8061 | v.Name == "Left Arm" then | |
8062 | v:Destroy() | |
8063 | end | |
8064 | end | |
8065 | end | |
8066 | end) | |
8067 | ||
8068 | addcmd('noarms', 'removes arms from player',{'rarms'}, | |
8069 | function(args, speaker) | |
8070 | local players = getPlayer(args[1], speaker) | |
8071 | for i,v in pairs(players) do | |
8072 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
8073 | if v:IsA("BasePart") and | |
8074 | v.Name == "Right Arm" or | |
8075 | v.Name == "Left Arm" then | |
8076 | v:Destroy() | |
8077 | end | |
8078 | end | |
8079 | end | |
8080 | end) | |
8081 | ||
8082 | addcmd('torso', 'just a torso....',{}, | |
8083 | function(args, speaker) | |
8084 | local players = getPlayer(args[1], speaker) | |
8085 | for i,v in pairs(players) do | |
8086 | spawn(function() | |
8087 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
8088 | if v:IsA("BasePart") and | |
8089 | v.Name == "Right Leg" or | |
8090 | v.Name == "Left Leg" or | |
8091 | v.Name == "Right Arm" or | |
8092 | v.Name == "Left Arm" or | |
8093 | v:IsA('Decal') or v:IsA('Texture') or | |
8094 | v:IsA('Accessory') then | |
8095 | v:Destroy() | |
8096 | end | |
8097 | end | |
8098 | gPlayers[v].Character.Head.Transparency = 1 | |
8099 | end) | |
8100 | end | |
8101 | end) | |
8102 | ||
8103 | addcmd('box', 'creates a box around player',{}, | |
8104 | function(args, speaker) | |
8105 | local players = getPlayer(args[1], speaker) | |
8106 | for i,v in pairs(players)do | |
8107 | local pchar=_char(v) | |
8108 | local SB = Instance.new("SelectionBox", pchar) | |
8109 | SB.Adornee = SB.Parent | |
8110 | end | |
8111 | end) | |
8112 | ||
8113 | addcmd('nobox', 'takes away box from player',{'unbox'}, | |
8114 | function(args, speaker) | |
8115 | local players = getPlayer(args[1], speaker) | |
8116 | for i,v in pairs(players)do | |
8117 | local pchar=_char(v) | |
8118 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
8119 | if v:IsA("SelectionBox") then | |
8120 | v:Destroy() | |
8121 | end | |
8122 | end | |
8123 | end | |
8124 | end) | |
8125 | ||
8126 | addcmd('ghost', 'ghostifys player',{}, | |
8127 | function(args, speaker) | |
8128 | local players = getPlayer(args[1], speaker) | |
8129 | for i,v in pairs(players)do | |
8130 | local pchar=gPlayers[v].Character | |
8131 | pchar.Head.Transparency = 0.5 | |
8132 | pchar.Torso.Transparency = 0.5 | |
8133 | pchar["Left Arm"].Transparency = 0.5 | |
8134 | pchar["Right Arm"].Transparency = 0.5 | |
8135 | pchar["Left Leg"].Transparency = 0.5 | |
8136 | pchar["Right Leg"].Transparency = 0.5 | |
8137 | pchar.Head.face.Transparency = 0.5 | |
8138 | end | |
8139 | end) | |
8140 | ||
8141 | addcmd('unghost', 'unghostifys player',{'noghost'}, | |
8142 | function(args, speaker) | |
8143 | local players = getPlayer(args[1], speaker) | |
8144 | for i,v in pairs(players)do | |
8145 | local pchar=gPlayers[v].Character | |
8146 | pchar.Head.Transparency = 0 | |
8147 | pchar.Torso.Transparency = 0 | |
8148 | pchar["Left Arm"].Transparency = 0 | |
8149 | pchar["Right Arm"].Transparency = 0 | |
8150 | pchar["Left Leg"].Transparency = 0 | |
8151 | pchar["Right Leg"].Transparency = 0 | |
8152 | pchar.Head.face.Transparency = 0 | |
8153 | end | |
8154 | end) | |
8155 | ||
8156 | addcmd('sphere', 'puts sphere around player',{}, | |
8157 | function(args, speaker) | |
8158 | local players = getPlayer(args[1], speaker) | |
8159 | for i,v in pairs(players)do | |
8160 | local pchar=gPlayers[v].Character | |
8161 | local SS = Instance.new("SelectionSphere", pchar) | |
8162 | SS.Adornee = SS.Parent | |
8163 | end | |
8164 | end) | |
8165 | ||
8166 | addcmd('unsphere', 'removes sphere around player',{}, | |
8167 | function(args, speaker) | |
8168 | local players = getPlayer(args[1], speaker) | |
8169 | for i,v in pairs(players)do | |
8170 | local pchar=_char(v) | |
8171 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
8172 | if v:IsA("SelectionSphere") then | |
8173 | v:Destroy() | |
8174 | end | |
8175 | end | |
8176 | end | |
8177 | end) | |
8178 | ||
8179 | addcmd('ambient','changes ambient',{}, | |
8180 | function(args, speaker) | |
8181 | LightingService.Ambient = Color3.fromRGB(args[1],args[2],args[3]) | |
8182 | LightingService.OutdoorAmbient = Color3.fromRGB(args[1],args[2],args[3]) | |
8183 | end) | |
8184 | ||
8185 | addcmd('fogend','changes the fogend',{}, | |
8186 | function(args, speaker) | |
8187 | LightingService.FogEnd = args[1] | |
8188 | end) | |
8189 | ||
8190 | addcmd('fogcolor','changes the fogs color',{}, | |
8191 | function(args, speaker) | |
8192 | LightingService.FogColor = Color3.fromRGB(args[1],args[2],args[3]) | |
8193 | end) | |
8194 | ||
8195 | injail = {} | |
8196 | addcmd('jail','jails player',{}, | |
8197 | function(args, speaker) | |
8198 | local players = getPlayer(args[1], speaker) | |
8199 | for i,v in pairs(players)do | |
8200 | spawn(function() | |
8201 | if FindTable(injail, _players[v].Name) then return end | |
8202 | table.insert(injail, _players[v].Name) | |
8203 | local pchar=gPlayers[v].Character | |
8204 | local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name | |
8205 | repeat wait(0.5) | |
8206 | 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 | |
8207 | until not FindTable(injail, _players[v].Name) | |
8208 | end) | |
8209 | end | |
8210 | end) | |
8211 | ||
8212 | addcmd('unjail','unjails player',{}, | |
8213 | function(args, speaker) | |
8214 | local players = getPlayer(args[1], speaker) | |
8215 | for i,v in pairs(players)do | |
8216 | spawn(function() | |
8217 | for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end | |
8218 | workspace["JAIL_" .. _players[v].Name]:Destroy() | |
8219 | end) | |
8220 | end | |
8221 | end) | |
8222 | ||
8223 | loopn = {} | |
8224 | addcmd('loopname','loops a players name',{'lname'}, | |
8225 | function(args, speaker) | |
8226 | local players = getPlayer(args[1], speaker) | |
8227 | for i,v in pairs(players)do | |
8228 | spawn(function() | |
8229 | if FindTable(loopn, _players[v].Name) then return end | |
8230 | table.insert(loopn, _players[v].Name) | |
8231 | local Lname = GLS(false, 1) | |
8232 | local pchar=gPlayers[v].Character | |
8233 | pchar.Name = Lname | |
8234 | if FindTable(SPC, args[1]) then Notify('Looping name for ' .. args[1] .. ' (only visible to others)') else | |
8235 | Notify('Looping name for player(s) (only visible to others)') end | |
8236 | repeat wait(0.01) | |
8237 | repeat wait() until _players[v].Character | |
8238 | gPlayers[v].Character.Name = Lname | |
8239 | until not FindTable(loopn, _players[v].Name) | |
8240 | end) | |
8241 | end | |
8242 | end) | |
8243 | ||
8244 | addcmd('unloopname','unjails player',{'noloopname','unlname','nolname'}, | |
8245 | function(args, speaker) | |
8246 | local players = getPlayer(args[1], speaker) | |
8247 | for i,v in pairs(players)do | |
8248 | spawn(function() | |
8249 | local pchar=gPlayers[v].Character | |
8250 | for a,b in pairs(loopn) do if b == _players[v].Name then table.remove(loopn, a) end end | |
8251 | wait(0.5) | |
8252 | if FindTable(SPC, args[1]) then Notify('Stopped looping name for ' .. args[1]) else | |
8253 | Notify('Stopped looping name for player(s)') end | |
8254 | pchar.Name = gPlayers[v].Name | |
8255 | end) | |
8256 | end | |
8257 | end) | |
8258 | ||
8259 | addcmd('loopbring','loop brings a player lol',{}, | |
8260 | function(args, speaker) | |
8261 | local players = getPlayer(args[1], speaker) | |
8262 | for i,v in pairs(players)do | |
8263 | spawn(function() | |
8264 | if FindTable(bringT, _players[v].Name) then return end | |
8265 | table.insert(bringT, _players[v].Name) | |
8266 | local pchar=gPlayers[v].Character | |
8267 | pchar.Humanoid.Jump = true | |
8268 | repeat wait(0.5) | |
8269 | pchar = _players[v].Character | |
8270 | for i,c in pairs(players) do | |
8271 | if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then | |
8272 | pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0) | |
8273 | end | |
8274 | end | |
8275 | until not FindTable(bringT, _players[v].Name) | |
8276 | end) | |
8277 | end | |
8278 | end) | |
8279 | ||
8280 | addcmd('feinvisible','fe invisible',{'feinvis'}, | |
8281 | function(args, speaker) | |
8282 | -- Elite1337#9377 & Timeless#4044 | |
8283 | local function CheckRig() | |
8284 | if Player.Character then | |
8285 | local Humanoid = Player.Character:WaitForChild('Humanoid') | |
8286 | if Humanoid.RigType == Enum.HumanoidRigType.R15 then | |
8287 | return 'R15' | |
8288 | else | |
8289 | return 'R6' | |
8290 | end | |
8291 | end | |
8292 | end | |
8293 | local function InitiateInvis() | |
8294 | local Character = Player.Character | |
8295 | local StoredCF = Character.PrimaryPart.CFrame | |
8296 | local Part = Instance.new('Part',workspace) | |
8297 | Part.Size = Vector3.new(5,0,5) | |
8298 | Part.Anchored = true | |
8299 | Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999)) | |
8300 | Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0) | |
8301 | spawn(function() | |
8302 | wait(3) | |
8303 | Part:Destroy() | |
8304 | end) | |
8305 | if CheckRig() == 'R6' then | |
8306 | local Clone = Character.HumanoidRootPart:Clone() | |
8307 | Character.HumanoidRootPart:Destroy() | |
8308 | Clone.Parent = Character | |
8309 | else | |
8310 | local Clone = Character.LowerTorso.Root:Clone() | |
8311 | Character.LowerTorso.Root:Destroy() | |
8312 | Clone.Parent = Character.LowerTorso | |
8313 | end | |
8314 | end | |
8315 | InitiateInvis() | |
8316 | end) | |
8317 | ||
8318 | addcmd('unloopbring','unjails player',{'noloopbring'}, | |
8319 | function(args, speaker) | |
8320 | local players = getPlayer(args[1], speaker) | |
8321 | for i,v in pairs(players)do | |
8322 | spawn(function() | |
8323 | for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end | |
8324 | end) | |
8325 | end | |
8326 | end) | |
8327 | ||
8328 | strobe = false | |
8329 | addcmd('strobe','makes the server flash',{'flash'}, | |
8330 | function(args, speaker) | |
8331 | if strobe == false then | |
8332 | strobep = Instance.new("ColorCorrectionEffect") | |
8333 | strobep.Brightness = 1 | |
8334 | strobep.Parent = LightingService | |
8335 | strobe = true | |
8336 | repeat wait(0.01) | |
8337 | strobep.Enabled = true | |
8338 | wait(0.01) | |
8339 | strobep.Enabled = false | |
8340 | until strobe == false | |
8341 | end | |
8342 | end) | |
8343 | ||
8344 | addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'}, | |
8345 | function(args, speaker) | |
8346 | strobe = false | |
8347 | strobep:Destroy() | |
8348 | end) | |
8349 | ||
8350 | addcmd('shutdown', 'shuts the server down',{}, | |
8351 | function(args, speaker) | |
8352 | Notify('Broken atm :(') | |
8353 | end) | |
8354 | ||
8355 | addcmd('fekill','oof?',{}, | |
8356 | function(args, speaker) | |
8357 | local players = getPlayer(args[1], speaker) | |
8358 | for i,v in pairs(players)do | |
8359 | -- illremember's cool fe kill script | |
8360 | local Target = gPlayers[v].Name | |
8361 | game:GetService("Players").LocalPlayer.Character.Humanoid.Name = 1 | |
8362 | local l = game:GetService("Players").LocalPlayer.Character["1"]:Clone() | |
8363 | l.Parent = game:GetService("Players").LocalPlayer.Character | |
8364 | l.Name = "Humanoid" | |
8365 | wait(0.1) | |
8366 | game:GetService("Players").LocalPlayer.Character["1"]:Destroy() | |
8367 | game.Workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character | |
8368 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = true | |
8369 | wait(0.1) | |
8370 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = false | |
8371 | game:GetService("Players").LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
8372 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
8373 | game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(v) | |
8374 | v.CanBeDropped = true | |
8375 | end | |
8376 | wait(0.1) | |
8377 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame | |
8378 | wait(0.1) | |
8379 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame | |
8380 | wait(0.2) | |
8381 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000)) | |
8382 | end | |
8383 | end) | |
8384 | ||
8385 | addcmd('animation','makes player animate',{'anim'}, | |
8386 | function(args, speaker) | |
8387 | local players = getPlayer(args[1], speaker) | |
8388 | for i,v in pairs(players)do | |
8389 | local pchar=_char(v) | |
8390 | local AnimationId = tostring(args[2]) | |
8391 | local Anim = Instance.new("Animation") | |
8392 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
8393 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
8394 | k:Play() | |
8395 | end | |
8396 | end) | |
8397 | ||
8398 | addcmd('creeper','make the player a creeper',{'crpr'}, | |
8399 | function(args, speaker) | |
8400 | local players = getPlayer(args[1], speaker) | |
8401 | for i,v in pairs(players)do | |
8402 | local pchar = gPlayers[v].Character | |
8403 | if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then | |
8404 | if pchar:FindFirstChild("Shirt") then | |
8405 | pchar.Shirt.Parent = pchar.Torso | |
8406 | end | |
8407 | if pchar:FindFirstChild("Pants") then | |
8408 | pchar.Pants.Parent = pchar.Torso | |
8409 | end | |
8410 | if pchar:FindFirstChild("Shirt Graphic") then | |
8411 | pchar["Shirt Graphic"].Graphic = "" | |
8412 | end | |
8413 | for i,v in pairs(pchar:GetChildren()) do | |
8414 | if v:IsA("Accessory") then | |
8415 | v:Destroy() | |
8416 | end | |
8417 | end | |
8418 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
8419 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0) | |
8420 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0) | |
8421 | pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0) | |
8422 | pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0) | |
8423 | pchar["Body Colors"].HeadColor = BrickColor.new("Bright green") | |
8424 | pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green") | |
8425 | pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green") | |
8426 | pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green") | |
8427 | pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green") | |
8428 | pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green") | |
8429 | end | |
8430 | end | |
8431 | end) | |
8432 | ||
8433 | addcmd('uncreeper','makes player back to normal',{}, | |
8434 | function(args, speaker) | |
8435 | local players = getPlayer(args[1], speaker) | |
8436 | for i,v in pairs(players)do | |
8437 | refresh(gPlayers[v]) | |
8438 | end | |
8439 | end) | |
8440 | ||
8441 | addcmd('crash','crashes a player',{}, | |
8442 | function(args, speaker) | |
8443 | local players = getPlayer(args[1], speaker) | |
8444 | for i,v in pairs(players)do | |
8445 | if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else | |
8446 | if FindTable(SPC, args[1]) then Notify('Crashed ' .. args[1]) else | |
8447 | Notify('Crashed player(s)') end | |
8448 | wait(4) | |
8449 | if gPlayers[v] ~= nil then | |
8450 | for i=1,3600 do | |
8451 | Instance.new("Tool",gPlayers[v].Backpack).Name = "-" | |
8452 | end | |
8453 | wait() | |
8454 | for i=1,3600 do | |
8455 | Instance.new("Tool",gPlayers[v].Backpack).Name = "-" | |
8456 | end | |
8457 | wait() | |
8458 | end | |
8459 | end | |
8460 | end | |
8461 | end) | |
8462 | ||
8463 | addcmd('shrek', 'makes player shrek',{}, | |
8464 | function(args, speaker) | |
8465 | local players = getPlayer(args[1], speaker) | |
8466 | for i,v in pairs(players) do | |
8467 | local pchar = gPlayers[v].Character | |
8468 | for i,v in pairs(pchar:GetChildren()) do | |
8469 | if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") | |
8470 | then | |
8471 | v:Destroy() | |
8472 | end | |
8473 | end | |
8474 | for i,v in pairs(pchar.Head:GetChildren()) do | |
8475 | if v:IsA("Decal") or v:IsA("SpecialMesh") then | |
8476 | v:Destroy() | |
8477 | end | |
8478 | end | |
8479 | ||
8480 | local mesh = Instance.new("SpecialMesh", pchar.Head) | |
8481 | mesh.MeshType = "FileMesh" | |
8482 | pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257" | |
8483 | pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0) | |
8484 | pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869" | |
8485 | ||
8486 | local Shirt = Instance.new("Shirt", gPlayers[v].Character) | |
8487 | local Pants = Instance.new("Pants", gPlayers[v].Character) | |
8488 | ||
8489 | Shirt.ShirtTemplate = "rbxassetid://133078194" | |
8490 | Pants.PantsTemplate = "rbxassetid://133078204" | |
8491 | end | |
8492 | end) | |
8493 | ||
8494 | addcmd('unshrek','makes player back to normal',{}, | |
8495 | function(args, speaker) | |
8496 | local players = getPlayer(args[1], speaker) | |
8497 | for i,v in pairs(players)do | |
8498 | refresh(gPlayers[v]) | |
8499 | end | |
8500 | end) | |
8501 | ||
8502 | addcmd('oof','good things happen',{}, | |
8503 | function(args, speaker) | |
8504 | local players = getPlayer(args[1], speaker) | |
8505 | for i,v in pairs(players)do | |
8506 | spawn(function() | |
8507 | if gPlayers[v].Character.Head:FindFirstChild("Died") then gPlayers[v].Character.Head.Died.Looped = true wait(0.1) gPlayers[v].Character.Head.Died.Playing = true | |
8508 | gPlayers[v].Character.Head.Died.Volume = 10 | |
8509 | gPlayers[v].Character.Head.Died.Pitch = 0.5 | |
8510 | end | |
8511 | execCmd("size " .. gPlayers[v].Name .. ' -1') | |
8512 | execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000') | |
8513 | wait(5) | |
8514 | execCmd("explode " .. gPlayers[v].Name) | |
8515 | wait(0.1) | |
8516 | gPlayers[v].Character.Humanoid.Health = 0 | |
8517 | end) | |
8518 | end | |
8519 | end) | |
8520 | ||
8521 | addcmd('control','controls player',{}, | |
8522 | function(args, speaker) | |
8523 | local players = getPlayer(args[1], speaker) | |
8524 | for i,v in pairs(players)do | |
8525 | spawn(function() | |
8526 | local pchar = gPlayers[v].Character | |
8527 | if gPlayers[v] and pchar then | |
8528 | execCmd("invisible " .. speaker.Name) | |
8529 | pchar.Humanoid.PlatformStand = true | |
8530 | local w = Instance.new("Weld", speaker.Character.Torso) | |
8531 | w.Part0 = speaker.Character.Torso | |
8532 | w.Part1 = pchar.Torso | |
8533 | local w2 = Instance.new("Weld", speaker.Character.Head) | |
8534 | w2.Part0 = speaker.Character.Head | |
8535 | w2.Part1 = pchar.Head | |
8536 | local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm")) | |
8537 | w3.Part0 = speaker.Character:findFirstChild("Right Arm") | |
8538 | w3.Part1 = pchar:findFirstChild("Right Arm") | |
8539 | local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm")) | |
8540 | w4.Part0 = speaker.Character:findFirstChild("Left Arm") | |
8541 | w4.Part1 = pchar:findFirstChild("Left Arm") | |
8542 | local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg")) | |
8543 | w5.Part0 = speaker.Character:findFirstChild("Right Leg") | |
8544 | w5.Part1 = pchar:findFirstChild("Right Leg") | |
8545 | local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg")) | |
8546 | w6.Part0 = speaker.Character:findFirstChild("Left Leg") | |
8547 | w6.Part1 = pchar:findFirstChild("Left Leg") | |
8548 | char.Head.face:Destroy() | |
8549 | for i,v in pairs(pchar:GetChildren()) do | |
8550 | if v:IsA("BasePart") then | |
8551 | v.CanCollide = false | |
8552 | end | |
8553 | end | |
8554 | for i,v in pairs(char:GetChildren()) do | |
8555 | if v:IsA("BasePart") then | |
8556 | v.Transparency = 1 | |
8557 | elseif v:IsA("Accessory") then | |
8558 | v:Destroy() | |
8559 | end | |
8560 | end | |
8561 | pchar.Parent = char | |
8562 | pchar.Humanoid.Changed:connect(function() | |
8563 | pchar.Humanoid.PlatformStand = true | |
8564 | end) | |
8565 | end | |
8566 | end) | |
8567 | end | |
8568 | end) | |
8569 | ||
8570 | addcmd('nuke','nukes player',{}, -- from MML | |
8571 | function(args, speaker) | |
8572 | local players = getPlayer(args[1], speaker) | |
8573 | for i,v in pairs(players)do | |
8574 | spawn(function() | |
8575 | local pchar = gPlayers[v].Character | |
8576 | local Pos = CFrame.new(0,1,0) | |
8577 | if pchar and pchar:FindFirstChild("HumanoidRootPart") then Pos = pchar.HumanoidRootPart.CFrame * CFrame.new(0,1,0) end | |
8578 | local Blast = Instance.new("Part", workspace) Blast.Name = "BlastEx" Blast.Anchored = true Blast.CanCollide = false Blast.Size = Vector3.new(1,1,1) Blast.CFrame = Pos | |
8579 | local BlastMesh = Instance.new("SpecialMesh", Blast) BlastMesh.MeshId = "rbxassetid://1290033" BlastMesh.TextureId = "rbxassetid://33145325" BlastMesh.Scale = Vector3.new(0,0,0) | |
8580 | local Wave = Instance.new("Part", workspace) Wave.BrickColor = BrickColor.new("Deep orange") Wave.Name = "WaveEx" Wave.Anchored = true Wave.CanCollide = false Wave.Size = Vector3.new(1,1,1) Wave.CFrame = Pos * CFrame.Angles(math.pi/2,0,0) | |
8581 | local WaveMesh = Instance.new("SpecialMesh", Wave) WaveMesh.MeshId = "rbxassetid://3270017" | |
8582 | local Light = Instance.new("PointLight", Blast) Light.Brightness = 1000 Light.Range = 10000 Light.Color = Color3.new(1,0.2,0.2) | |
8583 | ||
8584 | local Effect = Instance.new("ColorCorrectionEffect", gLighting) Effect.Brightness = 0.2 Effect.Contrast = 0.4 Effect.Saturation = 1 Effect.TintColor = Color3.new(1,0.2,0.2) | |
8585 | ||
8586 | gLighting.Brightness = 5 | |
8587 | gLighting.Ambient = Color3.new(1,0.5,0.5) | |
8588 | gLighting.OutdoorAmbient = Color3.new(1,1,1) | |
8589 | ||
8590 | local Exp = Instance.new("Explosion", workspace) | |
8591 | Exp.Position = Pos.p | |
8592 | Exp.BlastPressure = 10000000 | |
8593 | Exp.BlastRadius = 1000000 | |
8594 | Exp.Hit:connect(function(Part) | |
8595 | if Part.Name ~= "Base" and Part.Name ~= "BasePlate" and Part ~= Blast and Part ~= Wave and Part.Name ~= "BlastEx" and Part.Name ~= "WaveEx" then | |
8596 | ypcall(function() | |
8597 | Part.Anchored = false | |
8598 | Part.BrickColor = BrickColor.new("Black") | |
8599 | Part.Material = "Slate" | |
8600 | Part:BreakJoints() | |
8601 | end) | |
8602 | end | |
8603 | end) | |
8604 | ||
8605 | local BoomSound = Instance.new('Sound') BoomSound.Parent = workspace | |
8606 | BoomSound.SoundId = 'rbxassetid://212389494' | |
8607 | BoomSound:Play() | |
8608 | for i = 0,100,0.5 do | |
8609 | Blast.Anchored = true | |
8610 | Wave.Anchored = true | |
8611 | BlastMesh.Scale = Vector3.new(i,i,i) | |
8612 | WaveMesh.Scale = Vector3.new(i^1.3,i^1.3,5) | |
8613 | Blast.CFrame = Pos | |
8614 | wait() | |
8615 | end | |
8616 | BoomSound:Stop() | |
8617 | Blast:Destroy() | |
8618 | Wave:Destroy() | |
8619 | wait() | |
8620 | BoomSound:Destroy() | |
8621 | Effect:Destroy() | |
8622 | for i = 10,5,-1 do | |
8623 | gLighting.Brightness = (i-5) + 1 | |
8624 | gLighting.Ambient = Color3.new(i/10,0.5,0.5) | |
8625 | gLighting.OutdoorAmbient = Color3.new(i/10,i/10,i/10) | |
8626 | wait(0.05) | |
8627 | end | |
8628 | end) | |
8629 | end | |
8630 | end) | |
8631 | ||
8632 | addcmd('dong','gives a player a penis',{'penis'}, | |
8633 | function(args, speaker) | |
8634 | local players = getPlayer(args[1], speaker) | |
8635 | for i,v in pairs(players)do | |
8636 | spawn(function() | |
8637 | if gPlayers[v].Character:FindFirstChild('wang') then | |
8638 | gPlayers[v].Character.wang:destroy() | |
8639 | end | |
8640 | local D = Instance.new('Model', gPlayers[v].Character) | |
8641 | D.Name = 'DONG' | |
8642 | local BG = Instance.new('BodyGyro', gPlayers[v].Character.Torso) | |
8643 | local MAIN = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8644 | local M1 = Instance.new('CylinderMesh', MAIN) | |
8645 | local W1 = Instance.new('Weld', gPlayers[v].Character.Head) | |
8646 | local P1 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8647 | local M2 = Instance.new('SpecialMesh', P1) | |
8648 | local W2 = Instance.new('Weld', P1) | |
8649 | local B1 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8650 | local M3 = Instance.new('SpecialMesh', B1) | |
8651 | local W3 = Instance.new('Weld', B1) | |
8652 | local B2 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8653 | local M4 = Instance.new('SpecialMesh', B2) | |
8654 | local W4 = Instance.new('Weld', B2) | |
8655 | MAIN.TopSurface = 0 MAIN.BottomSurface = 0 MAIN.Name = 'Main' MAIN.Size = Vector3.new(0.6, 2.5, 0.6) MAIN.BrickColor = BrickColor.new('Pastel brown') MAIN.Position = gPlayers[v].Character.Head.Position MAIN.CanCollide = false | |
8656 | W1.Part0 = MAIN W1.Part1 = gPlayers[v].Character.Head W1.C0 = CFrame.new(0, 0.25, 2.1) * CFrame.Angles(math.rad(45), 0, 0) | |
8657 | 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 | |
8658 | M2.MeshType = 'Sphere' | |
8659 | W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0) | |
8660 | B1.Name = 'Left Ball' B1.BottomSurface = 0 B1.TopSurface = 0 B1.CanCollide = false B1.Size = Vector3.new(1, 1, 1) B1.CFrame = CFrame.new(gPlayers[v].Character['Left Leg'].Position) B1.BrickColor = BrickColor.new('Pastel brown') | |
8661 | M3.Parent = B1 M3.MeshType = 'Sphere' | |
8662 | W3.Part0 = gPlayers[v].Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5) | |
8663 | B2.Name = 'Right Ball' B2.BottomSurface = 0 B2.CanCollide = false B2.TopSurface = 0 B2.Size = Vector3.new(1, 1, 1) B2.CFrame = CFrame.new(gPlayers[v].Character['Right Leg'].Position) B2.BrickColor = BrickColor.new('Pastel brown') | |
8664 | M4.MeshType = 'Sphere' | |
8665 | W4.Part0 = gPlayers[v].Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5) | |
8666 | end) | |
8667 | end | |
8668 | end) | |
8669 | ||
8670 | addcmd('undong','gives a player a penis',{'unpenis','nopenis','nodong'}, | |
8671 | function(args, speaker) | |
8672 | local players = getPlayer(args[1], speaker) | |
8673 | for i,v in pairs(players)do | |
8674 | if gPlayers[v].Character:FindFirstChild('DONG') then | |
8675 | gPlayers[v].Character.DONG:destroy() | |
8676 | end end | |
8677 | end) | |
8678 | ||
8679 | addcmd('infect','infects player',{}, | |
8680 | function(args, speaker) | |
8681 | local players = getPlayer(args[1], speaker) | |
8682 | for i,v in pairs(players)do | |
8683 | function infect(rip) | |
8684 | local pchar = gPlayers[v].Character | |
8685 | for i,v in pairs(pchar:GetChildren()) do | |
8686 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then | |
8687 | v:Destroy() | |
8688 | end | |
8689 | end | |
8690 | if pchar.Torso:FindFirstChild("roblox") then | |
8691 | pchar.Torso.roblox:Destroy() | |
8692 | end | |
8693 | if pchar.Head:FindFirstChild("face") then | |
8694 | pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491" | |
8695 | end | |
8696 | if pchar:FindFirstChild("Body Colors") then | |
8697 | local Colors = pchar["Body Colors"] | |
8698 | local Skin = BrickColor.new("Pastel green") | |
8699 | local Clothes = BrickColor.new("Reddish brown") | |
8700 | Colors.HeadColor = Skin | |
8701 | Colors.LeftArmColor = Skin | |
8702 | Colors.RightArmColor = Skin | |
8703 | Colors.LeftLegColor = Clothes | |
8704 | Colors.RightLegColor = Clothes | |
8705 | Colors.TorsoColor = Clothes | |
8706 | end | |
8707 | local w1 = Instance.new("Weld", pchar) | |
8708 | w1.Part0 = pchar["Right Arm"] | |
8709 | w1.Part1 = pchar.Torso | |
8710 | w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
8711 | local w2 = Instance.new("Weld", pchar) | |
8712 | w2.Part0 = pchar["Left Arm"] | |
8713 | w2.Part1 = pchar.Torso | |
8714 | w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
8715 | local rip = false | |
8716 | local connect1 = pchar["Left Arm"].Touched:connect(function(hit) | |
8717 | if connect1 == false then | |
8718 | connect1 = true | |
8719 | if gPlayers:FindFirstChild(hit.Parent.Name) then | |
8720 | infect(gPlayers[hit.Parent.Name]) | |
8721 | end | |
8722 | wait(0.5) | |
8723 | connect1 = true | |
8724 | end | |
8725 | end) | |
8726 | local connect2 = pchar["Right Arm"].Touched:connect(function(hit) | |
8727 | if connect2 == false then | |
8728 | connect2 = true | |
8729 | if gPlayers:FindFirstChild(hit.Parent.Name) then | |
8730 | infect(gPlayers[hit.Parent.Name]) | |
8731 | end | |
8732 | wait(0.5) | |
8733 | connect2 = true | |
8734 | end | |
8735 | end) | |
8736 | local IV = Instance.new("IntValue", pchar) | |
8737 | IV.Name = "Infected" | |
8738 | IV.Value = 0 | |
8739 | IV.Changed:connect(function() | |
8740 | connect1:disconnect() | |
8741 | connect2:disconnect() | |
8742 | end) | |
8743 | end | |
8744 | infect(v) | |
8745 | end | |
8746 | end) | |
8747 | ||
8748 | addcmd('uninfect','makes player back to normal',{}, | |
8749 | function(args, speaker) | |
8750 | local players = getPlayer(args[1], speaker) | |
8751 | for i,v in pairs(players)do | |
8752 | refresh(gPlayers[v]) | |
8753 | end | |
8754 | end) | |
8755 | ||
8756 | addcmd('duck','makes players head a duck',{}, | |
8757 | function(args, speaker) | |
8758 | local players = getPlayer(args[1], speaker) | |
8759 | for i,v in pairs(players)do | |
8760 | local pchar = gPlayers[v].Character | |
8761 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
8762 | if v:IsA("Decal") then | |
8763 | v:Destroy() | |
8764 | end | |
8765 | end | |
8766 | for i,v in pairs(pchar:GetChildren()) do | |
8767 | if v:IsA("Accessory") then | |
8768 | v:Destroy() | |
8769 | end | |
8770 | end | |
8771 | local duck = Instance.new("SpecialMesh", pchar.Torso) | |
8772 | duck.MeshType = "FileMesh" | |
8773 | duck.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
8774 | duck.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
8775 | duck.Scale = Vector3.new(5, 5, 5) | |
8776 | pchar.Head.Transparency = 1 | |
8777 | pchar["Left Arm"].Transparency = 1 | |
8778 | pchar["Right Arm"].Transparency = 1 | |
8779 | pchar["Left Leg"].Transparency = 1 | |
8780 | pchar["Right Leg"].Transparency = 1 | |
8781 | pchar.Head.face.Transparency = 1 | |
8782 | end | |
8783 | end) | |
8784 | ||
8785 | addcmd('mage', 'mage',{}, | |
8786 | function(args, speaker) | |
8787 | if speaker.userId ~= LP.userId then | |
8788 | lponly(speaker) else | |
8789 | if not LP.PlayerGui:FindFirstChild('ChangeArc') then | |
8790 | local arcPackage = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01337781430") | |
8791 | local fakeLighting = arcPackage.Lighting | |
8792 | ||
8793 | local oldgame = game | |
8794 | local oldlighting = oldgame:GetService("Lighting") | |
8795 | ||
8796 | local proLighting = newproxy(true) | |
8797 | local mtL = getmetatable(proLighting) | |
8798 | mtL.__index = function(self,ind) | |
8799 | if fakeLighting:FindFirstChild(ind) then return fakeLighting[ind] end | |
8800 | return oldlighting[ind] | |
8801 | end | |
8802 | mtL.__newindex = function(self,ind,val) | |
8803 | oldlighting[ind] = val | |
8804 | end | |
8805 | mtL.__namecall = function(self,...) | |
8806 | local args = {...} | |
8807 | local method = table.remove(args) | |
8808 | return oldlighting(method,unpack(args)) | |
8809 | end | |
8810 | ||
8811 | local proGame = newproxy(true) | |
8812 | local mt = getmetatable(proGame) | |
8813 | mt.__index = function(self,ind) | |
8814 | if ind == "Lighting" then return proLighting end | |
8815 | return oldgame[ind] | |
8816 | end | |
8817 | mt.__namecall = function(self,...) | |
8818 | local args = {...} | |
8819 | local method = table.remove(args) | |
8820 | if method:lower() == "getservice" and args[1] == "Lighting" then return fakeLighting end | |
8821 | return oldgame(method,unpack(args)) | |
8822 | end | |
8823 | ||
8824 | wait() | |
8825 | local destructAnchored = false | |
8826 | local maxMass = 1000 | |
8827 | ||
8828 | function newCESS(scr) | |
8829 | local newFunc = loadstring(scr.Source) | |
8830 | if type(newFunc) ~= "function" then return end | |
8831 | setfenv(newFunc,setmetatable({script = scr},{ | |
8832 | __index = function(self,ind) | |
8833 | if ind == "game" then return proGame end | |
8834 | return getfenv()[ind] | |
8835 | end, | |
8836 | __newindex = function(self,ind,val) | |
8837 | rawset(self,ind,val) | |
8838 | end | |
8839 | })) | |
8840 | pcall(function()spawn(newFunc)end) | |
8841 | end | |
8842 | ||
8843 | gPlayers.LocalPlayer.Character.Humanoid.MaxHealth = 999999999 | |
8844 | gPlayers.LocalPlayer.Character.Humanoid.Health = 999999999 | |
8845 | ||
8846 | function destroyHook(obj,replacement,par) | |
8847 | obj:GetPropertyChangedSignal("Parent"):Connect(function() | |
8848 | local newObj = replacement:Clone() | |
8849 | if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end | |
8850 | newObj.Parent = par | |
8851 | destroyHook(newObj,replacement,par) | |
8852 | end) | |
8853 | end | |
8854 | ||
8855 | for i,v in pairs(arcPackage.PlayerGui:GetChildren()) do | |
8856 | local newObj = v:Clone() | |
8857 | if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end | |
8858 | newObj.Parent = gPlayers.LocalPlayer.PlayerGui | |
8859 | destroyHook(newObj,v,gPlayers.LocalPlayer.PlayerGui) | |
8860 | end | |
8861 | ||
8862 | function replaceScripts(root) | |
8863 | for i,v in pairs(root:GetChildren()) do | |
8864 | if v:IsA("Script") and not v:IsA("LocalScript") then | |
8865 | local tempStore = {} | |
8866 | for i2,v2 in pairs(v:GetChildren()) do | |
8867 | table.insert(tempStore,v2:Clone()) | |
8868 | end | |
8869 | local newScript = Instance.new("LocalScript",v.Parent) | |
8870 | newScript.Name = v.Name | |
8871 | for i2,v2 in pairs(tempStore) do | |
8872 | v2.Parent = newScript | |
8873 | end | |
8874 | v:Destroy() | |
8875 | end | |
8876 | replaceScripts(v) | |
8877 | end | |
8878 | end | |
8879 | ||
8880 | local player = gPlayers.LocalPlayer | |
8881 | ||
8882 | if not gPlayers.LocalPlayer:FindFirstChild("leaderstats1") then | |
8883 | gPlayers.LocalPlayer.PlayerGui.leaderstats1.Parent = gPlayers.LocalPlayer | |
8884 | end | |
8885 | ||
8886 | if not game.ReplicatedStorage:FindFirstChild("RankScript") then | |
8887 | gPlayers.LocalPlayer.PlayerGui.RankScript.Parent = game.ReplicatedStorage | |
8888 | end | |
8889 | ||
8890 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Element") then | |
8891 | local eTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Element | |
8892 | eTemplate.Name = gPlayers.LocalPlayer.Name.."Element" | |
8893 | eTemplate.Parent = game.ReplicatedStorage | |
8894 | end | |
8895 | ||
8896 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."FakeName") then | |
8897 | local fTemplate = gPlayers.LocalPlayer.PlayerGui.Player1FakeName | |
8898 | fTemplate.Name = gPlayers.LocalPlayer.Name.."FakeName" | |
8899 | fTemplate.Parent = game.ReplicatedStorage | |
8900 | end | |
8901 | ||
8902 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Level") then | |
8903 | local lTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Level | |
8904 | lTemplate.Name = gPlayers.LocalPlayer.Name.."Level" | |
8905 | lTemplate.Parent = game.ReplicatedStorage | |
8906 | end | |
8907 | ||
8908 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Membership") then | |
8909 | local mTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Membership | |
8910 | mTemplate.Name = gPlayers.LocalPlayer.Name.."Membership" | |
8911 | mTemplate.Parent = game.ReplicatedStorage | |
8912 | end | |
8913 | ||
8914 | function getMyPlayerArea() | |
8915 | for i,v in pairs(game.Workspace.BuildingAreas:GetChildren()) do | |
8916 | if v.Player.Value == player.Name then | |
8917 | return v.PlayerArea | |
8918 | end | |
8919 | end | |
8920 | end | |
8921 | ||
8922 | local whitelistedParts = { | |
8923 | ["DamagePart"] = true, | |
8924 | ["Explosion"] = true, | |
8925 | ["Explosion2"] = true, | |
8926 | ["SuperExplosion"] = true, | |
8927 | } | |
8928 | ||
8929 | workspace.DescendantAdded:connect(function(desc) | |
8930 | if desc:IsA("Script") and desc:IsDescendantOf(gPlayers.LocalPlayer.Character) then | |
8931 | newCESS(desc) | |
8932 | elseif whitelistedParts[desc.Parent.Name] and desc:IsA("Script") then | |
8933 | newCESS(desc) | |
8934 | elseif desc:IsA("BodyGyro") then | |
8935 | desc:GetPropertyChangedSignal("MaxTorque"):Connect(function() | |
8936 | desc.MaxTorque = Vector3.new(100000,100000,100000) | |
8937 | end) | |
8938 | --elseif desc:IsA("BodyPosition") then | |
8939 | -- desc:GetPropertyChangedSignal("MaxForce"):Connect(function() | |
8940 | -- desc.MaxForce = Vector3.new(10000,10000,10000) | |
8941 | -- end) | |
8942 | end | |
8943 | end) | |
8944 | ||
8945 | player.Character.Humanoid.MaxHealth = (100+(player.leaderstats1.Level.Value*25)) | |
8946 | player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth | |
8947 | player.PlayerGui.HealthGui.MaxMana.Value = (150+(player.leaderstats1.Level.Value*25)) | |
8948 | player.PlayerGui.HealthGui.MaxXP.Value = (player.leaderstats1.Level.Value*50) | |
8949 | player.PlayerGui.HealthGui.Mana.Value = player.PlayerGui.HealthGui.MaxMana.Value | |
8950 | ||
8951 | wait(1) | |
8952 | ||
8953 | local player = gPlayers.LocalPlayer | |
8954 | ||
8955 | local arcList = player.PlayerGui.ChangeArc.Stuff.ScrollingFrame | |
8956 | local arcTemplate = player.PlayerGui.ChangeArc.Stuff.ChangeTemplate | |
8957 | ||
8958 | local arcToggler = player.PlayerGui.ChangeArc.ArcToggler.Toggle | |
8959 | local arcMoves = player.PlayerGui.ChangeArc.ArcMoves | |
8960 | local arcMovesList = arcMoves.ScrollingFrame | |
8961 | local moveTemplate = player.PlayerGui.ChangeArc.MoveTemplate | |
8962 | ||
8963 | local arcs = {} | |
8964 | ||
8965 | local currentArc = "" | |
8966 | ||
8967 | function getMove(root) | |
8968 | for i,v in pairs(root:GetChildren()) do | |
8969 | if v.Name ~= "Requirement" then | |
8970 | return v | |
8971 | end | |
8972 | end | |
8973 | return nil | |
8974 | end | |
8975 | ||
8976 | for i,v in pairs(fakeLighting.SkillFrames:GetChildren()) do | |
8977 | table.insert(arcs,v) | |
8978 | end | |
8979 | ||
8980 | for i,v in pairs(fakeLighting.Customs:GetChildren()) do | |
8981 | table.insert(arcs,v) | |
8982 | end | |
8983 | ||
8984 | for i,v in pairs(arcs) do | |
8985 | local newTemplate = arcTemplate:Clone() | |
8986 | newTemplate.ArcName.Text = v.Name | |
8987 | newTemplate.Change.MouseButton1Down:connect(function() | |
8988 | currentArc = v.Name | |
8989 | arcToggler.Parent.Visible = true | |
8990 | if fakeLighting.SkillFrames:FindFirstChild(currentArc) then | |
8991 | arcMovesList:ClearAllChildren() | |
8992 | arcToggler.Text = currentArc | |
8993 | arcMoves.Title.Text = currentArc .. " Arc" | |
8994 | for i5,v5 in pairs(fakeLighting.SkillFrames:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do | |
8995 | local myMove = getMove(v5.Learn) | |
8996 | if myMove ~= nil then | |
8997 | local newTemplate = moveTemplate:Clone() | |
8998 | newTemplate.Attack.Text = v5.Name | |
8999 | newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
9000 | newTemplate.Parent = arcMovesList | |
9001 | arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
9002 | newTemplate.Learn.MouseButton1Down:connect(function() | |
9003 | local learnMove = myMove:Clone() | |
9004 | learnMove.Parent = player.Backpack | |
9005 | if learnMove:IsA("LocalScript") then | |
9006 | learnMove.Disabled = false | |
9007 | newTemplate.Learn.Text = "Activated" | |
9008 | newCESS(learnMove) | |
9009 | else | |
9010 | newTemplate.Learn.Text = "Learned" | |
9011 | newCESS(learnMove.LocalScript) | |
9012 | end | |
9013 | wait(5) | |
9014 | newTemplate.Learn.Text = "Learn" | |
9015 | end) | |
9016 | newTemplate.Visible = true | |
9017 | end | |
9018 | end | |
9019 | end | |
9020 | if fakeLighting.Customs:FindFirstChild(currentArc) then | |
9021 | arcMovesList:ClearAllChildren() | |
9022 | arcToggler.Text = currentArc | |
9023 | arcMoves.Title.Text = currentArc .. " Arc" | |
9024 | for i,v in pairs(fakeLighting.Customs:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do | |
9025 | local myMove = getMove(v.Learn) | |
9026 | if myMove ~= nil then | |
9027 | local newTemplate = moveTemplate:Clone() | |
9028 | newTemplate.Attack.Text = v.Name | |
9029 | newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
9030 | newTemplate.Parent = arcMovesList | |
9031 | arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
9032 | newTemplate.Learn.MouseButton1Down:connect(function() | |
9033 | local learnMove = myMove:Clone() | |
9034 | learnMove.Parent = player.Backpack | |
9035 | if learnMove:IsA("LocalScript") then | |
9036 | learnMove.Disabled = false | |
9037 | newTemplate.Learn.Text = "Activated" | |
9038 | newCESS(learnMove) | |
9039 | else | |
9040 | newTemplate.Learn.Text = "Learned" | |
9041 | newCESS(learnMove.LocalScript) | |
9042 | end | |
9043 | wait(5) | |
9044 | newTemplate.Learn.Text = "Learn" | |
9045 | end) | |
9046 | newTemplate.Visible = true | |
9047 | end | |
9048 | end | |
9049 | end | |
9050 | end) | |
9051 | newTemplate.Position = UDim2.new(0,0,0,#arcList:GetChildren()*47+5) | |
9052 | newTemplate.Visible = true | |
9053 | newTemplate.Parent = arcList | |
9054 | arcList.CanvasSize = UDim2.new(0,0,0,#arcList:GetChildren()*47+5) | |
9055 | end | |
9056 | ||
9057 | Open = false | |
9058 | MouseClick = function() | |
9059 | if Open == false then | |
9060 | Open = true | |
9061 | player.PlayerGui.ChangeArc.Stuff.Visible = true | |
9062 | else | |
9063 | if Open == true then | |
9064 | Open = false | |
9065 | player.PlayerGui.ChangeArc.Stuff.Visible = false | |
9066 | end | |
9067 | end | |
9068 | end | |
9069 | ||
9070 | player.PlayerGui.ChangeArc.Frame.Toggle.MouseButton1Down:connect(MouseClick) | |
9071 | ||
9072 | Open2 = false | |
9073 | MouseClick2 = function() | |
9074 | if Open2 == false then | |
9075 | Open2 = true | |
9076 | arcMoves.Visible = true | |
9077 | else | |
9078 | if Open2 == true then | |
9079 | Open2 = false | |
9080 | arcMoves.Visible = false | |
9081 | end | |
9082 | end | |
9083 | end | |
9084 | ||
9085 | arcToggler.MouseButton1Down:connect(MouseClick2) | |
9086 | ||
9087 | newCESS(player.PlayerGui.ArcMusicPlayer["Music Player Module"]) | |
9088 | ||
9089 | for i,v in pairs(player.PlayerGui.HealthGui:GetDescendants()) do | |
9090 | if v:IsA("Script") then | |
9091 | newCESS(v) | |
9092 | end | |
9093 | end | |
9094 | end | |
9095 | end | |
9096 | end) | |
9097 | ||
9098 | addcmd('unduck','makes player back to normal',{}, | |
9099 | function(args, speaker) | |
9100 | local players = getPlayer(args[1], speaker) | |
9101 | for i,v in pairs(players)do | |
9102 | refresh(gPlayers[v]) | |
9103 | end | |
9104 | end) | |
9105 | ||
9106 | addcmd('mesh','makes a player into a mesh',{}, | |
9107 | function(args, speaker) | |
9108 | local players = getPlayer(args[1], speaker) | |
9109 | for i,v in pairs(players)do | |
9110 | local pchar = gPlayers[v].Character | |
9111 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9112 | if v:IsA("Decal") then | |
9113 | v:Destroy() | |
9114 | end | |
9115 | end | |
9116 | for i,v in pairs(pchar:GetChildren()) do | |
9117 | if v:IsA("Accessory") then | |
9118 | v:Destroy() | |
9119 | end | |
9120 | end | |
9121 | pchar.Head.Transparency = 1 | |
9122 | pchar["Left Arm"].Transparency = 1 | |
9123 | pchar["Right Arm"].Transparency = 1 | |
9124 | pchar["Left Leg"].Transparency = 1 | |
9125 | pchar["Right Leg"].Transparency = 1 | |
9126 | pchar.Head.face.Transparency = 1 | |
9127 | local msh = Instance.new("SpecialMesh", pchar.Torso) | |
9128 | msh.MeshType = "FileMesh" | |
9129 | msh.Scale = Vector3.new(3, 3, 3) | |
9130 | msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2] | |
9131 | msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3] | |
9132 | msh.Scale = Vector3.new(3, 3, 3) | |
9133 | end | |
9134 | end) | |
9135 | ||
9136 | addcmd('disable','removes players humanoid',{}, | |
9137 | function(args, speaker) | |
9138 | local players = getPlayer(args[1], speaker) | |
9139 | for i,v in pairs(players)do | |
9140 | local pchar = gPlayers[v].Character | |
9141 | if pchar:FindFirstChild("Humanoid") then | |
9142 | pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name | |
9143 | local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name] | |
9144 | humanoid.Parent = game.ContextActionService | |
9145 | if FindTable(SPC, args[1]) then Notify('Disabled ' .. args[1]) else | |
9146 | Notify('Disabled player(s)') end | |
9147 | end end end) | |
9148 | ||
9149 | addcmd('enable','gives player humanoid',{}, | |
9150 | function(args, speaker) | |
9151 | local players = getPlayer(args[1], speaker) | |
9152 | for i,v in pairs(players)do | |
9153 | local pchar = gPlayers[v].Character | |
9154 | if pchar:FindFirstChild("Humanoid") then | |
9155 | return | |
9156 | else | |
9157 | local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name] | |
9158 | humanoid.Parent = pchar | |
9159 | humanoid.Name = "Humanoid" | |
9160 | if FindTable(SPC, args[1]) then Notify('Enabled ' .. args[1]) else | |
9161 | Notify('Enabled player(s)') end | |
9162 | end end end) | |
9163 | ||
9164 | addcmd('size','changes size of player',{}, | |
9165 | function(args, speaker) | |
9166 | local players = getPlayer(args[1], speaker) | |
9167 | for i,v in pairs(players)do | |
9168 | local pchar = gPlayers[v].Character | |
9169 | local function scale(chr,scl) | |
9170 | for _,v in pairs(pchar:GetChildren()) do | |
9171 | if v:IsA("Accessory") then | |
9172 | v:Clone() | |
9173 | v.Parent = LightingService | |
9174 | end end | |
9175 | local Head = chr['Head'] | |
9176 | local Torso = chr['Torso'] | |
9177 | local LA = chr['Left Arm'] | |
9178 | local RA = chr['Right Arm'] | |
9179 | local LL = chr['Left Leg'] | |
9180 | local RL = chr['Right Leg'] | |
9181 | local HRP = chr['HumanoidRootPart'] | |
9182 | wait(0.1) | |
9183 | Head.formFactor = 3 | |
9184 | Torso.formFactor = 3 | |
9185 | LA.formFactor = 3 | |
9186 | RA.formFactor = 3 | |
9187 | LL.formFactor = 3 | |
9188 | RL.formFactor = 3 | |
9189 | HRP.formFactor = 3 | |
9190 | Head.Size = Vector3.new(scl * 2, scl, scl) | |
9191 | Torso.Size = Vector3.new(scl * 2, scl * 2, scl) | |
9192 | LA.Size = Vector3.new(scl, scl * 2, scl) | |
9193 | RA.Size = Vector3.new(scl, scl * 2, scl) | |
9194 | LL.Size = Vector3.new(scl, scl * 2, scl) | |
9195 | RL.Size = Vector3.new(scl, scl * 2, scl) | |
9196 | HRP.Size = Vector3.new(scl * 2, scl * 2, scl) | |
9197 | local Motor1 = Instance.new('Motor6D', Torso) | |
9198 | Motor1.Part0 = Torso | |
9199 | Motor1.Part1 = Head | |
9200 | Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
9201 | Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
9202 | Motor1.Name = "Neck" | |
9203 | local Motor2 = Instance.new('Motor6D', Torso) | |
9204 | Motor2.Part0 = Torso | |
9205 | Motor2.Part1 = LA | |
9206 | Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9207 | Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9208 | Motor2.Name = "Left Shoulder" | |
9209 | local Motor3 = Instance.new('Motor6D', Torso) | |
9210 | Motor3.Part0 = Torso | |
9211 | Motor3.Part1 = RA | |
9212 | Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9213 | Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9214 | Motor3.Name = "Right Shoulder" | |
9215 | local Motor4 = Instance.new('Motor6D', Torso) | |
9216 | Motor4.Part0 = Torso | |
9217 | Motor4.Part1 = LL | |
9218 | Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9219 | Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9220 | Motor4.Name = "Left Hip" | |
9221 | local Motor5 = Instance.new('Motor6D', Torso) | |
9222 | Motor5.Part0 = Torso | |
9223 | Motor5.Part1 = RL | |
9224 | Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9225 | Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9226 | Motor5.Name = "Right Hip" | |
9227 | local Motor6 = Instance.new('Motor6D', HRP) | |
9228 | Motor6.Part0 = HRP | |
9229 | Motor6.Part1 = Torso | |
9230 | Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
9231 | Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) end | |
9232 | scale(pchar, args[2]) | |
9233 | for _,v in pairs(LightingService:GetChildren()) do | |
9234 | if v:IsA("Accessory") then | |
9235 | v.Parent = pchar | |
9236 | end end end end) | |
9237 | ||
9238 | addcmd('clone','clones player',{}, | |
9239 | function(args, speaker) | |
9240 | local players = getPlayer(args[1], speaker) | |
9241 | for i,v in pairs(players)do | |
9242 | local pchar = gPlayers[v].Character | |
9243 | spawn(function() | |
9244 | pchar.Archivable = true | |
9245 | local clone = pchar:Clone() | |
9246 | clone.Parent = workspace | |
9247 | local cloneV = Instance.new("BoolValue") | |
9248 | cloneV.Name = "isclone" | |
9249 | cloneV.Parent = clone | |
9250 | clone:MoveTo(pchar:GetModelCFrame().p) | |
9251 | clone:MakeJoints() | |
9252 | pchar.Archivable = false | |
9253 | end) | |
9254 | end | |
9255 | end) | |
9256 | ||
9257 | addcmd('noclones', 'clears clones',{}, | |
9258 | function(args, speaker) | |
9259 | local players = getPlayer(args[1], speaker) | |
9260 | for i,v in pairs(players)do | |
9261 | for _, child in pairs( workspace:GetChildren()) do | |
9262 | if child.Name == gPlayers[v].Name and child:FindFirstChild('isclone') then | |
9263 | child:Destroy() | |
9264 | end | |
9265 | end | |
9266 | end | |
9267 | end) | |
9268 | ||
9269 | addcmd('spin','spins player',{}, | |
9270 | function(args, speaker) | |
9271 | local players = getPlayer(args[1], speaker) | |
9272 | for i,v in pairs(players)do | |
9273 | spawn(function() | |
9274 | local pchar = gPlayers[v].Character | |
9275 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9276 | if v.Name == "Spinning" then | |
9277 | v:Destroy() | |
9278 | end | |
9279 | end | |
9280 | local Torso = pchar.Torso | |
9281 | local BG = Instance.new("BodyGyro", Torso) | |
9282 | BG.Name = "Spinning" | |
9283 | BG.maxTorque = Vector3.new(0, math.huge, 0) | |
9284 | BG.P = 11111 | |
9285 | BG.cframe = Torso.CFrame | |
9286 | repeat wait(1/44) | |
9287 | BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0) | |
9288 | until not BG or BG.Parent ~= Torso | |
9289 | end) | |
9290 | end | |
9291 | end) | |
9292 | ||
9293 | addcmd('unspin','stops spinning player',{}, | |
9294 | function(args, speaker) | |
9295 | local players = getPlayer(args[1], speaker) | |
9296 | for i,v in pairs(players)do | |
9297 | local pchar = gPlayers[v].Character | |
9298 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9299 | if v.Name == "Spinning" then | |
9300 | v:Destroy() | |
9301 | end | |
9302 | end | |
9303 | end | |
9304 | end) | |
9305 | ||
9306 | addcmd('dog','makes player a dog',{}, | |
9307 | function(args, speaker) | |
9308 | local players = getPlayer(args[1], speaker) | |
9309 | for i,v in pairs(players)do | |
9310 | local pchar = gPlayers[v].Character | |
9311 | if pchar:FindFirstChild("Shirt") then | |
9312 | pchar.Shirt:Destroy() | |
9313 | end | |
9314 | if pchar:FindFirstChild("Pants") then | |
9315 | pchar.Pants:Destroy() | |
9316 | end | |
9317 | if pchar:FindFirstChild("Shirt Graphic") then | |
9318 | pchar["Shirt Graphic"].Graphic = "" | |
9319 | end | |
9320 | pchar.Torso.Transparency = 1 | |
9321 | pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
9322 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0) | |
9323 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0) | |
9324 | pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0) | |
9325 | pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0) | |
9326 | local FakeTorso = Instance.new("Seat", pchar) | |
9327 | FakeTorso.Name = "FakeTorso" | |
9328 | FakeTorso.FormFactor = "Symmetric" | |
9329 | FakeTorso.TopSurface = 0 | |
9330 | FakeTorso.BottomSurface = 0 | |
9331 | FakeTorso.Size = Vector3.new(3,1,4) | |
9332 | FakeTorso.BrickColor = BrickColor.new("Brown") | |
9333 | FakeTorso.CFrame = pchar.Torso.CFrame | |
9334 | local BF = Instance.new("BodyForce", FakeTorso) | |
9335 | BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0) | |
9336 | local W = Instance.new("Weld", pchar.Torso) | |
9337 | W.Part0 = pchar.Torso | |
9338 | W.Part1 = FakeTorso | |
9339 | W.C0 = CFrame.new(0,-.5,0) | |
9340 | local BC = pchar["Body Colors"] | |
9341 | BC.HeadColor = BrickColor.new("Brown") | |
9342 | BC.LeftArmColor = BrickColor.new("Brown") | |
9343 | BC.LeftLegColor = BrickColor.new("Brown") | |
9344 | BC.RightArmColor = BrickColor.new("Brown") | |
9345 | BC.RightLegColor = BrickColor.new("Brown") | |
9346 | BC.TorsoColor = BrickColor.new("Brown") | |
9347 | end | |
9348 | end) | |
9349 | ||
9350 | addcmd('undog','makes player back to normal',{}, | |
9351 | function(args, speaker) | |
9352 | local players = getPlayer(args[1], speaker) | |
9353 | for i,v in pairs(players)do | |
9354 | refresh(gPlayers[v]) | |
9355 | end | |
9356 | end) | |
9357 | ||
9358 | addcmd('loopheal','loop heals player',{}, | |
9359 | function(args, speaker) | |
9360 | local players = getPlayer(args[1], speaker) | |
9361 | for i,v in pairs(players)do | |
9362 | spawn(function() | |
9363 | local pchar = gPlayers[v].Character | |
9364 | if pchar:FindFirstChild("LoopHeal") then | |
9365 | pchar.LoopHeal.Name = "NotLoopHeal" | |
9366 | wait(0.1) | |
9367 | pchar.NotLoopHeal:Destroy() | |
9368 | end | |
9369 | local LoopHeal = Instance.new("StringValue", pchar) | |
9370 | LoopHeal.Name = "LoopHeal" | |
9371 | repeat wait(0.1) | |
9372 | pchar.Humanoid.Health = pchar.Humanoid.MaxHealth | |
9373 | until LoopHeal.Name == "NotLoopHeal" | |
9374 | end) | |
9375 | end | |
9376 | end) | |
9377 | ||
9378 | addcmd('unloopheal','stops loop heal on player',{'noloopheal'}, | |
9379 | function(args, speaker) | |
9380 | local players = getPlayer(args[1], speaker) | |
9381 | for i,v in pairs(players)do | |
9382 | local pchar = gPlayers[v].Character | |
9383 | if pchar:FindFirstChild("LoopHeal") then | |
9384 | pchar.LoopHeal.Name = "NotLoopHeal" | |
9385 | wait(0.1) | |
9386 | pchar.NotLoopHeal:Destroy() | |
9387 | end | |
9388 | end | |
9389 | end) | |
9390 | ||
9391 | addcmd('fling','flings player',{}, | |
9392 | function(args, speaker) | |
9393 | local players = getPlayer(args[1], speaker) | |
9394 | for i,v in pairs(players)do | |
9395 | local pchar = gPlayers[v].Character | |
9396 | if pchar:FindFirstChild("Humanoid") then | |
9397 | local xran | |
9398 | local zran | |
9399 | repeat | |
9400 | xran = math.random(-9999,9999) | |
9401 | until math.abs(xran) >= 5555 | |
9402 | repeat | |
9403 | zran = math.random(-9999,9999) | |
9404 | until math.abs(zran) >= 5555 | |
9405 | pchar.Humanoid.Sit = true | |
9406 | pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0) | |
9407 | local BF = Instance.new("BodyForce", pchar.HumanoidRootPart) | |
9408 | BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4) | |
9409 | end | |
9410 | end | |
9411 | end) | |
9412 | ||
9413 | addcmd('skydive','self explanatory',{}, | |
9414 | function(args, speaker) | |
9415 | local players = getPlayer(args[1], speaker) | |
9416 | for i,v in pairs(players)do | |
9417 | local pchar = gPlayers[v].Character | |
9418 | if pchar:FindFirstChild("HumanoidRootPart") then | |
9419 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame + Vector3.new(0,10000,0) | |
9420 | end | |
9421 | end | |
9422 | end) | |
9423 | ||
9424 | addcmd('bleach','drink bleach',{''}, | |
9425 | function(args, speaker) | |
9426 | local players = getPlayer(args[1], speaker) | |
9427 | for i,v in pairs(players)do | |
9428 | bleach(gPlayers[v]) | |
9429 | end | |
9430 | end) | |
9431 | ||
9432 | addcmd('seizure','makes player have a seizure',{''}, | |
9433 | function(args, speaker) | |
9434 | local players = getPlayer(args[1], speaker) | |
9435 | for i,v in pairs(players)do | |
9436 | local pchar = gPlayers[v].Character | |
9437 | if pchar:FindFirstChild("Seizure") then | |
9438 | ||
9439 | end | |
9440 | local Seizure = Instance.new("StringValue", pchar) | |
9441 | Seizure.Name = "Seizure" | |
9442 | pchar.Humanoid.PlatformStand = true | |
9443 | repeat wait() | |
9444 | pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) | |
9445 | pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
9446 | until Seizure.Name == "NotSeizure" | |
9447 | end | |
9448 | end) | |
9449 | ||
9450 | addcmd('fegod','gods you in fe games',{''}, | |
9451 | function(args, speaker) | |
9452 | if speaker.userId ~= LP.userId then | |
9453 | lponly(speaker) | |
9454 | else | |
9455 | gPlayers.LocalPlayer.Character.Humanoid.Name = 1 | |
9456 | local l = gPlayers.LocalPlayer.Character["1"]:Clone() | |
9457 | l.Parent = gPlayers.LocalPlayer.Character | |
9458 | l.Name = "Humanoid" | |
9459 | wait(0.1) | |
9460 | gPlayers.LocalPlayer.Character["1"]:Destroy() | |
9461 | workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
9462 | gPlayers.LocalPlayer.Character.Animate.Disabled = true | |
9463 | wait(0.1) | |
9464 | gPlayers.LocalPlayer.Character.Animate.Disabled = false | |
9465 | gPlayers.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
9466 | end | |
9467 | end) | |
9468 | ||
9469 | addcmd('unseizure','makes player stop having a seizure',{''}, | |
9470 | function(args, speaker) | |
9471 | local players = getPlayer(args[1], speaker) | |
9472 | for i,v in pairs(players)do | |
9473 | local pchar = gPlayers[v].Character | |
9474 | if pchar:FindFirstChild("Seizure") then | |
9475 | pchar.Humanoid.PlatformStand = false | |
9476 | pchar.Seizure.Name = "NotSeizure" | |
9477 | wait(0.1) | |
9478 | pchar.NotSeizure:Destroy() | |
9479 | end | |
9480 | end | |
9481 | end) | |
9482 | ||
9483 | addcmd('m','makes a global message',{'message'}, | |
9484 | function(args, speaker) | |
9485 | local MSG = '['..speaker.Name..']: '..GLS(false, 0) | |
9486 | local newMSG = '['..speaker.Name..']: '..GLS(false, 0) | |
9487 | _G.msg(MSG) | |
9488 | end) | |
9489 | ||
9490 | addcmd('sm','makes a global message',{'servermessage'}, | |
9491 | function(args, speaker) | |
9492 | local MSG = GLS(false, 0) | |
9493 | local newMSG = GLS(false, 0) | |
9494 | _G.msg(MSG) | |
9495 | end) | |
9496 | ||
9497 | addcmd('fe','checks filtering status',{'filtering'}, | |
9498 | function(args, speaker) | |
9499 | if workspace.FilteringEnabled == true then | |
9500 | Notify('Filtering ENABLED') | |
9501 | elseif workspace.FilteringEnabled == false then | |
9502 | Notify('Filtering Disabled') | |
9503 | end | |
9504 | end) | |
9505 | ||
9506 | addcmd('paper','makes player thin as paper',{''}, | |
9507 | function(args, speaker) | |
9508 | local players = getPlayer(args[1], speaker) | |
9509 | for i,v in pairs(players)do | |
9510 | local pchar = gPlayers[v].Character | |
9511 | for _, child in pairs( pchar:GetChildren()) do | |
9512 | if child.ClassName == "CharacterMesh" then | |
9513 | child:Destroy() | |
9514 | end | |
9515 | end | |
9516 | local LA = DATA.Paper:Clone() | |
9517 | LA.Parent = pchar["Left Arm"] | |
9518 | local RA = DATA.Paper:Clone() | |
9519 | RA.Parent = pchar["Right Arm"] | |
9520 | local LL = DATA.Paper:Clone() | |
9521 | LL.Parent = pchar["Left Leg"] | |
9522 | local RL = DATA.Paper:Clone() | |
9523 | RL.Parent = pchar["Right Leg"] | |
9524 | local T = DATA.Paper:Clone() | |
9525 | T.Parent = pchar.Torso | |
9526 | local H = DATA.Paper:Clone() | |
9527 | H.Parent = pchar.Head | |
9528 | pchar.Head.face:Destroy() | |
9529 | end | |
9530 | end) | |
9531 | ||
9532 | addcmd('particles','gives a player particles',{''}, | |
9533 | function(args, speaker) | |
9534 | local players = getPlayer(args[1], speaker) | |
9535 | for i,v in pairs(players)do | |
9536 | local char = gPlayers[v].Character | |
9537 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
9538 | if v:IsA('ParticleEmitter') then | |
9539 | v:destroy() | |
9540 | end | |
9541 | end | |
9542 | local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart) | |
9543 | prt.Texture = 'rbxassetid://' .. args[2] | |
9544 | prt.Rate = 10 | |
9545 | prt.SpreadAngle = Vector2.new(50, 50) | |
9546 | end | |
9547 | end) | |
9548 | ||
9549 | addcmd('unparticles','gives a player particles',{'noparticles'}, | |
9550 | function(args, speaker) | |
9551 | local players = getPlayer(args[1], speaker) | |
9552 | for i,v in pairs(players)do | |
9553 | local char = gPlayers[v].Character | |
9554 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
9555 | if v:IsA('ParticleEmitter') then | |
9556 | v:destroy() | |
9557 | end | |
9558 | end | |
9559 | end | |
9560 | end) | |
9561 | ||
9562 | blindT = {} | |
9563 | addcmd('blind','blinds a player',{}, | |
9564 | function(args, speaker) | |
9565 | local players = getPlayer(args[1], speaker) | |
9566 | for i,v in pairs(players)do | |
9567 | spawn(function() | |
9568 | if FindTable(blindT, _players[v].Name) then return end | |
9569 | local blind = gPlayers[v].Name | |
9570 | local victim = gPlayers:FindFirstChild(blind) | |
9571 | if victim ~= nil then | |
9572 | victim.CameraMaxZoomDistance = 0.5 | |
9573 | blnd = Instance.new("Part",workspace) | |
9574 | blnd.Name = "IYblind" .. gPlayers[v].Name | |
9575 | blnd.Size = Vector3.new(1,1,1) | |
9576 | blnd.CanCollide = false | |
9577 | blnd.BrickColor = BrickColor.new("Really black") | |
9578 | blnd.Material = "Neon" | |
9579 | local m = Instance.new("SpecialMesh",blnd) | |
9580 | m.Scale = Vector3.new(-1.5,-1.5,-1.5) | |
9581 | m.MeshId = "http://www.roblox.com/asset/?id=10061232" | |
9582 | local w = Instance.new("Weld",blnd) | |
9583 | w.Part0 = blnd | |
9584 | w.Part1 = victim.Character.Head | |
9585 | if FindTable(blindT, _players[v].Name) then return end | |
9586 | table.insert(blindT, _players[v].Name) | |
9587 | repeat if not workspace:FindFirstChild('IYblind' .. gPlayers[v].Name) then | |
9588 | local blind = gPlayers[v].Name | |
9589 | local victim = gPlayers:FindFirstChild(blind) | |
9590 | if victim ~= nil then | |
9591 | victim.CameraMaxZoomDistance = 0.5 | |
9592 | blnd = Instance.new("Part",workspace) | |
9593 | blnd.Name = "IYblind" .. gPlayers[v].Name | |
9594 | blnd.Size = Vector3.new(1,1,1) | |
9595 | blnd.CanCollide = false | |
9596 | blnd.BrickColor = BrickColor.new("Really black") | |
9597 | blnd.Material = "Neon" | |
9598 | local m = Instance.new("SpecialMesh",blnd) | |
9599 | m.Scale = Vector3.new(-1.5,-1.5,-1.5) | |
9600 | m.MeshId = "http://www.roblox.com/asset/?id=10061232" | |
9601 | local w = Instance.new("Weld",blnd) | |
9602 | w.Part0 = blnd | |
9603 | w.Part1 = victim.Character.Head | |
9604 | end end wait(1) | |
9605 | until not FindTable(blindT, _players[v].Name) | |
9606 | end end) end end) | |
9607 | ||
9608 | addcmd('unblind','blinds a player',{'noblind'}, | |
9609 | function(args, speaker) | |
9610 | local players = getPlayer(args[1], speaker) | |
9611 | for i,v in pairs(players)do | |
9612 | spawn(function() | |
9613 | for a,b in pairs(blindT) do if b == _players[v].Name then table.remove(blindT, a) end end | |
9614 | local blind = gPlayers[v].Name | |
9615 | local victim = gPlayers:FindFirstChild(blind) | |
9616 | if victim ~= nil then | |
9617 | victim.CameraMaxZoomDistance = 400 wait(0.5) | |
9618 | for _, child in pairs( workspace:GetChildren()) do | |
9619 | if child.Name == "IYblind" .. gPlayers[v].Name then | |
9620 | child:Destroy() | |
9621 | end end end end) end end) | |
9622 | ||
9623 | addcmd('punish','punishs player',{''}, | |
9624 | function(args, speaker) | |
9625 | local players = getPlayer(args[1], speaker) | |
9626 | for i,v in pairs(players)do | |
9627 | local pchar = gPlayers[v].Character | |
9628 | pchar.Parent = LightingService | |
9629 | end | |
9630 | end) | |
9631 | ||
9632 | addcmd('unpunish','unpunishs player',{''}, | |
9633 | function(args, speaker) | |
9634 | local players = getPlayer(args[1], speaker) | |
9635 | for i,v in pairs(players)do | |
9636 | if LightingService:FindFirstChild("" .. gPlayers[v].Name) then | |
9637 | LightingService:FindFirstChild("" .. gPlayers[v].Name).Parent = workspace | |
9638 | end | |
9639 | end | |
9640 | end) | |
9641 | ||
9642 | local starmanPlayers = {} | |
9643 | local starmanLastColor = nil | |
9644 | local starmanEvents = {} | |
9645 | ||
9646 | addcmd("starman","Turns [plr] into starman",{}, | |
9647 | function(args,speaker) | |
9648 | local function starman(plr) | |
9649 | local char = plr.Character | |
9650 | local lastColor = "" | |
9651 | local newColor = "" | |
9652 | ||
9653 | local powerupSound = Instance.new("Sound",char.HumanoidRootPart) | |
9654 | powerupSound.Name = "PowerUp" | |
9655 | powerupSound.Volume = 10 | |
9656 | powerupSound.SoundId = "rbxassetid://182755256" | |
9657 | wait() | |
9658 | powerupSound:Play() | |
9659 | ||
9660 | game:GetService("Debris"):AddItem(powerupSound,2) | |
9661 | ||
9662 | while char.HumanoidRootPart:FindFirstChild("Starman") do char.HumanoidRootPart.Starman:Destroy() end | |
9663 | ||
9664 | local starmanMusic = Instance.new("Sound",char.HumanoidRootPart) | |
9665 | starmanMusic.Name = "Starman" | |
9666 | starmanMusic.Volume = 1 | |
9667 | starmanMusic.Looped = true | |
9668 | starmanMusic.SoundId = "rbxassetid://530596723" | |
9669 | wait() | |
9670 | starmanMusic:Play() | |
9671 | ||
9672 | if char:FindFirstChild("Shirt") then char.Shirt:Destroy() end | |
9673 | if char:FindFirstChild("Pants") then char.Pants:Destroy() end | |
9674 | ||
9675 | char.Humanoid.WalkSpeed = 32 | |
9676 | char.Humanoid.MaxHealth = math.huge | |
9677 | char.Humanoid.Health = math.huge | |
9678 | ||
9679 | local invisff = Instance.new("ForceField", char) | |
9680 | invisff.Visible = false invisff.Name = 'smff' | |
9681 | ||
9682 | while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do char.HumanoidRootPart.StarmanFlash:Destroy() end | |
9683 | ||
9684 | local light = Instance.new("PointLight",char.HumanoidRootPart) | |
9685 | light.Name = "StarmanFlash" | |
9686 | light.Brightness = 100 | |
9687 | light.Range = 20 | |
9688 | light.Shadows = true | |
9689 | ||
9690 | local function stardestroy(part) | |
9691 | if part.Parent:FindFirstChild("Humanoid") and part.Parent ~= char then | |
9692 | for i,v in pairs(part.Parent:GetChildren()) do | |
9693 | if v:IsA("BasePart") then | |
9694 | local force = Instance.new("BodyForce",v) | |
9695 | force.Force = char.HumanoidRootPart.CFrame.lookVector * 50 | |
9696 | v:BreakJoints() | |
9697 | end | |
9698 | end | |
9699 | ||
9700 | local tadaas = {} | |
9701 | ||
9702 | for i = 1,1 do | |
9703 | local tadaa = Instance.new("Sound",part.Parent.HumanoidRootPart) | |
9704 | tadaa.Volume = 10 | |
9705 | tadaa.SoundId = "rbxassetid://551195499" | |
9706 | table.insert(tadaas,tadaa) | |
9707 | end | |
9708 | ||
9709 | wait() | |
9710 | ||
9711 | for i,v in pairs(tadaas) do | |
9712 | v:Play() | |
9713 | end | |
9714 | end | |
9715 | end | |
9716 | ||
9717 | local events = {} | |
9718 | for i,v in pairs(char:GetChildren()) do | |
9719 | if v:IsA("BasePart") then v.Material = Enum.Material.Neon table.insert(events,v.Touched:Connect(stardestroy)) end | |
9720 | end | |
9721 | if starmanEvents[plr.Name] then for i,v in pairs(starmanEvents[plr.Name]) do v:Disconnect() end starmanEvents[plr.Name] = nil end | |
9722 | starmanEvents[plr.Name] = events | |
9723 | starmanPlayers[plr.Name] = char | |
9724 | end | |
9725 | ||
9726 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9727 | spawn(function()starman(gPlayers[plr])end) | |
9728 | end | |
9729 | end) | |
9730 | ||
9731 | addcmd("unstarman","Removes starman from [plr]",{}, | |
9732 | function(args,speaker) | |
9733 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9734 | pcall(function() | |
9735 | if starmanPlayers[plr] then starmanPlayers[plr] = nil end | |
9736 | if starmanEvents[plr] then for i,v in pairs(starmanEvents[plr]) do v:Disconnect() end starmanEvents[plr] = nil end | |
9737 | local char = gPlayers[plr].Character | |
9738 | while char.HumanoidRootPart:FindFirstChild("Starman") do | |
9739 | char.HumanoidRootPart.Starman:Destroy() | |
9740 | end | |
9741 | while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do | |
9742 | char.HumanoidRootPart.StarmanFlash:Destroy() | |
9743 | end | |
9744 | while char.HumanoidRootPart:FindFirstChild("smff") do | |
9745 | char.HumanoidRootPart.smff:Destroy() | |
9746 | end | |
9747 | end) | |
9748 | end | |
9749 | end) | |
9750 | ||
9751 | local Timers = {} | |
9752 | function checkTimer(n,t,res) | |
9753 | if not Timers[n] then Timers[n] = 0 end | |
9754 | ||
9755 | if tick() >= Timers[n] + t then | |
9756 | if res then Timers[n] = tick() end | |
9757 | return true | |
9758 | else | |
9759 | return false | |
9760 | end | |
9761 | end | |
9762 | ||
9763 | function nonEmpty(t) | |
9764 | for i,v in pairs(t) do | |
9765 | return true | |
9766 | end | |
9767 | return false | |
9768 | end | |
9769 | ||
9770 | game:GetService("RunService").RenderStepped:Connect(function() | |
9771 | if nonEmpty(starmanPlayers) then | |
9772 | if checkTimer("Starman",0.05,true) then | |
9773 | for name,plrchar in pairs(starmanPlayers) do | |
9774 | ypcall(function() | |
9775 | local colors = {"Bright red","Bright blue","Bright green","Bright yellow","Bright violet"} | |
9776 | if not gPlayers:FindFirstChild(name) then starmanPlayers[name] = nil end | |
9777 | ||
9778 | local plr = gPlayers:FindFirstChild(name) | |
9779 | ||
9780 | if plr then | |
9781 | local char = plrchar | |
9782 | local light = char.HumanoidRootPart:FindFirstChild("StarmanFlash") | |
9783 | ||
9784 | local meshMap = {} | |
9785 | ||
9786 | for i,v in pairs(char:GetChildren()) do | |
9787 | if v:IsA("CharacterMesh") then | |
9788 | if v.BodyPart.Name == "Torso" then meshMap["Torso"] = "rbxassetid://"..v.MeshId end | |
9789 | if v.BodyPart.Name == "LeftArm" then meshMap["Left Arm"] = "rbxassetid://"..v.MeshId end | |
9790 | if v.BodyPart.Name == "RightArm" then meshMap["Right Arm"] = "rbxassetid://"..v.MeshId end | |
9791 | if v.BodyPart.Name == "LeftLeg" then meshMap["Left Leg"] = "rbxassetid://"..v.MeshId end | |
9792 | if v.BodyPart.Name == "RightLeg" then meshMap["Right Leg"] = "rbxassetid://"..v.MeshId end | |
9793 | end | |
9794 | end | |
9795 | ||
9796 | if char.Head:FindFirstChild("Mesh") then meshMap["Head"] = char.Head.Mesh.MeshId end | |
9797 | ||
9798 | if not char or char.Parent == nil then starmanPlayers[plr.Name] = nil end | |
9799 | local newColor = BrickColor.new(colors[math.random(1,#colors)]) | |
9800 | while starmanLastColor == newColor do newColor = BrickColor.new(colors[math.random(1,#colors)]) end | |
9801 | starmanLastColor = newColor | |
9802 | for i,v in pairs(char:GetChildren()) do | |
9803 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
9804 | v.BrickColor = newColor | |
9805 | local fade = v:Clone() | |
9806 | if meshMap[v.Name] then | |
9807 | local newMesh = Instance.new("SpecialMesh",fade) | |
9808 | newMesh.MeshId = meshMap[v.Name] | |
9809 | end | |
9810 | fade.Name = "StarFade" | |
9811 | fade.Anchored = true | |
9812 | fade.CanCollide = false | |
9813 | for n,c in pairs(fade:GetChildren()) do if c:IsA("Attachment") or c:IsA("Motor6D") or c:IsA("PointLight") or c:IsA("Sound") or c:IsA("Weld") then c:Destroy() end end | |
9814 | fade.Parent = workspace.Terrain | |
9815 | game:GetService("TweenService"):Create(fade,TweenInfo.new(0.5),{Transparency = 1}):Play() | |
9816 | game:GetService("Debris"):AddItem(fade,0.5) | |
9817 | end | |
9818 | end | |
9819 | light.Color = newColor.Color | |
9820 | end | |
9821 | end) | |
9822 | end | |
9823 | end | |
9824 | end | |
9825 | end) | |
9826 | ||
9827 | addcmd("tppos","Teleports a player to a coordinate",{}, | |
9828 | function(args,speaker) | |
9829 | if #args < 4 then return end | |
9830 | local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4]) | |
9831 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9832 | local char = gPlayers[plr].Character | |
9833 | if char and char:FindFirstChild("HumanoidRootPart") then | |
9834 | char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ) | |
9835 | end | |
9836 | end | |
9837 | end) | |
9838 | ||
9839 | addcmd("offset","Offsets a player by a coordinate",{}, | |
9840 | function(args,speaker) | |
9841 | if #args < 4 then return end | |
9842 | local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4]) | |
9843 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9844 | local char = gPlayers[plr].Character | |
9845 | if char and char:FindFirstChild("HumanoidRootPart") then | |
9846 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ) | |
9847 | end | |
9848 | end | |
9849 | end) | |
9850 | ||
9851 | addcmd('bait',';)',{'troll'}, | |
9852 | function(args, speaker) | |
9853 | spawn(function() | |
9854 | local M = Instance.new('Model', workspace) M.Name = 'IYbait' | |
9855 | local P = Instance.new('Part', M) P.Name = 'Main' P.Position = speaker.Character.Head.Position P.Color = maincolor P.Material = 'Neon' P.Size = Vector3.new(4, 1, 4) | |
9856 | y = Instance.new("BillboardGui") | |
9857 | y.Size = UDim2.new(0,100,0,150) | |
9858 | y.StudsOffset = Vector3.new(0,1,0) | |
9859 | y.Parent = P | |
9860 | y.Adornee = P | |
9861 | f = Instance.new("TextLabel") | |
9862 | f.Parent = y | |
9863 | f.BackgroundTransparency = 1 | |
9864 | f.Position = UDim2.new(0,0,0,-50) | |
9865 | f.Size = UDim2.new(0,100,0,100) | |
9866 | f.Font = "Highway" | |
9867 | f.FontSize = "Size48" | |
9868 | f.Text = "Touch for admin!" | |
9869 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
9870 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
9871 | f.TextStrokeTransparency = 0 | |
9872 | f.TextYAlignment = "Bottom" | |
9873 | P.Touched:connect(function(oof) if oof.Parent.Name ~= speaker.Name or oof.Parent.Name ~= LP.Name then if oof.Parent:FindFirstChild('Humanoid') then execCmd("oof " .. oof.Parent.Name, Player) end end end) | |
9874 | end) | |
9875 | end) | |
9876 | ||
9877 | addcmd('removebait','clears bait parts',{'nobait'}, | |
9878 | function(args, speaker) | |
9879 | local function dels(instance) | |
9880 | for i,v in pairs(instance:GetChildren())do | |
9881 | if v.name == "IYbait"then v:Destroy()end | |
9882 | dels(v) | |
9883 | end | |
9884 | end | |
9885 | dels(workspace) | |
9886 | end) | |
9887 | ||
9888 | function CreateInstance(cls,props) | |
9889 | local inst = Instance.new(cls) | |
9890 | for i,v in pairs(props) do | |
9891 | inst[i] = v | |
9892 | end | |
9893 | return inst end | |
9894 | local function createSoundFrame() | |
9895 | local soundFrame = Instance.new("Frame") soundFrame.Name = "Sound" soundFrame.BackgroundColor3 = Color3.new(0, 0, 0) soundFrame.BackgroundTransparency = 1 soundFrame.BorderSizePixel = 0 soundFrame.Position = UDim2.new(0.5, -350, 0, -100) soundFrame.Size = UDim2.new(0, 700, 0, 35) | |
9896 | local soundFrame4 = Instance.new("TextLabel") soundFrame4.Name = "SName" soundFrame4.Parent = soundFrame soundFrame4.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame4.BackgroundTransparency = 1 soundFrame4.Position = UDim2.new(0, 3, 0, 2) soundFrame4.Size = UDim2.new(1, -6, 0, 15) soundFrame4.Font = Enum.Font.SourceSansBold soundFrame4.FontSize = Enum.FontSize.Size14 soundFrame4.Text = "Audio" soundFrame4.TextColor3 = Color3.new(1, 1, 1) soundFrame4.TextWrapped = true soundFrame4.TextYAlignment = Enum.TextYAlignment.Top | |
9897 | local soundFrame6 = Instance.new("TextButton") soundFrame6.Name = "Pause" soundFrame6.Parent = soundFrame soundFrame6.BackgroundColor3 = Color3.new(0.901961, 0.901961, 0.901961) soundFrame6.BackgroundTransparency = 1 soundFrame6.Position = UDim2.new(0, 170, 1, -18) soundFrame6.Size = UDim2.new(0, 15, 0, 15) soundFrame6.Font = Enum.Font.SourceSans soundFrame6.FontSize = Enum.FontSize.Size14 soundFrame6.Text = "" soundFrame6.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961) | |
9898 | local soundFrame7 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,3,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame6}) | |
9899 | local soundFrame8 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(1,-5,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame6}) | |
9900 | local soundFrame9 = Instance.new("Frame") soundFrame9.Name = "Pos" soundFrame9.Parent = soundFrame soundFrame9.BackgroundColor3 = Color3.new(0.901961, 0.901961, 0.901961) soundFrame9.BackgroundTransparency = 1 soundFrame9.BorderSizePixel = 0 soundFrame9.Position = UDim2.new(0, 260, 1, -16) soundFrame9.Size = UDim2.new(1, -300, 0, 11) | |
9901 | local soundFrame10 = Instance.new("Frame") soundFrame10.Name = "Touch" soundFrame10.Parent = soundFrame9 soundFrame10.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame10.BorderSizePixel = 0 soundFrame10.Size = UDim2.new(0, 5, 0, 11) | |
9902 | local soundFrame11 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,0,0,5),Rotation=0,Selectable=false,Size=UDim2.new(1,0,0,1),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame9}) | |
9903 | local soundFrame12 = Instance.new("TextLabel") soundFrame12.Name = "TimeEnd" soundFrame12.Parent = soundFrame soundFrame12.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame12.BackgroundTransparency = 1 soundFrame12.Position = UDim2.new(1, -35, 1, -18) soundFrame12.Size = UDim2.new(0, 30, 0, 15) soundFrame12.Font = Enum.Font.SourceSans soundFrame12.FontSize = Enum.FontSize.Size14 soundFrame12.Text = "1:52" soundFrame12.TextColor3 = Color3.new(1, 1, 1) soundFrame12.TextYAlignment = Enum.TextYAlignment.Top | |
9904 | local soundFrame13 = Instance.new("TextLabel") soundFrame13.Name = "TimeStart" soundFrame13.Parent = soundFrame soundFrame13.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame13.BackgroundTransparency = 1 soundFrame13.Position = UDim2.new(0, 225, 1, -18) soundFrame13.Size = UDim2.new(0, 30, 0, 15) soundFrame13.Font = Enum.Font.SourceSans soundFrame13.FontSize = Enum.FontSize.Size14 soundFrame13.Text = "0:00" soundFrame13.TextColor3 = Color3.new(1, 1, 1) soundFrame13.TextYAlignment = Enum.TextYAlignment.Top | |
9905 | local soundFrame15 = Instance.new("TextButton") soundFrame15.Name = "NextSong" soundFrame15.Parent = soundFrame soundFrame15.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame15.BackgroundTransparency = 1 soundFrame15.Position = UDim2.new(0, 80, 1, -18) soundFrame15.Size = UDim2.new(0, 15, 0, 15) soundFrame15.Font = Enum.Font.SourceSans soundFrame15.FontSize = Enum.FontSize.Size14 soundFrame15.Text = "" soundFrame15.TextColor3 = Color3.new(1, 1, 1) | |
9906 | local soundFrame16 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(1,-2,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame15}) | |
9907 | local soundFrame17 = CreateInstance("ImageLabel",{Image="rbxassetid://304846479",ImageColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),ImageRectOffset=Vector2.new(0,0),ImageRectSize=Vector2.new(0,0),ImageTransparency=0,ScaleType=0,SliceCenter=Rect.new(0,0,0,0),Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,0,0,2),Rotation=90,Selectable=false,Size=UDim2.new(0,10,0,11),SizeConstraint=0,Visible=true,ZIndex=1,Name="ImageLabel",Parent = soundFrame15}) | |
9908 | local soundFrame18 = Instance.new("TextButton") soundFrame18.Name = "PrevSong" soundFrame18.Parent = soundFrame soundFrame18.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame18.BackgroundTransparency = 1 soundFrame18.Position = UDim2.new(0, 20, 1, -18) soundFrame18.Size = UDim2.new(0, 15, 0, 15) soundFrame18.Font = Enum.Font.SourceSans soundFrame18.FontSize = Enum.FontSize.Size14 soundFrame18.Text = "" soundFrame18.TextColor3 = Color3.new(1, 1, 1) | |
9909 | local soundFrame19 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,0,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame18}) | |
9910 | local soundFrame20 = CreateInstance("ImageLabel",{Image="rbxassetid://304846479",ImageColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),ImageRectOffset=Vector2.new(0,0),ImageRectSize=Vector2.new(0,0),ImageTransparency=0,ScaleType=0,SliceCenter=Rect.new(0,0,0,0),Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,5,0,2),Rotation=-90,Selectable=false,Size=UDim2.new(0,10,0,11),SizeConstraint=0,Visible=true,ZIndex=1,Name="ImageLabel",Parent = soundFrame18}) | |
9911 | local soundFrame21 = Instance.new("TextLabel") soundFrame21.Name = "PlaylistCount" soundFrame21.Parent = soundFrame soundFrame21.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame21.BackgroundTransparency = 1 soundFrame21.Position = UDim2.new(0, 40, 1, -18) soundFrame21.Size = UDim2.new(0, 35, 0, 15) soundFrame21.Font = Enum.Font.SourceSans soundFrame21.FontSize = Enum.FontSize.Size14 soundFrame21.Text = "1/1" soundFrame21.TextColor3 = Color3.new(1, 1, 1) soundFrame21.TextYAlignment = Enum.TextYAlignment.Top | |
9912 | local soundFrame22 = Instance.new("ImageButton") soundFrame22.Name = "PlayStop" soundFrame22.Parent = soundFrame soundFrame22.BackgroundColor3 = Color3.new(0.901961, 0.901961, 0.901961) soundFrame22.BackgroundTransparency = 1 soundFrame22.BorderSizePixel = 0 soundFrame22.Position = UDim2.new(0, 145, 1, -18) soundFrame22.Rotation = 90 soundFrame22.Size = UDim2.new(0, 15, 0, 15) soundFrame22.AutoButtonColor = false soundFrame22.Image = "rbxassetid://304846479" soundFrame22.ImageColor3 = Color3.new(0.901961, 0.901961, 0.901961) | |
9913 | return soundFrame end | |
9914 | local soundFrame = createSoundFrame() | |
9915 | soundFrame.Visible = true | |
9916 | local MusicPlayer do | |
9917 | MusicPlayer = {} | |
9918 | local playlist = {} | |
9919 | local currentSong = 1 | |
9920 | local playlistHook = nil | |
9921 | --local soundFrame = script.Parent:WaitForChild("Sound") | |
9922 | local soundLine = soundFrame:WaitForChild("Pos") | |
9923 | local soundTouch = soundLine:WaitForChild("Touch") | |
9924 | local soundPlayStop = soundFrame:WaitForChild("PlayStop") | |
9925 | local soundPause = soundFrame:WaitForChild("Pause") | |
9926 | local soundNext = soundFrame:WaitForChild("NextSong") | |
9927 | local soundPrev = soundFrame:WaitForChild("PrevSong") | |
9928 | local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev} | |
9929 | local mouseDrag = false | |
9930 | local mouse = gPlayers.LocalPlayer:GetMouse() | |
9931 | local lineBar = soundFrame:WaitForChild("Pos") | |
9932 | adminSound = Instance.new("Sound",nil) | |
9933 | local function timeConvert(num) | |
9934 | local mins = math.floor(num/60) | |
9935 | local secs = math.floor(num % 60) | |
9936 | return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs) | |
9937 | end | |
9938 | local function updateSongLine() | |
9939 | local linePos = mouse.X - soundLine.AbsolutePosition.X | |
9940 | if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then | |
9941 | local movePos = linePos/soundLine.AbsoluteSize.X | |
9942 | soundTouch.Position = UDim2.new(movePos,0,0,0) | |
9943 | elseif linePos < 0 then | |
9944 | soundTouch.Position = UDim2.new(0,0,0,0) | |
9945 | else | |
9946 | soundTouch.Position = UDim2.new(1,0,0,0) | |
9947 | end | |
9948 | local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength | |
9949 | adminSound.TimePosition = newTimePos | |
9950 | soundFrame.TimeStart.Text = timeConvert(newTimePos) | |
9951 | soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength) | |
9952 | end | |
9953 | local function updateDetails(id) | |
9954 | local info = game:GetService("MarketplaceService"):GetProductInfo(id) | |
9955 | soundFrame.SName.Text = info.Name | |
9956 | end | |
9957 | local function setPlaylistHook() | |
9958 | if playlistHook then playlistHook:Disconnect() playlistHook = nil end | |
9959 | if #playlist == 0 then return end | |
9960 | playlistHook = adminSound.DidLoop:connect(function() | |
9961 | if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end | |
9962 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
9963 | MusicPlayer:Play(playlist[currentSong],true) | |
9964 | end) | |
9965 | end | |
9966 | local function disconnectPlaylistHook() | |
9967 | if playlistHook then playlistHook:disconnect() playlistHook = nil end | |
9968 | end | |
9969 | game:GetService("RunService").RenderStepped:Connect(function() | |
9970 | if adminSound.Playing then | |
9971 | soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0) | |
9972 | soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition) | |
9973 | soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength) | |
9974 | end | |
9975 | end) | |
9976 | lineBar.InputBegan:connect(function(input) | |
9977 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
9978 | mouseDrag = true | |
9979 | updateSongLine() | |
9980 | end | |
9981 | end) | |
9982 | lineBar.InputEnded:connect(function(input) | |
9983 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
9984 | mouseDrag = false | |
9985 | end | |
9986 | end) | |
9987 | mouse.Move:connect(function(prop) | |
9988 | if mouseDrag then | |
9989 | updateSongLine() | |
9990 | end | |
9991 | end) | |
9992 | function MusicPlayer:Play(id,plist) | |
9993 | if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end | |
9994 | adminSound:Stop() | |
9995 | if adminSound.Parent == nil then | |
9996 | adminSound = Instance.new("Sound",workspace) | |
9997 | adminSound.Name = "IYsound" | |
9998 | adminSound.Looped = true | |
9999 | if plist then setPlaylistHook() end | |
10000 | end | |
10001 | adminSound.SoundId = "rbxassetid://"..tostring(id) | |
10002 | adminSound.TimePosition = 0 | |
10003 | --repeat wait() until adminSound.IsLoaded | |
10004 | adminSound:Play() | |
10005 | soundPlayStop.BackgroundTransparency = 0 | |
10006 | soundPlayStop.ImageTransparency = 1 | |
10007 | updateDetails(id) | |
10008 | end | |
10009 | function MusicPlayer:Playlist(list) | |
10010 | playlist = list | |
10011 | soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true | |
10012 | currentSong = 1 | |
10013 | if adminSound.Parent == nil then | |
10014 | adminSound = Instance.new("Sound",workspace) | |
10015 | adminSound.Name = "IYsound" | |
10016 | adminSound.Looped = true | |
10017 | end | |
10018 | soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist) | |
10019 | MusicPlayer:Play(playlist[1],true) | |
10020 | setPlaylistHook() | |
10021 | end | |
10022 | function MusicPlayer:Stop() | |
10023 | adminSound:Stop() | |
10024 | adminSound.TimePosition = 0 | |
10025 | soundTouch.Position = UDim2.new(0,0,0,0) | |
10026 | soundFrame.TimeStart.Text = "0:00" | |
10027 | soundPlayStop.BackgroundTransparency = 1 | |
10028 | soundPlayStop.ImageTransparency = 0 | |
10029 | end | |
10030 | function MusicPlayer:Pause() | |
10031 | adminSound:Pause() | |
10032 | soundPlayStop.BackgroundTransparency = 1 | |
10033 | soundPlayStop.ImageTransparency = 0 | |
10034 | end | |
10035 | function MusicPlayer:Resume() | |
10036 | adminSound:Resume() | |
10037 | soundPlayStop.BackgroundTransparency = 0 | |
10038 | soundPlayStop.ImageTransparency = 1 | |
10039 | setPlaylistHook() | |
10040 | end | |
10041 | function MusicPlayer:NextSong() | |
10042 | if #playlist == 0 then return end | |
10043 | if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end | |
10044 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
10045 | MusicPlayer:Play(playlist[currentSong],true) | |
10046 | end | |
10047 | function MusicPlayer:PrevSong() | |
10048 | if #playlist == 0 then return end | |
10049 | if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end | |
10050 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
10051 | MusicPlayer:Play(playlist[currentSong],true) | |
10052 | end | |
10053 | function MusicPlayer:SetSong(ind) | |
10054 | if ind > #playlist or ind <= 0 then return end | |
10055 | soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist) | |
10056 | MusicPlayer:Play(playlist[ind],true) | |
10057 | end | |
10058 | playerenabled = false | |
10059 | function MusicPlayer:Show() | |
10060 | soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
10061 | end | |
10062 | function MusicPlayer:Hide() | |
10063 | soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
10064 | end | |
10065 | function colorFrames(obj,col) | |
10066 | for i,v in pairs(obj:GetChildren()) do | |
10067 | if v:IsA("ImageLabel") then | |
10068 | v.ImageColor3 = col | |
10069 | end | |
10070 | v.BackgroundColor3 = col | |
10071 | end | |
10072 | end | |
10073 | for i,v in pairs(soundButtons) do | |
10074 | v.MouseEnter:connect(function() | |
10075 | if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end | |
10076 | if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end | |
10077 | v.BackgroundColor3 = Color3.new(1,1,1) | |
10078 | colorFrames(v,Color3.new(1,1,1)) | |
10079 | end) | |
10080 | v.MouseLeave:connect(function() | |
10081 | if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end | |
10082 | if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end | |
10083 | v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255) | |
10084 | colorFrames(v,Color3.new(230/255, 230/255, 230/255)) | |
10085 | end) | |
10086 | end | |
10087 | soundPlayStop.MouseButton1Click:connect(function() | |
10088 | if adminSound.Playing then | |
10089 | MusicPlayer:Stop() | |
10090 | else | |
10091 | MusicPlayer:Resume() | |
10092 | end | |
10093 | end) | |
10094 | soundPause.MouseButton1Click:connect(function() | |
10095 | MusicPlayer:Pause() | |
10096 | end) | |
10097 | soundNext.MouseButton1Click:connect(MusicPlayer.NextSong) | |
10098 | soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong) | |
10099 | end | |
10100 | local testgui = Instance.new("ScreenGui",game.CoreGui) | |
10101 | soundFrame.Parent = testgui | |
10102 | addcmd('playlist','makes a noice playlist',{'ids','player'}, | |
10103 | function(args, speaker) | |
10104 | playerenabled = true | |
10105 | if #args > 0 then | |
10106 | for i,v in pairs(game:GetDescendants()) do | |
10107 | if v:IsA'Sound'then v:Destroy() end end wait(0.1) | |
10108 | if adminSound.Parent == nil then | |
10109 | adminSound = Instance.new("Sound",workspace) | |
10110 | adminSound.Name = "IYsound" | |
10111 | adminSound.Looped = true | |
10112 | end | |
10113 | local idlist = splitString(args[1]) | |
10114 | local workingIds = {} | |
10115 | for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end | |
10116 | if #workingIds > 0 then | |
10117 | playerenabled = true | |
10118 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
10119 | MusicPlayer:Playlist(workingIds) | |
10120 | MusicPlayer:Show() if qopen == true then quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10121 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10122 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10123 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10124 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end | |
10125 | else MusicPlayer:Show() NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) if qopen == true then quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10126 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10127 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) playerenabled = true | |
10128 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10129 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end end) | |
10130 | addcmd('setsong','goto a song',{'tosong'}, | |
10131 | function(args, speaker) | |
10132 | MusicPlayer:SetSong(tonumber(args[1])) | |
10133 | end) | |
10134 | addcmd('nextsong','forward a song',{'nxtsong'}, | |
10135 | function(args, speaker) | |
10136 | MusicPlayer:NextSong() | |
10137 | end) | |
10138 | addcmd('prevsong','back a song',{'previoussong'}, | |
10139 | function(args, speaker) | |
10140 | MusicPlayer:PrevSong() | |
10141 | end) | |
10142 | addcmd('hideplaylist','back a song',{'unplayer','noplayer','hideplayer'}, | |
10143 | function(args, speaker) | |
10144 | playerenabled = false | |
10145 | MusicPlayer:Hide() | |
10146 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
10147 | end) | |
10148 | ||
10149 | addcmd('playhash', 'plays a hash instead of soundid',{'hash'}, | |
10150 | function(args, speaker) | |
10151 | for i,v in pairs(game:GetDescendants()) do | |
10152 | if v:IsA'Sound'then v:Destroy() end end | |
10153 | local c = args[1] or 'stop' | |
10154 | if std.inTable({'stop'}, c:lower()) then return end | |
10155 | local s = Instance.new("Sound", workspace) | |
10156 | s.Name = "IYsound" | |
10157 | s.Looped = true | |
10158 | s.SoundId = c | |
10159 | s.Volume = 1 | |
10160 | s:Play() | |
10161 | playerenabled = false | |
10162 | Notify('Playing hash') | |
10163 | end) | |
10164 | ||
10165 | addcmd('disco','disco party',{''}, | |
10166 | function(args, speaker) | |
10167 | _G.nodisco = nil | |
10168 | coroutine.resume(coroutine.create(function() | |
10169 | repeat | |
10170 | game:GetService('Lighting').GlobalShadows = true | |
10171 | game:GetService('Lighting').FogEnd = 200 | |
10172 | game:GetService('Lighting').TimeOfDay = 0 | |
10173 | local r = 255 | |
10174 | local g = 0 | |
10175 | local b = 0 | |
10176 | for i = 0,255,5 do | |
10177 | if _G.nodisco ~=nil then return end | |
10178 | r = r - 5 | |
10179 | b = b + 5 | |
10180 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10181 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10182 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10183 | wait() | |
10184 | end | |
10185 | for i = 0,255,5 do | |
10186 | if _G.nodisco ~=nil then return end | |
10187 | g = g + 5 | |
10188 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10189 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10190 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10191 | wait() | |
10192 | end | |
10193 | for i = 0,255,5 do | |
10194 | if _G.nodisco ~=nil then return end | |
10195 | b = b - 5 | |
10196 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10197 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10198 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10199 | wait() | |
10200 | end | |
10201 | for i = 0,255,5 do | |
10202 | if _G.nodisco ~=nil then return end | |
10203 | r = r + 5 | |
10204 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10205 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10206 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10207 | wait() | |
10208 | end | |
10209 | for i = 0,255,5 do | |
10210 | if _G.nodisco ~=nil then return end | |
10211 | g = g - 5 | |
10212 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10213 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10214 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10215 | wait() | |
10216 | end | |
10217 | until _G.nodisco | |
10218 | end)) | |
10219 | end) | |
10220 | ||
10221 | addcmd('undisco','rip disco party',{''}, | |
10222 | function(args, speaker) | |
10223 | _G.nodisco = true | |
10224 | execCmd('fixl') | |
10225 | end) | |
10226 | ||
10227 | addcmd('hat','give a hat to a player',{''}, | |
10228 | function(args, speaker) | |
10229 | local players = getPlayer(args[1], speaker) | |
10230 | for i,v in pairs(players)do | |
10231 | local char = gPlayers[v].Character | |
10232 | local Hat = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. args[2]) | |
10233 | Hat.Parent = char | |
10234 | end end) | |
10235 | ||
10236 | fm = Instance.new('BlockMesh', DATA) | |
10237 | fm.Scale = Vector3.new(1, 1, 2) | |
10238 | fm.Name = "FAT" | |
10239 | addcmd('fat','makes a plr fat',{''}, | |
10240 | function(args, speaker) | |
10241 | local players = getPlayer(args[1], speaker) | |
10242 | for i,v in pairs(players)do | |
10243 | local char = gPlayers[v].Character | |
10244 | for _, child in pairs( char:GetChildren()) do | |
10245 | if child.ClassName == "CharacterMesh" then | |
10246 | child:Destroy() end end | |
10247 | for i,v in pairs(char:GetChildren()) do | |
10248 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
10249 | fm:Clone().Parent = v | |
10250 | end end end end) | |
10251 | ||
10252 | addcmd('crucify','crucifies a player',{'cruci'}, | |
10253 | function(args, speaker) | |
10254 | local players = getPlayer(args[1], speaker) | |
10255 | for i,v in pairs(players)do | |
10256 | local char = gPlayers[v].Character | |
10257 | local torso=char['Torso'] | |
10258 | local larm=char['Left Arm'] | |
10259 | local rarm=char['Right Arm'] | |
10260 | local lleg=char['Left Leg'] | |
10261 | local rleg=char['Right Leg'] | |
10262 | local head=char['Head'] | |
10263 | if torso and larm and rarm and lleg and rleg and head and not char:FindFirstChild(char.Name..'epixcrusify') then | |
10264 | local cru=Instance.new('Model',char) | |
10265 | cru.Name=char.Name..'epixcrusify' -- Leave it like that so it bypasses epixcommands ;) | |
10266 | local c1=Instance.new('Part',cru) | |
10267 | c1.BrickColor=BrickColor.new('Reddish brown') | |
10268 | c1.Material='Wood' | |
10269 | c1.CFrame=(char.Torso.CFrame-char.Torso.CFrame.lookVector)*CFrame.new(0,0,2) | |
10270 | c1.Size=Vector3.new(2,18.4,1) | |
10271 | c1.Anchored=true | |
10272 | local c2=c1:Clone() | |
10273 | c2.Parent=cru | |
10274 | c2.Size=Vector3.new(11,1.6,1) | |
10275 | c2.CFrame=c1.CFrame+Vector3.new(0,5,0) | |
10276 | torso.Anchored=true;wait(0.5) | |
10277 | torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0);wait(0.5) | |
10278 | larm.Anchored=true | |
10279 | rarm.Anchored=true | |
10280 | lleg.Anchored=true | |
10281 | rleg.Anchored=true | |
10282 | head.Anchored=true;wait() | |
10283 | larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0) | |
10284 | rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0) | |
10285 | lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0) | |
10286 | rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0) | |
10287 | larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140) | |
10288 | rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140) | |
10289 | lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6) | |
10290 | rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6) | |
10291 | --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3) | |
10292 | local n1=Instance.new('Part',cru) | |
10293 | n1.BrickColor=BrickColor.new('Dark stone grey') | |
10294 | n1.Material='DiamondPlate' | |
10295 | n1.Size=Vector3.new(0.2,0.2,2) | |
10296 | n1.Anchored=true | |
10297 | local m=Instance.new('BlockMesh',n1) | |
10298 | m.Scale=Vector3.new(0.2,0.2,0.7) | |
10299 | local n2=n1:Clone() | |
10300 | n2.Parent=cru | |
10301 | local n3=n1:Clone() | |
10302 | n3.Parent=cru | |
10303 | n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0) | |
10304 | n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0) | |
10305 | n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0) | |
10306 | spawn(function() | |
10307 | repeat | |
10308 | wait(0.1) | |
10309 | char.Humanoid.Health=char.Humanoid.Health-0.6 | |
10310 | until (not cru) or (not cru.Parent) or (not v) or (not char) or (not char:FindFirstChild('Head')) or char.Humanoid.Health<=0 | |
10311 | char:BreakJoints() | |
10312 | end) | |
10313 | end | |
10314 | end | |
10315 | end) | |
10316 | ||
10317 | addcmd('hang','hangs a player',{}, | |
10318 | function(args, speaker) | |
10319 | local players = getPlayer(args[1], speaker) | |
10320 | for i,v in pairs(players)do | |
10321 | local plr = gPlayers[v].Character | |
10322 | plr.HumanoidRootPart.Anchored = true | |
10323 | function sandbox(var,func) | |
10324 | local env = getfenv(func) | |
10325 | local newenv = setmetatable({},{ | |
10326 | __index = function(self,k) | |
10327 | if k=="script" then | |
10328 | return var | |
10329 | else | |
10330 | return env[k] | |
10331 | end | |
10332 | end, | |
10333 | }) | |
10334 | setfenv(func,newenv) | |
10335 | return func | |
10336 | end | |
10337 | cors = {} | |
10338 | mas = Instance.new("Model",game:GetService("Lighting")) | |
10339 | local Model0 = Instance.new("Model") | |
10340 | local Part1 = Instance.new("Part") | |
10341 | local Part2 = Instance.new("Part") | |
10342 | local Part3 = Instance.new("Part") | |
10343 | local Part4 = Instance.new("Part") | |
10344 | local Part5 = Instance.new("Part") | |
10345 | local Motor6D6 = Instance.new("Motor6D") | |
10346 | local Part7 = Instance.new("Part") | |
10347 | local Part8 = Instance.new("Part") | |
10348 | local Part9 = Instance.new("Part") | |
10349 | local Part10 = Instance.new("Part") | |
10350 | local Part11 = Instance.new("Part") | |
10351 | local Part12 = Instance.new("Part") | |
10352 | local Part13 = Instance.new("Part") | |
10353 | local Part14 = Instance.new("Part") | |
10354 | local Part15 = Instance.new("Part") | |
10355 | Model0.Name = "hang" | |
10356 | Model0.Parent = mas | |
10357 | Part1.Parent = Model0 | |
10358 | Part1.Material = Enum.Material.SmoothPlastic | |
10359 | Part1.BrickColor = BrickColor.new("Reddish brown") | |
10360 | Part1.Anchored = true | |
10361 | Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024) | |
10362 | Part1.CFrame = CFrame.new(1.539994, 9.29992199, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10363 | Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10364 | Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10365 | Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10366 | Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10367 | Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10368 | Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10369 | Part1.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10370 | Part1.Position = Vector3.new(1.539994, 9.29992199, 12.6999884) | |
10371 | Part1.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10372 | Part2.Parent = Model0 | |
10373 | Part2.Material = Enum.Material.Wood | |
10374 | Part2.BrickColor = BrickColor.new("Pine Cone") | |
10375 | Part2.Anchored = true | |
10376 | Part2.Size = Vector3.new(0.49999997, 0.200000003, 0.200000003) | |
10377 | Part2.CFrame = CFrame.new(1.44999003, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10378 | Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10379 | Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10380 | Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10381 | Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10382 | Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10383 | Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10384 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10385 | Part2.Position = Vector3.new(1.44999003, 9.09992599, 12.6999884) | |
10386 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10387 | Part3.Parent = Model0 | |
10388 | Part3.Material = Enum.Material.Wood | |
10389 | Part3.BrickColor = BrickColor.new("Pine Cone") | |
10390 | Part3.Anchored = true | |
10391 | Part3.Size = Vector3.new(1, 9.39999962, 0.599999964) | |
10392 | Part3.CFrame = CFrame.new(-0.100001998, 4.70001078, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10393 | Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10394 | Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10395 | Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10396 | Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10397 | Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10398 | Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10399 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10400 | Part3.Position = Vector3.new(-0.100001998, 4.70001078, 12.6999884) | |
10401 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10402 | Part4.Parent = Model0 | |
10403 | Part4.Material = Enum.Material.Wood | |
10404 | Part4.BrickColor = BrickColor.new("Pine Cone") | |
10405 | Part4.Anchored = true | |
10406 | Part4.Size = Vector3.new(1, 0.599999845, 0.599999964) | |
10407 | Part4.CFrame = CFrame.new(0.899998009, 9.09995365, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10408 | Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10409 | Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10410 | Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10411 | Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10412 | Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10413 | Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10414 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10415 | Part4.Position = Vector3.new(0.899998009, 9.09995365, 12.6999884) | |
10416 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10417 | Part5.Name = "main" | |
10418 | Part5.Parent = Model0 | |
10419 | Part5.BrickColor = BrickColor.new("Bright blue") | |
10420 | Part5.Transparency = 1 | |
10421 | Part5.Rotation = Vector3.new(0, -90, 0) | |
10422 | Part5.Anchored = true | |
10423 | Part5.CanCollide = false | |
10424 | Part5.FormFactor = Enum.FormFactor.Symmetric | |
10425 | Part5.Size = Vector3.new(2, 2, 1) | |
10426 | Part5.CFrame = CFrame.new(1.98998594, 6.33001804, 12.7000237, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10427 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
10428 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
10429 | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
10430 | Part5.Position = Vector3.new(1.98998594, 6.33001804, 12.7000237) | |
10431 | Part5.Orientation = Vector3.new(0, -90, 0) | |
10432 | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
10433 | Motor6D6.Name = "RootJoint" | |
10434 | Motor6D6.Parent = Part5 | |
10435 | Motor6D6.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
10436 | Motor6D6.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
10437 | Motor6D6.Part0 = Part5 | |
10438 | Motor6D6.MaxVelocity = 0.10000000149012 | |
10439 | Part7.Parent = Model0 | |
10440 | Part7.Material = Enum.Material.SmoothPlastic | |
10441 | Part7.BrickColor = BrickColor.new("Reddish brown") | |
10442 | Part7.Rotation = Vector3.new(90, 75, -180) | |
10443 | Part7.Anchored = true | |
10444 | Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
10445 | Part7.CFrame = CFrame.new(2.02295995, 7.37058878, 12.1000061, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10446 | Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10447 | Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10448 | Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10449 | Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10450 | Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10451 | Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10452 | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10453 | Part7.Position = Vector3.new(2.02295995, 7.37058878, 12.1000061) | |
10454 | Part7.Orientation = Vector3.new(15, 90, -90) | |
10455 | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10456 | Part8.Parent = Model0 | |
10457 | Part8.Material = Enum.Material.Wood | |
10458 | Part8.BrickColor = BrickColor.new("Pine Cone") | |
10459 | Part8.Anchored = true | |
10460 | Part8.Size = Vector3.new(0.200000003, 0.599999785, 0.599999964) | |
10461 | Part8.CFrame = CFrame.new(1.77999604, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10462 | Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10463 | Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10464 | Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10465 | Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10466 | Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10467 | Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10468 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10469 | Part8.Position = Vector3.new(1.77999604, 9.09992599, 12.6999884) | |
10470 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10471 | Part9.Parent = Model0 | |
10472 | Part9.Material = Enum.Material.SmoothPlastic | |
10473 | Part9.BrickColor = BrickColor.new("Reddish brown") | |
10474 | Part9.Rotation = Vector3.new(90, 75, -180) | |
10475 | Part9.Anchored = true | |
10476 | Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
10477 | Part9.CFrame = CFrame.new(2.02295995, 7.37058878, 13.299984, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10478 | Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10479 | Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10480 | Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10481 | Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10482 | Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10483 | Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10484 | Part9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10485 | Part9.Position = Vector3.new(2.02295995, 7.37058878, 13.299984) | |
10486 | Part9.Orientation = Vector3.new(15, 90, -90) | |
10487 | Part9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10488 | Part10.Parent = Model0 | |
10489 | Part10.Material = Enum.Material.SmoothPlastic | |
10490 | Part10.BrickColor = BrickColor.new("Reddish brown") | |
10491 | Part10.Anchored = true | |
10492 | Part10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
10493 | Part10.CFrame = CFrame.new(1.539994, 9.09992599, 12.8999901, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10494 | Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10495 | Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10496 | Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10497 | Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10498 | Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10499 | Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10500 | Part10.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10501 | Part10.Position = Vector3.new(1.539994, 9.09992599, 12.8999901) | |
10502 | Part10.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10503 | Part11.Parent = Model0 | |
10504 | Part11.Material = Enum.Material.SmoothPlastic | |
10505 | Part11.BrickColor = BrickColor.new("Reddish brown") | |
10506 | Part11.Anchored = true | |
10507 | Part11.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10508 | Part11.CFrame = CFrame.new(1.539994, 8.09998417, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10509 | Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10510 | Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10511 | Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10512 | Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10513 | Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10514 | Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10515 | Part11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10516 | Part11.Position = Vector3.new(1.539994, 8.09998417, 12.6999884) | |
10517 | Part11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10518 | Part12.Parent = Model0 | |
10519 | Part12.Material = Enum.Material.SmoothPlastic | |
10520 | Part12.BrickColor = BrickColor.new("Reddish brown") | |
10521 | Part12.Rotation = Vector3.new(90, 75, -180) | |
10522 | Part12.Anchored = true | |
10523 | Part12.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10524 | Part12.CFrame = CFrame.new(2.50592208, 7.24118423, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10525 | Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10526 | Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10527 | Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10528 | Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10529 | Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10530 | Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10531 | Part12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10532 | Part12.Position = Vector3.new(2.50592208, 7.24118423, 12.6999884) | |
10533 | Part12.Orientation = Vector3.new(15, 90, -90) | |
10534 | Part12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10535 | Part13.Parent = Model0 | |
10536 | Part13.Material = Enum.Material.SmoothPlastic | |
10537 | Part13.BrickColor = BrickColor.new("Reddish brown") | |
10538 | Part13.Anchored = true | |
10539 | Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
10540 | Part13.CFrame = CFrame.new(1.539994, 9.09992599, 12.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10541 | Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10542 | Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10543 | Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10544 | Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10545 | Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10546 | Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10547 | Part13.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10548 | Part13.Position = Vector3.new(1.539994, 9.09992599, 12.4999962) | |
10549 | Part13.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10550 | Part14.Parent = Model0 | |
10551 | Part14.Material = Enum.Material.SmoothPlastic | |
10552 | Part14.BrickColor = BrickColor.new("Reddish brown") | |
10553 | Part14.Rotation = Vector3.new(90, 75, -180) | |
10554 | Part14.Anchored = true | |
10555 | Part14.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10556 | Part14.CFrame = CFrame.new(1.539994, 7.49999714, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10557 | Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10558 | Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10559 | Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10560 | Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10561 | Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10562 | Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10563 | Part14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10564 | Part14.Position = Vector3.new(1.539994, 7.49999714, 12.6999884) | |
10565 | Part14.Orientation = Vector3.new(15, 90, -90) | |
10566 | Part14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10567 | Part15.Parent = Model0 | |
10568 | Part15.Material = Enum.Material.SmoothPlastic | |
10569 | Part15.BrickColor = BrickColor.new("Reddish brown") | |
10570 | Part15.Anchored = true | |
10571 | Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024) | |
10572 | Part15.CFrame = CFrame.new(1.539994, 8.89993, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10573 | Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10574 | Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10575 | Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10576 | Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10577 | Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10578 | Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10579 | Part15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10580 | Part15.Position = Vector3.new(1.539994, 8.89993, 12.6999884) | |
10581 | Part15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10582 | for i,v in pairs(mas:GetChildren()) do | |
10583 | v.Parent = workspace | |
10584 | pcall(function() v:MakeJoints() end) | |
10585 | end | |
10586 | mas:Destroy() | |
10587 | for i,v in pairs(cors) do | |
10588 | spawn(function() | |
10589 | pcall(v) | |
10590 | end) | |
10591 | end | |
10592 | hang = Model0 | |
10593 | hang.Parent = plr | |
10594 | hang:MoveTo(plr.Torso.Position-Vector3.new(0,0,5)) | |
10595 | pcall(function() | |
10596 | plr.HumanoidRootPart.CFrame = hang.main.CFrame | |
10597 | function weld(p, cf) | |
10598 | local weld1 = Instance.new("Weld") | |
10599 | weld1.Part0 = p | |
10600 | weld1.Part1 = plr.Torso | |
10601 | weld1.C0 = CFrame.new() | |
10602 | weld1.C1 = cf | |
10603 | weld1.Parent = p | |
10604 | end | |
10605 | weld(plr["Right Arm"], CFrame.new(0.8,0.3,-0.6) * CFrame.Angles(0, 0.5, 4)) | |
10606 | weld(plr["Left Arm"], CFrame.new(-0.8,0.3,-0.6) * CFrame.Angles(0, -0.5, -4)) | |
10607 | spawn(function() | |
10608 | repeat | |
10609 | wait(0.1) | |
10610 | plr.Humanoid.Health=plr.Humanoid.Health-0.6 | |
10611 | until (not hang) or (not hang.Parent) or (not v) or (not plr) or (not plr:FindFirstChild('Head')) or plr.Humanoid.Health<=0 | |
10612 | plr:BreakJoints() | |
10613 | end) | |
10614 | end) | |
10615 | end | |
10616 | end) | |
10617 | ||
10618 | addcmd('fix', 'restores lighting and what not',{}, | |
10619 | function(args, speaker) | |
10620 | LightingService.Ambient = origsettings.abt | |
10621 | LightingService.OutdoorAmbient = origsettings.oabt | |
10622 | LightingService.Brightness = origsettings.brt | |
10623 | LightingService.TimeOfDay = origsettings.time | |
10624 | LightingService.FogColor = origsettings.fclr | |
10625 | LightingService.FogEnd = origsettings.fe | |
10626 | LightingService.FogStart = origsettings.fs | |
10627 | playinggif = false | |
10628 | workspace.Gravity = 200 | |
10629 | local function dels(instance) for i,v in pairs(instance:GetChildren())do if v:IsA'Sound'then v:Destroy()end dels(v) end end dels(workspace) | |
10630 | for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end | |
10631 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
10632 | if v:IsA("PostEffect") then v:Destroy() end end | |
10633 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() Notify('Reset') end end) | |
10634 | ||
10635 | Floating = false | |
10636 | ||
10637 | addcmd('float', 'makes player float',{}, | |
10638 | function(args,speaker) | |
10639 | Floating = true | |
10640 | local players = getPlayer(args[1], speaker) | |
10641 | for _,v in pairs(players) do | |
10642 | local pchar = gPlayers[v].Character | |
10643 | if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then | |
10644 | spawn(function() | |
10645 | local float = DATA.Float:Clone() | |
10646 | float.Parent = pchar | |
10647 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
10648 | spawn(function() | |
10649 | while wait(0.1) do | |
10650 | if pchar:FindFirstChild("Float") then | |
10651 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
10652 | else | |
10653 | break | |
10654 | end | |
10655 | end | |
10656 | end) | |
10657 | end) | |
10658 | end | |
10659 | end | |
10660 | end) | |
10661 | ||
10662 | addcmd('unfloat','disables floating',{}, | |
10663 | function(args, speaker) | |
10664 | Floating = false | |
10665 | local players = getPlayer(args[1], speaker) | |
10666 | for i,v in pairs(players)do | |
10667 | local pchar = gPlayers[v].Character | |
10668 | if pchar:FindFirstChild("Float") then | |
10669 | pchar.Float:Destroy() | |
10670 | end | |
10671 | end | |
10672 | end) | |
10673 | ||
10674 | runningnoclip = false | |
10675 | Clip = true | |
10676 | addcmd('noclip','noclip',{}, | |
10677 | function(args, speaker) | |
10678 | if speaker.userId ~= LP.userId then | |
10679 | lponly(speaker) | |
10680 | else | |
10681 | Notify('Noclip enabled') | |
10682 | Clip = false | |
10683 | if LP.Character:FindFirstChild('Torso') then | |
10684 | wait(0.1) | |
10685 | if runningnoclip == false then runningnoclip = true | |
10686 | game:GetService('RunService').Stepped:connect(function () | |
10687 | if Clip == false and LP.Character ~= nil then | |
10688 | for _, child in pairs( LP.Character:GetDescendants()) do | |
10689 | if child.ClassName == 'Part' and child.CanCollide == true then | |
10690 | child.CanCollide = false | |
10691 | end end end end) end | |
10692 | else | |
10693 | r15noclip = true | |
10694 | end | |
10695 | end | |
10696 | end) | |
10697 | ||
10698 | addcmd('clip','clip',{}, | |
10699 | function(args, speaker) | |
10700 | if speaker.userId ~= LP.userId then | |
10701 | lponly(speaker) | |
10702 | else | |
10703 | Notify('Noclip disabled') | |
10704 | Clip = true | |
10705 | r15noclip = false | |
10706 | wait(0.1) | |
10707 | if LP.Character ~= nil then | |
10708 | LP.Character.Torso.CanCollide = true | |
10709 | LP.Character.Head.CanCollide = true | |
10710 | end end end) | |
10711 | ||
10712 | addcmd('prefix','changes prefix',{}, | |
10713 | function(args, speaker) | |
10714 | cmdprefix = args[1] | |
10715 | Notify('Set prefix to "' .. args[1] .. '"') | |
10716 | updatefile() | |
10717 | end) | |
10718 | ||
10719 | logsopen = false | |
10720 | addcmd('logs','shows logs',{}, | |
10721 | function(args, speaker) | |
10722 | if speaker.userId ~= LP.userId then | |
10723 | lponly(speaker) else | |
10724 | if logsopen == false then logsopen = true | |
10725 | logdrag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
10726 | end | |
10727 | end | |
10728 | end) | |
10729 | ||
10730 | local Saved = {} | |
10731 | ||
10732 | RestorePoint = function() | |
10733 | Saved = {} | |
10734 | for i, v in pairs(game:GetService("Workspace"):GetDescendants()) do | |
10735 | v.Archivable = true; | |
10736 | end | |
10737 | for i, v in pairs(game:GetService("Workspace"):GetChildren()) do | |
10738 | if not v:IsA("Terrain") and not v:IsA("Camera") then | |
10739 | if not game:GetService("Players"):FindFirstChild(v.Name) then | |
10740 | table.insert(Saved, v:Clone()); | |
10741 | end | |
10742 | elseif v:IsA("Terrain") then | |
10743 | Saved.Terrain = game:GetService("Workspace").Terrain:CopyRegion(game:GetService("Workspace").Terrain.MaxExtents); | |
10744 | end | |
10745 | end | |
10746 | return Saved; | |
10747 | end | |
10748 | ||
10749 | InsertPoint = function() | |
10750 | if #Saved == 0 and not Saved.Terrain then | |
10751 | return false; | |
10752 | end | |
10753 | for i, v in pairs(game:GetService("Workspace"):GetChildren()) do | |
10754 | if not v:IsA("Camera") and not v:IsA("Terrain") then | |
10755 | if not game:GetService("Players"):FindFirstChild(v.Name) then | |
10756 | pcall(function() | |
10757 | v:Destroy() | |
10758 | end) | |
10759 | end | |
10760 | elseif v:IsA("Terrain") then | |
10761 | v:Clear() | |
10762 | end | |
10763 | end | |
10764 | for i, v in ipairs(Saved) do | |
10765 | v:Clone().Parent = workspace; | |
10766 | end | |
10767 | game:GetService("Workspace").Terrain:PasteRegion(Saved.Terrain, game:GetService("Workspace").Terrain.MaxExtents.Min, true); | |
10768 | end | |
10769 | ||
10770 | addcmd('savemap','saves current map',{'smap'}, | |
10771 | function(args, speaker) | |
10772 | RestorePoint() | |
10773 | Notify('Saved current map') | |
10774 | end) | |
10775 | ||
10776 | addcmd('restoremap','saves current map',{'rmap'}, | |
10777 | function(args, speaker) | |
10778 | InsertPoint() | |
10779 | Notify('Loaded last saved map') | |
10780 | end) | |
10781 | ||
10782 | addcmd('respawn','respawns',{}, | |
10783 | function(args, speaker) | |
10784 | local players = getPlayer(args[1], speaker) | |
10785 | for i,v in pairs(players) do | |
10786 | respawn(gPlayers[v]) | |
10787 | end | |
10788 | end) | |
10789 | ||
10790 | addcmd('version','shows version',{''}, | |
10791 | function(args, speaker) | |
10792 | if speaker.userId ~= LP.userId then | |
10793 | lponly(speaker) | |
10794 | else | |
10795 | Notify("Version is " .. Version) | |
10796 | end | |
10797 | end) | |
10798 | local CTPenabled = false | |
10799 | Mouse.KeyDown:connect(function (Key) | |
10800 | if Key:byte() == 29 then | |
10801 | if FLYING == false then | |
10802 | execCmd("fly me", Player) | |
10803 | elseif FLYING == true then | |
10804 | execCmd("unfly me", Player) | |
10805 | end | |
10806 | end | |
10807 | if Key:byte() == 30 then | |
10808 | if Clip == true then | |
10809 | execCmd("noclip", Player) | |
10810 | elseif Clip == false then | |
10811 | execCmd("clip", Player) | |
10812 | end | |
10813 | end | |
10814 | Key = Key:lower() | |
10815 | if Key:byte() == 27 then | |
10816 | CTPenabled = true | |
10817 | end | |
10818 | end) | |
10819 | Mouse.KeyUp:connect(function(Key) | |
10820 | Key = Key:lower() | |
10821 | if Key:byte() == 27 then | |
10822 | CTPenabled = false | |
10823 | end | |
10824 | end) | |
10825 | Mouse.Button1Down:connect(function() | |
10826 | local charx = gPlayers.LocalPlayer.Character | |
10827 | if charx and CTPenabled == true then | |
10828 | charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0) | |
10829 | end | |
10830 | end) | |
10831 | ||
10832 | CMDbar = Instance.new('ScreenGui', game.CoreGui) | |
10833 | CMDbar.Name = 'GUI' | |
10834 | CMDbar.DisplayOrder = 2 | |
10835 | cont = Instance.new("Frame") | |
10836 | cmdBAR = Instance.new('TextBox', cont) | |
10837 | cont.Name = "cont" | |
10838 | cont.BackgroundTransparency = 1 | |
10839 | cont.Position = UDim2.new(1, -265, 0, -75) | |
10840 | cont.Size = UDim2.new(0, 270, 0, 45) | |
10841 | cont.Parent = CMDbar | |
10842 | cont.ZIndex = 5 | |
10843 | cont.Active = true | |
10844 | dragGUI(cont) | |
10845 | cmdBAR.Name = "CMDbar" | |
10846 | cmdBAR.Parent = cont | |
10847 | cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
10848 | cmdBAR.BackgroundTransparency = 0.7 | |
10849 | cmdBAR.BorderColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
10850 | cmdBAR.BorderSizePixel = 0 | |
10851 | cmdBAR.Position = UDim2.new(0, 10, 1, -35) | |
10852 | cmdBAR.Size = UDim2.new(0, 250, 0, 25) | |
10853 | cmdBAR.Font = Enum.Font.SourceSans | |
10854 | cmdBAR.FontSize = Enum.FontSize.Size18 | |
10855 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
10856 | cmdBAR.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
10857 | cmdBAR.ZIndex = 5 | |
10858 | DATA = Instance.new('Folder', game.ContextActionService) | |
10859 | DATA.Name = 'Data' | |
10860 | Paper = Instance.new('BlockMesh', DATA) | |
10861 | Paper.Name = 'Paper' | |
10862 | Paper.Scale = Vector3.new(1,1,0.1) | |
10863 | ayylmao = Instance.new('Hat', DATA) | |
10864 | ayylmao.Name = 'ayylmao' | |
10865 | ayyHandle = Instance.new('Part', ayylmao) | |
10866 | ayyHandle.Name = 'Handle' | |
10867 | ayyHandle.Size = Vector3.new(2,2.4,2) | |
10868 | ayyHandle.FormFactor = 'Plate' | |
10869 | ayyMesh = Instance.new('SpecialMesh', ayyHandle) | |
10870 | ayyMesh.Scale = Vector3.new(1,1.02,1) | |
10871 | ayyMesh.MeshType = 'FileMesh' | |
10872 | ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689' | |
10873 | ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796' | |
10874 | Float = Instance.new('Part', DATA) | |
10875 | Float.Name = 'Float' | |
10876 | Float.Transparency = 1 | |
10877 | Float.Size = Vector3.new(6,1,6) | |
10878 | Float.Anchored = true | |
10879 | function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end | |
10880 | missile = Instance.new('Part', DATA) | |
10881 | missile.Name = 'IY_missile' | |
10882 | missile.CanCollide = false | |
10883 | missile.Size = Vector3.new(2, 5, 2) | |
10884 | Instance.new('CylinderMesh', missile) | |
10885 | local F = Instance.new('Part', missile) | |
10886 | F.BrickColor = BrickColor.new('Black') | |
10887 | F.CanCollide = false | |
10888 | F.Size = Vector3.new(2, 0.2, 2) | |
10889 | Instance.new('CylinderMesh', F) | |
10890 | local fire = Instance.new('Fire', F) | |
10891 | fire.Size = "15" | |
10892 | fire.Heat = "25" | |
10893 | local head = Instance.new('Part', missile) | |
10894 | head.CanCollide = false | |
10895 | head.Shape = 'Ball' | |
10896 | head.Size = Vector3.new(2, 2, 2) | |
10897 | head.TopSurface = 'Smooth' | |
10898 | head.BottomSurface = 'Smooth' | |
10899 | local BF = Instance.new('BodyForce', missile) | |
10900 | BF.Name = 'force' | |
10901 | BF.Force = Vector3.new(0, 0, 0) | |
10902 | local W1 = Instance.new('Weld', missile) | |
10903 | W1.Part0 = missile | |
10904 | W1.Part1 = F | |
10905 | W1.C1 = CFrame.new(0, 2.6, 0) | |
10906 | local W2 = Instance.new('Weld', missile) | |
10907 | W2.Part0 = missile | |
10908 | W2.Part1 = head | |
10909 | W2.C1 = CFrame.new(0, -2.6, 0) | |
10910 | jail = Instance.new('Model', DATA) | |
10911 | jail.Name = 'JAIL' | |
10912 | local B = Instance.new('Part', jail) | |
10913 | B.Name = 'BUTTOM' | |
10914 | B.BrickColor = BrickColor.new('Black') | |
10915 | B.Transparency = 0.5 | |
10916 | B.Anchored = true | |
10917 | B.Locked = true | |
10918 | B.Size = Vector3.new(6, 1, 6) | |
10919 | B.TopSurface = 'Smooth' | |
10920 | B.BottomSurface = 'Smooth' | |
10921 | local M = Instance.new('Part', jail) | |
10922 | M.Name = 'MAIN' | |
10923 | M.BrickColor = BrickColor.new('Black') | |
10924 | M.Transparency = 1 | |
10925 | M.Anchored = true | |
10926 | M.CanCollide = false | |
10927 | M.Locked = true | |
10928 | M.Position = B.Position + Vector3.new(0, 3, 0) | |
10929 | M.Size = Vector3.new(1, 1, 1) | |
10930 | local P1 = Instance.new('Part', jail) | |
10931 | P1.BrickColor = BrickColor.new('Black') | |
10932 | P1.Transparency = 0.5 | |
10933 | P1.Position = B.Position + Vector3.new(0, 3.5, -2.5) | |
10934 | P1.Rotation = Vector3.new(0, 90, 0) | |
10935 | P1.Anchored = true | |
10936 | P1.Locked = true | |
10937 | P1.Size = Vector3.new(1, 6, 6) | |
10938 | local P2 = Instance.new('Part', jail) | |
10939 | P2.BrickColor = BrickColor.new('Black') | |
10940 | P2.Transparency = 0.5 | |
10941 | P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0) | |
10942 | P2.Rotation = Vector3.new(-180, 0, -180) | |
10943 | P2.Anchored = true | |
10944 | P2.Locked = true | |
10945 | P2.Size = Vector3.new(1, 6, 4) | |
10946 | local P3 = Instance.new('Part', jail) | |
10947 | P3.BrickColor = BrickColor.new('Black') | |
10948 | P3.Transparency = 0.5 | |
10949 | P3.Position = B.Position + Vector3.new(2.5, 3.5, 0) | |
10950 | P3.Rotation = Vector3.new(0, 0, 0) | |
10951 | P3.Anchored = true | |
10952 | P3.Locked = true | |
10953 | P3.Size = Vector3.new(1, 6, 4) | |
10954 | local P4 = Instance.new('Part', jail) | |
10955 | P4.BrickColor = BrickColor.new('Black') | |
10956 | P4.Transparency = 0.5 | |
10957 | P4.Position = B.Position + Vector3.new(0, 3.5, 2.5) | |
10958 | P4.Rotation = Vector3.new(0, 90, 0) | |
10959 | P4.Anchored = true | |
10960 | P4.Locked = true | |
10961 | P4.Size = Vector3.new(1, 6, 6) | |
10962 | local TOP = Instance.new('Part', jail) | |
10963 | TOP.BrickColor = BrickColor.new('Black') | |
10964 | TOP.Transparency = 0.5 | |
10965 | TOP.Position = B.Position + Vector3.new(0, 7, 0) | |
10966 | TOP.Rotation = Vector3.new(0, 0, 0) | |
10967 | TOP.Anchored = true | |
10968 | TOP.Locked = true | |
10969 | TOP.Size = Vector3.new(6, 1, 6) | |
10970 | TOP.TopSurface = 'Smooth' | |
10971 | TOP.BottomSurface = 'Smooth' | |
10972 | cp = Instance.new("ScreenGui") | |
10973 | local Frame = Instance.new("Frame") | |
10974 | local holder = Instance.new("Frame") | |
10975 | bar = Instance.new("Frame") | |
10976 | local cmds = Instance.new("TextButton") | |
10977 | local settings = Instance.new("TextButton") | |
10978 | local Hide = Instance.new("TextButton") | |
10979 | local Exit = Instance.new("TextButton") | |
10980 | FeedbackMain = Instance.new("Frame") | |
10981 | local Title = Instance.new("TextLabel") | |
10982 | local checkboxText = Instance.new("TextLabel") | |
10983 | local CheckBox = Instance.new("ImageButton") | |
10984 | local bindInput = Instance.new("TextButton") | |
10985 | Input = Instance.new("TextBox") | |
10986 | local preText = Instance.new("TextLabel") | |
10987 | local setpre = Instance.new("TextButton") | |
10988 | local everyone = Instance.new("TextButton") | |
10989 | local JLtext = Instance.new("TextLabel") | |
10990 | local CheckBoxJL = Instance.new("ImageButton") | |
10991 | local friends = Instance.new("TextButton") | |
10992 | local InputBox = Instance.new("TextButton") | |
10993 | Input_2 = Instance.new("TextBox") | |
10994 | local MTText = Instance.new("TextLabel") | |
10995 | local setMT = Instance.new("TextButton") | |
10996 | local CheckBoxS = Instance.new("ImageButton") | |
10997 | local slocktext = Instance.new("TextLabel") | |
10998 | local barBind = Instance.new("TextLabel") | |
10999 | local setBind = Instance.new("TextButton") | |
11000 | local MtimeInput = Instance.new("TextButton") | |
11001 | Input_3 = Instance.new("TextBox") | |
11002 | local size = Instance.new("Frame") | |
11003 | MAIN = Instance.new("Frame") | |
11004 | local Title_2 = Instance.new("TextLabel") | |
11005 | local Example = Instance.new("TextLabel") | |
11006 | local Search = Instance.new("TextBox") | |
11007 | local CMDss = Instance.new("ScrollingFrame") | |
11008 | local uicolortext = Instance.new("TextLabel") | |
11009 | local openC = Instance.new("TextButton") | |
11010 | cp.Name = "cp" | |
11011 | cp.Parent = DATA | |
11012 | Frame.Parent = cp | |
11013 | Frame.Active = true | |
11014 | Frame.BackgroundColor3 = Color3.new(1, 1, 1) | |
11015 | Frame.BackgroundTransparency = 1 | |
11016 | Frame.Position = UDim2.new(1, -300, 1, -330) | |
11017 | Frame.Size = UDim2.new(0, 300, 0, 40) | |
11018 | holder.Name = "holder" | |
11019 | holder.Parent = Frame | |
11020 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
11021 | holder.BackgroundTransparency = 1 | |
11022 | holder.BorderSizePixel = 2 | |
11023 | holder.ClipsDescendants = true | |
11024 | holder.Size = UDim2.new(0, 300, 0, 330) | |
11025 | holder.ZIndex = 2 | |
11026 | bar.Name = "bar" | |
11027 | bar.Parent = holder | |
11028 | bar.BackgroundColor3 = maincolor | |
11029 | bar.BackgroundTransparency = 0.30000001192093 | |
11030 | bar.BorderColor3 = Color3.new(0, 0, 0) | |
11031 | bar.BorderSizePixel = 0 | |
11032 | bar.Position = UDim2.new(1, -295, 1, -330) | |
11033 | bar.Size = UDim2.new(0, 290, 0, 26) | |
11034 | cmds.Name = "cmds" | |
11035 | cmds.Parent = bar | |
11036 | cmds.BackgroundColor3 = Color3.new(0, 0, 0) | |
11037 | cmds.BackgroundTransparency = 0.80000001192093 | |
11038 | cmds.BorderColor3 = Color3.new(1, 1, 1) | |
11039 | cmds.Position = UDim2.new(0, 3, 0, 3) | |
11040 | cmds.Size = UDim2.new(0, 70, 0, 20) | |
11041 | cmds.Font = Enum.Font.SourceSans | |
11042 | cmds.FontSize = Enum.FontSize.Size14 | |
11043 | cmds.Text = "Commands" | |
11044 | cmds.TextColor3 = Color3.new(1, 1, 1) | |
11045 | settings.Name = "settings" | |
11046 | settings.Parent = bar | |
11047 | settings.BackgroundColor3 = Color3.new(0, 0, 0) | |
11048 | settings.BackgroundTransparency = 0.80000001192093 | |
11049 | settings.BorderColor3 = Color3.new(1, 1, 1) | |
11050 | settings.Position = UDim2.new(0, 77, 0, 3) | |
11051 | settings.Size = UDim2.new(0, 70, 0, 20) | |
11052 | settings.Font = Enum.Font.SourceSans | |
11053 | settings.FontSize = Enum.FontSize.Size14 | |
11054 | settings.Text = "Settings" | |
11055 | settings.TextColor3 = Color3.new(1, 1, 1) | |
11056 | Hide.Name = "Hide" | |
11057 | Hide.Parent = bar | |
11058 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
11059 | Hide.BackgroundTransparency = 0.30000001192093 | |
11060 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
11061 | Hide.BorderSizePixel = 0 | |
11062 | Hide.Position = UDim2.new(0, 243, 0, 3) | |
11063 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
11064 | Hide.FontSize = Enum.FontSize.Size14 | |
11065 | Hide.Text = "" | |
11066 | Exit.Name = "Exit" | |
11067 | Exit.Parent = bar | |
11068 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
11069 | Exit.BackgroundTransparency = 0.30000001192093 | |
11070 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
11071 | Exit.BorderSizePixel = 0 | |
11072 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
11073 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
11074 | Exit.FontSize = Enum.FontSize.Size14 | |
11075 | Exit.Text = "" | |
11076 | FeedbackMain.Name = "FeedbackMain" | |
11077 | FeedbackMain.Parent = holder | |
11078 | FeedbackMain.BackgroundColor3 = maincolor | |
11079 | FeedbackMain.BackgroundTransparency = 0.5 | |
11080 | FeedbackMain.BorderColor3 = Color3.new(0, 0, 0) | |
11081 | FeedbackMain.BorderSizePixel = 0 | |
11082 | FeedbackMain.Position = UDim2.new(1.01999998, -301, 1.01800001, -310) | |
11083 | FeedbackMain.Size = UDim2.new(0, 290, 0, 300) | |
11084 | Title.Name = "Title" | |
11085 | Title.Parent = FeedbackMain | |
11086 | Title.BackgroundColor3 = Color3.new(1, 1, 1) | |
11087 | Title.BackgroundTransparency = 1 | |
11088 | Title.Size = UDim2.new(1, 0, 0, 30) | |
11089 | Title.Font = Enum.Font.SourceSansBold | |
11090 | Title.FontSize = Enum.FontSize.Size24 | |
11091 | Title.Text = "Settings" | |
11092 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11093 | Title.TextStrokeTransparency = 0 | |
11094 | checkboxText.Name = "checkboxText" | |
11095 | checkboxText.Parent = FeedbackMain | |
11096 | checkboxText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11097 | checkboxText.BackgroundTransparency = 1 | |
11098 | checkboxText.Position = UDim2.new(0, 0, 0, 60) | |
11099 | checkboxText.Size = UDim2.new(1, 0, 0, 30) | |
11100 | checkboxText.Font = Enum.Font.SourceSansBold | |
11101 | checkboxText.FontSize = Enum.FontSize.Size18 | |
11102 | checkboxText.Text = " Suggestions" | |
11103 | checkboxText.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471) | |
11104 | checkboxText.TextStrokeTransparency = 0 | |
11105 | checkboxText.TextXAlignment = Enum.TextXAlignment.Left | |
11106 | CheckBox.Name = "CheckBox" | |
11107 | CheckBox.Parent = FeedbackMain | |
11108 | CheckBox.BackgroundTransparency = 1 | |
11109 | CheckBox.Position = UDim2.new(0, 240, 0, 60) | |
11110 | CheckBox.Size = UDim2.new(0, 30, 0, 30) | |
11111 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
11112 | bindInput.Name = "bindInput" | |
11113 | bindInput.Parent = FeedbackMain | |
11114 | bindInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
11115 | bindInput.Position = UDim2.new(0, 187, 0, 260) | |
11116 | bindInput.Size = UDim2.new(0, 30, 0, 30) | |
11117 | bindInput.AutoButtonColor = false | |
11118 | bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11119 | bindInput.Font = Enum.Font.SourceSans | |
11120 | bindInput.FontSize = Enum.FontSize.Size14 | |
11121 | bindInput.Text = "" | |
11122 | Input.Name = "Input" | |
11123 | Input.Parent = bindInput | |
11124 | Input.BackgroundColor3 = Color3.new(1, 1, 1) | |
11125 | Input.BackgroundTransparency = 1 | |
11126 | Input.Position = UDim2.new(0, -8, 0, -8) | |
11127 | Input.Size = UDim2.new(0, 20, 0, 20) | |
11128 | Input.Font = Enum.Font.SourceSansBold | |
11129 | Input.FontSize = Enum.FontSize.Size18 | |
11130 | Input.MultiLine = true | |
11131 | Input.Text = ";" | |
11132 | Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11133 | Input.TextWrapped = true | |
11134 | Input.TextYAlignment = Enum.TextYAlignment.Top | |
11135 | preText.Name = "preText" | |
11136 | preText.Parent = FeedbackMain | |
11137 | preText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11138 | preText.BackgroundTransparency = 1 | |
11139 | preText.Position = UDim2.new(0, 0, 0, 140) | |
11140 | preText.Size = UDim2.new(1, 0, 0, 30) | |
11141 | preText.Font = Enum.Font.SourceSansBold | |
11142 | preText.FontSize = Enum.FontSize.Size18 | |
11143 | preText.Text = " Prefix" | |
11144 | preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11145 | preText.TextStrokeTransparency = 0 | |
11146 | preText.TextXAlignment = Enum.TextXAlignment.Left | |
11147 | setpre.Name = "setpre" | |
11148 | setpre.Parent = FeedbackMain | |
11149 | setpre.BackgroundColor3 = Color3.new(1, 1, 1) | |
11150 | setpre.BorderSizePixel = 5 | |
11151 | setpre.Position = UDim2.new(0, 235, 0, 142) | |
11152 | setpre.Size = UDim2.new(0, 40, 0, 25) | |
11153 | setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11154 | setpre.Font = Enum.Font.ArialBold | |
11155 | setpre.FontSize = Enum.FontSize.Size18 | |
11156 | setpre.Text = "Set" | |
11157 | everyone.Name = "everyone" | |
11158 | everyone.Parent = FeedbackMain | |
11159 | everyone.BackgroundColor3 = Color3.new(0, 0, 0) | |
11160 | everyone.BackgroundTransparency = 0.80000001192093 | |
11161 | everyone.BorderColor3 = Color3.new(0, 0, 0) | |
11162 | everyone.Position = UDim2.new(0, 230, 0, 237) | |
11163 | everyone.Size = UDim2.new(0, 50, 0, 20) | |
11164 | everyone.Font = Enum.Font.SourceSans | |
11165 | everyone.FontSize = Enum.FontSize.Size14 | |
11166 | everyone.Text = "Everyone" | |
11167 | everyone.TextColor3 = Color3.new(1, 1, 1) | |
11168 | JLtext.Name = "JLtext" | |
11169 | JLtext.Parent = FeedbackMain | |
11170 | JLtext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11171 | JLtext.BackgroundTransparency = 1 | |
11172 | JLtext.Position = UDim2.new(0, 0, 0, 220) | |
11173 | JLtext.Size = UDim2.new(1, 0, 0, 30) | |
11174 | JLtext.Font = Enum.Font.SourceSansBold | |
11175 | JLtext.FontSize = Enum.FontSize.Size18 | |
11176 | JLtext.Text = " Joined/Left Notifications" | |
11177 | JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11178 | JLtext.TextStrokeTransparency = 0 | |
11179 | JLtext.TextXAlignment = Enum.TextXAlignment.Left | |
11180 | CheckBoxJL.Name = "CheckBoxJL" | |
11181 | CheckBoxJL.Parent = FeedbackMain | |
11182 | CheckBoxJL.BackgroundTransparency = 1 | |
11183 | CheckBoxJL.Position = UDim2.new(0, 187, 0, 220) | |
11184 | CheckBoxJL.Size = UDim2.new(0, 30, 0, 30) | |
11185 | CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641" | |
11186 | friends.Name = "friends" | |
11187 | friends.Parent = FeedbackMain | |
11188 | friends.BackgroundColor3 = Color3.new(0, 0, 0) | |
11189 | friends.BackgroundTransparency = 0.80000001192093 | |
11190 | friends.BorderColor3 = Color3.new(1, 1, 1) | |
11191 | friends.Position = UDim2.new(0, 230, 0, 215) | |
11192 | friends.Size = UDim2.new(0, 50, 0, 20) | |
11193 | friends.Font = Enum.Font.SourceSans | |
11194 | friends.FontSize = Enum.FontSize.Size14 | |
11195 | friends.Text = "Friends" | |
11196 | friends.TextColor3 = Color3.new(1, 1, 1) | |
11197 | InputBox.Name = "InputBox" | |
11198 | InputBox.Parent = FeedbackMain | |
11199 | InputBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
11200 | InputBox.Position = UDim2.new(0, 187, 0, 140) | |
11201 | InputBox.Size = UDim2.new(0, 30, 0, 30) | |
11202 | InputBox.AutoButtonColor = false | |
11203 | InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11204 | InputBox.Font = Enum.Font.SourceSans | |
11205 | InputBox.FontSize = Enum.FontSize.Size14 | |
11206 | InputBox.Text = "" | |
11207 | Input_2.Name = "Input" | |
11208 | Input_2.Parent = InputBox | |
11209 | Input_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
11210 | Input_2.BackgroundTransparency = 1 | |
11211 | Input_2.Position = UDim2.new(0, -8, 0, -8) | |
11212 | Input_2.Size = UDim2.new(0, 20, 0, 20) | |
11213 | Input_2.Font = Enum.Font.SourceSansBold | |
11214 | Input_2.FontSize = Enum.FontSize.Size18 | |
11215 | Input_2.MultiLine = true | |
11216 | Input_2.Text = ";" | |
11217 | Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11218 | Input_2.TextWrapped = true | |
11219 | Input_2.TextYAlignment = Enum.TextYAlignment.Top | |
11220 | MTText.Name = "MTText" | |
11221 | MTText.Parent = FeedbackMain | |
11222 | MTText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11223 | MTText.BackgroundTransparency = 1 | |
11224 | MTText.Position = UDim2.new(0, 0, 0, 180) | |
11225 | MTText.Size = UDim2.new(1, 0, 0, 30) | |
11226 | MTText.Font = Enum.Font.SourceSansBold | |
11227 | MTText.FontSize = Enum.FontSize.Size18 | |
11228 | MTText.Text = " Message Seconds" | |
11229 | MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11230 | MTText.TextStrokeTransparency = 0 | |
11231 | MTText.TextXAlignment = Enum.TextXAlignment.Left | |
11232 | setMT.Name = "setMT" | |
11233 | setMT.Parent = FeedbackMain | |
11234 | setMT.BackgroundColor3 = Color3.new(1, 1, 1) | |
11235 | setMT.BorderSizePixel = 5 | |
11236 | setMT.Position = UDim2.new(0, 235, 0, 183) | |
11237 | setMT.Size = UDim2.new(0, 40, 0, 25) | |
11238 | setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11239 | setMT.Font = Enum.Font.ArialBold | |
11240 | setMT.FontSize = Enum.FontSize.Size18 | |
11241 | setMT.Text = "Set" | |
11242 | CheckBoxS.Name = "CheckBoxS" | |
11243 | CheckBoxS.Parent = FeedbackMain | |
11244 | CheckBoxS.BackgroundTransparency = 1 | |
11245 | CheckBoxS.Position = UDim2.new(0, 240, 0, 100) | |
11246 | CheckBoxS.Size = UDim2.new(0, 30, 0, 30) | |
11247 | CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641" | |
11248 | slocktext.Name = "slocktext" | |
11249 | slocktext.Parent = FeedbackMain | |
11250 | slocktext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11251 | slocktext.BackgroundTransparency = 1 | |
11252 | slocktext.Position = UDim2.new(0, 0, 0, 100) | |
11253 | slocktext.Size = UDim2.new(1, 0, 0, 30) | |
11254 | slocktext.Font = Enum.Font.SourceSansBold | |
11255 | slocktext.FontSize = Enum.FontSize.Size18 | |
11256 | slocktext.Text = " Allow Friends On Serverlock" | |
11257 | slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11258 | slocktext.TextStrokeTransparency = 0 | |
11259 | slocktext.TextXAlignment = Enum.TextXAlignment.Left | |
11260 | barBind.Name = "barBind" | |
11261 | barBind.Parent = FeedbackMain | |
11262 | barBind.BackgroundColor3 = Color3.new(1, 1, 1) | |
11263 | barBind.BackgroundTransparency = 1 | |
11264 | barBind.Position = UDim2.new(0, 0, 0, 260) | |
11265 | barBind.Size = UDim2.new(1, 0, 0, 30) | |
11266 | barBind.Font = Enum.Font.SourceSansBold | |
11267 | barBind.FontSize = Enum.FontSize.Size18 | |
11268 | barBind.Text = " Command Bar Keybind" | |
11269 | barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11270 | barBind.TextStrokeTransparency = 0 | |
11271 | barBind.TextXAlignment = Enum.TextXAlignment.Left | |
11272 | setBind.Name = "setBind" | |
11273 | setBind.Parent = FeedbackMain | |
11274 | setBind.BackgroundColor3 = Color3.new(1, 1, 1) | |
11275 | setBind.BorderSizePixel = 5 | |
11276 | setBind.Position = UDim2.new(0, 235, 0, 262) | |
11277 | setBind.Size = UDim2.new(0, 40, 0, 25) | |
11278 | setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11279 | setBind.Font = Enum.Font.ArialBold | |
11280 | setBind.FontSize = Enum.FontSize.Size18 | |
11281 | setBind.Text = "Set" | |
11282 | MtimeInput.Name = "MtimeInput" | |
11283 | MtimeInput.Parent = FeedbackMain | |
11284 | MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
11285 | MtimeInput.Position = UDim2.new(0, 187, 0, 180) | |
11286 | MtimeInput.Size = UDim2.new(0, 30, 0, 30) | |
11287 | MtimeInput.AutoButtonColor = false | |
11288 | MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11289 | MtimeInput.Font = Enum.Font.SourceSans | |
11290 | MtimeInput.FontSize = Enum.FontSize.Size14 | |
11291 | MtimeInput.Text = "" | |
11292 | Input_3.Name = "Input" | |
11293 | Input_3.Parent = MtimeInput | |
11294 | Input_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
11295 | Input_3.BackgroundTransparency = 1 | |
11296 | Input_3.Position = UDim2.new(0, -8, 0, -8) | |
11297 | Input_3.Size = UDim2.new(0, 20, 0, 20) | |
11298 | Input_3.Font = Enum.Font.SourceSansBold | |
11299 | Input_3.FontSize = Enum.FontSize.Size18 | |
11300 | Input_3.MultiLine = true | |
11301 | Input_3.Text = "7" | |
11302 | Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11303 | Input_3.TextWrapped = true | |
11304 | Input_3.TextYAlignment = Enum.TextYAlignment.Top | |
11305 | uicolortext.Name = "uicolortext" | |
11306 | uicolortext.Parent = FeedbackMain | |
11307 | uicolortext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11308 | uicolortext.BackgroundTransparency = 1 | |
11309 | uicolortext.Position = UDim2.new(0, 0, 0, 30) | |
11310 | uicolortext.Size = UDim2.new(1, 0, 0, 30) | |
11311 | uicolortext.Font = Enum.Font.SourceSansBold | |
11312 | uicolortext.FontSize = Enum.FontSize.Size18 | |
11313 | uicolortext.Text = " UI Color" | |
11314 | uicolortext.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471) | |
11315 | uicolortext.TextStrokeTransparency = 0 | |
11316 | uicolortext.TextXAlignment = Enum.TextXAlignment.Left | |
11317 | openC.Name = "openC" | |
11318 | openC.Parent = FeedbackMain | |
11319 | openC.BackgroundColor3 = Color3.new(1, 1, 1) | |
11320 | openC.BorderSizePixel = 5 | |
11321 | openC.Position = UDim2.new(0, 235, 0, 32) | |
11322 | openC.Size = UDim2.new(0, 40, 0, 25) | |
11323 | openC.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11324 | openC.Font = Enum.Font.ArialBold | |
11325 | openC.FontSize = Enum.FontSize.Size18 | |
11326 | openC.Text = "Set" | |
11327 | size.Name = "size" | |
11328 | size.Parent = holder | |
11329 | size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11330 | size.BackgroundTransparency = 1 | |
11331 | size.Position = UDim2.new(1, -301, 1, -300) | |
11332 | size.Size = UDim2.new(0, 275, 0, 300) | |
11333 | size.ZIndex = 2 | |
11334 | MAIN.Name = "MAIN" | |
11335 | MAIN.Parent = size | |
11336 | MAIN.BackgroundColor3 = maincolor | |
11337 | MAIN.BackgroundTransparency = 0.5 | |
11338 | MAIN.BorderColor3 = Color3.new(0, 0, 0) | |
11339 | MAIN.BorderSizePixel = 0 | |
11340 | MAIN.Position = UDim2.new(0.0181818176, 1, 1.00333333, -305) | |
11341 | MAIN.Size = UDim2.new(0, 290, 0, 300) | |
11342 | Title_2.Name = "Title" | |
11343 | Title_2.Parent = MAIN | |
11344 | Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11345 | Title_2.BackgroundTransparency = 1 | |
11346 | Title_2.Size = UDim2.new(1, 0, 0, 30) | |
11347 | Title_2.Font = Enum.Font.SourceSansBold | |
11348 | Title_2.FontSize = Enum.FontSize.Size24 | |
11349 | Title_2.Text = "Commands" | |
11350 | Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11351 | Title_2.TextStrokeTransparency = 0 | |
11352 | Example.Name = "Example" | |
11353 | Example.Parent = MAIN | |
11354 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11355 | Example.BackgroundTransparency = 1 | |
11356 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11357 | Example.BorderSizePixel = 0 | |
11358 | Example.Size = UDim2.new(0, 190, 0, 20) | |
11359 | Example.Visible = false | |
11360 | Example.Font = Enum.Font.SourceSansBold | |
11361 | Example.TextSize = 20 | |
11362 | Example.Text = "txt" | |
11363 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
11364 | Example.TextStrokeTransparency = 0 | |
11365 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
11366 | Example.ZIndex = 6 | |
11367 | Search.Name = "Search" | |
11368 | Search.Parent = MAIN | |
11369 | Search.BackgroundColor3 = Color3.new(0, 0, 0) | |
11370 | Search.BackgroundTransparency = 0.69999998807907 | |
11371 | Search.BorderColor3 = Color3.new(1, 1, 1) | |
11372 | Search.Position = UDim2.new(0.5, -127, 0.200000003, -25) | |
11373 | Search.Size = UDim2.new(0, 250, 0, 20) | |
11374 | Search.ClearTextOnFocus = false | |
11375 | Search.Font = Enum.Font.SourceSansBold | |
11376 | Search.FontSize = Enum.FontSize.Size18 | |
11377 | Search.Text = "Search" | |
11378 | Search.TextColor3 = Color3.new(1, 1, 1) | |
11379 | Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824) | |
11380 | Search.TextStrokeTransparency = 0 | |
11381 | CMDss.Name = "CMDs" | |
11382 | CMDss.Parent = MAIN | |
11383 | CMDss.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11384 | CMDss.BackgroundTransparency = 1 | |
11385 | CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11386 | CMDss.BorderSizePixel = 0 | |
11387 | CMDss.Position = UDim2.new(0, 10, 0, 65) | |
11388 | CMDss.Size = UDim2.new(0, 280, 0, 230) | |
11389 | CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11390 | CMDss.CanvasSize = UDim2.new(0, 0, 0, 5260) | |
11391 | CMDss.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11392 | CMDss.ScrollBarThickness = 8 | |
11393 | CMDss.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11394 | notifyMAIN = Instance.new('ScreenGui', DATA) | |
11395 | notifyMAIN.Name = 'Notification' | |
11396 | notifyNOT = Instance.new('Frame', notifyMAIN) | |
11397 | notifyNOT.Name = 'NOTIFY' | |
11398 | notifyNOT.BackgroundColor = BrickColor.new(0,0,0) | |
11399 | notifyNOT.BackgroundTransparency = 1 | |
11400 | notifyNOT.BorderColor = BrickColor.new(0,0,0) | |
11401 | notifyNOT.BorderSizePixel = 2 | |
11402 | notifyNOT.Position = UDim2.new(0,0,-0.06,0) | |
11403 | notifyNOT.Size = UDim2.new(1,0,0,-40) | |
11404 | notifyNOTE = Instance.new('TextLabel', notifyNOT) | |
11405 | notifyNOTE.Name = 'NOTE' | |
11406 | notifyNOTE.BackgroundColor = BrickColor.new(255,255,255) | |
11407 | notifyNOTE.BackgroundTransparency = 1 | |
11408 | notifyNOTE.BorderColor = BrickColor.new(255,255,255) | |
11409 | notifyNOTE.BorderSizePixel = 0 | |
11410 | notifyNOTE.Size = UDim2.new(1,0,1,0) | |
11411 | notifyNOTE.ZIndex = 4 | |
11412 | notifyNOTE.FontSize = 'Size18' | |
11413 | notifyNOTE.Font = 'SourceSansBold' | |
11414 | notifyNOTE.Text = 'NOTIFY' | |
11415 | notifyNOTE.TextColor = BrickColor.new(255,255,255) | |
11416 | notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0) | |
11417 | notifyNOTE.TextStrokeTransparency = 0.8 | |
11418 | ||
11419 | addcmd('ayylmao','ayy lmao',{'alien'}, | |
11420 | function(args, speaker) | |
11421 | local players = getPlayer(args[1], speaker) | |
11422 | for i,v in pairs(players)do | |
11423 | local pchar = gPlayers[v].Character | |
11424 | if pchar:FindFirstChild("Shirt") then | |
11425 | pchar.Shirt:Destroy() | |
11426 | end | |
11427 | if pchar:FindFirstChild("Pants") then | |
11428 | pchar.Pants:Destroy() | |
11429 | end | |
11430 | if pchar:FindFirstChild("Shirt Graphic") then | |
11431 | pchar["Shirt Graphic"].Graphic = "" | |
11432 | end | |
11433 | for i,v in pairs(pchar:GetChildren()) do | |
11434 | if v:IsA("Accessory") then | |
11435 | v:Destroy() | |
11436 | end | |
11437 | end | |
11438 | local ayylmao = DATA.ayylmao:Clone() | |
11439 | ayylmao.Parent = pchar | |
11440 | local BC = pchar["Body Colors"] | |
11441 | BC.HeadColor = BrickColor.new("Fossil") | |
11442 | BC.LeftArmColor = BrickColor.new("Fossil") | |
11443 | BC.LeftLegColor = BrickColor.new("Fossil") | |
11444 | BC.RightArmColor = BrickColor.new("Fossil") | |
11445 | BC.RightLegColor = BrickColor.new("Fossil") | |
11446 | BC.TorsoColor = BrickColor.new("Fossil") | |
11447 | end | |
11448 | end) | |
11449 | HKFolder = Instance.new("Folder", game.CoreGui) | |
11450 | for i,v in pairs(HK) do | |
11451 | local HKValue = Instance.new("StringValue", HKFolder) | |
11452 | HKValue.Value = v | |
11453 | HKValue.RobloxLocked = true | |
11454 | end | |
11455 | CMDsFolder = Instance.new("Folder", game.CoreGui) | |
11456 | for i,v in pairs(CMDs) do | |
11457 | local CMDsValue = Instance.new("StringValue", CMDsFolder) | |
11458 | CMDsValue.Value = v | |
11459 | CMDsValue.RobloxLocked = true | |
11460 | end | |
11461 | cmdOpen = false | |
11462 | function commands() | |
11463 | if cmdOpen == false then | |
11464 | cmdOpen = true | |
11465 | local cmds = cp:Clone() | |
11466 | cmds.Parent = game.CoreGui | |
11467 | local HKV = HKFolder:GetChildren() | |
11468 | local CMDsV = CMDsFolder:GetChildren() | |
11469 | dragGUI(cmds.Frame) | |
11470 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.01,true) wait(0.01) | |
11471 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11472 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) | |
11473 | SettingsGUI = game.CoreGui.cp.Frame.holder if Nfriends == true then | |
11474 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11475 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif Nfriends == false then | |
11476 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
11477 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
11478 | end | |
11479 | --joined/left friend option | |
11480 | SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() | |
11481 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11482 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) | |
11483 | Nfriends = true updatefile() | |
11484 | end) | |
11485 | SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() | |
11486 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
11487 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
11488 | Nfriends = false updatefile() | |
11489 | end) | |
11490 | -- Color mixer | |
11491 | SettingsGUI.FeedbackMain.openC.MouseButton1Click:Connect(function() | |
11492 | picker.ColorPicker.Visible = true picker.ColorPicker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11493 | end) | |
11494 | --Message time | |
11495 | SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function() | |
11496 | wait() | |
11497 | Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text | |
11498 | Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)') | |
11499 | updatefile() | |
11500 | end) | |
11501 | --CMDBAR keybind | |
11502 | SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function() | |
11503 | wait() | |
11504 | cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text | |
11505 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
11506 | Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' ) | |
11507 | updatefile() | |
11508 | end) | |
11509 | --Change prefix | |
11510 | SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function() | |
11511 | wait() | |
11512 | cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text | |
11513 | Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"') | |
11514 | updatefile() | |
11515 | end) | |
11516 | --Check Box for notify | |
11517 | checked = "http://www.roblox.com/asset/?id=65492641" | |
11518 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
11519 | if suggestionstoggle == true then | |
11520 | SettingsGUI.FeedbackMain.CheckBox.Image = checked else | |
11521 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end | |
11522 | SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function() | |
11523 | if suggestionstoggle == true then suggestionstoggle = false updatefile() | |
11524 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else | |
11525 | suggestionstoggle = true | |
11526 | updatefile() | |
11527 | SettingsGUI.FeedbackMain.CheckBox.Image = checked end end) | |
11528 | --Check Box for allow friends on serverlock | |
11529 | checked2 = "http://www.roblox.com/asset/?id=65492641" | |
11530 | unchecked2 = "http://www.roblox.com/asset/?id=65492651" | |
11531 | if allowfriends == true then | |
11532 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else | |
11533 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end | |
11534 | SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function() | |
11535 | if allowfriends == true then allowfriends = false updatefile() | |
11536 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else | |
11537 | allowfriends = true updatefile() | |
11538 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end) | |
11539 | --Check Box for JoinedLeft notifications | |
11540 | checked3 = "http://www.roblox.com/asset/?id=65492641" | |
11541 | unchecked3 = "http://www.roblox.com/asset/?id=65492651" | |
11542 | if JLnotify == true then | |
11543 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else | |
11544 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end | |
11545 | SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function() | |
11546 | if JLnotify == true then JLnotify = false updatefile() | |
11547 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 else JLnotify = true | |
11548 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 updatefile() | |
11549 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11550 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end) | |
11551 | cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function() | |
11552 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11553 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
11554 | cmds.Frame.holder.bar.Hide.Visible = true | |
11555 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end) | |
11556 | cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function() | |
11557 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) wait(0.1) | |
11558 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) wait(0.2) | |
11559 | cmds.Frame.holder.bar.Hide.Visible = true | |
11560 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end) | |
11561 | cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function() | |
11562 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quad",0.2,true) | |
11563 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,0.018,-310),"Out","Quad",0.2,true) wait(0.2) | |
11564 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quad",0.2,true) wait(0.2) | |
11565 | cmds.Frame.holder.bar.Hide.Visible = false end) | |
11566 | cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function() | |
11567 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11568 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.2,true) wait(0.3) | |
11569 | cmds:Destroy() cmdOpen = false end) | |
11570 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quad",0.2,true) | |
11571 | searchbar() | |
11572 | for i = 1, #HKV do | |
11573 | local YSize = 25 | |
11574 | local Position = ((i * YSize) - YSize) | |
11575 | local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone() | |
11576 | newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs | |
11577 | newcmd.Visible = true | |
11578 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11579 | newcmd.Text = "" .. HKV[i].Value | |
11580 | CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11581 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11582 | end | |
11583 | for i = 1, #CMDsV do | |
11584 | local YSize = 25 | |
11585 | local Position = ((i * YSize) - YSize) | |
11586 | local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone() | |
11587 | newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs | |
11588 | newcmd.Visible = true | |
11589 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11590 | newcmd.Text = "" .. CMDsV[i].Value | |
11591 | CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11592 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11593 | end | |
11594 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11595 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
11596 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
11597 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end end | |
11598 | ||
11599 | function searchbar() | |
11600 | local CSP = game.CoreGui.cp.Frame.holder.size.MAIN | |
11601 | local main = CSP | |
11602 | local frame = CSP:WaitForChild('CMDs') | |
11603 | local gui = CSP:WaitForChild('Search') | |
11604 | local focused = false | |
11605 | Match = function(name,str) | |
11606 | return name:lower():find(str:lower()) and true | |
11607 | end | |
11608 | gui.FocusLost:connect(function(enterpressed) | |
11609 | gui.Text = "Search" | |
11610 | end) | |
11611 | IndexContents = function(str,bool) | |
11612 | local Index,SizeY = 0,0 | |
11613 | for i,v in next, frame:GetChildren() do | |
11614 | if bool then | |
11615 | if Match(v.Text,str) then | |
11616 | Index = Index + 1 | |
11617 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
11618 | v.Visible = true | |
11619 | SizeY = SizeY + v.AbsoluteSize.Y | |
11620 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
11621 | else | |
11622 | v.Visible = false | |
11623 | end | |
11624 | else | |
11625 | v.Visible = true | |
11626 | SizeY = SizeY + v.AbsoluteSize.Y | |
11627 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
11628 | end | |
11629 | end | |
11630 | end | |
11631 | game:GetService('RunService').Stepped:connect(function() | |
11632 | if gui:IsFocused() and gui.Text == "Search" then | |
11633 | gui.Text = '' | |
11634 | end | |
11635 | end) | |
11636 | gui.Changed:connect(function() | |
11637 | if gui:IsFocused() then IndexContents(gui.Text,true) end | |
11638 | end) | |
11639 | ||
11640 | IndexContents('',true) | |
11641 | end | |
11642 | ||
11643 | function runwindow() | |
11644 | commands() | |
11645 | searchbar() | |
11646 | end | |
11647 | ||
11648 | addcmd('settings','opens settings window',{'toggles'}, | |
11649 | function(args, speaker) | |
11650 | if speaker.userId ~= LP.userId then | |
11651 | lponly(speaker) | |
11652 | else | |
11653 | runwindow() | |
11654 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) | |
11655 | wait(0.1) | |
11656 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) | |
11657 | wait(0.1) | |
11658 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
11659 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
11660 | end | |
11661 | end) | |
11662 | ||
11663 | function movetab(speaker,PART) | |
11664 | game:GetService('RunService').Stepped:connect(function() | |
11665 | if PART ~= nil and speaker ~= nil and speaker.Character:FindFirstChild('HumanoidRootPart') then | |
11666 | PART.Locked = true | |
11667 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
11668 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
11669 | PART.CFrame = newcf end end) end | |
11670 | ||
11671 | hastab = {} | |
11672 | addcmd('tablet','opens tablet gui',{}, | |
11673 | function(args, speaker) | |
11674 | for _, child in pairs( workspace:GetChildren()) do | |
11675 | if child.Name == speaker.Name .. "TAB" then | |
11676 | child:Destroy() end end | |
11677 | game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1) | |
11678 | local GUI = Instance.new("SurfaceGui") | |
11679 | local holder = Instance.new("Frame") | |
11680 | local bar = Instance.new("Frame") | |
11681 | local Title = Instance.new("TextLabel") | |
11682 | local MAIN = Instance.new("Frame") | |
11683 | local Example = Instance.new("TextLabel") | |
11684 | local CMDs = Instance.new("ScrollingFrame") | |
11685 | local PART = Instance.new("Part") | |
11686 | PART.Name = speaker.Name .. 'TAB' | |
11687 | PART.Color = maincolor | |
11688 | PART.Size = Vector3.new(7, 7.8, 0.2) | |
11689 | PART.Transparency = 0 | |
11690 | PART.Locked = true | |
11691 | PART.CanCollide = false | |
11692 | PART.Parent = workspace | |
11693 | PART.Anchored = true | |
11694 | PART.Material = "Neon" | |
11695 | local GUI = Instance.new("SurfaceGui") | |
11696 | local holder = Instance.new("Frame") | |
11697 | local bar = Instance.new("Frame") | |
11698 | local Title = Instance.new("TextLabel") | |
11699 | local MAIN = Instance.new("Frame") | |
11700 | local Example = Instance.new("TextLabel") | |
11701 | local CMDs = Instance.new("ScrollingFrame") | |
11702 | GUI.Name = "GUI" | |
11703 | GUI.Parent = PART | |
11704 | GUI.CanvasSize = Vector2.new(500, 600) | |
11705 | GUI.Face = Enum.NormalId.Back | |
11706 | holder.Name = "holder" | |
11707 | holder.Parent = GUI | |
11708 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
11709 | holder.BackgroundTransparency = 1 | |
11710 | holder.BorderSizePixel = 2 | |
11711 | holder.Position = UDim2.new(0, 0, 0, 10) | |
11712 | holder.Size = UDim2.new(0, 300, 0, 330) | |
11713 | holder.ZIndex = 2 | |
11714 | bar.Name = "bar" | |
11715 | bar.Parent = holder | |
11716 | bar.BackgroundColor3 = Color3.new(0, 0, 0) | |
11717 | bar.BackgroundTransparency = 0.89999997615814 | |
11718 | bar.BorderSizePixel = 0 | |
11719 | bar.Position = UDim2.new(0, 10, 1, -330) | |
11720 | bar.Size = UDim2.new(0, 480, 0, 33) | |
11721 | Title.Name = "Title" | |
11722 | Title.Parent = bar | |
11723 | Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11724 | Title.BackgroundTransparency = 1 | |
11725 | Title.Size = UDim2.new(1, 0, 0, 30) | |
11726 | Title.Font = Enum.Font.SourceSansBold | |
11727 | Title.FontSize = Enum.FontSize.Size24 | |
11728 | Title.Text = "[Infinite Yield] Command List" | |
11729 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11730 | MAIN.Name = "MAIN" | |
11731 | MAIN.Parent = holder | |
11732 | MAIN.BackgroundColor3 = Color3.new(0, 0, 0) | |
11733 | MAIN.BackgroundTransparency = 0.89999997615814 | |
11734 | MAIN.BorderSizePixel = 0 | |
11735 | MAIN.Position = UDim2.new(0, 10, 1, -300) | |
11736 | MAIN.Size = UDim2.new(0, 480, 0, 550) | |
11737 | Example.Name = "Example" | |
11738 | Example.Parent = MAIN | |
11739 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11740 | Example.BackgroundTransparency = 1 | |
11741 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11742 | Example.BorderSizePixel = 0 | |
11743 | Example.Size = UDim2.new(0, 190, 0, 40) | |
11744 | Example.Visible = false | |
11745 | Example.Font = Enum.Font.SourceSansBold | |
11746 | Example.FontSize = Enum.FontSize.Size36 | |
11747 | Example.Text = "txt" | |
11748 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
11749 | Example.TextStrokeTransparency = 0 | |
11750 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
11751 | Example.ZIndex = 6 | |
11752 | CMDs.Name = "CMDs" | |
11753 | CMDs.Parent = MAIN | |
11754 | CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11755 | CMDs.BackgroundTransparency = 1 | |
11756 | CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11757 | CMDs.BorderSizePixel = 0 | |
11758 | CMDs.Size = UDim2.new(0, 480, 0, 550) | |
11759 | CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11760 | CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880) | |
11761 | CMDs.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11762 | CMDs.ScrollBarThickness = 15 | |
11763 | CMDs.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11764 | local CMDsV = CMDsFolder:GetChildren() | |
11765 | for i = 1, #CMDsV do | |
11766 | local YSize = 35 | |
11767 | local Position = ((i * YSize) - YSize) | |
11768 | local newcmd = Example:Clone() | |
11769 | newcmd.Parent = CMDs | |
11770 | newcmd.Visible = true | |
11771 | newcmd.Position = UDim2.new(0,10,0, Position + 1) | |
11772 | newcmd.Text = "" .. CMDsV[i].Value | |
11773 | CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end | |
11774 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
11775 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
11776 | PART.CFrame = newcf | |
11777 | speaker.Character.Humanoid.Died:connect(function() | |
11778 | PART:Destroy() end) | |
11779 | wait(1) | |
11780 | PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05) | |
11781 | PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05) | |
11782 | PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05) | |
11783 | if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end | |
11784 | table.insert(hastab, speaker.Name) movetab(speaker,PART) | |
11785 | end) | |
11786 | ||
11787 | function updatepositions() | |
11788 | if PList then | |
11789 | PList:ClearAllChildren() | |
11790 | PList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11791 | for i = 1, #WayPoints do | |
11792 | local YSize = 25 | |
11793 | local Position = ((i * YSize) - YSize) | |
11794 | local newcmd = Example:Clone() | |
11795 | newcmd.Parent = PList | |
11796 | newcmd.Visible = true | |
11797 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11798 | newcmd.Text = " " .. WayPoints[i].NAME .. ": " .. WayPoints[i].COORD[1] .. ", " .. WayPoints[i].COORD[2] .. ", " .. WayPoints[i].COORD[3] | |
11799 | PList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11800 | local goto = Instance.new("TextButton") | |
11801 | goto.Name = "goto" | |
11802 | goto.Parent = PList | |
11803 | goto.BackgroundColor3 = Color3.new(255, 255, 255) | |
11804 | goto.BackgroundTransparency = 0.30000001192093 | |
11805 | goto.BorderColor3 = Color3.new(1, 0, 0) | |
11806 | goto.BorderSizePixel = 0 | |
11807 | goto.Position = UDim2.new(0,-10,0, Position + 5) | |
11808 | goto.Size = UDim2.new(0, 20, 0, 20) | |
11809 | goto.FontSize = Enum.FontSize.Size14 | |
11810 | goto.Text = "" | |
11811 | goto.ZIndex = 6 | |
11812 | goto.MouseButton1Click:Connect(function() | |
11813 | execCmd("loadpos "..LP.Name.." "..WayPoints[i].NAME) | |
11814 | end) | |
11815 | end | |
11816 | end | |
11817 | end | |
11818 | ||
11819 | posopen = false | |
11820 | addcmd("positions","lists waypoints",{'pos'}, | |
11821 | function(args, speaker) | |
11822 | if posopen == false then | |
11823 | posopen = true | |
11824 | local Pos = Instance.new("ScreenGui") | |
11825 | local drag = Instance.new("Frame") | |
11826 | local PromptDialog = Instance.new("Frame") | |
11827 | local shadow = Instance.new("Frame") | |
11828 | local PopupText = Instance.new("TextLabel") | |
11829 | local Exit = Instance.new("TextButton") | |
11830 | local ContainerFrame = Instance.new("Frame") | |
11831 | PList = Instance.new("ScrollingFrame") | |
11832 | Pos.Name = "Pos" | |
11833 | Pos.Parent = game.CoreGui | |
11834 | drag.Name = "drag" | |
11835 | drag.Parent = Pos | |
11836 | drag.Active = true | |
11837 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
11838 | drag.BackgroundTransparency = 1 | |
11839 | dragGUI(drag) | |
11840 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
11841 | drag.Size = UDim2.new(0, 290, 0, 30) | |
11842 | PromptDialog.Name = "PromptDialog" | |
11843 | PromptDialog.Parent = drag | |
11844 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
11845 | PromptDialog.BackgroundTransparency = 1 | |
11846 | PromptDialog.BorderSizePixel = 0 | |
11847 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
11848 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
11849 | PromptDialog.ZIndex = 8 | |
11850 | shadow.Name = "shadow" | |
11851 | shadow.Parent = PromptDialog | |
11852 | shadow.BackgroundColor3 = maincolor | |
11853 | shadow.BackgroundTransparency = 0.30000001192093 | |
11854 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
11855 | shadow.BorderSizePixel = 0 | |
11856 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
11857 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
11858 | PopupText.Name = "PopupText" | |
11859 | PopupText.Parent = shadow | |
11860 | PopupText.BackgroundTransparency = 1 | |
11861 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
11862 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
11863 | PopupText.ZIndex = 110 | |
11864 | PopupText.Font = Enum.Font.SourceSansBold | |
11865 | PopupText.FontSize = Enum.FontSize.Size28 | |
11866 | PopupText.Text = "Positions" | |
11867 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
11868 | PopupText.TextStrokeTransparency = 0 | |
11869 | PopupText.TextWrapped = true | |
11870 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
11871 | Exit.Name = "Exit" | |
11872 | Exit.Parent = shadow | |
11873 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
11874 | Exit.BackgroundTransparency = 0.30000001192093 | |
11875 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
11876 | Exit.BorderSizePixel = 0 | |
11877 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
11878 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
11879 | Exit.FontSize = Enum.FontSize.Size14 | |
11880 | Exit.Text = "" | |
11881 | ContainerFrame.Name = "ContainerFrame" | |
11882 | ContainerFrame.Parent = PromptDialog | |
11883 | ContainerFrame.BackgroundColor3 = maincolor | |
11884 | ContainerFrame.BackgroundTransparency = 0.5 | |
11885 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
11886 | ContainerFrame.BorderSizePixel = 0 | |
11887 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
11888 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
11889 | ContainerFrame.ZIndex = 5 | |
11890 | PList.Name = "List" | |
11891 | PList.Parent = ContainerFrame | |
11892 | PList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11893 | PList.BackgroundTransparency = 1 | |
11894 | PList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11895 | PList.BorderSizePixel = 0 | |
11896 | PList.Position = UDim2.new(0, 10, 0, 5) | |
11897 | PList.Size = UDim2.new(0, 280, 0, 230) | |
11898 | PList.ZIndex = 6 | |
11899 | PList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11900 | PList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11901 | PList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11902 | PList.ScrollBarThickness = 8 | |
11903 | PList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11904 | updatepositions() | |
11905 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11906 | Exit.MouseButton1Click:Connect(function() | |
11907 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
11908 | wait(0.6) posopen = false Pos:Destroy() end) end | |
11909 | end) | |
11910 | ||
11911 | function updateadmins() | |
11912 | if AList then | |
11913 | AList:ClearAllChildren() | |
11914 | AList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11915 | for i = 1, #adminname do | |
11916 | local YSize = 25 | |
11917 | local Position = ((i * YSize) - YSize) | |
11918 | local newcmd = Example:Clone() | |
11919 | newcmd.Parent = AList | |
11920 | newcmd.Visible = true | |
11921 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11922 | newcmd.Text = adminname[i].NAME | |
11923 | AList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11924 | end | |
11925 | end | |
11926 | end | |
11927 | ||
11928 | adminsopen = false | |
11929 | adminname = {} | |
11930 | addcmd('admins','displays admins',{'adminlist'}, | |
11931 | function(args, speaker) | |
11932 | if speaker.userId ~= LP.userId then | |
11933 | lponly(speaker) else | |
11934 | if adminsopen == false then | |
11935 | adminsopen = true | |
11936 | local admins = Instance.new("ScreenGui") | |
11937 | local drag = Instance.new("Frame") | |
11938 | local PromptDialog = Instance.new("Frame") | |
11939 | local shadow = Instance.new("Frame") | |
11940 | local PopupText = Instance.new("TextLabel") | |
11941 | local Exit = Instance.new("TextButton") | |
11942 | local ContainerFrame = Instance.new("Frame") | |
11943 | AList = Instance.new("ScrollingFrame") | |
11944 | admins.Name = "Admins" | |
11945 | admins.Parent = game.CoreGui | |
11946 | drag.Name = "drag" | |
11947 | drag.Parent = admins | |
11948 | drag.Active = true | |
11949 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
11950 | drag.BackgroundTransparency = 1 | |
11951 | dragGUI(drag) | |
11952 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
11953 | drag.Size = UDim2.new(0, 290, 0, 30) | |
11954 | PromptDialog.Name = "PromptDialog" | |
11955 | PromptDialog.Parent = drag | |
11956 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
11957 | PromptDialog.BackgroundTransparency = 1 | |
11958 | PromptDialog.BorderSizePixel = 0 | |
11959 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
11960 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
11961 | PromptDialog.ZIndex = 8 | |
11962 | shadow.Name = "shadow" | |
11963 | shadow.Parent = PromptDialog | |
11964 | shadow.BackgroundColor3 = maincolor | |
11965 | shadow.BackgroundTransparency = 0.30000001192093 | |
11966 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
11967 | shadow.BorderSizePixel = 0 | |
11968 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
11969 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
11970 | PopupText.Name = "PopupText" | |
11971 | PopupText.Parent = shadow | |
11972 | PopupText.BackgroundTransparency = 1 | |
11973 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
11974 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
11975 | PopupText.ZIndex = 110 | |
11976 | PopupText.Font = Enum.Font.SourceSansBold | |
11977 | PopupText.FontSize = Enum.FontSize.Size28 | |
11978 | PopupText.Text = "Admins" | |
11979 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
11980 | PopupText.TextStrokeTransparency = 0 | |
11981 | PopupText.TextWrapped = true | |
11982 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
11983 | Exit.Name = "Exit" | |
11984 | Exit.Parent = shadow | |
11985 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
11986 | Exit.BackgroundTransparency = 0.30000001192093 | |
11987 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
11988 | Exit.BorderSizePixel = 0 | |
11989 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
11990 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
11991 | Exit.FontSize = Enum.FontSize.Size14 | |
11992 | Exit.Text = "" | |
11993 | ContainerFrame.Name = "ContainerFrame" | |
11994 | ContainerFrame.Parent = PromptDialog | |
11995 | ContainerFrame.BackgroundColor3 = maincolor | |
11996 | ContainerFrame.BackgroundTransparency = 0.5 | |
11997 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
11998 | ContainerFrame.BorderSizePixel = 0 | |
11999 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
12000 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
12001 | ContainerFrame.ZIndex = 5 | |
12002 | AList.Name = "List" | |
12003 | AList.Parent = ContainerFrame | |
12004 | AList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12005 | AList.BackgroundTransparency = 1 | |
12006 | AList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12007 | AList.BorderSizePixel = 0 | |
12008 | AList.Position = UDim2.new(0, 10, 0, 5) | |
12009 | AList.Size = UDim2.new(0, 280, 0, 230) | |
12010 | AList.ZIndex = 6 | |
12011 | AList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12012 | AList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12013 | AList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12014 | AList.ScrollBarThickness = 8 | |
12015 | AList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12016 | updateadmins() | |
12017 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12018 | Exit.MouseButton1Click:Connect(function() | |
12019 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12020 | wait(0.6) adminsopen = false admins:Destroy() end) end end | |
12021 | end) | |
12022 | ||
12023 | function updatebans() | |
12024 | if BList then | |
12025 | BList:ClearAllChildren() | |
12026 | BList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12027 | for i = 1, #banname do | |
12028 | local YSize = 25 | |
12029 | local Position = ((i * YSize) - YSize) | |
12030 | local newcmd = Example:Clone() | |
12031 | newcmd.Parent = BList | |
12032 | newcmd.Visible = true | |
12033 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
12034 | newcmd.Text = " Name: " .. banname[i].NAME .. " | ID: " .. banname[i].ID .. " | Age: " .. banname[i].AGE | |
12035 | newcmd.TextSize = 20 | |
12036 | BList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
12037 | local delet = Instance.new("TextButton") | |
12038 | delet.Name = "delet" | |
12039 | delet.Parent = BList | |
12040 | delet.BackgroundColor3 = Color3.new(1, 0, 0) | |
12041 | delet.BackgroundTransparency = 0.30000001192093 | |
12042 | delet.BorderColor3 = Color3.new(1, 0, 0) | |
12043 | delet.BorderSizePixel = 0 | |
12044 | delet.Position = UDim2.new(0,-10,0, Position + 5) | |
12045 | delet.Size = UDim2.new(0, 20, 0, 20) | |
12046 | delet.FontSize = Enum.FontSize.Size14 | |
12047 | delet.Text = "" | |
12048 | delet.ZIndex = 6 | |
12049 | delet.MouseButton1Click:Connect(function() | |
12050 | execCmd("unban "..banname[i].NAME) | |
12051 | end) | |
12052 | end | |
12053 | end | |
12054 | end | |
12055 | ||
12056 | banname = {} | |
12057 | bansopen = false | |
12058 | addcmd('bans','displays bans',{'banlist'}, | |
12059 | function(args, speaker) | |
12060 | if speaker.userId ~= LP.userId then | |
12061 | lponly(speaker) else | |
12062 | if bansopen == false then | |
12063 | bansopen = true | |
12064 | local Bans = Instance.new("ScreenGui") | |
12065 | local drag = Instance.new("Frame") | |
12066 | local PromptDialog = Instance.new("Frame") | |
12067 | local ContainerFrame = Instance.new("Frame") | |
12068 | BList = Instance.new("ScrollingFrame") | |
12069 | local shadow = Instance.new("Frame") | |
12070 | local Exit = Instance.new("TextButton") | |
12071 | local PopupText = Instance.new("TextLabel") | |
12072 | Bans.Name = "Bans" | |
12073 | Bans.Parent = game.CoreGui | |
12074 | drag.Name = "drag" | |
12075 | drag.Parent = Bans | |
12076 | drag.Active = true | |
12077 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12078 | drag.BackgroundTransparency = 1 | |
12079 | dragGUI(drag) | |
12080 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12081 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12082 | PromptDialog.Name = "PromptDialog" | |
12083 | PromptDialog.Parent = drag | |
12084 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12085 | PromptDialog.BackgroundTransparency = 1 | |
12086 | PromptDialog.BorderSizePixel = 0 | |
12087 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12088 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12089 | PromptDialog.ZIndex = 5 | |
12090 | ContainerFrame.Name = "ContainerFrame" | |
12091 | ContainerFrame.Parent = PromptDialog | |
12092 | ContainerFrame.BackgroundColor3 = maincolor | |
12093 | ContainerFrame.BackgroundTransparency = 0.5 | |
12094 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12095 | ContainerFrame.BorderSizePixel = 0 | |
12096 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12097 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12098 | ContainerFrame.ZIndex = 5 | |
12099 | BList.Name = "List" | |
12100 | BList.Parent = ContainerFrame | |
12101 | BList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12102 | BList.BackgroundTransparency = 1 | |
12103 | BList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12104 | BList.BorderSizePixel = 0 | |
12105 | BList.Position = UDim2.new(0, 10, 0, 9) | |
12106 | BList.Size = UDim2.new(0, 428, 0, 230) | |
12107 | BList.ZIndex = 5 | |
12108 | BList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12109 | BList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12110 | BList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12111 | BList.ScrollBarThickness = 8 | |
12112 | BList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12113 | shadow.Name = "shadow" | |
12114 | shadow.Parent = PromptDialog | |
12115 | shadow.BackgroundColor3 = maincolor | |
12116 | shadow.BackgroundTransparency = 0.30000001192093 | |
12117 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12118 | shadow.BorderSizePixel = 0 | |
12119 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12120 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12121 | Exit.Name = "Exit" | |
12122 | Exit.Parent = shadow | |
12123 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12124 | Exit.BackgroundTransparency = 0.30000001192093 | |
12125 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12126 | Exit.BorderSizePixel = 0 | |
12127 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12128 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12129 | Exit.FontSize = Enum.FontSize.Size14 | |
12130 | Exit.Text = "" | |
12131 | PopupText.Name = "PopupText" | |
12132 | PopupText.Parent = shadow | |
12133 | PopupText.BackgroundTransparency = 1 | |
12134 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12135 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12136 | PopupText.ZIndex = 6 | |
12137 | PopupText.Font = Enum.Font.SourceSansBold | |
12138 | PopupText.FontSize = Enum.FontSize.Size32 | |
12139 | PopupText.Text = "Bans" | |
12140 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12141 | PopupText.TextStrokeTransparency = 0 | |
12142 | PopupText.TextWrapped = true | |
12143 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
12144 | updatebans() | |
12145 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12146 | Exit.MouseButton1Click:Connect(function() | |
12147 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12148 | wait(0.6) bansopen = false Bans:Destroy() end) end end | |
12149 | end) | |
12150 | ||
12151 | function updatealiases() | |
12152 | if AlList then | |
12153 | AlList:ClearAllChildren() | |
12154 | AlList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12155 | for i = 1, #aliasSave do | |
12156 | local YSize = 25 | |
12157 | local Position = ((i * YSize) - YSize) | |
12158 | local newcmd = Example:Clone() | |
12159 | newcmd.Parent = AlList | |
12160 | newcmd.Visible = true | |
12161 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
12162 | newcmd.Text = ' Command: ['..aliasSave[i].CMD..'] Alias: ['..aliasSave[i].ALIAS..']' | |
12163 | newcmd.TextSize = 20 | |
12164 | AlList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
12165 | local delet = Instance.new("TextButton") | |
12166 | delet.Name = "delet" | |
12167 | delet.Parent = AlList | |
12168 | delet.BackgroundColor3 = Color3.new(1, 0, 0) | |
12169 | delet.BackgroundTransparency = 0.30000001192093 | |
12170 | delet.BorderColor3 = Color3.new(1, 0, 0) | |
12171 | delet.BorderSizePixel = 0 | |
12172 | delet.Position = UDim2.new(0,-10,0, Position + 5) | |
12173 | delet.Size = UDim2.new(0, 20, 0, 20) | |
12174 | delet.FontSize = Enum.FontSize.Size14 | |
12175 | delet.Text = "" | |
12176 | delet.ZIndex = 6 | |
12177 | delet.MouseButton1Click:Connect(function() | |
12178 | execCmd("removealias "..aliasSave[i].ALIAS) | |
12179 | end) | |
12180 | end | |
12181 | end | |
12182 | end | |
12183 | ||
12184 | aliasesopen = false | |
12185 | addcmd('aliases','displays aliases',{}, | |
12186 | function(args, speaker) | |
12187 | if speaker.userId ~= LP.userId then | |
12188 | lponly(speaker) else | |
12189 | if aliasesopen == false then | |
12190 | aliasesopen = true | |
12191 | local aliases = Instance.new("ScreenGui") | |
12192 | local drag = Instance.new("Frame") | |
12193 | local PromptDialog = Instance.new("Frame") | |
12194 | local ContainerFrame = Instance.new("Frame") | |
12195 | AlList = Instance.new("ScrollingFrame") | |
12196 | local shadow = Instance.new("Frame") | |
12197 | local Exit = Instance.new("TextButton") | |
12198 | local PopupText = Instance.new("TextLabel") | |
12199 | aliases.Name = "Aliases" | |
12200 | aliases.Parent = game.CoreGui | |
12201 | drag.Name = "drag" | |
12202 | drag.Parent = aliases | |
12203 | drag.Active = true | |
12204 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12205 | drag.BackgroundTransparency = 1 | |
12206 | dragGUI(drag) | |
12207 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12208 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12209 | PromptDialog.Name = "PromptDialog" | |
12210 | PromptDialog.Parent = drag | |
12211 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12212 | PromptDialog.BackgroundTransparency = 1 | |
12213 | PromptDialog.BorderSizePixel = 0 | |
12214 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12215 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12216 | PromptDialog.ZIndex = 5 | |
12217 | ContainerFrame.Name = "ContainerFrame" | |
12218 | ContainerFrame.Parent = PromptDialog | |
12219 | ContainerFrame.BackgroundColor3 = maincolor | |
12220 | ContainerFrame.BackgroundTransparency = 0.5 | |
12221 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12222 | ContainerFrame.BorderSizePixel = 0 | |
12223 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12224 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12225 | ContainerFrame.ZIndex = 5 | |
12226 | AlList.Name = "List" | |
12227 | AlList.Parent = ContainerFrame | |
12228 | AlList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12229 | AlList.BackgroundTransparency = 1 | |
12230 | AlList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12231 | AlList.BorderSizePixel = 0 | |
12232 | AlList.Position = UDim2.new(0, 10, 0, 9) | |
12233 | AlList.Size = UDim2.new(0, 428, 0, 230) | |
12234 | AlList.ZIndex = 5 | |
12235 | AlList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12236 | AlList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12237 | AlList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12238 | AlList.ScrollBarThickness = 8 | |
12239 | AlList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12240 | shadow.Name = "shadow" | |
12241 | shadow.Parent = PromptDialog | |
12242 | shadow.BackgroundColor3 = maincolor | |
12243 | shadow.BackgroundTransparency = 0.30000001192093 | |
12244 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12245 | shadow.BorderSizePixel = 0 | |
12246 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12247 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12248 | Exit.Name = "Exit" | |
12249 | Exit.Parent = shadow | |
12250 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12251 | Exit.BackgroundTransparency = 0.30000001192093 | |
12252 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12253 | Exit.BorderSizePixel = 0 | |
12254 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12255 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12256 | Exit.FontSize = Enum.FontSize.Size14 | |
12257 | Exit.Text = "" | |
12258 | PopupText.Name = "PopupText" | |
12259 | PopupText.Parent = shadow | |
12260 | PopupText.BackgroundTransparency = 1 | |
12261 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12262 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12263 | PopupText.ZIndex = 6 | |
12264 | PopupText.Font = Enum.Font.SourceSansBold | |
12265 | PopupText.FontSize = Enum.FontSize.Size32 | |
12266 | PopupText.Text = "Aliases" | |
12267 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12268 | PopupText.TextStrokeTransparency = 0 | |
12269 | PopupText.TextWrapped = true | |
12270 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
12271 | updatealiases() | |
12272 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12273 | Exit.MouseButton1Click:Connect(function() | |
12274 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12275 | wait(0.6) aliasesopen = false aliases:Destroy() end) end end | |
12276 | end) | |
12277 | ||
12278 | addcmd('sound', 'plays a sound',{'music','play'}, | |
12279 | function(args, speaker) | |
12280 | if isNumber(args[1]) then | |
12281 | for i,v in pairs(game:GetDescendants()) do | |
12282 | if v:IsA'Sound'then v:Destroy() end end | |
12283 | local c = args[1] or 'stop' | |
12284 | if std.inTable({'stop'}, c:lower()) then return end | |
12285 | local s = Instance.new("Sound", workspace) | |
12286 | s.Name = "IYsound" | |
12287 | s.Looped = true | |
12288 | s.SoundId = "rbxassetid://" .. c | |
12289 | s.Volume = 1 | |
12290 | s:Play() | |
12291 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(c) | |
12292 | playerenabled = false | |
12293 | Notify('Playing: '..Asset.Name..' ('..c..')') | |
12294 | else | |
12295 | local name = GLS(false, 0) | |
12296 | if GLS(false, 0) == "stop" or GLS(false, 0) == "off" then | |
12297 | Notify('Stopped audio') | |
12298 | for i,v in pairs(game:GetDescendants()) do | |
12299 | if v:IsA'Sound'then v:Destroy() end end | |
12300 | return | |
12301 | end | |
12302 | Notify('Loading list...') | |
12303 | local Audios = Instance.new("ScreenGui") | |
12304 | local drag = Instance.new("Frame") | |
12305 | local PromptDialog = Instance.new("Frame") | |
12306 | local ContainerFrame = Instance.new("Frame") | |
12307 | local AudList = Instance.new("ScrollingFrame") | |
12308 | local shadow = Instance.new("Frame") | |
12309 | local Exit = Instance.new("TextButton") | |
12310 | local PopupText = Instance.new("TextLabel") | |
12311 | local Hide = Instance.new("TextButton") | |
12312 | Audios.Name = "Audios" | |
12313 | Audios.Parent = game.CoreGui | |
12314 | drag.Name = "drag" | |
12315 | drag.Parent = Audios | |
12316 | drag.Active = true | |
12317 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12318 | drag.BackgroundTransparency = 1 | |
12319 | dragGUI(drag) | |
12320 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12321 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12322 | PromptDialog.Name = "PromptDialog" | |
12323 | PromptDialog.Parent = drag | |
12324 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12325 | PromptDialog.BackgroundTransparency = 1 | |
12326 | PromptDialog.BorderSizePixel = 0 | |
12327 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12328 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12329 | PromptDialog.ZIndex = 5 | |
12330 | PromptDialog.ClipsDescendants = true | |
12331 | ContainerFrame.Name = "ContainerFrame" | |
12332 | ContainerFrame.Parent = PromptDialog | |
12333 | ContainerFrame.BackgroundColor3 = maincolor | |
12334 | ContainerFrame.BackgroundTransparency = 0.5 | |
12335 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12336 | ContainerFrame.BorderSizePixel = 0 | |
12337 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12338 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12339 | ContainerFrame.ZIndex = 5 | |
12340 | AudList.Name = "List" | |
12341 | AudList.Parent = ContainerFrame | |
12342 | AudList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12343 | AudList.BackgroundTransparency = 1 | |
12344 | AudList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12345 | AudList.BorderSizePixel = 0 | |
12346 | AudList.Position = UDim2.new(0, 10, 0, 9) | |
12347 | AudList.Size = UDim2.new(0, 428, 0, 230) | |
12348 | AudList.ZIndex = 5 | |
12349 | AudList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12350 | AudList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12351 | AudList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12352 | AudList.ScrollBarThickness = 8 | |
12353 | AudList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12354 | shadow.Name = "shadow" | |
12355 | shadow.Parent = PromptDialog | |
12356 | shadow.BackgroundColor3 = maincolor | |
12357 | shadow.BackgroundTransparency = 0.30000001192093 | |
12358 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12359 | shadow.BorderSizePixel = 0 | |
12360 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12361 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12362 | Exit.Name = "Exit" | |
12363 | Exit.Parent = shadow | |
12364 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12365 | Exit.BackgroundTransparency = 0.30000001192093 | |
12366 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12367 | Exit.BorderSizePixel = 0 | |
12368 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12369 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12370 | Exit.FontSize = Enum.FontSize.Size14 | |
12371 | Exit.Text = "" | |
12372 | PopupText.Name = "PopupText" | |
12373 | PopupText.Parent = shadow | |
12374 | PopupText.BackgroundTransparency = 1 | |
12375 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12376 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12377 | PopupText.ZIndex = 6 | |
12378 | PopupText.Font = Enum.Font.SourceSansBold | |
12379 | PopupText.FontSize = Enum.FontSize.Size32 | |
12380 | PopupText.Text = GLS(false, 0).." [Audio]" | |
12381 | PopupText.TextScaled = true | |
12382 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12383 | PopupText.TextStrokeTransparency = 0 | |
12384 | PopupText.TextWrapped = true | |
12385 | PopupText.TextYAlignment = Enum.TextYAlignment.Center | |
12386 | Hide.Name = "Hide" | |
12387 | Hide.Parent = shadow | |
12388 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
12389 | Hide.BackgroundTransparency = 0.30000001192093 | |
12390 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
12391 | Hide.BorderSizePixel = 0 | |
12392 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
12393 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
12394 | Hide.FontSize = Enum.FontSize.Size14 | |
12395 | Hide.Text = "" | |
12396 | local hidden = false | |
12397 | Hide.MouseButton1Down:connect(function() | |
12398 | if hidden == false then hidden = true | |
12399 | ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12400 | else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
12401 | end end) | |
12402 | local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Audio&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true) | |
12403 | local results = HttpService:JSONDecode(json) | |
12404 | if #results == 0 then | |
12405 | Notify('No audio found :(') | |
12406 | Audios:Destroy() | |
12407 | return | |
12408 | end | |
12409 | for i,v in pairs(results) do | |
12410 | local YSize = 25 | |
12411 | local Position = ((i * YSize) - YSize) | |
12412 | local newcmd = Example:Clone() | |
12413 | newcmd.Parent = AudList | |
12414 | newcmd.Visible = true | |
12415 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
12416 | newcmd.Text = " "..v.Name | |
12417 | newcmd.TextSize = 20 | |
12418 | AudList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
12419 | local play = Instance.new("TextButton") | |
12420 | play.Name = "play" | |
12421 | play.Parent = AudList | |
12422 | play.BackgroundColor3 = Color3.new(255, 255, 255) | |
12423 | play.BackgroundTransparency = 0.30000001192093 | |
12424 | play.BorderColor3 = Color3.new(1, 0, 0) | |
12425 | play.BorderSizePixel = 0 | |
12426 | play.Position = UDim2.new(0,-10,0, Position + 5) | |
12427 | play.Size = UDim2.new(0, 20, 0, 20) | |
12428 | play.FontSize = Enum.FontSize.Size14 | |
12429 | play.Text = "" | |
12430 | play.ZIndex = 6 | |
12431 | play.MouseButton1Click:Connect(function() | |
12432 | playerenabled = false | |
12433 | for i,v in pairs(game:GetDescendants()) do | |
12434 | if v:IsA'Sound'then v:Destroy() end end | |
12435 | wait(0.1) | |
12436 | Notify('Playing: '..v.Name ..' ('..v.AssetId..')') | |
12437 | local s = Instance.new("Sound", workspace) | |
12438 | s.Name = "IYsound" | |
12439 | s.Looped = true | |
12440 | s.SoundId = "rbxassetid://" .. v.AssetId | |
12441 | s.Volume = 1 | |
12442 | s:Play() | |
12443 | end) | |
12444 | Notify('Select an audio to play') | |
12445 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12446 | Exit.MouseButton1Click:Connect(function() | |
12447 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12448 | wait(0.6) Audios:Destroy() end) end end | |
12449 | end) | |
12450 | ||
12451 | function dragmodel(model, window, frame, name) | |
12452 | local Dragger = Instance.new("Dragger") local dragging = false local drag = model drag.Parent = workspace local parts = {} | |
12453 | drag:MakeJoints() drag.Name = name | |
12454 | local mouse = game:GetService("Players").LocalPlayer:GetMouse() | |
12455 | function collectParts(object, baseParts) | |
12456 | if object:IsA("BasePart") then | |
12457 | baseParts[#baseParts+1] = object end | |
12458 | for index,child in pairs(object:GetChildren()) do | |
12459 | collectParts(child, baseParts) end end | |
12460 | collectParts(drag, parts) | |
12461 | Dragger:MouseDown(parts[1], Vector3.new(0,0,0), parts) | |
12462 | dragging = true | |
12463 | mouse.Move:connect(function() | |
12464 | if dragging then | |
12465 | Dragger:MouseMove(mouse.UnitRay) | |
12466 | end end) | |
12467 | mouse.KeyDown:connect(function(Key) | |
12468 | if dragging then | |
12469 | if Key == "r" then | |
12470 | Dragger:AxisRotate("Y") | |
12471 | elseif Key == "t" then | |
12472 | Dragger:AxisRotate("X") | |
12473 | elseif Key == "e" then | |
12474 | if window == true then | |
12475 | frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) | |
12476 | end | |
12477 | drag:Destroy() | |
12478 | dragging = false | |
12479 | Dragger:MouseUp() | |
12480 | end end end) | |
12481 | mouse.Button1Down:connect(function() | |
12482 | if dragging then | |
12483 | if window == true then | |
12484 | frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) | |
12485 | end | |
12486 | dragging = false | |
12487 | Dragger:MouseUp() | |
12488 | end end) end | |
12489 | ||
12490 | addcmd('insert', 'inserts a model',{'ins'}, | |
12491 | function(args, speaker) | |
12492 | if isNumber(args[1]) then | |
12493 | local window = false | |
12494 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(args[1]) | |
12495 | dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. Asset.AssetId), window, nil, Asset.Name) | |
12496 | Notify('Inserted ' .. Asset.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt') | |
12497 | else | |
12498 | local name = GLS(false, 0) | |
12499 | Notify('Loading list...') | |
12500 | local Models = Instance.new("ScreenGui") | |
12501 | local drag = Instance.new("Frame") | |
12502 | local PromptDialog = Instance.new("Frame") | |
12503 | local ModelContainerFrame = Instance.new("Frame") | |
12504 | local ModList = Instance.new("ScrollingFrame") | |
12505 | local shadow = Instance.new("Frame") | |
12506 | local Exit = Instance.new("TextButton") | |
12507 | local PopupText = Instance.new("TextLabel") | |
12508 | local Hide = Instance.new("TextButton") | |
12509 | Models.Name = "Models" | |
12510 | Models.Parent = game.CoreGui | |
12511 | drag.Name = "drag" | |
12512 | drag.Parent = Models | |
12513 | drag.Active = true | |
12514 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12515 | drag.BackgroundTransparency = 1 | |
12516 | dragGUI(drag) | |
12517 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12518 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12519 | PromptDialog.Name = "PromptDialog" | |
12520 | PromptDialog.Parent = drag | |
12521 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12522 | PromptDialog.BackgroundTransparency = 1 | |
12523 | PromptDialog.BorderSizePixel = 0 | |
12524 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12525 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12526 | PromptDialog.ClipsDescendants = true | |
12527 | PromptDialog.ZIndex = 5 | |
12528 | ModelContainerFrame.Name = "ContainerFrame" | |
12529 | ModelContainerFrame.Parent = PromptDialog | |
12530 | ModelContainerFrame.BackgroundColor3 = maincolor | |
12531 | ModelContainerFrame.BackgroundTransparency = 0.5 | |
12532 | ModelContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12533 | ModelContainerFrame.BorderSizePixel = 0 | |
12534 | ModelContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12535 | ModelContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12536 | ModelContainerFrame.ZIndex = 5 | |
12537 | ModList.Name = "List" | |
12538 | ModList.Parent = ModelContainerFrame | |
12539 | ModList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12540 | ModList.BackgroundTransparency = 1 | |
12541 | ModList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12542 | ModList.BorderSizePixel = 0 | |
12543 | ModList.Position = UDim2.new(0, 10, 0, 9) | |
12544 | ModList.Size = UDim2.new(0, 428, 0, 230) | |
12545 | ModList.ZIndex = 5 | |
12546 | ModList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12547 | ModList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12548 | ModList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12549 | ModList.ScrollBarThickness = 8 | |
12550 | ModList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12551 | shadow.Name = "shadow" | |
12552 | shadow.Parent = PromptDialog | |
12553 | shadow.BackgroundColor3 = maincolor | |
12554 | shadow.BackgroundTransparency = 0.30000001192093 | |
12555 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12556 | shadow.BorderSizePixel = 0 | |
12557 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12558 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12559 | Exit.Name = "Exit" | |
12560 | Exit.Parent = shadow | |
12561 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12562 | Exit.BackgroundTransparency = 0.30000001192093 | |
12563 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12564 | Exit.BorderSizePixel = 0 | |
12565 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12566 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12567 | Exit.FontSize = Enum.FontSize.Size14 | |
12568 | Exit.Text = "" | |
12569 | PopupText.Name = "PopupText" | |
12570 | PopupText.Parent = shadow | |
12571 | PopupText.BackgroundTransparency = 1 | |
12572 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12573 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12574 | PopupText.ZIndex = 6 | |
12575 | PopupText.Font = Enum.Font.SourceSansBold | |
12576 | PopupText.FontSize = Enum.FontSize.Size32 | |
12577 | PopupText.Text = GLS(false, 0).." [Models]" | |
12578 | PopupText.TextScaled = true | |
12579 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12580 | PopupText.TextStrokeTransparency = 0 | |
12581 | PopupText.TextWrapped = true | |
12582 | PopupText.TextYAlignment = Enum.TextYAlignment.Center | |
12583 | Hide.Name = "Hide" | |
12584 | Hide.Parent = shadow | |
12585 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
12586 | Hide.BackgroundTransparency = 0.30000001192093 | |
12587 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
12588 | Hide.BorderSizePixel = 0 | |
12589 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
12590 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
12591 | Hide.FontSize = Enum.FontSize.Size14 | |
12592 | Hide.Text = "" | |
12593 | local hidden = false | |
12594 | Hide.MouseButton1Down:connect(function() | |
12595 | if hidden == false then hidden = true | |
12596 | ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12597 | else ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
12598 | end end) | |
12599 | local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Models&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true) | |
12600 | local results = HttpService:JSONDecode(json) | |
12601 | if #results == 0 then | |
12602 | Notify('No models found :(') | |
12603 | Models:Destroy() | |
12604 | return | |
12605 | end | |
12606 | for i,v in pairs(results) do | |
12607 | local YSize = 100 | |
12608 | local Position = ((i * YSize) - YSize) | |
12609 | local newcmd = Example:Clone() | |
12610 | newcmd.Parent = ModList | |
12611 | newcmd.Visible = true | |
12612 | newcmd.Position = UDim2.new(0,5,0, Position + 40) | |
12613 | newcmd.Text = " "..v.Name | |
12614 | newcmd.TextSize = 20 | |
12615 | ModList.CanvasSize = UDim2.new(0,0,0, Position + 100) | |
12616 | local ins = Instance.new("TextButton") | |
12617 | ins.Name = "ins" | |
12618 | ins.Parent = ModList | |
12619 | ins.BackgroundColor3 = Color3.new(255, 255, 255) | |
12620 | ins.BackgroundTransparency = 0.30000001192093 | |
12621 | ins.BorderColor3 = Color3.new(1, 0, 0) | |
12622 | ins.BorderSizePixel = 0 | |
12623 | ins.Position = UDim2.new(0,-10,0, Position + 40) | |
12624 | ins.Size = UDim2.new(0, 20, 0, 20) | |
12625 | ins.FontSize = Enum.FontSize.Size14 | |
12626 | ins.Text = "" | |
12627 | ins.ZIndex = 6 | |
12628 | local img = Instance.new("ImageLabel") | |
12629 | img.Parent = ModList | |
12630 | img.Position = UDim2.new(0,300,0, Position + 5) | |
12631 | img.Size = UDim2.new(0,100,0,100) | |
12632 | img.ZIndex = 6 | |
12633 | img.BackgroundColor3 = Color3.new(255, 255, 255) | |
12634 | img.BackgroundTransparency = 1 | |
12635 | img.Image = 'https://www.roblox.com/Thumbs/Asset.ashx?width=110&height=110&assetId='..v.AssetId | |
12636 | ins.MouseButton1Click:Connect(function() | |
12637 | local window = true | |
12638 | dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. v.AssetId), window, ModelContainerFrame, v.Name) | |
12639 | Notify('Inserted ' .. v.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt') | |
12640 | ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12641 | end) | |
12642 | Notify('Select a model to insert') | |
12643 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12644 | Exit.MouseButton1Click:Connect(function() | |
12645 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12646 | wait(0.6) Models:Destroy() end) end end | |
12647 | end) | |
12648 | ||
12649 | addcmd('cmds','opens cmds window',{'commands'}, | |
12650 | function(args, speaker) | |
12651 | if speaker.userId ~= LP.userId then | |
12652 | for _, child in pairs( workspace:GetChildren()) do | |
12653 | if child.Name == speaker.Name .. "TAB" then | |
12654 | child:Destroy() end end | |
12655 | game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1) | |
12656 | local GUI = Instance.new("SurfaceGui") | |
12657 | local holder = Instance.new("Frame") | |
12658 | local bar = Instance.new("Frame") | |
12659 | local Title = Instance.new("TextLabel") | |
12660 | local MAIN = Instance.new("Frame") | |
12661 | local Example = Instance.new("TextLabel") | |
12662 | local CMDs = Instance.new("ScrollingFrame") | |
12663 | local PART = Instance.new("Part") | |
12664 | PART.Name = speaker.Name .. 'TAB' | |
12665 | PART.Color = maincolor | |
12666 | PART.Size = Vector3.new(7, 7.8, 0.2) | |
12667 | PART.Transparency = 0 | |
12668 | PART.Locked = true | |
12669 | PART.CanCollide = false | |
12670 | PART.Parent = workspace | |
12671 | PART.Anchored = true | |
12672 | PART.Material = "Neon" | |
12673 | local GUI = Instance.new("SurfaceGui") | |
12674 | local holder = Instance.new("Frame") | |
12675 | local bar = Instance.new("Frame") | |
12676 | local Title = Instance.new("TextLabel") | |
12677 | local MAIN = Instance.new("Frame") | |
12678 | local Example = Instance.new("TextLabel") | |
12679 | local CMDs = Instance.new("ScrollingFrame") | |
12680 | GUI.Name = "GUI" | |
12681 | GUI.Parent = PART | |
12682 | GUI.CanvasSize = Vector2.new(500, 600) | |
12683 | GUI.Face = Enum.NormalId.Back | |
12684 | holder.Name = "holder" | |
12685 | holder.Parent = GUI | |
12686 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
12687 | holder.BackgroundTransparency = 1 | |
12688 | holder.BorderSizePixel = 2 | |
12689 | holder.Position = UDim2.new(0, 0, 0, 10) | |
12690 | holder.Size = UDim2.new(0, 300, 0, 330) | |
12691 | holder.ZIndex = 2 | |
12692 | bar.Name = "bar" | |
12693 | bar.Parent = holder | |
12694 | bar.BackgroundColor3 = Color3.new(0, 0, 0) | |
12695 | bar.BackgroundTransparency = 0.89999997615814 | |
12696 | bar.BorderSizePixel = 0 | |
12697 | bar.Position = UDim2.new(0, 10, 1, -330) | |
12698 | bar.Size = UDim2.new(0, 480, 0, 33) | |
12699 | Title.Name = "Title" | |
12700 | Title.Parent = bar | |
12701 | Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
12702 | Title.BackgroundTransparency = 1 | |
12703 | Title.Size = UDim2.new(1, 0, 0, 30) | |
12704 | Title.Font = Enum.Font.SourceSansBold | |
12705 | Title.FontSize = Enum.FontSize.Size24 | |
12706 | Title.Text = "[Infinite Yield] Command List" | |
12707 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12708 | MAIN.Name = "MAIN" | |
12709 | MAIN.Parent = holder | |
12710 | MAIN.BackgroundColor3 = Color3.new(0, 0, 0) | |
12711 | MAIN.BackgroundTransparency = 0.89999997615814 | |
12712 | MAIN.BorderSizePixel = 0 | |
12713 | MAIN.Position = UDim2.new(0, 10, 1, -300) | |
12714 | MAIN.Size = UDim2.new(0, 480, 0, 550) | |
12715 | Example.Name = "Example" | |
12716 | Example.Parent = MAIN | |
12717 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12718 | Example.BackgroundTransparency = 1 | |
12719 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12720 | Example.BorderSizePixel = 0 | |
12721 | Example.Size = UDim2.new(0, 190, 0, 40) | |
12722 | Example.Visible = false | |
12723 | Example.Font = Enum.Font.SourceSansBold | |
12724 | Example.FontSize = Enum.FontSize.Size36 | |
12725 | Example.Text = "txt" | |
12726 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
12727 | Example.TextStrokeTransparency = 0 | |
12728 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
12729 | Example.ZIndex = 6 | |
12730 | CMDs.Name = "CMDs" | |
12731 | CMDs.Parent = MAIN | |
12732 | CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12733 | CMDs.BackgroundTransparency = 1 | |
12734 | CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12735 | CMDs.BorderSizePixel = 0 | |
12736 | CMDs.Size = UDim2.new(0, 480, 0, 550) | |
12737 | CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12738 | CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880) | |
12739 | CMDs.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12740 | CMDs.ScrollBarThickness = 15 | |
12741 | CMDs.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12742 | local CMDsV = CMDsFolder:GetChildren() | |
12743 | for i = 1, #CMDsV do | |
12744 | local YSize = 35 | |
12745 | local Position = ((i * YSize) - YSize) | |
12746 | local newcmd = Example:Clone() | |
12747 | newcmd.Parent = CMDs | |
12748 | newcmd.Visible = true | |
12749 | newcmd.Position = UDim2.new(0,10,0, Position + 1) | |
12750 | newcmd.Text = "" .. CMDsV[i].Value | |
12751 | CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end | |
12752 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
12753 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
12754 | PART.CFrame = newcf | |
12755 | speaker.Character.Humanoid.Died:connect(function() | |
12756 | PART:Destroy() end) | |
12757 | wait(1) | |
12758 | PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05) | |
12759 | PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05) | |
12760 | PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05) | |
12761 | if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end | |
12762 | table.insert(hastab, speaker.Name) movetab(speaker,PART) | |
12763 | else | |
12764 | if cmdOpen == true then | |
12765 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
12766 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
12767 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
12768 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
12769 | else | |
12770 | commands() searchbar() | |
12771 | end end | |
12772 | end) | |
12773 | cmdBAR.FocusLost:connect(function(enterpressed) | |
12774 | if enterpressed and cmdBAR.Text ~= "" then | |
12775 | spawn(function () | |
12776 | execCmd(cmdBAR.Text, Player) | |
12777 | end) | |
12778 | end | |
12779 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) | |
12780 | cmdBAR.BorderSizePixel = 1 | |
12781 | wait(0.1) | |
12782 | cmdBAR.BorderSizePixel = 0 | |
12783 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
12784 | end) | |
12785 | Mouse.KeyDown:connect(function(Key) | |
12786 | if (Key==cmdbarbind) then | |
12787 | cmdBAR:CaptureFocus() | |
12788 | cmdBAR.BorderSizePixel = 1 | |
12789 | wait(0.1) | |
12790 | cmdBAR.BorderSizePixel = 2 | |
12791 | end | |
12792 | end) | |
12793 | cmdBAR.Changed:connect(function (property) | |
12794 | if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) end | |
12795 | end) | |
12796 | cmdBAR:GetPropertyChangedSignal("Text"):Connect(function() | |
12797 | local diff = cmdBAR.TextBounds.X-250 | |
12798 | cmdBAR:TweenSizeAndPosition(UDim2.new(0,250+math.floor(math.max(0,diff)),0,25),UDim2.new(0,10-math.floor(math.max(0,diff)),1,-35),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
12799 | end) | |
12800 | cmdBAR.Focused:Connect(function() historyCount = 0 end) | |
12801 | game:GetService("UserInputService").InputBegan:Connect(function(input) | |
12802 | if not cmdBAR:IsFocused() then return end | |
12803 | if input.KeyCode == Enum.KeyCode.Up then | |
12804 | historyCount = historyCount + 1 | |
12805 | if historyCount > #cmdHistory then historyCount = #cmdHistory end | |
12806 | cmdBAR.Text = cmdHistory[historyCount] or "" | |
12807 | elseif input.KeyCode == Enum.KeyCode.Down then | |
12808 | historyCount = historyCount - 1 | |
12809 | if historyCount < 1 then historyCount = 1 end | |
12810 | cmdBAR.Text = cmdHistory[historyCount] or "" | |
12811 | end | |
12812 | end) | |
12813 | NOTIFY = DATA.Notification | |
12814 | NOTIFY.Parent = game.CoreGui | |
12815 | local usingNOTE = false | |
12816 | function Notify(msg) | |
12817 | spawn(function() | |
12818 | if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then | |
12819 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12820 | wait(0.5) | |
12821 | MusicPlayer:Hide() | |
12822 | if qopen == true then | |
12823 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12824 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12825 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12826 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12827 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false | |
12828 | NOTIFY.NOTIFY.NOTE.Text = msg | |
12829 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
12830 | if playerenabled == true then | |
12831 | wait(4) | |
12832 | if playerenabled == true then | |
12833 | MusicPlayer:Show() | |
12834 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12835 | end | |
12836 | end | |
12837 | else | |
12838 | NOTIFY.NOTIFY.NOTE.Text = msg | |
12839 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
12840 | if playerenabled == true then | |
12841 | wait(4) | |
12842 | if playerenabled == true then | |
12843 | MusicPlayer:Show() | |
12844 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12845 | end | |
12846 | end | |
12847 | end end end) end | |
12848 | local loadbar = Instance.new("ScreenGui") local Loading = Instance.new("TextLabel") local fr = Instance.new("Frame") local ba = Instance.new("Frame") loadbar.Name = "loadbar" loadbar.Parent = game.CoreGui | |
12849 | Loading.Name = "Loading" Loading.Parent = loadbar Loading.BackgroundColor3 = Color3.new(1, 1, 1) Loading.BackgroundTransparency = 1 Loading.Position = UDim2.new(0.25, 0, 0.875, 0) Loading.Size = UDim2.new(0.5, 0, 0, 50) | |
12850 | Loading.ZIndex = 101 Loading.Font = Enum.Font.ArialBold Loading.FontSize = Enum.FontSize.Size24 Loading.Text = "Loading..." Loading.TextColor3 = Color3.new(0, 0, 0) Loading.TextStrokeColor3 = Color3.new(1, 1, 1) Loading.TextStrokeTransparency = 0.5 | |
12851 | Loading.TextTransparency = 0.10000000149012 Loading.TextWrapped = true fr.Name = "fr" fr.Parent = Loading fr.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078) fr.BackgroundTransparency = 0.30000001192093 | |
12852 | fr.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078) fr.BorderSizePixel = 2 fr.Size = UDim2.new(1, 0, 1, 0) ba.ZIndex = 100 fr.ZIndex = 99 ba.Name = "ba" ba.Parent = Loading ba.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392) ba.BorderColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392) | |
12853 | ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0) | |
12854 | if aliasSave then | |
12855 | for i = 1, #aliasSave do | |
12856 | execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS) | |
12857 | end else | |
12858 | aliasSave = {} wait(0.1) updatefile() | |
12859 | for i = 1, #aliasSave do | |
12860 | execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS) | |
12861 | end end | |
12862 | Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quart", 1, true, nil) | |
12863 | commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false | |
12864 | local Logs = Instance.new("ScreenGui") | |
12865 | logdrag = Instance.new("Frame") | |
12866 | local PromptDialog = Instance.new("Frame") | |
12867 | local ContainerFrame = Instance.new("Frame") | |
12868 | local pos = Instance.new("Frame") | |
12869 | local clear = Instance.new("TextButton") | |
12870 | local scroll = Instance.new("ScrollingFrame") | |
12871 | local hl = Instance.new("Frame") | |
12872 | local whispers = Instance.new("Frame") | |
12873 | local CheckBox = Instance.new("ImageButton") | |
12874 | local box = Instance.new("TextButton") | |
12875 | local whispers_2 = Instance.new("TextLabel") | |
12876 | local chats = Instance.new("Frame") | |
12877 | local CheckBox_2 = Instance.new("ImageButton") | |
12878 | local box_2 = Instance.new("TextButton") | |
12879 | local chats_2 = Instance.new("TextLabel") | |
12880 | local commands = Instance.new("Frame") | |
12881 | local CheckBox_3 = Instance.new("ImageButton") | |
12882 | local box_3 = Instance.new("TextButton") | |
12883 | local commands_2 = Instance.new("TextLabel") | |
12884 | local shadow = Instance.new("Frame") | |
12885 | local Exit = Instance.new("TextButton") | |
12886 | local PopupText = Instance.new("TextLabel") | |
12887 | local Hide = Instance.new("TextButton") | |
12888 | Logs.Name = "Logs" | |
12889 | Logs.Parent = game.CoreGui | |
12890 | logdrag.Name = "drag" | |
12891 | logdrag.Parent = Logs | |
12892 | logdrag.Active = true | |
12893 | logdrag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12894 | logdrag.BackgroundTransparency = 1 | |
12895 | dragGUI(logdrag) | |
12896 | logdrag.Position = UDim2.new(0.5, -225, 0, -400) | |
12897 | logdrag.Size = UDim2.new(0, 438, 0, 26) | |
12898 | PromptDialog.Name = "PromptDialog" | |
12899 | PromptDialog.Parent = logdrag | |
12900 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12901 | PromptDialog.BackgroundTransparency = 1 | |
12902 | PromptDialog.BorderSizePixel = 0 | |
12903 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12904 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12905 | PromptDialog.ZIndex = 5 | |
12906 | PromptDialog.ClipsDescendants = true | |
12907 | ContainerFrame.Name = "ContainerFrame" | |
12908 | ContainerFrame.Parent = PromptDialog | |
12909 | ContainerFrame.BackgroundColor3 = maincolor | |
12910 | ContainerFrame.BackgroundTransparency = 0.5 | |
12911 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12912 | ContainerFrame.BorderSizePixel = 0 | |
12913 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12914 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12915 | ContainerFrame.ZIndex = 5 | |
12916 | pos.Name = "pos" | |
12917 | pos.Parent = ContainerFrame | |
12918 | pos.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
12919 | pos.BackgroundTransparency = 1 | |
12920 | pos.BorderColor3 = Color3.new(0, 0, 0) | |
12921 | pos.BorderSizePixel = 0 | |
12922 | pos.Position = UDim2.new(0, 10, 0, 9) | |
12923 | pos.Size = UDim2.new(0, 428, 0, 230) | |
12924 | pos.ZIndex = 5 | |
12925 | clear.Name = "clear" | |
12926 | clear.Parent = pos | |
12927 | clear.BackgroundColor3 = Color3.new(0, 0, 0) | |
12928 | clear.BackgroundTransparency = 0.80000001192093 | |
12929 | clear.BorderColor3 = Color3.new(1, 1, 1) | |
12930 | clear.Position = UDim2.new(0, 3, 0, 3) | |
12931 | clear.Size = UDim2.new(0, 70, 0, 20) | |
12932 | clear.ZIndex = 5 | |
12933 | clear.Font = Enum.Font.SourceSans | |
12934 | clear.FontSize = Enum.FontSize.Size14 | |
12935 | clear.Text = "Clear" | |
12936 | clear.TextColor3 = Color3.new(1, 1, 1) | |
12937 | scroll.Name = "scroll" | |
12938 | scroll.Parent = pos | |
12939 | scroll.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12940 | scroll.BackgroundTransparency = 1 | |
12941 | scroll.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12942 | scroll.BorderSizePixel = 0 | |
12943 | scroll.Size = UDim2.new(0, 413, 0, 193) | |
12944 | scroll.Position = UDim2.new(0.007, 0, 0.152, 0) | |
12945 | scroll.ZIndex = 5 | |
12946 | scroll.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12947 | scroll.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12948 | scroll.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12949 | scroll.ScrollBarThickness = 8 | |
12950 | scroll.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12951 | hl.Name = "hl" | |
12952 | hl.Parent = pos | |
12953 | hl.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
12954 | hl.BackgroundTransparency = 0.5 | |
12955 | hl.BorderColor3 = Color3.new(0, 0, 0) | |
12956 | hl.BorderSizePixel = 0 | |
12957 | hl.Position = UDim2.new(0, 2, 0, 35) | |
12958 | hl.Size = UDim2.new(0.799065411, 72, 0.839130461, 0) | |
12959 | hl.ZIndex = 5 | |
12960 | whispers.Name = "whispers" | |
12961 | whispers.Parent = pos | |
12962 | whispers.BackgroundColor3 = Color3.new(1, 1, 1) | |
12963 | whispers.BackgroundTransparency = 1 | |
12964 | whispers.Size = UDim2.new(0, 428, 0, 230) | |
12965 | CheckBox.Name = "CheckBox" | |
12966 | CheckBox.Parent = whispers | |
12967 | CheckBox.BackgroundTransparency = 1 | |
12968 | CheckBox.Position = UDim2.new(0.574635506, 0, 0, 2) | |
12969 | CheckBox.Size = UDim2.new(0, 20, 0, 20) | |
12970 | CheckBox.ZIndex = 6 | |
12971 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
12972 | box.Name = "box" | |
12973 | box.Parent = whispers | |
12974 | box.BackgroundColor3 = Color3.new(0, 0, 0) | |
12975 | box.BackgroundTransparency = 0.80000001192093 | |
12976 | box.BorderColor3 = Color3.new(1, 1, 1) | |
12977 | box.Position = UDim2.new(0, 172, 0, 3) | |
12978 | box.Size = UDim2.new(0, 94, 0, 20) | |
12979 | box.ZIndex = 5 | |
12980 | box.Font = Enum.Font.SourceSans | |
12981 | box.FontSize = Enum.FontSize.Size14 | |
12982 | box.Text = "" | |
12983 | box.TextColor3 = Color3.new(1, 1, 1) | |
12984 | whispers_2.Name = "whispers" | |
12985 | whispers_2.Parent = whispers | |
12986 | whispers_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
12987 | whispers_2.BackgroundTransparency = 1 | |
12988 | whispers_2.Position = UDim2.new(0, 172, 0, 3) | |
12989 | whispers_2.Size = UDim2.new(0.126168221, 20, -0.0434782617, 30) | |
12990 | whispers_2.ZIndex = 6 | |
12991 | whispers_2.Font = Enum.Font.SourceSansBold | |
12992 | whispers_2.FontSize = Enum.FontSize.Size14 | |
12993 | whispers_2.Text = "Whispers" | |
12994 | whispers_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12995 | chats.Name = "chats" | |
12996 | chats.Parent = pos | |
12997 | chats.BackgroundColor3 = Color3.new(1, 1, 1) | |
12998 | chats.BackgroundTransparency = 1 | |
12999 | chats.Size = UDim2.new(0, 428, 0, 230) | |
13000 | CheckBox_2.Name = "CheckBox" | |
13001 | CheckBox_2.Parent = chats | |
13002 | CheckBox_2.BackgroundTransparency = 1 | |
13003 | CheckBox_2.Position = UDim2.new(0.324635506, 0, 3.49245965e-08, 2) | |
13004 | CheckBox_2.Size = UDim2.new(0, 20, 0, 20) | |
13005 | CheckBox_2.ZIndex = 6 | |
13006 | CheckBox_2.Image = "http://www.roblox.com/asset/?id=65492641" | |
13007 | box_2.Name = "box" | |
13008 | box_2.Parent = chats | |
13009 | box_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
13010 | box_2.BackgroundTransparency = 0.80000001192093 | |
13011 | box_2.BorderColor3 = Color3.new(1, 1, 1) | |
13012 | box_2.Position = UDim2.new(0, 86, 0, 3) | |
13013 | box_2.Size = UDim2.new(0, 73, 0, 20) | |
13014 | box_2.ZIndex = 5 | |
13015 | box_2.Font = Enum.Font.SourceSans | |
13016 | box_2.FontSize = Enum.FontSize.Size14 | |
13017 | box_2.Text = "" | |
13018 | box_2.TextColor3 = Color3.new(1, 1, 1) | |
13019 | chats_2.Name = "chats" | |
13020 | chats_2.Parent = chats | |
13021 | chats_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
13022 | chats_2.BackgroundTransparency = 1 | |
13023 | chats_2.Position = UDim2.new(0, 86, 0, 2) | |
13024 | chats_2.Size = UDim2.new(0.0771028027, 20, -0.0434782617, 30) | |
13025 | chats_2.ZIndex = 6 | |
13026 | chats_2.Font = Enum.Font.SourceSansBold | |
13027 | chats_2.FontSize = Enum.FontSize.Size14 | |
13028 | chats_2.Text = "Chats" | |
13029 | chats_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
13030 | commands.Name = "commands" | |
13031 | commands.Parent = pos | |
13032 | commands.BackgroundColor3 = Color3.new(1, 1, 1) | |
13033 | commands.BackgroundTransparency = 1 | |
13034 | commands.Size = UDim2.new(0, 428, 0, 230) | |
13035 | CheckBox_3.Name = "CheckBox" | |
13036 | CheckBox_3.Parent = commands | |
13037 | CheckBox_3.BackgroundTransparency = 1 | |
13038 | CheckBox_3.Position = UDim2.new(0.844495356, 0, 0, 2) | |
13039 | CheckBox_3.Size = UDim2.new(0, 20, 0, 20) | |
13040 | CheckBox_3.ZIndex = 6 | |
13041 | CheckBox_3.Image = "http://www.roblox.com/asset/?id=65492641" | |
13042 | box_3.Name = "box" | |
13043 | box_3.Parent = commands | |
13044 | box_3.BackgroundColor3 = Color3.new(0, 0, 0) | |
13045 | box_3.BackgroundTransparency = 0.80000001192093 | |
13046 | box_3.BorderColor3 = Color3.new(1, 1, 1) | |
13047 | box_3.Position = UDim2.new(0, 279, 0, 3) | |
13048 | box_3.Size = UDim2.new(0, 102, 0, 20) | |
13049 | box_3.ZIndex = 5 | |
13050 | box_3.Font = Enum.Font.SourceSans | |
13051 | box_3.FontSize = Enum.FontSize.Size14 | |
13052 | box_3.Text = "" | |
13053 | box_3.TextColor3 = Color3.new(1, 1, 1) | |
13054 | commands_2.Name = "commands" | |
13055 | commands_2.Parent = commands | |
13056 | commands_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
13057 | commands_2.BackgroundTransparency = 1 | |
13058 | commands_2.Position = UDim2.new(0, 279, 0, 3) | |
13059 | commands_2.Size = UDim2.new(0.144859806, 20, -0.0434782617, 30) | |
13060 | commands_2.ZIndex = 6 | |
13061 | commands_2.Font = Enum.Font.SourceSansBold | |
13062 | commands_2.FontSize = Enum.FontSize.Size14 | |
13063 | commands_2.Text = "Commands" | |
13064 | commands_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
13065 | shadow.Name = "shadow" | |
13066 | shadow.Parent = PromptDialog | |
13067 | shadow.BackgroundColor3 = maincolor | |
13068 | shadow.BackgroundTransparency = 0.30000001192093 | |
13069 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
13070 | shadow.BorderSizePixel = 0 | |
13071 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
13072 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
13073 | Exit.Name = "Exit" | |
13074 | Exit.Parent = shadow | |
13075 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
13076 | Exit.BackgroundTransparency = 0.30000001192093 | |
13077 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
13078 | Exit.BorderSizePixel = 0 | |
13079 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
13080 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
13081 | Exit.FontSize = Enum.FontSize.Size14 | |
13082 | Exit.Text = "" | |
13083 | PopupText.Name = "PopupText" | |
13084 | PopupText.Parent = shadow | |
13085 | PopupText.BackgroundTransparency = 1 | |
13086 | PopupText.Position = UDim2.new(0, 61, 0, -5) | |
13087 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
13088 | PopupText.ZIndex = 6 | |
13089 | PopupText.Font = Enum.Font.SourceSansBold | |
13090 | PopupText.TextSize = 31 | |
13091 | PopupText.Text = "Logs" | |
13092 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13093 | PopupText.TextStrokeTransparency = 0 | |
13094 | PopupText.TextWrapped = true | |
13095 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
13096 | Hide.Name = "Hide" | |
13097 | Hide.Parent = shadow | |
13098 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
13099 | Hide.BackgroundTransparency = 0.30000001192093 | |
13100 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
13101 | Hide.BorderSizePixel = 0 | |
13102 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
13103 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
13104 | Hide.FontSize = Enum.FontSize.Size14 | |
13105 | Hide.Text = "" | |
13106 | checked = "http://www.roblox.com/asset/?id=65492641" | |
13107 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
13108 | if chatsV == true then | |
13109 | CheckBox_2.Image = checked else | |
13110 | CheckBox_2.Image = unchecked end | |
13111 | box_2.MouseButton1Down:connect(function() | |
13112 | if chatsV == true then chatsV = false | |
13113 | CheckBox_2.Image = unchecked updatefile() else | |
13114 | chatsV = true | |
13115 | CheckBox_2.Image = checked updatefile() end end) | |
13116 | if whispersV == true then | |
13117 | CheckBox.Image = checked else | |
13118 | CheckBox.Image = unchecked end | |
13119 | box.MouseButton1Down:connect(function() | |
13120 | if whispersV == true then whispersV = false | |
13121 | CheckBox.Image = unchecked updatefile() else | |
13122 | whispersV = true | |
13123 | CheckBox.Image = checked updatefile() end end) | |
13124 | if commandsV == true then | |
13125 | CheckBox_3.Image = checked else | |
13126 | CheckBox_3.Image = unchecked end | |
13127 | box_3.MouseButton1Down:connect(function() | |
13128 | if commandsV == true then commandsV = false | |
13129 | CheckBox_3.Image = unchecked updatefile() else | |
13130 | commandsV = true | |
13131 | CheckBox_3.Image = checked updatefile() end end) | |
13132 | clear.MouseButton1Down:connect(function() | |
13133 | for _, child in pairs( scroll:GetChildren()) do | |
13134 | child:Destroy() end | |
13135 | scroll.CanvasSize = UDim2.new(0, 0, 0, 10) | |
13136 | end) | |
13137 | Exit.MouseButton1Down:connect(function() | |
13138 | logdrag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
13139 | logsopen = false | |
13140 | end) | |
13141 | local hidden = false | |
13142 | Hide.MouseButton1Down:connect(function() | |
13143 | if hidden == false then hidden = true | |
13144 | ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
13145 | else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
13146 | end end) | |
13147 | function logtime() -- time function from aperture | |
13148 | local HOUR = math.floor((tick() % 86400) / 3600) | |
13149 | local MINUTE = math.floor((tick() % 3600) / 60) | |
13150 | local SECOND = math.floor(tick() % 60) | |
13151 | local AP = HOUR > 11 and 'PM' or 'AM' | |
13152 | HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12) | |
13153 | HOUR = HOUR < 10 and '0' .. HOUR or HOUR | |
13154 | MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE | |
13155 | SECOND = SECOND < 10 and '0' .. SECOND or SECOND | |
13156 | return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP end | |
13157 | function CreateLabel(Name, Text) | |
13158 | local sf = scroll | |
13159 | if #sf:GetChildren() >= 2546 then | |
13160 | sf:ClearAllChildren() | |
13161 | end | |
13162 | local alls = 0 | |
13163 | for i,v in pairs(sf:GetChildren()) do | |
13164 | if v then | |
13165 | alls = v.Size.Y.Offset + alls | |
13166 | end | |
13167 | if not v then | |
13168 | alls = 0 | |
13169 | end | |
13170 | end | |
13171 | local tl = Instance.new('TextLabel', sf) | |
13172 | local il = Instance.new('Frame', tl) | |
13173 | tl.Name = Name | |
13174 | tl.ZIndex = 6 | |
13175 | tl.Text = logtime().." - ["..Name.."]: "..Text | |
13176 | tl.Size = UDim2.new(0,410,0,84) | |
13177 | tl.BackgroundTransparency = 1 | |
13178 | tl.BorderSizePixel = 0 | |
13179 | tl.Font = "SourceSansBold" | |
13180 | tl.Position = UDim2.new(-1,0,0,alls) | |
13181 | tl.TextTransparency = 1 | |
13182 | tl.TextScaled = false | |
13183 | tl.TextSize = 14 | |
13184 | tl.TextWrapped = true | |
13185 | tl.TextXAlignment = "Left" | |
13186 | tl.TextYAlignment = "Top" | |
13187 | il.BackgroundTransparency = 1 | |
13188 | il.BorderSizePixel = 0 | |
13189 | il.Size = UDim2.new(0,12,1,0) | |
13190 | il.Position = UDim2.new(0,410,0,0) | |
13191 | tl.TextColor3 = Color3.fromRGB(255,255,255) | |
13192 | tl.Size = UDim2.new(0,410,0,tl.TextBounds.Y) | |
13193 | sf.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y) | |
13194 | sf.CanvasPosition = Vector2.new(0,sf.CanvasPosition.Y+tl.TextBounds.Y) | |
13195 | local size2 = sf.CanvasSize.Y.Offset | |
13196 | tl:TweenPosition(UDim2.new(0,0,0,alls), 'In', 'Quint', 0.5) | |
13197 | for i = 0,50 do wait(0.05) | |
13198 | tl.TextTransparency = tl.TextTransparency - 0.05 | |
13199 | end | |
13200 | tl.TextTransparency = 0 | |
13201 | end logsloaded = true | |
13202 | local intro = Instance.new("ScreenGui") | |
13203 | local Frame = Instance.new("Frame") | |
13204 | local Circle = Instance.new("ImageLabel") | |
13205 | local ImageLabel = Instance.new("ImageLabel") | |
13206 | intro.Name = "intro" | |
13207 | intro.Parent = game.CoreGui | |
13208 | Frame.Parent = intro | |
13209 | Frame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13210 | Frame.BackgroundTransparency = 1 | |
13211 | Frame.BorderSizePixel = 0 | |
13212 | Frame.ClipsDescendants = true | |
13213 | Frame.Position = UDim2.new(0.5, -125, 0.5, -125) | |
13214 | Frame.Size = UDim2.new(0, 250, 0, 250) | |
13215 | Circle.Name = "Circle" | |
13216 | Circle.Parent = Frame | |
13217 | Circle.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
13218 | Circle.BackgroundTransparency = 1 | |
13219 | Circle.BorderSizePixel = 0 | |
13220 | Circle.Position = UDim2.new(0.5, 0, 0.5, 0) | |
13221 | Circle.Image = "rbxassetid://631172870" | |
13222 | Circle.ImageColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13223 | ImageLabel.Parent = Frame | |
13224 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
13225 | ImageLabel.BackgroundTransparency = 1 | |
13226 | ImageLabel.BorderSizePixel = 0 | |
13227 | ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0) | |
13228 | ImageLabel.Image = "rbxassetid://1352543873" | |
13229 | Loading.ba:TweenSize(UDim2.new(0.35, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) | |
13230 | local g = intro | |
13231 | local f = Frame | |
13232 | local imagef = Circle | |
13233 | local logof = ImageLabel | |
13234 | loadedintro = false | |
13235 | local function tween2() | |
13236 | f:TweenSizeAndPosition(UDim2.new(0,250,0,250),UDim2.new(0.5,-125,0.5,-125), "Out", "Quart", 0.4) | |
13237 | wait(0.6) loadedintro = true end | |
13238 | local function tween1() | |
13239 | f:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150), "In", "Quart", 0.4, false, tween2) end | |
13240 | imagef:TweenSizeAndPosition(UDim2.new(3,0,3,0),UDim2.new(-1,0,-1,0), "Out", "Linear", 0.4) | |
13241 | logof:TweenSizeAndPosition(UDim2.new(1,0,1,0),UDim2.new(0,0,0,0), "Out", "Linear", 0.4, false, tween1) | |
13242 | if pcall(function() loadstring(game:HttpGet(('https://pastebin.com/raw/wcEw3rW9'),true))() end) then | |
13243 | if workspace.FilteringEnabled == true then | |
13244 | Notify('Filtering ENABLED '..ServerMessage) | |
13245 | elseif workspace.FilteringEnabled == false then | |
13246 | Notify('Filtering Disabled '..ServerMessage) | |
13247 | end | |
13248 | else | |
13249 | if workspace.FilteringEnabled == true then | |
13250 | Notify('Filtering ENABLED') | |
13251 | elseif | |
13252 | workspace.FilteringEnabled == false then | |
13253 | Notify('Filtering Disabled') | |
13254 | end | |
13255 | end | |
13256 | Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quart", 0.4, true, nil) | |
13257 | local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel") | |
13258 | local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel") | |
13259 | local info = Instance.new("ImageButton") local info_2 = Instance.new("TextLabel") local mix = Instance.new("ImageButton") local mix_2 = Instance.new("TextLabel") local MAIN = Instance.new("TextLabel") iy.Name = "iy" iy.Parent = game.CoreGui.RobloxGui.TopBarContainer | |
13260 | iy.BackgroundTransparency = 1 iy.Position = UDim2.new(0, 2, 0, -38) iy.Size = UDim2.new(0, 50, 0, 36) iy.AutoButtonColor = false sheild.Name = "sheild" sheild.Parent = iy sheild.BackgroundColor3 = Color3.new(1, 1, 1) | |
13261 | sheild.BackgroundTransparency = 1 sheild.Size = UDim2.new(0, 320, 0, 35) cmds.Name = "cmds" cmds.Parent = sheild cmds.BackgroundTransparency = 1 cmds.Position = UDim2.new(0, 50, 0, 0) cmds.Size = UDim2.new(0, 80, 0, 36) | |
13262 | cmds.AutoButtonColor = false cmds_2.Name = "cmds" cmds_2.Parent = cmds cmds_2.BackgroundColor3 = Color3.new(1, 1, 1) cmds_2.BackgroundTransparency = 1 cmds_2.Position = UDim2.new(0, 0, 0, -2) | |
13263 | cmds_2.Size = UDim2.new(0, 80, 0, 40) cmds_2.Font = Enum.Font.Arial cmds_2.FontSize = Enum.FontSize.Size14 cmds_2.Text = "Commands" cmds_2.TextColor3 = Color3.new(1, 1, 1) cmds_2.TextStrokeTransparency = 0.69999998807907 | |
13264 | settings.Name = "settings" settings.Parent = sheild settings.BackgroundTransparency = 1 settings.Position = UDim2.new(0, 146, 0, 0) settings.Size = UDim2.new(0, 60, 0, 36) settings.AutoButtonColor = false | |
13265 | settings_2.Name = "settings" settings_2.Parent = settings settings_2.BackgroundColor3 = Color3.new(1, 1, 1) settings_2.BackgroundTransparency = 1 settings_2.Position = UDim2.new(0, 0, 0, -2) | |
13266 | settings_2.Size = UDim2.new(0, 60, 0, 40) settings_2.Font = Enum.Font.Arial settings_2.FontSize = Enum.FontSize.Size14 settings_2.Text = "Script Hub" settings_2.TextColor3 = Color3.new(1, 1, 1) | |
13267 | settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 220, 0, 0) | |
13268 | updates.Size = UDim2.new(0, 60, 0, 36) updates.AutoButtonColor = false updates_2.Name = "updates" updates_2.Parent = updates updates_2.BackgroundColor3 = Color3.new(1, 1, 1) updates_2.BackgroundTransparency = 1 | |
13269 | updates_2.Position = UDim2.new(0, 0, 0, -2) updates_2.Size = UDim2.new(0, 60, 0, 40) updates_2.Font = Enum.Font.Arial updates_2.FontSize = Enum.FontSize.Size14 | |
13270 | updates_2.Text = "Server" updates_2.TextColor3 = Color3.new(1, 1, 1) updates_2.TextStrokeTransparency = 0.69999998807907 info.Name = "info" info.Parent = sheild info.BackgroundTransparency = 1 info.Position = UDim2.new(0, 290, 0, 0) | |
13271 | info.Size = UDim2.new(0, 35, 0, 36) info.AutoButtonColor = false info_2.Name = "info" info_2.Parent = info info_2.BackgroundColor3 = Color3.new(1, 1, 1) info_2.BackgroundTransparency = 1 info_2.Position = UDim2.new(0, 0, 0, -2) | |
13272 | info_2.Size = UDim2.new(0, 30, 0, 40) info_2.Font = Enum.Font.Arial info_2.FontSize = Enum.FontSize.Size14 info_2.Text = "Info" info_2.TextColor3 = Color3.new(1, 1, 1) | |
13273 | mix.Name = "mix" mix.Parent = sheild mix.BackgroundTransparency = 1 mix.Position = UDim2.new(0, 340, 0, 0) | |
13274 | mix.Size = UDim2.new(0, 35, 0, 36) mix.AutoButtonColor = false mix_2.Name = "mix" mix_2.Parent = mix mix_2.BackgroundColor3 = Color3.new(1, 1, 1) mix_2.BackgroundTransparency = 1 mix_2.Position = UDim2.new(0, 0, 0, -2) | |
13275 | mix_2.Size = UDim2.new(0, 30, 0, 40) mix_2.Font = Enum.Font.Arial mix_2.FontSize = Enum.FontSize.Size14 mix_2.Text = "Color" mix_2.TextColor3 = Color3.new(1, 1, 1) mix_2.TextStrokeTransparency = 0.7 | |
13276 | lockic = Instance.new("ImageLabel") | |
13277 | lockic.Name = "lock" | |
13278 | lockic.Parent = iy | |
13279 | lockic.BackgroundColor3 = Color3.new(1, 1, 1) | |
13280 | lockic.BackgroundTransparency = 1 | |
13281 | lockic.ImageTransparency = 1 | |
13282 | lockic.BorderSizePixel = 0 | |
13283 | lockic.Position = UDim2.new(0, 53, 0, -3) | |
13284 | lockic.Size = UDim2.new(0, 40, 0, 40) | |
13285 | lockic.Image = "rbxassetid://1495252742" | |
13286 | info_2.TextStrokeTransparency = 0.69999998807907 MAIN.Name = "MAIN" MAIN.Parent = iy MAIN.BackgroundColor3 = Color3.new(1, 1, 1) MAIN.BackgroundTransparency = 1 MAIN.Position = UDim2.new(0, 2, 0, -2) | |
13287 | MAIN.Size = UDim2.new(0, 40, 0, 40) MAIN.Font = Enum.Font.ArialBold MAIN.FontSize = Enum.FontSize.Size24 MAIN.Text = "IY" MAIN.TextColor3 = Color3.new(1, 1, 1) MAIN.TextStrokeTransparency = 0.69999998807907 | |
13288 | Loading.ba:TweenSize(UDim2.new(0.7, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) quickmenu = game.CoreGui.RobloxGui.TopBarContainer.iy | |
13289 | local TopBarContainer = Instance.new("Frame") TopBarContainer.Name = "TopBarContainer" TopBarContainer.Parent = game.CoreGui.RobloxGui TopBarContainer.Active = true TopBarContainer.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13290 | TopBarContainer.BackgroundTransparency = 0.5 TopBarContainer.BorderSizePixel = 0 TopBarContainer.Position = UDim2.new(0, 0, 0, -72) TopBarContainer.Size = UDim2.new(1, 0, 0, 36) TopBarContainer.ZIndex = 0 | |
13291 | picker = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://02011075373") picker.Parent = game.CoreGui picker.ColorPicker.Visible = false picker.ColorPicker.Position = UDim2.new(0.5, -219, 0, -500) | |
13292 | quickmenu.sheild.mix.MouseButton1Click:connect(function() picker.ColorPicker.Visible = true picker.ColorPicker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) end) | |
13293 | PKR = picker.ColorPicker | |
13294 | local ColorPicker do | |
13295 | ColorPicker = {} | |
13296 | ||
13297 | ColorPicker.new = function() | |
13298 | local newMt = setmetatable({},{}) | |
13299 | ||
13300 | local pickerGui = picker.ColorPicker | |
13301 | local pickerTopBar = pickerGui.TopBar | |
13302 | local pickerFrame = pickerGui.Content | |
13303 | local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace | |
13304 | local colorStrip = pickerFrame.ColorStrip | |
13305 | local previewFrame = pickerFrame.Preview | |
13306 | local basicColorsFrame = pickerFrame.BasicColors | |
13307 | local customColorsFrame = pickerFrame.CustomColors | |
13308 | local okButton = pickerFrame.Ok | |
13309 | local cancelButton = pickerFrame.Cancel | |
13310 | local defaultButton = pickerFrame.Default | |
13311 | rainbowButton = pickerFrame.Rainbow | |
13312 | ||
13313 | local colorScope = colorSpace.Scope | |
13314 | local colorArrow = pickerFrame.ArrowFrame.Arrow | |
13315 | ||
13316 | local hueInput = pickerFrame.Hue.Input | |
13317 | local satInput = pickerFrame.Sat.Input | |
13318 | local valInput = pickerFrame.Val.Input | |
13319 | ||
13320 | local redInput = pickerFrame.Red.Input | |
13321 | local greenInput = pickerFrame.Green.Input | |
13322 | local blueInput = pickerFrame.Blue.Input | |
13323 | ||
13324 | local user = game:GetService("UserInputService") | |
13325 | local mouse = game:GetService("Players").LocalPlayer:GetMouse() | |
13326 | ||
13327 | local hue,sat,val = 0,0,1 | |
13328 | local red,green,blue = 1,1,1 | |
13329 | local chosenColor = Color3.new(0,0,0) | |
13330 | ||
13331 | local basicColors = {Color3.new(0,0,0),Color3.new(0.66666668653488,0,0),Color3.new(0,0.33333334326744,0),Color3.new(0.66666668653488,0.33333334326744,0),Color3.new(0,0.66666668653488,0),Color3.new(0.66666668653488,0.66666668653488,0),Color3.new(0,1,0),Color3.new(0.66666668653488,1,0),Color3.new(0,0,0.49803924560547),Color3.new(0.66666668653488,0,0.49803924560547),Color3.new(0,0.33333334326744,0.49803924560547),Color3.new(0.66666668653488,0.33333334326744,0.49803924560547),Color3.new(0,0.66666668653488,0.49803924560547),Color3.new(0.66666668653488,0.66666668653488,0.49803924560547),Color3.new(0,1,0.49803924560547),Color3.new(0.66666668653488,1,0.49803924560547),Color3.new(0,0,1),Color3.new(0.66666668653488,0,1),Color3.new(0,0.33333334326744,1),Color3.new(0.66666668653488,0.33333334326744,1),Color3.new(0,0.66666668653488,1),Color3.new(0.66666668653488,0.66666668653488,1),Color3.new(0,1,1),Color3.new(0.66666668653488,1,1),Color3.new(0.33333334326744,0,0),Color3.new(1,0,0),Color3.new(0.33333334326744,0.33333334326744,0),Color3.new(1,0.33333334326744,0),Color3.new(0.33333334326744,0.66666668653488,0),Color3.new(1,0.66666668653488,0),Color3.new(0.33333334326744,1,0),Color3.new(1,1,0),Color3.new(0.33333334326744,0,0.49803924560547),Color3.new(1,0,0.49803924560547),Color3.new(0.33333334326744,0.33333334326744,0.49803924560547),Color3.new(1,0.33333334326744,0.49803924560547),Color3.new(0.33333334326744,0.66666668653488,0.49803924560547),Color3.new(1,0.66666668653488,0.49803924560547),Color3.new(0.33333334326744,1,0.49803924560547),Color3.new(1,1,0.49803924560547),Color3.new(0.33333334326744,0,1),Color3.new(1,0,1),Color3.new(0.33333334326744,0.33333334326744,1),Color3.new(1,0.33333334326744,1),Color3.new(0.33333334326744,0.66666668653488,1),Color3.new(1,0.66666668653488,1),Color3.new(0.33333334326744,1,1),Color3.new(1,1,1)} | |
13332 | local customColors = {} | |
13333 | ||
13334 | local function updateColor(noupdate) | |
13335 | local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199 | |
13336 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13337 | ||
13338 | if noupdate == 2 or not noupdate then | |
13339 | hueInput.Text = tostring(math.ceil(359*hue)) | |
13340 | satInput.Text = tostring(math.ceil(255*sat)) | |
13341 | valInput.Text = tostring(math.floor(255*val)) | |
13342 | end | |
13343 | if noupdate == 1 or not noupdate then | |
13344 | redInput.Text = tostring(math.floor(255*red)) | |
13345 | greenInput.Text = tostring(math.floor(255*green)) | |
13346 | blueInput.Text = tostring(math.floor(255*blue)) | |
13347 | end | |
13348 | ||
13349 | chosenColor = Color3.new(red,green,blue) | |
13350 | ||
13351 | colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9) | |
13352 | colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1) | |
13353 | colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4) | |
13354 | previewFrame.BackgroundColor3 = chosenColor | |
13355 | ||
13356 | newMt.Color = chosenColor | |
13357 | if newMt.Changed then newMt:Changed(chosenColor) end | |
13358 | end | |
13359 | ||
13360 | local function colorSpaceInput() | |
13361 | local relativeX = mouse.X - colorSpace.AbsolutePosition.X | |
13362 | local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y | |
13363 | ||
13364 | if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end | |
13365 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end | |
13366 | ||
13367 | hue = (219 - relativeX)/219 | |
13368 | sat = (199 - relativeY)/199 | |
13369 | ||
13370 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13371 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13372 | ||
13373 | updateColor() | |
13374 | end | |
13375 | ||
13376 | local function colorStripInput() | |
13377 | local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y | |
13378 | ||
13379 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end | |
13380 | ||
13381 | val = (199 - relativeY)/199 | |
13382 | ||
13383 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13384 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13385 | ||
13386 | updateColor() | |
13387 | end | |
13388 | ||
13389 | local function hookButtons(frame,func) | |
13390 | frame.ArrowFrame.Up.InputBegan:Connect(function(input) | |
13391 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13392 | frame.ArrowFrame.Up.BackgroundTransparency = 0.5 | |
13393 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13394 | local releaseEvent,runEvent | |
13395 | ||
13396 | local startTime = tick() | |
13397 | local pressing = true | |
13398 | local startNum = tonumber(frame.Text) | |
13399 | ||
13400 | if not startNum then return end | |
13401 | ||
13402 | releaseEvent = user.InputEnded:Connect(function(input) | |
13403 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13404 | releaseEvent:Disconnect() | |
13405 | pressing = false | |
13406 | end) | |
13407 | ||
13408 | startNum = startNum + 1 | |
13409 | func(startNum) | |
13410 | while pressing do | |
13411 | if tick()-startTime > 0.3 then | |
13412 | startNum = startNum + 1 | |
13413 | func(startNum) | |
13414 | end | |
13415 | wait(0.1) | |
13416 | end | |
13417 | end | |
13418 | end) | |
13419 | ||
13420 | frame.ArrowFrame.Up.InputEnded:Connect(function(input) | |
13421 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13422 | frame.ArrowFrame.Up.BackgroundTransparency = 1 | |
13423 | end | |
13424 | end) | |
13425 | ||
13426 | frame.ArrowFrame.Down.InputBegan:Connect(function(input) | |
13427 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13428 | frame.ArrowFrame.Down.BackgroundTransparency = 0.5 | |
13429 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13430 | local releaseEvent,runEvent | |
13431 | ||
13432 | local startTime = tick() | |
13433 | local pressing = true | |
13434 | local startNum = tonumber(frame.Text) | |
13435 | ||
13436 | if not startNum then return end | |
13437 | ||
13438 | releaseEvent = user.InputEnded:Connect(function(input) | |
13439 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13440 | releaseEvent:Disconnect() | |
13441 | pressing = false | |
13442 | end) | |
13443 | ||
13444 | startNum = startNum - 1 | |
13445 | func(startNum) | |
13446 | while pressing do | |
13447 | if tick()-startTime > 0.3 then | |
13448 | startNum = startNum - 1 | |
13449 | func(startNum) | |
13450 | end | |
13451 | wait(0.1) | |
13452 | end | |
13453 | end | |
13454 | end) | |
13455 | ||
13456 | frame.ArrowFrame.Down.InputEnded:Connect(function(input) | |
13457 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13458 | frame.ArrowFrame.Down.BackgroundTransparency = 1 | |
13459 | end | |
13460 | end) | |
13461 | end | |
13462 | ||
13463 | colorSpace.InputBegan:Connect(function(input) | |
13464 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13465 | local releaseEvent,mouseEvent | |
13466 | ||
13467 | releaseEvent = user.InputEnded:Connect(function(input) | |
13468 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13469 | releaseEvent:Disconnect() | |
13470 | mouseEvent:Disconnect() | |
13471 | end) | |
13472 | ||
13473 | mouseEvent = user.InputChanged:Connect(function(input) | |
13474 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13475 | colorSpaceInput() | |
13476 | end | |
13477 | end) | |
13478 | ||
13479 | colorSpaceInput() | |
13480 | end | |
13481 | end) | |
13482 | ||
13483 | colorStrip.InputBegan:Connect(function(input) | |
13484 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13485 | local releaseEvent,mouseEvent | |
13486 | ||
13487 | releaseEvent = user.InputEnded:Connect(function(input) | |
13488 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13489 | releaseEvent:Disconnect() | |
13490 | mouseEvent:Disconnect() | |
13491 | end) | |
13492 | ||
13493 | mouseEvent = user.InputChanged:Connect(function(input) | |
13494 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13495 | colorStripInput() | |
13496 | end | |
13497 | end) | |
13498 | ||
13499 | colorStripInput() | |
13500 | end | |
13501 | end) | |
13502 | ||
13503 | local function updateHue(str) | |
13504 | local num = tonumber(str) | |
13505 | if num then | |
13506 | hue = math.clamp(math.floor(num),0,359)/359 | |
13507 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13508 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13509 | hueInput.Text = tostring(hue*359) | |
13510 | updateColor(1) | |
13511 | end | |
13512 | end | |
13513 | hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue) | |
13514 | ||
13515 | local function updateSat(str) | |
13516 | local num = tonumber(str) | |
13517 | if num then | |
13518 | sat = math.clamp(math.floor(num),0,255)/255 | |
13519 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13520 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13521 | satInput.Text = tostring(sat*255) | |
13522 | updateColor(1) | |
13523 | end | |
13524 | end | |
13525 | satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat) | |
13526 | ||
13527 | local function updateVal(str) | |
13528 | local num = tonumber(str) | |
13529 | if num then | |
13530 | val = math.clamp(math.floor(num),0,255)/255 | |
13531 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13532 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13533 | valInput.Text = tostring(val*255) | |
13534 | updateColor(1) | |
13535 | end | |
13536 | end | |
13537 | valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal) | |
13538 | ||
13539 | local function updateRed(str) | |
13540 | local num = tonumber(str) | |
13541 | if num then | |
13542 | red = math.clamp(math.floor(num),0,255)/255 | |
13543 | local newColor = Color3.new(red,green,blue) | |
13544 | hue,sat,val = Color3.toHSV(newColor) | |
13545 | redInput.Text = tostring(red*255) | |
13546 | updateColor(2) | |
13547 | end | |
13548 | end | |
13549 | redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed) | |
13550 | ||
13551 | local function updateGreen(str) | |
13552 | local num = tonumber(str) | |
13553 | if num then | |
13554 | green = math.clamp(math.floor(num),0,255)/255 | |
13555 | local newColor = Color3.new(red,green,blue) | |
13556 | hue,sat,val = Color3.toHSV(newColor) | |
13557 | greenInput.Text = tostring(green*255) | |
13558 | updateColor(2) | |
13559 | end | |
13560 | end | |
13561 | greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen) | |
13562 | ||
13563 | local function updateBlue(str) | |
13564 | local num = tonumber(str) | |
13565 | if num then | |
13566 | blue = math.clamp(math.floor(num),0,255)/255 | |
13567 | local newColor = Color3.new(red,green,blue) | |
13568 | hue,sat,val = Color3.toHSV(newColor) | |
13569 | blueInput.Text = tostring(blue*255) | |
13570 | updateColor(2) | |
13571 | end | |
13572 | end | |
13573 | blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue) | |
13574 | ||
13575 | local colorChoice = Instance.new("TextButton") | |
13576 | colorChoice.Name = "Choice" | |
13577 | colorChoice.Size = UDim2.new(0,25,0,18) | |
13578 | colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255) | |
13579 | colorChoice.Text = "" | |
13580 | colorChoice.AutoButtonColor = false | |
13581 | ||
13582 | local row = 0 | |
13583 | local column = 0 | |
13584 | for i,v in pairs(basicColors) do | |
13585 | local newColor = colorChoice:Clone() | |
13586 | newColor.BackgroundColor3 = v | |
13587 | newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row) | |
13588 | ||
13589 | newColor.MouseButton1Click:Connect(function() | |
13590 | red,green,blue = v.r,v.g,v.b | |
13591 | local newColor = Color3.new(red,green,blue) | |
13592 | hue,sat,val = Color3.toHSV(newColor) | |
13593 | updateColor() | |
13594 | end) | |
13595 | ||
13596 | newColor.Parent = basicColorsFrame | |
13597 | column = column + 1 | |
13598 | if column == 6 then row = row + 1 column = 0 end | |
13599 | end | |
13600 | ||
13601 | row = 0 | |
13602 | column = 0 | |
13603 | for i = 1,12 do | |
13604 | local color = customColors[i] or Color3.new(0,0,0) | |
13605 | local newColor = colorChoice:Clone() | |
13606 | newColor.BackgroundColor3 = color | |
13607 | newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row) | |
13608 | ||
13609 | newColor.MouseButton1Click:Connect(function() | |
13610 | local curColor = customColors[i] or Color3.new(0,0,0) | |
13611 | red,green,blue = curColor.r,curColor.g,curColor.b | |
13612 | hue,sat,val = Color3.toHSV(curColor) | |
13613 | updateColor() | |
13614 | end) | |
13615 | ||
13616 | newColor.MouseButton2Click:Connect(function() | |
13617 | customColors[i] = chosenColor | |
13618 | newColor.BackgroundColor3 = chosenColor | |
13619 | end) | |
13620 | ||
13621 | newColor.Parent = customColorsFrame | |
13622 | column = column + 1 | |
13623 | if column == 6 then row = row + 1 column = 0 end | |
13624 | end | |
13625 | ||
13626 | pickerTopBar.InputBegan:Connect(function(input) | |
13627 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13628 | local releaseEvent,mouseEvent | |
13629 | local dragOffX,dragOffY = mouse.X-pickerTopBar.AbsolutePosition.X,mouse.Y-pickerTopBar.AbsolutePosition.Y | |
13630 | ||
13631 | releaseEvent = user.InputEnded:Connect(function(input) | |
13632 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13633 | releaseEvent:Disconnect() | |
13634 | mouseEvent:Disconnect() | |
13635 | end) | |
13636 | ||
13637 | mouseEvent = user.InputChanged:Connect(function(input) | |
13638 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13639 | pickerGui.Position = UDim2.new(0,mouse.X-dragOffX,0,mouse.Y-dragOffY) | |
13640 | end | |
13641 | end) | |
13642 | end | |
13643 | end) | |
13644 | ||
13645 | okButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor) end wait(0.6) pickerGui.Visible = false end) | |
13646 | okButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0.4 end end) | |
13647 | okButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0 end end) | |
13648 | ||
13649 | cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end wait(0.6) pickerGui.Visible = false end) | |
13650 | cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end) | |
13651 | cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end) | |
13652 | ||
13653 | defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end wait(0.6) pickerGui.Visible = false end) | |
13654 | defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end) | |
13655 | defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end) | |
13656 | ||
13657 | rainbowButton.MouseButton1Click:Connect(function() if newMt.Rainbow then newMt:Rainbow() end end) | |
13658 | rainbowButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then rainbowButton.BackgroundTransparency = 0.4 end end) | |
13659 | rainbowButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then rainbowButton.BackgroundTransparency = 0 end end) | |
13660 | ||
13661 | updateColor() | |
13662 | ||
13663 | newMt.SetColor = function(self,color) | |
13664 | red,green,blue = color.r,color.g,color.b | |
13665 | hue,sat,val = Color3.toHSV(color) | |
13666 | updateColor() | |
13667 | end | |
13668 | ||
13669 | return newMt | |
13670 | end | |
13671 | end | |
13672 | local rainbowCount = 50 | |
13673 | local rainbowGuiActive = false | |
13674 | local rainbowreset = true | |
13675 | ||
13676 | spawn(function() | |
13677 | local colors = { | |
13678 | BrickColor.Red(), | |
13679 | BrickColor.Yellow(), | |
13680 | BrickColor.new('Lime green'), | |
13681 | BrickColor.new('Cyan'), | |
13682 | BrickColor.new('Dark indigo') | |
13683 | } | |
13684 | while wait() do | |
13685 | for i,v in pairs(colors) do | |
13686 | for num = 1,rainbowCount do | |
13687 | if rainbowGuiActive == true then | |
13688 | local mimic = i-1 | |
13689 | if not colors[mimic] then | |
13690 | mimic = #colors | |
13691 | end | |
13692 | mimic = colors[mimic] | |
13693 | updatecolors(mimic.Color:Lerp(v.Color,num/rainbowCount)) | |
13694 | elseif rainbowreset == false then | |
13695 | updatecolors(SAVEDCOLOR) | |
13696 | rainbowreset = true | |
13697 | end | |
13698 | wait() | |
13699 | end | |
13700 | end | |
13701 | end | |
13702 | end) | |
13703 | local picker = ColorPicker.new() | |
13704 | picker.Confirm = function(self,color) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) SAVEDCOLOR = color updatecolors(color) updatefile() end | |
13705 | picker.Changed = function(self,color) updatecolors(color) end | |
13706 | picker.Rainbow = function(self) | |
13707 | if rainbowGuiActive == false then | |
13708 | rainbowGuiActive = true | |
13709 | rainbowButton.Text = 'Rainbow [Enabled]' | |
13710 | elseif rainbowGuiActive == true then | |
13711 | rainbowGuiActive = false | |
13712 | rainbowreset = false | |
13713 | rainbowButton.Text = 'Rainbow [Disabled]' | |
13714 | end end | |
13715 | picker.Cancel = function(self) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) updatecolors(SAVEDCOLOR) end | |
13716 | picker.Default = function(self) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) updatecolors(Color3.new(0.121569, 0.121569, 0.121569)) | |
13717 | colorR = 0.121569 colorG = 0.121569 colorB = 0.121569 SAVEDCOLOR = Color3.new(0.121569, 0.121569, 0.121569) updatefile() end | |
13718 | SAVEDCOLOR = Color3.new(colorR, colorG, colorB) | |
13719 | local sugg = Instance.new("ScreenGui") local suggestions = Instance.new("Frame") local Title = Instance.new("TextLabel") | |
13720 | local SUG = Instance.new("ScrollingFrame") sugg.Name = "sugg" sugg.Parent = game.CoreGui | |
13721 | suggestions.Name = "suggestions" suggestions.Parent = sugg suggestions.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13722 | suggestions.BackgroundTransparency = 0.5 suggestions.BorderColor3 = Color3.new(0, 0, 0) suggestions.BorderSizePixel = 0 | |
13723 | suggestions.ClipsDescendants = true suggestions.Position = UDim2.new(-0.000715821981, 1, 1.03197157, -200) suggestions.Size = UDim2.new(0, 300, 0, 182) | |
13724 | Title.Name = "Title" Title.Parent = suggestions Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) Title.BackgroundTransparency = 1 | |
13725 | Title.Size = UDim2.new(1, 0, 0, 30) Title.Font = Enum.Font.SourceSansBold Title.FontSize = Enum.FontSize.Size24 Title.Text = "Suggestions" | |
13726 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) SUG.Name = "SUG" SUG.Parent = suggestions | |
13727 | SUG.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BackgroundTransparency = 1 SUG.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
13728 | SUG.BorderSizePixel = 0 SUG.Position = UDim2.new(0, 7, 0, 40) SUG.Size = UDim2.new(0, 293, 0, 130) SUG.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
13729 | SUG.CanvasSize = UDim2.new(0, 0, 0, 5160) SUG.MidImage = "rbxasset://textures/blackBkg_square.png" SUG.ScrollBarThickness = 8 SUG.TopImage = "rbxasset://textures/blackBkg_square.png" | |
13730 | local CMDsV = CMDsFolder:GetChildren() for i = 1, #CMDsV do local YSize = 25 local Position = ((i * YSize) - YSize) local newcmd = Example:Clone() newcmd.Parent = SUG | |
13731 | newcmd.Visible = true newcmd.Position = UDim2.new(0,5,0, Position + 5) newcmd.Text = "" .. CMDsV[i].Value SUG.CanvasSize = UDim2.new(0,0,0, Position + 30) end | |
13732 | local CSP2 = game.CoreGui.sugg.suggestions | |
13733 | local main2 = CSP2 | |
13734 | local frame2 = CSP2:WaitForChild('SUG') | |
13735 | Match2 = function(name,str) return name:lower():find(str:lower()) and true end | |
13736 | IndexContents2 = function(str,bool) | |
13737 | if suggestionstoggle == true then | |
13738 | if string.find(str, " ") then game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) else | |
13739 | local Index,SizeY = 0,0 | |
13740 | for i,v in next, frame2:GetChildren() do | |
13741 | if bool then | |
13742 | if Match2(v.Text,str) then | |
13743 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quad",0.3,true) | |
13744 | Index = Index + 1 | |
13745 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
13746 | v.Visible = true | |
13747 | SizeY = SizeY + v.AbsoluteSize.Y | |
13748 | frame2.CanvasSize = UDim2.new(0,0,0,SizeY) else v.Visible = false end else | |
13749 | v.Visible = true | |
13750 | SizeY = SizeY + v.AbsoluteSize.Y | |
13751 | frame2.CanvasSize = UDim2.new(0,0,0,SizeY) end end end end end | |
13752 | IndexContents2('',true) | |
13753 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) | |
13754 | Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quart", 0.4, true, nil) wait(1) | |
13755 | repeat wait() until loadedintro == true | |
13756 | logof:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.1) | |
13757 | wait(0.2) | |
13758 | f:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.2) | |
13759 | wait(0.3) g:Destroy() | |
13760 | updatecolors(Color3.new(colorR, colorG, colorB)) | |
13761 | Loading:TweenPosition(UDim2.new(0.25, 0, 1.5, 0), "InOut", "Quart", 0.5, true, nil) wait(0.5) Loading.Parent:Destroy() | |
13762 | if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("Chat") and gPlayers.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and | |
13763 | gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then | |
13764 | function chatboxx() local chatbox = gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar chatbox.Changed:connect(function (property) if suggestionstoggle == true and property == "Text" then | |
13765 | if gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(1,1) == cmdprefix then IndexContents2(gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true) | |
13766 | else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) end end end) end chatboxx() | |
13767 | gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar) | |
13768 | if newbar:FindFirstChild('BoxFrame') then | |
13769 | chatboxx() end end) | |
13770 | LP.PlayerGui.Chat.Frame.ChatChannelParentFrame.Frame_MessageLogDisplay.Scroller.CanvasPosition = Vector2.new(0, 9999999999999999999999999999999999999999999, 0, 0) | |
13771 | coroutine.resume(coroutine.create(function() | |
13772 | if script.ClassName == "LocalScript" then | |
13773 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
13774 | Text = "The prefix is '" .. cmdprefix .. "'"; | |
13775 | Color = Color3.new(255,255,255); | |
13776 | Font = Enum.Font.SourceSans; | |
13777 | FontSize = Enum.FontSize.Size24; | |
13778 | }) wait(0.5) | |
13779 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
13780 | Text = "Click IY on the top left to see more options"; | |
13781 | Color = Color3.new(255,255,255); | |
13782 | Font = Enum.Font.SourceSans; | |
13783 | FontSize = Enum.FontSize.Size24; | |
13784 | }) end end)) | |
13785 | else print('Custom chat detected. Will not provide suggestions for the chat.') end | |
13786 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13787 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13788 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13789 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13790 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13791 | qopen = false quickmenu.MouseButton1Click:connect(function() | |
13792 | if qopen == false then fadelock('off') NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
13793 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13794 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13795 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13796 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) MusicPlayer:Hide() | |
13797 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13798 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = true else | |
13799 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13800 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13801 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13802 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13803 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13804 | if slock == true then fadelock("rbxassetid://1495252742") elseif isagelocked == true then fadelock("rbxassetid://1495252495") end | |
13805 | qopen = false if playerenabled == true then MusicPlayer:Show() else NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) end end end) | |
13806 | quickmenu.sheild.cmds.MouseButton1Click:connect(function() if cmdOpen == true then | |
13807 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
13808 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
13809 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
13810 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
13811 | else runwindow() end end) | |
13812 | quickmenu.sheild.settings.MouseButton1Click:connect(function() hub() end) | |
13813 | infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true | |
13814 | Updates = Instance.new("ScreenGui") | |
13815 | dragg = Instance.new("Frame") | |
13816 | local PromptDialog = Instance.new("Frame") | |
13817 | local ContainerFrame = Instance.new("Frame") | |
13818 | local LOG = Instance.new("TextLabel") | |
13819 | local PopupText3 = Instance.new("TextLabel") | |
13820 | local PopupText4 = Instance.new("TextLabel") | |
13821 | local UTDV = Instance.new("TextLabel") | |
13822 | local PopupText5 = Instance.new("TextLabel") | |
13823 | local shadow = Instance.new("Frame") | |
13824 | Exitt = Instance.new("TextButton") | |
13825 | local PopupText = Instance.new("TextLabel") | |
13826 | local vers = Instance.new("TextLabel") | |
13827 | Updates.Name = "Updates" | |
13828 | Updates.Parent = game.CoreGui | |
13829 | dragg.Name = "drag" | |
13830 | dragg.Parent = Updates | |
13831 | dragg.Active = true | |
13832 | dragg.BackgroundColor3 = Color3.new(1, 1, 1) | |
13833 | dragg.BackgroundTransparency = 1 | |
13834 | dragGUI(dragg) | |
13835 | dragg.Position = UDim2.new(0.5, -225, 0, -600) | |
13836 | dragg.Size = UDim2.new(0, 438, 0, 26) | |
13837 | PromptDialog.Name = "PromptDialog" | |
13838 | PromptDialog.Parent = dragg | |
13839 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
13840 | PromptDialog.BackgroundTransparency = 1 | |
13841 | PromptDialog.BorderSizePixel = 0 | |
13842 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
13843 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
13844 | PromptDialog.ZIndex = 5 | |
13845 | ContainerFrame.Name = "ContainerFrame" | |
13846 | ContainerFrame.Parent = PromptDialog | |
13847 | ContainerFrame.BackgroundColor3 = maincolor | |
13848 | ContainerFrame.BackgroundTransparency = 0.5 | |
13849 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
13850 | ContainerFrame.BorderSizePixel = 0 | |
13851 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
13852 | ContainerFrame.Size = UDim2.new(1, 0, 0.8, 0) -- SIZE | |
13853 | ContainerFrame.ZIndex = 5 | |
13854 | LOG.Name = "LOG" | |
13855 | LOG.Parent = ContainerFrame | |
13856 | LOG.BackgroundTransparency = 1 | |
13857 | LOG.Position = UDim2.new(0, 8, 0, 110) | |
13858 | LOG.Size = UDim2.new(1, -16, 1, 0) | |
13859 | LOG.ZIndex = 10 | |
13860 | LOG.Font = Enum.Font.SourceSansBold | |
13861 | LOG.TextSize = 20 | |
13862 | LOG.Text = "+ Added os [plr]\n+ Added whiteify/blackify [plr]\n+ Added addban [full username]\n+ Added a rainbow mode to the UI (inside color picker)\n\n* Fixed a bug in kidnap" | |
13863 | LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13864 | LOG.TextStrokeTransparency = 0 | |
13865 | LOG.TextWrapped = true | |
13866 | LOG.TextYAlignment = Enum.TextYAlignment.Top | |
13867 | LOG.TextXAlignment = "Left" | |
13868 | PopupText3.Name = "PopupText3" | |
13869 | PopupText3.Parent = ContainerFrame | |
13870 | PopupText3.BackgroundTransparency = 1 | |
13871 | PopupText3.Position = UDim2.new(0, 8, 0, 35) | |
13872 | PopupText3.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13873 | PopupText3.ZIndex = 10 | |
13874 | PopupText3.Font = Enum.Font.SourceSansBold | |
13875 | PopupText3.TextSize = 20 | |
13876 | PopupText3.Text = "Edge - Moon" | |
13877 | PopupText3.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13878 | PopupText3.TextStrokeTransparency = 0 | |
13879 | PopupText3.TextWrapped = true | |
13880 | PopupText3.TextYAlignment = Enum.TextYAlignment.Top | |
13881 | PopupText4.Name = "PopupText4" | |
13882 | PopupText4.Parent = ContainerFrame | |
13883 | PopupText4.BackgroundTransparency = 1 | |
13884 | PopupText4.Position = UDim2.new(0, 8, 0, 50) | |
13885 | PopupText4.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13886 | PopupText4.ZIndex = 10 | |
13887 | PopupText4.Font = Enum.Font.SourceSansBold | |
13888 | PopupText4.FontSize = Enum.FontSize.Size18 | |
13889 | PopupText4.Text = "infyield.weebly.com - discord.me/infiniteyield" | |
13890 | PopupText4.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13891 | PopupText4.TextStrokeTransparency = 0 | |
13892 | PopupText4.TextWrapped = true | |
13893 | PopupText4.TextYAlignment = Enum.TextYAlignment.Top | |
13894 | UTDV.Name = "UTDV" | |
13895 | UTDV.Parent = ContainerFrame | |
13896 | UTDV.BackgroundTransparency = 1 | |
13897 | UTDV.Position = UDim2.new(0, 8, 0, 5) | |
13898 | UTDV.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13899 | UTDV.ZIndex = 10 | |
13900 | UTDV.Font = Enum.Font.SourceSansBold | |
13901 | UTDV.FontSize = Enum.FontSize.Size28 | |
13902 | UTDV.Text = "Up to date version: N/A" | |
13903 | UTDV.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13904 | UTDV.TextStrokeTransparency = 0 | |
13905 | UTDV.TextWrapped = true | |
13906 | UTDV.TextYAlignment = Enum.TextYAlignment.Top | |
13907 | PopupText5.Name = "PopupText5" | |
13908 | PopupText5.Parent = ContainerFrame | |
13909 | PopupText5.BackgroundTransparency = 1 | |
13910 | PopupText5.Position = UDim2.new(0, 8, 0, 75) | |
13911 | PopupText5.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13912 | PopupText5.ZIndex = 10 | |
13913 | PopupText5.Font = Enum.Font.SourceSansBold | |
13914 | PopupText5.FontSize = Enum.FontSize.Size28 | |
13915 | PopupText5.Text = "Update Log:" | |
13916 | PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13917 | PopupText5.TextStrokeTransparency = 0 | |
13918 | PopupText5.TextWrapped = true | |
13919 | PopupText5.TextYAlignment = Enum.TextYAlignment.Top | |
13920 | shadow.Name = "shadow" | |
13921 | shadow.Parent = PromptDialog | |
13922 | shadow.BackgroundColor3 = maincolor | |
13923 | shadow.BackgroundTransparency = 0.30000001192093 | |
13924 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
13925 | shadow.BorderSizePixel = 0 | |
13926 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
13927 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
13928 | Exitt.Name = "Exit" | |
13929 | Exitt.Parent = shadow | |
13930 | Exitt.BackgroundColor3 = Color3.new(1, 0, 0) | |
13931 | Exitt.BackgroundTransparency = 0.30000001192093 | |
13932 | Exitt.BorderColor3 = Color3.new(1, 0, 0) | |
13933 | Exitt.BorderSizePixel = 0 | |
13934 | Exitt.Position = UDim2.new(0, 415, 0, 3) | |
13935 | Exitt.Size = UDim2.new(0, 20, 0, 20) | |
13936 | Exitt.FontSize = Enum.FontSize.Size14 | |
13937 | Exitt.Text = "" | |
13938 | PopupText.Name = "PopupText" | |
13939 | PopupText.Parent = shadow | |
13940 | PopupText.BackgroundTransparency = 1 | |
13941 | PopupText.Position = UDim2.new(0, 61, 0, -2) | |
13942 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
13943 | PopupText.ZIndex = 110 | |
13944 | PopupText.Font = Enum.Font.SourceSansBold | |
13945 | PopupText.TextSize = 30 | |
13946 | PopupText.Text = "Information" | |
13947 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13948 | PopupText.TextStrokeTransparency = 0 | |
13949 | PopupText.TextWrapped = true | |
13950 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
13951 | vers.Name = "vers" | |
13952 | vers.Parent = shadow | |
13953 | vers.BackgroundTransparency = 1 | |
13954 | vers.Position = UDim2.new(0, 8, 0, 2) | |
13955 | vers.Size = UDim2.new(0.200913236, -16, 1.11538458, 0) | |
13956 | vers.ZIndex = 110 | |
13957 | vers.Font = Enum.Font.SourceSansBold | |
13958 | vers.TextSize = 20 | |
13959 | vers.Text = "v" .. Version | |
13960 | vers.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13961 | vers.TextStrokeTransparency = 0 | |
13962 | vers.TextWrapped = true | |
13963 | vers.TextXAlignment = Enum.TextXAlignment.Left | |
13964 | vers.TextYAlignment = Enum.TextYAlignment.Top | |
13965 | if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end | |
13966 | dragg:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) Exitt.MouseButton1Click:connect(function() | |
13967 | dragg:TweenPosition(UDim2.new(0.5, -225, 0, -600), "InOut", "Quart", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end) | |
13968 | quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end) end | |
13969 | ||
13970 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(01203480675) wait(0.3) | |
13971 | if not game.CoreGui:FindFirstChild('IYrun') then | |
13972 | running = Instance.new("BoolValue") running.Parent = game.CoreGui running.Name = 'IYrun' | |
13973 | if Asset.Name == "Infinite Yield " .. Version then UTD = true wait(0.5) run() else | |
13974 | UTD = false local Updates = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame") local shadow = Instance.new("Frame") local Exit = Instance.new("TextButton") | |
13975 | local title = Instance.new("TextLabel") local ContainerFrame = Instance.new("Frame") local a = Instance.new("TextLabel") local a2 = Instance.new("TextLabel") | |
13976 | local a3 = Instance.new("TextLabel") local a2_2 = Instance.new("TextLabel") local UPDATE = Instance.new("TextButton") local Line = Instance.new("Frame") | |
13977 | Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Updates PromptDialog.Active = true | |
13978 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0 | |
13979 | PromptDialog.Position = UDim2.new(0.5, -219, 0, 100) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8 shadow.Name = "shadow" | |
13980 | shadow.Parent = PromptDialog shadow.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) shadow.Size = UDim2.new(1, 0, 0.129999995, 0) shadow.ZIndex = 100 | |
13981 | shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093 | |
13982 | Exit.BorderColor3 = Color3.new(1, 0, 0) Exit.Position = UDim2.new(0, 401, 0, 1) Exit.Size = UDim2.new(0, 20, 0, 20) Exit.ZIndex = 110 Exit.FontSize = Enum.FontSize.Size14 | |
13983 | Exit.Text = "" title.Name = "title" title.Parent = shadow title.BackgroundTransparency = 1 title.Position = UDim2.new(0, 8, 0, -4) | |
13984 | title.Size = UDim2.new(1, -16, 0.800000012, 0) title.ZIndex = 110 title.Font = Enum.Font.SourceSansBold title.TextSize = 30 | |
13985 | title.Text = Asset.Name .. " is available" title.TextColor3 = Color3.new(0.97, 0.97, 0.97) title.TextStrokeTransparency = 0 title.TextWrapped = true title.TextYAlignment = Enum.TextYAlignment.Top | |
13986 | ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 31) | |
13987 | ContainerFrame.Size = UDim2.new(1, 0, 0.75, 0) ContainerFrame.ZIndex = 8 ContainerFrame.Style = Enum.FrameStyle.DropShadow a.Name = "a" a.Parent = ContainerFrame | |
13988 | a.BackgroundTransparency = 1 a.Position = UDim2.new(0, 8, 0, 50) a.Size = UDim2.new(1, -16, 0.100000001, 0) a.ZIndex = 10 a.Font = Enum.Font.SourceSansBold | |
13989 | a.FontSize = Enum.FontSize.Size18 a.Text = "infyield.weebly.com - discord.me/infiniteyield" a.TextColor3 = Color3.new(0.97, 0.97, 0.97) a.TextStrokeTransparency = 0 | |
13990 | a.TextWrapped = true a.TextYAlignment = Enum.TextYAlignment.Top a2.Name = "a2" a2.Parent = ContainerFrame a2.BackgroundTransparency = 1 a2.Position = UDim2.new(0, 8, 0, 5) | |
13991 | a2.Size = UDim2.new(1, -16, 0.300000012, 0) a2.ZIndex = 10 a2.Font = Enum.Font.SourceSansBold a2.TextSize = 20 a2.Text = "The version of Infinite Yield you are using is outdated." | |
13992 | a2.TextColor3 = Color3.new(0.97, 0.97, 0.97) a2.TextStrokeTransparency = 0 a2.TextWrapped = true a2.TextYAlignment = Enum.TextYAlignment.Top a3.Name = "a3" a3.Parent = ContainerFrame | |
13993 | a3.BackgroundTransparency = 1 a3.Position = UDim2.new(0, 8, 0, 25) a3.Size = UDim2.new(1, -16, 0.300000012, 0) a3.ZIndex = 10 a3.Font = Enum.Font.SourceSansBold | |
13994 | a3.TextSize = 20 a3.Text = "You can get a new version at one of these 2 sources." a3.TextColor3 = Color3.new(0.97, 0.97, 0.97) a3.TextStrokeTransparency = 0 | |
13995 | a3.TextWrapped = true a3.TextYAlignment = Enum.TextYAlignment.Top a2_2.Name = "a2" a2_2.Parent = ContainerFrame a2_2.BackgroundTransparency = 1 a2_2.Position = UDim2.new(0, 8, 0, 92) | |
13996 | a2_2.Size = UDim2.new(1, -16, 0.300000012, 0) a2_2.ZIndex = 10 a2_2.Font = Enum.Font.SourceSansBold a2_2.FontSize = Enum.FontSize.Size24 a2_2.Text = "If your exploit supports httpget, you can update now by clicking 'Update'" | |
13997 | a2_2.TextColor3 = Color3.new(0.97, 0.97, 0.97) a2_2.TextStrokeTransparency = 0 a2_2.TextWrapped = true a2_2.TextYAlignment = Enum.TextYAlignment.Top UPDATE.Name = "UPDATE" | |
13998 | UPDATE.Parent = ContainerFrame UPDATE.BackgroundColor3 = Color3.new(0, 0, 0) UPDATE.BackgroundTransparency = 0.80000001192093 UPDATE.BorderColor3 = Color3.new(1, 1, 1) | |
13999 | UPDATE.Position = UDim2.new(0, 148, 0, 153) UPDATE.Size = UDim2.new(0, 126, 0, 40) UPDATE.ZIndex = 9 UPDATE.Font = Enum.Font.SourceSans | |
14000 | UPDATE.FontSize = Enum.FontSize.Size18 UPDATE.Text = "Update" UPDATE.TextColor3 = Color3.new(1, 1, 1) Line.Name = "Line" Line.Parent = PromptDialog | |
14001 | Line.BackgroundColor3 = Color3.new(0, 0, 0) Line.BackgroundTransparency = 0.5 Line.BorderColor3 = Color3.new(0, 0, 0) Line.Position = UDim2.new(0, 16, 0, 121) | |
14002 | Line.Size = UDim2.new(0.926999986, 0, 0, 1) Line.ZIndex = 8 function Click(mouse) | |
14003 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4) | |
14004 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5) | |
14005 | Updates:Destroy() run() end Exit.MouseButton1Down:connect(Click) function Click(mouse) | |
14006 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4) | |
14007 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
14008 | for _, child in pairs(game.CoreGui:GetChildren()) do | |
14009 | if child.Name == "IYrun" then child:Destroy() end end wait(0.5) | |
14010 | Updates:Destroy() loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))() end UPDATE.MouseButton1Down:connect(Click) end | |
14011 | else print('Infinite Yield is already running.') end |