SHOW:
|
|
- or go back to the newest paste.
1 | - | --THIS SCRIPT HAS BEEN DISCONTINUED |
1 | + | |
2 | - | --Please use Infinite Yield FE |
2 | + | |
3 | - | --infyield.yolasite.com |
3 | + | |
4 | - | --discord.io/infiniteyield |
4 | + | |
5 | -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | -- | |
6 | - | local GUI = Instance.new("ScreenGui") |
6 | + | |
7 | - | local AnnGUI = Instance.new("Frame") |
7 | + | |
8 | - | local background = Instance.new("Frame") |
8 | + | |
9 | - | local TextBox = Instance.new("TextLabel") |
9 | + | |
10 | --------------------------------------------------------------- | |
11 | ---------------------------Edge-Moon--------------------------- | |
12 | --------------------------------------------------------------- | |
13 | - | local ExitImage = Instance.new("ImageLabel") |
13 | + | if game:GetService("RunService"):IsClient() then error("hmmm your using this on void sb huh use h/") end |
14 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
15 | - | GUI.Parent = game:GetService("CoreGui") |
15 | + | local RealPlayer = Player |
16 | do warn("hot sauce hax")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end | |
17 | - | AnnGUI.Name = "AnnGUI" |
17 | + | |
18 | - | AnnGUI.Parent = GUI |
18 | + | |
19 | - | AnnGUI.Active = true |
19 | + | |
20 | - | AnnGUI.BackgroundTransparency = 1 |
20 | + | |
21 | - | AnnGUI.Position = UDim2.new(0.5, -180, 0, -500) |
21 | + | |
22 | - | AnnGUI.Size = UDim2.new(0, 360, 0, 20) |
22 | + | |
23 | - | AnnGUI.ZIndex = 10 |
23 | + | |
24 | cmdprefix = ';'; | |
25 | - | background.Name = "background" |
25 | + | |
26 | - | background.Parent = AnnGUI |
26 | + | |
27 | - | background.Active = true |
27 | + | |
28 | - | background.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
28 | + | |
29 | - | background.BorderSizePixel = 0 |
29 | + | |
30 | - | background.Position = UDim2.new(0, 0, 0, 20) |
30 | + | |
31 | - | background.Size = UDim2.new(0, 360, 0, 150) |
31 | + | |
32 | - | background.ZIndex = 10 |
32 | + | |
33 | commandsV = false; | |
34 | - | TextBox.Parent = background |
34 | + | |
35 | - | TextBox.BackgroundTransparency = 1 |
35 | + | |
36 | - | TextBox.Position = UDim2.new(0, 5, 0, 5) |
36 | + | |
37 | - | TextBox.Size = UDim2.new(0, 350, 0, 140) |
37 | + | |
38 | - | TextBox.Font = Enum.Font.SourceSans |
38 | + | |
39 | - | TextBox.TextSize = 18 |
39 | + | |
40 | - | TextBox.TextWrapped = true |
40 | + | |
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 | + | |
42 | - | TextBox.TextColor3 = Color3.new(1, 1, 1) |
42 | + | |
43 | - | TextBox.TextXAlignment = Enum.TextXAlignment.Left |
43 | + | |
44 | - | TextBox.TextYAlignment = Enum.TextYAlignment.Top |
44 | + | |
45 | - | TextBox.ZIndex = 10 |
45 | + | |
46 | local CREATEFILE = HttpService:JSONDecode(newjson) | |
47 | colorR = CREATEFILE.colorR | |
48 | - | shadow.Parent = AnnGUI |
48 | + | |
49 | - | shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
49 | + | |
50 | cmdprefix = CREATEFILE.cmdprefix | |
51 | - | shadow.Size = UDim2.new(0, 360, 0, 20) |
51 | + | |
52 | - | shadow.ZIndex = 10 |
52 | + | |
53 | JLnotify = CREATEFILE.JLnotify | |
54 | Mseconds = CREATEFILE.Mseconds | |
55 | Nfriends = CREATEFILE.Nfriends | |
56 | cmdbarbind = CREATEFILE.cmdbarbind | |
57 | - | PopupText.Size = UDim2.new(1, 0, 0.95, 0) |
57 | + | |
58 | - | PopupText.ZIndex = 10 |
58 | + | |
59 | - | PopupText.Font = Enum.Font.SourceSans |
59 | + | |
60 | - | PopupText.TextSize = 14 |
60 | + | |
61 | - | PopupText.Text = "Server Announcement" |
61 | + | |
62 | - | PopupText.TextColor3 = Color3.new(1, 1, 1) |
62 | + | |
63 | local file, err = pcall(writeF) | |
64 | if not file then | |
65 | warn("READ/WRITE ERROR: "..err) | |
66 | R_W = game:GetObjects("rbxassetid://01587976911")[1] R_W.Parent = game.CoreGui | |
67 | - | Exit.BackgroundTransparency = 1 |
67 | + | |
68 | - | Exit.Position = UDim2.new(1, -20, 0, 0) |
68 | + | |
69 | if child.Name == "IYrun" then | |
70 | child:Destroy() end end end | |
71 | - | Exit.ZIndex = 10 |
71 | + | |
72 | if writefileExploit() then | |
73 | - | ExitImage.Parent = Exit |
73 | + | |
74 | - | ExitImage.BackgroundColor3 = Color3.new(1, 1, 1) |
74 | + | |
75 | - | ExitImage.BackgroundTransparency = 1 |
75 | + | |
76 | - | ExitImage.Position = UDim2.new(0, 5, 0, 5) |
76 | + | |
77 | - | ExitImage.Size = UDim2.new(0, 10, 0, 10) |
77 | + | |
78 | - | ExitImage.Image = "rbxassetid://5054663650" |
78 | + | |
79 | - | ExitImage.ZIndex = 10 |
79 | + | |
80 | local LOADFILE = HttpService:JSONDecode(json) | |
81 | colorR = LOADFILE.colorR | |
82 | - | AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil) |
82 | + | |
83 | colorB = LOADFILE.colorB | |
84 | cmdprefix = LOADFILE.cmdprefix | |
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 | Nfriends = LOADFILE.Nfriends | |
90 | cmdbarbind = LOADFILE.cmdbarbind | |
91 | chatsV = LOADFILE.chatsV | |
92 | - | --script start |
92 | + | |
93 | commandsV = LOADFILE.commandsV | |
94 | aliasSave = LOADFILE.aliasSave | |
95 | loaded = true else | |
96 | pcWRITE() writeF() end | |
97 | else | |
98 | colorR = 0.121569 | |
99 | colorG = 0.121569 | |
100 | colorB = 0.121569 | |
101 | cmdprefix = ';' | |
102 | suggestionstoggle = true | |
103 | allowfriends = true | |
104 | JLnotify = true | |
105 | Mseconds = '7' | |
106 | Nfriends = true | |
107 | cmdbarbind = ';' | |
108 | chatsV = false | |
109 | whispersV = false | |
110 | commandsV = false | |
111 | aliasSave = {} | |
112 | loaded = true | |
113 | end | |
114 | repeat wait() until loaded == true | |
115 | local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local Player = gPlayers.LocalPlayer | |
116 | 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={} | |
117 | 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 | |
118 | services.events = {} local user = gPlayers.LocalPlayer local bringT = {} agelock = nil isagelocked = false local scriptprefix='\\' | |
119 | local split=" " slock = false | |
120 | function updatefile() | |
121 | if writefileExploit() then | |
122 | local update = { | |
123 | colorR = colorR; | |
124 | colorG = colorG; | |
125 | colorB = colorB; | |
126 | cmdprefix = cmdprefix; | |
127 | suggestionstoggle = suggestionstoggle; | |
128 | allowfriends = allowfriends; | |
129 | JLnotify = JLnotify; | |
130 | Mseconds = Mseconds; | |
131 | Nfriends = Nfriends; | |
132 | cmdbarbind = cmdbarbind; | |
133 | chatsV = chatsV; | |
134 | whispersV = whispersV; | |
135 | commandsV = commandsV; | |
136 | aliasSave = aliasSave | |
137 | } | |
138 | local updated = HttpService:JSONEncode(update) | |
139 | wait(0.1) | |
140 | writefile("IY.txt", updated) end end | |
141 | function isNumber(str) | |
142 | return tonumber(str) ~= nil end | |
143 | function msghook() | |
144 | for _, child in pairs( workspace:GetChildren()) do | |
145 | if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then | |
146 | child.Name = "IYmessage" child.Text = '' MSGhook = true end end | |
147 | if workspace:FindFirstChild("IYmessage") then MSGhook = true | |
148 | else MSGhook = false end end | |
149 | game:GetService("RunService").RenderStepped:Connect(function() | |
150 | game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0) | |
151 | if r15noclip then | |
152 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end end | |
153 | if LP.Character and LP.Character:FindFirstChild('Humanoid') then | |
154 | LP.Character.Humanoid.Died:connect(function() FLYING = false end) | |
155 | if MSGhook == true and workspace:FindFirstChild("IYmessage") then | |
156 | if workspace.IYmessage.Text == '' then | |
157 | for _, child in pairs( LightingService:GetChildren()) do | |
158 | if child.Name == "IYmblur" then | |
159 | child:Destroy() end end end | |
160 | else MSGhook = false end | |
161 | for i,v in pairs(_players:GetPlayers()) do | |
162 | if FindTable(loopkillT, v.Name) then | |
163 | v.Character:BreakJoints() end | |
164 | if FindTable(disabletoolsT, v.Name) and v:FindFirstChild('Backpack') then | |
165 | v.Backpack:Destroy() | |
166 | for i,n in pairs(v.Character:GetChildren()) do | |
167 | if n:IsA('Tool') or n:IsA('HopperBin') then | |
168 | n:destroy() end end end | |
169 | if FindTable(rainbowT, v.Name) then | |
170 | v.Neutral = false | |
171 | v.TeamColor = BrickColor.random() | |
172 | end end end end) | |
173 | LightingService = game:GetService("Lighting") | |
174 | origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time = | |
175 | LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart} | |
176 | function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end | |
177 | function FindTable(Table, Name) | |
178 | for i,v in pairs(Table) do | |
179 | if v == Name then | |
180 | return true | |
181 | end end | |
182 | return false | |
183 | end | |
184 | function GetInTable(Table, Name) | |
185 | for i = 1, #Table do | |
186 | if Table[i] == Name then | |
187 | return i | |
188 | end end | |
189 | return false end | |
190 | _players.PlayerRemoving:connect(function(player) | |
191 | for a,b in pairs(injail) do if b == player.Name then table.remove(injail, a) workspace["JAIL_" .. player.Name]:Destroy() end end | |
192 | for a,b in pairs(hastab) do if b == player.Name then table.remove(hastab, a) workspace[player.Name .. "TAB"]:Destroy() end end | |
193 | if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then | |
194 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
195 | Title = player.Name, | |
196 | Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']', | |
197 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
198 | Duration = 5, | |
199 | }) | |
200 | elseif JLnotify == true and Nfriends == false then | |
201 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
202 | Title = player.Name, | |
203 | Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']', | |
204 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
205 | Duration = 5, | |
206 | }) | |
207 | end | |
208 | end) | |
209 | FLYING = false | |
210 | iyflyspeed = 1 | |
211 | function sFLY() -- from rocky2u cmdscript | |
212 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid') | |
213 | repeat wait() until Mouse | |
214 | ||
215 | local T = LP.Character.HumanoidRootPart | |
216 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
217 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
218 | local SPEED = 0 | |
219 | ||
220 | local function FLY() | |
221 | FLYING = true | |
222 | local BG = Instance.new('BodyGyro', T) | |
223 | local BV = Instance.new('BodyVelocity', T) | |
224 | BG.P = 9e4 | |
225 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
226 | BG.cframe = T.CFrame | |
227 | BV.velocity = Vector3.new(0, 0.1, 0) | |
228 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
229 | spawn(function() | |
230 | repeat wait() | |
231 | LP.Character.Humanoid.PlatformStand = true | |
232 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
233 | SPEED = 50 | |
234 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
235 | SPEED = 0 | |
236 | end | |
237 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
238 | 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 | |
239 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
240 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
241 | 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 | |
242 | else | |
243 | BV.velocity = Vector3.new(0, 0.1, 0) | |
244 | end | |
245 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
246 | until not FLYING | |
247 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
248 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
249 | SPEED = 0 | |
250 | BG:destroy() | |
251 | BV:destroy() | |
252 | LP.Character.Humanoid.PlatformStand = false | |
253 | end) | |
254 | end | |
255 | Mouse.KeyDown:connect(function(KEY) | |
256 | if KEY:lower() == 'w' then | |
257 | CONTROL.F = iyflyspeed | |
258 | elseif KEY:lower() == 's' then | |
259 | CONTROL.B = -iyflyspeed | |
260 | elseif KEY:lower() == 'a' then | |
261 | CONTROL.L = -iyflyspeed | |
262 | elseif KEY:lower() == 'd' then | |
263 | CONTROL.R = iyflyspeed | |
264 | end | |
265 | end) | |
266 | Mouse.KeyUp:connect(function(KEY) | |
267 | if KEY:lower() == 'w' then | |
268 | CONTROL.F = 0 | |
269 | elseif KEY:lower() == 's' then | |
270 | CONTROL.B = 0 | |
271 | elseif KEY:lower() == 'a' then | |
272 | CONTROL.L = 0 | |
273 | elseif KEY:lower() == 'd' then | |
274 | CONTROL.R = 0 | |
275 | end | |
276 | end) | |
277 | FLY() | |
278 | end | |
279 | function NOFLY() | |
280 | FLYING = false | |
281 | LP.Character.Humanoid.PlatformStand = false | |
282 | end | |
283 | HK = { | |
284 | '-HOTKEYS-', | |
285 | 'HOLD F2 - Click TP', | |
286 | 'F4 - Toggle Fly', | |
287 | 'F5 - Toggle Noclip', | |
288 | '-COMMANDS-' | |
289 | } | |
290 | CMDs = { | |
291 | 'addalias [cmd] [alias]', | |
292 | 'addstat [plr] [text]', | |
293 | 'admins', | |
294 | 'admin [plr]', | |
295 | 'agelock [age num]', | |
296 | 'addban [full username]', | |
297 | 'age [plr]', | |
298 | 'aliases', | |
299 | 'alien / ayylmao [plr]', | |
300 | 'ambient [R G B]', | |
301 | 'anchor', | |
302 | 'animation [plr] [anim]', | |
303 | 'arrest [plr]', | |
304 | 'bait', | |
305 | 'ball [plr]', | |
306 | 'bang [plr] [plr] / bang [plr]', | |
307 | 'bans', | |
308 | 'ban [plr]', | |
309 | 'base', | |
310 | 'begone / thot [plr]', | |
311 | 'bgui [plr] [text]', | |
312 | 'blackandwhite', | |
313 | 'bleach [plr]', | |
314 | 'blackify [plr]', | |
315 | 'blind [plr]', | |
316 | 'blur [num]', | |
317 | 'bomb [plr]', | |
318 | 'box [plr]', | |
319 | 'breakloops/break (cmd loops)', | |
320 | 'brightness [num]', | |
321 | 'bring [plr]', | |
322 | 'btools [plr]', | |
323 | 'burn [plr]', | |
324 | 'cape [plr] [R G B]', | |
325 | 'car [plr]', | |
326 | 'change [plr] [stat] [num]', | |
327 | 'charplr / cp [plr] [plr]', | |
328 | 'char [plr] [ID]', | |
329 | 'chat [plr] [msg]', | |
330 | 'chickenarms / chicken [plr]', | |
331 | 'clear', | |
332 | 'clip', | |
333 | 'clone [plr]', | |
334 | 'clraliases', | |
335 | 'clrbans', | |
336 | 'clrterrain', | |
337 | 'cmds', | |
338 | 'confuse [plr]', | |
339 | 'control [plr]', | |
340 | 'copytools / ctools [plr]', | |
341 | 'countdown [num]', | |
342 | 'crash [plr]', | |
343 | 'creeper [plr]', | |
344 | 'cripple [plr]', | |
345 | 'crucify [plr]', | |
346 | 'damage [plr]', | |
347 | 'dance [plr]', | |
348 | 'day', | |
349 | 'decalspam [ID]', | |
350 | 'deleteclass / dc [class name]', | |
351 | 'deletepos / dpos [name]', | |
352 | 'delete [part name]', | |
353 | 'devuzi', | |
354 | 'disablereset [plr]', | |
355 | 'disabletools [plr]', | |
356 | 'disable [plr]', | |
357 | 'disco', | |
358 | 'discomesh [plr]', | |
359 | 'distortsound / distort [num]', | |
360 | 'dog [plr]', | |
361 | 'dong [plr]', | |
362 | 'draw', | |
363 | 'duck [plr]', | |
364 | 'dummy [name]', | |
365 | 'earthquake [power] [intensity]', | |
366 | 'enablereset [plr]', | |
367 | 'enabletools [plr]', | |
368 | 'enable [plr]', | |
369 | 'esp [plr]', | |
370 | 'exit', | |
371 | 'explode [plr]', | |
372 | 'explorer / dex', | |
373 | 'f3x', | |
374 | 'face [plr] [ID]', | |
375 | 'fart [plr]', | |
376 | 'fat [plr]', | |
377 | 'fegod', | |
378 | 'feinvisible / feinvis', | |
379 | 'fekill [plr] (need a tool)', | |
380 | 'ff [plr]', | |
381 | 'filtering', | |
382 | 'fire [plr] [R G B]', | |
383 | 'firstp [plr]', | |
384 | 'fix', | |
385 | 'fixcam', | |
386 | 'fixlighting / fixl', | |
387 | 'flashlight [plr]', | |
388 | 'fling [plr]', | |
389 | 'float [plr]', | |
390 | 'flood', | |
391 | 'fly', | |
392 | 'flyspeed [num]', | |
393 | 'fogcolor [R G B]', | |
394 | 'fogend [num]', | |
395 | 'freecam / fc', | |
396 | 'freecamspeed / fcspeed [num]', | |
397 | 'freeze / fr [plr]', | |
398 | 'ghost [plr]', | |
399 | 'glass [plr]', | |
400 | 'globalshadows / gshadows', | |
401 | 'glowstick [plr] [R G B]', | |
402 | 'god [plr]', | |
403 | 'goto [plr]', | |
404 | 'gravity [num]', | |
405 | 'hang [plr]', | |
406 | 'hatsize [plr] [num]', | |
407 | 'hat [plr] [ID]', | |
408 | 'headshake [plr]', | |
409 | 'headsize [plr] [num]', | |
410 | 'heal [plr]', | |
411 | 'hidename [plr]', | |
412 | 'hideplaylist / hideplayer', | |
413 | 'hipheight / hheight [plr] [num]', | |
414 | 'hub', | |
415 | 'infect [plr]', | |
416 | 'insert [ID/name]', | |
417 | 'invert', | |
418 | 'invisible / invis [plr]', | |
419 | 'invisibleff / invisff [plr]', | |
420 | 'iyspam', | |
421 | 'jail [plr]', | |
422 | 'jumppower / jpower [plr] [num]', | |
423 | 'jump [plr]', | |
424 | 'keeptools / ktools [plr]', | |
425 | 'keybind [key] [cmd]', | |
426 | 'kick [plr]', | |
427 | 'kidnap [plr]', | |
428 | 'kill [plr]', | |
429 | 'knife', | |
430 | 'knuckles [plr]', | |
431 | 'light [plr] [R G B]', | |
432 | 'loadm', | |
433 | 'loadmap [ID]', | |
434 | 'loadpos / lpos [plr] [name]', | |
435 | 'lockws', | |
436 | 'lock [plr]', | |
437 | 'logs', | |
438 | 'longneck [plr]', | |
439 | 'loopbring [plr]', | |
440 | 'loopheal [plr]', | |
441 | 'loopjump / ljump [plr]', | |
442 | 'loopkill [plr]', | |
443 | 'loopname / lname [plr]', | |
444 | 'loopoof', | |
445 | 'loopsit / lsit [plr]', | |
446 | 'mage', | |
447 | 'maxhealth [plr] [num]', | |
448 | 'maxzoom [plr] [num]', | |
449 | 'mesh [plr] [mesh] [texture]', | |
450 | 'message / m [msg]', | |
451 | 'meteor/asteroid [plr]', | |
452 | 'naked [plr]', | |
453 | 'name [plr]', | |
454 | 'neon [plr]', | |
455 | 'nextsong', | |
456 | 'night', | |
457 | 'nil [plr]', | |
458 | 'noarms [plr]', | |
459 | 'nobox [plr]', | |
460 | 'noclip', | |
461 | 'noclones [plr]', | |
462 | 'nodong [plr]', | |
463 | 'nodummies', | |
464 | 'noesp [plr]', | |
465 | 'noglobalshadows / nogshadows', | |
466 | 'nokeeptools / noktools [plr]', | |
467 | 'nolimbs [plr]', | |
468 | 'nooutlines', | |
469 | 'noparticles [plr]', | |
470 | 'noplrsound [plr]', | |
471 | 'norain', | |
472 | 'notools [plr]', | |
473 | 'nuke [plr]', | |
474 | 'os [plr]', | |
475 | 'offset [plr] [coordinate]', | |
476 | 'outlines', | |
477 | 'paper [plr]', | |
478 | 'partdisco', | |
479 | 'particles [plr] [ID]', | |
480 | 'pipetp [plr] [plr]', | |
481 | 'pitch [num]', | |
482 | 'playhash / hash [hash]', | |
483 | 'playlist / player [ID],[ID]...', | |
484 | 'plrsound [plr] [ID]', | |
485 | 'positions / pos', | |
486 | 'prefix [string]', | |
487 | 'prevsong', | |
488 | 'punish [plr]', | |
489 | 'rainbowname [plr]', | |
490 | 'rainbow [plr]', | |
491 | 'rain [mesh] [texture]', | |
492 | 'refresh / re [plr]', | |
493 | 'rejoin', | |
494 | 'remotespy', | |
495 | 'removealias [alias]', | |
496 | 'removebait / nobait', | |
497 | 'rgui', | |
498 | 'removehats / rhats [plr]', | |
499 | 'removespawns', | |
500 | 'respawn [plr]', | |
501 | 'restoremap / rmap', | |
502 | 'rocket [plr]', | |
503 | 'savelighting / slighting', | |
504 | 'savemap / smap', | |
505 | 'savepos / spos [name]', | |
506 | 'script [script]', | |
507 | 'seagull / gull [plr]', | |
508 | 'seizure [plr]', | |
509 | 'serverinfo / info', | |
510 | 'serverlock / slock', | |
511 | 'servermessage / sm [msg]', | |
512 | 'sethealth [plr] [num]', | |
513 | 'setsong [num]', | |
514 | 'settings', | |
515 | 'sgod [plr]', | |
516 | 'shiny [plr]', | |
517 | 'shrek [plr]', | |
518 | 'shutdown', | |
519 | 'sit [plr]', | |
520 | 'size [plr] [num]', | |
521 | 'skydive [plr]', | |
522 | 'skygif [ID],[ID]... [interval]', | |
523 | 'sky [ID]', | |
524 | 'smite [plr]', | |
525 | 'smoke [plr]', | |
526 | 'sound / music [ID/name]', | |
527 | 'sparkles / sp [plr] [R G B]', | |
528 | 'spasm [plr]', | |
529 | 'spawnpoint [plr]', | |
530 | 'spectate / view [plr]', | |
531 | 'speed / ws [plr] [num]', | |
532 | 'sphere [plr]', | |
533 | 'spin [plr]', | |
534 | 'spookyify', | |
535 | 'starman [plr]', | |
536 | 'strength [plr]', | |
537 | 'strobe', | |
538 | 'stun [plr]', | |
539 | 'sun [intense] [spread]', | |
540 | 'sword [plr]', | |
541 | 'tablet', | |
542 | 'team [plr] [team]', | |
543 | 'terrain', | |
544 | 'thaw / unfr [plr]', | |
545 | 'thirdp [plr]', | |
546 | 'time [num]', | |
547 | 'tools [plr]', | |
548 | 'torso [plr]', | |
549 | 'tppos [plr] [coordinate]', | |
550 | 'tp [plr] [plr]', | |
551 | 'trail [plr] [R G B]', | |
552 | 'trip [plr]', | |
553 | 'unadmin [plr]', | |
554 | 'unagelock', | |
555 | 'unanchor', | |
556 | 'unball [plr]', | |
557 | 'unban [plr]', | |
558 | 'unbgui [plr]', | |
559 | 'unblind [plr]', | |
560 | 'unblur', | |
561 | 'uncape [plr]', | |
562 | 'uncar [plr]', | |
563 | 'unchar [plr]', | |
564 | 'unconfuse [plr]', | |
565 | 'uncreeper [plr]', | |
566 | 'uncripple [plr]', | |
567 | 'undecalspam', | |
568 | 'undisco', | |
569 | 'undog [plr]', | |
570 | 'unduck [plr]', | |
571 | 'unff [plr]', | |
572 | 'unfire [plr]', | |
573 | 'unfloat [plr]', | |
574 | 'unfly', | |
575 | 'unfreecam / unfc', | |
576 | 'unghost [plr]', | |
577 | 'ungod [plr]', | |
578 | 'unhidename [plr]', | |
579 | 'uninfect [plr]', | |
580 | 'unjail [plr]', | |
581 | 'unkeybind [key]', | |
582 | 'unlight [plr]', | |
583 | 'unlockws', | |
584 | 'unlock [plr]', | |
585 | 'unlongneck [plr]', | |
586 | 'unloopbring [plr]', | |
587 | 'unloopheal [plr]', | |
588 | 'unloopjump / unljump [plr]', | |
589 | 'unloopkill [plr]', | |
590 | 'unloopname / unlname [plr]', | |
591 | 'unloopoof', | |
592 | 'unloopsit / unlsit [plr]', | |
593 | 'unname [plr]', | |
594 | 'unpartdisco', | |
595 | 'unpunish [plr]', | |
596 | 'unrainbowname [plr]', | |
597 | 'unseizure [plr]', | |
598 | 'unserverlock / unslock', | |
599 | 'unshrek [plr]', | |
600 | 'unskygif', | |
601 | 'unsmoke [plr]', | |
602 | 'unsparkles / unsp [plr]', | |
603 | 'unspectate / unview', | |
604 | 'unsphere [plr]', | |
605 | 'unspin [plr]', | |
606 | 'unstarman [plr]', | |
607 | 'unstrength [plr]', | |
608 | 'unstrobe', | |
609 | 'unstun [plr]', | |
610 | 'untrail [plr]', | |
611 | 'unweaken [plr]', | |
612 | 'version', | |
613 | 'visible / vis [plr]', | |
614 | 'volume / vol [num]', | |
615 | 'weaken [plr]', | |
616 | 'whiteify [plr]', | |
617 | 'zinnia [plr]' | |
618 | } | |
619 | 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 | |
620 | ||
621 | std.inTable=function(tbl,val) | |
622 | if tbl==nil then return false end | |
623 | ||
624 | for _,v in pairs(tbl)do | |
625 | if v==val then return true end | |
626 | end | |
627 | return false | |
628 | end | |
629 | std.out=function(str) | |
630 | print(str) | |
631 | end | |
632 | std.list=function(tbl) | |
633 | local str='' | |
634 | for i,v in pairs(tbl)do | |
635 | str=str..tostring(v) | |
636 | if i~=#tbl then str=str..', ' end | |
637 | end | |
638 | return str | |
639 | end | |
640 | std.endat=function(str,val) | |
641 | local z=str:find(val) | |
642 | if z then | |
643 | return str:sub(0,z-string.len(val)),true | |
644 | else | |
645 | return str,false | |
646 | end | |
647 | end | |
648 | std.first=function(str) return str:sub(1,1) end | |
649 | ||
650 | function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end | |
651 | ||
652 | local exec=function(str) | |
653 | spawn(function() | |
654 | local script, loaderr = loadstring(str) | |
655 | if not script then | |
656 | error(loaderr) | |
657 | else | |
658 | script() | |
659 | end | |
660 | end) | |
661 | end | |
662 | local findCmd=function(cmd_name) | |
663 | for i,v in pairs(cmds)do | |
664 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then | |
665 | return v | |
666 | end | |
667 | end | |
668 | end | |
669 | local getCmd=function(msg) | |
670 | local cmd,hassplit=std.endat(msg:lower(),split) | |
671 | if hassplit then | |
672 | return {cmd,true} | |
673 | else | |
674 | return {cmd,false} | |
675 | end | |
676 | end | |
677 | local getprfx=function(strn) | |
678 | if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1} | |
679 | elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1} | |
680 | end return | |
681 | end | |
682 | function dragGUI(gui) | |
683 | spawn(function() | |
684 | local UserInputService = game:GetService("UserInputService") | |
685 | local dragging | |
686 | local dragInput | |
687 | local dragStart | |
688 | local startPos | |
689 | local function update(input) | |
690 | local delta = input.Position - dragStart | |
691 | 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) | |
692 | end | |
693 | gui.InputBegan:Connect(function(input) | |
694 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
695 | dragging = true | |
696 | dragStart = input.Position | |
697 | startPos = gui.Position | |
698 | ||
699 | input.Changed:Connect(function() | |
700 | if input.UserInputState == Enum.UserInputState.End then | |
701 | dragging = false | |
702 | end | |
703 | end) | |
704 | end | |
705 | end) | |
706 | gui.InputChanged:Connect(function(input) | |
707 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then | |
708 | dragInput = input | |
709 | end | |
710 | end) | |
711 | UserInputService.InputChanged:Connect(function(input) | |
712 | if input == dragInput and dragging then | |
713 | update(input) | |
714 | end | |
715 | end) | |
716 | end) | |
717 | end | |
718 | maincolor = Color3.new(colorR, colorG, colorB) | |
719 | function updatecolors(color) | |
720 | colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b | |
721 | maincolor = color | |
722 | for _, child in pairs( game.CoreGui.RobloxGui:GetChildren()) do | |
723 | if child.Name == "TopBarContainer" then | |
724 | child.BackgroundColor3 = color | |
725 | end end | |
726 | FeedbackMain.BackgroundColor3 = maincolor | |
727 | MAIN.BackgroundColor3 = maincolor | |
728 | bar.BackgroundColor3 = maincolor | |
729 | game.CoreGui.sugg.suggestions.BackgroundColor3 = color | |
730 | if game.CoreGui:FindFirstChild('Updates') then | |
731 | game.CoreGui.Updates.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
732 | game.CoreGui.Updates.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
733 | if game.CoreGui:FindFirstChild('Sinfo') then | |
734 | game.CoreGui.Sinfo.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
735 | game.CoreGui.Sinfo.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
736 | if game.CoreGui:FindFirstChild('cp') then | |
737 | game.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color | |
738 | game.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color | |
739 | game.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color end | |
740 | if game.CoreGui:FindFirstChild('Bans') then | |
741 | game.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
742 | game.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
743 | if game.CoreGui:FindFirstChild('Pos') then | |
744 | game.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
745 | game.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
746 | if game.CoreGui:FindFirstChild('Admins') then | |
747 | game.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
748 | game.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
749 | if game.CoreGui:FindFirstChild('Logs') then | |
750 | game.CoreGui.Logs.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
751 | game.CoreGui.Logs.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
752 | if game.CoreGui:FindFirstChild('Aliases') then | |
753 | game.CoreGui.Aliases.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
754 | game.CoreGui.Aliases.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
755 | for _, child in pairs( game.CoreGui:GetChildren()) do | |
756 | if child.Name == "Models" then | |
757 | game.CoreGui.Models.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
758 | game.CoreGui.Models.drag.PromptDialog.shadow.BackgroundColor3 = color | |
759 | end | |
760 | end | |
761 | for _, child in pairs( game.CoreGui:GetChildren()) do | |
762 | if child.Name == "Audios" then | |
763 | game.CoreGui.Audios.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
764 | game.CoreGui.Audios.drag.PromptDialog.shadow.BackgroundColor3 = color | |
765 | end | |
766 | end | |
767 | end | |
768 | ||
769 | function respawn(plr) | |
770 | local M = Instance.new('Model', workspace) M.Name = 'respawn_iy' | |
771 | local H = Instance.new('Humanoid', M) | |
772 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 | |
773 | plr.Character = M end | |
774 | ||
775 | local dummy = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1498924930") | |
776 | WL = {'IoIman616','Conceptual_Nullifier','Thomasbudge','N3xuI','MoonlightTears','DesiredUsername1233','marie',LP.Name} | |
777 | function kickF(plr) | |
778 | spawn(function() | |
779 | if plr.Parent ~= nil then | |
780 | if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else | |
781 | local newChar = dummy:Clone() newChar.Parent = workspace | |
782 | newChar.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
783 | for i = 1,4 do | |
784 | local Plat = Instance.new('SkateboardPlatform', newChar) | |
785 | Plat.Position = newChar.HumanoidRootPart.Position | |
786 | Plat.Name = 'IYplat' | |
787 | Plat.Size = Vector3.new(10, 1.2, 10) | |
788 | Plat.Transparency = 1 end | |
789 | plr.Character = newChar | |
790 | local PART = Instance.new('Part', newChar) | |
791 | PART.CFrame = newChar.HumanoidRootPart.CFrame - Vector3.new(0, 3, 0) | |
792 | PART.Size = Vector3.new(10, 1.2, 10) | |
793 | PART.Anchored = true | |
794 | PART.Transparency = 1 | |
795 | if newChar:FindFirstChild("SkateboardPlatform") then | |
796 | newChar.SkateboardPlatform.CFrame = newChar.HumanoidRootPart.CFrame end | |
797 | wait(0.4) | |
798 | if newChar then newChar:Destroy() end | |
799 | kickF(plr) end | |
800 | end end) end | |
801 | ||
802 | function refresh(plr) | |
803 | spawn(function() | |
804 | local rpos = plr.Character.HumanoidRootPart.Position | |
805 | wait(0.1) plr.Character:Destroy() respawn(plr) wait(0.1) | |
806 | repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart') | |
807 | plr.Character:MoveTo(rpos) end) end | |
808 | ||
809 | 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 | |
810 | 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 | |
811 | _players.PlayerAdded:connect(function(player) | |
812 | if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then | |
813 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
814 | Title = player.Name, | |
815 | Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']', | |
816 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
817 | Duration = 5, | |
818 | }) | |
819 | elseif JLnotify == true and Nfriends == false then | |
820 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
821 | Title = player.Name, | |
822 | Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']', | |
823 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
824 | Duration = 5, | |
825 | }) | |
826 | end | |
827 | if slock == true and allowfriends == false then player.CharacterAdded:connect(function() | |
828 | spawn(function() | |
829 | repeat wait() until player.Character | |
830 | kickF(player) | |
831 | end) | |
832 | end) | |
833 | elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then | |
834 | spawn(function() | |
835 | repeat wait() until player.Character | |
836 | kickF(player) | |
837 | end) | |
838 | end | |
839 | if FindTable(banT, player.userId) then | |
840 | spawn(function() | |
841 | repeat wait() until player.Character | |
842 | Notify('Banned player, ' .. player.Name .. ' attempted to join') | |
843 | kickF(player) | |
844 | end) | |
845 | end | |
846 | if isagelocked == true and allowfriends == false and player.AccountAge <= agelock then | |
847 | spawn(function() | |
848 | repeat wait() until player.Character | |
849 | kickF(player) | |
850 | end) | |
851 | else | |
852 | if isagelocked == true and allowfriends == true and not player:IsFriendsWith(user.userId) and player.AccountAge <= agelock then | |
853 | spawn(function() | |
854 | repeat wait() until player.Character | |
855 | kickF(player) | |
856 | end) | |
857 | end | |
858 | end | |
859 | end) | |
860 | local customAlias = {} | |
861 | local findCmd=function(cmd_name) | |
862 | for i,v in pairs(cmds)do | |
863 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then | |
864 | return v | |
865 | end | |
866 | end | |
867 | return customAlias[cmd_name:lower()] | |
868 | end | |
869 | local function splitString(str,delim) | |
870 | local broken = {} | |
871 | if delim == nil then delim = "," end | |
872 | for w in string.gmatch(str,"[^"..delim.."]+") do | |
873 | table.insert(broken,w) | |
874 | end | |
875 | return broken | |
876 | end | |
877 | local historyCount = 0 | |
878 | local cmdHistory = {} | |
879 | lastBreakTime = 0 | |
880 | local function execCmd(cmdStr,speaker) | |
881 | local rawCmdStr = cmdStr | |
882 | cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%") | |
883 | local commandsToRun = splitString(cmdStr,"\\") | |
884 | for i,v in pairs(commandsToRun) do | |
885 | v = string.gsub(v,"%%BackSlash%%","\\") | |
886 | local x,y,num = v:find("^(%d+)%^") | |
887 | local cmdDelay = 0 | |
888 | if num then | |
889 | v = v:sub(y+1) | |
890 | local x,y,del = v:find("^([%d%.]+)%^") | |
891 | if del then | |
892 | v = v:sub(y+1) | |
893 | cmdDelay = tonumber(del) or 0 | |
894 | end | |
895 | end | |
896 | num = tonumber(num or 1) | |
897 | local args = splitString(v,split) | |
898 | local cmd = findCmd(args[1]) | |
899 | if cmd then | |
900 | table.remove(args,1) | |
901 | cargs = args | |
902 | if speaker == gPlayers.LocalPlayer then | |
903 | if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end | |
904 | end | |
905 | if #cmdHistory > 20 then table.remove(cmdHistory) end | |
906 | local cmdStartTime = tick() | |
907 | for rep = 1,num do | |
908 | if lastBreakTime > cmdStartTime then break end | |
909 | pcall(function() | |
910 | cmd.FUNC(args, speaker) | |
911 | end) | |
912 | if cmdDelay ~= 0 then wait(cmdDelay) end | |
913 | end | |
914 | end | |
915 | end | |
916 | end | |
917 | logsloaded = false | |
918 | ChatLog = function(plr) | |
919 | plr.Chatted:Connect(function(Message) | |
920 | if logsloaded == true then | |
921 | if whispersV == true and Message:lower():sub(1,2) == '/w' then | |
922 | CreateLabel(plr.Name,Message) | |
923 | elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,1) == cmdprefix then | |
924 | CreateLabel(plr.Name,Message) | |
925 | elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,4) == '/e '..cmdprefix then | |
926 | CreateLabel(plr.Name,Message) | |
927 | 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 | |
928 | CreateLabel(plr.Name,Message) | |
929 | end end end) end | |
930 | 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 | |
931 | for _, plr in pairs(gPlayers:GetChildren()) do | |
932 | if plr.ClassName == "Player" then | |
933 | updateevents(plr) ChatLog(plr) end end | |
934 | _players.PlayerAdded:connect(function(player) | |
935 | updateevents(player) ChatLog(player) | |
936 | end) | |
937 | _G.exec_cmd = execCmd | |
938 | --gPlayers.LocalPlayer.Chatted:connect(doexec) | |
939 | 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 | |
940 | local _char=function(plr_name) | |
941 | for i,v in pairs(gPlayers:GetChildren())do | |
942 | if v:IsA'Player'then | |
943 | if v.Name==plr_name then return v.Character end | |
944 | end | |
945 | end | |
946 | return | |
947 | end | |
948 | local _plr=function(plr_name) | |
949 | for i,v in pairs(gPlayers:GetChildren())do | |
950 | if v:IsA'Player'then | |
951 | if v.Name==plr_name then return v end | |
952 | end | |
953 | end | |
954 | return | |
955 | end | |
956 | function addcmd(name,desc,alias,func) | |
957 | cmds[#cmds+1]= | |
958 | { | |
959 | NAME=name; | |
960 | DESC=desc; | |
961 | ALIAS=alias; | |
962 | FUNC=func; | |
963 | } | |
964 | end | |
965 | SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins','bacons'} | |
966 | local SpecialPlayerCases = { | |
967 | ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end, | |
968 | ["others"] = function(speaker) | |
969 | local plrs = {} | |
970 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
971 | if v ~= speaker then | |
972 | table.insert(plrs,v) | |
973 | end | |
974 | end | |
975 | return plrs | |
976 | end, | |
977 | ["me"] = function(speaker)return {speaker} end, | |
978 | ["#(%d+)"] = function(speaker,args,currentList) | |
979 | local returns = {} | |
980 | local randAmount = tonumber(args[1]) | |
981 | local players = {unpack(currentList)} | |
982 | for i = 1,randAmount do | |
983 | if #players == 0 then break end | |
984 | local randIndex = math.random(1,#players) | |
985 | table.insert(returns,players[randIndex]) | |
986 | table.remove(players,randIndex) | |
987 | end | |
988 | return returns | |
989 | end, | |
990 | ["random"] = function(speaker,args,currentList) | |
991 | local players = currentList | |
992 | return {players[math.random(1,#players)]} | |
993 | end, | |
994 | ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green] | |
995 | local returns = {} | |
996 | local team = args[1] | |
997 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
998 | if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then | |
999 | table.insert(returns,plr) | |
1000 | end | |
1001 | end | |
1002 | return returns | |
1003 | end, | |
1004 | ["allies"] = function(speaker) | |
1005 | local returns = {} | |
1006 | local team = speaker.Team | |
1007 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1008 | if plr.Team == team then | |
1009 | table.insert(returns,plr) | |
1010 | end | |
1011 | end | |
1012 | return returns | |
1013 | end, | |
1014 | ["enemies"] = function(speaker) | |
1015 | local returns = {} | |
1016 | local team = speaker.Team | |
1017 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1018 | if plr.Team ~= team then | |
1019 | table.insert(returns,plr) | |
1020 | end | |
1021 | end | |
1022 | return returns | |
1023 | end, | |
1024 | ["team"] = function(speaker) | |
1025 | local returns = {} | |
1026 | local team = speaker.Team | |
1027 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1028 | if plr.Team == team then | |
1029 | table.insert(returns,plr) | |
1030 | end | |
1031 | end | |
1032 | return returns | |
1033 | end, | |
1034 | ["nonteam"] = function(speaker) | |
1035 | local returns = {} | |
1036 | local team = speaker.Team | |
1037 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1038 | if plr.Team ~= team then | |
1039 | table.insert(returns,plr) | |
1040 | end | |
1041 | end | |
1042 | return returns | |
1043 | end, | |
1044 | ["friends"] = function(speaker,args) | |
1045 | local returns = {} | |
1046 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1047 | if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
1048 | table.insert(returns,plr) | |
1049 | end | |
1050 | end | |
1051 | return returns | |
1052 | end, | |
1053 | ["nonfriends"] = function(speaker,args) | |
1054 | local returns = {} | |
1055 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1056 | if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
1057 | table.insert(returns,plr) | |
1058 | end | |
1059 | end | |
1060 | return returns | |
1061 | end, | |
1062 | ["guests"] = function(speaker,args) | |
1063 | local returns = {} | |
1064 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1065 | if plr.Guest then | |
1066 | table.insert(returns,plr) | |
1067 | end | |
1068 | end | |
1069 | return returns | |
1070 | end, | |
1071 | ["bacons"] = function(speaker,args) | |
1072 | local returns = {} | |
1073 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1074 | if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then | |
1075 | table.insert(returns,plr) | |
1076 | end | |
1077 | end | |
1078 | return returns | |
1079 | end, | |
1080 | ["admins"] = function(speaker) | |
1081 | local returns = {} | |
1082 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1083 | if isAdmin(plr) then | |
1084 | table.insert(returns,plr) | |
1085 | end | |
1086 | end | |
1087 | return returns | |
1088 | end, | |
1089 | ["nonadmins"] = function(speaker) | |
1090 | local returns = {} | |
1091 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1092 | if not isAdmin(plr) then | |
1093 | table.insert(returns,plr) | |
1094 | end | |
1095 | end | |
1096 | return returns | |
1097 | end, | |
1098 | ["age(%d+)"] = function(speaker,args) | |
1099 | local returns = {} | |
1100 | local age = tonumber(args[1]) | |
1101 | if not age == nil then return end | |
1102 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1103 | if plr.AccountAge <= age then | |
1104 | table.insert(returns,plr) | |
1105 | end | |
1106 | end | |
1107 | return returns | |
1108 | end, | |
1109 | ["rad(%d+)"] = function(speaker,args) | |
1110 | local returns = {} | |
1111 | local radius = tonumber(args[1]) | |
1112 | local speakerChar = speaker.Character | |
1113 | if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end | |
1114 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1115 | if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then | |
1116 | local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude | |
1117 | if magnitude <= radius then table.insert(returns,plr) end | |
1118 | end | |
1119 | end | |
1120 | return returns | |
1121 | end | |
1122 | } | |
1123 | local function toTokens(str) | |
1124 | local tokens = {} | |
1125 | for op,name in string.gmatch(str,"([+-])([^+-]+)") do | |
1126 | table.insert(tokens,{Operator = op,Name = name}) | |
1127 | end | |
1128 | return tokens | |
1129 | end | |
1130 | local function onlyIncludeInTable(tab,matches) | |
1131 | local matchTable = {} | |
1132 | local resultTable = {} | |
1133 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
1134 | for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end | |
1135 | return resultTable | |
1136 | end | |
1137 | local function removeTableMatches(tab,matches) | |
1138 | local matchTable = {} | |
1139 | local resultTable = {} | |
1140 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
1141 | for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end | |
1142 | return resultTable | |
1143 | end | |
1144 | local function getPlayersByName(name) | |
1145 | local found = {} | |
1146 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1147 | if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then | |
1148 | table.insert(found,v) | |
1149 | end | |
1150 | end | |
1151 | return found | |
1152 | end | |
1153 | local function getPlayer(list,speaker) | |
1154 | if list == nil then return {speaker.Name} end | |
1155 | local nameList = splitString(list,",") | |
1156 | ||
1157 | local foundList = {} | |
1158 | ||
1159 | for _,name in pairs(nameList) do | |
1160 | if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end | |
1161 | local tokens = toTokens(name) | |
1162 | local initialPlayers = game:GetService("Players"):GetPlayers() | |
1163 | ||
1164 | for i,v in pairs(tokens) do | |
1165 | if v.Operator == "+" then | |
1166 | local tokenContent = v.Name | |
1167 | local foundCase = false | |
1168 | for regex,case in pairs(SpecialPlayerCases) do | |
1169 | local matches = {string.match(tokenContent,"^"..regex.."$")} | |
1170 | if #matches > 0 then | |
1171 | foundCase = true | |
1172 | initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers)) | |
1173 | end | |
1174 | end | |
1175 | if not foundCase then | |
1176 | initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent)) | |
1177 | end | |
1178 | else | |
1179 | local tokenContent = v.Name | |
1180 | local foundCase = false | |
1181 | for regex,case in pairs(SpecialPlayerCases) do | |
1182 | local matches = {string.match(tokenContent,"^"..regex.."$")} | |
1183 | if #matches > 0 then | |
1184 | foundCase = true | |
1185 | initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers)) | |
1186 | end | |
1187 | end | |
1188 | if not foundCase then | |
1189 | initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent)) | |
1190 | end | |
1191 | end | |
1192 | end | |
1193 | ||
1194 | for i,v in pairs(initialPlayers) do table.insert(foundList,v) end | |
1195 | end | |
1196 | ||
1197 | local foundNames = {} | |
1198 | for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end | |
1199 | ||
1200 | return foundNames | |
1201 | end | |
1202 | function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F) | |
1203 | local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1 | |
1204 | if (zCoco) then | |
1205 | funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
1206 | else | |
1207 | funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
1208 | end | |
1209 | return funcw | |
1210 | end | |
1211 | function _G.msg(txt) | |
1212 | spawn(function() | |
1213 | msghook() | |
1214 | if MSGhook == true then | |
1215 | workspace.IYmessage.Text = '' | |
1216 | wait(0.1) | |
1217 | local b = Instance.new("BlurEffect", LightingService) | |
1218 | b.Name = "IYmblur" | |
1219 | b.Size = 18 | |
1220 | workspace.IYmessage.Text = txt | |
1221 | wait(Mseconds) | |
1222 | b:Destroy() | |
1223 | if workspace.IYmessage.Text == txt then | |
1224 | workspace.IYmessage.Text = '' end | |
1225 | elseif MSGhook == false then | |
1226 | execCmd("loadm") | |
1227 | repeat wait() until workspace:FindFirstChild("IYmessage") | |
1228 | workspace.IYmessage.Text = '' | |
1229 | wait(0.1) | |
1230 | local b = Instance.new("BlurEffect", LightingService) | |
1231 | b.Name = "IYmblur" | |
1232 | b.Size = 18 | |
1233 | workspace.IYmessage.Text = txt | |
1234 | wait(Mseconds) | |
1235 | b:Destroy() | |
1236 | if workspace.IYmessage.Text == txt then | |
1237 | workspace.IYmessage.Text = '' end | |
1238 | end | |
1239 | end) | |
1240 | end | |
1241 | function bleach(plr) | |
1242 | spawn(function() | |
1243 | local char = plr.Character | |
1244 | local hit1 = Instance.new("Sound", workspace) | |
1245 | hit1.SoundId = "http://roblox.com/asset?id=145486953" | |
1246 | local hit = Instance.new("Sound", workspace) | |
1247 | hit.SoundId = "http://roblox.com/asset?id=178646271" | |
1248 | local Bleach = Instance.new("Part", char["Left Arm"]) | |
1249 | Bleach.CanCollide = false | |
1250 | local Mesh = Instance.new("SpecialMesh", Bleach) | |
1251 | Mesh.MeshId = "http://roblox.com/asset?id=483388971" | |
1252 | Mesh.Scale = Vector3.new(0.005, 0.005, 0.005) | |
1253 | Mesh.TextureId = "http://roblox.com/asset?id=520016684" | |
1254 | local Handy = Instance.new("Weld", Bleach) | |
1255 | Handy.Part0 = Bleach | |
1256 | Handy.Part1 = char["Left Arm"] | |
1257 | Handy.C0 = CFrame.new(0.5,1.8,0) | |
1258 | Handy.C1 = CFrame.Angles(0,4,1) | |
1259 | local drink = Instance.new("Sound", char.Head) | |
1260 | drink.SoundId = "http://roblox.com/asset?id=10722059" | |
1261 | wait(3) | |
1262 | game.Chat:Chat(char.Head,"I need to die","Red") | |
1263 | for i = 1,10 do | |
1264 | wait() | |
1265 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.018,0,0) | |
1266 | Handy.C0 = Handy.C0 * CFrame.new(-0.05,-0.07,0.09) | |
1267 | Handy.C0 = Handy.C0 * CFrame.Angles(0.12,0,0) | |
1268 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(0.2,0,-0.1) | |
1269 | end | |
1270 | drink:Play() | |
1271 | wait(3.4) | |
1272 | drink:Stop() | |
1273 | for i = 1,10 do | |
1274 | wait() | |
1275 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,-0.50,0) | |
1276 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.175,0,0) | |
1277 | Handy.C0 = Handy.C0 * CFrame.new(0.05,0.07,-0.09) | |
1278 | Handy.C0 = Handy.C0 * CFrame.Angles(-0.1,0,0) | |
1279 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.15,-0.04,0.2) | |
1280 | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.05,0.03,0) | |
1281 | char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0 * CFrame.Angles(-0.02,0,0) | |
1282 | char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0 * CFrame.Angles(-0.01,0,0) | |
1283 | end | |
1284 | wait(0.01) | |
1285 | char.Torso.Anchored = true | |
1286 | char["Left Arm"].Anchored = true | |
1287 | char["Right Arm"].Anchored = true | |
1288 | char["Left Leg"].Anchored = true | |
1289 | char["Right Leg"].Anchored = true | |
1290 | char.Head.Anchored = true | |
1291 | hit:Play() | |
1292 | hit1:Play() | |
1293 | wait(4) | |
1294 | local bl00d = Instance.new("Part", char.Head) | |
1295 | bl00d.Size = Vector3.new(0.1,0.1,0.1) | |
1296 | bl00d.Rotation = Vector3.new(0,0,-90) | |
1297 | bl00d.CanCollide = false | |
1298 | bl00d.Anchored = true | |
1299 | bl00d.BrickColor = BrickColor.new("Maroon") | |
1300 | bl00d.Position = char.Head.Position | |
1301 | bl00d.CFrame = bl00d.CFrame * CFrame.new(0.43,-0.65,0) | |
1302 | bl00d.Shape = "Cylinder" | |
1303 | bl00d.Material = "Pebble" | |
1304 | for i = 1,100 do | |
1305 | wait() | |
1306 | bl00d.Size = bl00d.Size + Vector3.new(0,0.05,0.05) | |
1307 | end | |
1308 | wait(1) | |
1309 | char.Humanoid.Health = 0 | |
1310 | end) | |
1311 | end | |
1312 | function rape(victim, speaker) -- from rocky2u cmdscript | |
1313 | spawn(function() | |
1314 | local P1 = game:GetService("Players")[speaker].Character.Torso | |
1315 | local V1 = game:GetService("Players")[victim].Character.Torso | |
1316 | V1.Parent.Humanoid.PlatformStand = true | |
1317 | 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' | |
1318 | 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' | |
1319 | 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' | |
1320 | 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' | |
1321 | 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' | |
1322 | 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' | |
1323 | 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) | |
1324 | local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4) | |
1325 | fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0) | |
1326 | local D2 = D:Clone() D2.Parent = P1 | |
1327 | fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0) | |
1328 | 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) | |
1329 | fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0) | |
1330 | local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1 | |
1331 | fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0) | |
1332 | local CM = Instance.new('CylinderMesh', C) | |
1333 | 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) | |
1334 | local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1335 | fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0) | |
1336 | 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) | |
1337 | local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1338 | fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0) | |
1339 | 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) | |
1340 | local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2) | |
1341 | fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0) | |
1342 | 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) | |
1343 | local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2) | |
1344 | fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0) | |
1345 | 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) | |
1346 | 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) | |
1347 | 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) | |
1348 | if P1:FindFirstChild('weldx') then P1.weldx:destroy() end | |
1349 | WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0) | |
1350 | local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0) | |
1351 | end) | |
1352 | 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) | |
1353 | end | |
1354 | ||
1355 | addcmd('addalias','Adds an alias to a command',{}, | |
1356 | function(args,speaker) | |
1357 | if #args < 2 then return end | |
1358 | local cmd = string.lower(args[1]) | |
1359 | local alias = string.lower(args[2]) | |
1360 | for i,v in pairs(cmds) do | |
1361 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
1362 | customAlias[alias] = v | |
1363 | if not aliasSave or aliasSave == nil then aliasSave = {} end | |
1364 | aliasSave[#aliasSave + 1] = {CMD = cmd, ALIAS = alias} | |
1365 | Notify("Added "..alias.." as an alias to "..cmd) | |
1366 | updatefile() | |
1367 | updatealiases() | |
1368 | break | |
1369 | end | |
1370 | end | |
1371 | end) | |
1372 | ||
1373 | addcmd('877241loadalias','dab',{}, | |
1374 | function(args,speaker) | |
1375 | if #args < 2 then return end | |
1376 | local cmd = string.lower(args[1]) | |
1377 | local alias = string.lower(args[2]) | |
1378 | for i,v in pairs(cmds) do | |
1379 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
1380 | customAlias[alias] = v | |
1381 | updatealiases() | |
1382 | break | |
1383 | end | |
1384 | end | |
1385 | end) | |
1386 | ||
1387 | addcmd('removealias','Removes a custom alias',{}, | |
1388 | function(args,speaker) | |
1389 | if #args < 1 then return end | |
1390 | local alias = string.lower(args[1]) | |
1391 | if customAlias[alias] then | |
1392 | local cmd = customAlias[alias].NAME | |
1393 | customAlias[alias] = nil | |
1394 | for i,v in pairs(aliasSave) do | |
1395 | if v.ALIAS == tostring(alias) then | |
1396 | table.remove(aliasSave, i) | |
1397 | end end | |
1398 | Notify("Removed the alias "..alias.." from "..cmd) | |
1399 | updatefile() | |
1400 | updatealiases() | |
1401 | end | |
1402 | end) | |
1403 | ||
1404 | addcmd('clraliases','Removes all custom alias',{}, | |
1405 | function(args,speaker) | |
1406 | customAlias = {} | |
1407 | aliasSave ={} | |
1408 | updatefile() | |
1409 | updatealiases() | |
1410 | Notify('Removed all aliases') | |
1411 | end) | |
1412 | ||
1413 | addcmd('s','runs a script in the chat or cmdbar',{'script'}, | |
1414 | function(args, speaker) | |
1415 | loadstring(tostring(GLS(false, 0)))() | |
1416 | end) | |
1417 | ||
1418 | function hub() | |
1419 | if not game.CoreGui:FindFirstChild('ScriptHub') then | |
1420 | loadstring(game:HttpGet(('https://pastebin.com/raw/VvDQgSZT'),true))() end end | |
1421 | addcmd('hub','opens script hub',{'scripts'}, | |
1422 | function(args, speaker) | |
1423 | if speaker.userId ~= LP.userId then | |
1424 | lponly(speaker) else | |
1425 | hub() | |
1426 | end end) | |
1427 | ||
1428 | addcmd('ff','gives ff to player',{}, | |
1429 | function(args, speaker) | |
1430 | local players = getPlayer(args[1], speaker) | |
1431 | for i,v in pairs(players)do | |
1432 | local pchar=_char(v) | |
1433 | Instance.new("ForceField", pchar) | |
1434 | end | |
1435 | end) | |
1436 | ||
1437 | addcmd('maxhealth','sets a limit of health to player',{}, | |
1438 | function(args, speaker) | |
1439 | local players = getPlayer(args[1], speaker) | |
1440 | for i,v in pairs(players)do | |
1441 | local pchar=_char(v) | |
1442 | pchar.Humanoid.MaxHealth = args[2] | |
1443 | end | |
1444 | end) | |
1445 | ||
1446 | addcmd('sethealth','sets the health of a player',{}, | |
1447 | function(args, speaker) | |
1448 | local players = getPlayer(args[1], speaker) | |
1449 | for i,v in pairs(players)do | |
1450 | local pchar=_char(v) | |
1451 | pchar.Humanoid.Health = args[2] | |
1452 | end | |
1453 | end) | |
1454 | ||
1455 | addcmd('breakloops','stops any cmd loops',{'break'}, | |
1456 | function(args, speaker) | |
1457 | lastBreakTime = tick() | |
1458 | end) | |
1459 | ||
1460 | addcmd('invisibleff','gives invisible ff to player',{'invisff'}, | |
1461 | function(args, speaker) | |
1462 | local players = getPlayer(args[1], speaker) | |
1463 | for i,v in pairs(players)do | |
1464 | local pchar=_char(v) | |
1465 | local invisff = Instance.new("ForceField", pchar) | |
1466 | invisff.Visible = false | |
1467 | end | |
1468 | end) | |
1469 | ||
1470 | addcmd('rocket','attaches a player to a rocket',{'missile'}, | |
1471 | function(args, speaker) | |
1472 | local players = getPlayer(args[1], speaker) | |
1473 | for i,v in pairs(players)do | |
1474 | local pchar=_char(v) | |
1475 | spawn(function() | |
1476 | local m = missile:Clone() | |
1477 | m.Parent = workspace | |
1478 | local W = Instance.new('Weld', m) | |
1479 | W.Part0 = W.Parent | |
1480 | W.Part1 = pchar.HumanoidRootPart | |
1481 | W.C1 = CFrame.new(0, 0.5, 1) | |
1482 | m.force.Force = Vector3.new(0, 15000, 0) | |
1483 | wait(0.01) | |
1484 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0) | |
1485 | wait(5) | |
1486 | Instance.new('Explosion', m).Position = m.Position | |
1487 | wait(0.01) | |
1488 | pchar:BreakJoints() | |
1489 | wait(1) | |
1490 | m:destroy() | |
1491 | end) | |
1492 | end | |
1493 | end) | |
1494 | ||
1495 | addcmd('kidnap', 'Kidnaps the player in a candy van',{}, function(args, speaker) | |
1496 | local players = getPlayer(args[1], speaker) | |
1497 | if not game:GetService("CoreGui"):FindFirstChild('VanEvent') then | |
1498 | loadstring(game:HttpGet(('https://pastebin.com/raw/NbY247zv'),true))() | |
1499 | end | |
1500 | for i,v in pairs(players) do | |
1501 | game:GetService("CoreGui").VanEvent:Fire(gPlayers[v]) | |
1502 | end | |
1503 | end) | |
1504 | ||
1505 | addcmd('rejoin','makes you rejoin the game',{'rj'}, | |
1506 | function(args, speaker) | |
1507 | if speaker.userId ~= LP.userId then | |
1508 | lponly(speaker) | |
1509 | else | |
1510 | game:GetService('TeleportService'):Teleport(game.PlaceId) | |
1511 | end | |
1512 | end) | |
1513 | ||
1514 | addcmd('unff', 'takes away ff from player',{'noff'}, | |
1515 | function(args, speaker) | |
1516 | local players = getPlayer(args[1], speaker) | |
1517 | for i,v in pairs(players)do | |
1518 | local pchar=_char(v) | |
1519 | for j,v1 in pairs(pchar:GetChildren()) do | |
1520 | if v1:IsA("ForceField") then | |
1521 | v1:Destroy() | |
1522 | end | |
1523 | end | |
1524 | end | |
1525 | end) | |
1526 | ||
1527 | addcmd('flashlight', 'gives a player a flashlight',{}, | |
1528 | function(args, speaker) | |
1529 | local players = getPlayer(args[1], speaker) | |
1530 | for i,v in pairs(players)do | |
1531 | spawn(function() | |
1532 | local flashlight = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01679418710") | |
1533 | flashlight.Parent = gPlayers[v].Backpack | |
1534 | flashlight.Name = "IYflashlight" | |
1535 | end) | |
1536 | end | |
1537 | end) | |
1538 | ||
1539 | addcmd('car', 'inserts a car',{'vehicle'}, | |
1540 | function(args, speaker) | |
1541 | local players = getPlayer(args[1], speaker) | |
1542 | for i,v in pairs(players)do | |
1543 | spawn(function() | |
1544 | local pchar=_char(v) | |
1545 | local model = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01172688590") | |
1546 | model.Parent = workspace | |
1547 | model:MakeJoints() | |
1548 | model:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(5, 5, 0)) | |
1549 | model.Name = "IYcar" .. gPlayers[v].Name wait(0.2) | |
1550 | for _, child in pairs( model:GetChildren()) do | |
1551 | if child.ClassName == "Part" then | |
1552 | child.Anchored = true | |
1553 | wait(1) | |
1554 | child.Anchored = false | |
1555 | end end end) end end) | |
1556 | ||
1557 | addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'}, | |
1558 | function(args, speaker) | |
1559 | local players = getPlayer(args[1], speaker) | |
1560 | for i,v in pairs(players)do | |
1561 | for _, child in pairs( workspace:GetChildren()) do | |
1562 | if child.Name == "IYcar" .. gPlayers[v].Name then | |
1563 | child:Destroy() | |
1564 | end | |
1565 | end | |
1566 | end | |
1567 | end) | |
1568 | ||
1569 | addcmd('team','team [plr] [team]',{}, | |
1570 | function(args, speaker) | |
1571 | local players = getPlayer(args[1], speaker) | |
1572 | local teamname = nil | |
1573 | for i,v in pairs(players)do | |
1574 | 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 | |
1575 | _players[v].Team = teamname | |
1576 | end | |
1577 | end) | |
1578 | ||
1579 | addcmd('maxzoom','maximum camera zoom',{}, | |
1580 | function(args, speaker) | |
1581 | local players = getPlayer(args[1], speaker) | |
1582 | for i,v in pairs(players)do | |
1583 | _players[v].CameraMaxZoomDistance = args[2] | |
1584 | end | |
1585 | end) | |
1586 | ||
1587 | function spawnrain(mesh,texture) | |
1588 | spawn(function() | |
1589 | for i,v in pairs(gPlayers:GetChildren()) do | |
1590 | if v.Character ~= nil and v.Character:FindFirstChild('HumanoidRootPart') then | |
1591 | if raining == true then | |
1592 | local rain = Instance.new("Part",workspace) | |
1593 | rain.CanCollide = true | |
1594 | local m = Instance.new("SpecialMesh",rain) | |
1595 | m.MeshId = "http://www.roblox.com/asset/?id="..mesh | |
1596 | m.TextureId = "http://www.roblox.com/asset/?id="..texture | |
1597 | rain.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-250,250),100,math.random(-250,250)) | |
1598 | wait(5) rain:Destroy() | |
1599 | end | |
1600 | end | |
1601 | end | |
1602 | end) | |
1603 | end | |
1604 | ||
1605 | raining = false | |
1606 | addcmd('rain','make it rain a mesh',{}, | |
1607 | function(args, speaker) | |
1608 | raining = true | |
1609 | repeat | |
1610 | wait(0.5) | |
1611 | spawnrain(args[1],args[2]) | |
1612 | until raining == false | |
1613 | end) | |
1614 | ||
1615 | addcmd('norain','make it rain a mesh',{'unrain'}, | |
1616 | function(args, speaker) | |
1617 | raining = false | |
1618 | end) | |
1619 | ||
1620 | local rad = math.rad | |
1621 | addcmd('earthquake','earthquake [power] [intensity]',{}, -- credit to DontAddMeh | |
1622 | function(args, speaker) | |
1623 | for i = 1,args[1] do | |
1624 | wait() | |
1625 | local function ear(instance) | |
1626 | for i,v in pairs(instance:GetChildren())do | |
1627 | if v:IsA("Part") then | |
1628 | if v.Size.x > 1 then | |
1629 | 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]))) | |
1630 | end end ear(v) end end ear(workspace) | |
1631 | end | |
1632 | end) | |
1633 | ||
1634 | addcmd('cape','Gives the target player(s) a cape',{}, | |
1635 | function(args, speaker) | |
1636 | local players = getPlayer(args[1], speaker) | |
1637 | for i,v in pairs(players)do | |
1638 | spawn(function() | |
1639 | if _char(v):FindFirstChild("Humanoid") then | |
1640 | local plr = _players[v] | |
1641 | repeat wait() until plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") | |
1642 | local torso = plr.Character.HumanoidRootPart | |
1643 | local p = Instance.new("Part", torso.Parent) p.Name = "IYcape" p.Anchored = false | |
1644 | p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 | |
1645 | if not args[2] then | |
1646 | p.Color = Color3.new(0,0,0) | |
1647 | p.Color = Color3.new(0,0,0) else | |
1648 | p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1649 | p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end | |
1650 | p.formFactor = "Custom" | |
1651 | p.Size = Vector3.new(.2,.2,.2) | |
1652 | local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5) | |
1653 | local motor1 = Instance.new("Motor", p) | |
1654 | motor1.Part0 = p | |
1655 | motor1.Part1 = torso | |
1656 | motor1.MaxVelocity = .01 | |
1657 | motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0) | |
1658 | motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0) | |
1659 | local wave = false | |
1660 | repeat wait(1/44) | |
1661 | local ang = 0.1 | |
1662 | local oldmag = torso.Velocity.magnitude | |
1663 | local mv = .002 | |
1664 | if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end | |
1665 | ang = ang + math.min(torso.Velocity.magnitude/11, .5) | |
1666 | motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv | |
1667 | motor1.DesiredAngle = -ang | |
1668 | if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end | |
1669 | repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1 | |
1670 | if torso.Velocity.magnitude < .1 then wait(.1) end | |
1671 | until not p or p.Parent ~= torso.Parent | |
1672 | end | |
1673 | end) | |
1674 | end | |
1675 | end) | |
1676 | ||
1677 | addcmd('uncape','Removes cape',{'nocape'}, | |
1678 | function(args, speaker) | |
1679 | local players = getPlayer(args[1], speaker) | |
1680 | for i,v in pairs(players)do | |
1681 | local pchar=_char(v) | |
1682 | for _, child in pairs( pchar:GetChildren()) do | |
1683 | if child.Name == "IYcape" then | |
1684 | child:Destroy() end end | |
1685 | end | |
1686 | end) | |
1687 | ||
1688 | addcmd('spasm','makes someone c r a z y',{}, | |
1689 | function(args, speaker) | |
1690 | local players = getPlayer(args[1], speaker) | |
1691 | for i,v in pairs(players)do | |
1692 | local pchar=_char(v) | |
1693 | local AnimationId = "33796059" | |
1694 | local Anim = Instance.new("Animation") | |
1695 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
1696 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
1697 | k:Play() | |
1698 | k:AdjustSpeed(99) | |
1699 | end | |
1700 | end) | |
1701 | ||
1702 | addcmd('dance','makes someone d a n c e',{}, | |
1703 | function(args, speaker) | |
1704 | local players = getPlayer(args[1], speaker) | |
1705 | for i,v in pairs(players)do | |
1706 | local pchar=_char(v) | |
1707 | local anim = nil | |
1708 | local dance1 = math.random(1,7) | |
1709 | if dance1 == 1 then | |
1710 | anim = '27789359' | |
1711 | end | |
1712 | if dance1 == 2 then | |
1713 | anim = '30196114' | |
1714 | end | |
1715 | if dance1 == 3 then | |
1716 | anim = '248263260' | |
1717 | end | |
1718 | if dance1 == 4 then | |
1719 | anim = '45834924' | |
1720 | end | |
1721 | if dance1 == 5 then | |
1722 | anim = '33796059' | |
1723 | end | |
1724 | if dance1 == 6 then | |
1725 | anim = '28488254' | |
1726 | end | |
1727 | if dance1 == 7 then | |
1728 | anim = '52155728' | |
1729 | end | |
1730 | local animation = Instance.new("Animation") | |
1731 | animation.AnimationId = "rbxassetid://"..anim | |
1732 | local animTrack = pchar.Humanoid:LoadAnimation(animation) | |
1733 | animTrack:Play() | |
1734 | end | |
1735 | end) | |
1736 | ||
1737 | addcmd('plrsound','creates a sound inside of someone',{'playersound'}, | |
1738 | function(args, speaker) | |
1739 | local players = getPlayer(args[1], speaker) | |
1740 | for i,v in pairs(players)do | |
1741 | if not args[1] and args[2] then return end | |
1742 | local pchar=_char(v) | |
1743 | for _, child in pairs( pchar:GetDescendants()) do | |
1744 | if child.ClassName == "Sound" then | |
1745 | child:Destroy() end end | |
1746 | local s = Instance.new("Sound") | |
1747 | s.Name = "IYplrsound" | |
1748 | s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2] | |
1749 | s.Volume = 1 | |
1750 | s.Pitch = 1 | |
1751 | s.Looped = true | |
1752 | s.archivable = true | |
1753 | s.Parent = pchar.HumanoidRootPart | |
1754 | s:Play() | |
1755 | end | |
1756 | end) | |
1757 | ||
1758 | addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'}, | |
1759 | function(args, speaker) | |
1760 | local players = getPlayer(args[1], speaker) | |
1761 | for i,v in pairs(players)do | |
1762 | if not args[1] then return end | |
1763 | local pchar=_char(v) | |
1764 | for _, child in pairs( pchar:GetDescendants()) do | |
1765 | if child.ClassName == "Sound" then | |
1766 | child:Destroy() end end | |
1767 | end | |
1768 | end) | |
1769 | ||
1770 | addcmd('fly','makes you fly',{}, | |
1771 | function(args, speaker) | |
1772 | if speaker.userId ~= LP.userId then | |
1773 | lponly(speaker) | |
1774 | else | |
1775 | sFLY() | |
1776 | end | |
1777 | end) | |
1778 | ||
1779 | addcmd('flyspeed','set the fly speed',{'flysp'}, | |
1780 | function(args, speaker) | |
1781 | if speaker.userId ~= LP.userId then | |
1782 | lponly(speaker) | |
1783 | else | |
1784 | if isNumber(args[1]) then | |
1785 | iyflyspeed = args[1] | |
1786 | end end end) | |
1787 | ||
1788 | addcmd('unfly','takes away fly',{'nofly'}, | |
1789 | function(args, speaker) | |
1790 | if speaker.userId ~= LP.userId then | |
1791 | lponly(speaker) | |
1792 | else | |
1793 | NOFLY() | |
1794 | end | |
1795 | end) | |
1796 | ||
1797 | addcmd('exit','kills roblox process',{}, | |
1798 | function(args, speaker) | |
1799 | if speaker.userId ~= LP.userId then | |
1800 | lponly(speaker) | |
1801 | else | |
1802 | game:shutdown() | |
1803 | end | |
1804 | end) | |
1805 | ||
1806 | addcmd('fire', 'set a player on fire',{}, | |
1807 | function(args, speaker) | |
1808 | local players = getPlayer(args[1], speaker) | |
1809 | for i,v in pairs(players)do | |
1810 | spawn(function() | |
1811 | local pchar=_char(v) | |
1812 | local Fire1 = Instance.new("Fire", pchar.Head) | |
1813 | local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart) | |
1814 | local Fire3 = Instance.new("Fire", pchar["Left Arm"]) | |
1815 | local Fire4 = Instance.new("Fire", pchar["Right Arm"]) | |
1816 | local Fire5 = Instance.new("Fire", pchar["Left Leg"]) | |
1817 | local Fire6 = Instance.new("Fire", pchar["Right Leg"]) | |
1818 | if not args[2] then return end | |
1819 | Fire1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1820 | Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1821 | Fire2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1822 | Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1823 | Fire3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1824 | Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1825 | Fire4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1826 | Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1827 | Fire5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1828 | Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1829 | Fire6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1830 | Fire6.SecondaryColor = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1831 | end) | |
1832 | end | |
1833 | end) | |
1834 | ||
1835 | addcmd('discomesh', 'body parts get f u n k y',{}, | |
1836 | function(args, speaker) | |
1837 | local players = getPlayer(args[1], speaker) | |
1838 | for i,v in pairs(players)do | |
1839 | spawn(function() | |
1840 | local plr = _players[v] | |
1841 | local meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"} | |
1842 | local h = _players[v].Character.Head.Mesh | |
1843 | local t = Instance.new("SpecialMesh",_players[v].Character.Torso) | |
1844 | local la = Instance.new("SpecialMesh",_players[v].Character["Left Arm"]) | |
1845 | local ra = Instance.new("SpecialMesh",_players[v].Character["Right Arm"]) | |
1846 | local ll = Instance.new("SpecialMesh",_players[v].Character["Left Leg"]) | |
1847 | local rl = Instance.new("SpecialMesh",_players[v].Character["Right Leg"]) | |
1848 | while true do wait() | |
1849 | h.MeshType = meshes[math.random(1,#meshes)] | |
1850 | h.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1851 | h.Parent.BrickColor = BrickColor.Random() | |
1852 | t.MeshType = meshes[math.random(1,#meshes)] | |
1853 | t.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1854 | t.Parent.BrickColor = BrickColor.Random() | |
1855 | la.MeshType = meshes[math.random(1,#meshes)] | |
1856 | la.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1857 | la.Parent.BrickColor = BrickColor.Random() | |
1858 | ra.MeshType = meshes[math.random(1,#meshes)] | |
1859 | ra.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1860 | ra.Parent.BrickColor = BrickColor.Random() | |
1861 | ll.MeshType = meshes[math.random(1,#meshes)] | |
1862 | ll.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1863 | ll.Parent.BrickColor = BrickColor.Random() | |
1864 | rl.MeshType = meshes[math.random(1,#meshes)] | |
1865 | rl.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1866 | rl.Parent.BrickColor = BrickColor.Random() | |
1867 | end end) end end) | |
1868 | ||
1869 | addcmd('chickenarms', 'I can fly!!1',{'chicken'}, | |
1870 | function(args, speaker) | |
1871 | local players = getPlayer(args[1], speaker) | |
1872 | for i,v in pairs(players)do | |
1873 | spawn(function() | |
1874 | local Chicken = _players[v].Character | |
1875 | 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) | |
1876 | Chicken.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0) | |
1877 | 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) | |
1878 | Chicken.Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0) | |
1879 | end) end end) | |
1880 | ||
1881 | addcmd('esp', 'view a player and a players status',{}, | |
1882 | function(args, speaker) | |
1883 | if speaker.userId ~= LP.userId then | |
1884 | lponly(speaker) | |
1885 | else | |
1886 | local players = getPlayer(args[1], speaker) | |
1887 | for i,v in pairs(players)do | |
1888 | spawn(function() | |
1889 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
1890 | if child.Name == gPlayers[v].Name then | |
1891 | child:Destroy() | |
1892 | end end wait(0.5) | |
1893 | local m = game["Players"].LocalPlayer:GetMouse() | |
1894 | local rs = game:GetService("RunService").RenderStepped | |
1895 | local espplr = gPlayers[v] | |
1896 | if espplr.Character and espplr.Name ~= _players.LocalPlayer.Name then | |
1897 | for b,n in pairs (espplr.Character:GetChildren()) do | |
1898 | if (n:IsA("BasePart")) then | |
1899 | local a = Instance.new("BoxHandleAdornment", game.CoreGui) | |
1900 | a.Name = espplr.Name | |
1901 | a.Adornee = n | |
1902 | a.AlwaysOnTop = true | |
1903 | a.ZIndex = 0 | |
1904 | a.Size = n.Size | |
1905 | a.Transparency = 0.7 | |
1906 | local resetting = false | |
1907 | if espplr.TeamColor == _players.LocalPlayer.TeamColor then | |
1908 | a.Color = BrickColor.new("Lime green") | |
1909 | else | |
1910 | a.Color = BrickColor.new("Really red") | |
1911 | end | |
1912 | if espplr.Character and espplr.Character:FindFirstChild('Head') then | |
1913 | local BillboardGui = Instance.new("BillboardGui", game.CoreGui) | |
1914 | local TextLabel = Instance.new("TextLabel") | |
1915 | BillboardGui.Adornee = espplr.Character.Head | |
1916 | BillboardGui.Name = espplr.Name | |
1917 | BillboardGui.Size = UDim2.new(0, 100, 0, 150) | |
1918 | BillboardGui.StudsOffset = Vector3.new(0, 1, 0) | |
1919 | BillboardGui.AlwaysOnTop = true | |
1920 | TextLabel.Parent = BillboardGui | |
1921 | TextLabel.BackgroundTransparency = 1 | |
1922 | TextLabel.Position = UDim2.new(0, 0, 0, -50) | |
1923 | TextLabel.Size = UDim2.new(0, 100, 0, 100) | |
1924 | TextLabel.Font = Enum.Font.SourceSansSemibold | |
1925 | TextLabel.TextSize = 20 | |
1926 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
1927 | TextLabel.TextStrokeTransparency = 0 | |
1928 | TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom | |
1929 | espplr.Character:WaitForChild("Humanoid").Died:connect(function() | |
1930 | BillboardGui:Destroy() a:Destroy() end) | |
1931 | _players.PlayerRemoving:connect(function(player) | |
1932 | if player.Name == espplr.Name then | |
1933 | BillboardGui:Destroy() a:Destroy() | |
1934 | end end) | |
1935 | game:GetService("RunService").RenderStepped:Connect(function() | |
1936 | 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 | |
1937 | local pos = math.floor((_players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude) | |
1938 | TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos else | |
1939 | BillboardGui:Destroy() a:Destroy() end end) | |
1940 | end | |
1941 | end | |
1942 | end | |
1943 | end | |
1944 | end) | |
1945 | end | |
1946 | end | |
1947 | end) | |
1948 | ||
1949 | addcmd('noesp', 'removes esp',{'unesp'}, | |
1950 | function(args, speaker) | |
1951 | if speaker.userId ~= LP.userId then | |
1952 | lponly(speaker) | |
1953 | else | |
1954 | local players = getPlayer(args[1], speaker) | |
1955 | for i,v in pairs(players)do | |
1956 | spawn(function() | |
1957 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
1958 | if child.Name == gPlayers[v].Name then | |
1959 | child:Destroy() | |
1960 | end | |
1961 | end end) end end end) | |
1962 | ||
1963 | addcmd('nofire', 'extinguish a player',{'unfire'}, | |
1964 | function(args, speaker) | |
1965 | local players = getPlayer(args[1], speaker) | |
1966 | for i,v in pairs(players)do | |
1967 | local pchar=_char(v) | |
1968 | for j,v1 in pairs(pchar:GetDescendants()) do | |
1969 | if v1:IsA("Fire") then | |
1970 | v1:Destroy() | |
1971 | end end end end) | |
1972 | ||
1973 | addcmd('shiny', 'makes a player shine',{}, | |
1974 | function(args, speaker) | |
1975 | local players = getPlayer(args[1], speaker) | |
1976 | for i,v in pairs(players)do | |
1977 | spawn(function() | |
1978 | local pchar=_char(v) | |
1979 | for i,v in pairs(pchar:GetChildren()) do | |
1980 | if v.ClassName == "Decal" or v.ClassName == "Texture" then | |
1981 | v:Destroy() end | |
1982 | if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then | |
1983 | v.Reflectance = 1 | |
1984 | v.Material = "Plastic" | |
1985 | end | |
1986 | end | |
1987 | end) | |
1988 | end | |
1989 | end) | |
1990 | ||
1991 | addcmd('light', 'givs em light',{}, | |
1992 | function(args, speaker) | |
1993 | local players = getPlayer(args[1], speaker) | |
1994 | for i,v in pairs(players)do | |
1995 | spawn(function() | |
1996 | local pchar=_char(v) | |
1997 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
1998 | if v1:IsA("PointLight") then | |
1999 | v1:Destroy() | |
2000 | end | |
2001 | end | |
2002 | local light = Instance.new("PointLight", pchar.HumanoidRootPart) | |
2003 | light.Range = 12 | |
2004 | light.Brightness = 3 | |
2005 | if not args[2] then return end | |
2006 | light.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
2007 | light.Range = 12 | |
2008 | light.Brightness = 3 | |
2009 | end) | |
2010 | end | |
2011 | end) | |
2012 | ||
2013 | addcmd('begone', 'BEGONE THOT',{'thot'}, | |
2014 | function(args, speaker) | |
2015 | local players = getPlayer(args[1], speaker) | |
2016 | for i,v in pairs(players)do | |
2017 | spawn(function() | |
2018 | local thotbottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508") | |
2019 | local pchar=_char(v) | |
2020 | thotbottle.Name = 'THOT BEGONE' | |
2021 | thotbottle.Handle:Destroy() | |
2022 | execCmd('freeze '..gPlayers[v].Name) | |
2023 | execCmd('name '..gPlayers[v].Name..' THOT') | |
2024 | execCmd('spasm '..gPlayers[v].Name) | |
2025 | thotbottle.Parent = pchar | |
2026 | thotbottle:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(0, 0, 7)) | |
2027 | local cf = pchar.HumanoidRootPart.CFrame | |
2028 | local newcf = cf + cf.lookVector * 6 | |
2029 | thotbottle.Head.CFrame = newcf | |
2030 | local s = Instance.new("Sound") | |
2031 | s.Name = "BEGONE" | |
2032 | s.SoundId = "http://www.roblox.com/asset/?id=1095911222" | |
2033 | s.Volume = 10 | |
2034 | s.Parent = thotbottle | |
2035 | s:play() | |
2036 | local d = Instance.new("Sound") | |
2037 | d.Name = "WuOOOH" | |
2038 | d.SoundId = "http://www.roblox.com/asset/?id=253143032" | |
2039 | d.Volume = 5 | |
2040 | d.Parent = pchar | |
2041 | wait(4) | |
2042 | if gPlayers[v] then | |
2043 | execCmd('thaw '..gPlayers[v].Name) | |
2044 | execCmd('fling '..gPlayers[v].Name) | |
2045 | thotbottle:Destroy() | |
2046 | d:play() | |
2047 | end if gPlayers[v] then | |
2048 | wait(3) | |
2049 | execCmd('explode '..gPlayers[v].Name) | |
2050 | pchar:BreakJoints() end | |
2051 | end) | |
2052 | end | |
2053 | end) | |
2054 | ||
2055 | addcmd('glowstick', 'givs em glo stik',{}, | |
2056 | function(args, speaker) | |
2057 | local players = getPlayer(args[1], speaker) | |
2058 | for i,v in pairs(players)do | |
2059 | spawn(function() | |
2060 | System = {} | |
2061 | System.Create = function(a, c) | |
2062 | local e = Instance.new(a) | |
2063 | for d, a in pairs(c) do | |
2064 | local b, a = ypcall(function() | |
2065 | return e[d] | |
2066 | end) | |
2067 | if b then | |
2068 | e[d] = c[d] | |
2069 | end | |
2070 | end | |
2071 | return e | |
2072 | end | |
2073 | function b(d, b) | |
2074 | local c = getfenv(d) | |
2075 | local a = setmetatable({}, { | |
2076 | __index = function(a, a) | |
2077 | if a:lower() == 'script' then | |
2078 | return b | |
2079 | else | |
2080 | return c[a] | |
2081 | end | |
2082 | end | |
2083 | }) | |
2084 | setfenv(d, a) | |
2085 | ypcall(function() | |
2086 | d() | |
2087 | end) | |
2088 | end | |
2089 | c = {} | |
2090 | mas = Instance.new("Model",game:GetService("Lighting")) | |
2091 | mas.Name = "CompiledModel" | |
2092 | o1 = System.Create("Tool",{ | |
2093 | ["Name"] = "Glow Stick", | |
2094 | ["Parent"] = mas, | |
2095 | ["GripPos"] = Vector3.new(0, -0.300000012, 0), | |
2096 | ["CanBeDropped"] = false, | |
2097 | }) | |
2098 | o2 = System.Create("Part",{ | |
2099 | ["Name"] = "Handle", | |
2100 | ["Parent"] = o1, | |
2101 | ["Transparency"] = 0.10000000149012, | |
2102 | ["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056), | |
2103 | ["Rotation"] = Vector3.new(-180, 0, 0), | |
2104 | ["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
2105 | ["FormFactor"] = Enum.FormFactor.Custom, | |
2106 | ["Size"] = Vector3.new(0.200000033, 1.80000019, 1), | |
2107 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
2108 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
2109 | ["Material"] = "Neon", | |
2110 | }) | |
2111 | o3 = System.Create("PointLight",{ | |
2112 | ["Parent"] = o2, | |
2113 | ["Brightness"] = 8, | |
2114 | ["Range"] = 14, | |
2115 | }) | |
2116 | o4 = System.Create("CylinderMesh",{ | |
2117 | ["Parent"] = o2, | |
2118 | }) | |
2119 | if not args[2] then | |
2120 | o2.Color = Color3.new(1,1,1) | |
2121 | o3.Color = Color3.new(1,1,1) else | |
2122 | o2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
2123 | o3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end | |
2124 | mas.Parent = workspace | |
2125 | mas:MakeJoints() | |
2126 | local b = mas:GetChildren() | |
2127 | for a = 1, #b do | |
2128 | b[a].Parent = gPlayers[v].Backpack | |
2129 | ypcall(function() | |
2130 | b[a]:MakeJoints() | |
2131 | end) | |
2132 | end | |
2133 | mas:Destroy() | |
2134 | for a = 1, #c do | |
2135 | coroutine.resume(c[a]) | |
2136 | end | |
2137 | end) | |
2138 | end | |
2139 | end) | |
2140 | ||
2141 | addcmd('keybind','Binds a command to a key',{}, | |
2142 | function(args,speaker) | |
2143 | if speaker.userId ~= LP.userId then | |
2144 | lponly(speaker) else | |
2145 | if #args < 2 then return end | |
2146 | local key = string.lower(args[1]) | |
2147 | if #key > 1 or key == cmdbarbind then return end | |
2148 | local cmdText = GLS(false,1) | |
2149 | local cas = game:GetService("ContextActionService") | |
2150 | cas:BindAction("Keybind"..key,function(action,state,obj) | |
2151 | if state == Enum.UserInputState.Begin then | |
2152 | execCmd(cmdText,speaker) | |
2153 | end | |
2154 | end,false,key) | |
2155 | Notify("Binded "..cmdText.." to "..key) | |
2156 | end | |
2157 | end) | |
2158 | ||
2159 | addcmd('unkeybind','Removes a binded command from a key',{'unbind'}, | |
2160 | function(args,speaker) | |
2161 | if speaker.userId ~= LP.userId then | |
2162 | lponly(speaker) else | |
2163 | if #args < 1 then return end | |
2164 | local key = string.lower(args[1]) | |
2165 | game:GetService("ContextActionService"):UnbindAction("Keybind"..key) | |
2166 | Notify("Unbinded "..key) | |
2167 | end | |
2168 | end) | |
2169 | ||
2170 | ||
2171 | ||
2172 | ||
2173 | ||
2174 | addcmd('trail', 'spawns a trail behind a player',{}, | |
2175 | function(args, speaker) | |
2176 | local players = getPlayer(args[1], speaker) | |
2177 | for i,v in pairs(players)do | |
2178 | spawn(function() | |
2179 | local pchar=_char(v) | |
2180 | for j,v1 in pairs(pchar.Torso:GetChildren()) do | |
2181 | if v1.Name == "TRAIL" then | |
2182 | v1:Destroy() | |
2183 | end | |
2184 | end | |
2185 | if args[2] then | |
2186 | color1 = Color3.fromRGB(args[2],args[3],args[4]) | |
2187 | color2 = Color3.new(0,0,0) else | |
2188 | color1 = Color3.new(1,1,1) | |
2189 | color2 = Color3.new(0,0,0) end | |
2190 | if pchar:FindFirstChild("Torso") then | |
2191 | local e = Instance.new("Trail", pchar.Torso) | |
2192 | e.Name = "TRAIL" | |
2193 | e.FaceCamera = true | |
2194 | e.Color = ColorSequence.new(color1,color2) | |
2195 | e.Attachment0 = pchar.Torso.WaistCenterAttachment | |
2196 | e.Attachment1 = pchar.Torso.NeckAttachment | |
2197 | end | |
2198 | end) | |
2199 | end | |
2200 | end) | |
2201 | ||
2202 | addcmd('untrail', 'deletes the trail behind a player',{'notrail'}, | |
2203 | function(args, speaker) | |
2204 | local players = getPlayer(args[1], speaker) | |
2205 | for i,v in pairs(players)do | |
2206 | spawn(function() | |
2207 | local pchar=_char(v) | |
2208 | for j,v1 in pairs(pchar.Torso:GetChildren()) do | |
2209 | if v1.Name == "TRAIL" then | |
2210 | v1:Destroy() | |
2211 | end | |
2212 | end | |
2213 | end) | |
2214 | end | |
2215 | end) | |
2216 | ||
2217 | local fa = false | |
2218 | local cam = workspace.CurrentCamera | |
2219 | local cam1 = 0 | |
2220 | local cam2 = 0 | |
2221 | local cam3 = 0 | |
2222 | local k1 = false | |
2223 | local k2 = false | |
2224 | local k3 = false | |
2225 | local k4 = false | |
2226 | local k5 = false | |
2227 | local k6 = false | |
2228 | cs = 0.5 | |
2229 | function movecam() | |
2230 | local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') | |
2231 | if fa == false then | |
2232 | repeat | |
2233 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2234 | local fp = fc.Position | |
2235 | fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1) | |
2236 | fa = true | |
2237 | end | |
2238 | game:GetService('RunService').RenderStepped:Wait() | |
2239 | until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') | |
2240 | fa = false | |
2241 | end | |
2242 | end | |
2243 | function kp1(inputObject, gameProcessedEvent) | |
2244 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2245 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
2246 | k1 = true | |
2247 | cam1 = cs end | |
2248 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
2249 | k2 = true | |
2250 | cam1 = (cs*-1) end | |
2251 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
2252 | k3 = true | |
2253 | cam2 = cs end | |
2254 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
2255 | k4 = true | |
2256 | cam2 = (cs*-1) end | |
2257 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
2258 | k5 = true | |
2259 | cam3 = cs end | |
2260 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
2261 | k6 = true | |
2262 | cam3 = (cs*-1) end | |
2263 | end | |
2264 | end | |
2265 | game:GetService("UserInputService").InputBegan:connect(kp1) | |
2266 | function kp2(inputObject, gameProcessedEvent) | |
2267 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2268 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
2269 | k1 = false | |
2270 | if k2 == false then | |
2271 | cam1 = 0 | |
2272 | end | |
2273 | end | |
2274 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
2275 | k2 = false | |
2276 | if k1 == false then | |
2277 | cam1 = 0 | |
2278 | end | |
2279 | end | |
2280 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
2281 | k3= false | |
2282 | if k4== false then | |
2283 | cam2 = 0 | |
2284 | end | |
2285 | end | |
2286 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
2287 | k4 = false | |
2288 | if k3 == false then | |
2289 | cam2 = 0 | |
2290 | end | |
2291 | end | |
2292 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
2293 | k5 = false | |
2294 | if k6 == false then | |
2295 | cam3 = 0 | |
2296 | end | |
2297 | end | |
2298 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
2299 | k6 = false | |
2300 | if k5 == false then | |
2301 | cam3 = 0 | |
2302 | end | |
2303 | end | |
2304 | end | |
2305 | end | |
2306 | game:GetService("UserInputService").InputEnded:connect(kp2) | |
2307 | function FC() | |
2308 | if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2309 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true | |
2310 | local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character) | |
2311 | fc.CanCollide = false | |
2312 | fc.Anchored = true | |
2313 | fc.Transparency = 1 | |
2314 | fc.Size = Vector3.new(1,1,1) | |
2315 | fc.Name = 'xFC' | |
2316 | fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame | |
2317 | local cam = workspace.CurrentCamera | |
2318 | cam.CameraSubject = fc | |
2319 | cam.CameraType = 'Custom' | |
2320 | movecam() | |
2321 | end end | |
2322 | function UFC() | |
2323 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false | |
2324 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2325 | game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy() | |
2326 | local cam = workspace.CurrentCamera | |
2327 | cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid | |
2328 | cam.CameraType = 'Custom' | |
2329 | end end | |
2330 | ||
2331 | addcmd('freecam','freecam',{'fc'}, | |
2332 | function(args, speaker) | |
2333 | if speaker.userId ~= LP.userId then | |
2334 | lponly(speaker) | |
2335 | else | |
2336 | FC() | |
2337 | end | |
2338 | end) | |
2339 | ||
2340 | addcmd('fixcam','fixes camera',{}, | |
2341 | function(args, speaker) | |
2342 | if speaker.userId ~= LP.userId then | |
2343 | lponly(speaker) | |
2344 | else | |
2345 | workspace.CurrentCamera:remove() | |
2346 | wait(.1) | |
2347 | workspace.CurrentCamera.CameraSubject = LP.Character.Humanoid | |
2348 | workspace.CurrentCamera.CameraType = "Custom" | |
2349 | LP.CameraMinZoomDistance = 0.5 | |
2350 | LP.CameraMaxZoomDistance = 400 | |
2351 | LP.CameraMode = "Classic" | |
2352 | end | |
2353 | end) | |
2354 | ||
2355 | addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'}, | |
2356 | function(args, speaker) | |
2357 | local players = getPlayer(args[1], speaker) | |
2358 | for i,v in pairs(players)do | |
2359 | local pchar=_char(v) | |
2360 | local char = pchar | |
2361 | local hum = char.Humanoid | |
2362 | for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end | |
2363 | hum.HealthDisplayDistance = 0 | |
2364 | --execcmd god | |
2365 | local stake = Instance.new("Part",char) | |
2366 | stake.Anchored = true | |
2367 | stake.BrickColor = BrickColor.new("Reddish brown") | |
2368 | stake.Material = "Wood" | |
2369 | stake.Size = Vector3.new(1,7,1) | |
2370 | stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1) | |
2371 | local hay = Instance.new("Part",char) | |
2372 | hay.Anchored = true | |
2373 | hay.Material = "Grass" | |
2374 | hay.BrickColor = BrickColor.new("New Yeller") | |
2375 | hay.Size = Vector3.new(6,1,5) | |
2376 | hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0) | |
2377 | local hay2 = hay:clone() | |
2378 | hay2.Parent = char | |
2379 | hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0) | |
2380 | local fire = Instance.new("Fire",hay) | |
2381 | fire.Enabled = false | |
2382 | fire.Heat = 25 | |
2383 | fire.Size = 2 | |
2384 | fire.Color = Color3.new(170/255,85/255,0) | |
2385 | local smoke = Instance.new("Smoke",hay) | |
2386 | smoke.Enabled = false | |
2387 | smoke.Opacity = 1 | |
2388 | smoke.RiseVelocity = 25 | |
2389 | smoke.Size = 15 | |
2390 | smoke.Color = Color3.new(0,0,0) | |
2391 | local light = Instance.new("PointLight",hay) | |
2392 | light.Color = Color3.new(170/255,85/255,0) | |
2393 | light.Range = 0 | |
2394 | light.Brightness = 1 | |
2395 | light.Enabled = false | |
2396 | --[[]] | |
2397 | local crack = Instance.new("Sound",hay) | |
2398 | crack.SoundId = "rbxassetid://239443642" | |
2399 | crack.Looped = true | |
2400 | crack.Volume = 0 | |
2401 | local scream = Instance.new("Sound",char.Torso) | |
2402 | scream.SoundId = "rbxassetid://264227115" | |
2403 | scream.Looped = true | |
2404 | scream.Volume = 0 | |
2405 | --]] | |
2406 | wait() | |
2407 | char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5) | |
2408 | char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5) | |
2409 | ||
2410 | local bods = char['Body Colors'] | |
2411 | local colors = { | |
2412 | --"Really red"; | |
2413 | "Bright red"; | |
2414 | "Crimson"; | |
2415 | "Maroon"; | |
2416 | "Really black"; | |
2417 | } | |
2418 | ||
2419 | fire.Enabled=true | |
2420 | smoke.Enabled=true | |
2421 | light.Enabled=true | |
2422 | crack:Play() | |
2423 | scream:Play() | |
2424 | scream.Pitch = 0.8 | |
2425 | --scream.Volume = 0.5 | |
2426 | for i=1,30 do | |
2427 | crack.Volume = crack.Volume+(1/30) | |
2428 | scream.Volume = crack.Volume | |
2429 | fire.Size=i | |
2430 | smoke.RiseVelocity=i-5 | |
2431 | smoke.Size=i/2 | |
2432 | light.Range=i*2 | |
2433 | wait(1) | |
2434 | end | |
2435 | ||
2436 | for i=1,#colors do | |
2437 | bods.HeadColor=BrickColor.new(colors[i]) | |
2438 | bods.LeftArmColor=BrickColor.new(colors[i]) | |
2439 | bods.LeftLegColor=BrickColor.new(colors[i]) | |
2440 | bods.RightArmColor=BrickColor.new(colors[i]) | |
2441 | bods.RightLegColor=BrickColor.new(colors[i]) | |
2442 | bods.TorsoColor=BrickColor.new(colors[i]) | |
2443 | hay.BrickColor=BrickColor.new(colors[i]) | |
2444 | hay2.BrickColor=BrickColor.new(colors[i]) | |
2445 | stake.BrickColor=BrickColor.new(colors[i]) | |
2446 | wait(5) | |
2447 | end | |
2448 | wait(10) | |
2449 | scream.Volume = 0.5 | |
2450 | wait(1) | |
2451 | scream:Stop() | |
2452 | char:BreakJoints() | |
2453 | end | |
2454 | end) | |
2455 | ||
2456 | addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'}, | |
2457 | function(args, speaker) | |
2458 | if speaker.userId ~= LP.userId then | |
2459 | lponly(speaker) | |
2460 | else | |
2461 | UFC() | |
2462 | end | |
2463 | end) | |
2464 | ||
2465 | addcmd('freecamspeed','unfreecam',{'fcspeed'}, | |
2466 | function(args, speaker) | |
2467 | if speaker.userId ~= LP.userId then | |
2468 | lponly(speaker) | |
2469 | else | |
2470 | if isNumber(args[1]) then | |
2471 | cs = args[1] | |
2472 | end end end) | |
2473 | ||
2474 | addcmd('nolight', 'no more light',{'unlight'}, | |
2475 | function(args, speaker) | |
2476 | local players = getPlayer(args[1], speaker) | |
2477 | for i,v in pairs(players)do | |
2478 | local pchar=_char(v) | |
2479 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
2480 | if v1:IsA("PointLight") then | |
2481 | v1:Destroy() | |
2482 | end | |
2483 | end | |
2484 | end | |
2485 | end) | |
2486 | ||
2487 | addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'}, | |
2488 | function(args, speaker) | |
2489 | local players = getPlayer(args[1], speaker) | |
2490 | for i,v in pairs(players)do | |
2491 | local pchar=_char(v) | |
2492 | scale = 10 | |
2493 | ||
2494 | function weld(tab) | |
2495 | local last = nil | |
2496 | for i,v in pairs(tab) do | |
2497 | if v:IsA("BasePart") then | |
2498 | if last then | |
2499 | local w = Instance.new("Weld",last) | |
2500 | w.Part0 = w.Parent | |
2501 | w.Part1 = v | |
2502 | local pos = last.CFrame:toObjectSpace(v.CFrame) | |
2503 | w.C0 = pos | |
2504 | end | |
2505 | last = v | |
2506 | end | |
2507 | end | |
2508 | end | |
2509 | ||
2510 | function makeball(pos) | |
2511 | local model = Instance.new("Model",workspace) | |
2512 | model.Name = gPlayers[v].Name .. "ball" | |
2513 | local rand = BrickColor.Random() | |
2514 | pchar.Head.Anchored = true | |
2515 | for i=0,340,20 do | |
2516 | wait() | |
2517 | for z=-90,70,20 do | |
2518 | local p = Instance.new("Part",model) | |
2519 | p.formFactor = "Custom" | |
2520 | p.BrickColor = rand | |
2521 | p.Transparency = 0.5 | |
2522 | p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140) | |
2523 | p.Anchored = true | |
2524 | p.TopSurface = 0 | |
2525 | p.BottomSurface = 0 | |
2526 | p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2) | |
2527 | p:breakJoints() | |
2528 | end | |
2529 | end | |
2530 | weld(model:children()) | |
2531 | for i,v in pairs(model:children()) do v.Anchored = false end | |
2532 | pchar.Head.Anchored = false | |
2533 | model:MakeJoints() | |
2534 | end | |
2535 | ||
2536 | if pchar then | |
2537 | makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0)) | |
2538 | end | |
2539 | end | |
2540 | end) | |
2541 | ||
2542 | addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'}, | |
2543 | function(args, speaker) | |
2544 | local players = getPlayer(args[1], speaker) | |
2545 | for i,v in pairs(players)do | |
2546 | local pchar=_char(v) | |
2547 | for _, child in pairs( workspace:GetChildren()) do | |
2548 | if child.Name == gPlayers[v].Name .. "ball" then | |
2549 | child:Destroy() | |
2550 | end | |
2551 | end | |
2552 | end | |
2553 | end) | |
2554 | ||
2555 | local fastwait = function(time) | |
2556 | local expire = tick()+(time or 0.02999999999999999889) | |
2557 | while game:GetService("RunService").Heartbeat:wait() do | |
2558 | if tick() >= expire then return true end | |
2559 | end | |
2560 | end | |
2561 | ||
2562 | function arrest(name) | |
2563 | spawn(function() | |
2564 | local p = game:GetService("Players"):FindFirstChild(name) | |
2565 | local char = p.Character | |
2566 | local torso = p.Character:FindFirstChild("HumanoidRootPart") | |
2567 | local humanoid = p.Character:FindFirstChild("Humanoid") | |
2568 | if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then | |
2569 | local van = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587") | |
2570 | if van then | |
2571 | local function check() | |
2572 | 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 | |
2573 | return false | |
2574 | else | |
2575 | return true | |
2576 | end | |
2577 | end | |
2578 | ||
2579 | --local driver = van.Driver | |
2580 | --local grabber = van.Clown | |
2581 | local primary = van.Primary | |
2582 | --local door = van.Door | |
2583 | local tPos = torso.CFrame | |
2584 | ||
2585 | local sound = Instance.new("Sound",primary) | |
2586 | sound.SoundId = "rbxassetid://258529216" | |
2587 | sound.Looped = true | |
2588 | sound:Play() | |
2589 | ||
2590 | local chuckle = Instance.new("Sound",primary) | |
2591 | chuckle.SoundId = "rbxassetid://175964948" | |
2592 | chuckle.Looped = true | |
2593 | chuckle.Volume = 0.5 | |
2594 | chuckle:Play() | |
2595 | ||
2596 | van.PrimaryPart = van.Primary | |
2597 | van.Name = "ADONIS_VAN" | |
2598 | van.Parent = workspace | |
2599 | humanoid.Name = "NoResetForYou" | |
2600 | humanoid.WalkSpeed = 0 | |
2601 | sound.Pitch = 1.3 | |
2602 | ||
2603 | local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace) | |
2604 | music.Name = "COPSONG" | |
2605 | music.SoundId = "rbxassetid://132007810" | |
2606 | music.Volume = 1 | |
2607 | music.Looped = true | |
2608 | if not music.Playing then music:Play() end | |
2609 | ||
2610 | spawn(function() | |
2611 | while fastwait(0.2) do | |
2612 | van.Body.Lightbar.Red.PointLight.Enabled = true | |
2613 | van.Body.Lightbar.Blue.PointLight.Enabled = false | |
2614 | fastwait(0.2) | |
2615 | van.Body.Lightbar.Red.PointLight.Enabled = false | |
2616 | van.Body.Lightbar.Blue.PointLight.Enabled = true | |
2617 | end | |
2618 | end) | |
2619 | ||
2620 | for i = 1,200 do | |
2621 | if not check() then | |
2622 | break | |
2623 | else | |
2624 | van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0))) | |
2625 | fastwait(0.001*(i/5)) | |
2626 | end | |
2627 | end | |
2628 | ||
2629 | sound.Pitch = 0.9 | |
2630 | ||
2631 | fastwait(0.5) | |
2632 | if check() then | |
2633 | --door.Transparency = 1 | |
2634 | end | |
2635 | ||
2636 | local freeze = Instance.new("Sound",primary) | |
2637 | freeze.SoundId = "rbxassetid://163732279" | |
2638 | freeze.Volume = 5 | |
2639 | freeze:Play() | |
2640 | ||
2641 | fastwait(3) | |
2642 | ||
2643 | if check() then | |
2644 | torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0)) | |
2645 | end | |
2646 | ||
2647 | fastwait(0.5) | |
2648 | if check() then | |
2649 | --door.Transparency = 0 | |
2650 | end | |
2651 | fastwait(0.5) | |
2652 | ||
2653 | sound.Pitch = 1.3 | |
2654 | local gui = Instance.new("ScreenGui") | |
2655 | local frame = Instance.new("Frame",gui) | |
2656 | frame.BackgroundTransparency = 1 | |
2657 | frame.BackgroundColor3 = Color3.new(0,0,0) | |
2658 | frame.Position = UDim2.new(0,0,0,-36) | |
2659 | frame.Size = UDim2.new(1,0,1,36) | |
2660 | spawn(function() | |
2661 | for i = 1,0,-0.01 do | |
2662 | frame.BackgroundTransparency = i | |
2663 | fastwait(0.1) | |
2664 | end | |
2665 | frame.BackgroundTransparency = 0 | |
2666 | end) | |
2667 | ||
2668 | p.CameraMaxZoomDistance = 0.5 | |
2669 | ||
2670 | torso.Anchored = true | |
2671 | ||
2672 | for i = 1,400 do | |
2673 | if not check() then | |
2674 | break | |
2675 | else | |
2676 | van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0))) | |
2677 | torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0)) | |
2678 | fastwait(0.1/(i*5)) | |
2679 | ||
2680 | if i == 270 then | |
2681 | music.Volume = 5 | |
2682 | end | |
2683 | end | |
2684 | end | |
2685 | ||
2686 | local function KICK(P) | |
2687 | spawn(function() | |
2688 | if not FindTable(WL, P.Name) then | |
2689 | for i = 1,5 do | |
2690 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
2691 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
2692 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
2693 | spawn(function() | |
2694 | repeat fastwait() | |
2695 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
2696 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
2697 | end) | |
2698 | P.Character.HumanoidRootPart.Anchored = true | |
2699 | end | |
2700 | end | |
2701 | end | |
2702 | end) | |
2703 | end | |
2704 | ||
2705 | if p and p.Parent == game:GetService("Players") then | |
2706 | if p == game:GetService("Players").LocalPlayer then | |
2707 | fastwait(5) | |
2708 | end | |
2709 | torso.Anchored = false | |
2710 | p.CharacterAdded:Connect(function() | |
2711 | fastwait() | |
2712 | KICK(p) | |
2713 | end) | |
2714 | KICK(p) | |
2715 | end | |
2716 | fastwait(0.5) | |
2717 | pcall(function() van:Destroy() end) | |
2718 | pcall(function() gui:Destroy() end) | |
2719 | if not workspace:FindFirstChild("ADONIS_VAN") then | |
2720 | music:Destroy() | |
2721 | end | |
2722 | end | |
2723 | end | |
2724 | end) | |
2725 | end | |
2726 | ||
2727 | addcmd('arrest', 'arrests player',{}, | |
2728 | function(args, speaker) | |
2729 | local players = getPlayer(args[1], speaker) | |
2730 | for i,v in pairs(players)do | |
2731 | arrest(gPlayers[v].Name) | |
2732 | end | |
2733 | end) | |
2734 | ||
2735 | addcmd('nodummies', 'clears dummies',{}, | |
2736 | function(args, speaker) | |
2737 | for _, child in pairs( workspace:GetChildren()) do | |
2738 | if child:FindFirstChild('isdummy') then | |
2739 | child:Destroy() | |
2740 | end | |
2741 | end | |
2742 | end) | |
2743 | ||
2744 | addcmd('dummy','Make a dummy(usage: ;dummy name)',{}, | |
2745 | function(args, speaker) | |
2746 | local name = GLS(false, 0) | |
2747 | local lchar = game:GetService('Players').LocalPlayer | |
2748 | local Model0 = Instance.new("Model") | |
2749 | local Part1 = Instance.new("Part") | |
2750 | local SpecialMesh2 = Instance.new("SpecialMesh") | |
2751 | local Decal3 = Instance.new("Decal") | |
2752 | local Part4 = Instance.new("Part") | |
2753 | local Motor5 = Instance.new("Motor") | |
2754 | local Motor6 = Instance.new("Motor") | |
2755 | local Motor7 = Instance.new("Motor") | |
2756 | local Motor8 = Instance.new("Motor") | |
2757 | local Motor9 = Instance.new("Motor") | |
2758 | local Part10 = Instance.new("Part") | |
2759 | local Part11 = Instance.new("Part") | |
2760 | local Part12 = Instance.new("Part") | |
2761 | local Part13 = Instance.new("Part") | |
2762 | local dum = Instance.new("BoolValue") | |
2763 | dum.Name = "isdummy" | |
2764 | dum.Parent = Model0 | |
2765 | local Humanoid14 = Instance.new("Humanoid") | |
2766 | Model0.Name = name | |
2767 | Model0.Parent = workspace | |
2768 | Model0.PrimaryPart = Part1 | |
2769 | Part1.Name = "Head" | |
2770 | Part1.Parent = Model0 | |
2771 | Part1.BrickColor = BrickColor.new("Bright yellow") | |
2772 | Part1.CanCollide = false | |
2773 | Part1.FormFactor = Enum.FormFactor.Symmetric | |
2774 | Part1.Friction = 0 | |
2775 | Part1.Size = Vector3.new(2, 1, 1) | |
2776 | Part1.CFrame = CFrame.new(3.49000192, 4.49999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2777 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
2778 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2779 | Part1.Position = Vector3.new(3.49000192, 4.49999905, 7.75) | |
2780 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2781 | SpecialMesh2.Parent = Part1 | |
2782 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2783 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2784 | Decal3.Name = "face" | |
2785 | Decal3.Parent = Part1 | |
2786 | Decal3.Texture = "rbxasset://textures/face.png" | |
2787 | Part4.Name = "Torso" | |
2788 | Part4.Parent = Model0 | |
2789 | Part4.BrickColor = BrickColor.new("Bright blue") | |
2790 | Part4.CanCollide = false | |
2791 | Part4.FormFactor = Enum.FormFactor.Symmetric | |
2792 | Part4.Friction = 0 | |
2793 | Part4.Size = Vector3.new(2, 2, 1) | |
2794 | Part4.CFrame = CFrame.new(3.49000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2795 | Part4.LeftSurface = Enum.SurfaceType.Weld | |
2796 | Part4.RightSurface = Enum.SurfaceType.Weld | |
2797 | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
2798 | Part4.Position = Vector3.new(3.49000192, 2.99999905, 7.75) | |
2799 | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
2800 | Motor5.Name = "Right Shoulder" | |
2801 | Motor5.Parent = Part4 | |
2802 | Motor5.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2803 | Motor5.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2804 | Motor5.Part0 = Part4 | |
2805 | Motor5.Part1 = Part11 | |
2806 | Motor5.DesiredAngle = 0.083800852298737 | |
2807 | Motor5.MaxVelocity = 0.15000000596046 | |
2808 | Motor6.Name = "Left Shoulder" | |
2809 | Motor6.Parent = Part4 | |
2810 | Motor6.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2811 | Motor6.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2812 | Motor6.Part0 = Part4 | |
2813 | Motor6.Part1 = Part10 | |
2814 | Motor6.DesiredAngle = 0.083800852298737 | |
2815 | Motor6.MaxVelocity = 0.15000000596046 | |
2816 | Motor7.Name = "Left Hip" | |
2817 | Motor7.Parent = Part4 | |
2818 | Motor7.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2819 | Motor7.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2820 | Motor7.Part0 = Part4 | |
2821 | Motor7.Part1 = Part12 | |
2822 | Motor7.DesiredAngle = -0.083800852298737 | |
2823 | Motor7.MaxVelocity = 0.10000000149012 | |
2824 | Motor8.Name = "Neck" | |
2825 | Motor8.Parent = Part4 | |
2826 | Motor8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
2827 | Motor8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
2828 | Motor8.Part0 = Part4 | |
2829 | Motor8.Part1 = Part1 | |
2830 | Motor8.MaxVelocity = 0.10000000149012 | |
2831 | Motor9.Name = "Right Hip" | |
2832 | Motor9.Parent = Part4 | |
2833 | Motor9.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2834 | Motor9.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2835 | Motor9.Part0 = Part4 | |
2836 | Motor9.Part1 = Part13 | |
2837 | Motor9.DesiredAngle = -0.083800852298737 | |
2838 | Motor9.MaxVelocity = 0.10000000149012 | |
2839 | Part10.Name = "Left Arm" | |
2840 | Part10.Parent = Model0 | |
2841 | Part10.BrickColor = BrickColor.new("Bright yellow") | |
2842 | Part10.CanCollide = false | |
2843 | Part10.FormFactor = Enum.FormFactor.Symmetric | |
2844 | Part10.Size = Vector3.new(1, 2, 1) | |
2845 | Part10.CFrame = CFrame.new(1.99000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2846 | Part10.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2847 | Part10.Position = Vector3.new(1.99000192, 2.99999905, 7.75) | |
2848 | Part10.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2849 | Part11.Name = "Right Arm" | |
2850 | Part11.Parent = Model0 | |
2851 | Part11.BrickColor = BrickColor.new("Bright yellow") | |
2852 | Part11.CanCollide = false | |
2853 | Part11.FormFactor = Enum.FormFactor.Symmetric | |
2854 | Part11.Size = Vector3.new(1, 2, 1) | |
2855 | Part11.CFrame = CFrame.new(4.99000168, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2856 | Part11.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2857 | Part11.Position = Vector3.new(4.99000168, 2.99999905, 7.75) | |
2858 | Part11.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2859 | Part12.Name = "Left Leg" | |
2860 | Part12.Parent = Model0 | |
2861 | Part12.BrickColor = BrickColor.new("Br. yellowish green") | |
2862 | Part12.CanCollide = false | |
2863 | Part12.FormFactor = Enum.FormFactor.Symmetric | |
2864 | Part12.Size = Vector3.new(1, 2, 1) | |
2865 | Part12.CFrame = CFrame.new(2.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2866 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
2867 | Part12.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2868 | Part12.Position = Vector3.new(2.99000192, 0.999999046, 7.75) | |
2869 | Part12.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2870 | Part13.Name = "Right Leg" | |
2871 | Part13.Parent = Model0 | |
2872 | Part13.BrickColor = BrickColor.new("Br. yellowish green") | |
2873 | Part13.CanCollide = false | |
2874 | Part13.FormFactor = Enum.FormFactor.Symmetric | |
2875 | Part13.Size = Vector3.new(1, 2, 1) | |
2876 | Part13.CFrame = CFrame.new(3.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2877 | Part13.BottomSurface = Enum.SurfaceType.Smooth | |
2878 | Part13.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2879 | Part13.Position = Vector3.new(3.99000192, 0.999999046, 7.75) | |
2880 | Part13.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2881 | Humanoid14.Parent = Model0 | |
2882 | Humanoid14.RightLeg = Part13 | |
2883 | Humanoid14.LeftLeg = Part12 | |
2884 | Humanoid14.Torso = Part4 | |
2885 | Model0:MoveTo(game:GetService('Players').LocalPlayer.Character:GetModelCFrame().p) | |
2886 | Model0.Parent = game:GetService('Workspace') | |
2887 | end) | |
2888 | ||
2889 | addcmd('loopkill', 'rip person',{'lkill'}, | |
2890 | function(args, speaker) | |
2891 | local players = getPlayer(args[1], speaker) | |
2892 | for i,v in pairs(players)do | |
2893 | if not FindTable(loopkillT, _players[v].Name) then | |
2894 | table.insert(loopkillT, _players[v].Name) | |
2895 | if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else | |
2896 | Notify('Loopkilling player(s)') end end end end) | |
2897 | ||
2898 | addcmd('unloopkill', 'un rip person',{'unlkill'}, | |
2899 | function(args, speaker) | |
2900 | local players = getPlayer(args[1], speaker) | |
2901 | for i,v in pairs(players)do | |
2902 | if FindTable(loopkillT, _players[v].Name) then | |
2903 | table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name)) | |
2904 | if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else | |
2905 | Notify('No longer loopkilling player(s)') end end end end) | |
2906 | ||
2907 | addcmd('disabletools', 'removes their tools',{'loopremovetools'}, | |
2908 | function(args, speaker) | |
2909 | local players = getPlayer(args[1], speaker) | |
2910 | for i,v in pairs(players)do | |
2911 | if not FindTable(disabletoolsT, _players[v].Name) then | |
2912 | table.insert(disabletoolsT, _players[v].Name) | |
2913 | if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else | |
2914 | Notify('Disabled tools for player(s)') end end end end) | |
2915 | ||
2916 | addcmd('enabletools', 'lets them have tools',{}, | |
2917 | function(args, speaker) | |
2918 | local players = getPlayer(args[1], speaker) | |
2919 | for i,v in pairs(players)do | |
2920 | if FindTable(disabletoolsT, _players[v].Name) then | |
2921 | table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) wait(0.1) refresh(_players[v]) | |
2922 | if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else | |
2923 | Notify('Enabled tools for player(s)') end end end end) | |
2924 | ||
2925 | addcmd('refresh', 'refresh their player model',{'re'}, | |
2926 | function(args, speaker) | |
2927 | local players = getPlayer(args[1], speaker) | |
2928 | for i,v in pairs(players)do | |
2929 | refresh(_players[v]) | |
2930 | end end) | |
2931 | ||
2932 | local fastwait = function(time) | |
2933 | local expire = tick()+(time or 0.02999999999999999889) | |
2934 | while game:GetService("RunService").Heartbeat:wait() do | |
2935 | if tick() >= expire then return true end | |
2936 | end | |
2937 | end | |
2938 | ||
2939 | function gull(name) | |
2940 | spawn(function() | |
2941 | local char = game:GetService("Players")[name].Character | |
2942 | char.PrimaryPart = char.HumanoidRootPart | |
2943 | ||
2944 | local tors = game:GetService("Players")[name].Character.HumanoidRootPart | |
2945 | local initCFrame = tors.CFrame | |
2946 | ||
2947 | if char:FindFirstChild("Torso") then | |
2948 | char.Torso.Anchored = true | |
2949 | else | |
2950 | char.UpperTorso.Anchored = true | |
2951 | end | |
2952 | char:FindFirstChildOfClass("Humanoid").Name = "Sad" | |
2953 | ||
2954 | local gull = Instance.new("Part") | |
2955 | gull.Anchored = true | |
2956 | gull.CanCollide = false | |
2957 | gull.Position = Vector3.new(0,100000,0) | |
2958 | local mesh = Instance.new("SpecialMesh",gull) | |
2959 | mesh.MeshId = "http://www.roblox.com/asset/?id=272501436" | |
2960 | mesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
2961 | mesh.Scale = Vector3.new(10,10,10) | |
2962 | ||
2963 | local leftWing = Instance.new("Part",gull) | |
2964 | leftWing.CanCollide = false | |
2965 | local lmesh = Instance.new("SpecialMesh",leftWing) | |
2966 | lmesh.MeshId = "http://www.roblox.com/asset/?id=267684584" | |
2967 | lmesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
2968 | lmesh.Scale = Vector3.new(10,10,10) | |
2969 | local leftMotor = Instance.new("Motor6D",gull) | |
2970 | leftMotor.MaxVelocity = 1 | |
2971 | leftMotor.Part0 = gull | |
2972 | leftMotor.Part1 = leftWing | |
2973 | leftMotor.C0 = CFrame.new(-50.2919998, -0.0920021087, 0.280000001) | |
2974 | ||
2975 | local rightWing = Instance.new("Part",gull) | |
2976 | rightWing.CanCollide = false | |
2977 | local rmesh = Instance.new("SpecialMesh",rightWing) | |
2978 | rmesh.MeshId = "http://www.roblox.com/asset/?id=267684651" | |
2979 | rmesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
2980 | rmesh.Scale = Vector3.new(10,10,10) | |
2981 | local rightMotor = Instance.new("Motor6D",gull) | |
2982 | rightMotor.MaxVelocity = 1 | |
2983 | rightMotor.Part0 = gull | |
2984 | rightMotor.Part1 = rightWing | |
2985 | rightMotor.C0 = CFrame.new(47.1930008, -0.0670021027, 0.280000001) | |
2986 | ||
2987 | local sound = Instance.new("Sound",gull) | |
2988 | sound.SoundId = "rbxassetid://160877039" | |
2989 | sound.Volume = 10 | |
2990 | gull.Parent = workspace | |
2991 | ||
2992 | for i = 400,-1000,-2 do | |
2993 | local der = 0.02*i | |
2994 | local angle = math.atan(der/1) | |
2995 | gull.CFrame = initCFrame*CFrame.Angles(angle,math.pi,0) + initCFrame.lookVector * (i+5) + Vector3.new(0,0.01*i^2+7,0) | |
2996 | if i == 0 then sound:Play() end | |
2997 | if i <= 0 then | |
2998 | char:SetPrimaryPartCFrame(gull.CFrame) | |
2999 | local nextAngle = -0.2*math.sin(0.05*math.pi*(i)) | |
3000 | leftMotor.DesiredAngle = -nextAngle | |
3001 | leftMotor.C0 = CFrame.new(-50.2919998, 47.193*math.tan(nextAngle), 0.280000001) | |
3002 | rightMotor.DesiredAngle = nextAngle | |
3003 | rightMotor.C0 = CFrame.new(47.1930008, 47.193*math.tan(nextAngle), 0.280000001) | |
3004 | end | |
3005 | game:GetService("RunService").RenderStepped:wait() | |
3006 | end | |
3007 | ||
3008 | local function KICK(P) | |
3009 | spawn(function() | |
3010 | if not FindTable(WL, P.Name) then | |
3011 | for i = 1,5 do | |
3012 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
3013 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
3014 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
3015 | spawn(function() | |
3016 | repeat wait() | |
3017 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
3018 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
3019 | end) | |
3020 | P.Character.HumanoidRootPart.Anchored = true | |
3021 | end | |
3022 | end | |
3023 | end | |
3024 | end) | |
3025 | end | |
3026 | ||
3027 | if char:FindFirstChild("Torso") then | |
3028 | char.Torso.Anchored = false | |
3029 | else | |
3030 | char.UpperTorso.Anchored = false | |
3031 | end | |
3032 | ||
3033 | spawn(function() | |
3034 | if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(5) end | |
3035 | game:GetService("Players")[name].CharacterAdded:Connect(function() | |
3036 | wait() | |
3037 | KICK(game:GetService("Players")[name]) | |
3038 | end) | |
3039 | KICK(game:GetService("Players")[name]) | |
3040 | end) | |
3041 | ||
3042 | local go = Instance.new("BodyVelocity",gull) | |
3043 | go.Velocity = Vector3.new(0,1000,0) | |
3044 | go.MaxForce = Vector3.new(1000000,1000000,1000000) | |
3045 | gull.Anchored = false | |
3046 | end) | |
3047 | end | |
3048 | ||
3049 | addcmd('seagull', 'seagulls player',{'gull'}, | |
3050 | function(args, speaker) | |
3051 | local players = getPlayer(args[1], speaker) | |
3052 | for i,v in pairs(players)do | |
3053 | gull(gPlayers[v].Name) | |
3054 | end | |
3055 | end) | |
3056 | ||
3057 | local song = nil | |
3058 | function zinniaKick(name) | |
3059 | spawn(function() | |
3060 | if song == nil or song.Parent == nil then | |
3061 | song = Instance.new("Sound",workspace) | |
3062 | song.SoundId = "rbxassetid://190423831" | |
3063 | song.Volume = 1 | |
3064 | song.Looped = true | |
3065 | song:Play() | |
3066 | end | |
3067 | local zin = Instance.new("Part") | |
3068 | zin.Name = "CuteZinnia" | |
3069 | zin.Anchored = true | |
3070 | zin.CanCollide = false | |
3071 | zin.Locked = true | |
3072 | local mesh = Instance.new("SpecialMesh") | |
3073 | mesh.MeshId = "rbxassetid://1175670539" | |
3074 | mesh.TextureId = "rbxassetid://1175670558" | |
3075 | mesh.Scale = Vector3.new(0.05,0.05,0.05) | |
3076 | mesh.Offset = Vector3.new(0,0.88,0) | |
3077 | mesh.Parent = zin | |
3078 | local char = game:GetService("Players")[name].Character | |
3079 | char.PrimaryPart = char.HumanoidRootPart | |
3080 | if char:FindFirstChild("Torso") then | |
3081 | char.Torso.Anchored = true | |
3082 | else | |
3083 | char.UpperTorso.Anchored = true | |
3084 | end | |
3085 | 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)) | |
3086 | zin.Parent = workspace | |
3087 | 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)}) | |
3088 | tween:Play() | |
3089 | fastwait(3) | |
3090 | for i = 50,1,-1 do | |
3091 | 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)) | |
3092 | fastwait() | |
3093 | end | |
3094 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3095 | fastwait(1) | |
3096 | local turns = 0 | |
3097 | ||
3098 | while turns < 200 do | |
3099 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3100 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3101 | turns = turns + 1 | |
3102 | fastwait() | |
3103 | end | |
3104 | for i = 1,10 do | |
3105 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3106 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3107 | fastwait() | |
3108 | end | |
3109 | local rX,rZ = 0,0 | |
3110 | repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000 | |
3111 | repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000 | |
3112 | local bv = Instance.new("BodyForce",char.HumanoidRootPart) | |
3113 | bv.Force = Vector3.new(rX,10000,rZ) | |
3114 | if char:FindFirstChild("Torso") then | |
3115 | char.Torso.Anchored = false | |
3116 | else | |
3117 | char.UpperTorso.Anchored = false | |
3118 | end | |
3119 | function KICK(P) | |
3120 | spawn(function() | |
3121 | if not FindTable(WL, P.Name) then | |
3122 | for i = 1,5 do | |
3123 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
3124 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
3125 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
3126 | spawn(function() | |
3127 | repeat fastwait() | |
3128 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
3129 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
3130 | end) | |
3131 | P.Character.HumanoidRootPart.Anchored = true | |
3132 | end | |
3133 | end | |
3134 | end | |
3135 | end) | |
3136 | end | |
3137 | spawn(function() | |
3138 | if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end | |
3139 | game:GetService("Players")[name].CharacterAdded:Connect(function() | |
3140 | fastwait() | |
3141 | KICK(game:GetService("Players")[name]) | |
3142 | end) | |
3143 | KICK(game:GetService("Players")[name]) | |
3144 | end) | |
3145 | for i = 1,20 do | |
3146 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3147 | fastwait() | |
3148 | end | |
3149 | while turns > 0 do | |
3150 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3151 | turns = turns - 5 | |
3152 | fastwait() | |
3153 | end | |
3154 | fastwait(1) | |
3155 | zin.Name = "GoneZinnia" | |
3156 | local go = Instance.new("BodyVelocity",zin) | |
3157 | go.Velocity = zin.CFrame.lookVector * 100 | |
3158 | go.MaxForce = Vector3.new(1000000,1000000,1000000) | |
3159 | zin.Anchored = false | |
3160 | fastwait(20) | |
3161 | if song and not workspace:FindFirstChild("CuteZinnia") then | |
3162 | song:Destroy() | |
3163 | song = nil | |
3164 | end | |
3165 | end) | |
3166 | end | |
3167 | ||
3168 | addcmd('zinnia', 'asdf for moon',{}, | |
3169 | function(args, speaker) | |
3170 | local players = getPlayer(args[1], speaker) | |
3171 | for i,v in pairs(players)do | |
3172 | zinniaKick(gPlayers[v].Name) | |
3173 | end | |
3174 | end) | |
3175 | ||
3176 | addcmd('rainbowname', 'color spam their name tag',{'rname'}, | |
3177 | function(args, speaker) | |
3178 | local players = getPlayer(args[1], speaker) | |
3179 | for i,v in pairs(players)do | |
3180 | if not FindTable(rainbowT, _players[v].Name) then | |
3181 | table.insert(rainbowT, _players[v].Name) | |
3182 | if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else | |
3183 | Notify('Gave player(s) rainbow name') end end end end) | |
3184 | ||
3185 | addcmd('unrainbowname', 'removes their colorful name',{'unrname'}, | |
3186 | function(args, speaker) | |
3187 | local players = getPlayer(args[1], speaker) | |
3188 | for i,v in pairs(players)do | |
3189 | if FindTable(rainbowT, _players[v].Name) then | |
3190 | table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name)) | |
3191 | _players[v].Neutral = true | |
3192 | if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else | |
3193 | Notify('Disabled rainbow name for player(s)') end end end end) | |
3194 | ||
3195 | addcmd('terrain', 'gives you terrain tools',{'tt'}, | |
3196 | function(args, speaker) | |
3197 | if speaker.userId ~= LP.userId then | |
3198 | lponly(speaker) | |
3199 | else | |
3200 | --Terrain Script | |
3201 | --Edge/IoIman616 | |
3202 | ||
3203 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do | |
3204 | if child.Name == "MaterialGui" then | |
3205 | child:Destroy() | |
3206 | end | |
3207 | end | |
3208 | ||
3209 | function sandbox(var,func) | |
3210 | local env = getfenv(func) | |
3211 | local newenv = setmetatable({},{ | |
3212 | __index = function(self,k) | |
3213 | if k=="script" then | |
3214 | return var | |
3215 | else | |
3216 | return env[k] | |
3217 | end | |
3218 | end, | |
3219 | }) | |
3220 | setfenv(func,newenv) | |
3221 | return func | |
3222 | end | |
3223 | cors = {} | |
3224 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3225 | HopperBin0 = Instance.new("HopperBin") | |
3226 | HopperBin0.Name = "Terrain Build" | |
3227 | HopperBin0.Parent = mas | |
3228 | for i,v in pairs(mas:GetChildren()) do | |
3229 | v.Parent = game:GetService("Players").LocalPlayer.Backpack | |
3230 | pcall(function() v:MakeJoints() end) | |
3231 | end | |
3232 | mas:Destroy() | |
3233 | for i,v in pairs(cors) do | |
3234 | spawn(function() | |
3235 | pcall(v) | |
3236 | end) | |
3237 | end | |
3238 | ||
3239 | wait(0.01) | |
3240 | ||
3241 | function sandbox(var,func) | |
3242 | local env = getfenv(func) | |
3243 | local newenv = setmetatable({},{ | |
3244 | __index = function(self,k) | |
3245 | if k=="script" then | |
3246 | return var | |
3247 | else | |
3248 | return env[k] | |
3249 | end | |
3250 | end, | |
3251 | }) | |
3252 | setfenv(func,newenv) | |
3253 | return func | |
3254 | end | |
3255 | cors = {} | |
3256 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3257 | ScreenGui0 = Instance.new("ScreenGui") | |
3258 | ImageLabel1 = Instance.new("ImageLabel") | |
3259 | ImageButton2 = Instance.new("ImageButton") | |
3260 | Frame3 = Instance.new("Frame") | |
3261 | NumberValue4 = Instance.new("NumberValue") | |
3262 | ImageButton5 = Instance.new("ImageButton") | |
3263 | Frame6 = Instance.new("Frame") | |
3264 | NumberValue7 = Instance.new("NumberValue") | |
3265 | ImageButton8 = Instance.new("ImageButton") | |
3266 | Frame9 = Instance.new("Frame") | |
3267 | NumberValue10 = Instance.new("NumberValue") | |
3268 | ImageButton11 = Instance.new("ImageButton") | |
3269 | Frame12 = Instance.new("Frame") | |
3270 | NumberValue13 = Instance.new("NumberValue") | |
3271 | ImageButton14 = Instance.new("ImageButton") | |
3272 | Frame15 = Instance.new("Frame") | |
3273 | NumberValue16 = Instance.new("NumberValue") | |
3274 | ImageButton17 = Instance.new("ImageButton") | |
3275 | Frame18 = Instance.new("Frame") | |
3276 | NumberValue19 = Instance.new("NumberValue") | |
3277 | ImageButton20 = Instance.new("ImageButton") | |
3278 | Frame21 = Instance.new("Frame") | |
3279 | NumberValue22 = Instance.new("NumberValue") | |
3280 | ImageButton23 = Instance.new("ImageButton") | |
3281 | Frame24 = Instance.new("Frame") | |
3282 | NumberValue25 = Instance.new("NumberValue") | |
3283 | ImageButton26 = Instance.new("ImageButton") | |
3284 | Frame27 = Instance.new("Frame") | |
3285 | NumberValue28 = Instance.new("NumberValue") | |
3286 | ImageButton29 = Instance.new("ImageButton") | |
3287 | Frame30 = Instance.new("Frame") | |
3288 | NumberValue31 = Instance.new("NumberValue") | |
3289 | ImageButton32 = Instance.new("ImageButton") | |
3290 | Frame33 = Instance.new("Frame") | |
3291 | NumberValue34 = Instance.new("NumberValue") | |
3292 | ImageButton35 = Instance.new("ImageButton") | |
3293 | Frame36 = Instance.new("Frame") | |
3294 | NumberValue37 = Instance.new("NumberValue") | |
3295 | ImageButton38 = Instance.new("ImageButton") | |
3296 | Frame39 = Instance.new("Frame") | |
3297 | NumberValue40 = Instance.new("NumberValue") | |
3298 | ImageButton41 = Instance.new("ImageButton") | |
3299 | Frame42 = Instance.new("Frame") | |
3300 | NumberValue43 = Instance.new("NumberValue") | |
3301 | ImageButton44 = Instance.new("ImageButton") | |
3302 | Frame45 = Instance.new("Frame") | |
3303 | NumberValue46 = Instance.new("NumberValue") | |
3304 | ImageButton47 = Instance.new("ImageButton") | |
3305 | Frame48 = Instance.new("Frame") | |
3306 | NumberValue49 = Instance.new("NumberValue") | |
3307 | ImageButton50 = Instance.new("ImageButton") | |
3308 | Frame51 = Instance.new("Frame") | |
3309 | NumberValue52 = Instance.new("NumberValue") | |
3310 | ImageButton53 = Instance.new("ImageButton") | |
3311 | Frame54 = Instance.new("Frame") | |
3312 | ScreenGui0.Name = "MaterialGui" | |
3313 | ScreenGui0.Parent = mas | |
3314 | ImageLabel1.Name = "MaterialMenu" | |
3315 | ImageLabel1.Parent = ScreenGui0 | |
3316 | ImageLabel1.Transparency = 1 | |
3317 | ImageLabel1.Size = UDim2.new(0, 100, 0, 450) | |
3318 | ImageLabel1.Position = UDim2.new(0, 0, 1, -550) | |
3319 | ImageLabel1.BackgroundTransparency = 1 | |
3320 | ImageLabel1.ZIndex = 2 | |
3321 | ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png" | |
3322 | ImageButton2.Name = "Grass" | |
3323 | ImageButton2.Parent = ImageLabel1 | |
3324 | ImageButton2.Transparency = 1 | |
3325 | ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3326 | ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0) | |
3327 | ImageButton2.BackgroundTransparency = 1 | |
3328 | ImageButton2.ZIndex = 4 | |
3329 | ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112" | |
3330 | Frame3.Name = "Selection" | |
3331 | Frame3.Parent = ImageButton2 | |
3332 | Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3333 | Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3334 | Frame3.BackgroundColor3 = Color3.new(1, 1, 1) | |
3335 | Frame3.BorderSizePixel = 0 | |
3336 | Frame3.ZIndex = 3 | |
3337 | NumberValue4.Name = "num" | |
3338 | NumberValue4.Parent = ImageButton2 | |
3339 | NumberValue4.Value = 1 | |
3340 | ImageButton5.Name = "Sand" | |
3341 | ImageButton5.Parent = ImageLabel1 | |
3342 | ImageButton5.Transparency = 1 | |
3343 | ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3344 | ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0) | |
3345 | ImageButton5.BackgroundTransparency = 1 | |
3346 | ImageButton5.ZIndex = 4 | |
3347 | ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652" | |
3348 | Frame6.Name = "Selection" | |
3349 | Frame6.Parent = ImageButton5 | |
3350 | Frame6.Transparency = 1 | |
3351 | Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3352 | Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3353 | Frame6.BackgroundColor3 = Color3.new(1, 1, 1) | |
3354 | Frame6.BackgroundTransparency = 1 | |
3355 | Frame6.BorderSizePixel = 0 | |
3356 | Frame6.ZIndex = 3 | |
3357 | NumberValue7.Name = "num" | |
3358 | NumberValue7.Parent = ImageButton5 | |
3359 | NumberValue7.Value = 2 | |
3360 | ImageButton8.Name = "Brick" | |
3361 | ImageButton8.Parent = ImageLabel1 | |
3362 | ImageButton8.Transparency = 1 | |
3363 | ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3364 | ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0) | |
3365 | ImageButton8.BackgroundTransparency = 1 | |
3366 | ImageButton8.ZIndex = 4 | |
3367 | ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537" | |
3368 | Frame9.Name = "Selection" | |
3369 | Frame9.Parent = ImageButton8 | |
3370 | Frame9.Transparency = 1 | |
3371 | Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3372 | Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3373 | Frame9.BackgroundColor3 = Color3.new(1, 1, 1) | |
3374 | Frame9.BackgroundTransparency = 1 | |
3375 | Frame9.BorderSizePixel = 0 | |
3376 | Frame9.ZIndex = 3 | |
3377 | NumberValue10.Name = "num" | |
3378 | NumberValue10.Parent = ImageButton8 | |
3379 | NumberValue10.Value = 3 | |
3380 | ImageButton11.Name = "Granite" | |
3381 | ImageButton11.Parent = ImageLabel1 | |
3382 | ImageButton11.Transparency = 1 | |
3383 | ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3384 | ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0) | |
3385 | ImageButton11.BackgroundTransparency = 1 | |
3386 | ImageButton11.ZIndex = 4 | |
3387 | ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153" | |
3388 | Frame12.Name = "Selection" | |
3389 | Frame12.Parent = ImageButton11 | |
3390 | Frame12.Transparency = 1 | |
3391 | Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3392 | Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3393 | Frame12.BackgroundColor3 = Color3.new(1, 1, 1) | |
3394 | Frame12.BackgroundTransparency = 1 | |
3395 | Frame12.BorderSizePixel = 0 | |
3396 | Frame12.ZIndex = 3 | |
3397 | NumberValue13.Name = "num" | |
3398 | NumberValue13.Parent = ImageButton11 | |
3399 | NumberValue13.Value = 4 | |
3400 | ImageButton14.Name = "Asphalt" | |
3401 | ImageButton14.Parent = ImageLabel1 | |
3402 | ImageButton14.Transparency = 1 | |
3403 | ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3404 | ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0) | |
3405 | ImageButton14.BackgroundTransparency = 1 | |
3406 | ImageButton14.ZIndex = 4 | |
3407 | ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038" | |
3408 | Frame15.Name = "Selection" | |
3409 | Frame15.Parent = ImageButton14 | |
3410 | Frame15.Transparency = 1 | |
3411 | Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3412 | Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3413 | Frame15.BackgroundColor3 = Color3.new(1, 1, 1) | |
3414 | Frame15.BackgroundTransparency = 1 | |
3415 | Frame15.BorderSizePixel = 0 | |
3416 | Frame15.ZIndex = 3 | |
3417 | NumberValue16.Name = "num" | |
3418 | NumberValue16.Parent = ImageButton14 | |
3419 | NumberValue16.Value = 5 | |
3420 | ImageButton17.Name = "Iron" | |
3421 | ImageButton17.Parent = ImageLabel1 | |
3422 | ImageButton17.Transparency = 1 | |
3423 | ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3424 | ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0) | |
3425 | ImageButton17.BackgroundTransparency = 1 | |
3426 | ImageButton17.ZIndex = 4 | |
3427 | ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093" | |
3428 | Frame18.Name = "Selection" | |
3429 | Frame18.Parent = ImageButton17 | |
3430 | Frame18.Transparency = 1 | |
3431 | Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3432 | Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3433 | Frame18.BackgroundColor3 = Color3.new(1, 1, 1) | |
3434 | Frame18.BackgroundTransparency = 1 | |
3435 | Frame18.BorderSizePixel = 0 | |
3436 | Frame18.ZIndex = 3 | |
3437 | NumberValue19.Name = "num" | |
3438 | NumberValue19.Parent = ImageButton17 | |
3439 | NumberValue19.Value = 6 | |
3440 | ImageButton20.Name = "Aluminum" | |
3441 | ImageButton20.Parent = ImageLabel1 | |
3442 | ImageButton20.Transparency = 1 | |
3443 | ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3444 | ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0) | |
3445 | ImageButton20.BackgroundTransparency = 1 | |
3446 | ImageButton20.ZIndex = 4 | |
3447 | ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995" | |
3448 | Frame21.Name = "Selection" | |
3449 | Frame21.Parent = ImageButton20 | |
3450 | Frame21.Transparency = 1 | |
3451 | Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3452 | Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3453 | Frame21.BackgroundColor3 = Color3.new(1, 1, 1) | |
3454 | Frame21.BackgroundTransparency = 1 | |
3455 | Frame21.BorderSizePixel = 0 | |
3456 | Frame21.ZIndex = 3 | |
3457 | NumberValue22.Name = "num" | |
3458 | NumberValue22.Parent = ImageButton20 | |
3459 | NumberValue22.Value = 7 | |
3460 | ImageButton23.Name = "Gold" | |
3461 | ImageButton23.Parent = ImageLabel1 | |
3462 | ImageButton23.Transparency = 1 | |
3463 | ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3464 | ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0) | |
3465 | ImageButton23.BackgroundTransparency = 1 | |
3466 | ImageButton23.ZIndex = 4 | |
3467 | ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118" | |
3468 | Frame24.Name = "Selection" | |
3469 | Frame24.Parent = ImageButton23 | |
3470 | Frame24.Transparency = 1 | |
3471 | Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3472 | Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3473 | Frame24.BackgroundColor3 = Color3.new(1, 1, 1) | |
3474 | Frame24.BackgroundTransparency = 1 | |
3475 | Frame24.BorderSizePixel = 0 | |
3476 | Frame24.ZIndex = 3 | |
3477 | NumberValue25.Name = "num" | |
3478 | NumberValue25.Parent = ImageButton23 | |
3479 | NumberValue25.Value = 8 | |
3480 | ImageButton26.Name = "Plank" | |
3481 | ImageButton26.Parent = ImageLabel1 | |
3482 | ImageButton26.Transparency = 1 | |
3483 | ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3484 | ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0) | |
3485 | ImageButton26.BackgroundTransparency = 1 | |
3486 | ImageButton26.ZIndex = 4 | |
3487 | ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015" | |
3488 | Frame27.Name = "Selection" | |
3489 | Frame27.Parent = ImageButton26 | |
3490 | Frame27.Transparency = 1 | |
3491 | Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3492 | Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3493 | Frame27.BackgroundColor3 = Color3.new(1, 1, 1) | |
3494 | Frame27.BackgroundTransparency = 1 | |
3495 | Frame27.BorderSizePixel = 0 | |
3496 | Frame27.ZIndex = 3 | |
3497 | NumberValue28.Name = "num" | |
3498 | NumberValue28.Parent = ImageButton26 | |
3499 | NumberValue28.Value = 9 | |
3500 | ImageButton29.Name = "Log" | |
3501 | ImageButton29.Parent = ImageLabel1 | |
3502 | ImageButton29.Transparency = 1 | |
3503 | ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3504 | ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0) | |
3505 | ImageButton29.BackgroundTransparency = 1 | |
3506 | ImageButton29.ZIndex = 4 | |
3507 | ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051" | |
3508 | Frame30.Name = "Selection" | |
3509 | Frame30.Parent = ImageButton29 | |
3510 | Frame30.Transparency = 1 | |
3511 | Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3512 | Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3513 | Frame30.BackgroundColor3 = Color3.new(1, 1, 1) | |
3514 | Frame30.BackgroundTransparency = 1 | |
3515 | Frame30.BorderSizePixel = 0 | |
3516 | Frame30.ZIndex = 3 | |
3517 | NumberValue31.Name = "num" | |
3518 | NumberValue31.Parent = ImageButton29 | |
3519 | NumberValue31.Value = 10 | |
3520 | ImageButton32.Name = "Gravel" | |
3521 | ImageButton32.Parent = ImageLabel1 | |
3522 | ImageButton32.Transparency = 1 | |
3523 | ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3524 | ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0) | |
3525 | ImageButton32.BackgroundTransparency = 1 | |
3526 | ImageButton32.ZIndex = 4 | |
3527 | ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206" | |
3528 | Frame33.Name = "Selection" | |
3529 | Frame33.Parent = ImageButton32 | |
3530 | Frame33.Transparency = 1 | |
3531 | Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3532 | Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3533 | Frame33.BackgroundColor3 = Color3.new(1, 1, 1) | |
3534 | Frame33.BackgroundTransparency = 1 | |
3535 | Frame33.BorderSizePixel = 0 | |
3536 | Frame33.ZIndex = 3 | |
3537 | NumberValue34.Name = "num" | |
3538 | NumberValue34.Parent = ImageButton32 | |
3539 | NumberValue34.Value = 11 | |
3540 | ImageButton35.Name = "Cinder" | |
3541 | ImageButton35.Parent = ImageLabel1 | |
3542 | ImageButton35.Transparency = 1 | |
3543 | ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3544 | ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0) | |
3545 | ImageButton35.BackgroundTransparency = 1 | |
3546 | ImageButton35.ZIndex = 4 | |
3547 | ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103" | |
3548 | Frame36.Name = "Selection" | |
3549 | Frame36.Parent = ImageButton35 | |
3550 | Frame36.Transparency = 1 | |
3551 | Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3552 | Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3553 | Frame36.BackgroundColor3 = Color3.new(1, 1, 1) | |
3554 | Frame36.BackgroundTransparency = 1 | |
3555 | Frame36.BorderSizePixel = 0 | |
3556 | Frame36.ZIndex = 3 | |
3557 | NumberValue37.Name = "num" | |
3558 | NumberValue37.Parent = ImageButton35 | |
3559 | NumberValue37.Value = 12 | |
3560 | ImageButton38.Name = "Stone" | |
3561 | ImageButton38.Parent = ImageLabel1 | |
3562 | ImageButton38.Transparency = 1 | |
3563 | ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3564 | ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0) | |
3565 | ImageButton38.BackgroundTransparency = 1 | |
3566 | ImageButton38.ZIndex = 4 | |
3567 | ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804" | |
3568 | Frame39.Name = "Selection" | |
3569 | Frame39.Parent = ImageButton38 | |
3570 | Frame39.Transparency = 1 | |
3571 | Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3572 | Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3573 | Frame39.BackgroundColor3 = Color3.new(1, 1, 1) | |
3574 | Frame39.BackgroundTransparency = 1 | |
3575 | Frame39.BorderSizePixel = 0 | |
3576 | Frame39.ZIndex = 3 | |
3577 | NumberValue40.Name = "num" | |
3578 | NumberValue40.Parent = ImageButton38 | |
3579 | NumberValue40.Value = 13 | |
3580 | ImageButton41.Name = "Cement" | |
3581 | ImageButton41.Parent = ImageLabel1 | |
3582 | ImageButton41.Transparency = 1 | |
3583 | ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3584 | ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0) | |
3585 | ImageButton41.BackgroundTransparency = 1 | |
3586 | ImageButton41.ZIndex = 4 | |
3587 | ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059" | |
3588 | Frame42.Name = "Selection" | |
3589 | Frame42.Parent = ImageButton41 | |
3590 | Frame42.Transparency = 1 | |
3591 | Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3592 | Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3593 | Frame42.BackgroundColor3 = Color3.new(1, 1, 1) | |
3594 | Frame42.BackgroundTransparency = 1 | |
3595 | Frame42.BorderSizePixel = 0 | |
3596 | Frame42.ZIndex = 3 | |
3597 | NumberValue43.Name = "num" | |
3598 | NumberValue43.Parent = ImageButton41 | |
3599 | NumberValue43.Value = 14 | |
3600 | ImageButton44.Name = "Red Plastic" | |
3601 | ImageButton44.Parent = ImageLabel1 | |
3602 | ImageButton44.Transparency = 1 | |
3603 | ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3604 | ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0) | |
3605 | ImageButton44.BackgroundTransparency = 1 | |
3606 | ImageButton44.ZIndex = 4 | |
3607 | ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848" | |
3608 | Frame45.Name = "Selection" | |
3609 | Frame45.Parent = ImageButton44 | |
3610 | Frame45.Transparency = 1 | |
3611 | Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3612 | Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3613 | Frame45.BackgroundColor3 = Color3.new(1, 1, 1) | |
3614 | Frame45.BackgroundTransparency = 1 | |
3615 | Frame45.BorderSizePixel = 0 | |
3616 | Frame45.ZIndex = 3 | |
3617 | NumberValue46.Name = "num" | |
3618 | NumberValue46.Parent = ImageButton44 | |
3619 | NumberValue46.Value = 15 | |
3620 | ImageButton47.Name = "Blue Plastic" | |
3621 | ImageButton47.Parent = ImageLabel1 | |
3622 | ImageButton47.Transparency = 1 | |
3623 | ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3624 | ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0) | |
3625 | ImageButton47.BackgroundTransparency = 1 | |
3626 | ImageButton47.ZIndex = 4 | |
3627 | ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924" | |
3628 | Frame48.Name = "Selection" | |
3629 | Frame48.Parent = ImageButton47 | |
3630 | Frame48.Transparency = 1 | |
3631 | Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3632 | Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3633 | Frame48.BackgroundColor3 = Color3.new(1, 1, 1) | |
3634 | Frame48.BackgroundTransparency = 1 | |
3635 | Frame48.BorderSizePixel = 0 | |
3636 | Frame48.ZIndex = 3 | |
3637 | NumberValue49.Name = "num" | |
3638 | NumberValue49.Parent = ImageButton47 | |
3639 | NumberValue49.Value = 16 | |
3640 | ImageButton50.Name = "Water" | |
3641 | ImageButton50.Parent = ImageLabel1 | |
3642 | ImageButton50.Transparency = 1 | |
3643 | ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3644 | ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0) | |
3645 | ImageButton50.BackgroundTransparency = 1 | |
3646 | ImageButton50.ZIndex = 4 | |
3647 | ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697" | |
3648 | Frame51.Name = "Selection" | |
3649 | Frame51.Parent = ImageButton50 | |
3650 | Frame51.Transparency = 1 | |
3651 | Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3652 | Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3653 | Frame51.BackgroundColor3 = Color3.new(1, 1, 1) | |
3654 | Frame51.BackgroundTransparency = 1 | |
3655 | Frame51.BorderSizePixel = 0 | |
3656 | Frame51.ZIndex = 3 | |
3657 | NumberValue52.Name = "num" | |
3658 | NumberValue52.Parent = ImageButton50 | |
3659 | NumberValue52.Value = 17 | |
3660 | ImageButton53.Name = "Dig" | |
3661 | ImageButton53.Parent = ImageLabel1 | |
3662 | ImageButton53.Transparency = 1 | |
3663 | ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3664 | ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0) | |
3665 | ImageButton53.BackgroundTransparency = 1 | |
3666 | ImageButton53.ZIndex = 4 | |
3667 | ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201" | |
3668 | Frame54.Name = "Selection" | |
3669 | Frame54.Parent = ImageButton53 | |
3670 | Frame54.Transparency = 1 | |
3671 | Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3672 | Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3673 | Frame54.BackgroundColor3 = Color3.new(1, 1, 1) | |
3674 | Frame54.BackgroundTransparency = 1 | |
3675 | Frame54.BorderSizePixel = 0 | |
3676 | Frame54.ZIndex = 3 | |
3677 | for i,v in pairs(mas:GetChildren()) do | |
3678 | v.Parent = gPlayers.LocalPlayer.PlayerGui | |
3679 | pcall(function() v:MakeJoints() end) | |
3680 | end | |
3681 | mas:Destroy() | |
3682 | for i,v in pairs(cors) do | |
3683 | spawn(function() | |
3684 | pcall(v) | |
3685 | end) | |
3686 | end | |
3687 | wait(0.01) | |
3688 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
3689 | material = 1 | |
3690 | local Terrain = workspace.Terrain | |
3691 | local CC = workspace.CurrentCamera | |
3692 | ||
3693 | local SelB = Instance.new("SelectionBox") | |
3694 | SelB.Color = BrickColor.new("Bright green") | |
3695 | ||
3696 | local SelP = Instance.new("Part") | |
3697 | SelP.Anchored = true | |
3698 | SelP.formFactor = Enum.FormFactor.Custom | |
3699 | ||
3700 | HopperBin0.Selected:connect(function(M) | |
3701 | SelB.Parent = gPlayers.LocalPlayer.PlayerGui | |
3702 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true | |
3703 | SelB.Adornee = nil | |
3704 | ||
3705 | local ClickState = "None" | |
3706 | ||
3707 | local ClickType = 1 | |
3708 | ||
3709 | local TerrainClick = 1 | |
3710 | ||
3711 | local P1 = nil | |
3712 | ||
3713 | M.KeyDown:connect(function(K) | |
3714 | if K == "q" then | |
3715 | ClickType = 1 | |
3716 | elseif K == "e" then | |
3717 | ClickType = 2 | |
3718 | elseif K == "z" then | |
3719 | TerrainClick = 0 | |
3720 | elseif K == "x" then | |
3721 | TerrainClick = 1 | |
3722 | elseif K == "c" then | |
3723 | TerrainClick = 2 | |
3724 | elseif K == "v" then | |
3725 | TerrainClick = 3 | |
3726 | elseif K == "b" then | |
3727 | TerrainClick = 4 | |
3728 | end | |
3729 | end) | |
3730 | ||
3731 | M.Button1Down:connect(function() | |
3732 | if not M.Target then return end | |
3733 | local Hit = M.Hit | |
3734 | local cellPos | |
3735 | if ClickType == 1 then | |
3736 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3737 | else | |
3738 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3739 | end | |
3740 | if ClickState == "None" then | |
3741 | ClickState = "Click1" | |
3742 | P1 = cellPos | |
3743 | end | |
3744 | end) | |
3745 | M.Button1Up:connect(function() | |
3746 | if not M.Target then return end | |
3747 | local Hit = M.Hit | |
3748 | local cellPos | |
3749 | if ClickType == 1 then | |
3750 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3751 | else | |
3752 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3753 | end | |
3754 | if ClickState == "Click1" then | |
3755 | ClickState = "None" | |
3756 | local MinX = math.min(P1.x,cellPos.x) | |
3757 | local MaxX = math.max(P1.x,cellPos.x) | |
3758 | local MinY = math.min(P1.y,cellPos.y) | |
3759 | local MaxY = math.max(P1.y,cellPos.y) | |
3760 | local MinZ = math.min(P1.z,cellPos.z) | |
3761 | local MaxZ = math.max(P1.z,cellPos.z) | |
3762 | for y=MinY,MaxY do | |
3763 | for x=MinX,MaxX do | |
3764 | for z=MinZ,MaxZ do | |
3765 | Terrain:SetCell(x, y, z, material, 0, 0) | |
3766 | end | |
3767 | end | |
3768 | wait() | |
3769 | end | |
3770 | SelB.Adornee = nil | |
3771 | end | |
3772 | end) | |
3773 | M.Move:connect(function() | |
3774 | if not M.Target then return end | |
3775 | local Hit = M.Hit | |
3776 | local cellPos | |
3777 | if ClickType == 1 then | |
3778 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3779 | else | |
3780 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3781 | end | |
3782 | if ClickState == "Click1" then | |
3783 | SelB.Adornee = SelP | |
3784 | local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z) | |
3785 | local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z) | |
3786 | local Size = W1-W2 | |
3787 | Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4) | |
3788 | local Pos = (W1+W2)/2 | |
3789 | SelP.Size = Size | |
3790 | SelP.CFrame = CFrame.new(Pos) | |
3791 | end | |
3792 | end) | |
3793 | end) | |
3794 | ||
3795 | HopperBin0.Deselected:connect(function() | |
3796 | SelB.Parent = nil | |
3797 | SelB.Adornee = nil | |
3798 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
3799 | end) | |
3800 | ||
3801 | game:GetService('RunService').Stepped:connect(function() | |
3802 | if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then | |
3803 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
3804 | if child:FindFirstChild("num") and material ~= child.num.Value then | |
3805 | child.Selection.BackgroundTransparency = 1 | |
3806 | end | |
3807 | end | |
3808 | end | |
3809 | end) | |
3810 | ||
3811 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
3812 | local enterCon = child.MouseButton1Click:connect(function() | |
3813 | if child.ClassName == "ImageButton" and child:FindFirstChild("num") then | |
3814 | material = child.num.Value | |
3815 | if child:FindFirstChild("Selection") then | |
3816 | child.Selection.BackgroundTransparency = 0 | |
3817 | end | |
3818 | end | |
3819 | end) | |
3820 | end | |
3821 | ||
3822 | local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function() | |
3823 | workspace.Terrain:Clear() | |
3824 | end) | |
3825 | ||
3826 | function sandbox(var,func) | |
3827 | local env = getfenv(func) | |
3828 | local newenv = setmetatable({},{ | |
3829 | __index = function(self,k) | |
3830 | if k=="script" then | |
3831 | return var | |
3832 | else | |
3833 | return env[k] | |
3834 | end | |
3835 | end, | |
3836 | }) | |
3837 | setfenv(func,newenv) | |
3838 | return func | |
3839 | end | |
3840 | cors = {} | |
3841 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3842 | HopperBin0 = Instance.new("HopperBin") | |
3843 | HopperBin0.Name = "Terrain Delete" | |
3844 | HopperBin0.Parent = mas | |
3845 | for i,v in pairs(mas:GetChildren()) do | |
3846 | v.Parent = game:GetService("Players").LocalPlayer.Backpack | |
3847 | pcall(function() v:MakeJoints() end) | |
3848 | end | |
3849 | mas:Destroy() | |
3850 | for i,v in pairs(cors) do | |
3851 | spawn(function() | |
3852 | pcall(v) | |
3853 | end) | |
3854 | end | |
3855 | ||
3856 | function onClick(mouse) | |
3857 | p = gPlayers.LocalPlayer | |
3858 | if (p == nil) then return end | |
3859 | if (p.Character == nil) then return end | |
3860 | ||
3861 | if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end | |
3862 | ||
3863 | c = workspace.Terrain | |
3864 | ||
3865 | local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z)) | |
3866 | local x = cellPos.x | |
3867 | local y = cellPos.y | |
3868 | local z = cellPos.z | |
3869 | ||
3870 | c:SetCell(x, y, z, 0, 0, 0) | |
3871 | ||
3872 | end | |
3873 | ||
3874 | ||
3875 | function onSelect(mouse) | |
3876 | mouse.Button1Down:connect(function () onClick(mouse) end) | |
3877 | end | |
3878 | ||
3879 | ||
3880 | ||
3881 | HopperBin0.Selected:connect(onSelect) | |
3882 | end | |
3883 | end) | |
3884 | ||
3885 | addcmd('knife', 'tm knife',{}, | |
3886 | function(args, speaker) | |
3887 | if speaker.userId ~= LP.userId then | |
3888 | lponly(speaker) else | |
3889 | if not game.CoreGui:FindFirstChild('CorePart') then | |
3890 | local data = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01318477872") | |
3891 | local script = data.LocalScript | |
3892 | ||
3893 | local player = gPlayers.LocalPlayer | |
3894 | ||
3895 | if not player:FindFirstChild("TMDATA") then | |
3896 | script.Parent.TMDATA:Clone().Parent = player | |
3897 | end | |
3898 | if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then | |
3899 | script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage | |
3900 | end | |
3901 | ||
3902 | if game.CoreGui:FindFirstChild("CorePart") then | |
3903 | game.CoreGui.CorePart:Destroy() | |
3904 | end | |
3905 | ||
3906 | ||
3907 | if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end | |
3908 | local knife = script.Parent["Knife"]:Clone() | |
3909 | local gun = script.Parent["Gun"]:Clone() | |
3910 | local fastgun = script.Parent["Fast Gun"]:Clone() | |
3911 | local lasergun = script.Parent["Laser Gun"]:Clone() | |
3912 | script.Parent.CorePart:Clone().Parent = game.CoreGui | |
3913 | ||
3914 | local newKnife = knife:Clone() | |
3915 | newKnife.Parent = player.Backpack | |
3916 | _G.tool = newKnife | |
3917 | ||
3918 | local barActive = false | |
3919 | local activeOptions = {} | |
3920 | ||
3921 | function createDDown(callback,but,...) | |
3922 | if barActive then | |
3923 | for i,v in pairs(activeOptions) do | |
3924 | v:Destroy() | |
3925 | end | |
3926 | activeOptions = {} | |
3927 | barActive = false | |
3928 | return | |
3929 | else | |
3930 | barActive = true | |
3931 | end | |
3932 | local slots = {...} | |
3933 | local base = but | |
3934 | for i,v in pairs(slots) do | |
3935 | local newOption = base:Clone() | |
3936 | newOption.ZIndex = 5 | |
3937 | newOption.Name = "Option "..tostring(i) | |
3938 | newOption.Parent = base.Parent | |
3939 | table.insert(activeOptions,newOption) | |
3940 | 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)) | |
3941 | newOption.Text = slots[i] | |
3942 | newOption.MouseButton1Down:connect(function() | |
3943 | but.Text = slots[i] | |
3944 | callback(slots[i]) | |
3945 | for i,v in pairs(activeOptions) do | |
3946 | v:Destroy() | |
3947 | end | |
3948 | activeOptions = {} | |
3949 | barActive = false | |
3950 | end) | |
3951 | end | |
3952 | end | |
3953 | ||
3954 | local butA = game.CoreGui.CorePart.Frame.ability | |
3955 | butA.MouseButton1Down:connect(function() | |
3956 | createDDown(function(sel) | |
3957 | gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat! | |
3958 | 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") | |
3959 | end) | |
3960 | ||
3961 | local butG = game.CoreGui.CorePart.Frame.gamemode | |
3962 | butG.MouseButton1Down:connect(function() | |
3963 | createDDown(function(sel) | |
3964 | game.ReplicatedStorage.GameInProgress.Mode.Value = sel | |
3965 | end,butG,"Classic","Cold Killer") | |
3966 | end) | |
3967 | ||
3968 | local butM = game.CoreGui.CorePart.Frame.mode | |
3969 | butM.MouseButton1Down:connect(function() | |
3970 | createDDown(function(sel) | |
3971 | _G.knifemode = sel | |
3972 | end,butM,"PlayersOnly","Players+Npcs") | |
3973 | end) | |
3974 | ||
3975 | _G.Scripters = {} | |
3976 | ||
3977 | function _G.loadScripts(obj,runall) | |
3978 | for i,v in pairs(obj:GetDescendants()) do | |
3979 | if v:IsA("LocalScript") and (not v.Disabled or runall) then | |
3980 | table.insert(_G.Scripters,v) | |
3981 | local i = #_G.Scripters | |
3982 | local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source) | |
3983 | spawn(loadfunc) | |
3984 | print("LOADED",v:GetFullName()) | |
3985 | end | |
3986 | end | |
3987 | end | |
3988 | ||
3989 | player.CharacterAdded:Connect(function() | |
3990 | newKnife = knife:Clone() | |
3991 | newKnife.Parent = player.Backpack | |
3992 | _G.loadScripts(newKnife) | |
3993 | end) | |
3994 | ||
3995 | _G.knifemode = "PlayersOnly" | |
3996 | _G.loadScripts(newKnife) | |
3997 | --_G.loadScripts(gun) | |
3998 | --_G.loadScripts(fastgun) | |
3999 | --_G.loadScripts(lasergun) | |
4000 | end | |
4001 | end | |
4002 | end) | |
4003 | ||
4004 | addcmd('devuzi', 'op af',{'uzi'}, | |
4005 | function(args, speaker) | |
4006 | if speaker.userId ~= LP.userId then | |
4007 | lponly(speaker) | |
4008 | else | |
4009 | wait(0.25); | |
4010 | ||
4011 | ||
4012 | _clear=function() | |
4013 | local c={char;bag;gui;}; | |
4014 | for i=1,#c do | |
4015 | local c=c[i]:children(); | |
4016 | for i=1,#c do | |
4017 | if(c[i].Name==name)then | |
4018 | c[i].Parent=nil; | |
4019 | end; | |
4020 | end; | |
4021 | end; | |
4022 | local n=name..user.Name; | |
4023 | local c=workspace:children(); | |
4024 | for i=1,#c do | |
4025 | if(c[i].Name==n)then | |
4026 | c[i].Parent=nil; | |
4027 | end; | |
4028 | end; | |
4029 | end; | |
4030 | ||
4031 | _valid_key=function(object,key) | |
4032 | return object[key],key; | |
4033 | end; | |
4034 | ||
4035 | _new=function(class) | |
4036 | return function(props) | |
4037 | if(type(list_base_props)=='table')then | |
4038 | for i,v in next,list_base_props do | |
4039 | if(props[i]==nil)then | |
4040 | props[i]=v; | |
4041 | end; | |
4042 | end; | |
4043 | end; | |
4044 | ||
4045 | local object=class; | |
4046 | ||
4047 | if(type(class)=='string')then | |
4048 | object=Instance.new(class:sub(1,1):upper()..class:sub(2)); | |
4049 | end; | |
4050 | ||
4051 | local parent=props[1]; | |
4052 | props[1]=nil; | |
4053 | ||
4054 | for i,v in next,props do | |
4055 | local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2)); | |
4056 | if(not load)then | |
4057 | load,res,key=pcall(_valid_key,object,i); | |
4058 | end; | |
4059 | ||
4060 | if(key)then | |
4061 | t=type(res); | |
4062 | s=tostring(res); | |
4063 | if(t=='userdata'and s=='Signal '..key)then | |
4064 | if(type(v)=='table')then | |
4065 | for i=1,#v do | |
4066 | res:connect(v[i]); | |
4067 | end; | |
4068 | else | |
4069 | res:connect(v); | |
4070 | end; | |
4071 | else | |
4072 | object[key]=v; | |
4073 | end; | |
4074 | end; | |
4075 | end; | |
4076 | ||
4077 | if(parent)then | |
4078 | object.Parent=parent; | |
4079 | end; | |
4080 | ||
4081 | return object; | |
4082 | end; | |
4083 | end; | |
4084 | ||
4085 | _RGB=function(r,g,b) | |
4086 | return Color3.new(r/255,g/255,b/255); | |
4087 | end; | |
4088 | ||
4089 | _copy=function(o) | |
4090 | local def=o.archivable; | |
4091 | o.archivable=true; | |
4092 | local c=o:clone(); | |
4093 | o.archivable=def; | |
4094 | return c; | |
4095 | end; | |
4096 | ||
4097 | _hum=function(char) | |
4098 | local hum=char:findFirstChild'Humanoid'; | |
4099 | if(not hum or hum.className~='Humanoid')then | |
4100 | local c=char:children(); | |
4101 | for i=1,#c do | |
4102 | if(c[i].className=='Humanoid')then | |
4103 | return c[i]; | |
4104 | end; | |
4105 | end; | |
4106 | else | |
4107 | return hum; | |
4108 | end; | |
4109 | end; | |
4110 | ||
4111 | _hum_tag=function(hum) | |
4112 | local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum); | |
4113 | c.Name='creator'; | |
4114 | c.Value=user; | |
4115 | if(hum.Health==0 and not hum:findFirstChild'killed')then | |
4116 | Instance.new('BoolValue',hum).Name='killed'; | |
4117 | bullets.clip=bullets.clip+10; | |
4118 | end; | |
4119 | end; | |
4120 | ||
4121 | _hum_dam=function(hum,dam,percent) | |
4122 | hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam); | |
4123 | if(hum.Health<=hum.MaxHealth*0.1)then | |
4124 | _hum_tag(hum); | |
4125 | end; | |
4126 | end; | |
4127 | ||
4128 | _ray=function(v0,v1,i) | |
4129 | local mag=(v0-v1).magnitude; | |
4130 | local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag)); | |
4131 | ||
4132 | return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i); | |
4133 | end; | |
4134 | ||
4135 | _must=function(v0,v1,i) | |
4136 | local hit,pos=_ray(v0,v1,i); | |
4137 | return not hit and mouse.target or hit,pos; | |
4138 | end; | |
4139 | ||
4140 | _cframe=function(x,y,z,r0,r1,r2) | |
4141 | return CFrame.Angles( | |
4142 | math.rad(r0 or 0), | |
4143 | math.rad(r1 or 0), | |
4144 | math.rad(r2 or 0) | |
4145 | )*CFrame.new(x,y,z); | |
4146 | end; | |
4147 | ||
4148 | _update=function() | |
4149 | if(bool_active and not screen.Parent)then | |
4150 | screen.Parent=gui; | |
4151 | elseif(not bool_active and screen.Parent)then | |
4152 | screen.Parent=nil; | |
4153 | end; | |
4154 | end; | |
4155 | ||
4156 | _light=function(v0,v1) | |
4157 | local mag=(v0-v1).magnitude; | |
4158 | local len=math.random(2,7); | |
4159 | len=len>mag/2 and mag/2 or len; | |
4160 | ||
4161 | --local light=_new'part'{ | |
4162 | -- cFrame=CFrame.new(v0,v1); | |
4163 | -- size=Vector3.new(1,1,1); | |
4164 | -- color=_RGB(255,255,0); | |
4165 | -- anchored=true; | |
4166 | -- inv; | |
4167 | --}; | |
4168 | _new'blockMesh'{ | |
4169 | scale=Vector3.new(0.2,0.2,len); | |
4170 | offset=Vector3.new(0,0,-len/2); | |
4171 | light; | |
4172 | }; | |
4173 | ||
4174 | local bb=_new'billboardGui'{ | |
4175 | size=UDim2.new(2,0,2,0); | |
4176 | adornee=light; | |
4177 | light; | |
4178 | }; | |
4179 | _new'imageLabel'{ | |
4180 | image=url:format(109101526); | |
4181 | backgroundTransparency=1; | |
4182 | size=UDim2.new(1,0,1,0); | |
4183 | bb; | |
4184 | }; | |
4185 | ||
4186 | -- _rem(light,0.15); | |
4187 | end; | |
4188 | ||
4189 | _rem=function(object,del) | |
4190 | if(del)then | |
4191 | delay(del,function() | |
4192 | if(object.Parent)then | |
4193 | object.Parent=nil; | |
4194 | end; | |
4195 | end); | |
4196 | else | |
4197 | pcall(function() | |
4198 | if(object.Parent)then | |
4199 | object.Parent=nil; | |
4200 | end; | |
4201 | end); | |
4202 | end; | |
4203 | end; | |
4204 | ||
4205 | _blood=function(pos,count) | |
4206 | for i=1,count do | |
4207 | local p=_new'part'{ | |
4208 | rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
4209 | position=pos+Vector3.new(math.random(),math.random(),math.random()); | |
4210 | velocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
4211 | size=Vector3.new(math.random(),math.random(),math.random())/3; | |
4212 | color=_RGB(255,0,0); | |
4213 | transparency=0.5; | |
4214 | canCollide=true; | |
4215 | bottomSurface=0; | |
4216 | topSurface=0; | |
4217 | formFactor=3; | |
4218 | locked=true; | |
4219 | inv; | |
4220 | }; | |
4221 | delay(5,function() | |
4222 | p.Parent=nil; | |
4223 | end); | |
4224 | end; | |
4225 | end; | |
4226 | ||
4227 | _make_hue=function() | |
4228 | h_hue=_new'part'{ | |
4229 | size=Vector3.new(0.25,1.8,0.35); | |
4230 | color=_RGB(100,100,100); | |
4231 | formFactor=3; | |
4232 | name='hue'; | |
4233 | handle; | |
4234 | }; | |
4235 | hh_weld=_new'weld'{ | |
4236 | c1=_cframe(0,0.5,0); | |
4237 | part0=handle; | |
4238 | part1=h_hue; | |
4239 | handle; | |
4240 | }; | |
4241 | end; | |
4242 | ||
4243 | _shot=function(v0,v1) | |
4244 | if(not time_left)then | |
4245 | time_left=0; | |
4246 | end; | |
4247 | if(time_left>time())then | |
4248 | return nil; | |
4249 | else | |
4250 | time_left=time()+math.random(1,10)/100; | |
4251 | end; | |
4252 | ||
4253 | if(bullets.current<1)then | |
4254 | local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{ | |
4255 | soundId='rbxasset://sounds/SWITCH3.wav'; | |
4256 | name='tick_sound'; | |
4257 | volume=0.2; | |
4258 | pitch=2; | |
4259 | head; | |
4260 | }; | |
4261 | tick_sound:play(); | |
4262 | if(bullets.clip>0)then | |
4263 | time_left=time()+2; | |
4264 | h_hue:breakJoints(); | |
4265 | h_hue.CanCollide=true; | |
4266 | h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10; | |
4267 | _rem(h_hue,10); | |
4268 | delay(1.9,function() | |
4269 | _make_hue(); | |
4270 | local got=(bullets.clip>bullets.maximum and | |
4271 | bullets.maximum or | |
4272 | bullets.clip)-bullets.current; | |
4273 | ||
4274 | bullets.clip=bullets.clip-got; | |
4275 | bullets.current=bullets.current+got; | |
4276 | end); | |
4277 | end; | |
4278 | return nil; | |
4279 | else | |
4280 | bullets.current=bullets.current-1; | |
4281 | ||
4282 | h_weld.C1=_cframe(0,0.75,0, | |
4283 | -math.random(1000,1100)/10,180,0); | |
4284 | d_weld.C1=_cframe(0,-0.25,0.3); | |
4285 | ||
4286 | lightstuff.Visible=true; | |
4287 | delay(0.1,function() | |
4288 | lightstuff.Visible=false; | |
4289 | end); | |
4290 | ||
4291 | _rem(_new'part'{ | |
4292 | velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10; | |
4293 | cFrame=drag.CFrame*CFrame.new(-0.5,0,0); | |
4294 | size=Vector3.new(0.1,0.1,0.4); | |
4295 | color=_RGB(200,200,0); | |
4296 | material='Slate'; | |
4297 | canCollide=true; | |
4298 | formFactor=3; | |
4299 | inv; | |
4300 | },5); | |
4301 | ||
4302 | delay(0.1,function() | |
4303 | d_weld.C1=_cframe(0,-0.25,0); | |
4304 | if(bool_active)then | |
4305 | h_weld.C1=h_weld_cf_active; | |
4306 | end; | |
4307 | end) | |
4308 | end; | |
4309 | ||
4310 | local hit,pos=_must(v0,v1,char); | |
4311 | ||
4312 | shot_sound:play(); | |
4313 | ||
4314 | ||
4315 | _rem(_new'part'{ | |
4316 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
4317 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
4318 | color=_RGB(255,255,0); | |
4319 | transparency=0.6; | |
4320 | reflectance=0.5; | |
4321 | canCollide=false; | |
4322 | bottomSurface=0; | |
4323 | anchored=true; | |
4324 | formFactor=3; | |
4325 | topSurface=0; | |
4326 | inv; | |
4327 | },.15); | |
4328 | _light(v0,v1); | |
4329 | ||
4330 | if(not hit)then return nil;end; | |
4331 | ||
4332 | if(hit.Parent.className=='Hat')then | |
4333 | hit:breakJoints(); | |
4334 | hit.CanCollide=true; | |
4335 | hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50); | |
4336 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90)); | |
4337 | else | |
4338 | local hum=_hum(hit.Parent); | |
4339 | if(not hum)then | |
4340 | if(hit.Anchored==false and hit.Size.magnitude<4)then | |
4341 | hit:breakJoints(); | |
4342 | hit.CanCollide=true; | |
4343 | end; | |
4344 | else | |
4345 | _hum_dam(hum,math.random(4,6)); | |
4346 | _blood(pos,math.random(3,6)); | |
4347 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6; | |
4348 | if(hit.Name=='Head')then | |
4349 | hum.Health=0; | |
4350 | _blood(pos,math.random(3,6)); | |
4351 | delay(0.001,function() | |
4352 | _new(workspace:FindFirstChild'head_shot'or'sound'){ | |
4353 | pitch=math.random(70,100)*0.01; | |
4354 | soundId=url:format(1876552); | |
4355 | name='head_shot'; | |
4356 | workspace; | |
4357 | }:play(); | |
4358 | end); | |
4359 | _hum_tag(hum); | |
4360 | _rem(_new'part'{ | |
4361 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
4362 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
4363 | color=torso.Color; | |
4364 | transparency=0.5; | |
4365 | canCollide=false; | |
4366 | bottomSurface=0; | |
4367 | anchored=true; | |
4368 | formFactor=3; | |
4369 | topSurface=0; | |
4370 | inv; | |
4371 | },30); | |
4372 | hit.Parent=nil; | |
4373 | for b=0,1 do | |
4374 | for a=0,1 do | |
4375 | for i=0,1 do | |
4376 | _rem(_new'part'{ | |
4377 | velocity=CFrame.new(v0,pos).lookVector*20; | |
4378 | cFrame=hit.CFrame*CFrame.new(i,-b,a); | |
4379 | size=Vector3.new(0.5,0.5,0.5); | |
4380 | color=_RGB(255,255,255); | |
4381 | bottomSurface=0; | |
4382 | canCollide=true; | |
4383 | transparency=0; | |
4384 | formFactor=3; | |
4385 | topSurface=0; | |
4386 | hum; | |
4387 | },30); | |
4388 | end; | |
4389 | end; | |
4390 | end; | |
4391 | end; | |
4392 | end; | |
4393 | end; | |
4394 | end; | |
4395 | ||
4396 | ||
4397 | ||
4398 | _cf_select=function(mouse) | |
4399 | mouse.Icon=url:format(109111387);--108999296 | |
4400 | bool_active=true; | |
4401 | ||
4402 | local arm=char:findFirstChild'Right Arm'; | |
4403 | local weld=torso:findFirstChild'Right Shoulder'; | |
4404 | if(arm and weld)then | |
4405 | h_weld.Part0=arm; | |
4406 | h_weld.C1=h_weld_cf_active; | |
4407 | ||
4408 | weld.Part1=nil; | |
4409 | weld.Part0=nil; | |
4410 | ||
4411 | weld=_new(torso:findFirstChild'right_arml'or'weld'){ | |
4412 | name='right_arml'; | |
4413 | part0=torso; | |
4414 | part1=arm; | |
4415 | torso; | |
4416 | }; | |
4417 | ||
4418 | arml=(arml or 0)+1; | |
4419 | local alv=arml; | |
4420 | local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso); | |
4421 | gyro.maxTorque=Vector3.new(5e5,5e5,5e5); | |
4422 | gyro.P=30000; | |
4423 | gyro.D=1000; | |
4424 | gyro.Name='p_gyro'; | |
4425 | repeat | |
4426 | local pos=mouse.hit.p; | |
4427 | local val,valp,p0,p1,p2,hitpos,cj,c0,c1; | |
4428 | ||
4429 | val=-math.pi*0.5; | |
4430 | valp=val*-1; | |
4431 | p0=torso.CFrame; | |
4432 | p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector; | |
4433 | p1=p0+((p0.p-pos).unit*-2); | |
4434 | p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0); | |
4435 | hitpos=torso.Position; | |
4436 | cj=CFrame.new(hitpos); | |
4437 | c0=torso.CFrame:inverse()*cj; | |
4438 | c1=p2:inverse()*cj; | |
4439 | weld.C0=c0; | |
4440 | weld.C1=c1; | |
4441 | ||
4442 | gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z)); | |
4443 | ||
4444 | wait(0.001); | |
4445 | until arml~=alv; | |
4446 | gyro.Parent=nil; | |
4447 | end; | |
4448 | end; | |
4449 | ||
4450 | _cf_deselect=function() | |
4451 | bool_active=false; | |
4452 | arml=(arml or 0)+1; | |
4453 | loop_shot=(loop_shot or 0)+1; | |
4454 | ||
4455 | h_weld.Part0=torso; | |
4456 | h_weld.C1=h_weld_cf_inactive; | |
4457 | ||
4458 | local weld=torso:findFirstChild'right_arml'; | |
4459 | if(weld)then | |
4460 | weld.Part1=nil; | |
4461 | weld.Part0=nil; | |
4462 | end; | |
4463 | local arm=char:findFirstChild'Right Arm'; | |
4464 | local weld=torso:findFirstChild'Right Shoulder'; | |
4465 | if(arm and weld)then | |
4466 | weld.Part0=torso; | |
4467 | weld.Part1=arm; | |
4468 | end; | |
4469 | end; | |
4470 | ||
4471 | _cf_mouse=function(event,fun) | |
4472 | mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...) | |
4473 | if(bool_active)then | |
4474 | fun(...); | |
4475 | end; | |
4476 | end); | |
4477 | end; | |
4478 | ||
4479 | ||
4480 | do | |
4481 | local main=getfenv(0); | |
4482 | local c=game:children(); | |
4483 | local check=function(v) | |
4484 | if(v.className~=''and v.className~='Instance'and game:service(v.className))then | |
4485 | main[v.className:sub(1,1):lower()..v.className:sub(2)]=v; | |
4486 | end; | |
4487 | end; | |
4488 | for i=1,#c do | |
4489 | pcall(check,c[i]); | |
4490 | end; | |
4491 | end; | |
4492 | ||
4493 | ||
4494 | bullets={ | |
4495 | maximum=51111111111111111111111111110; | |
4496 | current=511111111111111111111111111111110; | |
4497 | clip=501111111111111111111111111111111*4; | |
4498 | }; | |
4499 | ||
4500 | list_base_props={ | |
4501 | backgroundColor3=_RGB(0,0,0); | |
4502 | textColor3=_RGB(200,200,200); | |
4503 | borderSizePixel=0; | |
4504 | color=_RGB(0,0,0); | |
4505 | archivable=false; | |
4506 | canCollide=false; | |
4507 | bottomSurface=0; | |
4508 | topSurface=0; | |
4509 | formFactor=0; | |
4510 | locked=true; | |
4511 | }; | |
4512 | ||
4513 | ||
4514 | ||
4515 | user=players.localPlayer; | |
4516 | mouse=user:getMouse(); | |
4517 | char=user.Character; | |
4518 | gui=user.PlayerGui; | |
4519 | bag=user.Backpack; | |
4520 | torso=char.Torso; | |
4521 | head=char.Head; | |
4522 | hum=_hum(char); | |
4523 | ||
4524 | url='rbxassetid://%d'; | |
4525 | name='dev-uzi'; | |
4526 | ||
4527 | h_weld_cf_inactive=_cframe(0.35,0.5,0.5, | |
4528 | 0,90,-70); | |
4529 | h_weld_cf_active=_cframe(0,0.75,0, | |
4530 | -110,180,0); | |
4531 | ||
4532 | assert(hum,'humanoid is not found'); | |
4533 | ||
4534 | ||
4535 | ||
4536 | _clear(); | |
4537 | ||
4538 | ||
4539 | _cf_mouse('button1Down',function() | |
4540 | loop_shot=(loop_shot or 0)+1; | |
4541 | local vers=loop_shot; | |
4542 | local step=runService.Stepped; | |
4543 | repeat | |
4544 | _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p); | |
4545 | step:wait();--wait(0.001); | |
4546 | until vers~=loop_shot; | |
4547 | end); | |
4548 | ||
4549 | _cf_mouse('button1Up',function() | |
4550 | loop_shot=(loop_shot or 0)+1; | |
4551 | end); | |
4552 | ||
4553 | _cf_mouse('move',function() | |
4554 | cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11); | |
4555 | end); | |
4556 | ||
4557 | _cf_mouse('keyDown',function(k) | |
4558 | if(k=='r')then | |
4559 | if(bullets.clip>0 and time_left<=time())then | |
4560 | local got=(bullets.clip>bullets.maximum and | |
4561 | bullets.maximum or | |
4562 | bullets.clip)-bullets.current; | |
4563 | ||
4564 | bullets.clip=bullets.clip-got; | |
4565 | bullets.current=bullets.current+got; | |
4566 | if(got~=0)then | |
4567 | time_left=time()+2; | |
4568 | end; | |
4569 | end; | |
4570 | end; | |
4571 | end); | |
4572 | ||
4573 | ||
4574 | screen=_new'screenGui'{ | |
4575 | name=name; | |
4576 | }; | |
4577 | ||
4578 | cross_f=_new'frame'{ | |
4579 | size=UDim2.new(0,21,0,21); | |
4580 | backgroundTransparency=1; | |
4581 | screen; | |
4582 | }; | |
4583 | ||
4584 | for i=0,1 do | |
4585 | _new'frame'{ | |
4586 | position=UDim2.new(0,13*i,0,11); | |
4587 | size=UDim2.new(0,10,0,1); | |
4588 | cross_f; | |
4589 | }; | |
4590 | end; | |
4591 | ||
4592 | for i=0,1 do | |
4593 | _new'frame'{ | |
4594 | position=UDim2.new(0,11,0,13*i); | |
4595 | size=UDim2.new(0,1,0,10); | |
4596 | cross_f; | |
4597 | }; | |
4598 | end; | |
4599 | ||
4600 | ||
4601 | ||
4602 | shot_sound=_new(head:findFirstChild'2920959'or'sound'){ | |
4603 | soundId=url:format(2920959); | |
4604 | pitch=1.4; | |
4605 | head; | |
4606 | }; | |
4607 | if(shot_sound.Name~='2920959')then | |
4608 | shot_sound.Name='2920959'; | |
4609 | shot_sound:play(); | |
4610 | end; | |
4611 | ||
4612 | bin=_new'hopperBin'{ | |
4613 | deselected=_cf_deselect; | |
4614 | selected=_cf_select; | |
4615 | name=name; | |
4616 | bag; | |
4617 | }; | |
4618 | ||
4619 | inv=_new'model'{ | |
4620 | name=name; | |
4621 | char; | |
4622 | }; | |
4623 | ||
4624 | handle=_new'part'{ | |
4625 | size=Vector3.new(0.3,1.3,0.4); | |
4626 | color=_RGB(140,140,140); | |
4627 | name='handle'; | |
4628 | formFactor=3; | |
4629 | inv; | |
4630 | touched=function(hit) | |
4631 | if(hit.Parent.className=='Model')then | |
4632 | local hum=_hum(hit.Parent); | |
4633 | if(hum~=nil)then | |
4634 | _hum_dam(hum,handle.Velocity.magnitude); | |
4635 | end; | |
4636 | end; | |
4637 | end; | |
4638 | }; | |
4639 | h_weld=_new'weld'{ | |
4640 | c1=h_weld_cf_inactive; | |
4641 | part1=handle; | |
4642 | part0=torso; | |
4643 | handle; | |
4644 | }; | |
4645 | _make_hue(); | |
4646 | ||
4647 | h_part=_new'part'{ | |
4648 | size=Vector3.new(0.4,0.4,1.4); | |
4649 | color=_RGB(140,140,140); | |
4650 | name='handle'; | |
4651 | formFactor=3; | |
4652 | handle; | |
4653 | }; | |
4654 | hp_weld=_new'weld'{ | |
4655 | c1=_cframe(0,-1.3/2,-0.3, | |
4656 | 20,0,0); | |
4657 | part0=handle; | |
4658 | part1=h_part; | |
4659 | handle; | |
4660 | }; | |
4661 | ||
4662 | drag=_new'part'{ | |
4663 | size=Vector3.new(0.5,0.45,1.5); | |
4664 | color=_RGB(100,100,100); | |
4665 | name='handle'; | |
4666 | formFactor=3; | |
4667 | handle; | |
4668 | }; | |
4669 | d_weld=_new'weld'{ | |
4670 | c1=_cframe(0,-0.25,0); | |
4671 | part0=h_part; | |
4672 | part1=drag; | |
4673 | handle; | |
4674 | }; | |
4675 | ||
4676 | tube=_new'part'{ | |
4677 | size=Vector3.new(0.2,0.2,1.5); | |
4678 | color=_RGB(0,0,0); | |
4679 | name='handle'; | |
4680 | formFactor=3; | |
4681 | handle; | |
4682 | }; | |
4683 | t_weld=_new'weld'{ | |
4684 | c1=_cframe(0,-0.3,-0.1); | |
4685 | part0=h_part; | |
4686 | part1=tube; | |
4687 | handle; | |
4688 | }; | |
4689 | ||
4690 | bullets_label=_new'textLabel'{ | |
4691 | textStrokeColor3=_RGB(0,0,0); | |
4692 | textColor3=_RGB(200,200,200); | |
4693 | textStrokeTransparency=0; | |
4694 | backgroundTransparency=1; | |
4695 | fontSize=5; | |
4696 | screen; | |
4697 | }; | |
4698 | ||
4699 | lightstuff=_new'frame'{ | |
4700 | backgroundColor3=_RGB(255,255,255); | |
4701 | position=UDim2.new(0,0,0,-1); | |
4702 | backgroundTransparency=0.5; | |
4703 | size=UDim2.new(1,0,1,1); | |
4704 | borderSizePixel=0; | |
4705 | visible=false; | |
4706 | screen; | |
4707 | }; | |
4708 | ||
4709 | coroutine.wrap(function() | |
4710 | local red,white,green; | |
4711 | repeat | |
4712 | if(screen.Parent)then | |
4713 | if(not green and bullets.current==bullets.maximum)then | |
4714 | green=true; | |
4715 | bullets_label.TextColor3=_RGB(0,200,0); | |
4716 | elseif(not red and bullets.current==0)then | |
4717 | red=true; | |
4718 | bullets_label.TextColor3=_RGB(200,0,0); | |
4719 | elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then | |
4720 | bullets_label.TextColor3=_RGB(200,200,200); | |
4721 | green=false; | |
4722 | red=false; | |
4723 | end; | |
4724 | bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip); | |
4725 | bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y); | |
4726 | bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6); | |
4727 | end; | |
4728 | wait(0.001); | |
4729 | until nil; | |
4730 | end)(); | |
4731 | ||
4732 | ||
4733 | _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1; | |
4734 | local vers=_G.dev_pistol_version; | |
4735 | repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0; | |
4736 | if(hum.Health==0)then | |
4737 | _clear(); | |
4738 | end; | |
4739 | end | |
4740 | end) | |
4741 | ||
4742 | addcmd('nil', 'removes the player',{}, | |
4743 | function(args, speaker) | |
4744 | local players = getPlayer(args[1], speaker) | |
4745 | for i,v in pairs(players)do | |
4746 | pcall(function() gPlayers[v].Character:Remove() end) | |
4747 | gPlayers[v].Character = nil | |
4748 | if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else | |
4749 | Notify('Made player(s) nil') end end end) | |
4750 | ||
4751 | ||
4752 | addcmd('addban', 'Adds a ban to the banlist if the player is offline.', {}, | |
4753 | function(args, speaker) | |
4754 | local player = args[1] | |
4755 | local playerid = game:GetService("Players"):GetUserIdFromNameAsync(args[1]) | |
4756 | if player ~= nil then | |
4757 | if FindTable(WL, player) then Notify('Error: '..player..' is whitelisted') elseif not FindTable(banname, player) then | |
4758 | table.insert(banT, playerid) | |
4759 | banname[#banname + 1] = {NAME = tostring(player), ID = tonumber(playerid), AGE = "-"} | |
4760 | updatebans() | |
4761 | Notify("Added ban for: "..player) | |
4762 | end | |
4763 | end | |
4764 | end) | |
4765 | ||
4766 | addcmd('ban', 'goodbye ;)',{}, | |
4767 | function(args, speaker) | |
4768 | local players = getPlayer(args[1], speaker) | |
4769 | for i,v in pairs(players)do | |
4770 | if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else | |
4771 | Notify('Banned player(s)') end | |
4772 | spawn(function() | |
4773 | if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else | |
4774 | if not FindTable(banname, gPlayers[v].Name) then | |
4775 | table.insert(banT, _players[v].userId) | |
4776 | banname[#banname + 1] = {NAME = tostring(gPlayers[v].Name), ID = tonumber(gPlayers[v].userId), AGE = tonumber(gPlayers[v].AccountAge)} | |
4777 | updatebans() | |
4778 | kickF(gPlayers[v]) | |
4779 | end | |
4780 | end | |
4781 | end) | |
4782 | end | |
4783 | end) | |
4784 | ||
4785 | addcmd('clearbans', 'welcome back!',{'clrbans'}, | |
4786 | function(args, speaker) | |
4787 | banT = {} | |
4788 | banname = {} | |
4789 | Notify('Removed all bans') | |
4790 | updatebans() | |
4791 | end) | |
4792 | ||
4793 | addcmd('unban','unbans a player',{}, | |
4794 | function(args, speaker) | |
4795 | if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then | |
4796 | table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1]))) | |
4797 | for i,v in pairs(banname) do | |
4798 | if v.NAME == tostring(args[1]) then | |
4799 | table.remove(banname, i) | |
4800 | updatebans() | |
4801 | end end | |
4802 | Notify('Unbanned ' .. args[1]) | |
4803 | end | |
4804 | end) | |
4805 | ||
4806 | addcmd('dismiss', 'dismiss',{'verify'}, | |
4807 | function(args, speaker) | |
4808 | for _, child in pairs( workspace:GetChildren()) do | |
4809 | if child.Name == speaker.Name .. "TAB" then | |
4810 | child:Destroy() end end | |
4811 | for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end | |
4812 | end) | |
4813 | ||
4814 | addcmd('admin', 'ur an admin now ;o',{}, | |
4815 | function(args, speaker) | |
4816 | if speaker.userId ~= LP.userId then | |
4817 | lponly(speaker) else | |
4818 | local players = getPlayer(args[1], speaker) | |
4819 | for i,v in pairs(players)do | |
4820 | spawn(function() | |
4821 | if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then | |
4822 | table.insert(adminT, _players[v].userId) | |
4823 | adminname[#adminname + 1] = {NAME = tostring(gPlayers[v].Name)} | |
4824 | updateadmins() | |
4825 | if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else | |
4826 | Notify('Gave player(s) admin') end | |
4827 | game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1) | |
4828 | end end) end end end) | |
4829 | ||
4830 | addcmd('unadmin', 'removes the admin',{'noadmin'}, | |
4831 | function(args, speaker) | |
4832 | if speaker.userId ~= LP.userId then | |
4833 | lponly(speaker) else | |
4834 | local players = getPlayer(args[1], speaker) | |
4835 | for i,v in pairs(players)do | |
4836 | local radmin = tostring(_players[v].Name) | |
4837 | if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then | |
4838 | table.remove(adminT, GetInTable(adminT, _players[v].userId)) | |
4839 | for a,b in pairs(adminname) do | |
4840 | if b.NAME == radmin then | |
4841 | table.remove(adminname, a) | |
4842 | updateadmins() | |
4843 | end end | |
4844 | game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2) | |
4845 | if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else | |
4846 | Notify('Removed admin from player(s)') end | |
4847 | end | |
4848 | end | |
4849 | end | |
4850 | end) | |
4851 | ||
4852 | addcmd('bang', 'owo',{'rape'}, | |
4853 | function(args, speaker) | |
4854 | local players = getPlayer(args[1], speaker) | |
4855 | local target = getPlayer(args[2], speaker)[1] | |
4856 | for i,v in pairs(players)do | |
4857 | if args[2] then | |
4858 | rape(target, v) | |
4859 | else | |
4860 | rape(v, speaker.Name) | |
4861 | end | |
4862 | end | |
4863 | end) | |
4864 | ||
4865 | addcmd('bgui', 'gives player billboard gui presenting text',{}, | |
4866 | function(args, speaker) | |
4867 | local players = getPlayer(args[1], speaker) | |
4868 | for i,v in pairs(players)do | |
4869 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
4870 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy() | |
4871 | end | |
4872 | ||
4873 | y = Instance.new("BillboardGui") | |
4874 | y.Size = UDim2.new(0,100,0,150) | |
4875 | y.StudsOffset = Vector3.new(0,1,0) | |
4876 | y.Parent = gPlayers[v].Character.Head | |
4877 | y.Adornee = gPlayers[v].Character.Head | |
4878 | f = Instance.new("TextLabel") | |
4879 | f.Parent = y | |
4880 | f.BackgroundTransparency = 1 | |
4881 | f.Position = UDim2.new(0,0,0,-50) | |
4882 | f.Size = UDim2.new(0,100,0,100) | |
4883 | f.Font = "Highway" | |
4884 | f.FontSize = "Size48" | |
4885 | f.Text = GLS(false, 1) | |
4886 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
4887 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
4888 | f.TextStrokeTransparency = 0 | |
4889 | f.TextYAlignment = "Bottom" | |
4890 | end | |
4891 | end) | |
4892 | ||
4893 | addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'}, | |
4894 | function(args, speaker) | |
4895 | local players = getPlayer(args[1], speaker) | |
4896 | for i,v in pairs(players)do | |
4897 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
4898 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy() | |
4899 | end | |
4900 | end | |
4901 | end) | |
4902 | ||
4903 | function pipeTp(name,target) | |
4904 | spawn(function() | |
4905 | local pipe = Instance.new("Part") | |
4906 | pipe.Name = "Pipe" | |
4907 | pipe.Color = Color3.new(52/255,142/255,64/255) | |
4908 | pipe.Size = Vector3.new(8,8,8) | |
4909 | pipe.Anchored = true | |
4910 | local mesh = Instance.new("SpecialMesh",pipe) | |
4911 | mesh.MeshId = "rbxassetid://856736661" | |
4912 | mesh.Scale = Vector3.new(0.15, 0.15, 0.15) | |
4913 | local sound = Instance.new("Sound",pipe) | |
4914 | sound.SoundId = "rbxassetid://864352897" | |
4915 | sound.Volume = 1 | |
4916 | ||
4917 | local targetpos = game:GetService("Players")[target].Character.HumanoidRootPart.CFrame | |
4918 | ||
4919 | local char = game:GetService("Players")[name].Character | |
4920 | char.PrimaryPart = char.HumanoidRootPart | |
4921 | if char:FindFirstChild("Torso") then | |
4922 | char.Torso.Anchored = true | |
4923 | else | |
4924 | char.UpperTorso.Anchored = true | |
4925 | end | |
4926 | ||
4927 | local torso = char.HumanoidRootPart | |
4928 | local initPos = torso.CFrame | |
4929 | ||
4930 | pipe.Parent = workspace | |
4931 | pipe.CFrame = initPos - Vector3.new(0,8,0) | |
4932 | ||
4933 | for i = 0,8,0.2 do | |
4934 | pipe.CFrame = initPos - Vector3.new(0,8-i,0) | |
4935 | if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end | |
4936 | game:GetService("RunService").RenderStepped:wait() | |
4937 | end | |
4938 | ||
4939 | sound:Play() | |
4940 | for i = 7,-8,-0.2 do | |
4941 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0)) | |
4942 | game:GetService("RunService").RenderStepped:wait() | |
4943 | end | |
4944 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,-8,0)) | |
4945 | ||
4946 | for i = 8,0,-0.2 do | |
4947 | pipe.CFrame = initPos - Vector3.new(0,8-i,0) | |
4948 | game:GetService("RunService").RenderStepped:wait() | |
4949 | end | |
4950 | ||
4951 | pipe.CFrame = targetpos - Vector3.new(0,8,0) | |
4952 | char:SetPrimaryPartCFrame(pipe.CFrame) | |
4953 | ||
4954 | for i = 0,8,0.2 do | |
4955 | pipe.CFrame = targetpos - Vector3.new(0,8-i,0) | |
4956 | game:GetService("RunService").RenderStepped:wait() | |
4957 | end | |
4958 | ||
4959 | local played = false | |
4960 | for i = -8,7,0.2 do | |
4961 | if i >= 0 and not played then played = true sound:Play() end | |
4962 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0)) | |
4963 | game:GetService("RunService").RenderStepped:wait() | |
4964 | end | |
4965 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) | |
4966 | ||
4967 | for i = 8,0,-0.2 do | |
4968 | pipe.CFrame = targetpos - Vector3.new(0,8-i,0) | |
4969 | if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end | |
4970 | game:GetService("RunService").RenderStepped:wait() | |
4971 | end | |
4972 | ||
4973 | pipe:Destroy() | |
4974 | ||
4975 | if char:FindFirstChild("Torso") then | |
4976 | char.Torso.Anchored = false | |
4977 | else | |
4978 | char.UpperTorso.Anchored = false | |
4979 | end | |
4980 | end) | |
4981 | end | |
4982 | ||
4983 | addcmd('pipetp', 'uses pipe to tp plr to plr',{}, | |
4984 | function(args, speaker) | |
4985 | local players = getPlayer(args[1], speaker) | |
4986 | local target = getPlayer(args[2], speaker)[1] | |
4987 | for i,v in pairs(players)do | |
4988 | pipeTp(v,target) | |
4989 | end | |
4990 | end) | |
4991 | ||
4992 | addcmd('rhats', 'no more hats',{'removehats'}, | |
4993 | function(args, speaker) | |
4994 | local players = getPlayer(args[1], speaker) | |
4995 | for i,v in pairs(players) do | |
4996 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
4997 | if v:IsA('Accessory') then | |
4998 | v:destroy() | |
4999 | end | |
5000 | end | |
5001 | end | |
5002 | end) | |
5003 | ||
5004 | addcmd('naked', 'no more clothing',{}, | |
5005 | function(args, speaker) | |
5006 | local players = getPlayer(args[1], speaker) | |
5007 | for i,v in pairs(players) do | |
5008 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
5009 | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then | |
5010 | v:destroy() | |
5011 | end | |
5012 | end | |
5013 | end | |
5014 | end) | |
5015 | ||
5016 | addcmd('rainbow', 'makes a players parts change colors',{}, | |
5017 | function(args, speaker) | |
5018 | local players = getPlayer(args[1], speaker) | |
5019 | for i,v in pairs(players) do | |
5020 | local Parts={} | |
5021 | local function GetDiscoColor(hue) | |
5022 | local section = hue % 1 * 3 | |
5023 | local secondary = 0.5 * math.pi * (section % 1) | |
5024 | if section < 1 then | |
5025 | return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary)) | |
5026 | elseif section < 2 then | |
5027 | return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary)) | |
5028 | else | |
5029 | return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1) | |
5030 | end | |
5031 | end | |
5032 | local Part = function(x,y,z,color,tr,cc,an,parent) | |
5033 | local p = Instance.new('Part',parent) | |
5034 | p.formFactor = 'Custom' | |
5035 | p.Size = Vector3.new(x,y,z) | |
5036 | p.BrickColor = BrickColor.new(color) | |
5037 | p.CanCollide = cc | |
5038 | p.Transparency = tr | |
5039 | p.Anchored = an | |
5040 | p.TopSurface,p.BottomSurface = 0,0 | |
5041 | p:BreakJoints'' | |
5042 | table.insert(Parts,p) | |
5043 | return p | |
5044 | end | |
5045 | local Weld = function(p0,p1) | |
5046 | local w = Instance.new('Motor',p0) | |
5047 | w.Part0 = p0 | |
5048 | w.Part1 = p1 | |
5049 | return w | |
5050 | end | |
5051 | local Mesh = function(par,num,x,y,z) | |
5052 | local msh = 0 | |
5053 | if num == 1 then | |
5054 | msh = Instance.new("SpecialMesh",par) | |
5055 | msh.MeshId='rbxasset://fonts/torso.mesh' | |
5056 | msh.TextureId='rbxasset://25701026' | |
5057 | end | |
5058 | if num == 2 then | |
5059 | msh = Instance.new("SpecialMesh",par) | |
5060 | msh.MeshId='rbxasset://fonts/head.mesh' | |
5061 | msh.TextureId='rbxassetid://25701026' | |
5062 | end | |
5063 | msh.Scale = Vector3.new(x,y,z) | |
5064 | return msh | |
5065 | end | |
5066 | local char=gPlayers[v].Character | |
5067 | for _,v in pairs(char:GetChildren()) do | |
5068 | if v.ClassName=="Part" then | |
5069 | v.Transparency=1 | |
5070 | elseif v.ClassName=="Hat" then | |
5071 | v.Handle.Mesh.TextureId='rbxassetid://25701026' | |
5072 | table.insert(Parts,v.Handle) | |
5073 | end | |
5074 | end | |
5075 | local t=Part(1,1,1,'',0,false,false,char) | |
5076 | Mesh(t,1,1,1,1) | |
5077 | Weld(char.Torso,t) | |
5078 | local a=Part(1,1,1,'',0,false,false,char) | |
5079 | Mesh(a,1,.5,1,1) | |
5080 | Weld(char['Right Arm'],a) | |
5081 | local a=Part(1,1,1,'',0,false,false,char) | |
5082 | Mesh(a,1,.5,1,1) | |
5083 | Weld(char['Left Arm'],a) | |
5084 | local l=Part(1,1,1,'',0,false,false,char) | |
5085 | Mesh(l,1,.5,1,1) | |
5086 | Weld(char['Right Leg'],l) | |
5087 | local l=Part(1,1,1,'',0,false,false,char) | |
5088 | Mesh(l,1,.5,1,1) | |
5089 | Weld(char['Left Leg'],l) | |
5090 | local h=Part(1,1,1,'',0,false,false,char) | |
5091 | Mesh(h,2,1,1,1) | |
5092 | Weld(char.Head,h) | |
5093 | spawn(function() | |
5094 | while(coroutine.yield())do | |
5095 | for i=1,#Parts do | |
5096 | Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5) | |
5097 | end | |
5098 | end; | |
5099 | end); | |
5100 | end | |
5101 | end) | |
5102 | ||
5103 | addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'}, | |
5104 | function(args, speaker) | |
5105 | local players = getPlayer(args[1], speaker) | |
5106 | for i,v in pairs(players) do | |
5107 | for i,v in pairs(gPlayers[v].Backpack:GetDescendants()) do | |
5108 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
5109 | v:destroy() end | |
5110 | for i,v in pairs(players) do | |
5111 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
5112 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
5113 | v:destroy() end end end | |
5114 | end | |
5115 | end | |
5116 | end) | |
5117 | ||
5118 | addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'}, | |
5119 | function(args, speaker) | |
5120 | local players = getPlayer(args[1], speaker) | |
5121 | for i,v in pairs(players)do | |
5122 | local function copy(instance) | |
5123 | for i,c in pairs(instance:GetChildren())do | |
5124 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5125 | c:Clone().Parent = gPlayers[v].StarterGear end | |
5126 | copy(c) | |
5127 | end | |
5128 | end | |
5129 | copy(gPlayers[v].Backpack) | |
5130 | end | |
5131 | for i,v in pairs(players)do | |
5132 | local function copy(instance) | |
5133 | for i,c in pairs(instance:GetChildren())do | |
5134 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5135 | c:Clone().Parent = gPlayers[v].StarterGear end | |
5136 | copy(c) | |
5137 | end | |
5138 | end | |
5139 | copy(gPlayers[v].Character) | |
5140 | end | |
5141 | Notify('Copied tools to StarterGear') | |
5142 | end) | |
5143 | ||
5144 | addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'}, | |
5145 | function(args, speaker) | |
5146 | local players = getPlayer(args[1], speaker) | |
5147 | for i,v in pairs(players)do | |
5148 | for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do | |
5149 | if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy() | |
5150 | end end end | |
5151 | Notify('Cleared tools from StarterGear') | |
5152 | end) | |
5153 | ||
5154 | addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'}, | |
5155 | function(args, speaker) | |
5156 | local players = getPlayer(args[1], speaker) | |
5157 | for i,v in pairs(players)do | |
5158 | local function copy(instance) | |
5159 | for i,c in pairs(instance:GetChildren())do | |
5160 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5161 | c:Clone().Parent = gPlayers[v].Backpack end | |
5162 | copy(c) | |
5163 | end | |
5164 | end | |
5165 | copy(LightingService) | |
5166 | end | |
5167 | for i,v in pairs(players)do | |
5168 | local function copy(instance) | |
5169 | for i,c in pairs(instance:GetChildren())do | |
5170 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5171 | c:Clone().Parent = gPlayers[v].Backpack end | |
5172 | copy(c) | |
5173 | end | |
5174 | end | |
5175 | copy(game.ReplicatedStorage) | |
5176 | end | |
5177 | end) | |
5178 | ||
5179 | wdisco = false | |
5180 | addcmd('partdisco', 'color spams the workspace',{'pdisco'}, | |
5181 | function(args, speaker) | |
5182 | if wdisco == false then | |
5183 | wdisco = true | |
5184 | presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"} | |
5185 | repeat wait(1) | |
5186 | if wdisco == true then | |
5187 | local function color(instance) | |
5188 | for i,v in pairs(instance:GetChildren())do | |
5189 | if v.className == "Part" then | |
5190 | v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end | |
5191 | color(v) | |
5192 | end | |
5193 | end | |
5194 | color(workspace) | |
5195 | end | |
5196 | until wdisco == false | |
5197 | end | |
5198 | end) | |
5199 | ||
5200 | addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'}, | |
5201 | function(args, speaker) | |
5202 | wdisco = false | |
5203 | end) | |
5204 | ||
5205 | addcmd('gravity', 'workspace gravity',{''}, | |
5206 | function(args, speaker) | |
5207 | workspace.Gravity = args[1] | |
5208 | Notify('Gravity set to ' .. args[1]) | |
5209 | end) | |
5210 | ||
5211 | SINFOGUIopen = false | |
5212 | function serverinfogui() | |
5213 | if SINFOGUIopen == false then | |
5214 | local Sinfo = Instance.new("ScreenGui") | |
5215 | local drag = Instance.new("Frame") | |
5216 | local PromptDialog = Instance.new("Frame") | |
5217 | local shadow = Instance.new("Frame") | |
5218 | local PopupText = Instance.new("TextLabel") | |
5219 | local Exit = Instance.new("TextButton") | |
5220 | local ContainerFrame = Instance.new("Frame") | |
5221 | local TextLabel = Instance.new("TextLabel") | |
5222 | local TextLabel2 = Instance.new("TextLabel") | |
5223 | local TextLabel3 = Instance.new("TextLabel") | |
5224 | local Time = Instance.new("TextLabel") | |
5225 | local appearance = Instance.new("TextLabel") | |
5226 | local fe = Instance.new("TextLabel") | |
5227 | local maxplayers = Instance.new("TextLabel") | |
5228 | local name = Instance.new("TextLabel") | |
5229 | local placeid = Instance.new("TextLabel") | |
5230 | local playerid = Instance.new("TextLabel") | |
5231 | local players = Instance.new("TextLabel") | |
5232 | Sinfo.Name = "Sinfo" | |
5233 | Sinfo.Parent = game.CoreGui | |
5234 | drag.Name = "drag" | |
5235 | drag.Parent = Sinfo | |
5236 | drag.Active = true | |
5237 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
5238 | drag.BackgroundTransparency = 1 | |
5239 | dragGUI(drag) | |
5240 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
5241 | drag.Size = UDim2.new(0, 290, 0, 30) | |
5242 | PromptDialog.Name = "PromptDialog" | |
5243 | PromptDialog.Parent = drag | |
5244 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
5245 | PromptDialog.BackgroundTransparency = 1 | |
5246 | PromptDialog.BorderSizePixel = 0 | |
5247 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
5248 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
5249 | PromptDialog.ZIndex = 8 | |
5250 | shadow.Name = "shadow" | |
5251 | shadow.Parent = PromptDialog | |
5252 | shadow.BackgroundColor3 = maincolor | |
5253 | shadow.BackgroundTransparency = 0.30000001192093 | |
5254 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
5255 | shadow.BorderSizePixel = 0 | |
5256 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
5257 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
5258 | PopupText.Name = "PopupText" | |
5259 | PopupText.Parent = shadow | |
5260 | PopupText.BackgroundTransparency = 1 | |
5261 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
5262 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
5263 | PopupText.ZIndex = 110 | |
5264 | PopupText.Font = Enum.Font.SourceSansBold | |
5265 | PopupText.FontSize = Enum.FontSize.Size28 | |
5266 | PopupText.Text = "Server" | |
5267 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
5268 | PopupText.TextStrokeTransparency = 0 | |
5269 | PopupText.TextWrapped = true | |
5270 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
5271 | Exit.Name = "Exit" | |
5272 | Exit.Parent = shadow | |
5273 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
5274 | Exit.BackgroundTransparency = 0.30000001192093 | |
5275 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
5276 | Exit.BorderSizePixel = 0 | |
5277 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
5278 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
5279 | Exit.FontSize = Enum.FontSize.Size14 | |
5280 | Exit.Text = "" | |
5281 | ContainerFrame.Name = "ContainerFrame" | |
5282 | ContainerFrame.Parent = PromptDialog | |
5283 | ContainerFrame.BackgroundColor3 = maincolor | |
5284 | ContainerFrame.BackgroundTransparency = 0.5 | |
5285 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
5286 | ContainerFrame.BorderSizePixel = 0 | |
5287 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
5288 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
5289 | ContainerFrame.ZIndex = 5 | |
5290 | TextLabel.Name = "Text Label" | |
5291 | TextLabel.Parent = ContainerFrame | |
5292 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
5293 | TextLabel.BackgroundTransparency = 1 | |
5294 | TextLabel.BorderColor3 = Color3.new(0, 0, 0) | |
5295 | TextLabel.Position = UDim2.new(0, 10, 0, 70) | |
5296 | TextLabel.Size = UDim2.new(0, 100, 0, 20) | |
5297 | TextLabel.ZIndex = 10 | |
5298 | TextLabel.Font = Enum.Font.SourceSans | |
5299 | TextLabel.FontSize = Enum.FontSize.Size24 | |
5300 | TextLabel.Text = "Run Time:" | |
5301 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
5302 | TextLabel.TextStrokeTransparency = 0 | |
5303 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
5304 | TextLabel2.Name = "Text Label2" | |
5305 | TextLabel2.Parent = ContainerFrame | |
5306 | TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
5307 | TextLabel2.BackgroundTransparency = 1 | |
5308 | TextLabel2.BorderColor3 = Color3.new(0, 0, 0) | |
5309 | TextLabel2.Position = UDim2.new(0, 10, 0, 120) | |
5310 | TextLabel2.Size = UDim2.new(0, 100, 0, 20) | |
5311 | TextLabel2.ZIndex = 10 | |
5312 | TextLabel2.Font = Enum.Font.SourceSans | |
5313 | TextLabel2.FontSize = Enum.FontSize.Size24 | |
5314 | TextLabel2.Text = "Statistics:" | |
5315 | TextLabel2.TextColor3 = Color3.new(1, 1, 1) | |
5316 | TextLabel2.TextStrokeTransparency = 0 | |
5317 | TextLabel2.TextXAlignment = Enum.TextXAlignment.Left | |
5318 | TextLabel3.Name = "Text Label3" | |
5319 | TextLabel3.Parent = ContainerFrame | |
5320 | TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) | |
5321 | TextLabel3.BackgroundTransparency = 1 | |
5322 | TextLabel3.BorderColor3 = Color3.new(0, 0, 0) | |
5323 | TextLabel3.Position = UDim2.new(0, 10, 0, 0) | |
5324 | TextLabel3.Size = UDim2.new(0, 100, 0, 20) | |
5325 | TextLabel3.ZIndex = 10 | |
5326 | TextLabel3.Font = Enum.Font.SourceSans | |
5327 | TextLabel3.FontSize = Enum.FontSize.Size24 | |
5328 | TextLabel3.Text = "Local Player:" | |
5329 | TextLabel3.TextColor3 = Color3.new(1, 1, 1) | |
5330 | TextLabel3.TextStrokeTransparency = 0 | |
5331 | TextLabel3.TextXAlignment = Enum.TextXAlignment.Left | |
5332 | Time.Name = "Time" | |
5333 | Time.Parent = ContainerFrame | |
5334 | Time.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5335 | Time.BackgroundTransparency = 1 | |
5336 | Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5337 | Time.Position = UDim2.new(0, 10, 0, 90) | |
5338 | Time.Size = UDim2.new(0, 100, 0, 20) | |
5339 | Time.ZIndex = 100 | |
5340 | Time.Font = Enum.Font.ArialBold | |
5341 | Time.FontSize = Enum.FontSize.Size14 | |
5342 | Time.Text = "Loading..." | |
5343 | Time.TextColor3 = Color3.new(1, 1, 1) | |
5344 | Time.TextStrokeTransparency = 0 | |
5345 | Time.TextXAlignment = Enum.TextXAlignment.Left | |
5346 | appearance.Name = "appearance" | |
5347 | appearance.Parent = ContainerFrame | |
5348 | appearance.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5349 | appearance.BackgroundTransparency = 1 | |
5350 | appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5351 | appearance.Position = UDim2.new(0, 10, 0, 40) | |
5352 | appearance.Size = UDim2.new(0, 100, 0, 20) | |
5353 | appearance.ZIndex = 10 | |
5354 | appearance.Font = Enum.Font.ArialBold | |
5355 | appearance.FontSize = Enum.FontSize.Size14 | |
5356 | appearance.Text = "Appearance: Loading..." | |
5357 | appearance.TextColor3 = Color3.new(1, 1, 1) | |
5358 | appearance.TextStrokeTransparency = 0 | |
5359 | appearance.TextXAlignment = Enum.TextXAlignment.Left | |
5360 | fe.Name = "fe" | |
5361 | fe.Parent = ContainerFrame | |
5362 | fe.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5363 | fe.BackgroundTransparency = 1 | |
5364 | fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5365 | fe.Position = UDim2.new(0, 10, 0, 200) | |
5366 | fe.Size = UDim2.new(0, 100, 0, 20) | |
5367 | fe.ZIndex = 10 | |
5368 | fe.Font = Enum.Font.ArialBold | |
5369 | fe.FontSize = Enum.FontSize.Size14 | |
5370 | fe.Text = "Loading..." | |
5371 | fe.TextColor3 = Color3.new(1, 1, 1) | |
5372 | fe.TextStrokeTransparency = 0 | |
5373 | fe.TextXAlignment = Enum.TextXAlignment.Left | |
5374 | maxplayers.Name = "maxplayers" | |
5375 | maxplayers.Parent = ContainerFrame | |
5376 | maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5377 | maxplayers.BackgroundTransparency = 1 | |
5378 | maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5379 | maxplayers.Position = UDim2.new(0, 10, 0, 160) | |
5380 | maxplayers.Size = UDim2.new(0, 100, 0, 20) | |
5381 | maxplayers.ZIndex = 10 | |
5382 | maxplayers.Font = Enum.Font.ArialBold | |
5383 | maxplayers.FontSize = Enum.FontSize.Size14 | |
5384 | maxplayers.Text = "Loading..." | |
5385 | maxplayers.TextColor3 = Color3.new(1, 1, 1) | |
5386 | maxplayers.TextStrokeTransparency = 0 | |
5387 | maxplayers.TextXAlignment = Enum.TextXAlignment.Left | |
5388 | name.Name = "name" | |
5389 | name.Parent = ContainerFrame | |
5390 | name.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5391 | name.BackgroundTransparency = 1 | |
5392 | name.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5393 | name.Position = UDim2.new(0, 10, 0, 180) | |
5394 | name.Size = UDim2.new(0, 100, 0, 20) | |
5395 | name.ZIndex = 10 | |
5396 | name.Font = Enum.Font.ArialBold | |
5397 | name.FontSize = Enum.FontSize.Size14 | |
5398 | name.Text = "Place: Loading..." | |
5399 | name.TextColor3 = Color3.new(1, 1, 1) | |
5400 | name.TextStrokeTransparency = 0 | |
5401 | name.TextXAlignment = Enum.TextXAlignment.Left | |
5402 | placeid.Name = "placeid" | |
5403 | placeid.Parent = ContainerFrame | |
5404 | placeid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5405 | placeid.BackgroundTransparency = 1 | |
5406 | placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5407 | placeid.Position = UDim2.new(0, 10, 0, 220) | |
5408 | placeid.Size = UDim2.new(0, 100, 0, 20) | |
5409 | placeid.ZIndex = 10 | |
5410 | placeid.Font = Enum.Font.ArialBold | |
5411 | placeid.FontSize = Enum.FontSize.Size14 | |
5412 | placeid.Text = "Place ID: Loading..." | |
5413 | placeid.TextColor3 = Color3.new(1, 1, 1) | |
5414 | placeid.TextStrokeTransparency = 0 | |
5415 | placeid.TextXAlignment = Enum.TextXAlignment.Left | |
5416 | playerid.Name = "playerid" | |
5417 | playerid.Parent = ContainerFrame | |
5418 | playerid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5419 | playerid.BackgroundTransparency = 1 | |
5420 | playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5421 | playerid.Position = UDim2.new(0, 10, 0, 20) | |
5422 | playerid.Size = UDim2.new(0, 100, 0, 20) | |
5423 | playerid.ZIndex = 10 | |
5424 | playerid.Font = Enum.Font.ArialBold | |
5425 | playerid.FontSize = Enum.FontSize.Size14 | |
5426 | playerid.Text = "Player ID: Loading..." | |
5427 | playerid.TextColor3 = Color3.new(1, 1, 1) | |
5428 | playerid.TextStrokeTransparency = 0 | |
5429 | playerid.TextXAlignment = Enum.TextXAlignment.Left | |
5430 | players.Name = "players" | |
5431 | players.Parent = ContainerFrame | |
5432 | players.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5433 | players.BackgroundTransparency = 1 | |
5434 | players.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5435 | players.Position = UDim2.new(0, 10, 0, 140) | |
5436 | players.Size = UDim2.new(0, 100, 0, 20) | |
5437 | players.ZIndex = 100 | |
5438 | players.Font = Enum.Font.ArialBold | |
5439 | players.FontSize = Enum.FontSize.Size14 | |
5440 | players.Text = "Loading..." | |
5441 | players.TextColor3 = Color3.new(1, 1, 1) | |
5442 | players.TextStrokeTransparency = 0 | |
5443 | players.TextXAlignment = Enum.TextXAlignment.Left | |
5444 | local SINFOGUI = ContainerFrame | |
5445 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
5446 | SINFOGUIopen = true wait(0.5) | |
5447 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId) | |
5448 | SINFOGUI.name.Text = "Place: " .. Asset.Name | |
5449 | Exit.MouseButton1Click:Connect(function() | |
5450 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
5451 | wait(0.6) SINFOGUIopen = false Sinfo:Destroy() end) | |
5452 | SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId | |
5453 | if workspace.FilteringEnabled == true then | |
5454 | SINFOGUI.fe.Text = "Filtering Enabled" | |
5455 | elseif workspace.FilteringEnabled == false then | |
5456 | SINFOGUI.fe.Text = "Filtering Disabled" end | |
5457 | SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max" | |
5458 | SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat | |
5459 | players = gPlayers:getPlayers() | |
5460 | SINFOGUI.players.Text = #players.. " Player(s)" | |
5461 | SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId | |
5462 | local seconds = math.floor(workspace.DistributedGameTime) | |
5463 | local minutes = math.floor(workspace.DistributedGameTime / 60) | |
5464 | local hours = math.floor(workspace.DistributedGameTime / 60 / 60) | |
5465 | local seconds = seconds - (minutes * 60) | |
5466 | local minutes = minutes - (hours * 60) | |
5467 | if hours < 1 then if minutes < 1 then | |
5468 | SINFOGUI.Time.Text = seconds .. " Second(s)" else | |
5469 | SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else | |
5470 | SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
5471 | end wait(1) until SINFOGUIopen == false end end | |
5472 | addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'}, | |
5473 | function(args, speaker) | |
5474 | if speaker.userId ~= LP.userId then | |
5475 | lponly(speaker) | |
5476 | else | |
5477 | serverinfogui() | |
5478 | end | |
5479 | end) | |
5480 | ||
5481 | addcmd('sparkles', 'give a player sparkles',{'sp'}, | |
5482 | function(args, speaker) | |
5483 | local players = getPlayer(args[1], speaker) | |
5484 | for i,v in pairs(players)do | |
5485 | spawn(function() | |
5486 | local pchar=_char(v) | |
5487 | local Sparkles1 = Instance.new("Sparkles", pchar.Head) | |
5488 | local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart) | |
5489 | local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"]) | |
5490 | local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"]) | |
5491 | local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"]) | |
5492 | local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"]) | |
5493 | if not args[2] then return end | |
5494 | Sparkles1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5495 | Sparkles2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5496 | Sparkles3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5497 | Sparkles4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5498 | Sparkles5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5499 | Sparkles6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5500 | end) | |
5501 | end | |
5502 | end) | |
5503 | ||
5504 | addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'}, | |
5505 | function(args, speaker) | |
5506 | local players = getPlayer(args[1], speaker) | |
5507 | for i,v in pairs(players)do | |
5508 | local pchar=_char(v) | |
5509 | for j,v1 in pairs(pchar:GetDescendants()) do | |
5510 | if v1:IsA("Sparkles") then | |
5511 | v1:Destroy() | |
5512 | end end end | |
5513 | end) | |
5514 | ||
5515 | addcmd('smoke', 'give a player smoke',{}, | |
5516 | function(args, speaker) | |
5517 | local players = getPlayer(args[1], speaker) | |
5518 | for i,v in pairs(players)do | |
5519 | local pchar=_char(v) | |
5520 | Instance.new("Smoke", pchar.HumanoidRootPart) | |
5521 | end | |
5522 | end) | |
5523 | ||
5524 | addcmd('addstat', 'give a player a stat',{}, | |
5525 | function(args, speaker) | |
5526 | local players = getPlayer(args[1], speaker) | |
5527 | for i,v in pairs(players)do | |
5528 | spawn(function() | |
5529 | if gPlayers[v]:FindFirstChild("leaderstats") then | |
5530 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
5531 | if child.Name == "STAT" then | |
5532 | child:Destroy() | |
5533 | end | |
5534 | end | |
5535 | local score = Instance.new("StringValue") | |
5536 | score.Name = "STAT" | |
5537 | score.Value = GLS(false, 1) | |
5538 | score.Parent = gPlayers[v].leaderstats | |
5539 | else | |
5540 | local stats = Instance.new("IntValue") | |
5541 | stats.Name = "leaderstats" | |
5542 | stats.Parent = gPlayers[v] | |
5543 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
5544 | if child.Name == "STAT" then | |
5545 | child:Destroy() | |
5546 | end | |
5547 | end | |
5548 | local score = Instance.new("StringValue") | |
5549 | score.Name = "STAT" | |
5550 | score.Value = GLS(false, 1) | |
5551 | score.Parent = gPlayers[v].leaderstats | |
5552 | end | |
5553 | end) | |
5554 | end | |
5555 | end) | |
5556 | ||
5557 | addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'}, | |
5558 | function(args, speaker) | |
5559 | local players = getPlayer(args[1], speaker) | |
5560 | for i,v in pairs(players)do | |
5561 | local pchar=_char(v) | |
5562 | for j,v1 in pairs(pchar:GetDescendants()) do | |
5563 | if v1:IsA("Smoke") then | |
5564 | v1:Destroy() | |
5565 | end | |
5566 | end | |
5567 | end | |
5568 | end) | |
5569 | ||
5570 | addcmd('longneck', 'makes a player have a really long neck',{'giraffe'}, | |
5571 | function(args, speaker) | |
5572 | local players = getPlayer(args[1], speaker) | |
5573 | for i,v in pairs(players)do | |
5574 | local pchar=_char(v) | |
5575 | for i,v in pairs(pchar:GetChildren()) do | |
5576 | if pchar.Torso:FindFirstChild("Neck") then | |
5577 | pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
5578 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end | |
5579 | Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1) | |
5580 | Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true | |
5581 | local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7) | |
5582 | local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0) | |
5583 | end | |
5584 | end | |
5585 | end | |
5586 | end) | |
5587 | ||
5588 | addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'}, | |
5589 | function(args, speaker) | |
5590 | local players = getPlayer(args[1], speaker) | |
5591 | for i,v in pairs(players)do | |
5592 | local pchar=_char(v) | |
5593 | for i,v in pairs(pchar:GetChildren()) do | |
5594 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
5595 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end | |
5596 | end | |
5597 | end | |
5598 | end) | |
5599 | ||
5600 | addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'}, | |
5601 | function(args, speaker) | |
5602 | workspace.Terrain:Clear() | |
5603 | end) | |
5604 | ||
5605 | addcmd('smite','get hit by lightning',{}, | |
5606 | function(args, speaker) | |
5607 | local players = getPlayer(args[1], speaker) | |
5608 | for i,v in pairs(players)do | |
5609 | local pchar=_char(v) | |
5610 | spawn(function() | |
5611 | local char = pchar | |
5612 | local zeus = Instance.new("Model",char) | |
5613 | local cloud = Instance.new("Part",zeus) | |
5614 | cloud.Anchored = true | |
5615 | cloud.CanCollide = false | |
5616 | cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0) | |
5617 | local sound = Instance.new("Sound",cloud) | |
5618 | sound.SoundId = "rbxassetid://133426162" | |
5619 | local mesh = Instance.new("SpecialMesh",cloud) | |
5620 | mesh.MeshId = "http://www.roblox.com/asset/?id=1095708" | |
5621 | mesh.TextureId = "http://www.roblox.com/asset/?id=1095709" | |
5622 | mesh.Scale = Vector3.new(30,30,40) | |
5623 | mesh.VertexColor = Vector3.new(0.3,0.3,0.3) | |
5624 | local light = Instance.new("PointLight",cloud) | |
5625 | light.Color = Color3.new(0,85/255,1) | |
5626 | light.Brightness = 10 | |
5627 | light.Range = 30 | |
5628 | light.Enabled = false | |
5629 | wait(0.2) | |
5630 | sound.Volume = 0.5 | |
5631 | sound.Pitch = 0.8 | |
5632 | sound:Play() | |
5633 | light.Enabled = true | |
5634 | wait(1/100) | |
5635 | light.Enabled = false | |
5636 | wait(0.2) | |
5637 | light.Enabled = true | |
5638 | light.Brightness = 1 | |
5639 | wait(0.05) | |
5640 | light.Brightness = 3 | |
5641 | wait(0.02) | |
5642 | light.Brightness = 1 | |
5643 | wait(0.07) | |
5644 | light.Brightness = 10 | |
5645 | wait(0.09) | |
5646 | light.Brightness = 0 | |
5647 | wait(0.01) | |
5648 | light.Brightness = 7 | |
5649 | light.Enabled = false | |
5650 | wait(1.5) | |
5651 | local part1 = Instance.new("Part",zeus) | |
5652 | part1.Anchored = true | |
5653 | part1.CanCollide = false | |
5654 | part1.Size = Vector3.new(2, 9.2, 1) | |
5655 | part1.BrickColor = BrickColor.new("New Yeller") | |
5656 | part1.Transparency = 0.6 | |
5657 | part1.BottomSurface = "Smooth" | |
5658 | part1.TopSurface = "Smooth" | |
5659 | part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0) | |
5660 | part1.Rotation = Vector3.new(0.359, 1.4, -14.361) | |
5661 | wait() | |
5662 | local part2 = part1:clone() | |
5663 | part2.Parent = zeus | |
5664 | part2.Size = Vector3.new(1, 7.48, 2) | |
5665 | part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0) | |
5666 | part2.Rotation = Vector3.new(77.514, -75.232, 78.051) | |
5667 | wait() | |
5668 | local part3 = part1:clone() | |
5669 | part3.Parent = zeus | |
5670 | part3.Size = Vector3.new(1.86, 7.56, 1) | |
5671 | part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0) | |
5672 | part3.Rotation = Vector3.new(0, 0, -11.128) | |
5673 | sound.SoundId = "rbxassetid://130818250" | |
5674 | sound.Volume = 1 | |
5675 | sound.Pitch = 1 | |
5676 | sound:Play() | |
5677 | wait() | |
5678 | part1.Transparency = 1 | |
5679 | part2.Transparency = 1 | |
5680 | part3.Transparency = 1 | |
5681 | Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0) | |
5682 | char:BreakJoints() | |
5683 | end) | |
5684 | end | |
5685 | end) | |
5686 | ||
5687 | addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'}, | |
5688 | function(args, speaker) | |
5689 | local players = getPlayer(args[1], speaker) | |
5690 | for i,v in pairs(players)do | |
5691 | spawn(function() | |
5692 | local pchar=_char(v) | |
5693 | 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) | |
5694 | local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030" | |
5695 | local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30 | |
5696 | local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10 | |
5697 | local f = Instance.new("Sound") | |
5698 | f.Name = "fly" | |
5699 | f.SoundId = "rbxassetid://179438534" | |
5700 | f.Volume = 3 | |
5701 | f.Pitch = 1 | |
5702 | f.Looped = true | |
5703 | f.archivable = true | |
5704 | f.Parent = Ast | |
5705 | f:play() | |
5706 | local Touched = false | |
5707 | coroutine.wrap(function() | |
5708 | repeat wait(0.1) | |
5709 | Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z) | |
5710 | until not Ast or Ast.Parent == nil or Touched == true | |
5711 | end)() | |
5712 | Ast.Touched:connect(function(Part) | |
5713 | if Touched == false then | |
5714 | Touched = true | |
5715 | Part:BreakJoints() | |
5716 | local Boom = Instance.new("Explosion", workspace) | |
5717 | Boom.Position = Ast.Position | |
5718 | Boom.BlastPressure = 1000000 | |
5719 | Boom.BlastRadius = 30 | |
5720 | Fire.Heat = 0 | |
5721 | Smoke.RiseVelocity = 0 | |
5722 | f:Destroy() | |
5723 | local s = Instance.new("Sound") | |
5724 | s.Name = "boom" | |
5725 | s.SoundId = "rbxassetid://188590169" | |
5726 | s.Volume = 3 | |
5727 | s.Pitch = 1 | |
5728 | s.Looped = true | |
5729 | s.archivable = true | |
5730 | s.Parent = Ast | |
5731 | s:play() | |
5732 | coroutine.wrap(function() | |
5733 | wait(10) | |
5734 | s:Destroy() | |
5735 | if Ast and Ast.Parent ~= nil then | |
5736 | Ast:Destroy() | |
5737 | end | |
5738 | end)() | |
5739 | end | |
5740 | end) | |
5741 | end) | |
5742 | end | |
5743 | end) | |
5744 | ||
5745 | addcmd('bomb','gives you a bomb vest',{'terrorist'}, | |
5746 | function(args, speaker) | |
5747 | local players = getPlayer(args[1], speaker) | |
5748 | for i,v in pairs(players)do | |
5749 | spawn(function() | |
5750 | local Char=_char(v) | |
5751 | local HumanoidRootPart = Char.HumanoidRootPart | |
5752 | local TickWait = 1 | |
5753 | local Dead = false | |
5754 | ||
5755 | local Position = Vector3.new(0,100,0) | |
5756 | function NewPart(Parent) | |
5757 | local Part = Instance.new("Part", Parent) | |
5758 | Part.CanCollide = false | |
5759 | Part.Position = Position | |
5760 | Part.TopSurface = "Smooth" | |
5761 | Part.BottomSurface = "Smooth" | |
5762 | Position = Position + Vector3.new(0,10,0) | |
5763 | return Part | |
5764 | end | |
5765 | ||
5766 | local Model = Char:FindFirstChild("Bomb") | |
5767 | if Model then Model:Destroy() end | |
5768 | ||
5769 | local Model = Instance.new("Model", Char) | |
5770 | Model.Name = "Bomb" | |
5771 | ||
5772 | local Belt = NewPart(Model) | |
5773 | Belt.Size = Vector3.new(2.2,0.5,1.2) | |
5774 | local Weld = Instance.new("Weld", Belt) | |
5775 | Weld.Part0 = Belt | |
5776 | Weld.Part1 = HumanoidRootPart | |
5777 | Weld.C0 = CFrame.new(0,1.1,0) | |
5778 | local Light = Instance.new("PointLight", Belt) | |
5779 | Light.Range = 15 | |
5780 | Light.Brightness = 5 | |
5781 | Light.Color = Color3.new(1,0,0) | |
5782 | local Beep = Instance.new("Sound", Belt) | |
5783 | Beep.SoundId = "http://www.roblox.com/asset/?id=188588790" | |
5784 | local ExplodeSound = Instance.new("Sound", Belt) | |
5785 | ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 | |
5786 | ExplodeSound.Pitch = 2.8 | |
5787 | ExplodeSound.Volume = 3 | |
5788 | ||
5789 | local Back = NewPart(Model) | |
5790 | Back.Size = Vector3.new(1.5,1.5,0.5) | |
5791 | local Weld = Instance.new("Weld", Back) | |
5792 | Weld.Part0 = Back | |
5793 | Weld.Part1 = HumanoidRootPart | |
5794 | Weld.C0 = CFrame.new(0,0.1,-0.75) | |
5795 | ||
5796 | local StrapLeft = NewPart(Model) | |
5797 | StrapLeft.Size = Vector3.new(0.2,0.5,1.6) | |
5798 | local Weld = Instance.new("Weld", StrapLeft) | |
5799 | Weld.Part0 = StrapLeft | |
5800 | Weld.Part1 = HumanoidRootPart | |
5801 | Weld.C0 = CFrame.new(0.65,-0.9,-0.2) | |
5802 | ||
5803 | local BuckleLeft = NewPart(Model) | |
5804 | BuckleLeft.Size = Vector3.new(0.2,1.5,0.2) | |
5805 | local Weld = Instance.new("Weld", BuckleLeft) | |
5806 | Weld.Part0 = BuckleLeft | |
5807 | Weld.Part1 = HumanoidRootPart | |
5808 | Weld.C0 = CFrame.new(0.65,0.1,0.5) | |
5809 | ||
5810 | local StrapRight = NewPart(Model) | |
5811 | StrapRight.Size = Vector3.new(0.2,0.5,1.6) | |
5812 | local Weld = Instance.new("Weld", StrapRight) | |
5813 | Weld.Part0 = StrapRight | |
5814 | Weld.Part1 = HumanoidRootPart | |
5815 | Weld.C0 = CFrame.new(-0.65,-0.9,-0.2) | |
5816 | ||
5817 | local BuckleRight = NewPart(Model) | |
5818 | BuckleRight.Size = Vector3.new(0.2,1.5,0.2) | |
5819 | local Weld = Instance.new("Weld", BuckleRight) | |
5820 | Weld.Part0 = BuckleRight | |
5821 | Weld.Part1 = HumanoidRootPart | |
5822 | Weld.C0 = CFrame.new(-0.65,0.1,0.5) | |
5823 | ||
5824 | LightEnabled = true | |
5825 | coroutine.wrap(function() | |
5826 | repeat | |
5827 | wait(TickWait) | |
5828 | LightEnabled = not LightEnabled | |
5829 | Light.Enabled = LightEnabled | |
5830 | Beep:Play() | |
5831 | until Dead == true or Char:FindFirstChild("Bomb") == nil | |
5832 | end)() | |
5833 | ||
5834 | wait(10) | |
5835 | if Dead == false then | |
5836 | Dead = true | |
5837 | ExplodeSound:Play(); wait(1.4) | |
5838 | local Explosion = Instance.new("Explosion") | |
5839 | Explosion.Position = Belt.Position | |
5840 | Explosion.BlastPressure = 100000 | |
5841 | Explosion.DestroyJointRadiusPercent = 0.7 | |
5842 | Explosion.ExplosionType = "CratersAndDebris" | |
5843 | Explosion.BlastRadius = 50 | |
5844 | Explosion.Parent = workspace | |
5845 | end | |
5846 | end) | |
5847 | end | |
5848 | end) | |
5849 | ||
5850 | addcmd('btools', 'gives a player btools',{}, | |
5851 | function(args, speaker) | |
5852 | local players = getPlayer(args[1], speaker) | |
5853 | if players ~= nil then | |
5854 | for i, v in pairs(players) do | |
5855 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 1 -- Model Grab Tool | |
5856 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 -- Part Grab Tool | |
5857 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 -- Clone Tool | |
5858 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 -- Hammer Tool | |
5859 | if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else | |
5860 | Notify('Gave btools to player(s)') end end end end) | |
5861 | ||
5862 | addcmd('sword', 'gives a player a sword',{}, | |
5863 | function(args, speaker) | |
5864 | local players = getPlayer(args[1], speaker) | |
5865 | if players ~= nil then | |
5866 | for i, v in pairs(players) do | |
5867 | coroutine.resume(coroutine.create(function() | |
5868 | if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then | |
5869 | local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png" | |
5870 | sword.GripForward = Vector3.new(-1,0,0) | |
5871 | sword.GripPos = Vector3.new(0,0,-1.5) | |
5872 | sword.GripRight = Vector3.new(0,1,0) | |
5873 | sword.GripUp = Vector3.new(0,0,1) | |
5874 | 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 | |
5875 | local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png" | |
5876 | repeat wait() until gPlayers[v] and gPlayers[v].Character and gPlayers[v].Character:findFirstChild("Humanoid") | |
5877 | local Damage = 15 | |
5878 | local SlashSound = Instance.new("Sound", handle) | |
5879 | SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
5880 | SlashSound.Volume = 1 | |
5881 | local LungeSound = Instance.new("Sound", handle) | |
5882 | LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" | |
5883 | LungeSound.Volume = 1 | |
5884 | local UnsheathSound = Instance.new("Sound", handle) | |
5885 | UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" | |
5886 | UnsheathSound.Volume = 1 | |
5887 | handle.Touched:connect(function(hit) | |
5888 | 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 | |
5889 | local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = speaker tag.Name = "creator" game:service("Debris"):AddItem(tag, 3) | |
5890 | hit.Parent.Humanoid:TakeDamage(Damage) | |
5891 | if not sword.Enabled or gPlayers[v].Character.Humanoid.Health <= 0 then return end | |
5892 | sword.Enabled = false | |
5893 | SlashSound:play() | |
5894 | local slash = Instance.new("StringValue", sword) slash.Name = "toolanim" slash.Value = "Slash" | |
5895 | wait(0.5) | |
5896 | sword.Enabled = true | |
5897 | end | |
5898 | end) | |
5899 | sword.Equipped:connect(function(hit) | |
5900 | UnsheathSound:play() | |
5901 | sword.Enabled = true | |
5902 | end) | |
5903 | end | |
5904 | end)) | |
5905 | end | |
5906 | end | |
5907 | end) | |
5908 | ||
5909 | addcmd('hatsize', 'changes players hat size',{''}, | |
5910 | function(args, speaker) | |
5911 | local players = getPlayer(args[1], speaker) | |
5912 | for i,v in pairs(players) do | |
5913 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
5914 | if v:IsA('Accessory') then | |
5915 | for a,b in pairs(v.Handle:GetChildren()) do | |
5916 | if b:IsA('SpecialMesh') then | |
5917 | b.Scale = args[2] * Vector3.new(1, 1, 1) | |
5918 | end | |
5919 | end | |
5920 | end | |
5921 | end | |
5922 | end | |
5923 | end) | |
5924 | ||
5925 | addcmd('headsize', 'changes players head size',{''}, | |
5926 | function(args, speaker) | |
5927 | local players = getPlayer(args[1], speaker) | |
5928 | for i,v in pairs(players) do | |
5929 | local plrchar = _players[v].Character | |
5930 | if not plrchar.Humanoid:FindFirstChild('HeadScale') then | |
5931 | if args[2] == 1 then | |
5932 | plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
5933 | plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
5934 | else | |
5935 | plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25) | |
5936 | end | |
5937 | else plrchar.Humanoid.HeadScale.Value = args[2] | |
5938 | end | |
5939 | end | |
5940 | end) | |
5941 | ||
5942 | addcmd('change', 'changes a players stat',{'stat'}, | |
5943 | function(args, speaker) | |
5944 | local players = getPlayer(args[1], speaker) | |
5945 | for i,v in pairs(players) do | |
5946 | if _players[v]:FindFirstChild('leaderstats') then | |
5947 | for i,v in pairs(_players[v].leaderstats:GetChildren()) do | |
5948 | if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then | |
5949 | if args[3] then v.Value = tonumber(args[3]) end | |
5950 | elseif string.lower(v.Name) == string.lower(args[2]) and v:IsA('StringValue') then | |
5951 | v.Value = GLS(false, 2) | |
5952 | end | |
5953 | end | |
5954 | end | |
5955 | end | |
5956 | end) | |
5957 | ||
5958 | addcmd('draw', 'drawing tool',{}, | |
5959 | function(args, speaker) | |
5960 | if speaker.userId ~= LP.userId then | |
5961 | lponly(speaker) | |
5962 | else | |
5963 | for i,v in next,game:children()do | |
5964 | pcall(function() | |
5965 | local c=v.className; | |
5966 | rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c)); | |
5967 | end); | |
5968 | end; | |
5969 | ||
5970 | ||
5971 | user=players.LocalPlayer; | |
5972 | uname=user.Name; | |
5973 | guis=user.PlayerGui; | |
5974 | pack=user.Backpack; | |
5975 | ||
5976 | keyDowns={}; | |
5977 | freeKeys={}; | |
5978 | shortcuts={}; | |
5979 | ||
5980 | _G.mine=_G.mine or{}; | |
5981 | ||
5982 | name='Draw3D'; | |
5983 | url='http://www.roblox.com/asset/?id=%d'; | |
5984 | ||
5985 | iconNormal=url:format(96578285); | |
5986 | iconOnDown=url:format(96584484); | |
5987 | ||
5988 | ver=0; | |
5989 | drawPixel=0.10; | |
5990 | _G.drawLimit=_G.drawLimit or 1000; | |
5991 | ||
5992 | _G.drawColor=_G.drawColor or Color3.new(); | |
5993 | ||
5994 | ||
5995 | ||
5996 | ||
5997 | ||
5998 | destroy=game.remove; | |
5999 | find=game.findFirstChild; | |
6000 | new=Instance.new; | |
6001 | with=function(c) | |
6002 | return function(p) | |
6003 | local o=type(c)=='string'and new(c)or c; | |
6004 | local x=p.Parent;p.Parent=nil; | |
6005 | for i,v in next,p do | |
6006 | o[i]=v; | |
6007 | end; | |
6008 | if(x)then | |
6009 | o.Parent=x; | |
6010 | end; | |
6011 | return o; | |
6012 | end; | |
6013 | end; | |
6014 | getPlace=function() | |
6015 | if(find(workspace,'draw')==nil)then | |
6016 | new('Model',workspace).Name='draw'; | |
6017 | end; | |
6018 | if(find(workspace.draw,uname)==nil)then | |
6019 | new('Model',workspace.draw).Name=uname; | |
6020 | end; | |
6021 | return workspace.draw[uname]; | |
6022 | end; | |
6023 | drawLine=function(start,target) | |
6024 | local gui=with'BlockMesh'{ | |
6025 | Parent=with'Part'{ | |
6026 | CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2); | |
6027 | Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel); | |
6028 | Parent=getPlace(); | |
6029 | Color=_G.drawColor; | |
6030 | BottomSurface=0; | |
6031 | Anchored=true; | |
6032 | TopSurface=0; | |
6033 | formFactor=3; | |
6034 | Name=name; | |
6035 | }}.Parent; | |
6036 | table.insert(_G.mine,gui); | |
6037 | return gui; | |
6038 | end; | |
6039 | onDown=function() | |
6040 | if(drawing)then | |
6041 | return nil; | |
6042 | end; | |
6043 | if(selectGui.Adornee)then | |
6044 | destroy(selectGui.Adornee); | |
6045 | end; | |
6046 | ||
6047 | drawing=true; | |
6048 | ||
6049 | mouse.Icon=iconOnDown; | |
6050 | ver=ver+1; | |
6051 | ||
6052 | ||
6053 | local cVer,start,target=ver,mouse.hit.p; | |
6054 | ||
6055 | local group={}; | |
6056 | repeat | |
6057 | Wait(0.02); | |
6058 | ||
6059 | if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then | |
6060 | ||
6061 | target=mouse.hit.p; | |
6062 | ||
6063 | table.insert(group,drawLine(start,target)); | |
6064 | ||
6065 | start=target; | |
6066 | end; | |
6067 | until ver~=cVer; | |
6068 | drawing=false; | |
6069 | ||
6070 | local groupM=new('Model',getPlace()); | |
6071 | for i,v in next,group do | |
6072 | if(v:IsDescendantOf(Workspace))then | |
6073 | v.Parent=groupM; | |
6074 | end; | |
6075 | end; | |
6076 | if(next(groupM:children())==nil)then | |
6077 | destroy(groupM); | |
6078 | end; | |
6079 | end; | |
6080 | onUp=function() | |
6081 | mouse.Icon=iconNormal; | |
6082 | ver=ver+1; | |
6083 | end; | |
6084 | onKeyDown=function(k) | |
6085 | if(freeKeys[k]==false)then | |
6086 | return false; | |
6087 | end; | |
6088 | freeKeys[k]=false; | |
6089 | Wait(0.01); | |
6090 | if(keyDowns[k])then | |
6091 | keyDowns[k](); | |
6092 | elseif(shortcuts[k])then | |
6093 | shortcuts[k](); | |
6094 | end; | |
6095 | end; | |
6096 | onKeyUp=function(k) | |
6097 | freeKeys[k]=true; | |
6098 | end; | |
6099 | onMove=function() | |
6100 | ||
6101 | end; | |
6102 | onSelect=function(lmouse) | |
6103 | frame.Visible=true; | |
6104 | ||
6105 | mouse=lmouse; | |
6106 | ||
6107 | mouse.Icon=iconNormal; | |
6108 | ||
6109 | mouse.Button1Down:connect(onDown); | |
6110 | mouse.KeyDown:connect(onKeyDown); | |
6111 | mouse.Button1Up:connect(onUp); | |
6112 | mouse.KeyUp:connect(onKeyUp); | |
6113 | mouse.Move:connect(onMove); | |
6114 | end; | |
6115 | onDeselect=function() | |
6116 | ver=ver+1; | |
6117 | frame.Visible=false; | |
6118 | selectGui.Adornee=nil; | |
6119 | mouse.Icon=iconNormal; | |
6120 | for i,v in next,freeKeys do | |
6121 | freeKeys[i]=true; | |
6122 | end; | |
6123 | end; | |
6124 | addButton=function(title,shortcut,fun) | |
6125 | with'TextButton'{ | |
6126 | Text=string.format(' %s (%s)',title,shortcut); | |
6127 | TextXAlignment=0; | |
6128 | Parent=frame; | |
6129 | }.MouseButton1Up:connect(fun); | |
6130 | ||
6131 | shortcuts[shortcut]=fun; | |
6132 | ||
6133 | local c=#frame:children(); | |
6134 | for i,v in next,frame:children()do | |
6135 | v.Position=UDim2.new(0,0,0,20*(i-1)); | |
6136 | v.Size=UDim2.new(1,0,0,20); | |
6137 | end; | |
6138 | ||
6139 | frame.Position=UDim2.new(1,-152,.5,-c*10); | |
6140 | frame.Size=UDim2.new(0,150,0,c*20); | |
6141 | end; | |
6142 | ||
6143 | ||
6144 | ||
6145 | ||
6146 | ||
6147 | ||
6148 | ||
6149 | ||
6150 | for i,v in next,{guis;pack;}do | |
6151 | pcall(function() | |
6152 | repeat until destroy(v[name]); | |
6153 | end); | |
6154 | end; | |
6155 | ||
6156 | ||
6157 | ||
6158 | tool=with'HopperBin'{ | |
6159 | Parent=pack; | |
6160 | Name=name; | |
6161 | }; | |
6162 | tool.Deselected:connect(onDeselect); | |
6163 | tool.Selected:connect(onSelect); | |
6164 | ||
6165 | ||
6166 | ||
6167 | ||
6168 | screen=with'ScreenGui'{ | |
6169 | Parent=guis; | |
6170 | Name=name; | |
6171 | }; | |
6172 | frame=with'Frame'{ | |
6173 | Parent=screen; | |
6174 | Visible=false; | |
6175 | }; | |
6176 | clframe=with'Frame'{ | |
6177 | Position=UDim2.new(.5,-50,.5,-50); | |
6178 | Size=UDim2.new(0,100,0,100); | |
6179 | Visible=false; | |
6180 | Parent=screen; | |
6181 | }; | |
6182 | selectGui=with'SelectionBox'{ | |
6183 | Parent=screen; | |
6184 | }; | |
6185 | ||
6186 | local c=0; | |
6187 | for y=0,7 do | |
6188 | for x=0,7 do | |
6189 | local color=BrickColor.palette(c).Color; | |
6190 | ||
6191 | with'ImageButton'{ | |
6192 | Position=UDim2.new(.125*x,0,.125*y); | |
6193 | Size=UDim2.new(.125,0,.125); | |
6194 | BackgroundColor3=color; | |
6195 | Parent=clframe; | |
6196 | }.MouseButton1Up:connect(function() | |
6197 | clframe.Visible=false; | |
6198 | _G.drawColor=color; | |
6199 | end); | |
6200 | ||
6201 | c=c+1; | |
6202 | end; | |
6203 | end; | |
6204 | ||
6205 | addButton('Color','c',function() | |
6206 | clframe.Visible=true; | |
6207 | end); | |
6208 | addButton('Remove your draws','r',function() | |
6209 | repeat | |
6210 | destroy(_G.mine[1]); | |
6211 | table.remove(_G.mine,1); | |
6212 | Wait(0.01); | |
6213 | until nil; | |
6214 | end); | |
6215 | addButton('Remove global draws','k',function() | |
6216 | destroy(workspace.draw); | |
6217 | while(_G.mine[1])do | |
6218 | destroy(_G.mine[1]); | |
6219 | table.remove(_G.mine,1); | |
6220 | end; | |
6221 | end); | |
6222 | addButton('Remove selected','x',function() | |
6223 | repeat | |
6224 | if(find(workspace,'draw'))then | |
6225 | local dt=mouse.target; | |
6226 | if(dt and dt:IsDescendantOf(workspace.draw))then | |
6227 | selectGui.Adornee=dt.Parent; | |
6228 | else | |
6229 | selectGui.Adornee=nil; | |
6230 | end; | |
6231 | else | |
6232 | selectGui.Adornee=nil; | |
6233 | end; | |
6234 | Wait(0.01); | |
6235 | until freeKeys.x; | |
6236 | selectGui.Adornee=nil; | |
6237 | end); | |
6238 | ||
6239 | ||
6240 | ||
6241 | ||
6242 | repeat | |
6243 | Wait(0.01); | |
6244 | if(next(_G.mine)and _G.mine[_G.drawLimit])then | |
6245 | destroy(_G.mine[1]); | |
6246 | table.remove(_G.mine,1); | |
6247 | end; | |
6248 | until script.Parent==nil or tool.Parent==nil; | |
6249 | script.Disabled=true; | |
6250 | destroy(screen); | |
6251 | end | |
6252 | end) | |
6253 | ||
6254 | addcmd('god', 'gods player',{}, | |
6255 | function(args, speaker) | |
6256 | local players = getPlayer(args[1], speaker) | |
6257 | for i,v in pairs(players)do | |
6258 | local pchar=_char(v) | |
6259 | if pchar then pchar.Humanoid.MaxHealth=math.huge end | |
6260 | end | |
6261 | end) | |
6262 | ||
6263 | addcmd('sgod', 'silently gods player',{}, | |
6264 | function(args, speaker) | |
6265 | local players = getPlayer(args[1], speaker) | |
6266 | for i,v in pairs(players)do | |
6267 | local pchar=_char(v) | |
6268 | spawn(function() | |
6269 | pchar.Humanoid.MaxHealth = 10000000 | |
6270 | wait() | |
6271 | pchar.Humanoid.Health = 10000000 | |
6272 | if FindTable(SPC, args[1]) then Notify('Silent godded ' ..args[1]) else | |
6273 | Notify('Silent godded player(s)') end | |
6274 | end) | |
6275 | end | |
6276 | end) | |
6277 | ||
6278 | addcmd('ungod', 'removes god from a player',{}, | |
6279 | function(args, speaker) | |
6280 | local players = getPlayer(args[1], speaker) | |
6281 | for i,v in pairs(players)do | |
6282 | local pchar=_char(v) | |
6283 | if pchar then | |
6284 | pchar.Humanoid.MaxHealth=100 | |
6285 | pchar.Humanoid.Health=100 | |
6286 | end | |
6287 | end | |
6288 | end) | |
6289 | ||
6290 | addcmd('heal', 'resets a players health',{}, | |
6291 | function(args, speaker) | |
6292 | local players = getPlayer(args[1], speaker) | |
6293 | for i,v in pairs(players)do spawn(function() | |
6294 | local pchar=_char(v) | |
6295 | if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end end) end end) | |
6296 | ||
6297 | addcmd('fart', 'makes u fart',{}, | |
6298 | function(args, speaker) | |
6299 | local players = getPlayer(args[1], speaker) | |
6300 | for i,v in pairs(players)do | |
6301 | spawn(function() | |
6302 | local pchar=_char(v) | |
6303 | fart = Instance.new("Smoke") | |
6304 | fart.Parent = pchar.HumanoidRootPart | |
6305 | fart.Color = Color3.new(255/255, 255/255, 0) | |
6306 | fart.Opacity = 0.4 | |
6307 | fart.Size = 1.0 | |
6308 | fart.RiseVelocity = 8 | |
6309 | fartsound = Instance.new("Sound", workspace) | |
6310 | fsound = "http://www.roblox.com/asset?id=251309043" | |
6311 | fartsound.SoundId = fsound | |
6312 | fartsound.Volume = 1.0 | |
6313 | fartsound:Play() | |
6314 | wait(9.0) | |
6315 | fartsound:Destroy() | |
6316 | pchar.HumanoidRootPart.Smoke:Destroy() | |
6317 | end) | |
6318 | end | |
6319 | end) | |
6320 | ||
6321 | addcmd('decalspam', 'you can already guess...',{}, | |
6322 | function(args, speaker) | |
6323 | Notify('Decal Spammed ID: ' ..args[1]) | |
6324 | wait(4) | |
6325 | decalID = args[1] | |
6326 | function exPro(root) | |
6327 | for _, v in pairs(root:GetChildren()) do | |
6328 | if v:IsA("BasePart") then | |
6329 | local One = Instance.new("Decal", v) | |
6330 | local Two = Instance.new("Decal", v) | |
6331 | local Three = Instance.new("Decal", v) | |
6332 | local Four = Instance.new("Decal", v) | |
6333 | local Five = Instance.new("Decal", v) | |
6334 | local Six = Instance.new("Decal", v) | |
6335 | One.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6336 | Two.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6337 | Three.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6338 | Four.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6339 | Five.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6340 | Six.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6341 | One.Face = "Front" | |
6342 | Two.Face = "Back" | |
6343 | Three.Face = "Right" | |
6344 | Four.Face = "Left" | |
6345 | Five.Face = "Top" | |
6346 | Six.Face = "Bottom" | |
6347 | One.Name = "IYdecal" | |
6348 | Two.Name = "IYdecal" | |
6349 | Three.Name = "IYdecal" | |
6350 | Four.Name = "IYdecal" | |
6351 | Five.Name = "IYdecal" | |
6352 | Six.Name = "IYdecal" | |
6353 | end | |
6354 | exPro(v) | |
6355 | end | |
6356 | end | |
6357 | function asdf(root) | |
6358 | for _, v in pairs(root:GetChildren()) do | |
6359 | asdf(v) | |
6360 | end | |
6361 | end | |
6362 | exPro(workspace) | |
6363 | asdf(workspace) | |
6364 | end) | |
6365 | ||
6366 | addcmd('undecalspam', 'removes the mess',{}, | |
6367 | function(args, speaker) | |
6368 | Notify('Removing Decal Spam...') | |
6369 | wait(4) | |
6370 | function exPro(root) | |
6371 | for _, v in pairs(root:GetChildren()) do | |
6372 | if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then | |
6373 | v.Parent = nil | |
6374 | end | |
6375 | exPro(v) | |
6376 | end | |
6377 | end | |
6378 | function asdf(root) | |
6379 | for _, v in pairs(root:GetChildren()) do | |
6380 | asdf(v) | |
6381 | end | |
6382 | end | |
6383 | exPro(workspace) | |
6384 | asdf(workspace) | |
6385 | end) | |
6386 | ||
6387 | addcmd('sky', 'sets the sky',{'skybox'}, | |
6388 | function(args, speaker) | |
6389 | playinggif = false | |
6390 | for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end | |
6391 | s = Instance.new("Sky") | |
6392 | s.Name = "Sky" | |
6393 | s.Parent = LightingService | |
6394 | local skyboxID = args[1] | |
6395 | s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID | |
6396 | s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID | |
6397 | s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID | |
6398 | s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID | |
6399 | s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID | |
6400 | s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID | |
6401 | LightingService.TimeOfDay = 12 | |
6402 | end) | |
6403 | ||
6404 | addcmd('skygif', 'makes the sky play the IDs you feed it',{}, | |
6405 | function(args, speaker) | |
6406 | if args[2] then skyinterval = tonumber(args[2]) else skyinterval = 0.05 end | |
6407 | playinggif = false | |
6408 | wait(0.5) | |
6409 | local GIF = splitString(args[1]) | |
6410 | for _, child in pairs( gLighting:GetChildren()) do | |
6411 | if child.ClassName == "Sky" then | |
6412 | child:Destroy() | |
6413 | end | |
6414 | end | |
6415 | Sky = Instance.new("Sky",game.Lighting) | |
6416 | Notify('Loading...') | |
6417 | playinggif = true | |
6418 | for N,F in ipairs(GIF) do | |
6419 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..F) | |
6420 | end | |
6421 | gLighting.TimeOfDay = 12 | |
6422 | Notify('Playing skybox') | |
6423 | playinggif = true | |
6424 | wait(0.5) | |
6425 | repeat | |
6426 | for N,F in ipairs(GIF) do | |
6427 | Sky.SkyboxBk = "http://www.roblox.com/asset/?id="..F- 1 | |
6428 | Sky.SkyboxDn = "http://www.roblox.com/asset/?id="..F- 1 | |
6429 | Sky.SkyboxFt = "http://www.roblox.com/asset/?id="..F- 1 | |
6430 | Sky.SkyboxLf = "http://www.roblox.com/asset/?id="..F- 1 | |
6431 | Sky.SkyboxRt = "http://www.roblox.com/asset/?id="..F- 1 | |
6432 | Sky.SkyboxUp = "http://www.roblox.com/asset/?id="..F- 1 | |
6433 | wait(skyinterval) | |
6434 | end | |
6435 | until playinggif == false | |
6436 | end) | |
6437 | ||
6438 | addcmd('unskygif', 'removes the sky animation',{'noskygif'}, | |
6439 | function(args, speaker) | |
6440 | playinggif = false | |
6441 | wait(0.5) | |
6442 | Notify('Stopped sky gif') | |
6443 | for _, child in pairs( gLighting:GetChildren()) do | |
6444 | if child.ClassName == "Sky" then | |
6445 | child:Destroy() | |
6446 | end | |
6447 | end | |
6448 | end) | |
6449 | ||
6450 | addcmd('freeze', 'freezes a player',{'fr'}, | |
6451 | function(args, speaker) | |
6452 | local players = getPlayer(args[1], speaker) | |
6453 | if players ~= nil then | |
6454 | for i, v in pairs(players) do | |
6455 | spawn(function() | |
6456 | for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and not x.Anchored then x.Anchored = true end | |
6457 | end | |
6458 | end) | |
6459 | end | |
6460 | end | |
6461 | end) | |
6462 | ||
6463 | addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'}, | |
6464 | function(args, speaker) | |
6465 | local players = getPlayer(args[1], speaker) | |
6466 | if players ~= nil then | |
6467 | for i, v in pairs(players) do | |
6468 | spawn(function() | |
6469 | for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and x.Anchored then x.Anchored = false end | |
6470 | end | |
6471 | end) | |
6472 | end | |
6473 | end | |
6474 | end) | |
6475 | ||
6476 | addcmd('spawn', 'places a spawn',{'spawnpoint'}, | |
6477 | function(args, speaker) | |
6478 | local players = getPlayer(args[1], speaker) | |
6479 | if players ~= nil then | |
6480 | for i, v in pairs(players) do | |
6481 | local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn' | |
6482 | M.CFrame = _char(v).HumanoidRootPart.CFrame | |
6483 | M.Color = maincolor M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6) | |
6484 | M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0) | |
6485 | M.Anchored = true | |
6486 | end | |
6487 | end | |
6488 | end) | |
6489 | ||
6490 | addcmd('deletespawns', 'places a spawn',{'removespawns'}, | |
6491 | function(args, speaker) | |
6492 | for i,v in pairs(workspace:GetDescendants()) do | |
6493 | if v:IsA("SpawnLocation") then | |
6494 | v:Destroy() | |
6495 | end | |
6496 | end | |
6497 | end) | |
6498 | ||
6499 | addcmd('neon', 'makes a player neon',{}, | |
6500 | function(args, speaker) | |
6501 | local players = getPlayer(args[1], speaker) | |
6502 | if players ~= nil then | |
6503 | for i, v in pairs(players) do | |
6504 | for _, child in pairs( _char(v):GetChildren()) do | |
6505 | if child.ClassName == "CharacterMesh" then | |
6506 | child:Destroy() | |
6507 | end | |
6508 | end | |
6509 | for _, child in pairs( _char(v):GetChildren()) do | |
6510 | if child.ClassName == "Shirt" then | |
6511 | child:Destroy() | |
6512 | end | |
6513 | end | |
6514 | for _, child in pairs( _char(v):GetChildren()) do | |
6515 | if child.ClassName == "Pants" then | |
6516 | child:Destroy() | |
6517 | end | |
6518 | end | |
6519 | for _, child in pairs( _char(v):GetDescendants()) do | |
6520 | if child.ClassName == "Part" then | |
6521 | child.Material = "Neon" | |
6522 | end | |
6523 | end | |
6524 | end | |
6525 | end | |
6526 | end) | |
6527 | ||
6528 | addcmd('glass', 'makes a player glass',{}, | |
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 | for _, child in pairs( _char(v):GetChildren()) do | |
6534 | if child.ClassName == "CharacterMesh" then | |
6535 | child:Destroy() | |
6536 | end | |
6537 | end | |
6538 | for _, child in pairs( _char(v):GetChildren()) do | |
6539 | if child.ClassName == "Shirt" then | |
6540 | child:Destroy() | |
6541 | end | |
6542 | end | |
6543 | for _, child in pairs( _char(v):GetChildren()) do | |
6544 | if child.ClassName == "Pants" then | |
6545 | child:Destroy() | |
6546 | end | |
6547 | end | |
6548 | for _, child in pairs( _char(v):GetDescendants()) do | |
6549 | if child.ClassName == "Part" then | |
6550 | child.Material = "Glass" | |
6551 | child.Transparency = 0.3 | |
6552 | end | |
6553 | end | |
6554 | end | |
6555 | end | |
6556 | end) | |
6557 | ||
6558 | ||
6559 | addcmd('os', 'Shows the targets platform.', {'platform', 'device'}, | |
6560 | function(args, speaker) | |
6561 | local players = getPlayer(args[1], speaker) | |
6562 | local platforms = {} | |
6563 | for i,v in pairs(players) do | |
6564 | local p = game:GetService("Players")[v] | |
6565 | table.insert(platforms, p.Name.."'s platform is: "..p.OsPlatform) | |
6566 | end | |
6567 | Notify(table.concat(platforms, ', ')) | |
6568 | end) | |
6569 | ||
6570 | addcmd('whiteify', 'Turns the target white.', {'white'}, | |
6571 | function(args, speaker) | |
6572 | local players = getPlayer(args[1], speaker) | |
6573 | ||
6574 | for i,v in pairs(players) do | |
6575 | local lplr = game:GetService("Players")[v] | |
6576 | local bodyc = lplr.Character["Body Colors"] | |
6577 | local color = "Institutional white" | |
6578 | ||
6579 | bodyc.HeadColor = BrickColor.new(color) | |
6580 | bodyc.LeftArmColor = BrickColor.new(color) | |
6581 | bodyc.LeftLegColor = BrickColor.new(color) | |
6582 | bodyc.RightArmColor = BrickColor.new(color) | |
6583 | bodyc.RightLegColor = BrickColor.new(color) | |
6584 | bodyc.TorsoColor = BrickColor.new(color) | |
6585 | end | |
6586 | end) | |
6587 | ||
6588 | addcmd('blackify', 'Turns the target black.', {'black'}, | |
6589 | function(args, speaker) | |
6590 | local players = getPlayer(args[1], speaker) | |
6591 | ||
6592 | for i,v in pairs(players) do | |
6593 | local lplr = game:GetService("Players")[v] | |
6594 | local bodyc = lplr.Character["Body Colors"] | |
6595 | local color = "Black" | |
6596 | ||
6597 | bodyc.HeadColor = BrickColor.new(color) | |
6598 | bodyc.LeftArmColor = BrickColor.new(color) | |
6599 | bodyc.LeftLegColor = BrickColor.new(color) | |
6600 | bodyc.RightArmColor = BrickColor.new(color) | |
6601 | bodyc.RightLegColor = BrickColor.new(color) | |
6602 | bodyc.TorsoColor = BrickColor.new(color) | |
6603 | end | |
6604 | end) | |
6605 | ||
6606 | addcmd('kill', 'kills a player',{}, | |
6607 | function(args, speaker) | |
6608 | local players = getPlayer(args[1], speaker) | |
6609 | for i,v in pairs(players)do | |
6610 | local pchar=_char(v) | |
6611 | pchar:BreakJoints() | |
6612 | end | |
6613 | end) | |
6614 | ||
6615 | addcmd('knuckles', 'that dead meme',{'ugandaknuckles'}, | |
6616 | function(args, speaker) | |
6617 | local players = getPlayer(args[1], speaker) | |
6618 | for i,v in pairs(players)do | |
6619 | spawn(function() | |
6620 | local plr = gPlayers[v] | |
6621 | local char = plr.Character | |
6622 | char.Humanoid.WalkSpeed = 100 | |
6623 | char.Humanoid.JumpPower = 70 | |
6624 | spawn(function() | |
6625 | for i,v in pairs(char:GetChildren()) do | |
6626 | if v:IsA("BasePart") then | |
6627 | coroutine.wrap(function() | |
6628 | for i=0,1,.1 do | |
6629 | wait() | |
6630 | v.Transparency = v.Transparency +i | |
6631 | end | |
6632 | end)() | |
6633 | end | |
6634 | end | |
6635 | for i,v in pairs(char:GetChildren()) do | |
6636 | if v:IsA("Accessory") then | |
6637 | coroutine.wrap(function() | |
6638 | for i=0,1,.1 do | |
6639 | wait() | |
6640 | v.Handle.Transparency = v.Handle.Transparency +i | |
6641 | end | |
6642 | end)() | |
6643 | end | |
6644 | end | |
6645 | end) | |
6646 | char.Head.face:Destroy() | |
6647 | wait(1) | |
6648 | local s = Instance.new("Sound") | |
6649 | s.Name = "wae" | |
6650 | s.SoundId = "http://www.roblox.com/asset/?id=1308281913" | |
6651 | s.Volume = 1 | |
6652 | s.Pitch = 1 | |
6653 | s.Looped = true | |
6654 | s.archivable = true | |
6655 | s.Parent = gPlayers.LocalPlayer.Character.Head | |
6656 | s:play() | |
6657 | local daqueen = Instance.new("Part",char) | |
6658 | daqueen.Name = "asd" | |
6659 | daqueen.CanCollide = false | |
6660 | local mesh = Instance.new("SpecialMesh",daqueen) | |
6661 | mesh.Scale = Vector3.new(0.1,0.1,0.1) | |
6662 | mesh.MeshId = "rbxassetid://1300136843" | |
6663 | local text = Instance.new("Decal",daqueen) | |
6664 | text.Name = "asd" | |
6665 | text.Texture = "rbxassetid://1300137893" | |
6666 | local knowdawey = Instance.new("Weld",char) | |
6667 | knowdawey.Part0 = char.HumanoidRootPart | |
6668 | knowdawey.Part1 = daqueen | |
6669 | local eye1 = Instance.new("Part") | |
6670 | eye1.CanCollide = false | |
6671 | eye1.Parent = char | |
6672 | local mesh1 = Instance.new("SpecialMesh",eye1) | |
6673 | mesh1.MeshId = "rbxassetid://1300138314" | |
6674 | mesh1.Scale = Vector3.new(0.1,0.1,0.2) | |
6675 | local eyetext = Instance.new("Decal",eye1) | |
6676 | eyetext.Texture = "rbxassetid://1300129774" | |
6677 | local eye1w = Instance.new("Weld",char) | |
6678 | eye1w.Part0 = char.HumanoidRootPart | |
6679 | eye1w.Part1 = eye1 | |
6680 | eye1w.C1 = CFrame.new(0,-1.3,0.7) | |
6681 | end) | |
6682 | end | |
6683 | end) | |
6684 | ||
6685 | addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'}, | |
6686 | function(args, speaker) | |
6687 | part = GLS(false, 0) | |
6688 | local function dels(instance) | |
6689 | for i,v in pairs(instance:GetChildren())do | |
6690 | if v.Name:lower() == part:lower() then v:Destroy() end | |
6691 | dels(v) | |
6692 | end | |
6693 | end | |
6694 | dels(workspace) | |
6695 | Notify('Deleted ' ..GLS(false, 0)) | |
6696 | end) | |
6697 | ||
6698 | addcmd('deleteclass', 'removes any part with a certain classname from the workspace',{'removeclass','deleteclassname','removeclassname','dc'}, | |
6699 | function(args, speaker) | |
6700 | part = GLS(false, 0) | |
6701 | local function dels(instance) | |
6702 | for i,v in pairs(instance:GetChildren())do | |
6703 | if v.ClassName:lower() == part:lower() then v:Destroy() end | |
6704 | dels(v) | |
6705 | end | |
6706 | end | |
6707 | dels(workspace) | |
6708 | Notify('Deleted items with ClassName ' ..GLS(false, 0)) | |
6709 | end) | |
6710 | ||
6711 | addcmd('blur', 'adjusts blur',{}, | |
6712 | function(args, speaker) | |
6713 | local function dels(instance) | |
6714 | for i,v in pairs(instance:GetChildren())do | |
6715 | if v:IsA'BlurEffect'then v:Destroy()end | |
6716 | dels(v) | |
6717 | end | |
6718 | end | |
6719 | dels(LightingService) | |
6720 | ||
6721 | local b = Instance.new("BlurEffect", LightingService) | |
6722 | b.Name = "IYblur" | |
6723 | b.Size = args[1] | |
6724 | end) | |
6725 | ||
6726 | addcmd('distortsound','changes volume of sound',{'distort'}, | |
6727 | function(args, speaker) | |
6728 | for i,v in pairs(workspace:GetChildren())do | |
6729 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6730 | v:ClearAllChildren () | |
6731 | local d = Instance.new('DistortionSoundEffect') | |
6732 | d.Parent = v | |
6733 | d.Level = args[1] | |
6734 | Notify('Changed distortion to ' .. args[1]) | |
6735 | end | |
6736 | end | |
6737 | end) | |
6738 | ||
6739 | addcmd('volume','changes volume of sound',{'vol'}, | |
6740 | function(args, speaker) | |
6741 | for i,v in pairs(workspace:GetChildren())do | |
6742 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6743 | v.Volume = args[1] | |
6744 | Notify('Changed volume to ' .. args[1]) | |
6745 | end | |
6746 | end | |
6747 | end) | |
6748 | ||
6749 | addcmd('pitch','changes pitch of sound',{}, | |
6750 | function(args, speaker) | |
6751 | for i,v in pairs(workspace:GetChildren())do | |
6752 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6753 | v.Pitch = args[1] | |
6754 | Notify('Changed pitch to ' .. args[1]) | |
6755 | end | |
6756 | end | |
6757 | end) | |
6758 | ||
6759 | addcmd('loadmap', 'spawns a map',{}, | |
6760 | function(args, speaker) | |
6761 | local m = args[1] | |
6762 | for _,v in pairs(workspace:GetChildren()) do | |
6763 | if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then | |
6764 | v:Destroy() elseif v:IsA("Terrain") then v:Clear() end end | |
6765 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end | |
6766 | wait(1) | |
6767 | local map = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. m) | |
6768 | map.Parent = workspace | |
6769 | end) | |
6770 | ||
6771 | addcmd('loadm','loads global messaging',{}, -- global message method by HARKINIAN @ V3RMILLION | |
6772 | function(args, speaker) | |
6773 | msghook() | |
6774 | if MSGhook == false then | |
6775 | local localp = game:GetService'Players'.LocalPlayer | |
6776 | localp.CharacterAppearanceId = 20018 | |
6777 | localp.Character:BreakJoints() | |
6778 | repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice' | |
6779 | Instance.new("ForceField", localp.Character) | |
6780 | repeat wait() until localp.Character.BunnyEarsOfCaprice.Handle:FindFirstChild'BunnyTools' | |
6781 | _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone() | |
6782 | localp.CharacterAppearanceId = 0 | |
6783 | localp.Character:BreakJoints() | |
6784 | if _G.mainhat ~= nil then | |
6785 | local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone() | |
6786 | local part = Instance.new('Part') | |
6787 | part.Anchored = true | |
6788 | part.Transparency = 1 | |
6789 | main.Disabled = false | |
6790 | main.Parent = part | |
6791 | _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part | |
6792 | part.Parent = localp.Character | |
6793 | part.CFrame = localp.Character.HumanoidRootPart.CFrame | |
6794 | repeat wait() until localp:FindFirstChild'ChessMsg' | |
6795 | part:Destroy() | |
6796 | local message = localp:FindFirstChild'ChessMsg' | |
6797 | message.Text = '' | |
6798 | message.Parent = workspace | |
6799 | message.Name = "IYmessage" | |
6800 | if part ~= nil then part:Destroy() end | |
6801 | localp.Character.HumanoidRootPart.Anchored = false | |
6802 | for _, child in pairs( workspace:GetChildren()) do | |
6803 | if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then | |
6804 | child:Destroy() | |
6805 | end | |
6806 | end | |
6807 | if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Destroy() end | |
6808 | if _G.msg ~= nil then | |
6809 | Notify('Loaded global message bypass') | |
6810 | else | |
6811 | execCmd("loadm") | |
6812 | end | |
6813 | end | |
6814 | elseif MSGhook == true then | |
6815 | Notify('Messages already loaded!') | |
6816 | end | |
6817 | end) | |
6818 | ||
6819 | addcmd('countdown', 'makes a countdown', {}, | |
6820 | function(args, speaker) | |
6821 | local players = getPlayer(args[1], speaker) | |
6822 | if args[1] ~= string then | |
6823 | local time = args[1] | |
6824 | msghook() | |
6825 | if MSGhook == true then | |
6826 | local h = workspace.IYmessage | |
6827 | for i = time, 1, -1 do | |
6828 | wait(1) | |
6829 | h.Text = "Countdown: "..i.."" | |
6830 | end | |
6831 | wait(1) | |
6832 | h.Text = "Times Up!" | |
6833 | wait(2) | |
6834 | h.Text = '' | |
6835 | elseif MSGhook == false then | |
6836 | execCmd("loadm") | |
6837 | repeat wait() until workspace:FindFirstChild("IYmessage") | |
6838 | local h = workspace.IYmessage | |
6839 | for i = time, 1, -1 do | |
6840 | wait(1) | |
6841 | h.Text = "Countdown: "..i.."" | |
6842 | end | |
6843 | wait(1) | |
6844 | h.Text = "Times Up!" | |
6845 | wait(2) | |
6846 | h.Text = '' | |
6847 | end | |
6848 | end | |
6849 | end) | |
6850 | ||
6851 | addcmd('explode', 'explode a player', {}, | |
6852 | function(args, speaker) | |
6853 | local players = getPlayer(args[1], speaker) | |
6854 | for i, v in pairs(players) do | |
6855 | local char = _char(v) | |
6856 | if char:FindFirstChild("HumanoidRootPart") then | |
6857 | Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position | |
6858 | end | |
6859 | end | |
6860 | end) | |
6861 | ||
6862 | addcmd('flood', 'makes a flood e.e', {}, | |
6863 | function(args, speaker) | |
6864 | workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") | |
6865 | end) | |
6866 | ||
6867 | addcmd('spookyify', 'makes it sp00ky', {}, | |
6868 | function(args, speaker) | |
6869 | local music = Instance.new("Sound", workspace) | |
6870 | music.SoundId = "http://www.roblox.com/asset/?id=257569267" | |
6871 | music.Volume = 20 | |
6872 | music.Looped = true | |
6873 | music:Play() | |
6874 | ||
6875 | tex1 = "http://www.roblox.com/asset/?id=185495987" | |
6876 | tex2 = "http://www.roblox.com/asset/?id=260858020" | |
6877 | tex3 = "http://www.roblox.com/asset/?id=149213919" | |
6878 | tex4 = "http://www.roblox.com/asset/?id=171905673" | |
6879 | ||
6880 | local w = workspace:GetChildren() | |
6881 | ||
6882 | for i= 1,#w do | |
6883 | if w[i]:isA("BasePart") then | |
6884 | pe = Instance.new("ParticleEmitter", w[i]) | |
6885 | pe.Texture = tex4 | |
6886 | pe.VelocitySpread = 5 | |
6887 | end | |
6888 | end | |
6889 | ||
6890 | local playerLeaderstats = {} | |
6891 | for i, v in pairs(gPlayers:GetChildren()) do | |
6892 | table.insert(playerLeaderstats, v) | |
6893 | end | |
6894 | for i, v in pairs(playerLeaderstats) do | |
6895 | pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart) | |
6896 | pe.Texture = "http://www.roblox.com/asset/?id=171905673" | |
6897 | pe.VelocitySpread = 50 | |
6898 | end | |
6899 | ||
6900 | texture = "http://www.roblox.com/asset/?id=185495987" | |
6901 | ||
6902 | local A = workspace:GetChildren() | |
6903 | local B = workspace:GetChildren() | |
6904 | local C = workspace:GetChildren() | |
6905 | local D = workspace:GetChildren() | |
6906 | local E = workspace:GetChildren() | |
6907 | local F = workspace:GetChildren() | |
6908 | for i,v in pairs(A) do | |
6909 | if v:IsA("Part") then | |
6910 | local d = Instance.new("Decal",v) | |
6911 | v.Decal.Face = "Top" | |
6912 | v.Decal.Texture = texture | |
6913 | v.Anchored = true | |
6914 | end | |
6915 | end | |
6916 | ||
6917 | for i,v in pairs(B) do | |
6918 | if v:IsA("Part") then | |
6919 | local s = Instance.new("Decal",v) | |
6920 | s.Face = "Front" | |
6921 | s.Texture = texture | |
6922 | end | |
6923 | end | |
6924 | ||
6925 | for i,v in pairs(C) do | |
6926 | if v:IsA("Part") then | |
6927 | local h = Instance.new("Decal",v) | |
6928 | h.Face = "Back" | |
6929 | h.Texture = texture | |
6930 | end | |
6931 | end | |
6932 | ||
6933 | for i,v in pairs(D) do | |
6934 | if v:IsA("Part") then | |
6935 | local j = Instance.new("Decal",v) | |
6936 | j.Face = "Left" | |
6937 | j.Texture = texture | |
6938 | end | |
6939 | end | |
6940 | ||
6941 | for i,v in pairs(E) do | |
6942 | if v:IsA("Part") then | |
6943 | local k = Instance.new("Decal",v) | |
6944 | k.Face = "Right" | |
6945 | k.Texture = texture | |
6946 | end | |
6947 | end | |
6948 | ||
6949 | for i,v in pairs(F) do | |
6950 | if v:IsA("Part") then | |
6951 | local l = Instance.new("Decal",v) | |
6952 | l.Face = "Bottom" | |
6953 | l.Texture = texture | |
6954 | end | |
6955 | ||
6956 | imageOne = "http://www.roblox.com/asset/?id=169585459" | |
6957 | imageTwo = "http://www.roblox.com/asset/?id=169585475" | |
6958 | imageThree = "http://www.roblox.com/asset/?id=169585485" | |
6959 | imageFour = "http://www.roblox.com/asset/?id=169585502" | |
6960 | imageFive = "http://www.roblox.com/asset/?id=169585515" | |
6961 | imageSix = "http://www.roblox.com/asset/?id=169585502" | |
6962 | imageSeven = "http://www.roblox.com/asset/?id=169585485" | |
6963 | imageEight = "http://www.roblox.com/asset/?id=169585475" | |
6964 | ||
6965 | Spooky = Instance.new("Sound", workspace) | |
6966 | Spooky.Name = "Spooky" | |
6967 | Spooky.SoundId = "rbxassetid://174270407" | |
6968 | Spooky.Volume = 15 | |
6969 | Spooky.Looped = true | |
6970 | Spooky:Play() | |
6971 | ||
6972 | Sky = Instance.new("Sky", LightingService) | |
6973 | Sky.SkyboxBk = imageOne | |
6974 | Sky.SkyboxDn = imageOne | |
6975 | Sky.SkyboxFt = imageOne | |
6976 | Sky.SkyboxLf = imageOne | |
6977 | Sky.SkyboxRt = imageOne | |
6978 | Sky.SkyboxUp = imageOne | |
6979 | ||
6980 | ||
6981 | while true do | |
6982 | Sky.SkyboxBk = imageOne | |
6983 | Sky.SkyboxDn = imageOne | |
6984 | Sky.SkyboxFt = imageOne | |
6985 | Sky.SkyboxLf = imageOne | |
6986 | Sky.SkyboxRt = imageOne | |
6987 | Sky.SkyboxUp = imageOne | |
6988 | wait(0.15) | |
6989 | Sky.SkyboxBk = imageTwo | |
6990 | Sky.SkyboxDn = imageTwo | |
6991 | Sky.SkyboxFt = imageTwo | |
6992 | Sky.SkyboxLf = imageTwo | |
6993 | Sky.SkyboxRt = imageTwo | |
6994 | Sky.SkyboxUp = imageTwo | |
6995 | wait(0.15) | |
6996 | Sky.SkyboxBk = imageThree | |
6997 | Sky.SkyboxDn = imageThree | |
6998 | Sky.SkyboxFt = imageThree | |
6999 | Sky.SkyboxLf = imageThree | |
7000 | Sky.SkyboxRt = imageThree | |
7001 | Sky.SkyboxUp = imageThree | |
7002 | wait(0.15) | |
7003 | Sky.SkyboxBk = imageFour | |
7004 | Sky.SkyboxDn = imageFour | |
7005 | Sky.SkyboxFt = imageFour | |
7006 | Sky.SkyboxLf = imageFour | |
7007 | Sky.SkyboxRt = imageFour | |
7008 | Sky.SkyboxUp = imageFour | |
7009 | wait(0.15) | |
7010 | Sky.SkyboxBk = imageFive | |
7011 | Sky.SkyboxDn = imageFive | |
7012 | Sky.SkyboxFt = imageFive | |
7013 | Sky.SkyboxLf = imageFive | |
7014 | Sky.SkyboxRt = imageFive | |
7015 | Sky.SkyboxUp = imageFive | |
7016 | wait(0.15) | |
7017 | Sky.SkyboxBk = imageSix | |
7018 | Sky.SkyboxDn = imageSix | |
7019 | Sky.SkyboxFt = imageSix | |
7020 | Sky.SkyboxLf = imageSix | |
7021 | Sky.SkyboxRt = imageSix | |
7022 | Sky.SkyboxUp = imageSix | |
7023 | wait(0.15) | |
7024 | Sky.SkyboxBk = imageSeven | |
7025 | Sky.SkyboxDn = imageSeven | |
7026 | Sky.SkyboxFt = imageSeven | |
7027 | Sky.SkyboxLf = imageSeven | |
7028 | Sky.SkyboxRt = imageSeven | |
7029 | Sky.SkyboxUp = imageSeven | |
7030 | wait(0.15) | |
7031 | Sky.SkyboxBk = imageEight | |
7032 | Sky.SkyboxDn = imageEight | |
7033 | Sky.SkyboxFt = imageEight | |
7034 | Sky.SkyboxLf = imageEight | |
7035 | Sky.SkyboxRt = imageEight | |
7036 | Sky.SkyboxUp = imageEight | |
7037 | wait(0.15) | |
7038 | ||
7039 | end | |
7040 | end | |
7041 | end) | |
7042 | ||
7043 | addcmd('invisible', 'make a player invisible',{'invis'}, | |
7044 | function(args, speaker) | |
7045 | local players = getPlayer(args[1], speaker) | |
7046 | for i, v in pairs(players) do | |
7047 | for k, v2 in pairs(_char(v):GetChildren()) do | |
7048 | if v2.className == "Part" then | |
7049 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end | |
7050 | elseif v2.className == "Accessory" then | |
7051 | if v2:FindFirstChild("Handle") then | |
7052 | v2.Handle.Transparency = 1 | |
7053 | end | |
7054 | end | |
7055 | if v2:FindFirstChild("face") then | |
7056 | v2.face.Transparency = 1 | |
7057 | end | |
7058 | end | |
7059 | end | |
7060 | end) | |
7061 | ||
7062 | addcmd('visible', 'make a player visible',{'vis'}, | |
7063 | function(args, speaker) | |
7064 | local players = getPlayer(args[1], speaker) | |
7065 | for i, v in pairs(players) do | |
7066 | for k, v2 in pairs(_char(v):GetChildren()) do | |
7067 | if v2.className == "Part" then | |
7068 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then | |
7069 | if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end | |
7070 | end | |
7071 | if v2:FindFirstChild("face") then | |
7072 | v2.face.Transparency = 0 | |
7073 | end | |
7074 | end | |
7075 | end | |
7076 | end) | |
7077 | ||
7078 | addcmd('goto', 'go to a player',{'to'}, | |
7079 | function(args, speaker) | |
7080 | local players = getPlayer(args[1], speaker) | |
7081 | if _char(players[1]) ~= nil then | |
7082 | if speaker.Character:FindFirstChild("Humanoid") then | |
7083 | speaker.Character.Humanoid.Jump = true | |
7084 | end | |
7085 | speaker.Character:MoveTo(_char(players[1]).HumanoidRootPart.Position) | |
7086 | end | |
7087 | end) | |
7088 | ||
7089 | addcmd('bring', 'bring a player to you',{}, | |
7090 | function(args, speaker) | |
7091 | local players = getPlayer(args[1], speaker) | |
7092 | for i,v in pairs(players) do | |
7093 | if _char(v) ~= nil then | |
7094 | if _char(v):FindFirstChild("Humanoid") then | |
7095 | _char(v).Humanoid.Jump = true | |
7096 | _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position) | |
7097 | end | |
7098 | wait(0.1) | |
7099 | _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position) | |
7100 | end | |
7101 | end | |
7102 | end) | |
7103 | ||
7104 | addcmd('tp', 'teleport player 1 to player 2',{}, | |
7105 | function(args, speaker) | |
7106 | local players1=getPlayer(args[1], speaker) | |
7107 | local players2=getPlayer(args[2], speaker) | |
7108 | if not players2[1] then return end | |
7109 | for i,v in pairs(players1) do | |
7110 | if _char(v) ~= nil and _char(players2[1]) ~= nil then | |
7111 | if _char(v):FindFirstChild("Humanoid") then | |
7112 | _char(v).Humanoid.Jump = true | |
7113 | _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position) | |
7114 | end | |
7115 | wait(0.1) | |
7116 | _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position) | |
7117 | end | |
7118 | end | |
7119 | end) | |
7120 | ||
7121 | local WayPoints = {} | |
7122 | addcmd("savepos","sets a waypoint at the speaker's position",{'spos'}, | |
7123 | function(args, speaker) | |
7124 | local WPName = tostring(GLS(false, 0)) | |
7125 | if speaker.Character:findFirstChild("HumanoidRootPart") then | |
7126 | Notify("Created waypoint: "..GLS(false, 0)) | |
7127 | local torso = speaker.Character:findFirstChild("HumanoidRootPart") | |
7128 | WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}} | |
7129 | updatepositions() | |
7130 | end | |
7131 | end) | |
7132 | ||
7133 | addcmd("deletepos","sets a waypoint at the speaker's position",{'dpos'}, | |
7134 | function(args, speaker) | |
7135 | for i,v in pairs(WayPoints) do | |
7136 | if v.NAME == tostring(GLS(false, 0)) then | |
7137 | Notify("Deleted waypoint: " .. v.NAME) | |
7138 | table.remove(WayPoints, i) | |
7139 | updatepositions() | |
7140 | end end | |
7141 | end) | |
7142 | ||
7143 | ||
7144 | addcmd("loadpos","teleports a player to a waypoint",{'lpos'}, | |
7145 | function(args, speaker) | |
7146 | local players = getPlayer(args[1], speaker) | |
7147 | local WPName = tostring(GLS(false, 1)) | |
7148 | for i,v in pairs(players) do | |
7149 | if gPlayers[v] and gPlayers[v].Character then | |
7150 | for i,_ in pairs(WayPoints) do | |
7151 | local x = WayPoints[i].COORD[1] | |
7152 | local y = WayPoints[i].COORD[2] | |
7153 | local z = WayPoints[i].COORD[3] | |
7154 | if tostring(WayPoints[i].NAME) == tostring(WPName) then | |
7155 | gPlayers[v].Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z) | |
7156 | end | |
7157 | end | |
7158 | end | |
7159 | end | |
7160 | end) | |
7161 | ||
7162 | addcmd('charplr','charplr [plr] [plr]',{'cp'}, | |
7163 | function(args, speaker) | |
7164 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
7165 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
7166 | if _players[v].Character and _players[b].Character then | |
7167 | _players[v].CharacterAppearanceId = _players[b].userId | |
7168 | refresh(_players[v]) | |
7169 | end | |
7170 | end | |
7171 | end | |
7172 | end) | |
7173 | ||
7174 | addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'}, | |
7175 | function(args, speaker) | |
7176 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
7177 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
7178 | spawn(function() | |
7179 | for i,v in pairs(_players[v].Backpack:GetChildren()) do | |
7180 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
7181 | if not _players[b] then | |
7182 | v:Clone().Parent = speaker.Backpack | |
7183 | else v:Clone().Parent = _players[b].Backpack | |
7184 | end | |
7185 | end | |
7186 | end | |
7187 | end) | |
7188 | end | |
7189 | end | |
7190 | end) | |
7191 | ||
7192 | addcmd('char', 'change a players appearance',{}, | |
7193 | function(args, speaker) | |
7194 | local players = getPlayer(args[1], speaker) | |
7195 | if not args[1]or not args[2]then return end | |
7196 | local id=args[2] | |
7197 | if players ~= nil then | |
7198 | for i,v in pairs(players) do | |
7199 | gPlayers[v].CharacterAppearanceId = id | |
7200 | refresh(gPlayers[v]) | |
7201 | end | |
7202 | end | |
7203 | end) | |
7204 | ||
7205 | addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'}, | |
7206 | function(args, speaker) | |
7207 | local players = getPlayer(args[1], speaker) | |
7208 | if players ~= nil then | |
7209 | for i,v in pairs(players) do | |
7210 | gPlayers[v].CharacterAppearanceId = 0 | |
7211 | refresh(gPlayers[v]) | |
7212 | end | |
7213 | end | |
7214 | end) | |
7215 | ||
7216 | addcmd('speed', 'change a players walkspeed',{'ws'}, | |
7217 | function(args, speaker) | |
7218 | local players = getPlayer(args[1], speaker) | |
7219 | if not args[1]or not args[2]then return end | |
7220 | local num=args[2] | |
7221 | for i,v in pairs(players) do | |
7222 | if _char(v):FindFirstChild("Humanoid") then | |
7223 | _char(v).Humanoid.WalkSpeed=tonumber(num) | |
7224 | end | |
7225 | end | |
7226 | end) | |
7227 | ||
7228 | addcmd('jump', 'forces a player to jump',{}, | |
7229 | function(args, speaker) | |
7230 | local players = getPlayer(args[1], speaker) | |
7231 | for i,v in pairs(players) do | |
7232 | if _char(v):FindFirstChild("Humanoid") then | |
7233 | _char(v).Humanoid.Jump = true | |
7234 | end | |
7235 | end | |
7236 | end) | |
7237 | ||
7238 | jumping = {} | |
7239 | addcmd('loopjump','like a bunny :)',{'ljump'}, | |
7240 | function(args, speaker) | |
7241 | local players = getPlayer(args[1], speaker) | |
7242 | for i,v in pairs(players)do | |
7243 | spawn(function() | |
7244 | if FindTable(jumping, _players[v].Name) then return end | |
7245 | table.insert(jumping, _players[v].Name) | |
7246 | repeat wait(0.01) | |
7247 | if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then | |
7248 | if _players[v].Character.Humanoid.Jump ~= true then | |
7249 | _players[v].Character.Humanoid.Jump = true end end | |
7250 | until not FindTable(jumping, _players[v].Name) | |
7251 | end) | |
7252 | end | |
7253 | end) | |
7254 | ||
7255 | addcmd('unljump','unjails player',{'noljump','unloopjump','noloopjump'}, | |
7256 | function(args, speaker) | |
7257 | local players = getPlayer(args[1], speaker) | |
7258 | for i,v in pairs(players)do | |
7259 | spawn(function() | |
7260 | for a,b in pairs(jumping) do if b == _players[v].Name then table.remove(jumping, a) end end | |
7261 | end) | |
7262 | end | |
7263 | end) | |
7264 | ||
7265 | addcmd('sit', 'sit a player',{}, | |
7266 | function(args, speaker) | |
7267 | local players = getPlayer(args[1], speaker) | |
7268 | for i,v in pairs(players) do | |
7269 | if _char(v):FindFirstChild("Humanoid") then | |
7270 | _char(v).Humanoid.Sit = true | |
7271 | end | |
7272 | end | |
7273 | end) | |
7274 | ||
7275 | sitting = {} | |
7276 | addcmd('loopsit','very annoying',{'lsit'}, | |
7277 | function(args, speaker) | |
7278 | local players = getPlayer(args[1], speaker) | |
7279 | for i,v in pairs(players)do | |
7280 | spawn(function() | |
7281 | if FindTable(sitting, _players[v].Name) then return end | |
7282 | table.insert(sitting, _players[v].Name) | |
7283 | repeat wait(0.01) | |
7284 | if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then | |
7285 | if _players[v].Character.Humanoid.Sit ~= true then | |
7286 | _players[v].Character.Humanoid.Sit = true end end | |
7287 | until not FindTable(sitting, _players[v].Name) | |
7288 | end) | |
7289 | end | |
7290 | end) | |
7291 | ||
7292 | addcmd('unlsit','unjails player',{'nolsit','unloopsit','noloopsit'}, | |
7293 | function(args, speaker) | |
7294 | local players = getPlayer(args[1], speaker) | |
7295 | for i,v in pairs(players)do | |
7296 | spawn(function() | |
7297 | for a,b in pairs(sitting) do if b == _players[v].Name then table.remove(sitting, a) end end | |
7298 | end) | |
7299 | end | |
7300 | end) | |
7301 | ||
7302 | addcmd('strength',' strong',{}, | |
7303 | function(args, speaker) | |
7304 | local players = getPlayer(args[1], speaker) | |
7305 | for i,v in pairs(players)do | |
7306 | spawn(function() | |
7307 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7308 | if child.ClassName == "Part" then | |
7309 | child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5) | |
7310 | end | |
7311 | end | |
7312 | end) | |
7313 | end | |
7314 | end) | |
7315 | ||
7316 | addcmd('weaken',' weak',{}, | |
7317 | function(args, speaker) | |
7318 | local players = getPlayer(args[1], speaker) | |
7319 | for i,v in pairs(players)do | |
7320 | spawn(function() | |
7321 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7322 | if child.ClassName == "Part" then | |
7323 | child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5) | |
7324 | end | |
7325 | end | |
7326 | end) | |
7327 | end | |
7328 | end) | |
7329 | ||
7330 | addcmd('unweaken',' undoes strength and weaken',{'unstrength'}, | |
7331 | function(args, speaker) | |
7332 | local players = getPlayer(args[1], speaker) | |
7333 | for i,v in pairs(players)do | |
7334 | spawn(function() | |
7335 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7336 | if child.ClassName == "Part" then | |
7337 | child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5) | |
7338 | end | |
7339 | end | |
7340 | end) | |
7341 | end | |
7342 | end) | |
7343 | ||
7344 | addcmd('trip','makes a player trip',{}, | |
7345 | function(args, speaker) | |
7346 | local players = getPlayer(args[1], speaker) | |
7347 | for i,v in pairs(players)do | |
7348 | spawn(function() | |
7349 | if _players[v].Character:findFirstChild("Right Leg") then -- credz to Zwolf#3762 | |
7350 | local dir = _players[v].Character:findFirstChild("Right Leg") | |
7351 | dir.Anchored = true | |
7352 | if dir.Anchored == true then | |
7353 | wait(.5) | |
7354 | _players[v].Character.Humanoid.Sit = true | |
7355 | wait(1) | |
7356 | _players[v].Character.Humanoid.Sit = false | |
7357 | dir.Anchored = false | |
7358 | end | |
7359 | end | |
7360 | end) | |
7361 | end | |
7362 | end) | |
7363 | ||
7364 | oofing = false | |
7365 | addcmd('loopoof','very VERY annoying',{}, | |
7366 | function(args, speaker) | |
7367 | oofing = true | |
7368 | repeat wait(0.01) | |
7369 | for i,v in pairs(game:GetService'Players':GetPlayers()) do | |
7370 | if v.Character ~= nil and v.Character:FindFirstChild'Head' then | |
7371 | for _,x in pairs(v.Character.Head:GetChildren()) do | |
7372 | if x:IsA'Sound' then x.Playing = true end | |
7373 | end | |
7374 | end | |
7375 | end | |
7376 | until oofing == false | |
7377 | end) | |
7378 | ||
7379 | addcmd('unloopoof','stops the oof chaos',{}, | |
7380 | function(args, speaker) | |
7381 | oofing = false | |
7382 | end) | |
7383 | ||
7384 | addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'}, | |
7385 | function(args, speaker) | |
7386 | local players = getPlayer(args[1], speaker) | |
7387 | if not args[1]or not args[2]then return end | |
7388 | local num=args[2] | |
7389 | for i,v in pairs(players) do | |
7390 | if _char(v):FindFirstChild("Humanoid") then | |
7391 | _char(v).Humanoid.JumpPower=tonumber(num) | |
7392 | end | |
7393 | end | |
7394 | end) | |
7395 | ||
7396 | addcmd('confuse', 'confusing...',{}, | |
7397 | function(args, speaker) | |
7398 | local players = getPlayer(args[1], speaker) | |
7399 | for i,v in pairs(players) do | |
7400 | spawn(function() | |
7401 | if _char(v):FindFirstChild("Humanoid") then | |
7402 | _char(v).Humanoid.Name = "ConfusedNigga" | |
7403 | while true do | |
7404 | _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6) | |
7405 | _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100)) | |
7406 | wait(0.1) | |
7407 | end | |
7408 | ||
7409 | end | |
7410 | end) | |
7411 | end | |
7412 | end) | |
7413 | ||
7414 | addcmd('unconfuse', 'not confusing...',{}, | |
7415 | function(args, speaker) | |
7416 | local players = getPlayer(args[1], speaker) | |
7417 | for i,v in pairs(players) do | |
7418 | spawn(function() | |
7419 | if _char(v):FindFirstChild("ConfusedNigga") then | |
7420 | _char(v).ConfusedNigga.Name = "Humanoid" | |
7421 | wait(0.3) | |
7422 | _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
7423 | ||
7424 | end | |
7425 | end) | |
7426 | end | |
7427 | end) | |
7428 | ||
7429 | addcmd('cripple', 'cripples a player xddd',{'stun'}, | |
7430 | function(args, speaker) | |
7431 | local players = getPlayer(args[1], speaker) | |
7432 | for i,v in pairs(players) do | |
7433 | if _char(v):FindFirstChild("Humanoid") then | |
7434 | _char(v).Humanoid.PlatformStand = true | |
7435 | end | |
7436 | end | |
7437 | end) | |
7438 | ||
7439 | addcmd('uncripple', 'un cripples a player xddd',{'unstun'}, | |
7440 | function(args, speaker) | |
7441 | local players = getPlayer(args[1], speaker) | |
7442 | for i,v in pairs(players) do | |
7443 | if _char(v):FindFirstChild("Humanoid") then | |
7444 | _char(v).Humanoid.PlatformStand = false | |
7445 | end | |
7446 | end | |
7447 | end) | |
7448 | ||
7449 | addcmd('hipheight', 'adjusts hip height',{'hheight'}, | |
7450 | function(args, speaker) | |
7451 | local players = getPlayer(args[1], speaker) | |
7452 | for i,v in pairs(players) do | |
7453 | if _char(v):FindFirstChild("Humanoid") then | |
7454 | _char(v).Humanoid.HipHeight = args[2] | |
7455 | end | |
7456 | end | |
7457 | end) | |
7458 | ||
7459 | addcmd('face', 'change a players face',{}, | |
7460 | function(args, speaker) | |
7461 | local players = getPlayer(args[1], speaker) | |
7462 | for i,v in pairs(players) do | |
7463 | if _char(v).Head:FindFirstChild("face") then | |
7464 | _char(v).Head.face.Texture = "rbxassetid://" .. args[2] | |
7465 | end | |
7466 | end | |
7467 | end) | |
7468 | ||
7469 | addcmd('time', 'change the time of day',{}, | |
7470 | function(args, speaker) | |
7471 | if not args[1]then return end | |
7472 | Notify('Time set to ' .. args[1]) | |
7473 | LightingService.ClockTime = args[1] | |
7474 | end) | |
7475 | ||
7476 | addcmd('day', 'change the time to day',{}, | |
7477 | function(args, speaker) | |
7478 | LightingService.ClockTime = 15 | |
7479 | end) | |
7480 | ||
7481 | addcmd('night', 'change the time of night',{}, | |
7482 | function(args, speaker) | |
7483 | LightingService.ClockTime = 0 | |
7484 | end) | |
7485 | ||
7486 | addcmd('globalshadows', 'changes the lighting property',{'gshadows'}, | |
7487 | function(args, speaker) | |
7488 | Notify('Turned on global shadows') | |
7489 | LightingService.GlobalShadows = true | |
7490 | end) | |
7491 | ||
7492 | addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'}, | |
7493 | function(args, speaker) | |
7494 | Notify('Turned off global shadows') | |
7495 | LightingService.GlobalShadows = false | |
7496 | end) | |
7497 | ||
7498 | addcmd('outlines', 'changes the lighting property',{}, | |
7499 | function(args, speaker) | |
7500 | Notify('Turned on outlines') | |
7501 | LightingService.Outlines = true | |
7502 | end) | |
7503 | ||
7504 | addcmd('unoutlines', 'changes the lighting property',{'nooutlines'}, | |
7505 | function(args, speaker) | |
7506 | Notify('Turned off outlines') | |
7507 | LightingService.Outlines = false | |
7508 | end) | |
7509 | ||
7510 | addcmd('brightness', 'changes the lighting property',{}, | |
7511 | function(args, speaker) | |
7512 | Notify('Set brightness to ' .. args[1]) | |
7513 | LightingService.Brightness = args[1] | |
7514 | end) | |
7515 | ||
7516 | addcmd('age','tells you the age of a player',{}, | |
7517 | function(args, speaker) | |
7518 | local players = getPlayer(args[1], speaker) | |
7519 | if speaker.userId ~= LP.userId then | |
7520 | lponly(speaker) | |
7521 | else | |
7522 | for i,v in pairs(players) do | |
7523 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
7524 | Title = _players[v].Name, | |
7525 | Text = 'Age: '.._players[v].AccountAge, | |
7526 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]].._players[v].Name..[[&RAND]] .. math.random(1,100000000), | |
7527 | Duration = 5, | |
7528 | }) | |
7529 | end | |
7530 | end | |
7531 | end) | |
7532 | ||
7533 | addcmd('remotespy', 'prints remotes',{'remotes'}, | |
7534 | function(args, speaker) | |
7535 | if speaker.userId ~= LP.userId then | |
7536 | lponly(speaker) | |
7537 | else | |
7538 | Notify('Printing remotes') | |
7539 | function getem(o) | |
7540 | for i,v in pairs(o:children())do | |
7541 | if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then | |
7542 | print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName()) | |
7543 | end | |
7544 | getem(v) | |
7545 | end | |
7546 | end | |
7547 | pcall(getem,game) | |
7548 | end | |
7549 | end) | |
7550 | ||
7551 | addcmd('f3x', 'loads f3x tools',{'fex'}, | |
7552 | function(args, speaker) | |
7553 | if speaker.userId ~= LP.userId then | |
7554 | lponly(speaker) | |
7555 | else | |
7556 | loadstring(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1059691823").Source)() | |
7557 | end | |
7558 | end) | |
7559 | ||
7560 | addcmd('kick', 'kick a player',{}, | |
7561 | function(args, speaker) | |
7562 | local players = getPlayer(args[1], speaker) | |
7563 | for i,v in pairs(players) do | |
7564 | spawn(function() | |
7565 | if FindTable(SPC, args[1]) then Notify('Kicked ' ..args[1]) else | |
7566 | Notify('Kicked player(s)') end | |
7567 | kickF(gPlayers[v]) | |
7568 | end) end end) | |
7569 | ||
7570 | function fadelock(id) | |
7571 | if lockic.ImageTransparency ~= 1 then | |
7572 | for i=1, 10 do | |
7573 | lockic.ImageTransparency = lockic.ImageTransparency + 0.1 | |
7574 | wait(0.01) | |
7575 | end | |
7576 | lockic.ImageTransparency = 1 | |
7577 | end | |
7578 | if id ~= 'off' then | |
7579 | lockic.Image = id | |
7580 | wait(0.2) | |
7581 | for i=1, 10 do | |
7582 | lockic.ImageTransparency = lockic.ImageTransparency - 0.1 | |
7583 | wait(0.01) | |
7584 | end | |
7585 | lockic.ImageTransparency = 0 | |
7586 | end end | |
7587 | ||
7588 | addcmd('serverlock', 'lock teh server',{'slock'}, | |
7589 | function(args, speaker) | |
7590 | slock = true | |
7591 | agelock = false | |
7592 | Notify('Locked Server') | |
7593 | fadelock("rbxassetid://1495252742") | |
7594 | end) | |
7595 | ||
7596 | addcmd('unserverlock', 'unlock teh server',{'unslock'}, | |
7597 | function(args, speaker) | |
7598 | slock = false | |
7599 | Notify('Unlocked Server') | |
7600 | if lockic.Image == "rbxassetid://1495252742" then | |
7601 | fadelock('off') | |
7602 | end | |
7603 | end) | |
7604 | ||
7605 | addcmd('agelock', 'lock teh server for a certain age',{'alock'}, | |
7606 | function(args, speaker) | |
7607 | if isNumber(args[1]) then | |
7608 | Notify('Set the age lock to age ' .. args[1]) | |
7609 | isagelocked = true | |
7610 | slock = false | |
7611 | agelock = tonumber(args[1]) | |
7612 | fadelock("rbxassetid://1495252495") | |
7613 | end | |
7614 | end) | |
7615 | ||
7616 | addcmd('unagelock', 'lock teh server for a certain age',{'unalock','noagelock','noalock'}, | |
7617 | function(args, speaker) | |
7618 | Notify('Disabled age lock') | |
7619 | isagelocked = false | |
7620 | if lockic.Image == "rbxassetid://1495252495" then | |
7621 | fadelock('off') | |
7622 | end | |
7623 | end) | |
7624 | ||
7625 | addcmd('unlockws', 'unlock the whole workspace',{}, | |
7626 | function(args, speaker) | |
7627 | Notify('Workspace unlocked') | |
7628 | wait(1) | |
7629 | local function unlock(instance) | |
7630 | for i,v in pairs(instance:GetChildren()) do | |
7631 | if v:IsA("BasePart") then | |
7632 | v.Locked = false | |
7633 | end | |
7634 | unlock(v) | |
7635 | end | |
7636 | end | |
7637 | unlock(workspace) | |
7638 | end) | |
7639 | ||
7640 | addcmd('lockws', 'lock the whole workspace',{}, | |
7641 | function(args, speaker) | |
7642 | Notify('Workspace locked') | |
7643 | wait(1) | |
7644 | local function lock(instance) | |
7645 | for i,v in pairs(instance:GetChildren()) do | |
7646 | if v:IsA("BasePart") then | |
7647 | v.Locked = true | |
7648 | end | |
7649 | lock(v) | |
7650 | end | |
7651 | end | |
7652 | lock(workspace) | |
7653 | end) | |
7654 | ||
7655 | addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'}, | |
7656 | function(args, speaker) | |
7657 | local function unanchor(instance) | |
7658 | for i,v in pairs(instance:GetChildren()) do | |
7659 | if v:IsA("BasePart") then | |
7660 | v.Anchored=false | |
7661 | end | |
7662 | unanchor(v) | |
7663 | end | |
7664 | end | |
7665 | unanchor(workspace) | |
7666 | end) | |
7667 | ||
7668 | addcmd('anchorws', 'anchor the whole workspace',{'anchor'}, | |
7669 | function(args, speaker) | |
7670 | local function anchor(instance) | |
7671 | for i,v in pairs(instance:GetChildren()) do | |
7672 | if v:IsA("BasePart") then | |
7673 | v.Anchored=true | |
7674 | end | |
7675 | anchor(v) | |
7676 | end | |
7677 | end | |
7678 | anchor(workspace) | |
7679 | end) | |
7680 | ||
7681 | addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'}, | |
7682 | function() | |
7683 | for _,v in pairs(workspace:GetChildren()) do | |
7684 | if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then | |
7685 | v:Destroy() | |
7686 | elseif v:IsA("Terrain") then | |
7687 | v:Clear() | |
7688 | end | |
7689 | end | |
7690 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end | |
7691 | local p = Instance.new("Part", workspace) | |
7692 | p.Anchored = true | |
7693 | p.FormFactor = "Symmetric" | |
7694 | p.Size = Vector3.new(1000,1,1000) | |
7695 | p.Position = Vector3.new(0,0,0) | |
7696 | p.BrickColor = BrickColor.new("Bright green") | |
7697 | p.Material = "Grass" | |
7698 | p.Locked = true | |
7699 | end) | |
7700 | ||
7701 | addcmd('headshake', 'shakes a players head',{}, | |
7702 | function(args, speaker) | |
7703 | local players = getPlayer(args[1], speaker) | |
7704 | for i,v in pairs(players) do | |
7705 | spawn(function() | |
7706 | local shaken = gPlayers[v].Character | |
7707 | for X = 1, math.huge, 0.2 do | |
7708 | wait() | |
7709 | shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0) | |
7710 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
7711 | end | |
7712 | for X = 1, math.huge, 0.1 do | |
7713 | wait() | |
7714 | shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) | |
7715 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
7716 | end | |
7717 | for _,c in pairs(gPlayers:GetChildren()) do | |
7718 | c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100) | |
7719 | end | |
7720 | for _,c in pairs(gPlayers:GetChildren()) do | |
7721 | c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
7722 | end | |
7723 | end) | |
7724 | end | |
7725 | end) | |
7726 | ||
7727 | addcmd('explorer', 'opens DEX',{'dex'}, | |
7728 | function(args, speaker) | |
7729 | if speaker.userId ~= LP.userId then | |
7730 | lponly(speaker) | |
7731 | else | |
7732 | loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)() | |
7733 | end | |
7734 | end) | |
7735 | ||
7736 | addcmd('iyspam', '/shrug',{}, | |
7737 | function(args, speaker) | |
7738 | loadstring(game:HttpGet(('https://pastebin.com/raw/aJ15LAbN'),true))() | |
7739 | end) | |
7740 | ||
7741 | addcmd('firstp', 'forces player to go into first person',{}, | |
7742 | function(args, speaker) | |
7743 | local players = getPlayer(args[1], speaker) | |
7744 | for i,v in pairs(players)do | |
7745 | gPlayers[v].CameraMode = "LockFirstPerson" | |
7746 | end | |
7747 | end) | |
7748 | ||
7749 | addcmd('lock', 'locks a players body parts',{}, | |
7750 | function(args, speaker) | |
7751 | local players = getPlayer(args[1], speaker) | |
7752 | for i,v in pairs(players)do | |
7753 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
7754 | if v:IsA("Part") then | |
7755 | v.Locked = true | |
7756 | end end end | |
7757 | end) | |
7758 | ||
7759 | addcmd('unlock', 'locks a players body parts',{}, | |
7760 | function(args, speaker) | |
7761 | local players = getPlayer(args[1], speaker) | |
7762 | for i,v in pairs(players)do | |
7763 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
7764 | if v:IsA("Part") then | |
7765 | v.Locked = false | |
7766 | end end end | |
7767 | end) | |
7768 | ||
7769 | addcmd('disablereset', 'makes a player unable to reset',{'noreset'}, | |
7770 | function(args, speaker) | |
7771 | local players = getPlayer(args[1], speaker) | |
7772 | for i,v in pairs(players)do | |
7773 | spawn(function() | |
7774 | gPlayers[v].Character.Humanoid.Name = "HumanoidIY" | |
7775 | if FindTable(SPC, args[1]) then Notify('Disabled reset for ' .. args[1]) else | |
7776 | Notify('Disabled reset for player(s)') end | |
7777 | end) | |
7778 | end | |
7779 | end) | |
7780 | ||
7781 | addcmd('enablereset', 'makes a player unable to reset',{'reset'}, | |
7782 | function(args, speaker) | |
7783 | local players = getPlayer(args[1], speaker) | |
7784 | for i,v in pairs(players)do | |
7785 | spawn(function() | |
7786 | gPlayers[v].Character.HumanoidIY.Name = "Humanoid" | |
7787 | if FindTable(SPC, args[1]) then Notify('Enabled reset for ' .. args[1]) else | |
7788 | Notify('Enabled reset for player(s)') end | |
7789 | end) | |
7790 | end | |
7791 | end) | |
7792 | ||
7793 | addcmd("fixlighting","Removes effects from lighting",{'fixl'}, | |
7794 | function(args,speaker) | |
7795 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
7796 | if v:IsA("PostEffect") then | |
7797 | v:Destroy() | |
7798 | end | |
7799 | end | |
7800 | LightingService.Ambient = origsettings.abt | |
7801 | LightingService.OutdoorAmbient = origsettings.oabt | |
7802 | LightingService.Brightness = origsettings.brt | |
7803 | LightingService.TimeOfDay = origsettings.time | |
7804 | LightingService.FogColor = origsettings.fclr | |
7805 | LightingService.FogEnd = origsettings.fe | |
7806 | LightingService.FogStart = origsettings.fs | |
7807 | end) | |
7808 | ||
7809 | addcmd("savelighting","Removes effects from lighting",{'slighting'}, | |
7810 | function(args,speaker) | |
7811 | origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time = | |
7812 | LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart} | |
7813 | Notify('Saved lighting settings') | |
7814 | end) | |
7815 | ||
7816 | addcmd("blackandwhite","Makes the game black and white",{}, | |
7817 | function(args,speaker) | |
7818 | local lighting = game:GetService("Lighting") | |
7819 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7820 | effect.Saturation = -1 | |
7821 | end) | |
7822 | ||
7823 | addcmd("invert","Makes the game inverted",{}, | |
7824 | function(args,speaker) | |
7825 | local lighting = game:GetService("Lighting") | |
7826 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7827 | effect.Saturation = -1 | |
7828 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7829 | effect.Saturation = -1 | |
7830 | end) | |
7831 | ||
7832 | addcmd("sun","Intensifys the sun",{}, | |
7833 | function(args,speaker) | |
7834 | local intense = args[1] or 0.25 | |
7835 | local spread = args[2] or 1 | |
7836 | local lighting = game:GetService("Lighting") | |
7837 | local effect = Instance.new("SunRaysEffect",lighting) | |
7838 | effect.Name = "IYsun" | |
7839 | effect.Intensity = tonumber(intense) | |
7840 | effect.Spread = tonumber(spread) | |
7841 | end) | |
7842 | ||
7843 | addcmd('base', 'spawns a base',{}, | |
7844 | function(args, speaker) | |
7845 | local pt = Instance.new("Part") | |
7846 | pt.BrickColor = BrickColor.new("Silver") | |
7847 | pt.Anchored = true | |
7848 | pt.CanCollide = true | |
7849 | pt.BottomSurface = "Weld" | |
7850 | pt.Parent = workspace | |
7851 | pt.Name = (math.random(1,1000000)) | |
7852 | pt.Size = Vector3.new(1000, 1, 1000) | |
7853 | pt.Locked = true | |
7854 | Notify('Created new base') | |
7855 | end) | |
7856 | ||
7857 | addcmd('unblur', 'removes all blur instances',{'noblur'}, | |
7858 | function(args, speaker) | |
7859 | for i,v in pairs(LightingService:GetChildren()) do | |
7860 | if v:IsA('BlurEffect') then | |
7861 | v:Destroy() | |
7862 | end | |
7863 | end | |
7864 | end) | |
7865 | ||
7866 | addcmd('thirdp', 'allows player to go into third person',{}, | |
7867 | function(args, speaker) | |
7868 | local players = getPlayer(args[1], speaker) | |
7869 | for i,v in pairs(players)do | |
7870 | gPlayers[v].CameraMode = "Classic" | |
7871 | end | |
7872 | end) | |
7873 | ||
7874 | addcmd('chat', 'forces player to chat what you input',{}, | |
7875 | function(args, speaker) | |
7876 | local players = getPlayer(args[1], speaker) | |
7877 | for i,v in pairs(players)do | |
7878 | game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3) | |
7879 | end | |
7880 | end) | |
7881 | ||
7882 | addcmd('name', 'names player',{}, | |
7883 | function(args, speaker) | |
7884 | local players = getPlayer(args[1], speaker) | |
7885 | if not args[1] then return end | |
7886 | for i,v in pairs(players) do | |
7887 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7888 | if mod:FindFirstChild("TAG") then | |
7889 | gPlayers[v].Character.Head.Transparency = 0 | |
7890 | mod:Destroy() | |
7891 | end | |
7892 | end | |
7893 | ||
7894 | local char = gPlayers[v].Character | |
7895 | local model = Instance.new("Model", char) | |
7896 | local clone = char.Head:Clone() | |
7897 | local hum = Instance.new("Humanoid", model) | |
7898 | local weld = Instance.new("Weld", clone) | |
7899 | model.Name = GLS(false, 1) | |
7900 | clone.Parent = model | |
7901 | hum.Name = "TAG" | |
7902 | hum.MaxHealth = 100 | |
7903 | hum.Health = 100 | |
7904 | weld.Part0 = clone | |
7905 | weld.Part1 = char.Head | |
7906 | char.Head.Transparency = 1 | |
7907 | end | |
7908 | end) | |
7909 | ||
7910 | addcmd('unname', 'unnames player',{'unhidename'}, | |
7911 | function(args, speaker) | |
7912 | local players = getPlayer(args[1], speaker) | |
7913 | local name = (args[2]) | |
7914 | for i,v in pairs(players) do | |
7915 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7916 | if mod:FindFirstChild("TAG") then | |
7917 | gPlayers[v].Character.Head.Transparency = 0 | |
7918 | mod:Destroy() | |
7919 | end | |
7920 | end | |
7921 | end | |
7922 | end) | |
7923 | ||
7924 | addcmd('noname', 'hides the players name',{'hidename'}, | |
7925 | function(args, speaker) | |
7926 | local players = getPlayer(args[1], speaker) | |
7927 | for i,v in pairs(players) do | |
7928 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7929 | if mod:FindFirstChild("TAG") then | |
7930 | gPlayers[v].Character.Head.Transparency = 0 | |
7931 | mod:Destroy() | |
7932 | end | |
7933 | end | |
7934 | ||
7935 | local char = gPlayers[v].Character | |
7936 | local model = Instance.new("Model", char) | |
7937 | local clone = char.Head:Clone() | |
7938 | local hum = Instance.new("Humanoid", model) | |
7939 | local weld = Instance.new("Weld", clone) | |
7940 | model.Name = "" | |
7941 | clone.Parent = model | |
7942 | hum.Name = "TAG" | |
7943 | hum.MaxHealth = 100 | |
7944 | hum.Health = 100 | |
7945 | weld.Part0 = clone | |
7946 | weld.Part1 = char.Head | |
7947 | char.Head.Transparency = 1 | |
7948 | end | |
7949 | end) | |
7950 | ||
7951 | addcmd('damage', 'damages a player',{}, | |
7952 | function(args, speaker) | |
7953 | local players = getPlayer(args[1], speaker) | |
7954 | for i,v in pairs(players) do | |
7955 | gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25 | |
7956 | end | |
7957 | end) | |
7958 | ||
7959 | addcmd('view', 'views player',{'spectate'}, | |
7960 | function(args, speaker) | |
7961 | local players = getPlayer(args[1], speaker) | |
7962 | for i,v in pairs(players) do | |
7963 | workspace.CurrentCamera.CameraSubject = gPlayers[v].Character | |
7964 | Notify('Viewing ' .. gPlayers[v].Name) | |
7965 | end | |
7966 | end) | |
7967 | ||
7968 | addcmd('unview', 'stops viewing player',{'unspectate'}, | |
7969 | function() | |
7970 | workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
7971 | Notify('View turned off') | |
7972 | end) | |
7973 | ||
7974 | addcmd('nolimbs', 'removes limbs from player',{'rlimbs'}, | |
7975 | function(args, speaker) | |
7976 | local players = getPlayer(args[1], speaker) | |
7977 | for i,v in pairs(players) do | |
7978 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
7979 | if v:IsA("BasePart") and | |
7980 | v.Name == "Right Leg" or | |
7981 | v.Name == "Left Leg" or | |
7982 | v.Name == "Right Arm" or | |
7983 | v.Name == "Left Arm" then | |
7984 | v:Destroy() | |
7985 | end | |
7986 | end | |
7987 | end | |
7988 | end) | |
7989 | ||
7990 | addcmd('noarms', 'removes arms from player',{'rarms'}, | |
7991 | function(args, speaker) | |
7992 | local players = getPlayer(args[1], speaker) | |
7993 | for i,v in pairs(players) do | |
7994 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
7995 | if v:IsA("BasePart") and | |
7996 | v.Name == "Right Arm" or | |
7997 | v.Name == "Left Arm" then | |
7998 | v:Destroy() | |
7999 | end | |
8000 | end | |
8001 | end | |
8002 | end) | |
8003 | ||
8004 | addcmd('torso', 'just a torso....',{}, | |
8005 | function(args, speaker) | |
8006 | local players = getPlayer(args[1], speaker) | |
8007 | for i,v in pairs(players) do | |
8008 | spawn(function() | |
8009 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
8010 | if v:IsA("BasePart") and | |
8011 | v.Name == "Right Leg" or | |
8012 | v.Name == "Left Leg" or | |
8013 | v.Name == "Right Arm" or | |
8014 | v.Name == "Left Arm" or | |
8015 | v:IsA('Decal') or v:IsA('Texture') or | |
8016 | v:IsA('Accessory') then | |
8017 | v:Destroy() | |
8018 | end | |
8019 | end | |
8020 | gPlayers[v].Character.Head.Transparency = 1 | |
8021 | end) | |
8022 | end | |
8023 | end) | |
8024 | ||
8025 | addcmd('box', 'creates a box around player',{}, | |
8026 | function(args, speaker) | |
8027 | local players = getPlayer(args[1], speaker) | |
8028 | for i,v in pairs(players)do | |
8029 | local pchar=_char(v) | |
8030 | local SB = Instance.new("SelectionBox", pchar) | |
8031 | SB.Adornee = SB.Parent | |
8032 | end | |
8033 | end) | |
8034 | ||
8035 | addcmd('nobox', 'takes away box from player',{'unbox'}, | |
8036 | function(args, speaker) | |
8037 | local players = getPlayer(args[1], speaker) | |
8038 | for i,v in pairs(players)do | |
8039 | local pchar=_char(v) | |
8040 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
8041 | if v:IsA("SelectionBox") then | |
8042 | v:Destroy() | |
8043 | end | |
8044 | end | |
8045 | end | |
8046 | end) | |
8047 | ||
8048 | addcmd('ghost', 'ghostifys player',{}, | |
8049 | function(args, speaker) | |
8050 | local players = getPlayer(args[1], speaker) | |
8051 | for i,v in pairs(players)do | |
8052 | local pchar=gPlayers[v].Character | |
8053 | pchar.Head.Transparency = 0.5 | |
8054 | pchar.Torso.Transparency = 0.5 | |
8055 | pchar["Left Arm"].Transparency = 0.5 | |
8056 | pchar["Right Arm"].Transparency = 0.5 | |
8057 | pchar["Left Leg"].Transparency = 0.5 | |
8058 | pchar["Right Leg"].Transparency = 0.5 | |
8059 | pchar.Head.face.Transparency = 0.5 | |
8060 | end | |
8061 | end) | |
8062 | ||
8063 | addcmd('unghost', 'unghostifys player',{'noghost'}, | |
8064 | function(args, speaker) | |
8065 | local players = getPlayer(args[1], speaker) | |
8066 | for i,v in pairs(players)do | |
8067 | local pchar=gPlayers[v].Character | |
8068 | pchar.Head.Transparency = 0 | |
8069 | pchar.Torso.Transparency = 0 | |
8070 | pchar["Left Arm"].Transparency = 0 | |
8071 | pchar["Right Arm"].Transparency = 0 | |
8072 | pchar["Left Leg"].Transparency = 0 | |
8073 | pchar["Right Leg"].Transparency = 0 | |
8074 | pchar.Head.face.Transparency = 0 | |
8075 | end | |
8076 | end) | |
8077 | ||
8078 | addcmd('sphere', 'puts sphere around player',{}, | |
8079 | function(args, speaker) | |
8080 | local players = getPlayer(args[1], speaker) | |
8081 | for i,v in pairs(players)do | |
8082 | local pchar=gPlayers[v].Character | |
8083 | local SS = Instance.new("SelectionSphere", pchar) | |
8084 | SS.Adornee = SS.Parent | |
8085 | end | |
8086 | end) | |
8087 | ||
8088 | addcmd('unsphere', 'removes sphere around player',{}, | |
8089 | function(args, speaker) | |
8090 | local players = getPlayer(args[1], speaker) | |
8091 | for i,v in pairs(players)do | |
8092 | local pchar=_char(v) | |
8093 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
8094 | if v:IsA("SelectionSphere") then | |
8095 | v:Destroy() | |
8096 | end | |
8097 | end | |
8098 | end | |
8099 | end) | |
8100 | ||
8101 | addcmd('ambient','changes ambient',{}, | |
8102 | function(args, speaker) | |
8103 | LightingService.Ambient = Color3.fromRGB(args[1],args[2],args[3]) | |
8104 | LightingService.OutdoorAmbient = Color3.fromRGB(args[1],args[2],args[3]) | |
8105 | end) | |
8106 | ||
8107 | addcmd('fogend','changes the fogend',{}, | |
8108 | function(args, speaker) | |
8109 | LightingService.FogEnd = args[1] | |
8110 | end) | |
8111 | ||
8112 | addcmd('fogcolor','changes the fogs color',{}, | |
8113 | function(args, speaker) | |
8114 | LightingService.FogColor = Color3.fromRGB(args[1],args[2],args[3]) | |
8115 | end) | |
8116 | ||
8117 | injail = {} | |
8118 | addcmd('jail','jails player',{}, | |
8119 | function(args, speaker) | |
8120 | local players = getPlayer(args[1], speaker) | |
8121 | for i,v in pairs(players)do | |
8122 | spawn(function() | |
8123 | if FindTable(injail, _players[v].Name) then return end | |
8124 | table.insert(injail, _players[v].Name) | |
8125 | local pchar=gPlayers[v].Character | |
8126 | local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name | |
8127 | repeat wait(0.5) | |
8128 | 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 | |
8129 | until not FindTable(injail, _players[v].Name) | |
8130 | end) | |
8131 | end | |
8132 | end) | |
8133 | ||
8134 | addcmd('unjail','unjails player',{}, | |
8135 | function(args, speaker) | |
8136 | local players = getPlayer(args[1], speaker) | |
8137 | for i,v in pairs(players)do | |
8138 | spawn(function() | |
8139 | for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end | |
8140 | workspace["JAIL_" .. _players[v].Name]:Destroy() | |
8141 | end) | |
8142 | end | |
8143 | end) | |
8144 | ||
8145 | loopn = {} | |
8146 | addcmd('loopname','loops a players name',{'lname'}, | |
8147 | function(args, speaker) | |
8148 | local players = getPlayer(args[1], speaker) | |
8149 | for i,v in pairs(players)do | |
8150 | spawn(function() | |
8151 | if FindTable(loopn, _players[v].Name) then return end | |
8152 | table.insert(loopn, _players[v].Name) | |
8153 | local Lname = GLS(false, 1) | |
8154 | local pchar=gPlayers[v].Character | |
8155 | pchar.Name = Lname | |
8156 | if FindTable(SPC, args[1]) then Notify('Looping name for ' .. args[1] .. ' (only visible to others)') else | |
8157 | Notify('Looping name for player(s) (only visible to others)') end | |
8158 | repeat wait(0.01) | |
8159 | repeat wait() until _players[v].Character | |
8160 | gPlayers[v].Character.Name = Lname | |
8161 | until not FindTable(loopn, _players[v].Name) | |
8162 | end) | |
8163 | end | |
8164 | end) | |
8165 | ||
8166 | addcmd('unloopname','unjails player',{'noloopname','unlname','nolname'}, | |
8167 | function(args, speaker) | |
8168 | local players = getPlayer(args[1], speaker) | |
8169 | for i,v in pairs(players)do | |
8170 | spawn(function() | |
8171 | local pchar=gPlayers[v].Character | |
8172 | for a,b in pairs(loopn) do if b == _players[v].Name then table.remove(loopn, a) end end | |
8173 | wait(0.5) | |
8174 | if FindTable(SPC, args[1]) then Notify('Stopped looping name for ' .. args[1]) else | |
8175 | Notify('Stopped looping name for player(s)') end | |
8176 | pchar.Name = gPlayers[v].Name | |
8177 | end) | |
8178 | end | |
8179 | end) | |
8180 | ||
8181 | addcmd('loopbring','loop brings a player lol',{}, | |
8182 | function(args, speaker) | |
8183 | local players = getPlayer(args[1], speaker) | |
8184 | for i,v in pairs(players)do | |
8185 | spawn(function() | |
8186 | if FindTable(bringT, _players[v].Name) then return end | |
8187 | table.insert(bringT, _players[v].Name) | |
8188 | local pchar=gPlayers[v].Character | |
8189 | pchar.Humanoid.Jump = true | |
8190 | repeat wait(0.5) | |
8191 | pchar = _players[v].Character | |
8192 | for i,c in pairs(players) do | |
8193 | if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then | |
8194 | pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0) | |
8195 | end | |
8196 | end | |
8197 | until not FindTable(bringT, _players[v].Name) | |
8198 | end) | |
8199 | end | |
8200 | end) | |
8201 | ||
8202 | addcmd('feinvisible','fe invisible',{'feinvis'}, | |
8203 | function(args, speaker) | |
8204 | -- Elite1337#9377 & Timeless#4044 | |
8205 | local function CheckRig() | |
8206 | if Player.Character then | |
8207 | local Humanoid = Player.Character:WaitForChild('Humanoid') | |
8208 | if Humanoid.RigType == Enum.HumanoidRigType.R15 then | |
8209 | return 'R15' | |
8210 | else | |
8211 | return 'R6' | |
8212 | end | |
8213 | end | |
8214 | end | |
8215 | local function InitiateInvis() | |
8216 | local Character = Player.Character | |
8217 | local StoredCF = Character.PrimaryPart.CFrame | |
8218 | local Part = Instance.new('Part',workspace) | |
8219 | Part.Size = Vector3.new(5,0,5) | |
8220 | Part.Anchored = true | |
8221 | Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999)) | |
8222 | Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0) | |
8223 | spawn(function() | |
8224 | wait(3) | |
8225 | Part:Destroy() | |
8226 | end) | |
8227 | if CheckRig() == 'R6' then | |
8228 | local Clone = Character.HumanoidRootPart:Clone() | |
8229 | Character.HumanoidRootPart:Destroy() | |
8230 | Clone.Parent = Character | |
8231 | else | |
8232 | local Clone = Character.LowerTorso.Root:Clone() | |
8233 | Character.LowerTorso.Root:Destroy() | |
8234 | Clone.Parent = Character.LowerTorso | |
8235 | end | |
8236 | end | |
8237 | InitiateInvis() | |
8238 | end) | |
8239 | ||
8240 | addcmd('unloopbring','unjails player',{'noloopbring'}, | |
8241 | function(args, speaker) | |
8242 | local players = getPlayer(args[1], speaker) | |
8243 | for i,v in pairs(players)do | |
8244 | spawn(function() | |
8245 | for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end | |
8246 | end) | |
8247 | end | |
8248 | end) | |
8249 | ||
8250 | strobe = false | |
8251 | addcmd('strobe','makes the server flash',{'flash'}, | |
8252 | function(args, speaker) | |
8253 | if strobe == false then | |
8254 | strobep = Instance.new("ColorCorrectionEffect") | |
8255 | strobep.Brightness = 1 | |
8256 | strobep.Parent = LightingService | |
8257 | strobe = true | |
8258 | repeat wait(0.01) | |
8259 | strobep.Enabled = true | |
8260 | wait(0.01) | |
8261 | strobep.Enabled = false | |
8262 | until strobe == false | |
8263 | end | |
8264 | end) | |
8265 | ||
8266 | addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'}, | |
8267 | function(args, speaker) | |
8268 | strobe = false | |
8269 | strobep:Destroy() | |
8270 | end) | |
8271 | ||
8272 | addcmd('shutdown', 'shuts the server down',{}, | |
8273 | function(args, speaker) | |
8274 | Notify('Broken atm :(') | |
8275 | end) | |
8276 | ||
8277 | addcmd('fekill','oof?',{}, | |
8278 | function(args, speaker) | |
8279 | local players = getPlayer(args[1], speaker) | |
8280 | for i,v in pairs(players)do | |
8281 | -- illremember's cool fe kill script | |
8282 | local Target = gPlayers[v].Name | |
8283 | game:GetService("Players").LocalPlayer.Character.Humanoid.Name = 1 | |
8284 | local l = game:GetService("Players").LocalPlayer.Character["1"]:Clone() | |
8285 | l.Parent = game:GetService("Players").LocalPlayer.Character | |
8286 | l.Name = "Humanoid" | |
8287 | wait(0.1) | |
8288 | game:GetService("Players").LocalPlayer.Character["1"]:Destroy() | |
8289 | game.Workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character | |
8290 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = true | |
8291 | wait(0.1) | |
8292 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = false | |
8293 | game:GetService("Players").LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
8294 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
8295 | game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(v) | |
8296 | v.CanBeDropped = true | |
8297 | end | |
8298 | wait(0.1) | |
8299 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame | |
8300 | wait(0.1) | |
8301 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame | |
8302 | wait(0.2) | |
8303 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000)) | |
8304 | end | |
8305 | end) | |
8306 | ||
8307 | addcmd('animation','makes player animate',{'anim'}, | |
8308 | function(args, speaker) | |
8309 | local players = getPlayer(args[1], speaker) | |
8310 | for i,v in pairs(players)do | |
8311 | local pchar=_char(v) | |
8312 | local AnimationId = tostring(args[2]) | |
8313 | local Anim = Instance.new("Animation") | |
8314 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
8315 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
8316 | k:Play() | |
8317 | end | |
8318 | end) | |
8319 | ||
8320 | addcmd('creeper','make the player a creeper',{'crpr'}, | |
8321 | function(args, speaker) | |
8322 | local players = getPlayer(args[1], speaker) | |
8323 | for i,v in pairs(players)do | |
8324 | local pchar = gPlayers[v].Character | |
8325 | if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then | |
8326 | if pchar:FindFirstChild("Shirt") then | |
8327 | pchar.Shirt.Parent = pchar.Torso | |
8328 | end | |
8329 | if pchar:FindFirstChild("Pants") then | |
8330 | pchar.Pants.Parent = pchar.Torso | |
8331 | end | |
8332 | if pchar:FindFirstChild("Shirt Graphic") then | |
8333 | pchar["Shirt Graphic"].Graphic = "" | |
8334 | end | |
8335 | for i,v in pairs(pchar:GetChildren()) do | |
8336 | if v:IsA("Accessory") then | |
8337 | v:Destroy() | |
8338 | end | |
8339 | end | |
8340 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
8341 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0) | |
8342 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0) | |
8343 | pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0) | |
8344 | pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0) | |
8345 | pchar["Body Colors"].HeadColor = BrickColor.new("Bright green") | |
8346 | pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green") | |
8347 | pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green") | |
8348 | pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green") | |
8349 | pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green") | |
8350 | pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green") | |
8351 | end | |
8352 | end | |
8353 | end) | |
8354 | ||
8355 | addcmd('uncreeper','makes player back to normal',{}, | |
8356 | function(args, speaker) | |
8357 | local players = getPlayer(args[1], speaker) | |
8358 | for i,v in pairs(players)do | |
8359 | refresh(gPlayers[v]) | |
8360 | end | |
8361 | end) | |
8362 | ||
8363 | addcmd('crash','crashes a player',{}, | |
8364 | function(args, speaker) | |
8365 | local players = getPlayer(args[1], speaker) | |
8366 | for i,v in pairs(players)do | |
8367 | if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else | |
8368 | if FindTable(SPC, args[1]) then Notify('Crashed ' .. args[1]) else | |
8369 | Notify('Crashed player(s)') end | |
8370 | wait(4) | |
8371 | if gPlayers[v] ~= nil then | |
8372 | for i=1,3600 do | |
8373 | Instance.new("Tool",gPlayers[v].Backpack).Name = "-" | |
8374 | end | |
8375 | wait() | |
8376 | for i=1,3600 do | |
8377 | Instance.new("Tool",gPlayers[v].Backpack).Name = "-" | |
8378 | end | |
8379 | wait() | |
8380 | end | |
8381 | end | |
8382 | end | |
8383 | end) | |
8384 | ||
8385 | addcmd('shrek', 'makes player shrek',{}, | |
8386 | function(args, speaker) | |
8387 | local players = getPlayer(args[1], speaker) | |
8388 | for i,v in pairs(players) do | |
8389 | local pchar = gPlayers[v].Character | |
8390 | for i,v in pairs(pchar:GetChildren()) do | |
8391 | if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") | |
8392 | then | |
8393 | v:Destroy() | |
8394 | end | |
8395 | end | |
8396 | for i,v in pairs(pchar.Head:GetChildren()) do | |
8397 | if v:IsA("Decal") or v:IsA("SpecialMesh") then | |
8398 | v:Destroy() | |
8399 | end | |
8400 | end | |
8401 | ||
8402 | local mesh = Instance.new("SpecialMesh", pchar.Head) | |
8403 | mesh.MeshType = "FileMesh" | |
8404 | pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257" | |
8405 | pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0) | |
8406 | pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869" | |
8407 | ||
8408 | local Shirt = Instance.new("Shirt", gPlayers[v].Character) | |
8409 | local Pants = Instance.new("Pants", gPlayers[v].Character) | |
8410 | ||
8411 | Shirt.ShirtTemplate = "rbxassetid://133078194" | |
8412 | Pants.PantsTemplate = "rbxassetid://133078204" | |
8413 | end | |
8414 | end) | |
8415 | ||
8416 | addcmd('unshrek','makes player back to normal',{}, | |
8417 | function(args, speaker) | |
8418 | local players = getPlayer(args[1], speaker) | |
8419 | for i,v in pairs(players)do | |
8420 | refresh(gPlayers[v]) | |
8421 | end | |
8422 | end) | |
8423 | ||
8424 | addcmd('oof','good things happen',{}, | |
8425 | function(args, speaker) | |
8426 | local players = getPlayer(args[1], speaker) | |
8427 | for i,v in pairs(players)do | |
8428 | spawn(function() | |
8429 | 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 | |
8430 | gPlayers[v].Character.Head.Died.Volume = 10 | |
8431 | gPlayers[v].Character.Head.Died.Pitch = 0.5 | |
8432 | end | |
8433 | execCmd("size " .. gPlayers[v].Name .. ' -1') | |
8434 | execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000') | |
8435 | wait(5) | |
8436 | execCmd("explode " .. gPlayers[v].Name) | |
8437 | wait(0.1) | |
8438 | gPlayers[v].Character.Humanoid.Health = 0 | |
8439 | end) | |
8440 | end | |
8441 | end) | |
8442 | ||
8443 | addcmd('control','controls player',{}, | |
8444 | function(args, speaker) | |
8445 | local players = getPlayer(args[1], speaker) | |
8446 | for i,v in pairs(players)do | |
8447 | spawn(function() | |
8448 | local pchar = gPlayers[v].Character | |
8449 | if gPlayers[v] and pchar then | |
8450 | execCmd("invisible " .. speaker.Name) | |
8451 | pchar.Humanoid.PlatformStand = true | |
8452 | local w = Instance.new("Weld", speaker.Character.Torso) | |
8453 | w.Part0 = speaker.Character.Torso | |
8454 | w.Part1 = pchar.Torso | |
8455 | local w2 = Instance.new("Weld", speaker.Character.Head) | |
8456 | w2.Part0 = speaker.Character.Head | |
8457 | w2.Part1 = pchar.Head | |
8458 | local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm")) | |
8459 | w3.Part0 = speaker.Character:findFirstChild("Right Arm") | |
8460 | w3.Part1 = pchar:findFirstChild("Right Arm") | |
8461 | local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm")) | |
8462 | w4.Part0 = speaker.Character:findFirstChild("Left Arm") | |
8463 | w4.Part1 = pchar:findFirstChild("Left Arm") | |
8464 | local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg")) | |
8465 | w5.Part0 = speaker.Character:findFirstChild("Right Leg") | |
8466 | w5.Part1 = pchar:findFirstChild("Right Leg") | |
8467 | local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg")) | |
8468 | w6.Part0 = speaker.Character:findFirstChild("Left Leg") | |
8469 | w6.Part1 = pchar:findFirstChild("Left Leg") | |
8470 | char.Head.face:Destroy() | |
8471 | for i,v in pairs(pchar:GetChildren()) do | |
8472 | if v:IsA("BasePart") then | |
8473 | v.CanCollide = false | |
8474 | end | |
8475 | end | |
8476 | for i,v in pairs(char:GetChildren()) do | |
8477 | if v:IsA("BasePart") then | |
8478 | v.Transparency = 1 | |
8479 | elseif v:IsA("Accessory") then | |
8480 | v:Destroy() | |
8481 | end | |
8482 | end | |
8483 | pchar.Parent = char | |
8484 | pchar.Humanoid.Changed:connect(function() | |
8485 | pchar.Humanoid.PlatformStand = true | |
8486 | end) | |
8487 | end | |
8488 | end) | |
8489 | end | |
8490 | end) | |
8491 | ||
8492 | addcmd('nuke','nukes player',{}, -- from MML | |
8493 | function(args, speaker) | |
8494 | local players = getPlayer(args[1], speaker) | |
8495 | for i,v in pairs(players)do | |
8496 | spawn(function() | |
8497 | local pchar = gPlayers[v].Character | |
8498 | local Pos = CFrame.new(0,1,0) | |
8499 | if pchar and pchar:FindFirstChild("HumanoidRootPart") then Pos = pchar.HumanoidRootPart.CFrame * CFrame.new(0,1,0) end | |
8500 | 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 | |
8501 | local BlastMesh = Instance.new("SpecialMesh", Blast) BlastMesh.MeshId = "rbxassetid://1290033" BlastMesh.TextureId = "rbxassetid://33145325" BlastMesh.Scale = Vector3.new(0,0,0) | |
8502 | 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) | |
8503 | local WaveMesh = Instance.new("SpecialMesh", Wave) WaveMesh.MeshId = "rbxassetid://3270017" | |
8504 | local Light = Instance.new("PointLight", Blast) Light.Brightness = 1000 Light.Range = 10000 Light.Color = Color3.new(1,0.2,0.2) | |
8505 | ||
8506 | 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) | |
8507 | ||
8508 | gLighting.Brightness = 5 | |
8509 | gLighting.Ambient = Color3.new(1,0.5,0.5) | |
8510 | gLighting.OutdoorAmbient = Color3.new(1,1,1) | |
8511 | ||
8512 | local Exp = Instance.new("Explosion", workspace) | |
8513 | Exp.Position = Pos.p | |
8514 | Exp.BlastPressure = 10000000 | |
8515 | Exp.BlastRadius = 1000000 | |
8516 | Exp.Hit:connect(function(Part) | |
8517 | if Part.Name ~= "Base" and Part.Name ~= "BasePlate" and Part ~= Blast and Part ~= Wave and Part.Name ~= "BlastEx" and Part.Name ~= "WaveEx" then | |
8518 | ypcall(function() | |
8519 | Part.Anchored = false | |
8520 | Part.BrickColor = BrickColor.new("Black") | |
8521 | Part.Material = "Slate" | |
8522 | Part:BreakJoints() | |
8523 | end) | |
8524 | end | |
8525 | end) | |
8526 | ||
8527 | local BoomSound = Instance.new('Sound') BoomSound.Parent = workspace | |
8528 | BoomSound.SoundId = 'rbxassetid://212389494' | |
8529 | BoomSound:Play() | |
8530 | for i = 0,100,0.5 do | |
8531 | Blast.Anchored = true | |
8532 | Wave.Anchored = true | |
8533 | BlastMesh.Scale = Vector3.new(i,i,i) | |
8534 | WaveMesh.Scale = Vector3.new(i^1.3,i^1.3,5) | |
8535 | Blast.CFrame = Pos | |
8536 | wait() | |
8537 | end | |
8538 | BoomSound:Stop() | |
8539 | Blast:Destroy() | |
8540 | Wave:Destroy() | |
8541 | wait() | |
8542 | BoomSound:Destroy() | |
8543 | Effect:Destroy() | |
8544 | for i = 10,5,-1 do | |
8545 | gLighting.Brightness = (i-5) + 1 | |
8546 | gLighting.Ambient = Color3.new(i/10,0.5,0.5) | |
8547 | gLighting.OutdoorAmbient = Color3.new(i/10,i/10,i/10) | |
8548 | wait(0.05) | |
8549 | end | |
8550 | end) | |
8551 | end | |
8552 | end) | |
8553 | ||
8554 | addcmd('dong','gives a player a penis',{'penis'}, | |
8555 | function(args, speaker) | |
8556 | local players = getPlayer(args[1], speaker) | |
8557 | for i,v in pairs(players)do | |
8558 | spawn(function() | |
8559 | if gPlayers[v].Character:FindFirstChild('wang') then | |
8560 | gPlayers[v].Character.wang:destroy() | |
8561 | end | |
8562 | local D = Instance.new('Model', gPlayers[v].Character) | |
8563 | D.Name = 'DONG' | |
8564 | local BG = Instance.new('BodyGyro', gPlayers[v].Character.Torso) | |
8565 | local MAIN = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8566 | local M1 = Instance.new('CylinderMesh', MAIN) | |
8567 | local W1 = Instance.new('Weld', gPlayers[v].Character.Head) | |
8568 | local P1 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8569 | local M2 = Instance.new('SpecialMesh', P1) | |
8570 | local W2 = Instance.new('Weld', P1) | |
8571 | local B1 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8572 | local M3 = Instance.new('SpecialMesh', B1) | |
8573 | local W3 = Instance.new('Weld', B1) | |
8574 | local B2 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8575 | local M4 = Instance.new('SpecialMesh', B2) | |
8576 | local W4 = Instance.new('Weld', B2) | |
8577 | 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 | |
8578 | 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) | |
8579 | 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 | |
8580 | M2.MeshType = 'Sphere' | |
8581 | W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0) | |
8582 | 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') | |
8583 | M3.Parent = B1 M3.MeshType = 'Sphere' | |
8584 | W3.Part0 = gPlayers[v].Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5) | |
8585 | 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') | |
8586 | M4.MeshType = 'Sphere' | |
8587 | W4.Part0 = gPlayers[v].Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5) | |
8588 | end) | |
8589 | end | |
8590 | end) | |
8591 | ||
8592 | addcmd('undong','gives a player a penis',{'unpenis','nopenis','nodong'}, | |
8593 | function(args, speaker) | |
8594 | local players = getPlayer(args[1], speaker) | |
8595 | for i,v in pairs(players)do | |
8596 | if gPlayers[v].Character:FindFirstChild('DONG') then | |
8597 | gPlayers[v].Character.DONG:destroy() | |
8598 | end end | |
8599 | end) | |
8600 | ||
8601 | addcmd('infect','infects player',{}, | |
8602 | function(args, speaker) | |
8603 | local players = getPlayer(args[1], speaker) | |
8604 | for i,v in pairs(players)do | |
8605 | function infect(rip) | |
8606 | local pchar = gPlayers[v].Character | |
8607 | for i,v in pairs(pchar:GetChildren()) do | |
8608 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then | |
8609 | v:Destroy() | |
8610 | end | |
8611 | end | |
8612 | if pchar.Torso:FindFirstChild("roblox") then | |
8613 | pchar.Torso.roblox:Destroy() | |
8614 | end | |
8615 | if pchar.Head:FindFirstChild("face") then | |
8616 | pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491" | |
8617 | end | |
8618 | if pchar:FindFirstChild("Body Colors") then | |
8619 | local Colors = pchar["Body Colors"] | |
8620 | local Skin = BrickColor.new("Pastel green") | |
8621 | local Clothes = BrickColor.new("Reddish brown") | |
8622 | Colors.HeadColor = Skin | |
8623 | Colors.LeftArmColor = Skin | |
8624 | Colors.RightArmColor = Skin | |
8625 | Colors.LeftLegColor = Clothes | |
8626 | Colors.RightLegColor = Clothes | |
8627 | Colors.TorsoColor = Clothes | |
8628 | end | |
8629 | local w1 = Instance.new("Weld", pchar) | |
8630 | w1.Part0 = pchar["Right Arm"] | |
8631 | w1.Part1 = pchar.Torso | |
8632 | w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
8633 | local w2 = Instance.new("Weld", pchar) | |
8634 | w2.Part0 = pchar["Left Arm"] | |
8635 | w2.Part1 = pchar.Torso | |
8636 | w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
8637 | local rip = false | |
8638 | local connect1 = pchar["Left Arm"].Touched:connect(function(hit) | |
8639 | if connect1 == false then | |
8640 | connect1 = true | |
8641 | if gPlayers:FindFirstChild(hit.Parent.Name) then | |
8642 | infect(gPlayers[hit.Parent.Name]) | |
8643 | end | |
8644 | wait(0.5) | |
8645 | connect1 = true | |
8646 | end | |
8647 | end) | |
8648 | local connect2 = pchar["Right Arm"].Touched:connect(function(hit) | |
8649 | if connect2 == false then | |
8650 | connect2 = true | |
8651 | if gPlayers:FindFirstChild(hit.Parent.Name) then | |
8652 | infect(gPlayers[hit.Parent.Name]) | |
8653 | end | |
8654 | wait(0.5) | |
8655 | connect2 = true | |
8656 | end | |
8657 | end) | |
8658 | local IV = Instance.new("IntValue", pchar) | |
8659 | IV.Name = "Infected" | |
8660 | IV.Value = 0 | |
8661 | IV.Changed:connect(function() | |
8662 | connect1:disconnect() | |
8663 | connect2:disconnect() | |
8664 | end) | |
8665 | end | |
8666 | infect(v) | |
8667 | end | |
8668 | end) | |
8669 | ||
8670 | addcmd('uninfect','makes player back to normal',{}, | |
8671 | function(args, speaker) | |
8672 | local players = getPlayer(args[1], speaker) | |
8673 | for i,v in pairs(players)do | |
8674 | refresh(gPlayers[v]) | |
8675 | end | |
8676 | end) | |
8677 | ||
8678 | addcmd('duck','makes players head a duck',{}, | |
8679 | function(args, speaker) | |
8680 | local players = getPlayer(args[1], speaker) | |
8681 | for i,v in pairs(players)do | |
8682 | local pchar = gPlayers[v].Character | |
8683 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
8684 | if v:IsA("Decal") then | |
8685 | v:Destroy() | |
8686 | end | |
8687 | end | |
8688 | for i,v in pairs(pchar:GetChildren()) do | |
8689 | if v:IsA("Accessory") then | |
8690 | v:Destroy() | |
8691 | end | |
8692 | end | |
8693 | local duck = Instance.new("SpecialMesh", pchar.Torso) | |
8694 | duck.MeshType = "FileMesh" | |
8695 | duck.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
8696 | duck.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
8697 | duck.Scale = Vector3.new(5, 5, 5) | |
8698 | pchar.Head.Transparency = 1 | |
8699 | pchar["Left Arm"].Transparency = 1 | |
8700 | pchar["Right Arm"].Transparency = 1 | |
8701 | pchar["Left Leg"].Transparency = 1 | |
8702 | pchar["Right Leg"].Transparency = 1 | |
8703 | pchar.Head.face.Transparency = 1 | |
8704 | end | |
8705 | end) | |
8706 | ||
8707 | addcmd('mage', 'mage',{}, | |
8708 | function(args, speaker) | |
8709 | if speaker.userId ~= LP.userId then | |
8710 | lponly(speaker) else | |
8711 | if not LP.PlayerGui:FindFirstChild('ChangeArc') then | |
8712 | local arcPackage = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01337781430") | |
8713 | local fakeLighting = arcPackage.Lighting | |
8714 | ||
8715 | local oldgame = game | |
8716 | local oldlighting = oldgame:GetService("Lighting") | |
8717 | ||
8718 | local proLighting = newproxy(true) | |
8719 | local mtL = getmetatable(proLighting) | |
8720 | mtL.__index = function(self,ind) | |
8721 | if fakeLighting:FindFirstChild(ind) then return fakeLighting[ind] end | |
8722 | return oldlighting[ind] | |
8723 | end | |
8724 | mtL.__newindex = function(self,ind,val) | |
8725 | oldlighting[ind] = val | |
8726 | end | |
8727 | mtL.__namecall = function(self,...) | |
8728 | local args = {...} | |
8729 | local method = table.remove(args) | |
8730 | return oldlighting(method,unpack(args)) | |
8731 | end | |
8732 | ||
8733 | local proGame = newproxy(true) | |
8734 | local mt = getmetatable(proGame) | |
8735 | mt.__index = function(self,ind) | |
8736 | if ind == "Lighting" then return proLighting end | |
8737 | return oldgame[ind] | |
8738 | end | |
8739 | mt.__namecall = function(self,...) | |
8740 | local args = {...} | |
8741 | local method = table.remove(args) | |
8742 | if method:lower() == "getservice" and args[1] == "Lighting" then return fakeLighting end | |
8743 | return oldgame(method,unpack(args)) | |
8744 | end | |
8745 | ||
8746 | wait() | |
8747 | local destructAnchored = false | |
8748 | local maxMass = 1000 | |
8749 | ||
8750 | function newCESS(scr) | |
8751 | local newFunc = loadstring(scr.Source) | |
8752 | if type(newFunc) ~= "function" then return end | |
8753 | setfenv(newFunc,setmetatable({script = scr},{ | |
8754 | __index = function(self,ind) | |
8755 | if ind == "game" then return proGame end | |
8756 | return getfenv()[ind] | |
8757 | end, | |
8758 | __newindex = function(self,ind,val) | |
8759 | rawset(self,ind,val) | |
8760 | end | |
8761 | })) | |
8762 | pcall(function()spawn(newFunc)end) | |
8763 | end | |
8764 | ||
8765 | gPlayers.LocalPlayer.Character.Humanoid.MaxHealth = 999999999 | |
8766 | gPlayers.LocalPlayer.Character.Humanoid.Health = 999999999 | |
8767 | ||
8768 | function destroyHook(obj,replacement,par) | |
8769 | obj:GetPropertyChangedSignal("Parent"):Connect(function() | |
8770 | local newObj = replacement:Clone() | |
8771 | if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end | |
8772 | newObj.Parent = par | |
8773 | destroyHook(newObj,replacement,par) | |
8774 | end) | |
8775 | end | |
8776 | ||
8777 | for i,v in pairs(arcPackage.PlayerGui:GetChildren()) do | |
8778 | local newObj = v:Clone() | |
8779 | if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end | |
8780 | newObj.Parent = gPlayers.LocalPlayer.PlayerGui | |
8781 | destroyHook(newObj,v,gPlayers.LocalPlayer.PlayerGui) | |
8782 | end | |
8783 | ||
8784 | function replaceScripts(root) | |
8785 | for i,v in pairs(root:GetChildren()) do | |
8786 | if v:IsA("Script") and not v:IsA("LocalScript") then | |
8787 | local tempStore = {} | |
8788 | for i2,v2 in pairs(v:GetChildren()) do | |
8789 | table.insert(tempStore,v2:Clone()) | |
8790 | end | |
8791 | local newScript = Instance.new("LocalScript",v.Parent) | |
8792 | newScript.Name = v.Name | |
8793 | for i2,v2 in pairs(tempStore) do | |
8794 | v2.Parent = newScript | |
8795 | end | |
8796 | v:Destroy() | |
8797 | end | |
8798 | replaceScripts(v) | |
8799 | end | |
8800 | end | |
8801 | ||
8802 | local player = gPlayers.LocalPlayer | |
8803 | ||
8804 | if not gPlayers.LocalPlayer:FindFirstChild("leaderstats1") then | |
8805 | gPlayers.LocalPlayer.PlayerGui.leaderstats1.Parent = gPlayers.LocalPlayer | |
8806 | end | |
8807 | ||
8808 | if not game.ReplicatedStorage:FindFirstChild("RankScript") then | |
8809 | gPlayers.LocalPlayer.PlayerGui.RankScript.Parent = game.ReplicatedStorage | |
8810 | end | |
8811 | ||
8812 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Element") then | |
8813 | local eTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Element | |
8814 | eTemplate.Name = gPlayers.LocalPlayer.Name.."Element" | |
8815 | eTemplate.Parent = game.ReplicatedStorage | |
8816 | end | |
8817 | ||
8818 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."FakeName") then | |
8819 | local fTemplate = gPlayers.LocalPlayer.PlayerGui.Player1FakeName | |
8820 | fTemplate.Name = gPlayers.LocalPlayer.Name.."FakeName" | |
8821 | fTemplate.Parent = game.ReplicatedStorage | |
8822 | end | |
8823 | ||
8824 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Level") then | |
8825 | local lTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Level | |
8826 | lTemplate.Name = gPlayers.LocalPlayer.Name.."Level" | |
8827 | lTemplate.Parent = game.ReplicatedStorage | |
8828 | end | |
8829 | ||
8830 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Membership") then | |
8831 | local mTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Membership | |
8832 | mTemplate.Name = gPlayers.LocalPlayer.Name.."Membership" | |
8833 | mTemplate.Parent = game.ReplicatedStorage | |
8834 | end | |
8835 | ||
8836 | function getMyPlayerArea() | |
8837 | for i,v in pairs(game.Workspace.BuildingAreas:GetChildren()) do | |
8838 | if v.Player.Value == player.Name then | |
8839 | return v.PlayerArea | |
8840 | end | |
8841 | end | |
8842 | end | |
8843 | ||
8844 | local whitelistedParts = { | |
8845 | ["DamagePart"] = true, | |
8846 | ["Explosion"] = true, | |
8847 | ["Explosion2"] = true, | |
8848 | ["SuperExplosion"] = true, | |
8849 | } | |
8850 | ||
8851 | workspace.DescendantAdded:connect(function(desc) | |
8852 | if desc:IsA("Script") and desc:IsDescendantOf(gPlayers.LocalPlayer.Character) then | |
8853 | newCESS(desc) | |
8854 | elseif whitelistedParts[desc.Parent.Name] and desc:IsA("Script") then | |
8855 | newCESS(desc) | |
8856 | elseif desc:IsA("BodyGyro") then | |
8857 | desc:GetPropertyChangedSignal("MaxTorque"):Connect(function() | |
8858 | desc.MaxTorque = Vector3.new(100000,100000,100000) | |
8859 | end) | |
8860 | --elseif desc:IsA("BodyPosition") then | |
8861 | -- desc:GetPropertyChangedSignal("MaxForce"):Connect(function() | |
8862 | -- desc.MaxForce = Vector3.new(10000,10000,10000) | |
8863 | -- end) | |
8864 | end | |
8865 | end) | |
8866 | ||
8867 | player.Character.Humanoid.MaxHealth = (100+(player.leaderstats1.Level.Value*25)) | |
8868 | player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth | |
8869 | player.PlayerGui.HealthGui.MaxMana.Value = (150+(player.leaderstats1.Level.Value*25)) | |
8870 | player.PlayerGui.HealthGui.MaxXP.Value = (player.leaderstats1.Level.Value*50) | |
8871 | player.PlayerGui.HealthGui.Mana.Value = player.PlayerGui.HealthGui.MaxMana.Value | |
8872 | ||
8873 | wait(1) | |
8874 | ||
8875 | local player = gPlayers.LocalPlayer | |
8876 | ||
8877 | local arcList = player.PlayerGui.ChangeArc.Stuff.ScrollingFrame | |
8878 | local arcTemplate = player.PlayerGui.ChangeArc.Stuff.ChangeTemplate | |
8879 | ||
8880 | local arcToggler = player.PlayerGui.ChangeArc.ArcToggler.Toggle | |
8881 | local arcMoves = player.PlayerGui.ChangeArc.ArcMoves | |
8882 | local arcMovesList = arcMoves.ScrollingFrame | |
8883 | local moveTemplate = player.PlayerGui.ChangeArc.MoveTemplate | |
8884 | ||
8885 | local arcs = {} | |
8886 | ||
8887 | local currentArc = "" | |
8888 | ||
8889 | function getMove(root) | |
8890 | for i,v in pairs(root:GetChildren()) do | |
8891 | if v.Name ~= "Requirement" then | |
8892 | return v | |
8893 | end | |
8894 | end | |
8895 | return nil | |
8896 | end | |
8897 | ||
8898 | for i,v in pairs(fakeLighting.SkillFrames:GetChildren()) do | |
8899 | table.insert(arcs,v) | |
8900 | end | |
8901 | ||
8902 | for i,v in pairs(fakeLighting.Customs:GetChildren()) do | |
8903 | table.insert(arcs,v) | |
8904 | end | |
8905 | ||
8906 | for i,v in pairs(arcs) do | |
8907 | local newTemplate = arcTemplate:Clone() | |
8908 | newTemplate.ArcName.Text = v.Name | |
8909 | newTemplate.Change.MouseButton1Down:connect(function() | |
8910 | currentArc = v.Name | |
8911 | arcToggler.Parent.Visible = true | |
8912 | if fakeLighting.SkillFrames:FindFirstChild(currentArc) then | |
8913 | arcMovesList:ClearAllChildren() | |
8914 | arcToggler.Text = currentArc | |
8915 | arcMoves.Title.Text = currentArc .. " Arc" | |
8916 | for i5,v5 in pairs(fakeLighting.SkillFrames:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do | |
8917 | local myMove = getMove(v5.Learn) | |
8918 | if myMove ~= nil then | |
8919 | local newTemplate = moveTemplate:Clone() | |
8920 | newTemplate.Attack.Text = v5.Name | |
8921 | newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8922 | newTemplate.Parent = arcMovesList | |
8923 | arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8924 | newTemplate.Learn.MouseButton1Down:connect(function() | |
8925 | local learnMove = myMove:Clone() | |
8926 | learnMove.Parent = player.Backpack | |
8927 | if learnMove:IsA("LocalScript") then | |
8928 | learnMove.Disabled = false | |
8929 | newTemplate.Learn.Text = "Activated" | |
8930 | newCESS(learnMove) | |
8931 | else | |
8932 | newTemplate.Learn.Text = "Learned" | |
8933 | newCESS(learnMove.LocalScript) | |
8934 | end | |
8935 | wait(5) | |
8936 | newTemplate.Learn.Text = "Learn" | |
8937 | end) | |
8938 | newTemplate.Visible = true | |
8939 | end | |
8940 | end | |
8941 | end | |
8942 | if fakeLighting.Customs:FindFirstChild(currentArc) then | |
8943 | arcMovesList:ClearAllChildren() | |
8944 | arcToggler.Text = currentArc | |
8945 | arcMoves.Title.Text = currentArc .. " Arc" | |
8946 | for i,v in pairs(fakeLighting.Customs:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do | |
8947 | local myMove = getMove(v.Learn) | |
8948 | if myMove ~= nil then | |
8949 | local newTemplate = moveTemplate:Clone() | |
8950 | newTemplate.Attack.Text = v.Name | |
8951 | newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8952 | newTemplate.Parent = arcMovesList | |
8953 | arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8954 | newTemplate.Learn.MouseButton1Down:connect(function() | |
8955 | local learnMove = myMove:Clone() | |
8956 | learnMove.Parent = player.Backpack | |
8957 | if learnMove:IsA("LocalScript") then | |
8958 | learnMove.Disabled = false | |
8959 | newTemplate.Learn.Text = "Activated" | |
8960 | newCESS(learnMove) | |
8961 | else | |
8962 | newTemplate.Learn.Text = "Learned" | |
8963 | newCESS(learnMove.LocalScript) | |
8964 | end | |
8965 | wait(5) | |
8966 | newTemplate.Learn.Text = "Learn" | |
8967 | end) | |
8968 | newTemplate.Visible = true | |
8969 | end | |
8970 | end | |
8971 | end | |
8972 | end) | |
8973 | newTemplate.Position = UDim2.new(0,0,0,#arcList:GetChildren()*47+5) | |
8974 | newTemplate.Visible = true | |
8975 | newTemplate.Parent = arcList | |
8976 | arcList.CanvasSize = UDim2.new(0,0,0,#arcList:GetChildren()*47+5) | |
8977 | end | |
8978 | ||
8979 | Open = false | |
8980 | MouseClick = function() | |
8981 | if Open == false then | |
8982 | Open = true | |
8983 | player.PlayerGui.ChangeArc.Stuff.Visible = true | |
8984 | else | |
8985 | if Open == true then | |
8986 | Open = false | |
8987 | player.PlayerGui.ChangeArc.Stuff.Visible = false | |
8988 | end | |
8989 | end | |
8990 | end | |
8991 | ||
8992 | player.PlayerGui.ChangeArc.Frame.Toggle.MouseButton1Down:connect(MouseClick) | |
8993 | ||
8994 | Open2 = false | |
8995 | MouseClick2 = function() | |
8996 | if Open2 == false then | |
8997 | Open2 = true | |
8998 | arcMoves.Visible = true | |
8999 | else | |
9000 | if Open2 == true then | |
9001 | Open2 = false | |
9002 | arcMoves.Visible = false | |
9003 | end | |
9004 | end | |
9005 | end | |
9006 | ||
9007 | arcToggler.MouseButton1Down:connect(MouseClick2) | |
9008 | ||
9009 | newCESS(player.PlayerGui.ArcMusicPlayer["Music Player Module"]) | |
9010 | ||
9011 | for i,v in pairs(player.PlayerGui.HealthGui:GetDescendants()) do | |
9012 | if v:IsA("Script") then | |
9013 | newCESS(v) | |
9014 | end | |
9015 | end | |
9016 | end | |
9017 | end | |
9018 | end) | |
9019 | ||
9020 | addcmd('unduck','makes player back to normal',{}, | |
9021 | function(args, speaker) | |
9022 | local players = getPlayer(args[1], speaker) | |
9023 | for i,v in pairs(players)do | |
9024 | refresh(gPlayers[v]) | |
9025 | end | |
9026 | end) | |
9027 | ||
9028 | addcmd('mesh','makes a player into a mesh',{}, | |
9029 | function(args, speaker) | |
9030 | local players = getPlayer(args[1], speaker) | |
9031 | for i,v in pairs(players)do | |
9032 | local pchar = gPlayers[v].Character | |
9033 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9034 | if v:IsA("Decal") then | |
9035 | v:Destroy() | |
9036 | end | |
9037 | end | |
9038 | for i,v in pairs(pchar:GetChildren()) do | |
9039 | if v:IsA("Accessory") then | |
9040 | v:Destroy() | |
9041 | end | |
9042 | end | |
9043 | pchar.Head.Transparency = 1 | |
9044 | pchar["Left Arm"].Transparency = 1 | |
9045 | pchar["Right Arm"].Transparency = 1 | |
9046 | pchar["Left Leg"].Transparency = 1 | |
9047 | pchar["Right Leg"].Transparency = 1 | |
9048 | pchar.Head.face.Transparency = 1 | |
9049 | local msh = Instance.new("SpecialMesh", pchar.Torso) | |
9050 | msh.MeshType = "FileMesh" | |
9051 | msh.Scale = Vector3.new(3, 3, 3) | |
9052 | msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2] | |
9053 | msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3] | |
9054 | msh.Scale = Vector3.new(3, 3, 3) | |
9055 | end | |
9056 | end) | |
9057 | ||
9058 | addcmd('disable','removes players humanoid',{}, | |
9059 | function(args, speaker) | |
9060 | local players = getPlayer(args[1], speaker) | |
9061 | for i,v in pairs(players)do | |
9062 | local pchar = gPlayers[v].Character | |
9063 | if pchar:FindFirstChild("Humanoid") then | |
9064 | pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name | |
9065 | local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name] | |
9066 | humanoid.Parent = game.ContextActionService | |
9067 | if FindTable(SPC, args[1]) then Notify('Disabled ' .. args[1]) else | |
9068 | Notify('Disabled player(s)') end | |
9069 | end end end) | |
9070 | ||
9071 | addcmd('enable','gives player humanoid',{}, | |
9072 | function(args, speaker) | |
9073 | local players = getPlayer(args[1], speaker) | |
9074 | for i,v in pairs(players)do | |
9075 | local pchar = gPlayers[v].Character | |
9076 | if pchar:FindFirstChild("Humanoid") then | |
9077 | return | |
9078 | else | |
9079 | local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name] | |
9080 | humanoid.Parent = pchar | |
9081 | humanoid.Name = "Humanoid" | |
9082 | if FindTable(SPC, args[1]) then Notify('Enabled ' .. args[1]) else | |
9083 | Notify('Enabled player(s)') end | |
9084 | end end end) | |
9085 | ||
9086 | addcmd('size','changes size of player',{}, | |
9087 | function(args, speaker) | |
9088 | local players = getPlayer(args[1], speaker) | |
9089 | for i,v in pairs(players)do | |
9090 | local pchar = gPlayers[v].Character | |
9091 | local function scale(chr,scl) | |
9092 | for _,v in pairs(pchar:GetChildren()) do | |
9093 | if v:IsA("Accessory") then | |
9094 | v:Clone() | |
9095 | v.Parent = LightingService | |
9096 | end end | |
9097 | local Head = chr['Head'] | |
9098 | local Torso = chr['Torso'] | |
9099 | local LA = chr['Left Arm'] | |
9100 | local RA = chr['Right Arm'] | |
9101 | local LL = chr['Left Leg'] | |
9102 | local RL = chr['Right Leg'] | |
9103 | local HRP = chr['HumanoidRootPart'] | |
9104 | wait(0.1) | |
9105 | Head.formFactor = 3 | |
9106 | Torso.formFactor = 3 | |
9107 | LA.formFactor = 3 | |
9108 | RA.formFactor = 3 | |
9109 | LL.formFactor = 3 | |
9110 | RL.formFactor = 3 | |
9111 | HRP.formFactor = 3 | |
9112 | Head.Size = Vector3.new(scl * 2, scl, scl) | |
9113 | Torso.Size = Vector3.new(scl * 2, scl * 2, scl) | |
9114 | LA.Size = Vector3.new(scl, scl * 2, scl) | |
9115 | RA.Size = Vector3.new(scl, scl * 2, scl) | |
9116 | LL.Size = Vector3.new(scl, scl * 2, scl) | |
9117 | RL.Size = Vector3.new(scl, scl * 2, scl) | |
9118 | HRP.Size = Vector3.new(scl * 2, scl * 2, scl) | |
9119 | local Motor1 = Instance.new('Motor6D', Torso) | |
9120 | Motor1.Part0 = Torso | |
9121 | Motor1.Part1 = Head | |
9122 | Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
9123 | Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
9124 | Motor1.Name = "Neck" | |
9125 | local Motor2 = Instance.new('Motor6D', Torso) | |
9126 | Motor2.Part0 = Torso | |
9127 | Motor2.Part1 = LA | |
9128 | Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9129 | Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9130 | Motor2.Name = "Left Shoulder" | |
9131 | local Motor3 = Instance.new('Motor6D', Torso) | |
9132 | Motor3.Part0 = Torso | |
9133 | Motor3.Part1 = RA | |
9134 | Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9135 | Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9136 | Motor3.Name = "Right Shoulder" | |
9137 | local Motor4 = Instance.new('Motor6D', Torso) | |
9138 | Motor4.Part0 = Torso | |
9139 | Motor4.Part1 = LL | |
9140 | Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9141 | Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9142 | Motor4.Name = "Left Hip" | |
9143 | local Motor5 = Instance.new('Motor6D', Torso) | |
9144 | Motor5.Part0 = Torso | |
9145 | Motor5.Part1 = RL | |
9146 | Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9147 | Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9148 | Motor5.Name = "Right Hip" | |
9149 | local Motor6 = Instance.new('Motor6D', HRP) | |
9150 | Motor6.Part0 = HRP | |
9151 | Motor6.Part1 = Torso | |
9152 | Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
9153 | Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) end | |
9154 | scale(pchar, args[2]) | |
9155 | for _,v in pairs(LightingService:GetChildren()) do | |
9156 | if v:IsA("Accessory") then | |
9157 | v.Parent = pchar | |
9158 | end end end end) | |
9159 | ||
9160 | addcmd('clone','clones player',{}, | |
9161 | function(args, speaker) | |
9162 | local players = getPlayer(args[1], speaker) | |
9163 | for i,v in pairs(players)do | |
9164 | local pchar = gPlayers[v].Character | |
9165 | spawn(function() | |
9166 | pchar.Archivable = true | |
9167 | local clone = pchar:Clone() | |
9168 | clone.Parent = workspace | |
9169 | local cloneV = Instance.new("BoolValue") | |
9170 | cloneV.Name = "isclone" | |
9171 | cloneV.Parent = clone | |
9172 | clone:MoveTo(pchar:GetModelCFrame().p) | |
9173 | clone:MakeJoints() | |
9174 | pchar.Archivable = false | |
9175 | end) | |
9176 | end | |
9177 | end) | |
9178 | ||
9179 | addcmd('noclones', 'clears clones',{}, | |
9180 | function(args, speaker) | |
9181 | local players = getPlayer(args[1], speaker) | |
9182 | for i,v in pairs(players)do | |
9183 | for _, child in pairs( workspace:GetChildren()) do | |
9184 | if child.Name == gPlayers[v].Name and child:FindFirstChild('isclone') then | |
9185 | child:Destroy() | |
9186 | end | |
9187 | end | |
9188 | end | |
9189 | end) | |
9190 | ||
9191 | addcmd('spin','spins player',{}, | |
9192 | function(args, speaker) | |
9193 | local players = getPlayer(args[1], speaker) | |
9194 | for i,v in pairs(players)do | |
9195 | spawn(function() | |
9196 | local pchar = gPlayers[v].Character | |
9197 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9198 | if v.Name == "Spinning" then | |
9199 | v:Destroy() | |
9200 | end | |
9201 | end | |
9202 | local Torso = pchar.Torso | |
9203 | local BG = Instance.new("BodyGyro", Torso) | |
9204 | BG.Name = "Spinning" | |
9205 | BG.maxTorque = Vector3.new(0, math.huge, 0) | |
9206 | BG.P = 11111 | |
9207 | BG.cframe = Torso.CFrame | |
9208 | repeat wait(1/44) | |
9209 | BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0) | |
9210 | until not BG or BG.Parent ~= Torso | |
9211 | end) | |
9212 | end | |
9213 | end) | |
9214 | ||
9215 | addcmd('unspin','stops spinning player',{}, | |
9216 | function(args, speaker) | |
9217 | local players = getPlayer(args[1], speaker) | |
9218 | for i,v in pairs(players)do | |
9219 | local pchar = gPlayers[v].Character | |
9220 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9221 | if v.Name == "Spinning" then | |
9222 | v:Destroy() | |
9223 | end | |
9224 | end | |
9225 | end | |
9226 | end) | |
9227 | ||
9228 | addcmd('dog','makes player a dog',{}, | |
9229 | function(args, speaker) | |
9230 | local players = getPlayer(args[1], speaker) | |
9231 | for i,v in pairs(players)do | |
9232 | local pchar = gPlayers[v].Character | |
9233 | if pchar:FindFirstChild("Shirt") then | |
9234 | pchar.Shirt:Destroy() | |
9235 | end | |
9236 | if pchar:FindFirstChild("Pants") then | |
9237 | pchar.Pants:Destroy() | |
9238 | end | |
9239 | if pchar:FindFirstChild("Shirt Graphic") then | |
9240 | pchar["Shirt Graphic"].Graphic = "" | |
9241 | end | |
9242 | pchar.Torso.Transparency = 1 | |
9243 | pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
9244 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0) | |
9245 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0) | |
9246 | pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0) | |
9247 | pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0) | |
9248 | local FakeTorso = Instance.new("Seat", pchar) | |
9249 | FakeTorso.Name = "FakeTorso" | |
9250 | FakeTorso.FormFactor = "Symmetric" | |
9251 | FakeTorso.TopSurface = 0 | |
9252 | FakeTorso.BottomSurface = 0 | |
9253 | FakeTorso.Size = Vector3.new(3,1,4) | |
9254 | FakeTorso.BrickColor = BrickColor.new("Brown") | |
9255 | FakeTorso.CFrame = pchar.Torso.CFrame | |
9256 | local BF = Instance.new("BodyForce", FakeTorso) | |
9257 | BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0) | |
9258 | local W = Instance.new("Weld", pchar.Torso) | |
9259 | W.Part0 = pchar.Torso | |
9260 | W.Part1 = FakeTorso | |
9261 | W.C0 = CFrame.new(0,-.5,0) | |
9262 | local BC = pchar["Body Colors"] | |
9263 | BC.HeadColor = BrickColor.new("Brown") | |
9264 | BC.LeftArmColor = BrickColor.new("Brown") | |
9265 | BC.LeftLegColor = BrickColor.new("Brown") | |
9266 | BC.RightArmColor = BrickColor.new("Brown") | |
9267 | BC.RightLegColor = BrickColor.new("Brown") | |
9268 | BC.TorsoColor = BrickColor.new("Brown") | |
9269 | end | |
9270 | end) | |
9271 | ||
9272 | addcmd('undog','makes player back to normal',{}, | |
9273 | function(args, speaker) | |
9274 | local players = getPlayer(args[1], speaker) | |
9275 | for i,v in pairs(players)do | |
9276 | refresh(gPlayers[v]) | |
9277 | end | |
9278 | end) | |
9279 | ||
9280 | addcmd('loopheal','loop heals player',{}, | |
9281 | function(args, speaker) | |
9282 | local players = getPlayer(args[1], speaker) | |
9283 | for i,v in pairs(players)do | |
9284 | spawn(function() | |
9285 | local pchar = gPlayers[v].Character | |
9286 | if pchar:FindFirstChild("LoopHeal") then | |
9287 | pchar.LoopHeal.Name = "NotLoopHeal" | |
9288 | wait(0.1) | |
9289 | pchar.NotLoopHeal:Destroy() | |
9290 | end | |
9291 | local LoopHeal = Instance.new("StringValue", pchar) | |
9292 | LoopHeal.Name = "LoopHeal" | |
9293 | repeat wait(0.1) | |
9294 | pchar.Humanoid.Health = pchar.Humanoid.MaxHealth | |
9295 | until LoopHeal.Name == "NotLoopHeal" | |
9296 | end) | |
9297 | end | |
9298 | end) | |
9299 | ||
9300 | addcmd('unloopheal','stops loop heal on player',{'noloopheal'}, | |
9301 | function(args, speaker) | |
9302 | local players = getPlayer(args[1], speaker) | |
9303 | for i,v in pairs(players)do | |
9304 | local pchar = gPlayers[v].Character | |
9305 | if pchar:FindFirstChild("LoopHeal") then | |
9306 | pchar.LoopHeal.Name = "NotLoopHeal" | |
9307 | wait(0.1) | |
9308 | pchar.NotLoopHeal:Destroy() | |
9309 | end | |
9310 | end | |
9311 | end) | |
9312 | ||
9313 | addcmd('fling','flings player',{}, | |
9314 | function(args, speaker) | |
9315 | local players = getPlayer(args[1], speaker) | |
9316 | for i,v in pairs(players)do | |
9317 | local pchar = gPlayers[v].Character | |
9318 | if pchar:FindFirstChild("Humanoid") then | |
9319 | local xran | |
9320 | local zran | |
9321 | repeat | |
9322 | xran = math.random(-9999,9999) | |
9323 | until math.abs(xran) >= 5555 | |
9324 | repeat | |
9325 | zran = math.random(-9999,9999) | |
9326 | until math.abs(zran) >= 5555 | |
9327 | pchar.Humanoid.Sit = true | |
9328 | pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0) | |
9329 | local BF = Instance.new("BodyForce", pchar.HumanoidRootPart) | |
9330 | BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4) | |
9331 | end | |
9332 | end | |
9333 | end) | |
9334 | ||
9335 | addcmd('skydive','self explanatory',{}, | |
9336 | function(args, speaker) | |
9337 | local players = getPlayer(args[1], speaker) | |
9338 | for i,v in pairs(players)do | |
9339 | local pchar = gPlayers[v].Character | |
9340 | if pchar:FindFirstChild("HumanoidRootPart") then | |
9341 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame + Vector3.new(0,10000,0) | |
9342 | end | |
9343 | end | |
9344 | end) | |
9345 | ||
9346 | addcmd('bleach','drink bleach',{''}, | |
9347 | function(args, speaker) | |
9348 | local players = getPlayer(args[1], speaker) | |
9349 | for i,v in pairs(players)do | |
9350 | bleach(gPlayers[v]) | |
9351 | end | |
9352 | end) | |
9353 | ||
9354 | addcmd('seizure','makes player have a seizure',{''}, | |
9355 | function(args, speaker) | |
9356 | local players = getPlayer(args[1], speaker) | |
9357 | for i,v in pairs(players)do | |
9358 | local pchar = gPlayers[v].Character | |
9359 | if pchar:FindFirstChild("Seizure") then | |
9360 | ||
9361 | end | |
9362 | local Seizure = Instance.new("StringValue", pchar) | |
9363 | Seizure.Name = "Seizure" | |
9364 | pchar.Humanoid.PlatformStand = true | |
9365 | repeat wait() | |
9366 | pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) | |
9367 | pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
9368 | until Seizure.Name == "NotSeizure" | |
9369 | end | |
9370 | end) | |
9371 | ||
9372 | addcmd('fegod','gods you in fe games',{''}, | |
9373 | function(args, speaker) | |
9374 | if speaker.userId ~= LP.userId then | |
9375 | lponly(speaker) | |
9376 | else | |
9377 | gPlayers.LocalPlayer.Character.Humanoid.Name = 1 | |
9378 | local l = gPlayers.LocalPlayer.Character["1"]:Clone() | |
9379 | l.Parent = gPlayers.LocalPlayer.Character | |
9380 | l.Name = "Humanoid" | |
9381 | wait(0.1) | |
9382 | gPlayers.LocalPlayer.Character["1"]:Destroy() | |
9383 | workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
9384 | gPlayers.LocalPlayer.Character.Animate.Disabled = true | |
9385 | wait(0.1) | |
9386 | gPlayers.LocalPlayer.Character.Animate.Disabled = false | |
9387 | gPlayers.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
9388 | end | |
9389 | end) | |
9390 | ||
9391 | addcmd('unseizure','makes player stop having a seizure',{''}, | |
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("Seizure") then | |
9397 | pchar.Humanoid.PlatformStand = false | |
9398 | pchar.Seizure.Name = "NotSeizure" | |
9399 | wait(0.1) | |
9400 | pchar.NotSeizure:Destroy() | |
9401 | end | |
9402 | end | |
9403 | end) | |
9404 | ||
9405 | addcmd('m','makes a global message',{'message'}, | |
9406 | function(args, speaker) | |
9407 | local MSG = '['..speaker.Name..']: '..GLS(false, 0) | |
9408 | local newMSG = '['..speaker.Name..']: '..GLS(false, 0) | |
9409 | _G.msg(MSG) | |
9410 | end) | |
9411 | ||
9412 | addcmd('sm','makes a global message',{'servermessage'}, | |
9413 | function(args, speaker) | |
9414 | local MSG = GLS(false, 0) | |
9415 | local newMSG = GLS(false, 0) | |
9416 | _G.msg(MSG) | |
9417 | end) | |
9418 | ||
9419 | addcmd('fe','checks filtering status',{'filtering'}, | |
9420 | function(args, speaker) | |
9421 | if workspace.FilteringEnabled == true then | |
9422 | Notify('Filtering ENABLED') | |
9423 | elseif workspace.FilteringEnabled == false then | |
9424 | Notify('Filtering Disabled') | |
9425 | end | |
9426 | end) | |
9427 | ||
9428 | addcmd('paper','makes player thin as paper',{''}, | |
9429 | function(args, speaker) | |
9430 | local players = getPlayer(args[1], speaker) | |
9431 | for i,v in pairs(players)do | |
9432 | local pchar = gPlayers[v].Character | |
9433 | for _, child in pairs( pchar:GetChildren()) do | |
9434 | if child.ClassName == "CharacterMesh" then | |
9435 | child:Destroy() | |
9436 | end | |
9437 | end | |
9438 | local LA = DATA.Paper:Clone() | |
9439 | LA.Parent = pchar["Left Arm"] | |
9440 | local RA = DATA.Paper:Clone() | |
9441 | RA.Parent = pchar["Right Arm"] | |
9442 | local LL = DATA.Paper:Clone() | |
9443 | LL.Parent = pchar["Left Leg"] | |
9444 | local RL = DATA.Paper:Clone() | |
9445 | RL.Parent = pchar["Right Leg"] | |
9446 | local T = DATA.Paper:Clone() | |
9447 | T.Parent = pchar.Torso | |
9448 | local H = DATA.Paper:Clone() | |
9449 | H.Parent = pchar.Head | |
9450 | pchar.Head.face:Destroy() | |
9451 | end | |
9452 | end) | |
9453 | ||
9454 | addcmd('particles','gives a player particles',{''}, | |
9455 | function(args, speaker) | |
9456 | local players = getPlayer(args[1], speaker) | |
9457 | for i,v in pairs(players)do | |
9458 | local char = gPlayers[v].Character | |
9459 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
9460 | if v:IsA('ParticleEmitter') then | |
9461 | v:destroy() | |
9462 | end | |
9463 | end | |
9464 | local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart) | |
9465 | prt.Texture = 'rbxassetid://' .. args[2] | |
9466 | prt.Rate = 10 | |
9467 | prt.SpreadAngle = Vector2.new(50, 50) | |
9468 | end | |
9469 | end) | |
9470 | ||
9471 | addcmd('unparticles','gives a player particles',{'noparticles'}, | |
9472 | function(args, speaker) | |
9473 | local players = getPlayer(args[1], speaker) | |
9474 | for i,v in pairs(players)do | |
9475 | local char = gPlayers[v].Character | |
9476 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
9477 | if v:IsA('ParticleEmitter') then | |
9478 | v:destroy() | |
9479 | end | |
9480 | end | |
9481 | end | |
9482 | end) | |
9483 | ||
9484 | blindT = {} | |
9485 | addcmd('blind','blinds a player',{}, | |
9486 | function(args, speaker) | |
9487 | local players = getPlayer(args[1], speaker) | |
9488 | for i,v in pairs(players)do | |
9489 | spawn(function() | |
9490 | if FindTable(blindT, _players[v].Name) then return end | |
9491 | local blind = gPlayers[v].Name | |
9492 | local victim = gPlayers:FindFirstChild(blind) | |
9493 | if victim ~= nil then | |
9494 | victim.CameraMaxZoomDistance = 0.5 | |
9495 | blnd = Instance.new("Part",workspace) | |
9496 | blnd.Name = "IYblind" .. gPlayers[v].Name | |
9497 | blnd.Size = Vector3.new(1,1,1) | |
9498 | blnd.CanCollide = false | |
9499 | blnd.BrickColor = BrickColor.new("Really black") | |
9500 | blnd.Material = "Neon" | |
9501 | local m = Instance.new("SpecialMesh",blnd) | |
9502 | m.Scale = Vector3.new(-1.5,-1.5,-1.5) | |
9503 | m.MeshId = "http://www.roblox.com/asset/?id=10061232" | |
9504 | local w = Instance.new("Weld",blnd) | |
9505 | w.Part0 = blnd | |
9506 | w.Part1 = victim.Character.Head | |
9507 | if FindTable(blindT, _players[v].Name) then return end | |
9508 | table.insert(blindT, _players[v].Name) | |
9509 | repeat if not workspace:FindFirstChild('IYblind' .. gPlayers[v].Name) then | |
9510 | local blind = gPlayers[v].Name | |
9511 | local victim = gPlayers:FindFirstChild(blind) | |
9512 | if victim ~= nil then | |
9513 | victim.CameraMaxZoomDistance = 0.5 | |
9514 | blnd = Instance.new("Part",workspace) | |
9515 | blnd.Name = "IYblind" .. gPlayers[v].Name | |
9516 | blnd.Size = Vector3.new(1,1,1) | |
9517 | blnd.CanCollide = false | |
9518 | blnd.BrickColor = BrickColor.new("Really black") | |
9519 | blnd.Material = "Neon" | |
9520 | local m = Instance.new("SpecialMesh",blnd) | |
9521 | m.Scale = Vector3.new(-1.5,-1.5,-1.5) | |
9522 | m.MeshId = "http://www.roblox.com/asset/?id=10061232" | |
9523 | local w = Instance.new("Weld",blnd) | |
9524 | w.Part0 = blnd | |
9525 | w.Part1 = victim.Character.Head | |
9526 | end end wait(1) | |
9527 | until not FindTable(blindT, _players[v].Name) | |
9528 | end end) end end) | |
9529 | ||
9530 | addcmd('unblind','blinds a player',{'noblind'}, | |
9531 | function(args, speaker) | |
9532 | local players = getPlayer(args[1], speaker) | |
9533 | for i,v in pairs(players)do | |
9534 | spawn(function() | |
9535 | for a,b in pairs(blindT) do if b == _players[v].Name then table.remove(blindT, a) end end | |
9536 | local blind = gPlayers[v].Name | |
9537 | local victim = gPlayers:FindFirstChild(blind) | |
9538 | if victim ~= nil then | |
9539 | victim.CameraMaxZoomDistance = 400 wait(0.5) | |
9540 | for _, child in pairs( workspace:GetChildren()) do | |
9541 | if child.Name == "IYblind" .. gPlayers[v].Name then | |
9542 | child:Destroy() | |
9543 | end end end end) end end) | |
9544 | ||
9545 | addcmd('punish','punishs player',{''}, | |
9546 | function(args, speaker) | |
9547 | local players = getPlayer(args[1], speaker) | |
9548 | for i,v in pairs(players)do | |
9549 | local pchar = gPlayers[v].Character | |
9550 | pchar.Parent = LightingService | |
9551 | end | |
9552 | end) | |
9553 | ||
9554 | addcmd('unpunish','unpunishs player',{''}, | |
9555 | function(args, speaker) | |
9556 | local players = getPlayer(args[1], speaker) | |
9557 | for i,v in pairs(players)do | |
9558 | if LightingService:FindFirstChild("" .. gPlayers[v].Name) then | |
9559 | LightingService:FindFirstChild("" .. gPlayers[v].Name).Parent = workspace | |
9560 | end | |
9561 | end | |
9562 | end) | |
9563 | ||
9564 | local starmanPlayers = {} | |
9565 | local starmanLastColor = nil | |
9566 | local starmanEvents = {} | |
9567 | ||
9568 | addcmd("starman","Turns [plr] into starman",{}, | |
9569 | function(args,speaker) | |
9570 | local function starman(plr) | |
9571 | local char = plr.Character | |
9572 | local lastColor = "" | |
9573 | local newColor = "" | |
9574 | ||
9575 | local powerupSound = Instance.new("Sound",char.HumanoidRootPart) | |
9576 | powerupSound.Name = "PowerUp" | |
9577 | powerupSound.Volume = 10 | |
9578 | powerupSound.SoundId = "rbxassetid://182755256" | |
9579 | wait() | |
9580 | powerupSound:Play() | |
9581 | ||
9582 | game:GetService("Debris"):AddItem(powerupSound,2) | |
9583 | ||
9584 | while char.HumanoidRootPart:FindFirstChild("Starman") do char.HumanoidRootPart.Starman:Destroy() end | |
9585 | ||
9586 | local starmanMusic = Instance.new("Sound",char.HumanoidRootPart) | |
9587 | starmanMusic.Name = "Starman" | |
9588 | starmanMusic.Volume = 1 | |
9589 | starmanMusic.Looped = true | |
9590 | starmanMusic.SoundId = "rbxassetid://530596723" | |
9591 | wait() | |
9592 | starmanMusic:Play() | |
9593 | ||
9594 | if char:FindFirstChild("Shirt") then char.Shirt:Destroy() end | |
9595 | if char:FindFirstChild("Pants") then char.Pants:Destroy() end | |
9596 | ||
9597 | char.Humanoid.WalkSpeed = 32 | |
9598 | char.Humanoid.MaxHealth = math.huge | |
9599 | char.Humanoid.Health = math.huge | |
9600 | ||
9601 | local invisff = Instance.new("ForceField", char) | |
9602 | invisff.Visible = false invisff.Name = 'smff' | |
9603 | ||
9604 | while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do char.HumanoidRootPart.StarmanFlash:Destroy() end | |
9605 | ||
9606 | local light = Instance.new("PointLight",char.HumanoidRootPart) | |
9607 | light.Name = "StarmanFlash" | |
9608 | light.Brightness = 100 | |
9609 | light.Range = 20 | |
9610 | light.Shadows = true | |
9611 | ||
9612 | local function stardestroy(part) | |
9613 | if part.Parent:FindFirstChild("Humanoid") and part.Parent ~= char then | |
9614 | for i,v in pairs(part.Parent:GetChildren()) do | |
9615 | if v:IsA("BasePart") then | |
9616 | local force = Instance.new("BodyForce",v) | |
9617 | force.Force = char.HumanoidRootPart.CFrame.lookVector * 50 | |
9618 | v:BreakJoints() | |
9619 | end | |
9620 | end | |
9621 | ||
9622 | local tadaas = {} | |
9623 | ||
9624 | for i = 1,1 do | |
9625 | local tadaa = Instance.new("Sound",part.Parent.HumanoidRootPart) | |
9626 | tadaa.Volume = 10 | |
9627 | tadaa.SoundId = "rbxassetid://551195499" | |
9628 | table.insert(tadaas,tadaa) | |
9629 | end | |
9630 | ||
9631 | wait() | |
9632 | ||
9633 | for i,v in pairs(tadaas) do | |
9634 | v:Play() | |
9635 | end | |
9636 | end | |
9637 | end | |
9638 | ||
9639 | local events = {} | |
9640 | for i,v in pairs(char:GetChildren()) do | |
9641 | if v:IsA("BasePart") then v.Material = Enum.Material.Neon table.insert(events,v.Touched:Connect(stardestroy)) end | |
9642 | end | |
9643 | if starmanEvents[plr.Name] then for i,v in pairs(starmanEvents[plr.Name]) do v:Disconnect() end starmanEvents[plr.Name] = nil end | |
9644 | starmanEvents[plr.Name] = events | |
9645 | starmanPlayers[plr.Name] = char | |
9646 | end | |
9647 | ||
9648 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9649 | spawn(function()starman(gPlayers[plr])end) | |
9650 | end | |
9651 | end) | |
9652 | ||
9653 | addcmd("unstarman","Removes starman from [plr]",{}, | |
9654 | function(args,speaker) | |
9655 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9656 | pcall(function() | |
9657 | if starmanPlayers[plr] then starmanPlayers[plr] = nil end | |
9658 | if starmanEvents[plr] then for i,v in pairs(starmanEvents[plr]) do v:Disconnect() end starmanEvents[plr] = nil end | |
9659 | local char = gPlayers[plr].Character | |
9660 | while char.HumanoidRootPart:FindFirstChild("Starman") do | |
9661 | char.HumanoidRootPart.Starman:Destroy() | |
9662 | end | |
9663 | while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do | |
9664 | char.HumanoidRootPart.StarmanFlash:Destroy() | |
9665 | end | |
9666 | while char.HumanoidRootPart:FindFirstChild("smff") do | |
9667 | char.HumanoidRootPart.smff:Destroy() | |
9668 | end | |
9669 | end) | |
9670 | end | |
9671 | end) | |
9672 | ||
9673 | local Timers = {} | |
9674 | function checkTimer(n,t,res) | |
9675 | if not Timers[n] then Timers[n] = 0 end | |
9676 | ||
9677 | if tick() >= Timers[n] + t then | |
9678 | if res then Timers[n] = tick() end | |
9679 | return true | |
9680 | else | |
9681 | return false | |
9682 | end | |
9683 | end | |
9684 | ||
9685 | function nonEmpty(t) | |
9686 | for i,v in pairs(t) do | |
9687 | return true | |
9688 | end | |
9689 | return false | |
9690 | end | |
9691 | ||
9692 | game:GetService("RunService").RenderStepped:Connect(function() | |
9693 | if nonEmpty(starmanPlayers) then | |
9694 | if checkTimer("Starman",0.05,true) then | |
9695 | for name,plrchar in pairs(starmanPlayers) do | |
9696 | ypcall(function() | |
9697 | local colors = {"Bright red","Bright blue","Bright green","Bright yellow","Bright violet"} | |
9698 | if not gPlayers:FindFirstChild(name) then starmanPlayers[name] = nil end | |
9699 | ||
9700 | local plr = gPlayers:FindFirstChild(name) | |
9701 | ||
9702 | if plr then | |
9703 | local char = plrchar | |
9704 | local light = char.HumanoidRootPart:FindFirstChild("StarmanFlash") | |
9705 | ||
9706 | local meshMap = {} | |
9707 | ||
9708 | for i,v in pairs(char:GetChildren()) do | |
9709 | if v:IsA("CharacterMesh") then | |
9710 | if v.BodyPart.Name == "Torso" then meshMap["Torso"] = "rbxassetid://"..v.MeshId end | |
9711 | if v.BodyPart.Name == "LeftArm" then meshMap["Left Arm"] = "rbxassetid://"..v.MeshId end | |
9712 | if v.BodyPart.Name == "RightArm" then meshMap["Right Arm"] = "rbxassetid://"..v.MeshId end | |
9713 | if v.BodyPart.Name == "LeftLeg" then meshMap["Left Leg"] = "rbxassetid://"..v.MeshId end | |
9714 | if v.BodyPart.Name == "RightLeg" then meshMap["Right Leg"] = "rbxassetid://"..v.MeshId end | |
9715 | end | |
9716 | end | |
9717 | ||
9718 | if char.Head:FindFirstChild("Mesh") then meshMap["Head"] = char.Head.Mesh.MeshId end | |
9719 | ||
9720 | if not char or char.Parent == nil then starmanPlayers[plr.Name] = nil end | |
9721 | local newColor = BrickColor.new(colors[math.random(1,#colors)]) | |
9722 | while starmanLastColor == newColor do newColor = BrickColor.new(colors[math.random(1,#colors)]) end | |
9723 | starmanLastColor = newColor | |
9724 | for i,v in pairs(char:GetChildren()) do | |
9725 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
9726 | v.BrickColor = newColor | |
9727 | local fade = v:Clone() | |
9728 | if meshMap[v.Name] then | |
9729 | local newMesh = Instance.new("SpecialMesh",fade) | |
9730 | newMesh.MeshId = meshMap[v.Name] | |
9731 | end | |
9732 | fade.Name = "StarFade" | |
9733 | fade.Anchored = true | |
9734 | fade.CanCollide = false | |
9735 | 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 | |
9736 | fade.Parent = workspace.Terrain | |
9737 | game:GetService("TweenService"):Create(fade,TweenInfo.new(0.5),{Transparency = 1}):Play() | |
9738 | game:GetService("Debris"):AddItem(fade,0.5) | |
9739 | end | |
9740 | end | |
9741 | light.Color = newColor.Color | |
9742 | end | |
9743 | end) | |
9744 | end | |
9745 | end | |
9746 | end | |
9747 | end) | |
9748 | ||
9749 | addcmd("tppos","Teleports a player to a coordinate",{}, | |
9750 | function(args,speaker) | |
9751 | if #args < 4 then return end | |
9752 | local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4]) | |
9753 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9754 | local char = gPlayers[plr].Character | |
9755 | if char and char:FindFirstChild("HumanoidRootPart") then | |
9756 | char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ) | |
9757 | end | |
9758 | end | |
9759 | end) | |
9760 | ||
9761 | addcmd("offset","Offsets a player by a coordinate",{}, | |
9762 | function(args,speaker) | |
9763 | if #args < 4 then return end | |
9764 | local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4]) | |
9765 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9766 | local char = gPlayers[plr].Character | |
9767 | if char and char:FindFirstChild("HumanoidRootPart") then | |
9768 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ) | |
9769 | end | |
9770 | end | |
9771 | end) | |
9772 | ||
9773 | addcmd('bait',';)',{'troll'}, | |
9774 | function(args, speaker) | |
9775 | spawn(function() | |
9776 | local M = Instance.new('Model', workspace) M.Name = 'IYbait' | |
9777 | 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) | |
9778 | y = Instance.new("BillboardGui") | |
9779 | y.Size = UDim2.new(0,100,0,150) | |
9780 | y.StudsOffset = Vector3.new(0,1,0) | |
9781 | y.Parent = P | |
9782 | y.Adornee = P | |
9783 | f = Instance.new("TextLabel") | |
9784 | f.Parent = y | |
9785 | f.BackgroundTransparency = 1 | |
9786 | f.Position = UDim2.new(0,0,0,-50) | |
9787 | f.Size = UDim2.new(0,100,0,100) | |
9788 | f.Font = "Highway" | |
9789 | f.FontSize = "Size48" | |
9790 | f.Text = "Touch for admin!" | |
9791 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
9792 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
9793 | f.TextStrokeTransparency = 0 | |
9794 | f.TextYAlignment = "Bottom" | |
9795 | 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) | |
9796 | end) | |
9797 | end) | |
9798 | ||
9799 | addcmd('removebait','clears bait parts',{'nobait'}, | |
9800 | function(args, speaker) | |
9801 | local function dels(instance) | |
9802 | for i,v in pairs(instance:GetChildren())do | |
9803 | if v.name == "IYbait"then v:Destroy()end | |
9804 | dels(v) | |
9805 | end | |
9806 | end | |
9807 | dels(workspace) | |
9808 | end) | |
9809 | ||
9810 | function CreateInstance(cls,props) | |
9811 | local inst = Instance.new(cls) | |
9812 | for i,v in pairs(props) do | |
9813 | inst[i] = v | |
9814 | end | |
9815 | return inst end | |
9816 | local function createSoundFrame() | |
9817 | 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) | |
9818 | 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 | |
9819 | 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) | |
9820 | 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}) | |
9821 | 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}) | |
9822 | 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) | |
9823 | 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) | |
9824 | 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}) | |
9825 | 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 | |
9826 | 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 | |
9827 | 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) | |
9828 | 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}) | |
9829 | 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}) | |
9830 | 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) | |
9831 | 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}) | |
9832 | 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}) | |
9833 | 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 | |
9834 | 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) | |
9835 | return soundFrame end | |
9836 | local soundFrame = createSoundFrame() | |
9837 | soundFrame.Visible = true | |
9838 | local MusicPlayer do | |
9839 | MusicPlayer = {} | |
9840 | local playlist = {} | |
9841 | local currentSong = 1 | |
9842 | local playlistHook = nil | |
9843 | --local soundFrame = script.Parent:WaitForChild("Sound") | |
9844 | local soundLine = soundFrame:WaitForChild("Pos") | |
9845 | local soundTouch = soundLine:WaitForChild("Touch") | |
9846 | local soundPlayStop = soundFrame:WaitForChild("PlayStop") | |
9847 | local soundPause = soundFrame:WaitForChild("Pause") | |
9848 | local soundNext = soundFrame:WaitForChild("NextSong") | |
9849 | local soundPrev = soundFrame:WaitForChild("PrevSong") | |
9850 | local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev} | |
9851 | local mouseDrag = false | |
9852 | local mouse = gPlayers.LocalPlayer:GetMouse() | |
9853 | local lineBar = soundFrame:WaitForChild("Pos") | |
9854 | adminSound = Instance.new("Sound",nil) | |
9855 | local function timeConvert(num) | |
9856 | local mins = math.floor(num/60) | |
9857 | local secs = math.floor(num % 60) | |
9858 | return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs) | |
9859 | end | |
9860 | local function updateSongLine() | |
9861 | local linePos = mouse.X - soundLine.AbsolutePosition.X | |
9862 | if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then | |
9863 | local movePos = linePos/soundLine.AbsoluteSize.X | |
9864 | soundTouch.Position = UDim2.new(movePos,0,0,0) | |
9865 | elseif linePos < 0 then | |
9866 | soundTouch.Position = UDim2.new(0,0,0,0) | |
9867 | else | |
9868 | soundTouch.Position = UDim2.new(1,0,0,0) | |
9869 | end | |
9870 | local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength | |
9871 | adminSound.TimePosition = newTimePos | |
9872 | soundFrame.TimeStart.Text = timeConvert(newTimePos) | |
9873 | soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength) | |
9874 | end | |
9875 | local function updateDetails(id) | |
9876 | local info = game:GetService("MarketplaceService"):GetProductInfo(id) | |
9877 | soundFrame.SName.Text = info.Name | |
9878 | end | |
9879 | local function setPlaylistHook() | |
9880 | if playlistHook then playlistHook:Disconnect() playlistHook = nil end | |
9881 | if #playlist == 0 then return end | |
9882 | playlistHook = adminSound.DidLoop:connect(function() | |
9883 | if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end | |
9884 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
9885 | MusicPlayer:Play(playlist[currentSong],true) | |
9886 | end) | |
9887 | end | |
9888 | local function disconnectPlaylistHook() | |
9889 | if playlistHook then playlistHook:disconnect() playlistHook = nil end | |
9890 | end | |
9891 | game:GetService("RunService").RenderStepped:Connect(function() | |
9892 | if adminSound.Playing then | |
9893 | soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0) | |
9894 | soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition) | |
9895 | soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength) | |
9896 | end | |
9897 | end) | |
9898 | lineBar.InputBegan:connect(function(input) | |
9899 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
9900 | mouseDrag = true | |
9901 | updateSongLine() | |
9902 | end | |
9903 | end) | |
9904 | lineBar.InputEnded:connect(function(input) | |
9905 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
9906 | mouseDrag = false | |
9907 | end | |
9908 | end) | |
9909 | mouse.Move:connect(function(prop) | |
9910 | if mouseDrag then | |
9911 | updateSongLine() | |
9912 | end | |
9913 | end) | |
9914 | function MusicPlayer:Play(id,plist) | |
9915 | if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end | |
9916 | adminSound:Stop() | |
9917 | if adminSound.Parent == nil then | |
9918 | adminSound = Instance.new("Sound",workspace) | |
9919 | adminSound.Name = "IYsound" | |
9920 | adminSound.Looped = true | |
9921 | if plist then setPlaylistHook() end | |
9922 | end | |
9923 | adminSound.SoundId = "rbxassetid://"..tostring(id) | |
9924 | adminSound.TimePosition = 0 | |
9925 | --repeat wait() until adminSound.IsLoaded | |
9926 | adminSound:Play() | |
9927 | soundPlayStop.BackgroundTransparency = 0 | |
9928 | soundPlayStop.ImageTransparency = 1 | |
9929 | updateDetails(id) | |
9930 | end | |
9931 | function MusicPlayer:Playlist(list) | |
9932 | playlist = list | |
9933 | soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true | |
9934 | currentSong = 1 | |
9935 | if adminSound.Parent == nil then | |
9936 | adminSound = Instance.new("Sound",workspace) | |
9937 | adminSound.Name = "IYsound" | |
9938 | adminSound.Looped = true | |
9939 | end | |
9940 | soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist) | |
9941 | MusicPlayer:Play(playlist[1],true) | |
9942 | setPlaylistHook() | |
9943 | end | |
9944 | function MusicPlayer:Stop() | |
9945 | adminSound:Stop() | |
9946 | adminSound.TimePosition = 0 | |
9947 | soundTouch.Position = UDim2.new(0,0,0,0) | |
9948 | soundFrame.TimeStart.Text = "0:00" | |
9949 | soundPlayStop.BackgroundTransparency = 1 | |
9950 | soundPlayStop.ImageTransparency = 0 | |
9951 | end | |
9952 | function MusicPlayer:Pause() | |
9953 | adminSound:Pause() | |
9954 | soundPlayStop.BackgroundTransparency = 1 | |
9955 | soundPlayStop.ImageTransparency = 0 | |
9956 | end | |
9957 | function MusicPlayer:Resume() | |
9958 | adminSound:Resume() | |
9959 | soundPlayStop.BackgroundTransparency = 0 | |
9960 | soundPlayStop.ImageTransparency = 1 | |
9961 | setPlaylistHook() | |
9962 | end | |
9963 | function MusicPlayer:NextSong() | |
9964 | if #playlist == 0 then return end | |
9965 | if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end | |
9966 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
9967 | MusicPlayer:Play(playlist[currentSong],true) | |
9968 | end | |
9969 | function MusicPlayer:PrevSong() | |
9970 | if #playlist == 0 then return end | |
9971 | if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end | |
9972 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
9973 | MusicPlayer:Play(playlist[currentSong],true) | |
9974 | end | |
9975 | function MusicPlayer:SetSong(ind) | |
9976 | if ind > #playlist or ind <= 0 then return end | |
9977 | soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist) | |
9978 | MusicPlayer:Play(playlist[ind],true) | |
9979 | end | |
9980 | playerenabled = false | |
9981 | function MusicPlayer:Show() | |
9982 | soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
9983 | end | |
9984 | function MusicPlayer:Hide() | |
9985 | soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
9986 | end | |
9987 | function colorFrames(obj,col) | |
9988 | for i,v in pairs(obj:GetChildren()) do | |
9989 | if v:IsA("ImageLabel") then | |
9990 | v.ImageColor3 = col | |
9991 | end | |
9992 | v.BackgroundColor3 = col | |
9993 | end | |
9994 | end | |
9995 | for i,v in pairs(soundButtons) do | |
9996 | v.MouseEnter:connect(function() | |
9997 | if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end | |
9998 | if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end | |
9999 | v.BackgroundColor3 = Color3.new(1,1,1) | |
10000 | colorFrames(v,Color3.new(1,1,1)) | |
10001 | end) | |
10002 | v.MouseLeave:connect(function() | |
10003 | if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end | |
10004 | if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end | |
10005 | v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255) | |
10006 | colorFrames(v,Color3.new(230/255, 230/255, 230/255)) | |
10007 | end) | |
10008 | end | |
10009 | soundPlayStop.MouseButton1Click:connect(function() | |
10010 | if adminSound.Playing then | |
10011 | MusicPlayer:Stop() | |
10012 | else | |
10013 | MusicPlayer:Resume() | |
10014 | end | |
10015 | end) | |
10016 | soundPause.MouseButton1Click:connect(function() | |
10017 | MusicPlayer:Pause() | |
10018 | end) | |
10019 | soundNext.MouseButton1Click:connect(MusicPlayer.NextSong) | |
10020 | soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong) | |
10021 | end | |
10022 | local testgui = Instance.new("ScreenGui",game.CoreGui) | |
10023 | soundFrame.Parent = testgui | |
10024 | addcmd('playlist','makes a noice playlist',{'ids','player'}, | |
10025 | function(args, speaker) | |
10026 | playerenabled = true | |
10027 | if #args > 0 then | |
10028 | for i,v in pairs(game:GetDescendants()) do | |
10029 | if v:IsA'Sound'then v:Destroy() end end wait(0.1) | |
10030 | if adminSound.Parent == nil then | |
10031 | adminSound = Instance.new("Sound",workspace) | |
10032 | adminSound.Name = "IYsound" | |
10033 | adminSound.Looped = true | |
10034 | end | |
10035 | local idlist = splitString(args[1]) | |
10036 | local workingIds = {} | |
10037 | for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end | |
10038 | if #workingIds > 0 then | |
10039 | playerenabled = true | |
10040 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
10041 | MusicPlayer:Playlist(workingIds) | |
10042 | 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) | |
10043 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10044 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10045 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10046 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end | |
10047 | 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) | |
10048 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10049 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) playerenabled = true | |
10050 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10051 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end end) | |
10052 | addcmd('setsong','goto a song',{'tosong'}, | |
10053 | function(args, speaker) | |
10054 | MusicPlayer:SetSong(tonumber(args[1])) | |
10055 | end) | |
10056 | addcmd('nextsong','forward a song',{'nxtsong'}, | |
10057 | function(args, speaker) | |
10058 | MusicPlayer:NextSong() | |
10059 | end) | |
10060 | addcmd('prevsong','back a song',{'previoussong'}, | |
10061 | function(args, speaker) | |
10062 | MusicPlayer:PrevSong() | |
10063 | end) | |
10064 | addcmd('hideplaylist','back a song',{'unplayer','noplayer','hideplayer'}, | |
10065 | function(args, speaker) | |
10066 | playerenabled = false | |
10067 | MusicPlayer:Hide() | |
10068 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
10069 | end) | |
10070 | ||
10071 | addcmd('playhash', 'plays a hash instead of soundid',{'hash'}, | |
10072 | function(args, speaker) | |
10073 | for i,v in pairs(game:GetDescendants()) do | |
10074 | if v:IsA'Sound'then v:Destroy() end end | |
10075 | local c = args[1] or 'stop' | |
10076 | if std.inTable({'stop'}, c:lower()) then return end | |
10077 | local s = Instance.new("Sound", workspace) | |
10078 | s.Name = "IYsound" | |
10079 | s.Looped = true | |
10080 | s.SoundId = c | |
10081 | s.Volume = 1 | |
10082 | s:Play() | |
10083 | playerenabled = false | |
10084 | Notify('Playing hash') | |
10085 | end) | |
10086 | ||
10087 | addcmd('disco','disco party',{''}, | |
10088 | function(args, speaker) | |
10089 | _G.nodisco = nil | |
10090 | coroutine.resume(coroutine.create(function() | |
10091 | repeat | |
10092 | game:GetService('Lighting').GlobalShadows = true | |
10093 | game:GetService('Lighting').FogEnd = 200 | |
10094 | game:GetService('Lighting').TimeOfDay = 0 | |
10095 | local r = 255 | |
10096 | local g = 0 | |
10097 | local b = 0 | |
10098 | for i = 0,255,5 do | |
10099 | if _G.nodisco ~=nil then return end | |
10100 | r = r - 5 | |
10101 | b = b + 5 | |
10102 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10103 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10104 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10105 | wait() | |
10106 | end | |
10107 | for i = 0,255,5 do | |
10108 | if _G.nodisco ~=nil then return end | |
10109 | g = g + 5 | |
10110 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10111 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10112 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10113 | wait() | |
10114 | end | |
10115 | for i = 0,255,5 do | |
10116 | if _G.nodisco ~=nil then return end | |
10117 | b = b - 5 | |
10118 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10119 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10120 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10121 | wait() | |
10122 | end | |
10123 | for i = 0,255,5 do | |
10124 | if _G.nodisco ~=nil then return end | |
10125 | r = r + 5 | |
10126 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10127 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10128 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10129 | wait() | |
10130 | end | |
10131 | for i = 0,255,5 do | |
10132 | if _G.nodisco ~=nil then return end | |
10133 | g = g - 5 | |
10134 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10135 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10136 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10137 | wait() | |
10138 | end | |
10139 | until _G.nodisco | |
10140 | end)) | |
10141 | end) | |
10142 | ||
10143 | addcmd('undisco','rip disco party',{''}, | |
10144 | function(args, speaker) | |
10145 | _G.nodisco = true | |
10146 | execCmd('fixl') | |
10147 | end) | |
10148 | ||
10149 | addcmd('hat','give a hat to a player',{''}, | |
10150 | function(args, speaker) | |
10151 | local players = getPlayer(args[1], speaker) | |
10152 | for i,v in pairs(players)do | |
10153 | local char = gPlayers[v].Character | |
10154 | local Hat = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. args[2]) | |
10155 | Hat.Parent = char | |
10156 | end end) | |
10157 | ||
10158 | fm = Instance.new('BlockMesh', DATA) | |
10159 | fm.Scale = Vector3.new(1, 1, 2) | |
10160 | fm.Name = "FAT" | |
10161 | addcmd('fat','makes a plr fat',{''}, | |
10162 | function(args, speaker) | |
10163 | local players = getPlayer(args[1], speaker) | |
10164 | for i,v in pairs(players)do | |
10165 | local char = gPlayers[v].Character | |
10166 | for _, child in pairs( char:GetChildren()) do | |
10167 | if child.ClassName == "CharacterMesh" then | |
10168 | child:Destroy() end end | |
10169 | for i,v in pairs(char:GetChildren()) do | |
10170 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
10171 | fm:Clone().Parent = v | |
10172 | end end end end) | |
10173 | ||
10174 | addcmd('crucify','crucifies a player',{'cruci'}, | |
10175 | function(args, speaker) | |
10176 | local players = getPlayer(args[1], speaker) | |
10177 | for i,v in pairs(players)do | |
10178 | local char = gPlayers[v].Character | |
10179 | local torso=char['Torso'] | |
10180 | local larm=char['Left Arm'] | |
10181 | local rarm=char['Right Arm'] | |
10182 | local lleg=char['Left Leg'] | |
10183 | local rleg=char['Right Leg'] | |
10184 | local head=char['Head'] | |
10185 | if torso and larm and rarm and lleg and rleg and head and not char:FindFirstChild(char.Name..'epixcrusify') then | |
10186 | local cru=Instance.new('Model',char) | |
10187 | cru.Name=char.Name..'epixcrusify' -- Leave it like that so it bypasses epixcommands ;) | |
10188 | local c1=Instance.new('Part',cru) | |
10189 | c1.BrickColor=BrickColor.new('Reddish brown') | |
10190 | c1.Material='Wood' | |
10191 | c1.CFrame=(char.Torso.CFrame-char.Torso.CFrame.lookVector)*CFrame.new(0,0,2) | |
10192 | c1.Size=Vector3.new(2,18.4,1) | |
10193 | c1.Anchored=true | |
10194 | local c2=c1:Clone() | |
10195 | c2.Parent=cru | |
10196 | c2.Size=Vector3.new(11,1.6,1) | |
10197 | c2.CFrame=c1.CFrame+Vector3.new(0,5,0) | |
10198 | torso.Anchored=true;wait(0.5) | |
10199 | torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0);wait(0.5) | |
10200 | larm.Anchored=true | |
10201 | rarm.Anchored=true | |
10202 | lleg.Anchored=true | |
10203 | rleg.Anchored=true | |
10204 | head.Anchored=true;wait() | |
10205 | larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0) | |
10206 | rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0) | |
10207 | lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0) | |
10208 | rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0) | |
10209 | larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140) | |
10210 | rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140) | |
10211 | lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6) | |
10212 | rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6) | |
10213 | --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3) | |
10214 | local n1=Instance.new('Part',cru) | |
10215 | n1.BrickColor=BrickColor.new('Dark stone grey') | |
10216 | n1.Material='DiamondPlate' | |
10217 | n1.Size=Vector3.new(0.2,0.2,2) | |
10218 | n1.Anchored=true | |
10219 | local m=Instance.new('BlockMesh',n1) | |
10220 | m.Scale=Vector3.new(0.2,0.2,0.7) | |
10221 | local n2=n1:Clone() | |
10222 | n2.Parent=cru | |
10223 | local n3=n1:Clone() | |
10224 | n3.Parent=cru | |
10225 | n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0) | |
10226 | n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0) | |
10227 | n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0) | |
10228 | spawn(function() | |
10229 | repeat | |
10230 | wait(0.1) | |
10231 | char.Humanoid.Health=char.Humanoid.Health-0.6 | |
10232 | until (not cru) or (not cru.Parent) or (not v) or (not char) or (not char:FindFirstChild('Head')) or char.Humanoid.Health<=0 | |
10233 | char:BreakJoints() | |
10234 | end) | |
10235 | end | |
10236 | end | |
10237 | end) | |
10238 | ||
10239 | addcmd('hang','hangs a player',{}, | |
10240 | function(args, speaker) | |
10241 | local players = getPlayer(args[1], speaker) | |
10242 | for i,v in pairs(players)do | |
10243 | local plr = gPlayers[v].Character | |
10244 | plr.HumanoidRootPart.Anchored = true | |
10245 | function sandbox(var,func) | |
10246 | local env = getfenv(func) | |
10247 | local newenv = setmetatable({},{ | |
10248 | __index = function(self,k) | |
10249 | if k=="script" then | |
10250 | return var | |
10251 | else | |
10252 | return env[k] | |
10253 | end | |
10254 | end, | |
10255 | }) | |
10256 | setfenv(func,newenv) | |
10257 | return func | |
10258 | end | |
10259 | cors = {} | |
10260 | mas = Instance.new("Model",game:GetService("Lighting")) | |
10261 | local Model0 = Instance.new("Model") | |
10262 | local Part1 = Instance.new("Part") | |
10263 | local Part2 = Instance.new("Part") | |
10264 | local Part3 = Instance.new("Part") | |
10265 | local Part4 = Instance.new("Part") | |
10266 | local Part5 = Instance.new("Part") | |
10267 | local Motor6D6 = Instance.new("Motor6D") | |
10268 | local Part7 = Instance.new("Part") | |
10269 | local Part8 = Instance.new("Part") | |
10270 | local Part9 = Instance.new("Part") | |
10271 | local Part10 = Instance.new("Part") | |
10272 | local Part11 = Instance.new("Part") | |
10273 | local Part12 = Instance.new("Part") | |
10274 | local Part13 = Instance.new("Part") | |
10275 | local Part14 = Instance.new("Part") | |
10276 | local Part15 = Instance.new("Part") | |
10277 | Model0.Name = "hang" | |
10278 | Model0.Parent = mas | |
10279 | Part1.Parent = Model0 | |
10280 | Part1.Material = Enum.Material.SmoothPlastic | |
10281 | Part1.BrickColor = BrickColor.new("Reddish brown") | |
10282 | Part1.Anchored = true | |
10283 | Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024) | |
10284 | Part1.CFrame = CFrame.new(1.539994, 9.29992199, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10285 | Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10286 | Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10287 | Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10288 | Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10289 | Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10290 | Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10291 | Part1.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10292 | Part1.Position = Vector3.new(1.539994, 9.29992199, 12.6999884) | |
10293 | Part1.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10294 | Part2.Parent = Model0 | |
10295 | Part2.Material = Enum.Material.Wood | |
10296 | Part2.BrickColor = BrickColor.new("Pine Cone") | |
10297 | Part2.Anchored = true | |
10298 | Part2.Size = Vector3.new(0.49999997, 0.200000003, 0.200000003) | |
10299 | Part2.CFrame = CFrame.new(1.44999003, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10300 | Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10301 | Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10302 | Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10303 | Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10304 | Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10305 | Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10306 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10307 | Part2.Position = Vector3.new(1.44999003, 9.09992599, 12.6999884) | |
10308 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10309 | Part3.Parent = Model0 | |
10310 | Part3.Material = Enum.Material.Wood | |
10311 | Part3.BrickColor = BrickColor.new("Pine Cone") | |
10312 | Part3.Anchored = true | |
10313 | Part3.Size = Vector3.new(1, 9.39999962, 0.599999964) | |
10314 | Part3.CFrame = CFrame.new(-0.100001998, 4.70001078, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10315 | Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10316 | Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10317 | Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10318 | Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10319 | Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10320 | Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10321 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10322 | Part3.Position = Vector3.new(-0.100001998, 4.70001078, 12.6999884) | |
10323 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10324 | Part4.Parent = Model0 | |
10325 | Part4.Material = Enum.Material.Wood | |
10326 | Part4.BrickColor = BrickColor.new("Pine Cone") | |
10327 | Part4.Anchored = true | |
10328 | Part4.Size = Vector3.new(1, 0.599999845, 0.599999964) | |
10329 | Part4.CFrame = CFrame.new(0.899998009, 9.09995365, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10330 | Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10331 | Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10332 | Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10333 | Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10334 | Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10335 | Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10336 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10337 | Part4.Position = Vector3.new(0.899998009, 9.09995365, 12.6999884) | |
10338 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10339 | Part5.Name = "main" | |
10340 | Part5.Parent = Model0 | |
10341 | Part5.BrickColor = BrickColor.new("Bright blue") | |
10342 | Part5.Transparency = 1 | |
10343 | Part5.Rotation = Vector3.new(0, -90, 0) | |
10344 | Part5.Anchored = true | |
10345 | Part5.CanCollide = false | |
10346 | Part5.FormFactor = Enum.FormFactor.Symmetric | |
10347 | Part5.Size = Vector3.new(2, 2, 1) | |
10348 | Part5.CFrame = CFrame.new(1.98998594, 6.33001804, 12.7000237, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10349 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
10350 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
10351 | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
10352 | Part5.Position = Vector3.new(1.98998594, 6.33001804, 12.7000237) | |
10353 | Part5.Orientation = Vector3.new(0, -90, 0) | |
10354 | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
10355 | Motor6D6.Name = "RootJoint" | |
10356 | Motor6D6.Parent = Part5 | |
10357 | Motor6D6.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
10358 | Motor6D6.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
10359 | Motor6D6.Part0 = Part5 | |
10360 | Motor6D6.MaxVelocity = 0.10000000149012 | |
10361 | Part7.Parent = Model0 | |
10362 | Part7.Material = Enum.Material.SmoothPlastic | |
10363 | Part7.BrickColor = BrickColor.new("Reddish brown") | |
10364 | Part7.Rotation = Vector3.new(90, 75, -180) | |
10365 | Part7.Anchored = true | |
10366 | Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
10367 | Part7.CFrame = CFrame.new(2.02295995, 7.37058878, 12.1000061, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10368 | Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10369 | Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10370 | Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10371 | Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10372 | Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10373 | Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10374 | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10375 | Part7.Position = Vector3.new(2.02295995, 7.37058878, 12.1000061) | |
10376 | Part7.Orientation = Vector3.new(15, 90, -90) | |
10377 | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10378 | Part8.Parent = Model0 | |
10379 | Part8.Material = Enum.Material.Wood | |
10380 | Part8.BrickColor = BrickColor.new("Pine Cone") | |
10381 | Part8.Anchored = true | |
10382 | Part8.Size = Vector3.new(0.200000003, 0.599999785, 0.599999964) | |
10383 | Part8.CFrame = CFrame.new(1.77999604, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10384 | Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10385 | Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10386 | Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10387 | Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10388 | Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10389 | Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10390 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10391 | Part8.Position = Vector3.new(1.77999604, 9.09992599, 12.6999884) | |
10392 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10393 | Part9.Parent = Model0 | |
10394 | Part9.Material = Enum.Material.SmoothPlastic | |
10395 | Part9.BrickColor = BrickColor.new("Reddish brown") | |
10396 | Part9.Rotation = Vector3.new(90, 75, -180) | |
10397 | Part9.Anchored = true | |
10398 | Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
10399 | Part9.CFrame = CFrame.new(2.02295995, 7.37058878, 13.299984, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10400 | Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10401 | Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10402 | Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10403 | Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10404 | Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10405 | Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10406 | Part9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10407 | Part9.Position = Vector3.new(2.02295995, 7.37058878, 13.299984) | |
10408 | Part9.Orientation = Vector3.new(15, 90, -90) | |
10409 | Part9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10410 | Part10.Parent = Model0 | |
10411 | Part10.Material = Enum.Material.SmoothPlastic | |
10412 | Part10.BrickColor = BrickColor.new("Reddish brown") | |
10413 | Part10.Anchored = true | |
10414 | Part10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
10415 | Part10.CFrame = CFrame.new(1.539994, 9.09992599, 12.8999901, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10416 | Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10417 | Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10418 | Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10419 | Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10420 | Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10421 | Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10422 | Part10.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10423 | Part10.Position = Vector3.new(1.539994, 9.09992599, 12.8999901) | |
10424 | Part10.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10425 | Part11.Parent = Model0 | |
10426 | Part11.Material = Enum.Material.SmoothPlastic | |
10427 | Part11.BrickColor = BrickColor.new("Reddish brown") | |
10428 | Part11.Anchored = true | |
10429 | Part11.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10430 | Part11.CFrame = CFrame.new(1.539994, 8.09998417, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10431 | Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10432 | Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10433 | Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10434 | Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10435 | Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10436 | Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10437 | Part11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10438 | Part11.Position = Vector3.new(1.539994, 8.09998417, 12.6999884) | |
10439 | Part11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10440 | Part12.Parent = Model0 | |
10441 | Part12.Material = Enum.Material.SmoothPlastic | |
10442 | Part12.BrickColor = BrickColor.new("Reddish brown") | |
10443 | Part12.Rotation = Vector3.new(90, 75, -180) | |
10444 | Part12.Anchored = true | |
10445 | Part12.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10446 | Part12.CFrame = CFrame.new(2.50592208, 7.24118423, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10447 | Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10448 | Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10449 | Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10450 | Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10451 | Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10452 | Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10453 | Part12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10454 | Part12.Position = Vector3.new(2.50592208, 7.24118423, 12.6999884) | |
10455 | Part12.Orientation = Vector3.new(15, 90, -90) | |
10456 | Part12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10457 | Part13.Parent = Model0 | |
10458 | Part13.Material = Enum.Material.SmoothPlastic | |
10459 | Part13.BrickColor = BrickColor.new("Reddish brown") | |
10460 | Part13.Anchored = true | |
10461 | Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
10462 | Part13.CFrame = CFrame.new(1.539994, 9.09992599, 12.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10463 | Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10464 | Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10465 | Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10466 | Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10467 | Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10468 | Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10469 | Part13.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10470 | Part13.Position = Vector3.new(1.539994, 9.09992599, 12.4999962) | |
10471 | Part13.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10472 | Part14.Parent = Model0 | |
10473 | Part14.Material = Enum.Material.SmoothPlastic | |
10474 | Part14.BrickColor = BrickColor.new("Reddish brown") | |
10475 | Part14.Rotation = Vector3.new(90, 75, -180) | |
10476 | Part14.Anchored = true | |
10477 | Part14.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10478 | Part14.CFrame = CFrame.new(1.539994, 7.49999714, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10479 | Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10480 | Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10481 | Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10482 | Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10483 | Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10484 | Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10485 | Part14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10486 | Part14.Position = Vector3.new(1.539994, 7.49999714, 12.6999884) | |
10487 | Part14.Orientation = Vector3.new(15, 90, -90) | |
10488 | Part14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10489 | Part15.Parent = Model0 | |
10490 | Part15.Material = Enum.Material.SmoothPlastic | |
10491 | Part15.BrickColor = BrickColor.new("Reddish brown") | |
10492 | Part15.Anchored = true | |
10493 | Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024) | |
10494 | Part15.CFrame = CFrame.new(1.539994, 8.89993, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10495 | Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10496 | Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10497 | Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10498 | Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10499 | Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10500 | Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10501 | Part15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10502 | Part15.Position = Vector3.new(1.539994, 8.89993, 12.6999884) | |
10503 | Part15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10504 | for i,v in pairs(mas:GetChildren()) do | |
10505 | v.Parent = workspace | |
10506 | pcall(function() v:MakeJoints() end) | |
10507 | end | |
10508 | mas:Destroy() | |
10509 | for i,v in pairs(cors) do | |
10510 | spawn(function() | |
10511 | pcall(v) | |
10512 | end) | |
10513 | end | |
10514 | hang = Model0 | |
10515 | hang.Parent = plr | |
10516 | hang:MoveTo(plr.Torso.Position-Vector3.new(0,0,5)) | |
10517 | pcall(function() | |
10518 | plr.HumanoidRootPart.CFrame = hang.main.CFrame | |
10519 | function weld(p, cf) | |
10520 | local weld1 = Instance.new("Weld") | |
10521 | weld1.Part0 = p | |
10522 | weld1.Part1 = plr.Torso | |
10523 | weld1.C0 = CFrame.new() | |
10524 | weld1.C1 = cf | |
10525 | weld1.Parent = p | |
10526 | end | |
10527 | weld(plr["Right Arm"], CFrame.new(0.8,0.3,-0.6) * CFrame.Angles(0, 0.5, 4)) | |
10528 | weld(plr["Left Arm"], CFrame.new(-0.8,0.3,-0.6) * CFrame.Angles(0, -0.5, -4)) | |
10529 | spawn(function() | |
10530 | repeat | |
10531 | wait(0.1) | |
10532 | plr.Humanoid.Health=plr.Humanoid.Health-0.6 | |
10533 | until (not hang) or (not hang.Parent) or (not v) or (not plr) or (not plr:FindFirstChild('Head')) or plr.Humanoid.Health<=0 | |
10534 | plr:BreakJoints() | |
10535 | end) | |
10536 | end) | |
10537 | end | |
10538 | end) | |
10539 | ||
10540 | addcmd('fix', 'restores lighting and what not',{}, | |
10541 | function(args, speaker) | |
10542 | LightingService.Ambient = origsettings.abt | |
10543 | LightingService.OutdoorAmbient = origsettings.oabt | |
10544 | LightingService.Brightness = origsettings.brt | |
10545 | LightingService.TimeOfDay = origsettings.time | |
10546 | LightingService.FogColor = origsettings.fclr | |
10547 | LightingService.FogEnd = origsettings.fe | |
10548 | LightingService.FogStart = origsettings.fs | |
10549 | playinggif = false | |
10550 | workspace.Gravity = 200 | |
10551 | 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) | |
10552 | for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end | |
10553 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
10554 | if v:IsA("PostEffect") then v:Destroy() end end | |
10555 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() Notify('Reset') end end) | |
10556 | ||
10557 | Floating = false | |
10558 | ||
10559 | addcmd('float', 'makes player float',{}, | |
10560 | function(args,speaker) | |
10561 | Floating = true | |
10562 | local players = getPlayer(args[1], speaker) | |
10563 | for _,v in pairs(players) do | |
10564 | local pchar = gPlayers[v].Character | |
10565 | if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then | |
10566 | spawn(function() | |
10567 | local float = DATA.Float:Clone() | |
10568 | float.Parent = pchar | |
10569 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
10570 | spawn(function() | |
10571 | while wait(0.1) do | |
10572 | if pchar:FindFirstChild("Float") then | |
10573 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
10574 | else | |
10575 | break | |
10576 | end | |
10577 | end | |
10578 | end) | |
10579 | end) | |
10580 | end | |
10581 | end | |
10582 | end) | |
10583 | ||
10584 | addcmd('unfloat','disables floating',{}, | |
10585 | function(args, speaker) | |
10586 | Floating = false | |
10587 | local players = getPlayer(args[1], speaker) | |
10588 | for i,v in pairs(players)do | |
10589 | local pchar = gPlayers[v].Character | |
10590 | if pchar:FindFirstChild("Float") then | |
10591 | pchar.Float:Destroy() | |
10592 | end | |
10593 | end | |
10594 | end) | |
10595 | ||
10596 | runningnoclip = false | |
10597 | Clip = true | |
10598 | addcmd('noclip','noclip',{}, | |
10599 | function(args, speaker) | |
10600 | if speaker.userId ~= LP.userId then | |
10601 | lponly(speaker) | |
10602 | else | |
10603 | Notify('Noclip enabled') | |
10604 | Clip = false | |
10605 | if LP.Character:FindFirstChild('Torso') then | |
10606 | wait(0.1) | |
10607 | if runningnoclip == false then runningnoclip = true | |
10608 | game:GetService('RunService').Stepped:connect(function () | |
10609 | if Clip == false and LP.Character ~= nil then | |
10610 | for _, child in pairs( LP.Character:GetDescendants()) do | |
10611 | if child.ClassName == 'Part' and child.CanCollide == true then | |
10612 | child.CanCollide = false | |
10613 | end end end end) end | |
10614 | else | |
10615 | r15noclip = true | |
10616 | end | |
10617 | end | |
10618 | end) | |
10619 | ||
10620 | addcmd('clip','clip',{}, | |
10621 | function(args, speaker) | |
10622 | if speaker.userId ~= LP.userId then | |
10623 | lponly(speaker) | |
10624 | else | |
10625 | Notify('Noclip disabled') | |
10626 | Clip = true | |
10627 | r15noclip = false | |
10628 | wait(0.1) | |
10629 | if LP.Character ~= nil then | |
10630 | LP.Character.Torso.CanCollide = true | |
10631 | LP.Character.Head.CanCollide = true | |
10632 | end end end) | |
10633 | ||
10634 | addcmd('prefix','changes prefix',{}, | |
10635 | function(args, speaker) | |
10636 | cmdprefix = args[1] | |
10637 | Notify('Set prefix to "' .. args[1] .. '"') | |
10638 | updatefile() | |
10639 | end) | |
10640 | ||
10641 | logsopen = false | |
10642 | addcmd('logs','shows logs',{}, | |
10643 | function(args, speaker) | |
10644 | if speaker.userId ~= LP.userId then | |
10645 | lponly(speaker) else | |
10646 | if logsopen == false then logsopen = true | |
10647 | logdrag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
10648 | end | |
10649 | end | |
10650 | end) | |
10651 | ||
10652 | local Saved = {} | |
10653 | ||
10654 | RestorePoint = function() | |
10655 | Saved = {} | |
10656 | for i, v in pairs(game:GetService("Workspace"):GetDescendants()) do | |
10657 | v.Archivable = true; | |
10658 | end | |
10659 | for i, v in pairs(game:GetService("Workspace"):GetChildren()) do | |
10660 | if not v:IsA("Terrain") and not v:IsA("Camera") then | |
10661 | if not game:GetService("Players"):FindFirstChild(v.Name) then | |
10662 | table.insert(Saved, v:Clone()); | |
10663 | end | |
10664 | elseif v:IsA("Terrain") then | |
10665 | Saved.Terrain = game:GetService("Workspace").Terrain:CopyRegion(game:GetService("Workspace").Terrain.MaxExtents); | |
10666 | end | |
10667 | end | |
10668 | return Saved; | |
10669 | end | |
10670 | ||
10671 | InsertPoint = function() | |
10672 | if #Saved == 0 and not Saved.Terrain then | |
10673 | return false; | |
10674 | end | |
10675 | for i, v in pairs(game:GetService("Workspace"):GetChildren()) do | |
10676 | if not v:IsA("Camera") and not v:IsA("Terrain") then | |
10677 | if not game:GetService("Players"):FindFirstChild(v.Name) then | |
10678 | pcall(function() | |
10679 | v:Destroy() | |
10680 | end) | |
10681 | end | |
10682 | elseif v:IsA("Terrain") then | |
10683 | v:Clear() | |
10684 | end | |
10685 | end | |
10686 | for i, v in ipairs(Saved) do | |
10687 | v:Clone().Parent = workspace; | |
10688 | end | |
10689 | game:GetService("Workspace").Terrain:PasteRegion(Saved.Terrain, game:GetService("Workspace").Terrain.MaxExtents.Min, true); | |
10690 | end | |
10691 | ||
10692 | addcmd('savemap','saves current map',{'smap'}, | |
10693 | function(args, speaker) | |
10694 | RestorePoint() | |
10695 | Notify('Saved current map') | |
10696 | end) | |
10697 | ||
10698 | addcmd('restoremap','saves current map',{'rmap'}, | |
10699 | function(args, speaker) | |
10700 | InsertPoint() | |
10701 | Notify('Loaded last saved map') | |
10702 | end) | |
10703 | ||
10704 | addcmd('respawn','respawns',{}, | |
10705 | function(args, speaker) | |
10706 | local players = getPlayer(args[1], speaker) | |
10707 | for i,v in pairs(players) do | |
10708 | respawn(gPlayers[v]) | |
10709 | end | |
10710 | end) | |
10711 | ||
10712 | addcmd('version','shows version',{''}, | |
10713 | function(args, speaker) | |
10714 | if speaker.userId ~= LP.userId then | |
10715 | lponly(speaker) | |
10716 | else | |
10717 | Notify("Version is " .. Version) | |
10718 | end | |
10719 | end) | |
10720 | local CTPenabled = false | |
10721 | Mouse.KeyDown:connect(function (Key) | |
10722 | if Key:byte() == 29 then | |
10723 | if FLYING == false then | |
10724 | execCmd("fly me", Player) | |
10725 | elseif FLYING == true then | |
10726 | execCmd("unfly me", Player) | |
10727 | end | |
10728 | end | |
10729 | if Key:byte() == 30 then | |
10730 | if Clip == true then | |
10731 | execCmd("noclip", Player) | |
10732 | elseif Clip == false then | |
10733 | execCmd("clip", Player) | |
10734 | end | |
10735 | end | |
10736 | Key = Key:lower() | |
10737 | if Key:byte() == 27 then | |
10738 | CTPenabled = true | |
10739 | end | |
10740 | end) | |
10741 | Mouse.KeyUp:connect(function(Key) | |
10742 | Key = Key:lower() | |
10743 | if Key:byte() == 27 then | |
10744 | CTPenabled = false | |
10745 | end | |
10746 | end) | |
10747 | Mouse.Button1Down:connect(function() | |
10748 | local charx = gPlayers.LocalPlayer.Character | |
10749 | if charx and CTPenabled == true then | |
10750 | charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0) | |
10751 | end | |
10752 | end) | |
10753 | ||
10754 | CMDbar = Instance.new('ScreenGui', game.CoreGui) | |
10755 | CMDbar.Name = 'GUI' | |
10756 | CMDbar.DisplayOrder = 2 | |
10757 | cont = Instance.new("Frame") | |
10758 | cmdBAR = Instance.new('TextBox', cont) | |
10759 | cont.Name = "cont" | |
10760 | cont.BackgroundTransparency = 1 | |
10761 | cont.Position = UDim2.new(1, -265, 0, -75) | |
10762 | cont.Size = UDim2.new(0, 270, 0, 45) | |
10763 | cont.Parent = CMDbar | |
10764 | cont.ZIndex = 5 | |
10765 | cont.Active = true | |
10766 | dragGUI(cont) | |
10767 | cmdBAR.Name = "CMDbar" | |
10768 | cmdBAR.Parent = cont | |
10769 | cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
10770 | cmdBAR.BackgroundTransparency = 0.7 | |
10771 | cmdBAR.BorderColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
10772 | cmdBAR.BorderSizePixel = 0 | |
10773 | cmdBAR.Position = UDim2.new(0, 10, 1, -35) | |
10774 | cmdBAR.Size = UDim2.new(0, 250, 0, 25) | |
10775 | cmdBAR.Font = Enum.Font.SourceSans | |
10776 | cmdBAR.FontSize = Enum.FontSize.Size18 | |
10777 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
10778 | cmdBAR.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
10779 | cmdBAR.ZIndex = 5 | |
10780 | DATA = Instance.new('Folder', game.ContextActionService) | |
10781 | DATA.Name = 'Data' | |
10782 | Paper = Instance.new('BlockMesh', DATA) | |
10783 | Paper.Name = 'Paper' | |
10784 | Paper.Scale = Vector3.new(1,1,0.1) | |
10785 | ayylmao = Instance.new('Hat', DATA) | |
10786 | ayylmao.Name = 'ayylmao' | |
10787 | ayyHandle = Instance.new('Part', ayylmao) | |
10788 | ayyHandle.Name = 'Handle' | |
10789 | ayyHandle.Size = Vector3.new(2,2.4,2) | |
10790 | ayyHandle.FormFactor = 'Plate' | |
10791 | ayyMesh = Instance.new('SpecialMesh', ayyHandle) | |
10792 | ayyMesh.Scale = Vector3.new(1,1.02,1) | |
10793 | ayyMesh.MeshType = 'FileMesh' | |
10794 | ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689' | |
10795 | ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796' | |
10796 | Float = Instance.new('Part', DATA) | |
10797 | Float.Name = 'Float' | |
10798 | Float.Transparency = 1 | |
10799 | Float.Size = Vector3.new(6,1,6) | |
10800 | Float.Anchored = true | |
10801 | function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end | |
10802 | missile = Instance.new('Part', DATA) | |
10803 | missile.Name = 'IY_missile' | |
10804 | missile.CanCollide = false | |
10805 | missile.Size = Vector3.new(2, 5, 2) | |
10806 | Instance.new('CylinderMesh', missile) | |
10807 | local F = Instance.new('Part', missile) | |
10808 | F.BrickColor = BrickColor.new('Black') | |
10809 | F.CanCollide = false | |
10810 | F.Size = Vector3.new(2, 0.2, 2) | |
10811 | Instance.new('CylinderMesh', F) | |
10812 | local fire = Instance.new('Fire', F) | |
10813 | fire.Size = "15" | |
10814 | fire.Heat = "25" | |
10815 | local head = Instance.new('Part', missile) | |
10816 | head.CanCollide = false | |
10817 | head.Shape = 'Ball' | |
10818 | head.Size = Vector3.new(2, 2, 2) | |
10819 | head.TopSurface = 'Smooth' | |
10820 | head.BottomSurface = 'Smooth' | |
10821 | local BF = Instance.new('BodyForce', missile) | |
10822 | BF.Name = 'force' | |
10823 | BF.Force = Vector3.new(0, 0, 0) | |
10824 | local W1 = Instance.new('Weld', missile) | |
10825 | W1.Part0 = missile | |
10826 | W1.Part1 = F | |
10827 | W1.C1 = CFrame.new(0, 2.6, 0) | |
10828 | local W2 = Instance.new('Weld', missile) | |
10829 | W2.Part0 = missile | |
10830 | W2.Part1 = head | |
10831 | W2.C1 = CFrame.new(0, -2.6, 0) | |
10832 | jail = Instance.new('Model', DATA) | |
10833 | jail.Name = 'JAIL' | |
10834 | local B = Instance.new('Part', jail) | |
10835 | B.Name = 'BUTTOM' | |
10836 | B.BrickColor = BrickColor.new('Black') | |
10837 | B.Transparency = 0.5 | |
10838 | B.Anchored = true | |
10839 | B.Locked = true | |
10840 | B.Size = Vector3.new(6, 1, 6) | |
10841 | B.TopSurface = 'Smooth' | |
10842 | B.BottomSurface = 'Smooth' | |
10843 | local M = Instance.new('Part', jail) | |
10844 | M.Name = 'MAIN' | |
10845 | M.BrickColor = BrickColor.new('Black') | |
10846 | M.Transparency = 1 | |
10847 | M.Anchored = true | |
10848 | M.CanCollide = false | |
10849 | M.Locked = true | |
10850 | M.Position = B.Position + Vector3.new(0, 3, 0) | |
10851 | M.Size = Vector3.new(1, 1, 1) | |
10852 | local P1 = Instance.new('Part', jail) | |
10853 | P1.BrickColor = BrickColor.new('Black') | |
10854 | P1.Transparency = 0.5 | |
10855 | P1.Position = B.Position + Vector3.new(0, 3.5, -2.5) | |
10856 | P1.Rotation = Vector3.new(0, 90, 0) | |
10857 | P1.Anchored = true | |
10858 | P1.Locked = true | |
10859 | P1.Size = Vector3.new(1, 6, 6) | |
10860 | local P2 = Instance.new('Part', jail) | |
10861 | P2.BrickColor = BrickColor.new('Black') | |
10862 | P2.Transparency = 0.5 | |
10863 | P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0) | |
10864 | P2.Rotation = Vector3.new(-180, 0, -180) | |
10865 | P2.Anchored = true | |
10866 | P2.Locked = true | |
10867 | P2.Size = Vector3.new(1, 6, 4) | |
10868 | local P3 = Instance.new('Part', jail) | |
10869 | P3.BrickColor = BrickColor.new('Black') | |
10870 | P3.Transparency = 0.5 | |
10871 | P3.Position = B.Position + Vector3.new(2.5, 3.5, 0) | |
10872 | P3.Rotation = Vector3.new(0, 0, 0) | |
10873 | P3.Anchored = true | |
10874 | P3.Locked = true | |
10875 | P3.Size = Vector3.new(1, 6, 4) | |
10876 | local P4 = Instance.new('Part', jail) | |
10877 | P4.BrickColor = BrickColor.new('Black') | |
10878 | P4.Transparency = 0.5 | |
10879 | P4.Position = B.Position + Vector3.new(0, 3.5, 2.5) | |
10880 | P4.Rotation = Vector3.new(0, 90, 0) | |
10881 | P4.Anchored = true | |
10882 | P4.Locked = true | |
10883 | P4.Size = Vector3.new(1, 6, 6) | |
10884 | local TOP = Instance.new('Part', jail) | |
10885 | TOP.BrickColor = BrickColor.new('Black') | |
10886 | TOP.Transparency = 0.5 | |
10887 | TOP.Position = B.Position + Vector3.new(0, 7, 0) | |
10888 | TOP.Rotation = Vector3.new(0, 0, 0) | |
10889 | TOP.Anchored = true | |
10890 | TOP.Locked = true | |
10891 | TOP.Size = Vector3.new(6, 1, 6) | |
10892 | TOP.TopSurface = 'Smooth' | |
10893 | TOP.BottomSurface = 'Smooth' | |
10894 | cp = Instance.new("ScreenGui") | |
10895 | local Frame = Instance.new("Frame") | |
10896 | local holder = Instance.new("Frame") | |
10897 | bar = Instance.new("Frame") | |
10898 | local cmds = Instance.new("TextButton") | |
10899 | local settings = Instance.new("TextButton") | |
10900 | local Hide = Instance.new("TextButton") | |
10901 | local Exit = Instance.new("TextButton") | |
10902 | FeedbackMain = Instance.new("Frame") | |
10903 | local Title = Instance.new("TextLabel") | |
10904 | local checkboxText = Instance.new("TextLabel") | |
10905 | local CheckBox = Instance.new("ImageButton") | |
10906 | local bindInput = Instance.new("TextButton") | |
10907 | Input = Instance.new("TextBox") | |
10908 | local preText = Instance.new("TextLabel") | |
10909 | local setpre = Instance.new("TextButton") | |
10910 | local everyone = Instance.new("TextButton") | |
10911 | local JLtext = Instance.new("TextLabel") | |
10912 | local CheckBoxJL = Instance.new("ImageButton") | |
10913 | local friends = Instance.new("TextButton") | |
10914 | local InputBox = Instance.new("TextButton") | |
10915 | Input_2 = Instance.new("TextBox") | |
10916 | local MTText = Instance.new("TextLabel") | |
10917 | local setMT = Instance.new("TextButton") | |
10918 | local CheckBoxS = Instance.new("ImageButton") | |
10919 | local slocktext = Instance.new("TextLabel") | |
10920 | local barBind = Instance.new("TextLabel") | |
10921 | local setBind = Instance.new("TextButton") | |
10922 | local MtimeInput = Instance.new("TextButton") | |
10923 | Input_3 = Instance.new("TextBox") | |
10924 | local size = Instance.new("Frame") | |
10925 | MAIN = Instance.new("Frame") | |
10926 | local Title_2 = Instance.new("TextLabel") | |
10927 | local Example = Instance.new("TextLabel") | |
10928 | local Search = Instance.new("TextBox") | |
10929 | local CMDss = Instance.new("ScrollingFrame") | |
10930 | local uicolortext = Instance.new("TextLabel") | |
10931 | local openC = Instance.new("TextButton") | |
10932 | cp.Name = "cp" | |
10933 | cp.Parent = DATA | |
10934 | Frame.Parent = cp | |
10935 | Frame.Active = true | |
10936 | Frame.BackgroundColor3 = Color3.new(1, 1, 1) | |
10937 | Frame.BackgroundTransparency = 1 | |
10938 | Frame.Position = UDim2.new(1, -300, 1, -330) | |
10939 | Frame.Size = UDim2.new(0, 300, 0, 40) | |
10940 | holder.Name = "holder" | |
10941 | holder.Parent = Frame | |
10942 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
10943 | holder.BackgroundTransparency = 1 | |
10944 | holder.BorderSizePixel = 2 | |
10945 | holder.ClipsDescendants = true | |
10946 | holder.Size = UDim2.new(0, 300, 0, 330) | |
10947 | holder.ZIndex = 2 | |
10948 | bar.Name = "bar" | |
10949 | bar.Parent = holder | |
10950 | bar.BackgroundColor3 = maincolor | |
10951 | bar.BackgroundTransparency = 0.30000001192093 | |
10952 | bar.BorderColor3 = Color3.new(0, 0, 0) | |
10953 | bar.BorderSizePixel = 0 | |
10954 | bar.Position = UDim2.new(1, -295, 1, -330) | |
10955 | bar.Size = UDim2.new(0, 290, 0, 26) | |
10956 | cmds.Name = "cmds" | |
10957 | cmds.Parent = bar | |
10958 | cmds.BackgroundColor3 = Color3.new(0, 0, 0) | |
10959 | cmds.BackgroundTransparency = 0.80000001192093 | |
10960 | cmds.BorderColor3 = Color3.new(1, 1, 1) | |
10961 | cmds.Position = UDim2.new(0, 3, 0, 3) | |
10962 | cmds.Size = UDim2.new(0, 70, 0, 20) | |
10963 | cmds.Font = Enum.Font.SourceSans | |
10964 | cmds.FontSize = Enum.FontSize.Size14 | |
10965 | cmds.Text = "Commands" | |
10966 | cmds.TextColor3 = Color3.new(1, 1, 1) | |
10967 | settings.Name = "settings" | |
10968 | settings.Parent = bar | |
10969 | settings.BackgroundColor3 = Color3.new(0, 0, 0) | |
10970 | settings.BackgroundTransparency = 0.80000001192093 | |
10971 | settings.BorderColor3 = Color3.new(1, 1, 1) | |
10972 | settings.Position = UDim2.new(0, 77, 0, 3) | |
10973 | settings.Size = UDim2.new(0, 70, 0, 20) | |
10974 | settings.Font = Enum.Font.SourceSans | |
10975 | settings.FontSize = Enum.FontSize.Size14 | |
10976 | settings.Text = "Settings" | |
10977 | settings.TextColor3 = Color3.new(1, 1, 1) | |
10978 | Hide.Name = "Hide" | |
10979 | Hide.Parent = bar | |
10980 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
10981 | Hide.BackgroundTransparency = 0.30000001192093 | |
10982 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
10983 | Hide.BorderSizePixel = 0 | |
10984 | Hide.Position = UDim2.new(0, 243, 0, 3) | |
10985 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
10986 | Hide.FontSize = Enum.FontSize.Size14 | |
10987 | Hide.Text = "" | |
10988 | Exit.Name = "Exit" | |
10989 | Exit.Parent = bar | |
10990 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
10991 | Exit.BackgroundTransparency = 0.30000001192093 | |
10992 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
10993 | Exit.BorderSizePixel = 0 | |
10994 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
10995 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
10996 | Exit.FontSize = Enum.FontSize.Size14 | |
10997 | Exit.Text = "" | |
10998 | FeedbackMain.Name = "FeedbackMain" | |
10999 | FeedbackMain.Parent = holder | |
11000 | FeedbackMain.BackgroundColor3 = maincolor | |
11001 | FeedbackMain.BackgroundTransparency = 0.5 | |
11002 | FeedbackMain.BorderColor3 = Color3.new(0, 0, 0) | |
11003 | FeedbackMain.BorderSizePixel = 0 | |
11004 | FeedbackMain.Position = UDim2.new(1.01999998, -301, 1.01800001, -310) | |
11005 | FeedbackMain.Size = UDim2.new(0, 290, 0, 300) | |
11006 | Title.Name = "Title" | |
11007 | Title.Parent = FeedbackMain | |
11008 | Title.BackgroundColor3 = Color3.new(1, 1, 1) | |
11009 | Title.BackgroundTransparency = 1 | |
11010 | Title.Size = UDim2.new(1, 0, 0, 30) | |
11011 | Title.Font = Enum.Font.SourceSansBold | |
11012 | Title.FontSize = Enum.FontSize.Size24 | |
11013 | Title.Text = "Settings" | |
11014 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11015 | Title.TextStrokeTransparency = 0 | |
11016 | checkboxText.Name = "checkboxText" | |
11017 | checkboxText.Parent = FeedbackMain | |
11018 | checkboxText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11019 | checkboxText.BackgroundTransparency = 1 | |
11020 | checkboxText.Position = UDim2.new(0, 0, 0, 60) | |
11021 | checkboxText.Size = UDim2.new(1, 0, 0, 30) | |
11022 | checkboxText.Font = Enum.Font.SourceSansBold | |
11023 | checkboxText.FontSize = Enum.FontSize.Size18 | |
11024 | checkboxText.Text = " Suggestions" | |
11025 | checkboxText.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471) | |
11026 | checkboxText.TextStrokeTransparency = 0 | |
11027 | checkboxText.TextXAlignment = Enum.TextXAlignment.Left | |
11028 | CheckBox.Name = "CheckBox" | |
11029 | CheckBox.Parent = FeedbackMain | |
11030 | CheckBox.BackgroundTransparency = 1 | |
11031 | CheckBox.Position = UDim2.new(0, 240, 0, 60) | |
11032 | CheckBox.Size = UDim2.new(0, 30, 0, 30) | |
11033 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
11034 | bindInput.Name = "bindInput" | |
11035 | bindInput.Parent = FeedbackMain | |
11036 | bindInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
11037 | bindInput.Position = UDim2.new(0, 187, 0, 260) | |
11038 | bindInput.Size = UDim2.new(0, 30, 0, 30) | |
11039 | bindInput.AutoButtonColor = false | |
11040 | bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11041 | bindInput.Font = Enum.Font.SourceSans | |
11042 | bindInput.FontSize = Enum.FontSize.Size14 | |
11043 | bindInput.Text = "" | |
11044 | Input.Name = "Input" | |
11045 | Input.Parent = bindInput | |
11046 | Input.BackgroundColor3 = Color3.new(1, 1, 1) | |
11047 | Input.BackgroundTransparency = 1 | |
11048 | Input.Position = UDim2.new(0, -8, 0, -8) | |
11049 | Input.Size = UDim2.new(0, 20, 0, 20) | |
11050 | Input.Font = Enum.Font.SourceSansBold | |
11051 | Input.FontSize = Enum.FontSize.Size18 | |
11052 | Input.MultiLine = true | |
11053 | Input.Text = ";" | |
11054 | Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11055 | Input.TextWrapped = true | |
11056 | Input.TextYAlignment = Enum.TextYAlignment.Top | |
11057 | preText.Name = "preText" | |
11058 | preText.Parent = FeedbackMain | |
11059 | preText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11060 | preText.BackgroundTransparency = 1 | |
11061 | preText.Position = UDim2.new(0, 0, 0, 140) | |
11062 | preText.Size = UDim2.new(1, 0, 0, 30) | |
11063 | preText.Font = Enum.Font.SourceSansBold | |
11064 | preText.FontSize = Enum.FontSize.Size18 | |
11065 | preText.Text = " Prefix" | |
11066 | preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11067 | preText.TextStrokeTransparency = 0 | |
11068 | preText.TextXAlignment = Enum.TextXAlignment.Left | |
11069 | setpre.Name = "setpre" | |
11070 | setpre.Parent = FeedbackMain | |
11071 | setpre.BackgroundColor3 = Color3.new(1, 1, 1) | |
11072 | setpre.BorderSizePixel = 5 | |
11073 | setpre.Position = UDim2.new(0, 235, 0, 142) | |
11074 | setpre.Size = UDim2.new(0, 40, 0, 25) | |
11075 | setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11076 | setpre.Font = Enum.Font.ArialBold | |
11077 | setpre.FontSize = Enum.FontSize.Size18 | |
11078 | setpre.Text = "Set" | |
11079 | everyone.Name = "everyone" | |
11080 | everyone.Parent = FeedbackMain | |
11081 | everyone.BackgroundColor3 = Color3.new(0, 0, 0) | |
11082 | everyone.BackgroundTransparency = 0.80000001192093 | |
11083 | everyone.BorderColor3 = Color3.new(0, 0, 0) | |
11084 | everyone.Position = UDim2.new(0, 230, 0, 237) | |
11085 | everyone.Size = UDim2.new(0, 50, 0, 20) | |
11086 | everyone.Font = Enum.Font.SourceSans | |
11087 | everyone.FontSize = Enum.FontSize.Size14 | |
11088 | everyone.Text = "Everyone" | |
11089 | everyone.TextColor3 = Color3.new(1, 1, 1) | |
11090 | JLtext.Name = "JLtext" | |
11091 | JLtext.Parent = FeedbackMain | |
11092 | JLtext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11093 | JLtext.BackgroundTransparency = 1 | |
11094 | JLtext.Position = UDim2.new(0, 0, 0, 220) | |
11095 | JLtext.Size = UDim2.new(1, 0, 0, 30) | |
11096 | JLtext.Font = Enum.Font.SourceSansBold | |
11097 | JLtext.FontSize = Enum.FontSize.Size18 | |
11098 | JLtext.Text = " Joined/Left Notifications" | |
11099 | JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11100 | JLtext.TextStrokeTransparency = 0 | |
11101 | JLtext.TextXAlignment = Enum.TextXAlignment.Left | |
11102 | CheckBoxJL.Name = "CheckBoxJL" | |
11103 | CheckBoxJL.Parent = FeedbackMain | |
11104 | CheckBoxJL.BackgroundTransparency = 1 | |
11105 | CheckBoxJL.Position = UDim2.new(0, 187, 0, 220) | |
11106 | CheckBoxJL.Size = UDim2.new(0, 30, 0, 30) | |
11107 | CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641" | |
11108 | friends.Name = "friends" | |
11109 | friends.Parent = FeedbackMain | |
11110 | friends.BackgroundColor3 = Color3.new(0, 0, 0) | |
11111 | friends.BackgroundTransparency = 0.80000001192093 | |
11112 | friends.BorderColor3 = Color3.new(1, 1, 1) | |
11113 | friends.Position = UDim2.new(0, 230, 0, 215) | |
11114 | friends.Size = UDim2.new(0, 50, 0, 20) | |
11115 | friends.Font = Enum.Font.SourceSans | |
11116 | friends.FontSize = Enum.FontSize.Size14 | |
11117 | friends.Text = "Friends" | |
11118 | friends.TextColor3 = Color3.new(1, 1, 1) | |
11119 | InputBox.Name = "InputBox" | |
11120 | InputBox.Parent = FeedbackMain | |
11121 | InputBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
11122 | InputBox.Position = UDim2.new(0, 187, 0, 140) | |
11123 | InputBox.Size = UDim2.new(0, 30, 0, 30) | |
11124 | InputBox.AutoButtonColor = false | |
11125 | InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11126 | InputBox.Font = Enum.Font.SourceSans | |
11127 | InputBox.FontSize = Enum.FontSize.Size14 | |
11128 | InputBox.Text = "" | |
11129 | Input_2.Name = "Input" | |
11130 | Input_2.Parent = InputBox | |
11131 | Input_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
11132 | Input_2.BackgroundTransparency = 1 | |
11133 | Input_2.Position = UDim2.new(0, -8, 0, -8) | |
11134 | Input_2.Size = UDim2.new(0, 20, 0, 20) | |
11135 | Input_2.Font = Enum.Font.SourceSansBold | |
11136 | Input_2.FontSize = Enum.FontSize.Size18 | |
11137 | Input_2.MultiLine = true | |
11138 | Input_2.Text = ";" | |
11139 | Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11140 | Input_2.TextWrapped = true | |
11141 | Input_2.TextYAlignment = Enum.TextYAlignment.Top | |
11142 | MTText.Name = "MTText" | |
11143 | MTText.Parent = FeedbackMain | |
11144 | MTText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11145 | MTText.BackgroundTransparency = 1 | |
11146 | MTText.Position = UDim2.new(0, 0, 0, 180) | |
11147 | MTText.Size = UDim2.new(1, 0, 0, 30) | |
11148 | MTText.Font = Enum.Font.SourceSansBold | |
11149 | MTText.FontSize = Enum.FontSize.Size18 | |
11150 | MTText.Text = " Message Seconds" | |
11151 | MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11152 | MTText.TextStrokeTransparency = 0 | |
11153 | MTText.TextXAlignment = Enum.TextXAlignment.Left | |
11154 | setMT.Name = "setMT" | |
11155 | setMT.Parent = FeedbackMain | |
11156 | setMT.BackgroundColor3 = Color3.new(1, 1, 1) | |
11157 | setMT.BorderSizePixel = 5 | |
11158 | setMT.Position = UDim2.new(0, 235, 0, 183) | |
11159 | setMT.Size = UDim2.new(0, 40, 0, 25) | |
11160 | setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11161 | setMT.Font = Enum.Font.ArialBold | |
11162 | setMT.FontSize = Enum.FontSize.Size18 | |
11163 | setMT.Text = "Set" | |
11164 | CheckBoxS.Name = "CheckBoxS" | |
11165 | CheckBoxS.Parent = FeedbackMain | |
11166 | CheckBoxS.BackgroundTransparency = 1 | |
11167 | CheckBoxS.Position = UDim2.new(0, 240, 0, 100) | |
11168 | CheckBoxS.Size = UDim2.new(0, 30, 0, 30) | |
11169 | CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641" | |
11170 | slocktext.Name = "slocktext" | |
11171 | slocktext.Parent = FeedbackMain | |
11172 | slocktext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11173 | slocktext.BackgroundTransparency = 1 | |
11174 | slocktext.Position = UDim2.new(0, 0, 0, 100) | |
11175 | slocktext.Size = UDim2.new(1, 0, 0, 30) | |
11176 | slocktext.Font = Enum.Font.SourceSansBold | |
11177 | slocktext.FontSize = Enum.FontSize.Size18 | |
11178 | slocktext.Text = " Allow Friends On Serverlock" | |
11179 | slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11180 | slocktext.TextStrokeTransparency = 0 | |
11181 | slocktext.TextXAlignment = Enum.TextXAlignment.Left | |
11182 | barBind.Name = "barBind" | |
11183 | barBind.Parent = FeedbackMain | |
11184 | barBind.BackgroundColor3 = Color3.new(1, 1, 1) | |
11185 | barBind.BackgroundTransparency = 1 | |
11186 | barBind.Position = UDim2.new(0, 0, 0, 260) | |
11187 | barBind.Size = UDim2.new(1, 0, 0, 30) | |
11188 | barBind.Font = Enum.Font.SourceSansBold | |
11189 | barBind.FontSize = Enum.FontSize.Size18 | |
11190 | barBind.Text = " Command Bar Keybind" | |
11191 | barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11192 | barBind.TextStrokeTransparency = 0 | |
11193 | barBind.TextXAlignment = Enum.TextXAlignment.Left | |
11194 | setBind.Name = "setBind" | |
11195 | setBind.Parent = FeedbackMain | |
11196 | setBind.BackgroundColor3 = Color3.new(1, 1, 1) | |
11197 | setBind.BorderSizePixel = 5 | |
11198 | setBind.Position = UDim2.new(0, 235, 0, 262) | |
11199 | setBind.Size = UDim2.new(0, 40, 0, 25) | |
11200 | setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11201 | setBind.Font = Enum.Font.ArialBold | |
11202 | setBind.FontSize = Enum.FontSize.Size18 | |
11203 | setBind.Text = "Set" | |
11204 | MtimeInput.Name = "MtimeInput" | |
11205 | MtimeInput.Parent = FeedbackMain | |
11206 | MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
11207 | MtimeInput.Position = UDim2.new(0, 187, 0, 180) | |
11208 | MtimeInput.Size = UDim2.new(0, 30, 0, 30) | |
11209 | MtimeInput.AutoButtonColor = false | |
11210 | MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11211 | MtimeInput.Font = Enum.Font.SourceSans | |
11212 | MtimeInput.FontSize = Enum.FontSize.Size14 | |
11213 | MtimeInput.Text = "" | |
11214 | Input_3.Name = "Input" | |
11215 | Input_3.Parent = MtimeInput | |
11216 | Input_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
11217 | Input_3.BackgroundTransparency = 1 | |
11218 | Input_3.Position = UDim2.new(0, -8, 0, -8) | |
11219 | Input_3.Size = UDim2.new(0, 20, 0, 20) | |
11220 | Input_3.Font = Enum.Font.SourceSansBold | |
11221 | Input_3.FontSize = Enum.FontSize.Size18 | |
11222 | Input_3.MultiLine = true | |
11223 | Input_3.Text = "7" | |
11224 | Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11225 | Input_3.TextWrapped = true | |
11226 | Input_3.TextYAlignment = Enum.TextYAlignment.Top | |
11227 | uicolortext.Name = "uicolortext" | |
11228 | uicolortext.Parent = FeedbackMain | |
11229 | uicolortext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11230 | uicolortext.BackgroundTransparency = 1 | |
11231 | uicolortext.Position = UDim2.new(0, 0, 0, 30) | |
11232 | uicolortext.Size = UDim2.new(1, 0, 0, 30) | |
11233 | uicolortext.Font = Enum.Font.SourceSansBold | |
11234 | uicolortext.FontSize = Enum.FontSize.Size18 | |
11235 | uicolortext.Text = " UI Color" | |
11236 | uicolortext.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471) | |
11237 | uicolortext.TextStrokeTransparency = 0 | |
11238 | uicolortext.TextXAlignment = Enum.TextXAlignment.Left | |
11239 | openC.Name = "openC" | |
11240 | openC.Parent = FeedbackMain | |
11241 | openC.BackgroundColor3 = Color3.new(1, 1, 1) | |
11242 | openC.BorderSizePixel = 5 | |
11243 | openC.Position = UDim2.new(0, 235, 0, 32) | |
11244 | openC.Size = UDim2.new(0, 40, 0, 25) | |
11245 | openC.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11246 | openC.Font = Enum.Font.ArialBold | |
11247 | openC.FontSize = Enum.FontSize.Size18 | |
11248 | openC.Text = "Set" | |
11249 | size.Name = "size" | |
11250 | size.Parent = holder | |
11251 | size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11252 | size.BackgroundTransparency = 1 | |
11253 | size.Position = UDim2.new(1, -301, 1, -300) | |
11254 | size.Size = UDim2.new(0, 275, 0, 300) | |
11255 | size.ZIndex = 2 | |
11256 | MAIN.Name = "MAIN" | |
11257 | MAIN.Parent = size | |
11258 | MAIN.BackgroundColor3 = maincolor | |
11259 | MAIN.BackgroundTransparency = 0.5 | |
11260 | MAIN.BorderColor3 = Color3.new(0, 0, 0) | |
11261 | MAIN.BorderSizePixel = 0 | |
11262 | MAIN.Position = UDim2.new(0.0181818176, 1, 1.00333333, -305) | |
11263 | MAIN.Size = UDim2.new(0, 290, 0, 300) | |
11264 | Title_2.Name = "Title" | |
11265 | Title_2.Parent = MAIN | |
11266 | Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11267 | Title_2.BackgroundTransparency = 1 | |
11268 | Title_2.Size = UDim2.new(1, 0, 0, 30) | |
11269 | Title_2.Font = Enum.Font.SourceSansBold | |
11270 | Title_2.FontSize = Enum.FontSize.Size24 | |
11271 | Title_2.Text = "Commands" | |
11272 | Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11273 | Title_2.TextStrokeTransparency = 0 | |
11274 | Example.Name = "Example" | |
11275 | Example.Parent = MAIN | |
11276 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11277 | Example.BackgroundTransparency = 1 | |
11278 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11279 | Example.BorderSizePixel = 0 | |
11280 | Example.Size = UDim2.new(0, 190, 0, 20) | |
11281 | Example.Visible = false | |
11282 | Example.Font = Enum.Font.SourceSansBold | |
11283 | Example.TextSize = 20 | |
11284 | Example.Text = "txt" | |
11285 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
11286 | Example.TextStrokeTransparency = 0 | |
11287 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
11288 | Example.ZIndex = 6 | |
11289 | Search.Name = "Search" | |
11290 | Search.Parent = MAIN | |
11291 | Search.BackgroundColor3 = Color3.new(0, 0, 0) | |
11292 | Search.BackgroundTransparency = 0.69999998807907 | |
11293 | Search.BorderColor3 = Color3.new(1, 1, 1) | |
11294 | Search.Position = UDim2.new(0.5, -127, 0.200000003, -25) | |
11295 | Search.Size = UDim2.new(0, 250, 0, 20) | |
11296 | Search.ClearTextOnFocus = false | |
11297 | Search.Font = Enum.Font.SourceSansBold | |
11298 | Search.FontSize = Enum.FontSize.Size18 | |
11299 | Search.Text = "Search" | |
11300 | Search.TextColor3 = Color3.new(1, 1, 1) | |
11301 | Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824) | |
11302 | Search.TextStrokeTransparency = 0 | |
11303 | CMDss.Name = "CMDs" | |
11304 | CMDss.Parent = MAIN | |
11305 | CMDss.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11306 | CMDss.BackgroundTransparency = 1 | |
11307 | CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11308 | CMDss.BorderSizePixel = 0 | |
11309 | CMDss.Position = UDim2.new(0, 10, 0, 65) | |
11310 | CMDss.Size = UDim2.new(0, 280, 0, 230) | |
11311 | CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11312 | CMDss.CanvasSize = UDim2.new(0, 0, 0, 5260) | |
11313 | CMDss.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11314 | CMDss.ScrollBarThickness = 8 | |
11315 | CMDss.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11316 | notifyMAIN = Instance.new('ScreenGui', DATA) | |
11317 | notifyMAIN.Name = 'Notification' | |
11318 | notifyNOT = Instance.new('Frame', notifyMAIN) | |
11319 | notifyNOT.Name = 'NOTIFY' | |
11320 | notifyNOT.BackgroundColor = BrickColor.new(0,0,0) | |
11321 | notifyNOT.BackgroundTransparency = 1 | |
11322 | notifyNOT.BorderColor = BrickColor.new(0,0,0) | |
11323 | notifyNOT.BorderSizePixel = 2 | |
11324 | notifyNOT.Position = UDim2.new(0,0,-0.06,0) | |
11325 | notifyNOT.Size = UDim2.new(1,0,0,-40) | |
11326 | notifyNOTE = Instance.new('TextLabel', notifyNOT) | |
11327 | notifyNOTE.Name = 'NOTE' | |
11328 | notifyNOTE.BackgroundColor = BrickColor.new(255,255,255) | |
11329 | notifyNOTE.BackgroundTransparency = 1 | |
11330 | notifyNOTE.BorderColor = BrickColor.new(255,255,255) | |
11331 | notifyNOTE.BorderSizePixel = 0 | |
11332 | notifyNOTE.Size = UDim2.new(1,0,1,0) | |
11333 | notifyNOTE.ZIndex = 4 | |
11334 | notifyNOTE.FontSize = 'Size18' | |
11335 | notifyNOTE.Font = 'SourceSansBold' | |
11336 | notifyNOTE.Text = 'NOTIFY' | |
11337 | notifyNOTE.TextColor = BrickColor.new(255,255,255) | |
11338 | notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0) | |
11339 | notifyNOTE.TextStrokeTransparency = 0.8 | |
11340 | ||
11341 | addcmd('ayylmao','ayy lmao',{'alien'}, | |
11342 | function(args, speaker) | |
11343 | local players = getPlayer(args[1], speaker) | |
11344 | for i,v in pairs(players)do | |
11345 | local pchar = gPlayers[v].Character | |
11346 | if pchar:FindFirstChild("Shirt") then | |
11347 | pchar.Shirt:Destroy() | |
11348 | end | |
11349 | if pchar:FindFirstChild("Pants") then | |
11350 | pchar.Pants:Destroy() | |
11351 | end | |
11352 | if pchar:FindFirstChild("Shirt Graphic") then | |
11353 | pchar["Shirt Graphic"].Graphic = "" | |
11354 | end | |
11355 | for i,v in pairs(pchar:GetChildren()) do | |
11356 | if v:IsA("Accessory") then | |
11357 | v:Destroy() | |
11358 | end | |
11359 | end | |
11360 | local ayylmao = DATA.ayylmao:Clone() | |
11361 | ayylmao.Parent = pchar | |
11362 | local BC = pchar["Body Colors"] | |
11363 | BC.HeadColor = BrickColor.new("Fossil") | |
11364 | BC.LeftArmColor = BrickColor.new("Fossil") | |
11365 | BC.LeftLegColor = BrickColor.new("Fossil") | |
11366 | BC.RightArmColor = BrickColor.new("Fossil") | |
11367 | BC.RightLegColor = BrickColor.new("Fossil") | |
11368 | BC.TorsoColor = BrickColor.new("Fossil") | |
11369 | end | |
11370 | end) | |
11371 | HKFolder = Instance.new("Folder", game.CoreGui) | |
11372 | for i,v in pairs(HK) do | |
11373 | local HKValue = Instance.new("StringValue", HKFolder) | |
11374 | HKValue.Value = v | |
11375 | HKValue.RobloxLocked = true | |
11376 | end | |
11377 | CMDsFolder = Instance.new("Folder", game.CoreGui) | |
11378 | for i,v in pairs(CMDs) do | |
11379 | local CMDsValue = Instance.new("StringValue", CMDsFolder) | |
11380 | CMDsValue.Value = v | |
11381 | CMDsValue.RobloxLocked = true | |
11382 | end | |
11383 | cmdOpen = false | |
11384 | function commands() | |
11385 | if cmdOpen == false then | |
11386 | cmdOpen = true | |
11387 | local cmds = cp:Clone() | |
11388 | cmds.Parent = game.CoreGui | |
11389 | local HKV = HKFolder:GetChildren() | |
11390 | local CMDsV = CMDsFolder:GetChildren() | |
11391 | dragGUI(cmds.Frame) | |
11392 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.01,true) wait(0.01) | |
11393 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11394 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) | |
11395 | SettingsGUI = game.CoreGui.cp.Frame.holder if Nfriends == true then | |
11396 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11397 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif Nfriends == false then | |
11398 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
11399 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
11400 | end | |
11401 | --joined/left friend option | |
11402 | SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() | |
11403 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11404 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) | |
11405 | Nfriends = true updatefile() | |
11406 | end) | |
11407 | SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() | |
11408 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
11409 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
11410 | Nfriends = false updatefile() | |
11411 | end) | |
11412 | -- Color mixer | |
11413 | SettingsGUI.FeedbackMain.openC.MouseButton1Click:Connect(function() | |
11414 | picker.ColorPicker.Visible = true picker.ColorPicker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11415 | end) | |
11416 | --Message time | |
11417 | SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function() | |
11418 | wait() | |
11419 | Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text | |
11420 | Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)') | |
11421 | updatefile() | |
11422 | end) | |
11423 | --CMDBAR keybind | |
11424 | SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function() | |
11425 | wait() | |
11426 | cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text | |
11427 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
11428 | Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' ) | |
11429 | updatefile() | |
11430 | end) | |
11431 | --Change prefix | |
11432 | SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function() | |
11433 | wait() | |
11434 | cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text | |
11435 | Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"') | |
11436 | updatefile() | |
11437 | end) | |
11438 | --Check Box for notify | |
11439 | checked = "http://www.roblox.com/asset/?id=65492641" | |
11440 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
11441 | if suggestionstoggle == true then | |
11442 | SettingsGUI.FeedbackMain.CheckBox.Image = checked else | |
11443 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end | |
11444 | SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function() | |
11445 | if suggestionstoggle == true then suggestionstoggle = false updatefile() | |
11446 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else | |
11447 | suggestionstoggle = true | |
11448 | updatefile() | |
11449 | SettingsGUI.FeedbackMain.CheckBox.Image = checked end end) | |
11450 | --Check Box for allow friends on serverlock | |
11451 | checked2 = "http://www.roblox.com/asset/?id=65492641" | |
11452 | unchecked2 = "http://www.roblox.com/asset/?id=65492651" | |
11453 | if allowfriends == true then | |
11454 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else | |
11455 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end | |
11456 | SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function() | |
11457 | if allowfriends == true then allowfriends = false updatefile() | |
11458 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else | |
11459 | allowfriends = true updatefile() | |
11460 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end) | |
11461 | --Check Box for JoinedLeft notifications | |
11462 | checked3 = "http://www.roblox.com/asset/?id=65492641" | |
11463 | unchecked3 = "http://www.roblox.com/asset/?id=65492651" | |
11464 | if JLnotify == true then | |
11465 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else | |
11466 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end | |
11467 | SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function() | |
11468 | if JLnotify == true then JLnotify = false updatefile() | |
11469 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 else JLnotify = true | |
11470 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 updatefile() | |
11471 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11472 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end) | |
11473 | cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function() | |
11474 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11475 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
11476 | cmds.Frame.holder.bar.Hide.Visible = true | |
11477 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end) | |
11478 | cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function() | |
11479 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) wait(0.1) | |
11480 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) wait(0.2) | |
11481 | cmds.Frame.holder.bar.Hide.Visible = true | |
11482 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end) | |
11483 | cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function() | |
11484 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quad",0.2,true) | |
11485 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,0.018,-310),"Out","Quad",0.2,true) wait(0.2) | |
11486 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quad",0.2,true) wait(0.2) | |
11487 | cmds.Frame.holder.bar.Hide.Visible = false end) | |
11488 | cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function() | |
11489 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11490 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.2,true) wait(0.3) | |
11491 | cmds:Destroy() cmdOpen = false end) | |
11492 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quad",0.2,true) | |
11493 | searchbar() | |
11494 | for i = 1, #HKV do | |
11495 | local YSize = 25 | |
11496 | local Position = ((i * YSize) - YSize) | |
11497 | local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone() | |
11498 | newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs | |
11499 | newcmd.Visible = true | |
11500 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11501 | newcmd.Text = "" .. HKV[i].Value | |
11502 | CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11503 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11504 | end | |
11505 | for i = 1, #CMDsV do | |
11506 | local YSize = 25 | |
11507 | local Position = ((i * YSize) - YSize) | |
11508 | local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone() | |
11509 | newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs | |
11510 | newcmd.Visible = true | |
11511 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11512 | newcmd.Text = "" .. CMDsV[i].Value | |
11513 | CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11514 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11515 | end | |
11516 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11517 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
11518 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
11519 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end end | |
11520 | ||
11521 | function searchbar() | |
11522 | local CSP = game.CoreGui.cp.Frame.holder.size.MAIN | |
11523 | local main = CSP | |
11524 | local frame = CSP:WaitForChild('CMDs') | |
11525 | local gui = CSP:WaitForChild('Search') | |
11526 | local focused = false | |
11527 | Match = function(name,str) | |
11528 | return name:lower():find(str:lower()) and true | |
11529 | end | |
11530 | gui.FocusLost:connect(function(enterpressed) | |
11531 | gui.Text = "Search" | |
11532 | end) | |
11533 | IndexContents = function(str,bool) | |
11534 | local Index,SizeY = 0,0 | |
11535 | for i,v in next, frame:GetChildren() do | |
11536 | if bool then | |
11537 | if Match(v.Text,str) then | |
11538 | Index = Index + 1 | |
11539 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
11540 | v.Visible = true | |
11541 | SizeY = SizeY + v.AbsoluteSize.Y | |
11542 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
11543 | else | |
11544 | v.Visible = false | |
11545 | end | |
11546 | else | |
11547 | v.Visible = true | |
11548 | SizeY = SizeY + v.AbsoluteSize.Y | |
11549 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
11550 | end | |
11551 | end | |
11552 | end | |
11553 | game:GetService('RunService').Stepped:connect(function() | |
11554 | if gui:IsFocused() and gui.Text == "Search" then | |
11555 | gui.Text = '' | |
11556 | end | |
11557 | end) | |
11558 | gui.Changed:connect(function() | |
11559 | if gui:IsFocused() then IndexContents(gui.Text,true) end | |
11560 | end) | |
11561 | ||
11562 | IndexContents('',true) | |
11563 | end | |
11564 | ||
11565 | function runwindow() | |
11566 | commands() | |
11567 | searchbar() | |
11568 | end | |
11569 | ||
11570 | addcmd('settings','opens settings window',{'toggles'}, | |
11571 | function(args, speaker) | |
11572 | if speaker.userId ~= LP.userId then | |
11573 | lponly(speaker) | |
11574 | else | |
11575 | runwindow() | |
11576 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) | |
11577 | wait(0.1) | |
11578 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) | |
11579 | wait(0.1) | |
11580 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
11581 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
11582 | end | |
11583 | end) | |
11584 | ||
11585 | function movetab(speaker,PART) | |
11586 | game:GetService('RunService').Stepped:connect(function() | |
11587 | if PART ~= nil and speaker ~= nil and speaker.Character:FindFirstChild('HumanoidRootPart') then | |
11588 | PART.Locked = true | |
11589 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
11590 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
11591 | PART.CFrame = newcf end end) end | |
11592 | ||
11593 | hastab = {} | |
11594 | addcmd('tablet','opens tablet gui',{}, | |
11595 | function(args, speaker) | |
11596 | for _, child in pairs( workspace:GetChildren()) do | |
11597 | if child.Name == speaker.Name .. "TAB" then | |
11598 | child:Destroy() end end | |
11599 | game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1) | |
11600 | local GUI = Instance.new("SurfaceGui") | |
11601 | local holder = Instance.new("Frame") | |
11602 | local bar = Instance.new("Frame") | |
11603 | local Title = Instance.new("TextLabel") | |
11604 | local MAIN = Instance.new("Frame") | |
11605 | local Example = Instance.new("TextLabel") | |
11606 | local CMDs = Instance.new("ScrollingFrame") | |
11607 | local PART = Instance.new("Part") | |
11608 | PART.Name = speaker.Name .. 'TAB' | |
11609 | PART.Color = maincolor | |
11610 | PART.Size = Vector3.new(7, 7.8, 0.2) | |
11611 | PART.Transparency = 0 | |
11612 | PART.Locked = true | |
11613 | PART.CanCollide = false | |
11614 | PART.Parent = workspace | |
11615 | PART.Anchored = true | |
11616 | PART.Material = "Neon" | |
11617 | local GUI = Instance.new("SurfaceGui") | |
11618 | local holder = Instance.new("Frame") | |
11619 | local bar = Instance.new("Frame") | |
11620 | local Title = Instance.new("TextLabel") | |
11621 | local MAIN = Instance.new("Frame") | |
11622 | local Example = Instance.new("TextLabel") | |
11623 | local CMDs = Instance.new("ScrollingFrame") | |
11624 | GUI.Name = "GUI" | |
11625 | GUI.Parent = PART | |
11626 | GUI.CanvasSize = Vector2.new(500, 600) | |
11627 | GUI.Face = Enum.NormalId.Back | |
11628 | holder.Name = "holder" | |
11629 | holder.Parent = GUI | |
11630 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
11631 | holder.BackgroundTransparency = 1 | |
11632 | holder.BorderSizePixel = 2 | |
11633 | holder.Position = UDim2.new(0, 0, 0, 10) | |
11634 | holder.Size = UDim2.new(0, 300, 0, 330) | |
11635 | holder.ZIndex = 2 | |
11636 | bar.Name = "bar" | |
11637 | bar.Parent = holder | |
11638 | bar.BackgroundColor3 = Color3.new(0, 0, 0) | |
11639 | bar.BackgroundTransparency = 0.89999997615814 | |
11640 | bar.BorderSizePixel = 0 | |
11641 | bar.Position = UDim2.new(0, 10, 1, -330) | |
11642 | bar.Size = UDim2.new(0, 480, 0, 33) | |
11643 | Title.Name = "Title" | |
11644 | Title.Parent = bar | |
11645 | Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11646 | Title.BackgroundTransparency = 1 | |
11647 | Title.Size = UDim2.new(1, 0, 0, 30) | |
11648 | Title.Font = Enum.Font.SourceSansBold | |
11649 | Title.FontSize = Enum.FontSize.Size24 | |
11650 | Title.Text = "[Infinite Yield] Command List" | |
11651 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11652 | MAIN.Name = "MAIN" | |
11653 | MAIN.Parent = holder | |
11654 | MAIN.BackgroundColor3 = Color3.new(0, 0, 0) | |
11655 | MAIN.BackgroundTransparency = 0.89999997615814 | |
11656 | MAIN.BorderSizePixel = 0 | |
11657 | MAIN.Position = UDim2.new(0, 10, 1, -300) | |
11658 | MAIN.Size = UDim2.new(0, 480, 0, 550) | |
11659 | Example.Name = "Example" | |
11660 | Example.Parent = MAIN | |
11661 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11662 | Example.BackgroundTransparency = 1 | |
11663 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11664 | Example.BorderSizePixel = 0 | |
11665 | Example.Size = UDim2.new(0, 190, 0, 40) | |
11666 | Example.Visible = false | |
11667 | Example.Font = Enum.Font.SourceSansBold | |
11668 | Example.FontSize = Enum.FontSize.Size36 | |
11669 | Example.Text = "txt" | |
11670 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
11671 | Example.TextStrokeTransparency = 0 | |
11672 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
11673 | Example.ZIndex = 6 | |
11674 | CMDs.Name = "CMDs" | |
11675 | CMDs.Parent = MAIN | |
11676 | CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11677 | CMDs.BackgroundTransparency = 1 | |
11678 | CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11679 | CMDs.BorderSizePixel = 0 | |
11680 | CMDs.Size = UDim2.new(0, 480, 0, 550) | |
11681 | CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11682 | CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880) | |
11683 | CMDs.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11684 | CMDs.ScrollBarThickness = 15 | |
11685 | CMDs.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11686 | local CMDsV = CMDsFolder:GetChildren() | |
11687 | for i = 1, #CMDsV do | |
11688 | local YSize = 35 | |
11689 | local Position = ((i * YSize) - YSize) | |
11690 | local newcmd = Example:Clone() | |
11691 | newcmd.Parent = CMDs | |
11692 | newcmd.Visible = true | |
11693 | newcmd.Position = UDim2.new(0,10,0, Position + 1) | |
11694 | newcmd.Text = "" .. CMDsV[i].Value | |
11695 | CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end | |
11696 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
11697 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
11698 | PART.CFrame = newcf | |
11699 | speaker.Character.Humanoid.Died:connect(function() | |
11700 | PART:Destroy() end) | |
11701 | wait(1) | |
11702 | PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05) | |
11703 | PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05) | |
11704 | PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05) | |
11705 | if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end | |
11706 | table.insert(hastab, speaker.Name) movetab(speaker,PART) | |
11707 | end) | |
11708 | ||
11709 | function updatepositions() | |
11710 | if PList then | |
11711 | PList:ClearAllChildren() | |
11712 | PList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11713 | for i = 1, #WayPoints do | |
11714 | local YSize = 25 | |
11715 | local Position = ((i * YSize) - YSize) | |
11716 | local newcmd = Example:Clone() | |
11717 | newcmd.Parent = PList | |
11718 | newcmd.Visible = true | |
11719 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11720 | newcmd.Text = " " .. WayPoints[i].NAME .. ": " .. WayPoints[i].COORD[1] .. ", " .. WayPoints[i].COORD[2] .. ", " .. WayPoints[i].COORD[3] | |
11721 | PList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11722 | local goto = Instance.new("TextButton") | |
11723 | goto.Name = "goto" | |
11724 | goto.Parent = PList | |
11725 | goto.BackgroundColor3 = Color3.new(255, 255, 255) | |
11726 | goto.BackgroundTransparency = 0.30000001192093 | |
11727 | goto.BorderColor3 = Color3.new(1, 0, 0) | |
11728 | goto.BorderSizePixel = 0 | |
11729 | goto.Position = UDim2.new(0,-10,0, Position + 5) | |
11730 | goto.Size = UDim2.new(0, 20, 0, 20) | |
11731 | goto.FontSize = Enum.FontSize.Size14 | |
11732 | goto.Text = "" | |
11733 | goto.ZIndex = 6 | |
11734 | goto.MouseButton1Click:Connect(function() | |
11735 | execCmd("loadpos "..LP.Name.." "..WayPoints[i].NAME) | |
11736 | end) | |
11737 | end | |
11738 | end | |
11739 | end | |
11740 | ||
11741 | posopen = false | |
11742 | addcmd("positions","lists waypoints",{'pos'}, | |
11743 | function(args, speaker) | |
11744 | if posopen == false then | |
11745 | posopen = true | |
11746 | local Pos = Instance.new("ScreenGui") | |
11747 | local drag = Instance.new("Frame") | |
11748 | local PromptDialog = Instance.new("Frame") | |
11749 | local shadow = Instance.new("Frame") | |
11750 | local PopupText = Instance.new("TextLabel") | |
11751 | local Exit = Instance.new("TextButton") | |
11752 | local ContainerFrame = Instance.new("Frame") | |
11753 | PList = Instance.new("ScrollingFrame") | |
11754 | Pos.Name = "Pos" | |
11755 | Pos.Parent = game.CoreGui | |
11756 | drag.Name = "drag" | |
11757 | drag.Parent = Pos | |
11758 | drag.Active = true | |
11759 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
11760 | drag.BackgroundTransparency = 1 | |
11761 | dragGUI(drag) | |
11762 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
11763 | drag.Size = UDim2.new(0, 290, 0, 30) | |
11764 | PromptDialog.Name = "PromptDialog" | |
11765 | PromptDialog.Parent = drag | |
11766 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
11767 | PromptDialog.BackgroundTransparency = 1 | |
11768 | PromptDialog.BorderSizePixel = 0 | |
11769 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
11770 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
11771 | PromptDialog.ZIndex = 8 | |
11772 | shadow.Name = "shadow" | |
11773 | shadow.Parent = PromptDialog | |
11774 | shadow.BackgroundColor3 = maincolor | |
11775 | shadow.BackgroundTransparency = 0.30000001192093 | |
11776 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
11777 | shadow.BorderSizePixel = 0 | |
11778 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
11779 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
11780 | PopupText.Name = "PopupText" | |
11781 | PopupText.Parent = shadow | |
11782 | PopupText.BackgroundTransparency = 1 | |
11783 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
11784 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
11785 | PopupText.ZIndex = 110 | |
11786 | PopupText.Font = Enum.Font.SourceSansBold | |
11787 | PopupText.FontSize = Enum.FontSize.Size28 | |
11788 | PopupText.Text = "Positions" | |
11789 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
11790 | PopupText.TextStrokeTransparency = 0 | |
11791 | PopupText.TextWrapped = true | |
11792 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
11793 | Exit.Name = "Exit" | |
11794 | Exit.Parent = shadow | |
11795 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
11796 | Exit.BackgroundTransparency = 0.30000001192093 | |
11797 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
11798 | Exit.BorderSizePixel = 0 | |
11799 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
11800 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
11801 | Exit.FontSize = Enum.FontSize.Size14 | |
11802 | Exit.Text = "" | |
11803 | ContainerFrame.Name = "ContainerFrame" | |
11804 | ContainerFrame.Parent = PromptDialog | |
11805 | ContainerFrame.BackgroundColor3 = maincolor | |
11806 | ContainerFrame.BackgroundTransparency = 0.5 | |
11807 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
11808 | ContainerFrame.BorderSizePixel = 0 | |
11809 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
11810 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
11811 | ContainerFrame.ZIndex = 5 | |
11812 | PList.Name = "List" | |
11813 | PList.Parent = ContainerFrame | |
11814 | PList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11815 | PList.BackgroundTransparency = 1 | |
11816 | PList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11817 | PList.BorderSizePixel = 0 | |
11818 | PList.Position = UDim2.new(0, 10, 0, 5) | |
11819 | PList.Size = UDim2.new(0, 280, 0, 230) | |
11820 | PList.ZIndex = 6 | |
11821 | PList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11822 | PList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11823 | PList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11824 | PList.ScrollBarThickness = 8 | |
11825 | PList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11826 | updatepositions() | |
11827 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11828 | Exit.MouseButton1Click:Connect(function() | |
11829 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
11830 | wait(0.6) posopen = false Pos:Destroy() end) end | |
11831 | end) | |
11832 | ||
11833 | function updateadmins() | |
11834 | if AList then | |
11835 | AList:ClearAllChildren() | |
11836 | AList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11837 | for i = 1, #adminname do | |
11838 | local YSize = 25 | |
11839 | local Position = ((i * YSize) - YSize) | |
11840 | local newcmd = Example:Clone() | |
11841 | newcmd.Parent = AList | |
11842 | newcmd.Visible = true | |
11843 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11844 | newcmd.Text = adminname[i].NAME | |
11845 | AList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11846 | end | |
11847 | end | |
11848 | end | |
11849 | ||
11850 | adminsopen = false | |
11851 | adminname = {} | |
11852 | addcmd('admins','displays admins',{'adminlist'}, | |
11853 | function(args, speaker) | |
11854 | if speaker.userId ~= LP.userId then | |
11855 | lponly(speaker) else | |
11856 | if adminsopen == false then | |
11857 | adminsopen = true | |
11858 | local admins = Instance.new("ScreenGui") | |
11859 | local drag = Instance.new("Frame") | |
11860 | local PromptDialog = Instance.new("Frame") | |
11861 | local shadow = Instance.new("Frame") | |
11862 | local PopupText = Instance.new("TextLabel") | |
11863 | local Exit = Instance.new("TextButton") | |
11864 | local ContainerFrame = Instance.new("Frame") | |
11865 | AList = Instance.new("ScrollingFrame") | |
11866 | admins.Name = "Admins" | |
11867 | admins.Parent = game.CoreGui | |
11868 | drag.Name = "drag" | |
11869 | drag.Parent = admins | |
11870 | drag.Active = true | |
11871 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
11872 | drag.BackgroundTransparency = 1 | |
11873 | dragGUI(drag) | |
11874 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
11875 | drag.Size = UDim2.new(0, 290, 0, 30) | |
11876 | PromptDialog.Name = "PromptDialog" | |
11877 | PromptDialog.Parent = drag | |
11878 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
11879 | PromptDialog.BackgroundTransparency = 1 | |
11880 | PromptDialog.BorderSizePixel = 0 | |
11881 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
11882 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
11883 | PromptDialog.ZIndex = 8 | |
11884 | shadow.Name = "shadow" | |
11885 | shadow.Parent = PromptDialog | |
11886 | shadow.BackgroundColor3 = maincolor | |
11887 | shadow.BackgroundTransparency = 0.30000001192093 | |
11888 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
11889 | shadow.BorderSizePixel = 0 | |
11890 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
11891 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
11892 | PopupText.Name = "PopupText" | |
11893 | PopupText.Parent = shadow | |
11894 | PopupText.BackgroundTransparency = 1 | |
11895 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
11896 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
11897 | PopupText.ZIndex = 110 | |
11898 | PopupText.Font = Enum.Font.SourceSansBold | |
11899 | PopupText.FontSize = Enum.FontSize.Size28 | |
11900 | PopupText.Text = "Admins" | |
11901 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
11902 | PopupText.TextStrokeTransparency = 0 | |
11903 | PopupText.TextWrapped = true | |
11904 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
11905 | Exit.Name = "Exit" | |
11906 | Exit.Parent = shadow | |
11907 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
11908 | Exit.BackgroundTransparency = 0.30000001192093 | |
11909 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
11910 | Exit.BorderSizePixel = 0 | |
11911 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
11912 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
11913 | Exit.FontSize = Enum.FontSize.Size14 | |
11914 | Exit.Text = "" | |
11915 | ContainerFrame.Name = "ContainerFrame" | |
11916 | ContainerFrame.Parent = PromptDialog | |
11917 | ContainerFrame.BackgroundColor3 = maincolor | |
11918 | ContainerFrame.BackgroundTransparency = 0.5 | |
11919 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
11920 | ContainerFrame.BorderSizePixel = 0 | |
11921 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
11922 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
11923 | ContainerFrame.ZIndex = 5 | |
11924 | AList.Name = "List" | |
11925 | AList.Parent = ContainerFrame | |
11926 | AList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11927 | AList.BackgroundTransparency = 1 | |
11928 | AList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11929 | AList.BorderSizePixel = 0 | |
11930 | AList.Position = UDim2.new(0, 10, 0, 5) | |
11931 | AList.Size = UDim2.new(0, 280, 0, 230) | |
11932 | AList.ZIndex = 6 | |
11933 | AList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11934 | AList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11935 | AList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11936 | AList.ScrollBarThickness = 8 | |
11937 | AList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11938 | updateadmins() | |
11939 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11940 | Exit.MouseButton1Click:Connect(function() | |
11941 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
11942 | wait(0.6) adminsopen = false admins:Destroy() end) end end | |
11943 | end) | |
11944 | ||
11945 | function updatebans() | |
11946 | if BList then | |
11947 | BList:ClearAllChildren() | |
11948 | BList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11949 | for i = 1, #banname do | |
11950 | local YSize = 25 | |
11951 | local Position = ((i * YSize) - YSize) | |
11952 | local newcmd = Example:Clone() | |
11953 | newcmd.Parent = BList | |
11954 | newcmd.Visible = true | |
11955 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11956 | newcmd.Text = " Name: " .. banname[i].NAME .. " | ID: " .. banname[i].ID .. " | Age: " .. banname[i].AGE | |
11957 | newcmd.TextSize = 20 | |
11958 | BList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11959 | local delet = Instance.new("TextButton") | |
11960 | delet.Name = "delet" | |
11961 | delet.Parent = BList | |
11962 | delet.BackgroundColor3 = Color3.new(1, 0, 0) | |
11963 | delet.BackgroundTransparency = 0.30000001192093 | |
11964 | delet.BorderColor3 = Color3.new(1, 0, 0) | |
11965 | delet.BorderSizePixel = 0 | |
11966 | delet.Position = UDim2.new(0,-10,0, Position + 5) | |
11967 | delet.Size = UDim2.new(0, 20, 0, 20) | |
11968 | delet.FontSize = Enum.FontSize.Size14 | |
11969 | delet.Text = "" | |
11970 | delet.ZIndex = 6 | |
11971 | delet.MouseButton1Click:Connect(function() | |
11972 | execCmd("unban "..banname[i].NAME) | |
11973 | end) | |
11974 | end | |
11975 | end | |
11976 | end | |
11977 | ||
11978 | banname = {} | |
11979 | bansopen = false | |
11980 | addcmd('bans','displays bans',{'banlist'}, | |
11981 | function(args, speaker) | |
11982 | if speaker.userId ~= LP.userId then | |
11983 | lponly(speaker) else | |
11984 | if bansopen == false then | |
11985 | bansopen = true | |
11986 | local Bans = Instance.new("ScreenGui") | |
11987 | local drag = Instance.new("Frame") | |
11988 | local PromptDialog = Instance.new("Frame") | |
11989 | local ContainerFrame = Instance.new("Frame") | |
11990 | BList = Instance.new("ScrollingFrame") | |
11991 | local shadow = Instance.new("Frame") | |
11992 | local Exit = Instance.new("TextButton") | |
11993 | local PopupText = Instance.new("TextLabel") | |
11994 | Bans.Name = "Bans" | |
11995 | Bans.Parent = game.CoreGui | |
11996 | drag.Name = "drag" | |
11997 | drag.Parent = Bans | |
11998 | drag.Active = true | |
11999 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12000 | drag.BackgroundTransparency = 1 | |
12001 | dragGUI(drag) | |
12002 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12003 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12004 | PromptDialog.Name = "PromptDialog" | |
12005 | PromptDialog.Parent = drag | |
12006 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12007 | PromptDialog.BackgroundTransparency = 1 | |
12008 | PromptDialog.BorderSizePixel = 0 | |
12009 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12010 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12011 | PromptDialog.ZIndex = 5 | |
12012 | ContainerFrame.Name = "ContainerFrame" | |
12013 | ContainerFrame.Parent = PromptDialog | |
12014 | ContainerFrame.BackgroundColor3 = maincolor | |
12015 | ContainerFrame.BackgroundTransparency = 0.5 | |
12016 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12017 | ContainerFrame.BorderSizePixel = 0 | |
12018 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12019 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12020 | ContainerFrame.ZIndex = 5 | |
12021 | BList.Name = "List" | |
12022 | BList.Parent = ContainerFrame | |
12023 | BList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12024 | BList.BackgroundTransparency = 1 | |
12025 | BList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12026 | BList.BorderSizePixel = 0 | |
12027 | BList.Position = UDim2.new(0, 10, 0, 9) | |
12028 | BList.Size = UDim2.new(0, 428, 0, 230) | |
12029 | BList.ZIndex = 5 | |
12030 | BList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12031 | BList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12032 | BList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12033 | BList.ScrollBarThickness = 8 | |
12034 | BList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12035 | shadow.Name = "shadow" | |
12036 | shadow.Parent = PromptDialog | |
12037 | shadow.BackgroundColor3 = maincolor | |
12038 | shadow.BackgroundTransparency = 0.30000001192093 | |
12039 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12040 | shadow.BorderSizePixel = 0 | |
12041 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12042 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12043 | Exit.Name = "Exit" | |
12044 | Exit.Parent = shadow | |
12045 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12046 | Exit.BackgroundTransparency = 0.30000001192093 | |
12047 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12048 | Exit.BorderSizePixel = 0 | |
12049 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12050 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12051 | Exit.FontSize = Enum.FontSize.Size14 | |
12052 | Exit.Text = "" | |
12053 | PopupText.Name = "PopupText" | |
12054 | PopupText.Parent = shadow | |
12055 | PopupText.BackgroundTransparency = 1 | |
12056 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12057 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12058 | PopupText.ZIndex = 6 | |
12059 | PopupText.Font = Enum.Font.SourceSansBold | |
12060 | PopupText.FontSize = Enum.FontSize.Size32 | |
12061 | PopupText.Text = "Bans" | |
12062 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12063 | PopupText.TextStrokeTransparency = 0 | |
12064 | PopupText.TextWrapped = true | |
12065 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
12066 | updatebans() | |
12067 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12068 | Exit.MouseButton1Click:Connect(function() | |
12069 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12070 | wait(0.6) bansopen = false Bans:Destroy() end) end end | |
12071 | end) | |
12072 | ||
12073 | function updatealiases() | |
12074 | if AlList then | |
12075 | AlList:ClearAllChildren() | |
12076 | AlList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12077 | for i = 1, #aliasSave do | |
12078 | local YSize = 25 | |
12079 | local Position = ((i * YSize) - YSize) | |
12080 | local newcmd = Example:Clone() | |
12081 | newcmd.Parent = AlList | |
12082 | newcmd.Visible = true | |
12083 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
12084 | newcmd.Text = ' Command: ['..aliasSave[i].CMD..'] Alias: ['..aliasSave[i].ALIAS..']' | |
12085 | newcmd.TextSize = 20 | |
12086 | AlList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
12087 | local delet = Instance.new("TextButton") | |
12088 | delet.Name = "delet" | |
12089 | delet.Parent = AlList | |
12090 | delet.BackgroundColor3 = Color3.new(1, 0, 0) | |
12091 | delet.BackgroundTransparency = 0.30000001192093 | |
12092 | delet.BorderColor3 = Color3.new(1, 0, 0) | |
12093 | delet.BorderSizePixel = 0 | |
12094 | delet.Position = UDim2.new(0,-10,0, Position + 5) | |
12095 | delet.Size = UDim2.new(0, 20, 0, 20) | |
12096 | delet.FontSize = Enum.FontSize.Size14 | |
12097 | delet.Text = "" | |
12098 | delet.ZIndex = 6 | |
12099 | delet.MouseButton1Click:Connect(function() | |
12100 | execCmd("removealias "..aliasSave[i].ALIAS) | |
12101 | end) | |
12102 | end | |
12103 | end | |
12104 | end | |
12105 | ||
12106 | aliasesopen = false | |
12107 | addcmd('aliases','displays aliases',{}, | |
12108 | function(args, speaker) | |
12109 | if speaker.userId ~= LP.userId then | |
12110 | lponly(speaker) else | |
12111 | if aliasesopen == false then | |
12112 | aliasesopen = true | |
12113 | local aliases = Instance.new("ScreenGui") | |
12114 | local drag = Instance.new("Frame") | |
12115 | local PromptDialog = Instance.new("Frame") | |
12116 | local ContainerFrame = Instance.new("Frame") | |
12117 | AlList = Instance.new("ScrollingFrame") | |
12118 | local shadow = Instance.new("Frame") | |
12119 | local Exit = Instance.new("TextButton") | |
12120 | local PopupText = Instance.new("TextLabel") | |
12121 | aliases.Name = "Aliases" | |
12122 | aliases.Parent = game.CoreGui | |
12123 | drag.Name = "drag" | |
12124 | drag.Parent = aliases | |
12125 | drag.Active = true | |
12126 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12127 | drag.BackgroundTransparency = 1 | |
12128 | dragGUI(drag) | |
12129 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12130 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12131 | PromptDialog.Name = "PromptDialog" | |
12132 | PromptDialog.Parent = drag | |
12133 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12134 | PromptDialog.BackgroundTransparency = 1 | |
12135 | PromptDialog.BorderSizePixel = 0 | |
12136 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12137 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12138 | PromptDialog.ZIndex = 5 | |
12139 | ContainerFrame.Name = "ContainerFrame" | |
12140 | ContainerFrame.Parent = PromptDialog | |
12141 | ContainerFrame.BackgroundColor3 = maincolor | |
12142 | ContainerFrame.BackgroundTransparency = 0.5 | |
12143 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12144 | ContainerFrame.BorderSizePixel = 0 | |
12145 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12146 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12147 | ContainerFrame.ZIndex = 5 | |
12148 | AlList.Name = "List" | |
12149 | AlList.Parent = ContainerFrame | |
12150 | AlList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12151 | AlList.BackgroundTransparency = 1 | |
12152 | AlList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12153 | AlList.BorderSizePixel = 0 | |
12154 | AlList.Position = UDim2.new(0, 10, 0, 9) | |
12155 | AlList.Size = UDim2.new(0, 428, 0, 230) | |
12156 | AlList.ZIndex = 5 | |
12157 | AlList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12158 | AlList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12159 | AlList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12160 | AlList.ScrollBarThickness = 8 | |
12161 | AlList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12162 | shadow.Name = "shadow" | |
12163 | shadow.Parent = PromptDialog | |
12164 | shadow.BackgroundColor3 = maincolor | |
12165 | shadow.BackgroundTransparency = 0.30000001192093 | |
12166 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12167 | shadow.BorderSizePixel = 0 | |
12168 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12169 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12170 | Exit.Name = "Exit" | |
12171 | Exit.Parent = shadow | |
12172 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12173 | Exit.BackgroundTransparency = 0.30000001192093 | |
12174 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12175 | Exit.BorderSizePixel = 0 | |
12176 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12177 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12178 | Exit.FontSize = Enum.FontSize.Size14 | |
12179 | Exit.Text = "" | |
12180 | PopupText.Name = "PopupText" | |
12181 | PopupText.Parent = shadow | |
12182 | PopupText.BackgroundTransparency = 1 | |
12183 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12184 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12185 | PopupText.ZIndex = 6 | |
12186 | PopupText.Font = Enum.Font.SourceSansBold | |
12187 | PopupText.FontSize = Enum.FontSize.Size32 | |
12188 | PopupText.Text = "Aliases" | |
12189 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12190 | PopupText.TextStrokeTransparency = 0 | |
12191 | PopupText.TextWrapped = true | |
12192 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
12193 | updatealiases() | |
12194 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12195 | Exit.MouseButton1Click:Connect(function() | |
12196 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12197 | wait(0.6) aliasesopen = false aliases:Destroy() end) end end | |
12198 | end) | |
12199 | ||
12200 | addcmd('sound', 'plays a sound',{'music','play'}, | |
12201 | function(args, speaker) | |
12202 | if isNumber(args[1]) then | |
12203 | for i,v in pairs(game:GetDescendants()) do | |
12204 | if v:IsA'Sound'then v:Destroy() end end | |
12205 | local c = args[1] or 'stop' | |
12206 | if std.inTable({'stop'}, c:lower()) then return end | |
12207 | local s = Instance.new("Sound", workspace) | |
12208 | s.Name = "IYsound" | |
12209 | s.Looped = true | |
12210 | s.SoundId = "rbxassetid://" .. c | |
12211 | s.Volume = 1 | |
12212 | s:Play() | |
12213 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(c) | |
12214 | playerenabled = false | |
12215 | Notify('Playing: '..Asset.Name..' ('..c..')') | |
12216 | else | |
12217 | local name = GLS(false, 0) | |
12218 | if GLS(false, 0) == "stop" or GLS(false, 0) == "off" then | |
12219 | Notify('Stopped audio') | |
12220 | for i,v in pairs(game:GetDescendants()) do | |
12221 | if v:IsA'Sound'then v:Destroy() end end | |
12222 | return | |
12223 | end | |
12224 | Notify('Loading list...') | |
12225 | local Audios = Instance.new("ScreenGui") | |
12226 | local drag = Instance.new("Frame") | |
12227 | local PromptDialog = Instance.new("Frame") | |
12228 | local ContainerFrame = Instance.new("Frame") | |
12229 | local AudList = Instance.new("ScrollingFrame") | |
12230 | local shadow = Instance.new("Frame") | |
12231 | local Exit = Instance.new("TextButton") | |
12232 | local PopupText = Instance.new("TextLabel") | |
12233 | local Hide = Instance.new("TextButton") | |
12234 | Audios.Name = "Audios" | |
12235 | Audios.Parent = game.CoreGui | |
12236 | drag.Name = "drag" | |
12237 | drag.Parent = Audios | |
12238 | drag.Active = true | |
12239 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12240 | drag.BackgroundTransparency = 1 | |
12241 | dragGUI(drag) | |
12242 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12243 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12244 | PromptDialog.Name = "PromptDialog" | |
12245 | PromptDialog.Parent = drag | |
12246 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12247 | PromptDialog.BackgroundTransparency = 1 | |
12248 | PromptDialog.BorderSizePixel = 0 | |
12249 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12250 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12251 | PromptDialog.ZIndex = 5 | |
12252 | PromptDialog.ClipsDescendants = true | |
12253 | ContainerFrame.Name = "ContainerFrame" | |
12254 | ContainerFrame.Parent = PromptDialog | |
12255 | ContainerFrame.BackgroundColor3 = maincolor | |
12256 | ContainerFrame.BackgroundTransparency = 0.5 | |
12257 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12258 | ContainerFrame.BorderSizePixel = 0 | |
12259 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12260 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12261 | ContainerFrame.ZIndex = 5 | |
12262 | AudList.Name = "List" | |
12263 | AudList.Parent = ContainerFrame | |
12264 | AudList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12265 | AudList.BackgroundTransparency = 1 | |
12266 | AudList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12267 | AudList.BorderSizePixel = 0 | |
12268 | AudList.Position = UDim2.new(0, 10, 0, 9) | |
12269 | AudList.Size = UDim2.new(0, 428, 0, 230) | |
12270 | AudList.ZIndex = 5 | |
12271 | AudList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12272 | AudList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12273 | AudList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12274 | AudList.ScrollBarThickness = 8 | |
12275 | AudList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12276 | shadow.Name = "shadow" | |
12277 | shadow.Parent = PromptDialog | |
12278 | shadow.BackgroundColor3 = maincolor | |
12279 | shadow.BackgroundTransparency = 0.30000001192093 | |
12280 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12281 | shadow.BorderSizePixel = 0 | |
12282 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12283 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12284 | Exit.Name = "Exit" | |
12285 | Exit.Parent = shadow | |
12286 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12287 | Exit.BackgroundTransparency = 0.30000001192093 | |
12288 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12289 | Exit.BorderSizePixel = 0 | |
12290 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12291 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12292 | Exit.FontSize = Enum.FontSize.Size14 | |
12293 | Exit.Text = "" | |
12294 | PopupText.Name = "PopupText" | |
12295 | PopupText.Parent = shadow | |
12296 | PopupText.BackgroundTransparency = 1 | |
12297 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12298 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12299 | PopupText.ZIndex = 6 | |
12300 | PopupText.Font = Enum.Font.SourceSansBold | |
12301 | PopupText.FontSize = Enum.FontSize.Size32 | |
12302 | PopupText.Text = GLS(false, 0).." [Audio]" | |
12303 | PopupText.TextScaled = true | |
12304 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12305 | PopupText.TextStrokeTransparency = 0 | |
12306 | PopupText.TextWrapped = true | |
12307 | PopupText.TextYAlignment = Enum.TextYAlignment.Center | |
12308 | Hide.Name = "Hide" | |
12309 | Hide.Parent = shadow | |
12310 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
12311 | Hide.BackgroundTransparency = 0.30000001192093 | |
12312 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
12313 | Hide.BorderSizePixel = 0 | |
12314 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
12315 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
12316 | Hide.FontSize = Enum.FontSize.Size14 | |
12317 | Hide.Text = "" | |
12318 | local hidden = false | |
12319 | Hide.MouseButton1Down:connect(function() | |
12320 | if hidden == false then hidden = true | |
12321 | ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12322 | else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
12323 | end end) | |
12324 | local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Audio&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true) | |
12325 | local results = HttpService:JSONDecode(json) | |
12326 | if #results == 0 then | |
12327 | Notify('No audio found :(') | |
12328 | Audios:Destroy() | |
12329 | return | |
12330 | end | |
12331 | for i,v in pairs(results) do | |
12332 | local YSize = 25 | |
12333 | local Position = ((i * YSize) - YSize) | |
12334 | local newcmd = Example:Clone() | |
12335 | newcmd.Parent = AudList | |
12336 | newcmd.Visible = true | |
12337 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
12338 | newcmd.Text = " "..v.Name | |
12339 | newcmd.TextSize = 20 | |
12340 | AudList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
12341 | local play = Instance.new("TextButton") | |
12342 | play.Name = "play" | |
12343 | play.Parent = AudList | |
12344 | play.BackgroundColor3 = Color3.new(255, 255, 255) | |
12345 | play.BackgroundTransparency = 0.30000001192093 | |
12346 | play.BorderColor3 = Color3.new(1, 0, 0) | |
12347 | play.BorderSizePixel = 0 | |
12348 | play.Position = UDim2.new(0,-10,0, Position + 5) | |
12349 | play.Size = UDim2.new(0, 20, 0, 20) | |
12350 | play.FontSize = Enum.FontSize.Size14 | |
12351 | play.Text = "" | |
12352 | play.ZIndex = 6 | |
12353 | play.MouseButton1Click:Connect(function() | |
12354 | playerenabled = false | |
12355 | for i,v in pairs(game:GetDescendants()) do | |
12356 | if v:IsA'Sound'then v:Destroy() end end | |
12357 | wait(0.1) | |
12358 | Notify('Playing: '..v.Name ..' ('..v.AssetId..')') | |
12359 | local s = Instance.new("Sound", workspace) | |
12360 | s.Name = "IYsound" | |
12361 | s.Looped = true | |
12362 | s.SoundId = "rbxassetid://" .. v.AssetId | |
12363 | s.Volume = 1 | |
12364 | s:Play() | |
12365 | end) | |
12366 | Notify('Select an audio to play') | |
12367 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12368 | Exit.MouseButton1Click:Connect(function() | |
12369 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12370 | wait(0.6) Audios:Destroy() end) end end | |
12371 | end) | |
12372 | ||
12373 | function dragmodel(model, window, frame, name) | |
12374 | local Dragger = Instance.new("Dragger") local dragging = false local drag = model drag.Parent = workspace local parts = {} | |
12375 | drag:MakeJoints() drag.Name = name | |
12376 | local mouse = game:GetService("Players").LocalPlayer:GetMouse() | |
12377 | function collectParts(object, baseParts) | |
12378 | if object:IsA("BasePart") then | |
12379 | baseParts[#baseParts+1] = object end | |
12380 | for index,child in pairs(object:GetChildren()) do | |
12381 | collectParts(child, baseParts) end end | |
12382 | collectParts(drag, parts) | |
12383 | Dragger:MouseDown(parts[1], Vector3.new(0,0,0), parts) | |
12384 | dragging = true | |
12385 | mouse.Move:connect(function() | |
12386 | if dragging then | |
12387 | Dragger:MouseMove(mouse.UnitRay) | |
12388 | end end) | |
12389 | mouse.KeyDown:connect(function(Key) | |
12390 | if dragging then | |
12391 | if Key == "r" then | |
12392 | Dragger:AxisRotate("Y") | |
12393 | elseif Key == "t" then | |
12394 | Dragger:AxisRotate("X") | |
12395 | elseif Key == "e" then | |
12396 | if window == true then | |
12397 | frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) | |
12398 | end | |
12399 | drag:Destroy() | |
12400 | dragging = false | |
12401 | Dragger:MouseUp() | |
12402 | end end end) | |
12403 | mouse.Button1Down:connect(function() | |
12404 | if dragging then | |
12405 | if window == true then | |
12406 | frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) | |
12407 | end | |
12408 | dragging = false | |
12409 | Dragger:MouseUp() | |
12410 | end end) end | |
12411 | ||
12412 | addcmd('insert', 'inserts a model',{'ins'}, | |
12413 | function(args, speaker) | |
12414 | if isNumber(args[1]) then | |
12415 | local window = false | |
12416 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(args[1]) | |
12417 | dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. Asset.AssetId), window, nil, Asset.Name) | |
12418 | Notify('Inserted ' .. Asset.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt') | |
12419 | else | |
12420 | local name = GLS(false, 0) | |
12421 | Notify('Loading list...') | |
12422 | local Models = Instance.new("ScreenGui") | |
12423 | local drag = Instance.new("Frame") | |
12424 | local PromptDialog = Instance.new("Frame") | |
12425 | local ModelContainerFrame = Instance.new("Frame") | |
12426 | local ModList = Instance.new("ScrollingFrame") | |
12427 | local shadow = Instance.new("Frame") | |
12428 | local Exit = Instance.new("TextButton") | |
12429 | local PopupText = Instance.new("TextLabel") | |
12430 | local Hide = Instance.new("TextButton") | |
12431 | Models.Name = "Models" | |
12432 | Models.Parent = game.CoreGui | |
12433 | drag.Name = "drag" | |
12434 | drag.Parent = Models | |
12435 | drag.Active = true | |
12436 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12437 | drag.BackgroundTransparency = 1 | |
12438 | dragGUI(drag) | |
12439 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12440 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12441 | PromptDialog.Name = "PromptDialog" | |
12442 | PromptDialog.Parent = drag | |
12443 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12444 | PromptDialog.BackgroundTransparency = 1 | |
12445 | PromptDialog.BorderSizePixel = 0 | |
12446 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12447 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12448 | PromptDialog.ClipsDescendants = true | |
12449 | PromptDialog.ZIndex = 5 | |
12450 | ModelContainerFrame.Name = "ContainerFrame" | |
12451 | ModelContainerFrame.Parent = PromptDialog | |
12452 | ModelContainerFrame.BackgroundColor3 = maincolor | |
12453 | ModelContainerFrame.BackgroundTransparency = 0.5 | |
12454 | ModelContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12455 | ModelContainerFrame.BorderSizePixel = 0 | |
12456 | ModelContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12457 | ModelContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12458 | ModelContainerFrame.ZIndex = 5 | |
12459 | ModList.Name = "List" | |
12460 | ModList.Parent = ModelContainerFrame | |
12461 | ModList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12462 | ModList.BackgroundTransparency = 1 | |
12463 | ModList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12464 | ModList.BorderSizePixel = 0 | |
12465 | ModList.Position = UDim2.new(0, 10, 0, 9) | |
12466 | ModList.Size = UDim2.new(0, 428, 0, 230) | |
12467 | ModList.ZIndex = 5 | |
12468 | ModList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12469 | ModList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12470 | ModList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12471 | ModList.ScrollBarThickness = 8 | |
12472 | ModList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12473 | shadow.Name = "shadow" | |
12474 | shadow.Parent = PromptDialog | |
12475 | shadow.BackgroundColor3 = maincolor | |
12476 | shadow.BackgroundTransparency = 0.30000001192093 | |
12477 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12478 | shadow.BorderSizePixel = 0 | |
12479 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12480 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12481 | Exit.Name = "Exit" | |
12482 | Exit.Parent = shadow | |
12483 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12484 | Exit.BackgroundTransparency = 0.30000001192093 | |
12485 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12486 | Exit.BorderSizePixel = 0 | |
12487 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12488 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12489 | Exit.FontSize = Enum.FontSize.Size14 | |
12490 | Exit.Text = "" | |
12491 | PopupText.Name = "PopupText" | |
12492 | PopupText.Parent = shadow | |
12493 | PopupText.BackgroundTransparency = 1 | |
12494 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12495 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12496 | PopupText.ZIndex = 6 | |
12497 | PopupText.Font = Enum.Font.SourceSansBold | |
12498 | PopupText.FontSize = Enum.FontSize.Size32 | |
12499 | PopupText.Text = GLS(false, 0).." [Models]" | |
12500 | PopupText.TextScaled = true | |
12501 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12502 | PopupText.TextStrokeTransparency = 0 | |
12503 | PopupText.TextWrapped = true | |
12504 | PopupText.TextYAlignment = Enum.TextYAlignment.Center | |
12505 | Hide.Name = "Hide" | |
12506 | Hide.Parent = shadow | |
12507 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
12508 | Hide.BackgroundTransparency = 0.30000001192093 | |
12509 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
12510 | Hide.BorderSizePixel = 0 | |
12511 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
12512 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
12513 | Hide.FontSize = Enum.FontSize.Size14 | |
12514 | Hide.Text = "" | |
12515 | local hidden = false | |
12516 | Hide.MouseButton1Down:connect(function() | |
12517 | if hidden == false then hidden = true | |
12518 | ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12519 | else ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
12520 | end end) | |
12521 | local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Models&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true) | |
12522 | local results = HttpService:JSONDecode(json) | |
12523 | if #results == 0 then | |
12524 | Notify('No models found :(') | |
12525 | Models:Destroy() | |
12526 | return | |
12527 | end | |
12528 | for i,v in pairs(results) do | |
12529 | local YSize = 100 | |
12530 | local Position = ((i * YSize) - YSize) | |
12531 | local newcmd = Example:Clone() | |
12532 | newcmd.Parent = ModList | |
12533 | newcmd.Visible = true | |
12534 | newcmd.Position = UDim2.new(0,5,0, Position + 40) | |
12535 | newcmd.Text = " "..v.Name | |
12536 | newcmd.TextSize = 20 | |
12537 | ModList.CanvasSize = UDim2.new(0,0,0, Position + 100) | |
12538 | local ins = Instance.new("TextButton") | |
12539 | ins.Name = "ins" | |
12540 | ins.Parent = ModList | |
12541 | ins.BackgroundColor3 = Color3.new(255, 255, 255) | |
12542 | ins.BackgroundTransparency = 0.30000001192093 | |
12543 | ins.BorderColor3 = Color3.new(1, 0, 0) | |
12544 | ins.BorderSizePixel = 0 | |
12545 | ins.Position = UDim2.new(0,-10,0, Position + 40) | |
12546 | ins.Size = UDim2.new(0, 20, 0, 20) | |
12547 | ins.FontSize = Enum.FontSize.Size14 | |
12548 | ins.Text = "" | |
12549 | ins.ZIndex = 6 | |
12550 | local img = Instance.new("ImageLabel") | |
12551 | img.Parent = ModList | |
12552 | img.Position = UDim2.new(0,300,0, Position + 5) | |
12553 | img.Size = UDim2.new(0,100,0,100) | |
12554 | img.ZIndex = 6 | |
12555 | img.BackgroundColor3 = Color3.new(255, 255, 255) | |
12556 | img.BackgroundTransparency = 1 | |
12557 | img.Image = 'https://www.roblox.com/Thumbs/Asset.ashx?width=110&height=110&assetId='..v.AssetId | |
12558 | ins.MouseButton1Click:Connect(function() | |
12559 | local window = true | |
12560 | dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. v.AssetId), window, ModelContainerFrame, v.Name) | |
12561 | Notify('Inserted ' .. v.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt') | |
12562 | ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12563 | end) | |
12564 | Notify('Select a model to insert') | |
12565 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12566 | Exit.MouseButton1Click:Connect(function() | |
12567 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12568 | wait(0.6) Models:Destroy() end) end end | |
12569 | end) | |
12570 | ||
12571 | addcmd('cmds','opens cmds window',{'commands'}, | |
12572 | function(args, speaker) | |
12573 | if speaker.userId ~= LP.userId then | |
12574 | for _, child in pairs( workspace:GetChildren()) do | |
12575 | if child.Name == speaker.Name .. "TAB" then | |
12576 | child:Destroy() end end | |
12577 | game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1) | |
12578 | local GUI = Instance.new("SurfaceGui") | |
12579 | local holder = Instance.new("Frame") | |
12580 | local bar = Instance.new("Frame") | |
12581 | local Title = Instance.new("TextLabel") | |
12582 | local MAIN = Instance.new("Frame") | |
12583 | local Example = Instance.new("TextLabel") | |
12584 | local CMDs = Instance.new("ScrollingFrame") | |
12585 | local PART = Instance.new("Part") | |
12586 | PART.Name = speaker.Name .. 'TAB' | |
12587 | PART.Color = maincolor | |
12588 | PART.Size = Vector3.new(7, 7.8, 0.2) | |
12589 | PART.Transparency = 0 | |
12590 | PART.Locked = true | |
12591 | PART.CanCollide = false | |
12592 | PART.Parent = workspace | |
12593 | PART.Anchored = true | |
12594 | PART.Material = "Neon" | |
12595 | local GUI = Instance.new("SurfaceGui") | |
12596 | local holder = Instance.new("Frame") | |
12597 | local bar = Instance.new("Frame") | |
12598 | local Title = Instance.new("TextLabel") | |
12599 | local MAIN = Instance.new("Frame") | |
12600 | local Example = Instance.new("TextLabel") | |
12601 | local CMDs = Instance.new("ScrollingFrame") | |
12602 | GUI.Name = "GUI" | |
12603 | GUI.Parent = PART | |
12604 | GUI.CanvasSize = Vector2.new(500, 600) | |
12605 | GUI.Face = Enum.NormalId.Back | |
12606 | holder.Name = "holder" | |
12607 | holder.Parent = GUI | |
12608 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
12609 | holder.BackgroundTransparency = 1 | |
12610 | holder.BorderSizePixel = 2 | |
12611 | holder.Position = UDim2.new(0, 0, 0, 10) | |
12612 | holder.Size = UDim2.new(0, 300, 0, 330) | |
12613 | holder.ZIndex = 2 | |
12614 | bar.Name = "bar" | |
12615 | bar.Parent = holder | |
12616 | bar.BackgroundColor3 = Color3.new(0, 0, 0) | |
12617 | bar.BackgroundTransparency = 0.89999997615814 | |
12618 | bar.BorderSizePixel = 0 | |
12619 | bar.Position = UDim2.new(0, 10, 1, -330) | |
12620 | bar.Size = UDim2.new(0, 480, 0, 33) | |
12621 | Title.Name = "Title" | |
12622 | Title.Parent = bar | |
12623 | Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
12624 | Title.BackgroundTransparency = 1 | |
12625 | Title.Size = UDim2.new(1, 0, 0, 30) | |
12626 | Title.Font = Enum.Font.SourceSansBold | |
12627 | Title.FontSize = Enum.FontSize.Size24 | |
12628 | Title.Text = "[Infinite Yield] Command List" | |
12629 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12630 | MAIN.Name = "MAIN" | |
12631 | MAIN.Parent = holder | |
12632 | MAIN.BackgroundColor3 = Color3.new(0, 0, 0) | |
12633 | MAIN.BackgroundTransparency = 0.89999997615814 | |
12634 | MAIN.BorderSizePixel = 0 | |
12635 | MAIN.Position = UDim2.new(0, 10, 1, -300) | |
12636 | MAIN.Size = UDim2.new(0, 480, 0, 550) | |
12637 | Example.Name = "Example" | |
12638 | Example.Parent = MAIN | |
12639 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12640 | Example.BackgroundTransparency = 1 | |
12641 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12642 | Example.BorderSizePixel = 0 | |
12643 | Example.Size = UDim2.new(0, 190, 0, 40) | |
12644 | Example.Visible = false | |
12645 | Example.Font = Enum.Font.SourceSansBold | |
12646 | Example.FontSize = Enum.FontSize.Size36 | |
12647 | Example.Text = "txt" | |
12648 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
12649 | Example.TextStrokeTransparency = 0 | |
12650 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
12651 | Example.ZIndex = 6 | |
12652 | CMDs.Name = "CMDs" | |
12653 | CMDs.Parent = MAIN | |
12654 | CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12655 | CMDs.BackgroundTransparency = 1 | |
12656 | CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12657 | CMDs.BorderSizePixel = 0 | |
12658 | CMDs.Size = UDim2.new(0, 480, 0, 550) | |
12659 | CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12660 | CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880) | |
12661 | CMDs.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12662 | CMDs.ScrollBarThickness = 15 | |
12663 | CMDs.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12664 | local CMDsV = CMDsFolder:GetChildren() | |
12665 | for i = 1, #CMDsV do | |
12666 | local YSize = 35 | |
12667 | local Position = ((i * YSize) - YSize) | |
12668 | local newcmd = Example:Clone() | |
12669 | newcmd.Parent = CMDs | |
12670 | newcmd.Visible = true | |
12671 | newcmd.Position = UDim2.new(0,10,0, Position + 1) | |
12672 | newcmd.Text = "" .. CMDsV[i].Value | |
12673 | CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end | |
12674 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
12675 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
12676 | PART.CFrame = newcf | |
12677 | speaker.Character.Humanoid.Died:connect(function() | |
12678 | PART:Destroy() end) | |
12679 | wait(1) | |
12680 | PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05) | |
12681 | PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05) | |
12682 | PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05) | |
12683 | if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end | |
12684 | table.insert(hastab, speaker.Name) movetab(speaker,PART) | |
12685 | else | |
12686 | if cmdOpen == true then | |
12687 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
12688 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
12689 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
12690 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
12691 | else | |
12692 | commands() searchbar() | |
12693 | end end | |
12694 | end) | |
12695 | cmdBAR.FocusLost:connect(function(enterpressed) | |
12696 | if enterpressed and cmdBAR.Text ~= "" then | |
12697 | spawn(function () | |
12698 | execCmd(cmdBAR.Text, Player) | |
12699 | end) | |
12700 | end | |
12701 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) | |
12702 | cmdBAR.BorderSizePixel = 1 | |
12703 | wait(0.1) | |
12704 | cmdBAR.BorderSizePixel = 0 | |
12705 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
12706 | end) | |
12707 | Mouse.KeyDown:connect(function(Key) | |
12708 | if (Key==cmdbarbind) then | |
12709 | cmdBAR:CaptureFocus() | |
12710 | cmdBAR.BorderSizePixel = 1 | |
12711 | wait(0.1) | |
12712 | cmdBAR.BorderSizePixel = 2 | |
12713 | end | |
12714 | end) | |
12715 | cmdBAR.Changed:connect(function (property) | |
12716 | if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) end | |
12717 | end) | |
12718 | cmdBAR:GetPropertyChangedSignal("Text"):Connect(function() | |
12719 | local diff = cmdBAR.TextBounds.X-250 | |
12720 | 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) | |
12721 | end) | |
12722 | cmdBAR.Focused:Connect(function() historyCount = 0 end) | |
12723 | game:GetService("UserInputService").InputBegan:Connect(function(input) | |
12724 | if not cmdBAR:IsFocused() then return end | |
12725 | if input.KeyCode == Enum.KeyCode.Up then | |
12726 | historyCount = historyCount + 1 | |
12727 | if historyCount > #cmdHistory then historyCount = #cmdHistory end | |
12728 | cmdBAR.Text = cmdHistory[historyCount] or "" | |
12729 | elseif input.KeyCode == Enum.KeyCode.Down then | |
12730 | historyCount = historyCount - 1 | |
12731 | if historyCount < 1 then historyCount = 1 end | |
12732 | cmdBAR.Text = cmdHistory[historyCount] or "" | |
12733 | end | |
12734 | end) | |
12735 | NOTIFY = DATA.Notification | |
12736 | NOTIFY.Parent = game.CoreGui | |
12737 | local usingNOTE = false | |
12738 | function Notify(msg) | |
12739 | spawn(function() | |
12740 | if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then | |
12741 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12742 | wait(0.5) | |
12743 | MusicPlayer:Hide() | |
12744 | if qopen == true then | |
12745 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12746 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12747 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12748 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12749 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false | |
12750 | NOTIFY.NOTIFY.NOTE.Text = msg | |
12751 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
12752 | if playerenabled == true then | |
12753 | wait(4) | |
12754 | if playerenabled == true then | |
12755 | MusicPlayer:Show() | |
12756 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12757 | end | |
12758 | end | |
12759 | else | |
12760 | NOTIFY.NOTIFY.NOTE.Text = msg | |
12761 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
12762 | if playerenabled == true then | |
12763 | wait(4) | |
12764 | if playerenabled == true then | |
12765 | MusicPlayer:Show() | |
12766 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12767 | end | |
12768 | end | |
12769 | end end end) end | |
12770 | 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 | |
12771 | 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) | |
12772 | 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 | |
12773 | 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 | |
12774 | 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) | |
12775 | ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0) | |
12776 | if aliasSave then | |
12777 | for i = 1, #aliasSave do | |
12778 | execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS) | |
12779 | end else | |
12780 | aliasSave = {} wait(0.1) updatefile() | |
12781 | for i = 1, #aliasSave do | |
12782 | execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS) | |
12783 | end end | |
12784 | Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quart", 1, true, nil) | |
12785 | commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false | |
12786 | local Logs = Instance.new("ScreenGui") | |
12787 | logdrag = Instance.new("Frame") | |
12788 | local PromptDialog = Instance.new("Frame") | |
12789 | local ContainerFrame = Instance.new("Frame") | |
12790 | local pos = Instance.new("Frame") | |
12791 | local clear = Instance.new("TextButton") | |
12792 | local scroll = Instance.new("ScrollingFrame") | |
12793 | local hl = Instance.new("Frame") | |
12794 | local whispers = Instance.new("Frame") | |
12795 | local CheckBox = Instance.new("ImageButton") | |
12796 | local box = Instance.new("TextButton") | |
12797 | local whispers_2 = Instance.new("TextLabel") | |
12798 | local chats = Instance.new("Frame") | |
12799 | local CheckBox_2 = Instance.new("ImageButton") | |
12800 | local box_2 = Instance.new("TextButton") | |
12801 | local chats_2 = Instance.new("TextLabel") | |
12802 | local commands = Instance.new("Frame") | |
12803 | local CheckBox_3 = Instance.new("ImageButton") | |
12804 | local box_3 = Instance.new("TextButton") | |
12805 | local commands_2 = Instance.new("TextLabel") | |
12806 | local shadow = Instance.new("Frame") | |
12807 | local Exit = Instance.new("TextButton") | |
12808 | local PopupText = Instance.new("TextLabel") | |
12809 | local Hide = Instance.new("TextButton") | |
12810 | Logs.Name = "Logs" | |
12811 | Logs.Parent = game.CoreGui | |
12812 | logdrag.Name = "drag" | |
12813 | logdrag.Parent = Logs | |
12814 | logdrag.Active = true | |
12815 | logdrag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12816 | logdrag.BackgroundTransparency = 1 | |
12817 | dragGUI(logdrag) | |
12818 | logdrag.Position = UDim2.new(0.5, -225, 0, -400) | |
12819 | logdrag.Size = UDim2.new(0, 438, 0, 26) | |
12820 | PromptDialog.Name = "PromptDialog" | |
12821 | PromptDialog.Parent = logdrag | |
12822 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12823 | PromptDialog.BackgroundTransparency = 1 | |
12824 | PromptDialog.BorderSizePixel = 0 | |
12825 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12826 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12827 | PromptDialog.ZIndex = 5 | |
12828 | PromptDialog.ClipsDescendants = true | |
12829 | ContainerFrame.Name = "ContainerFrame" | |
12830 | ContainerFrame.Parent = PromptDialog | |
12831 | ContainerFrame.BackgroundColor3 = maincolor | |
12832 | ContainerFrame.BackgroundTransparency = 0.5 | |
12833 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12834 | ContainerFrame.BorderSizePixel = 0 | |
12835 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12836 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12837 | ContainerFrame.ZIndex = 5 | |
12838 | pos.Name = "pos" | |
12839 | pos.Parent = ContainerFrame | |
12840 | pos.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
12841 | pos.BackgroundTransparency = 1 | |
12842 | pos.BorderColor3 = Color3.new(0, 0, 0) | |
12843 | pos.BorderSizePixel = 0 | |
12844 | pos.Position = UDim2.new(0, 10, 0, 9) | |
12845 | pos.Size = UDim2.new(0, 428, 0, 230) | |
12846 | pos.ZIndex = 5 | |
12847 | clear.Name = "clear" | |
12848 | clear.Parent = pos | |
12849 | clear.BackgroundColor3 = Color3.new(0, 0, 0) | |
12850 | clear.BackgroundTransparency = 0.80000001192093 | |
12851 | clear.BorderColor3 = Color3.new(1, 1, 1) | |
12852 | clear.Position = UDim2.new(0, 3, 0, 3) | |
12853 | clear.Size = UDim2.new(0, 70, 0, 20) | |
12854 | clear.ZIndex = 5 | |
12855 | clear.Font = Enum.Font.SourceSans | |
12856 | clear.FontSize = Enum.FontSize.Size14 | |
12857 | clear.Text = "Clear" | |
12858 | clear.TextColor3 = Color3.new(1, 1, 1) | |
12859 | scroll.Name = "scroll" | |
12860 | scroll.Parent = pos | |
12861 | scroll.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12862 | scroll.BackgroundTransparency = 1 | |
12863 | scroll.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12864 | scroll.BorderSizePixel = 0 | |
12865 | scroll.Size = UDim2.new(0, 413, 0, 193) | |
12866 | scroll.Position = UDim2.new(0.007, 0, 0.152, 0) | |
12867 | scroll.ZIndex = 5 | |
12868 | scroll.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12869 | scroll.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12870 | scroll.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12871 | scroll.ScrollBarThickness = 8 | |
12872 | scroll.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12873 | hl.Name = "hl" | |
12874 | hl.Parent = pos | |
12875 | hl.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
12876 | hl.BackgroundTransparency = 0.5 | |
12877 | hl.BorderColor3 = Color3.new(0, 0, 0) | |
12878 | hl.BorderSizePixel = 0 | |
12879 | hl.Position = UDim2.new(0, 2, 0, 35) | |
12880 | hl.Size = UDim2.new(0.799065411, 72, 0.839130461, 0) | |
12881 | hl.ZIndex = 5 | |
12882 | whispers.Name = "whispers" | |
12883 | whispers.Parent = pos | |
12884 | whispers.BackgroundColor3 = Color3.new(1, 1, 1) | |
12885 | whispers.BackgroundTransparency = 1 | |
12886 | whispers.Size = UDim2.new(0, 428, 0, 230) | |
12887 | CheckBox.Name = "CheckBox" | |
12888 | CheckBox.Parent = whispers | |
12889 | CheckBox.BackgroundTransparency = 1 | |
12890 | CheckBox.Position = UDim2.new(0.574635506, 0, 0, 2) | |
12891 | CheckBox.Size = UDim2.new(0, 20, 0, 20) | |
12892 | CheckBox.ZIndex = 6 | |
12893 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
12894 | box.Name = "box" | |
12895 | box.Parent = whispers | |
12896 | box.BackgroundColor3 = Color3.new(0, 0, 0) | |
12897 | box.BackgroundTransparency = 0.80000001192093 | |
12898 | box.BorderColor3 = Color3.new(1, 1, 1) | |
12899 | box.Position = UDim2.new(0, 172, 0, 3) | |
12900 | box.Size = UDim2.new(0, 94, 0, 20) | |
12901 | box.ZIndex = 5 | |
12902 | box.Font = Enum.Font.SourceSans | |
12903 | box.FontSize = Enum.FontSize.Size14 | |
12904 | box.Text = "" | |
12905 | box.TextColor3 = Color3.new(1, 1, 1) | |
12906 | whispers_2.Name = "whispers" | |
12907 | whispers_2.Parent = whispers | |
12908 | whispers_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
12909 | whispers_2.BackgroundTransparency = 1 | |
12910 | whispers_2.Position = UDim2.new(0, 172, 0, 3) | |
12911 | whispers_2.Size = UDim2.new(0.126168221, 20, -0.0434782617, 30) | |
12912 | whispers_2.ZIndex = 6 | |
12913 | whispers_2.Font = Enum.Font.SourceSansBold | |
12914 | whispers_2.FontSize = Enum.FontSize.Size14 | |
12915 | whispers_2.Text = "Whispers" | |
12916 | whispers_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12917 | chats.Name = "chats" | |
12918 | chats.Parent = pos | |
12919 | chats.BackgroundColor3 = Color3.new(1, 1, 1) | |
12920 | chats.BackgroundTransparency = 1 | |
12921 | chats.Size = UDim2.new(0, 428, 0, 230) | |
12922 | CheckBox_2.Name = "CheckBox" | |
12923 | CheckBox_2.Parent = chats | |
12924 | CheckBox_2.BackgroundTransparency = 1 | |
12925 | CheckBox_2.Position = UDim2.new(0.324635506, 0, 3.49245965e-08, 2) | |
12926 | CheckBox_2.Size = UDim2.new(0, 20, 0, 20) | |
12927 | CheckBox_2.ZIndex = 6 | |
12928 | CheckBox_2.Image = "http://www.roblox.com/asset/?id=65492641" | |
12929 | box_2.Name = "box" | |
12930 | box_2.Parent = chats | |
12931 | box_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
12932 | box_2.BackgroundTransparency = 0.80000001192093 | |
12933 | box_2.BorderColor3 = Color3.new(1, 1, 1) | |
12934 | box_2.Position = UDim2.new(0, 86, 0, 3) | |
12935 | box_2.Size = UDim2.new(0, 73, 0, 20) | |
12936 | box_2.ZIndex = 5 | |
12937 | box_2.Font = Enum.Font.SourceSans | |
12938 | box_2.FontSize = Enum.FontSize.Size14 | |
12939 | box_2.Text = "" | |
12940 | box_2.TextColor3 = Color3.new(1, 1, 1) | |
12941 | chats_2.Name = "chats" | |
12942 | chats_2.Parent = chats | |
12943 | chats_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
12944 | chats_2.BackgroundTransparency = 1 | |
12945 | chats_2.Position = UDim2.new(0, 86, 0, 2) | |
12946 | chats_2.Size = UDim2.new(0.0771028027, 20, -0.0434782617, 30) | |
12947 | chats_2.ZIndex = 6 | |
12948 | chats_2.Font = Enum.Font.SourceSansBold | |
12949 | chats_2.FontSize = Enum.FontSize.Size14 | |
12950 | chats_2.Text = "Chats" | |
12951 | chats_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12952 | commands.Name = "commands" | |
12953 | commands.Parent = pos | |
12954 | commands.BackgroundColor3 = Color3.new(1, 1, 1) | |
12955 | commands.BackgroundTransparency = 1 | |
12956 | commands.Size = UDim2.new(0, 428, 0, 230) | |
12957 | CheckBox_3.Name = "CheckBox" | |
12958 | CheckBox_3.Parent = commands | |
12959 | CheckBox_3.BackgroundTransparency = 1 | |
12960 | CheckBox_3.Position = UDim2.new(0.844495356, 0, 0, 2) | |
12961 | CheckBox_3.Size = UDim2.new(0, 20, 0, 20) | |
12962 | CheckBox_3.ZIndex = 6 | |
12963 | CheckBox_3.Image = "http://www.roblox.com/asset/?id=65492641" | |
12964 | box_3.Name = "box" | |
12965 | box_3.Parent = commands | |
12966 | box_3.BackgroundColor3 = Color3.new(0, 0, 0) | |
12967 | box_3.BackgroundTransparency = 0.80000001192093 | |
12968 | box_3.BorderColor3 = Color3.new(1, 1, 1) | |
12969 | box_3.Position = UDim2.new(0, 279, 0, 3) | |
12970 | box_3.Size = UDim2.new(0, 102, 0, 20) | |
12971 | box_3.ZIndex = 5 | |
12972 | box_3.Font = Enum.Font.SourceSans | |
12973 | box_3.FontSize = Enum.FontSize.Size14 | |
12974 | box_3.Text = "" | |
12975 | box_3.TextColor3 = Color3.new(1, 1, 1) | |
12976 | commands_2.Name = "commands" | |
12977 | commands_2.Parent = commands | |
12978 | commands_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
12979 | commands_2.BackgroundTransparency = 1 | |
12980 | commands_2.Position = UDim2.new(0, 279, 0, 3) | |
12981 | commands_2.Size = UDim2.new(0.144859806, 20, -0.0434782617, 30) | |
12982 | commands_2.ZIndex = 6 | |
12983 | commands_2.Font = Enum.Font.SourceSansBold | |
12984 | commands_2.FontSize = Enum.FontSize.Size14 | |
12985 | commands_2.Text = "Commands" | |
12986 | commands_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12987 | shadow.Name = "shadow" | |
12988 | shadow.Parent = PromptDialog | |
12989 | shadow.BackgroundColor3 = maincolor | |
12990 | shadow.BackgroundTransparency = 0.30000001192093 | |
12991 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12992 | shadow.BorderSizePixel = 0 | |
12993 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12994 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12995 | Exit.Name = "Exit" | |
12996 | Exit.Parent = shadow | |
12997 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12998 | Exit.BackgroundTransparency = 0.30000001192093 | |
12999 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
13000 | Exit.BorderSizePixel = 0 | |
13001 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
13002 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
13003 | Exit.FontSize = Enum.FontSize.Size14 | |
13004 | Exit.Text = "" | |
13005 | PopupText.Name = "PopupText" | |
13006 | PopupText.Parent = shadow | |
13007 | PopupText.BackgroundTransparency = 1 | |
13008 | PopupText.Position = UDim2.new(0, 61, 0, -5) | |
13009 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
13010 | PopupText.ZIndex = 6 | |
13011 | PopupText.Font = Enum.Font.SourceSansBold | |
13012 | PopupText.TextSize = 31 | |
13013 | PopupText.Text = "Logs" | |
13014 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13015 | PopupText.TextStrokeTransparency = 0 | |
13016 | PopupText.TextWrapped = true | |
13017 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
13018 | Hide.Name = "Hide" | |
13019 | Hide.Parent = shadow | |
13020 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
13021 | Hide.BackgroundTransparency = 0.30000001192093 | |
13022 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
13023 | Hide.BorderSizePixel = 0 | |
13024 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
13025 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
13026 | Hide.FontSize = Enum.FontSize.Size14 | |
13027 | Hide.Text = "" | |
13028 | checked = "http://www.roblox.com/asset/?id=65492641" | |
13029 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
13030 | if chatsV == true then | |
13031 | CheckBox_2.Image = checked else | |
13032 | CheckBox_2.Image = unchecked end | |
13033 | box_2.MouseButton1Down:connect(function() | |
13034 | if chatsV == true then chatsV = false | |
13035 | CheckBox_2.Image = unchecked updatefile() else | |
13036 | chatsV = true | |
13037 | CheckBox_2.Image = checked updatefile() end end) | |
13038 | if whispersV == true then | |
13039 | CheckBox.Image = checked else | |
13040 | CheckBox.Image = unchecked end | |
13041 | box.MouseButton1Down:connect(function() | |
13042 | if whispersV == true then whispersV = false | |
13043 | CheckBox.Image = unchecked updatefile() else | |
13044 | whispersV = true | |
13045 | CheckBox.Image = checked updatefile() end end) | |
13046 | if commandsV == true then | |
13047 | CheckBox_3.Image = checked else | |
13048 | CheckBox_3.Image = unchecked end | |
13049 | box_3.MouseButton1Down:connect(function() | |
13050 | if commandsV == true then commandsV = false | |
13051 | CheckBox_3.Image = unchecked updatefile() else | |
13052 | commandsV = true | |
13053 | CheckBox_3.Image = checked updatefile() end end) | |
13054 | clear.MouseButton1Down:connect(function() | |
13055 | for _, child in pairs( scroll:GetChildren()) do | |
13056 | child:Destroy() end | |
13057 | scroll.CanvasSize = UDim2.new(0, 0, 0, 10) | |
13058 | end) | |
13059 | Exit.MouseButton1Down:connect(function() | |
13060 | logdrag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
13061 | logsopen = false | |
13062 | end) | |
13063 | local hidden = false | |
13064 | Hide.MouseButton1Down:connect(function() | |
13065 | if hidden == false then hidden = true | |
13066 | ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
13067 | else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
13068 | end end) | |
13069 | function logtime() -- time function from aperture | |
13070 | local HOUR = math.floor((tick() % 86400) / 3600) | |
13071 | local MINUTE = math.floor((tick() % 3600) / 60) | |
13072 | local SECOND = math.floor(tick() % 60) | |
13073 | local AP = HOUR > 11 and 'PM' or 'AM' | |
13074 | HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12) | |
13075 | HOUR = HOUR < 10 and '0' .. HOUR or HOUR | |
13076 | MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE | |
13077 | SECOND = SECOND < 10 and '0' .. SECOND or SECOND | |
13078 | return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP end | |
13079 | function CreateLabel(Name, Text) | |
13080 | local sf = scroll | |
13081 | if #sf:GetChildren() >= 2546 then | |
13082 | sf:ClearAllChildren() | |
13083 | end | |
13084 | local alls = 0 | |
13085 | for i,v in pairs(sf:GetChildren()) do | |
13086 | if v then | |
13087 | alls = v.Size.Y.Offset + alls | |
13088 | end | |
13089 | if not v then | |
13090 | alls = 0 | |
13091 | end | |
13092 | end | |
13093 | local tl = Instance.new('TextLabel', sf) | |
13094 | local il = Instance.new('Frame', tl) | |
13095 | tl.Name = Name | |
13096 | tl.ZIndex = 6 | |
13097 | tl.Text = logtime().." - ["..Name.."]: "..Text | |
13098 | tl.Size = UDim2.new(0,410,0,84) | |
13099 | tl.BackgroundTransparency = 1 | |
13100 | tl.BorderSizePixel = 0 | |
13101 | tl.Font = "SourceSansBold" | |
13102 | tl.Position = UDim2.new(-1,0,0,alls) | |
13103 | tl.TextTransparency = 1 | |
13104 | tl.TextScaled = false | |
13105 | tl.TextSize = 14 | |
13106 | tl.TextWrapped = true | |
13107 | tl.TextXAlignment = "Left" | |
13108 | tl.TextYAlignment = "Top" | |
13109 | il.BackgroundTransparency = 1 | |
13110 | il.BorderSizePixel = 0 | |
13111 | il.Size = UDim2.new(0,12,1,0) | |
13112 | il.Position = UDim2.new(0,410,0,0) | |
13113 | tl.TextColor3 = Color3.fromRGB(255,255,255) | |
13114 | tl.Size = UDim2.new(0,410,0,tl.TextBounds.Y) | |
13115 | sf.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y) | |
13116 | sf.CanvasPosition = Vector2.new(0,sf.CanvasPosition.Y+tl.TextBounds.Y) | |
13117 | local size2 = sf.CanvasSize.Y.Offset | |
13118 | tl:TweenPosition(UDim2.new(0,0,0,alls), 'In', 'Quint', 0.5) | |
13119 | for i = 0,50 do wait(0.05) | |
13120 | tl.TextTransparency = tl.TextTransparency - 0.05 | |
13121 | end | |
13122 | tl.TextTransparency = 0 | |
13123 | end logsloaded = true | |
13124 | local intro = Instance.new("ScreenGui") | |
13125 | local Frame = Instance.new("Frame") | |
13126 | local Circle = Instance.new("ImageLabel") | |
13127 | local ImageLabel = Instance.new("ImageLabel") | |
13128 | intro.Name = "intro" | |
13129 | intro.Parent = game.CoreGui | |
13130 | Frame.Parent = intro | |
13131 | Frame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13132 | Frame.BackgroundTransparency = 1 | |
13133 | Frame.BorderSizePixel = 0 | |
13134 | Frame.ClipsDescendants = true | |
13135 | Frame.Position = UDim2.new(0.5, -125, 0.5, -125) | |
13136 | Frame.Size = UDim2.new(0, 250, 0, 250) | |
13137 | Circle.Name = "Circle" | |
13138 | Circle.Parent = Frame | |
13139 | Circle.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
13140 | Circle.BackgroundTransparency = 1 | |
13141 | Circle.BorderSizePixel = 0 | |
13142 | Circle.Position = UDim2.new(0.5, 0, 0.5, 0) | |
13143 | Circle.Image = "rbxassetid://631172870" | |
13144 | Circle.ImageColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13145 | ImageLabel.Parent = Frame | |
13146 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
13147 | ImageLabel.BackgroundTransparency = 1 | |
13148 | ImageLabel.BorderSizePixel = 0 | |
13149 | ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0) | |
13150 | ImageLabel.Image = "rbxassetid://1352543873" | |
13151 | Loading.ba:TweenSize(UDim2.new(0.35, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) | |
13152 | local g = intro | |
13153 | local f = Frame | |
13154 | local imagef = Circle | |
13155 | local logof = ImageLabel | |
13156 | loadedintro = false | |
13157 | local function tween2() | |
13158 | f:TweenSizeAndPosition(UDim2.new(0,250,0,250),UDim2.new(0.5,-125,0.5,-125), "Out", "Quart", 0.4) | |
13159 | wait(0.6) loadedintro = true end | |
13160 | local function tween1() | |
13161 | f:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150), "In", "Quart", 0.4, false, tween2) end | |
13162 | imagef:TweenSizeAndPosition(UDim2.new(3,0,3,0),UDim2.new(-1,0,-1,0), "Out", "Linear", 0.4) | |
13163 | logof:TweenSizeAndPosition(UDim2.new(1,0,1,0),UDim2.new(0,0,0,0), "Out", "Linear", 0.4, false, tween1) | |
13164 | if pcall(function() loadstring(game:HttpGet(('https://pastebin.com/raw/wcEw3rW9'),true))() end) then | |
13165 | if workspace.FilteringEnabled == true then | |
13166 | Notify('Filtering ENABLED '..ServerMessage) | |
13167 | elseif workspace.FilteringEnabled == false then | |
13168 | Notify('Filtering Disabled '..ServerMessage) | |
13169 | end | |
13170 | else | |
13171 | if workspace.FilteringEnabled == true then | |
13172 | Notify('Filtering ENABLED') | |
13173 | elseif | |
13174 | workspace.FilteringEnabled == false then | |
13175 | Notify('Filtering Disabled') | |
13176 | end | |
13177 | end | |
13178 | Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quart", 0.4, true, nil) | |
13179 | local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel") | |
13180 | local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel") | |
13181 | 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 | |
13182 | 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) | |
13183 | 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) | |
13184 | 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) | |
13185 | 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 | |
13186 | 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 | |
13187 | 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) | |
13188 | 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) | |
13189 | settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 220, 0, 0) | |
13190 | 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 | |
13191 | 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 | |
13192 | 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) | |
13193 | 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) | |
13194 | 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) | |
13195 | mix.Name = "mix" mix.Parent = sheild mix.BackgroundTransparency = 1 mix.Position = UDim2.new(0, 340, 0, 0) | |
13196 | 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) | |
13197 | 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 | |
13198 | lockic = Instance.new("ImageLabel") | |
13199 | lockic.Name = "lock" | |
13200 | lockic.Parent = iy | |
13201 | lockic.BackgroundColor3 = Color3.new(1, 1, 1) | |
13202 | lockic.BackgroundTransparency = 1 | |
13203 | lockic.ImageTransparency = 1 | |
13204 | lockic.BorderSizePixel = 0 | |
13205 | lockic.Position = UDim2.new(0, 53, 0, -3) | |
13206 | lockic.Size = UDim2.new(0, 40, 0, 40) | |
13207 | lockic.Image = "rbxassetid://1495252742" | |
13208 | 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) | |
13209 | 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 | |
13210 | Loading.ba:TweenSize(UDim2.new(0.7, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) quickmenu = game.CoreGui.RobloxGui.TopBarContainer.iy | |
13211 | 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) | |
13212 | 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 | |
13213 | 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) | |
13214 | 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) | |
13215 | PKR = picker.ColorPicker | |
13216 | local ColorPicker do | |
13217 | ColorPicker = {} | |
13218 | ||
13219 | ColorPicker.new = function() | |
13220 | local newMt = setmetatable({},{}) | |
13221 | ||
13222 | local pickerGui = picker.ColorPicker | |
13223 | local pickerTopBar = pickerGui.TopBar | |
13224 | local pickerFrame = pickerGui.Content | |
13225 | local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace | |
13226 | local colorStrip = pickerFrame.ColorStrip | |
13227 | local previewFrame = pickerFrame.Preview | |
13228 | local basicColorsFrame = pickerFrame.BasicColors | |
13229 | local customColorsFrame = pickerFrame.CustomColors | |
13230 | local okButton = pickerFrame.Ok | |
13231 | local cancelButton = pickerFrame.Cancel | |
13232 | local defaultButton = pickerFrame.Default | |
13233 | rainbowButton = pickerFrame.Rainbow | |
13234 | ||
13235 | local colorScope = colorSpace.Scope | |
13236 | local colorArrow = pickerFrame.ArrowFrame.Arrow | |
13237 | ||
13238 | local hueInput = pickerFrame.Hue.Input | |
13239 | local satInput = pickerFrame.Sat.Input | |
13240 | local valInput = pickerFrame.Val.Input | |
13241 | ||
13242 | local redInput = pickerFrame.Red.Input | |
13243 | local greenInput = pickerFrame.Green.Input | |
13244 | local blueInput = pickerFrame.Blue.Input | |
13245 | ||
13246 | local user = game:GetService("UserInputService") | |
13247 | local mouse = game:GetService("Players").LocalPlayer:GetMouse() | |
13248 | ||
13249 | local hue,sat,val = 0,0,1 | |
13250 | local red,green,blue = 1,1,1 | |
13251 | local chosenColor = Color3.new(0,0,0) | |
13252 | ||
13253 | 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)} | |
13254 | local customColors = {} | |
13255 | ||
13256 | local function updateColor(noupdate) | |
13257 | local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199 | |
13258 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13259 | ||
13260 | if noupdate == 2 or not noupdate then | |
13261 | hueInput.Text = tostring(math.ceil(359*hue)) | |
13262 | satInput.Text = tostring(math.ceil(255*sat)) | |
13263 | valInput.Text = tostring(math.floor(255*val)) | |
13264 | end | |
13265 | if noupdate == 1 or not noupdate then | |
13266 | redInput.Text = tostring(math.floor(255*red)) | |
13267 | greenInput.Text = tostring(math.floor(255*green)) | |
13268 | blueInput.Text = tostring(math.floor(255*blue)) | |
13269 | end | |
13270 | ||
13271 | chosenColor = Color3.new(red,green,blue) | |
13272 | ||
13273 | colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9) | |
13274 | colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1) | |
13275 | colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4) | |
13276 | previewFrame.BackgroundColor3 = chosenColor | |
13277 | ||
13278 | newMt.Color = chosenColor | |
13279 | if newMt.Changed then newMt:Changed(chosenColor) end | |
13280 | end | |
13281 | ||
13282 | local function colorSpaceInput() | |
13283 | local relativeX = mouse.X - colorSpace.AbsolutePosition.X | |
13284 | local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y | |
13285 | ||
13286 | if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end | |
13287 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end | |
13288 | ||
13289 | hue = (219 - relativeX)/219 | |
13290 | sat = (199 - relativeY)/199 | |
13291 | ||
13292 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13293 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13294 | ||
13295 | updateColor() | |
13296 | end | |
13297 | ||
13298 | local function colorStripInput() | |
13299 | local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y | |
13300 | ||
13301 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end | |
13302 | ||
13303 | val = (199 - relativeY)/199 | |
13304 | ||
13305 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13306 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13307 | ||
13308 | updateColor() | |
13309 | end | |
13310 | ||
13311 | local function hookButtons(frame,func) | |
13312 | frame.ArrowFrame.Up.InputBegan:Connect(function(input) | |
13313 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13314 | frame.ArrowFrame.Up.BackgroundTransparency = 0.5 | |
13315 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13316 | local releaseEvent,runEvent | |
13317 | ||
13318 | local startTime = tick() | |
13319 | local pressing = true | |
13320 | local startNum = tonumber(frame.Text) | |
13321 | ||
13322 | if not startNum then return end | |
13323 | ||
13324 | releaseEvent = user.InputEnded:Connect(function(input) | |
13325 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13326 | releaseEvent:Disconnect() | |
13327 | pressing = false | |
13328 | end) | |
13329 | ||
13330 | startNum = startNum + 1 | |
13331 | func(startNum) | |
13332 | while pressing do | |
13333 | if tick()-startTime > 0.3 then | |
13334 | startNum = startNum + 1 | |
13335 | func(startNum) | |
13336 | end | |
13337 | wait(0.1) | |
13338 | end | |
13339 | end | |
13340 | end) | |
13341 | ||
13342 | frame.ArrowFrame.Up.InputEnded:Connect(function(input) | |
13343 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13344 | frame.ArrowFrame.Up.BackgroundTransparency = 1 | |
13345 | end | |
13346 | end) | |
13347 | ||
13348 | frame.ArrowFrame.Down.InputBegan:Connect(function(input) | |
13349 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13350 | frame.ArrowFrame.Down.BackgroundTransparency = 0.5 | |
13351 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13352 | local releaseEvent,runEvent | |
13353 | ||
13354 | local startTime = tick() | |
13355 | local pressing = true | |
13356 | local startNum = tonumber(frame.Text) | |
13357 | ||
13358 | if not startNum then return end | |
13359 | ||
13360 | releaseEvent = user.InputEnded:Connect(function(input) | |
13361 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13362 | releaseEvent:Disconnect() | |
13363 | pressing = false | |
13364 | end) | |
13365 | ||
13366 | startNum = startNum - 1 | |
13367 | func(startNum) | |
13368 | while pressing do | |
13369 | if tick()-startTime > 0.3 then | |
13370 | startNum = startNum - 1 | |
13371 | func(startNum) | |
13372 | end | |
13373 | wait(0.1) | |
13374 | end | |
13375 | end | |
13376 | end) | |
13377 | ||
13378 | frame.ArrowFrame.Down.InputEnded:Connect(function(input) | |
13379 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13380 | frame.ArrowFrame.Down.BackgroundTransparency = 1 | |
13381 | end | |
13382 | end) | |
13383 | end | |
13384 | ||
13385 | colorSpace.InputBegan:Connect(function(input) | |
13386 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13387 | local releaseEvent,mouseEvent | |
13388 | ||
13389 | releaseEvent = user.InputEnded:Connect(function(input) | |
13390 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13391 | releaseEvent:Disconnect() | |
13392 | mouseEvent:Disconnect() | |
13393 | end) | |
13394 | ||
13395 | mouseEvent = user.InputChanged:Connect(function(input) | |
13396 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13397 | colorSpaceInput() | |
13398 | end | |
13399 | end) | |
13400 | ||
13401 | colorSpaceInput() | |
13402 | end | |
13403 | end) | |
13404 | ||
13405 | colorStrip.InputBegan:Connect(function(input) | |
13406 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13407 | local releaseEvent,mouseEvent | |
13408 | ||
13409 | releaseEvent = user.InputEnded:Connect(function(input) | |
13410 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13411 | releaseEvent:Disconnect() | |
13412 | mouseEvent:Disconnect() | |
13413 | end) | |
13414 | ||
13415 | mouseEvent = user.InputChanged:Connect(function(input) | |
13416 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13417 | colorStripInput() | |
13418 | end | |
13419 | end) | |
13420 | ||
13421 | colorStripInput() | |
13422 | end | |
13423 | end) | |
13424 | ||
13425 | local function updateHue(str) | |
13426 | local num = tonumber(str) | |
13427 | if num then | |
13428 | hue = math.clamp(math.floor(num),0,359)/359 | |
13429 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13430 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13431 | hueInput.Text = tostring(hue*359) | |
13432 | updateColor(1) | |
13433 | end | |
13434 | end | |
13435 | hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue) | |
13436 | ||
13437 | local function updateSat(str) | |
13438 | local num = tonumber(str) | |
13439 | if num then | |
13440 | sat = math.clamp(math.floor(num),0,255)/255 | |
13441 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13442 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13443 | satInput.Text = tostring(sat*255) | |
13444 | updateColor(1) | |
13445 | end | |
13446 | end | |
13447 | satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat) | |
13448 | ||
13449 | local function updateVal(str) | |
13450 | local num = tonumber(str) | |
13451 | if num then | |
13452 | val = math.clamp(math.floor(num),0,255)/255 | |
13453 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13454 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13455 | valInput.Text = tostring(val*255) | |
13456 | updateColor(1) | |
13457 | end | |
13458 | end | |
13459 | valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal) | |
13460 | ||
13461 | local function updateRed(str) | |
13462 | local num = tonumber(str) | |
13463 | if num then | |
13464 | red = math.clamp(math.floor(num),0,255)/255 | |
13465 | local newColor = Color3.new(red,green,blue) | |
13466 | hue,sat,val = Color3.toHSV(newColor) | |
13467 | redInput.Text = tostring(red*255) | |
13468 | updateColor(2) | |
13469 | end | |
13470 | end | |
13471 | redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed) | |
13472 | ||
13473 | local function updateGreen(str) | |
13474 | local num = tonumber(str) | |
13475 | if num then | |
13476 | green = math.clamp(math.floor(num),0,255)/255 | |
13477 | local newColor = Color3.new(red,green,blue) | |
13478 | hue,sat,val = Color3.toHSV(newColor) | |
13479 | greenInput.Text = tostring(green*255) | |
13480 | updateColor(2) | |
13481 | end | |
13482 | end | |
13483 | greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen) | |
13484 | ||
13485 | local function updateBlue(str) | |
13486 | local num = tonumber(str) | |
13487 | if num then | |
13488 | blue = math.clamp(math.floor(num),0,255)/255 | |
13489 | local newColor = Color3.new(red,green,blue) | |
13490 | hue,sat,val = Color3.toHSV(newColor) | |
13491 | blueInput.Text = tostring(blue*255) | |
13492 | updateColor(2) | |
13493 | end | |
13494 | end | |
13495 | blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue) | |
13496 | ||
13497 | local colorChoice = Instance.new("TextButton") | |
13498 | colorChoice.Name = "Choice" | |
13499 | colorChoice.Size = UDim2.new(0,25,0,18) | |
13500 | colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255) | |
13501 | colorChoice.Text = "" | |
13502 | colorChoice.AutoButtonColor = false | |
13503 | ||
13504 | local row = 0 | |
13505 | local column = 0 | |
13506 | for i,v in pairs(basicColors) do | |
13507 | local newColor = colorChoice:Clone() | |
13508 | newColor.BackgroundColor3 = v | |
13509 | newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row) | |
13510 | ||
13511 | newColor.MouseButton1Click:Connect(function() | |
13512 | red,green,blue = v.r,v.g,v.b | |
13513 | local newColor = Color3.new(red,green,blue) | |
13514 | hue,sat,val = Color3.toHSV(newColor) | |
13515 | updateColor() | |
13516 | end) | |
13517 | ||
13518 | newColor.Parent = basicColorsFrame | |
13519 | column = column + 1 | |
13520 | if column == 6 then row = row + 1 column = 0 end | |
13521 | end | |
13522 | ||
13523 | row = 0 | |
13524 | column = 0 | |
13525 | for i = 1,12 do | |
13526 | local color = customColors[i] or Color3.new(0,0,0) | |
13527 | local newColor = colorChoice:Clone() | |
13528 | newColor.BackgroundColor3 = color | |
13529 | newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row) | |
13530 | ||
13531 | newColor.MouseButton1Click:Connect(function() | |
13532 | local curColor = customColors[i] or Color3.new(0,0,0) | |
13533 | red,green,blue = curColor.r,curColor.g,curColor.b | |
13534 | hue,sat,val = Color3.toHSV(curColor) | |
13535 | updateColor() | |
13536 | end) | |
13537 | ||
13538 | newColor.MouseButton2Click:Connect(function() | |
13539 | customColors[i] = chosenColor | |
13540 | newColor.BackgroundColor3 = chosenColor | |
13541 | end) | |
13542 | ||
13543 | newColor.Parent = customColorsFrame | |
13544 | column = column + 1 | |
13545 | if column == 6 then row = row + 1 column = 0 end | |
13546 | end | |
13547 | ||
13548 | pickerTopBar.InputBegan:Connect(function(input) | |
13549 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13550 | local releaseEvent,mouseEvent | |
13551 | local dragOffX,dragOffY = mouse.X-pickerTopBar.AbsolutePosition.X,mouse.Y-pickerTopBar.AbsolutePosition.Y | |
13552 | ||
13553 | releaseEvent = user.InputEnded:Connect(function(input) | |
13554 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13555 | releaseEvent:Disconnect() | |
13556 | mouseEvent:Disconnect() | |
13557 | end) | |
13558 | ||
13559 | mouseEvent = user.InputChanged:Connect(function(input) | |
13560 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13561 | pickerGui.Position = UDim2.new(0,mouse.X-dragOffX,0,mouse.Y-dragOffY) | |
13562 | end | |
13563 | end) | |
13564 | end | |
13565 | end) | |
13566 | ||
13567 | okButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor) end wait(0.6) pickerGui.Visible = false end) | |
13568 | okButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0.4 end end) | |
13569 | okButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0 end end) | |
13570 | ||
13571 | cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end wait(0.6) pickerGui.Visible = false end) | |
13572 | cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end) | |
13573 | cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end) | |
13574 | ||
13575 | defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end wait(0.6) pickerGui.Visible = false end) | |
13576 | defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end) | |
13577 | defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end) | |
13578 | ||
13579 | rainbowButton.MouseButton1Click:Connect(function() if newMt.Rainbow then newMt:Rainbow() end end) | |
13580 | rainbowButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then rainbowButton.BackgroundTransparency = 0.4 end end) | |
13581 | rainbowButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then rainbowButton.BackgroundTransparency = 0 end end) | |
13582 | ||
13583 | updateColor() | |
13584 | ||
13585 | newMt.SetColor = function(self,color) | |
13586 | red,green,blue = color.r,color.g,color.b | |
13587 | hue,sat,val = Color3.toHSV(color) | |
13588 | updateColor() | |
13589 | end | |
13590 | ||
13591 | return newMt | |
13592 | end | |
13593 | end | |
13594 | local rainbowCount = 50 | |
13595 | local rainbowGuiActive = false | |
13596 | local rainbowreset = true | |
13597 | ||
13598 | spawn(function() | |
13599 | local colors = { | |
13600 | BrickColor.Red(), | |
13601 | BrickColor.Yellow(), | |
13602 | BrickColor.new('Lime green'), | |
13603 | BrickColor.new('Cyan'), | |
13604 | BrickColor.new('Dark indigo') | |
13605 | } | |
13606 | while wait() do | |
13607 | for i,v in pairs(colors) do | |
13608 | for num = 1,rainbowCount do | |
13609 | if rainbowGuiActive == true then | |
13610 | local mimic = i-1 | |
13611 | if not colors[mimic] then | |
13612 | mimic = #colors | |
13613 | end | |
13614 | mimic = colors[mimic] | |
13615 | updatecolors(mimic.Color:Lerp(v.Color,num/rainbowCount)) | |
13616 | elseif rainbowreset == false then | |
13617 | updatecolors(SAVEDCOLOR) | |
13618 | rainbowreset = true | |
13619 | end | |
13620 | wait() | |
13621 | end | |
13622 | end | |
13623 | end | |
13624 | end) | |
13625 | local picker = ColorPicker.new() | |
13626 | 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 | |
13627 | picker.Changed = function(self,color) updatecolors(color) end | |
13628 | picker.Rainbow = function(self) | |
13629 | if rainbowGuiActive == false then | |
13630 | rainbowGuiActive = true | |
13631 | rainbowButton.Text = 'Rainbow [Enabled]' | |
13632 | elseif rainbowGuiActive == true then | |
13633 | rainbowGuiActive = false | |
13634 | rainbowreset = false | |
13635 | rainbowButton.Text = 'Rainbow [Disabled]' | |
13636 | end end | |
13637 | picker.Cancel = function(self) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) updatecolors(SAVEDCOLOR) end | |
13638 | 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)) | |
13639 | colorR = 0.121569 colorG = 0.121569 colorB = 0.121569 SAVEDCOLOR = Color3.new(0.121569, 0.121569, 0.121569) updatefile() end | |
13640 | SAVEDCOLOR = Color3.new(colorR, colorG, colorB) | |
13641 | local sugg = Instance.new("ScreenGui") local suggestions = Instance.new("Frame") local Title = Instance.new("TextLabel") | |
13642 | local SUG = Instance.new("ScrollingFrame") sugg.Name = "sugg" sugg.Parent = game.CoreGui | |
13643 | suggestions.Name = "suggestions" suggestions.Parent = sugg suggestions.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13644 | suggestions.BackgroundTransparency = 0.5 suggestions.BorderColor3 = Color3.new(0, 0, 0) suggestions.BorderSizePixel = 0 | |
13645 | suggestions.ClipsDescendants = true suggestions.Position = UDim2.new(-0.000715821981, 1, 1.03197157, -200) suggestions.Size = UDim2.new(0, 300, 0, 182) | |
13646 | Title.Name = "Title" Title.Parent = suggestions Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) Title.BackgroundTransparency = 1 | |
13647 | Title.Size = UDim2.new(1, 0, 0, 30) Title.Font = Enum.Font.SourceSansBold Title.FontSize = Enum.FontSize.Size24 Title.Text = "Suggestions" | |
13648 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) SUG.Name = "SUG" SUG.Parent = suggestions | |
13649 | SUG.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BackgroundTransparency = 1 SUG.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
13650 | 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" | |
13651 | 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" | |
13652 | local CMDsV = CMDsFolder:GetChildren() for i = 1, #CMDsV do local YSize = 25 local Position = ((i * YSize) - YSize) local newcmd = Example:Clone() newcmd.Parent = SUG | |
13653 | 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 | |
13654 | local CSP2 = game.CoreGui.sugg.suggestions | |
13655 | local main2 = CSP2 | |
13656 | local frame2 = CSP2:WaitForChild('SUG') | |
13657 | Match2 = function(name,str) return name:lower():find(str:lower()) and true end | |
13658 | IndexContents2 = function(str,bool) | |
13659 | if suggestionstoggle == true then | |
13660 | if string.find(str, " ") then game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) else | |
13661 | local Index,SizeY = 0,0 | |
13662 | for i,v in next, frame2:GetChildren() do | |
13663 | if bool then | |
13664 | if Match2(v.Text,str) then | |
13665 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quad",0.3,true) | |
13666 | Index = Index + 1 | |
13667 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
13668 | v.Visible = true | |
13669 | SizeY = SizeY + v.AbsoluteSize.Y | |
13670 | frame2.CanvasSize = UDim2.new(0,0,0,SizeY) else v.Visible = false end else | |
13671 | v.Visible = true | |
13672 | SizeY = SizeY + v.AbsoluteSize.Y | |
13673 | frame2.CanvasSize = UDim2.new(0,0,0,SizeY) end end end end end | |
13674 | IndexContents2('',true) | |
13675 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) | |
13676 | Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quart", 0.4, true, nil) wait(1) | |
13677 | repeat wait() until loadedintro == true | |
13678 | logof:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.1) | |
13679 | wait(0.2) | |
13680 | f:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.2) | |
13681 | wait(0.3) g:Destroy() | |
13682 | updatecolors(Color3.new(colorR, colorG, colorB)) | |
13683 | Loading:TweenPosition(UDim2.new(0.25, 0, 1.5, 0), "InOut", "Quart", 0.5, true, nil) wait(0.5) Loading.Parent:Destroy() | |
13684 | if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("Chat") and gPlayers.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and | |
13685 | gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then | |
13686 | 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 | |
13687 | 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) | |
13688 | else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) end end end) end chatboxx() | |
13689 | gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar) | |
13690 | if newbar:FindFirstChild('BoxFrame') then | |
13691 | chatboxx() end end) | |
13692 | LP.PlayerGui.Chat.Frame.ChatChannelParentFrame.Frame_MessageLogDisplay.Scroller.CanvasPosition = Vector2.new(0, 9999999999999999999999999999999999999999999, 0, 0) | |
13693 | coroutine.resume(coroutine.create(function() | |
13694 | if script.ClassName == "LocalScript" then | |
13695 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
13696 | Text = "The prefix is '" .. cmdprefix .. "'"; | |
13697 | Color = Color3.new(255,255,255); | |
13698 | Font = Enum.Font.SourceSans; | |
13699 | FontSize = Enum.FontSize.Size24; | |
13700 | }) wait(0.5) | |
13701 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
13702 | Text = "Click IY on the top left to see more options"; | |
13703 | Color = Color3.new(255,255,255); | |
13704 | Font = Enum.Font.SourceSans; | |
13705 | FontSize = Enum.FontSize.Size24; | |
13706 | }) end end)) | |
13707 | else print('Custom chat detected. Will not provide suggestions for the chat.') end | |
13708 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13709 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13710 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13711 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13712 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13713 | qopen = false quickmenu.MouseButton1Click:connect(function() | |
13714 | if qopen == false then fadelock('off') NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
13715 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13716 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13717 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13718 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) MusicPlayer:Hide() | |
13719 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13720 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = true else | |
13721 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13722 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13723 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13724 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13725 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13726 | if slock == true then fadelock("rbxassetid://1495252742") elseif isagelocked == true then fadelock("rbxassetid://1495252495") end | |
13727 | 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) | |
13728 | quickmenu.sheild.cmds.MouseButton1Click:connect(function() if cmdOpen == true then | |
13729 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
13730 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
13731 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
13732 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
13733 | else runwindow() end end) | |
13734 | quickmenu.sheild.settings.MouseButton1Click:connect(function() hub() end) | |
13735 | infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true | |
13736 | Updates = Instance.new("ScreenGui") | |
13737 | dragg = Instance.new("Frame") | |
13738 | local PromptDialog = Instance.new("Frame") | |
13739 | local ContainerFrame = Instance.new("Frame") | |
13740 | local LOG = Instance.new("TextLabel") | |
13741 | local PopupText3 = Instance.new("TextLabel") | |
13742 | local PopupText4 = Instance.new("TextLabel") | |
13743 | local UTDV = Instance.new("TextLabel") | |
13744 | local PopupText5 = Instance.new("TextLabel") | |
13745 | local shadow = Instance.new("Frame") | |
13746 | Exitt = Instance.new("TextButton") | |
13747 | local PopupText = Instance.new("TextLabel") | |
13748 | local vers = Instance.new("TextLabel") | |
13749 | Updates.Name = "Updates" | |
13750 | Updates.Parent = game.CoreGui | |
13751 | dragg.Name = "drag" | |
13752 | dragg.Parent = Updates | |
13753 | dragg.Active = true | |
13754 | dragg.BackgroundColor3 = Color3.new(1, 1, 1) | |
13755 | dragg.BackgroundTransparency = 1 | |
13756 | dragGUI(dragg) | |
13757 | dragg.Position = UDim2.new(0.5, -225, 0, -600) | |
13758 | dragg.Size = UDim2.new(0, 438, 0, 26) | |
13759 | PromptDialog.Name = "PromptDialog" | |
13760 | PromptDialog.Parent = dragg | |
13761 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
13762 | PromptDialog.BackgroundTransparency = 1 | |
13763 | PromptDialog.BorderSizePixel = 0 | |
13764 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
13765 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
13766 | PromptDialog.ZIndex = 5 | |
13767 | ContainerFrame.Name = "ContainerFrame" | |
13768 | ContainerFrame.Parent = PromptDialog | |
13769 | ContainerFrame.BackgroundColor3 = maincolor | |
13770 | ContainerFrame.BackgroundTransparency = 0.5 | |
13771 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
13772 | ContainerFrame.BorderSizePixel = 0 | |
13773 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
13774 | ContainerFrame.Size = UDim2.new(1, 0, 0.8, 0) -- SIZE | |
13775 | ContainerFrame.ZIndex = 5 | |
13776 | LOG.Name = "LOG" | |
13777 | LOG.Parent = ContainerFrame | |
13778 | LOG.BackgroundTransparency = 1 | |
13779 | LOG.Position = UDim2.new(0, 8, 0, 110) | |
13780 | LOG.Size = UDim2.new(1, -16, 1, 0) | |
13781 | LOG.ZIndex = 10 | |
13782 | LOG.Font = Enum.Font.SourceSansBold | |
13783 | LOG.TextSize = 20 | |
13784 | 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" | |
13785 | LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13786 | LOG.TextStrokeTransparency = 0 | |
13787 | LOG.TextWrapped = true | |
13788 | LOG.TextYAlignment = Enum.TextYAlignment.Top | |
13789 | LOG.TextXAlignment = "Left" | |
13790 | PopupText3.Name = "PopupText3" | |
13791 | PopupText3.Parent = ContainerFrame | |
13792 | PopupText3.BackgroundTransparency = 1 | |
13793 | PopupText3.Position = UDim2.new(0, 8, 0, 35) | |
13794 | PopupText3.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13795 | PopupText3.ZIndex = 10 | |
13796 | PopupText3.Font = Enum.Font.SourceSansBold | |
13797 | PopupText3.TextSize = 20 | |
13798 | PopupText3.Text = "Edge - Moon" | |
13799 | PopupText3.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13800 | PopupText3.TextStrokeTransparency = 0 | |
13801 | PopupText3.TextWrapped = true | |
13802 | PopupText3.TextYAlignment = Enum.TextYAlignment.Top | |
13803 | PopupText4.Name = "PopupText4" | |
13804 | PopupText4.Parent = ContainerFrame | |
13805 | PopupText4.BackgroundTransparency = 1 | |
13806 | PopupText4.Position = UDim2.new(0, 8, 0, 50) | |
13807 | PopupText4.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13808 | PopupText4.ZIndex = 10 | |
13809 | PopupText4.Font = Enum.Font.SourceSansBold | |
13810 | PopupText4.FontSize = Enum.FontSize.Size18 | |
13811 | PopupText4.Text = "infyield.weebly.com - discord.me/infiniteyield" | |
13812 | PopupText4.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13813 | PopupText4.TextStrokeTransparency = 0 | |
13814 | PopupText4.TextWrapped = true | |
13815 | PopupText4.TextYAlignment = Enum.TextYAlignment.Top | |
13816 | UTDV.Name = "UTDV" | |
13817 | UTDV.Parent = ContainerFrame | |
13818 | UTDV.BackgroundTransparency = 1 | |
13819 | UTDV.Position = UDim2.new(0, 8, 0, 5) | |
13820 | UTDV.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13821 | UTDV.ZIndex = 10 | |
13822 | UTDV.Font = Enum.Font.SourceSansBold | |
13823 | UTDV.FontSize = Enum.FontSize.Size28 | |
13824 | UTDV.Text = "Up to date version: N/A" | |
13825 | UTDV.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13826 | UTDV.TextStrokeTransparency = 0 | |
13827 | UTDV.TextWrapped = true | |
13828 | UTDV.TextYAlignment = Enum.TextYAlignment.Top | |
13829 | PopupText5.Name = "PopupText5" | |
13830 | PopupText5.Parent = ContainerFrame | |
13831 | PopupText5.BackgroundTransparency = 1 | |
13832 | PopupText5.Position = UDim2.new(0, 8, 0, 75) | |
13833 | PopupText5.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13834 | PopupText5.ZIndex = 10 | |
13835 | PopupText5.Font = Enum.Font.SourceSansBold | |
13836 | PopupText5.FontSize = Enum.FontSize.Size28 | |
13837 | PopupText5.Text = "Update Log:" | |
13838 | PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13839 | PopupText5.TextStrokeTransparency = 0 | |
13840 | PopupText5.TextWrapped = true | |
13841 | PopupText5.TextYAlignment = Enum.TextYAlignment.Top | |
13842 | shadow.Name = "shadow" | |
13843 | shadow.Parent = PromptDialog | |
13844 | shadow.BackgroundColor3 = maincolor | |
13845 | shadow.BackgroundTransparency = 0.30000001192093 | |
13846 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
13847 | shadow.BorderSizePixel = 0 | |
13848 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
13849 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
13850 | Exitt.Name = "Exit" | |
13851 | Exitt.Parent = shadow | |
13852 | Exitt.BackgroundColor3 = Color3.new(1, 0, 0) | |
13853 | Exitt.BackgroundTransparency = 0.30000001192093 | |
13854 | Exitt.BorderColor3 = Color3.new(1, 0, 0) | |
13855 | Exitt.BorderSizePixel = 0 | |
13856 | Exitt.Position = UDim2.new(0, 415, 0, 3) | |
13857 | Exitt.Size = UDim2.new(0, 20, 0, 20) | |
13858 | Exitt.FontSize = Enum.FontSize.Size14 | |
13859 | Exitt.Text = "" | |
13860 | PopupText.Name = "PopupText" | |
13861 | PopupText.Parent = shadow | |
13862 | PopupText.BackgroundTransparency = 1 | |
13863 | PopupText.Position = UDim2.new(0, 61, 0, -2) | |
13864 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
13865 | PopupText.ZIndex = 110 | |
13866 | PopupText.Font = Enum.Font.SourceSansBold | |
13867 | PopupText.TextSize = 30 | |
13868 | PopupText.Text = "Information" | |
13869 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13870 | PopupText.TextStrokeTransparency = 0 | |
13871 | PopupText.TextWrapped = true | |
13872 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
13873 | vers.Name = "vers" | |
13874 | vers.Parent = shadow | |
13875 | vers.BackgroundTransparency = 1 | |
13876 | vers.Position = UDim2.new(0, 8, 0, 2) | |
13877 | vers.Size = UDim2.new(0.200913236, -16, 1.11538458, 0) | |
13878 | vers.ZIndex = 110 | |
13879 | vers.Font = Enum.Font.SourceSansBold | |
13880 | vers.TextSize = 20 | |
13881 | vers.Text = "v" .. Version | |
13882 | vers.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13883 | vers.TextStrokeTransparency = 0 | |
13884 | vers.TextWrapped = true | |
13885 | vers.TextXAlignment = Enum.TextXAlignment.Left | |
13886 | vers.TextYAlignment = Enum.TextYAlignment.Top | |
13887 | if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end | |
13888 | dragg:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) Exitt.MouseButton1Click:connect(function() | |
13889 | dragg:TweenPosition(UDim2.new(0.5, -225, 0, -600), "InOut", "Quart", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end) | |
13890 | quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end) end | |
13891 | ||
13892 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(01203480675) wait(0.3) | |
13893 | if not game.CoreGui:FindFirstChild('IYrun') then | |
13894 | running = Instance.new("BoolValue") running.Parent = game.CoreGui running.Name = 'IYrun' | |
13895 | if Asset.Name == "Infinite Yield " .. Version then UTD = true wait(0.5) run() else | |
13896 | UTD = false local Updates = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame") local shadow = Instance.new("Frame") local Exit = Instance.new("TextButton") | |
13897 | local title = Instance.new("TextLabel") local ContainerFrame = Instance.new("Frame") local a = Instance.new("TextLabel") local a2 = Instance.new("TextLabel") | |
13898 | local a3 = Instance.new("TextLabel") local a2_2 = Instance.new("TextLabel") local UPDATE = Instance.new("TextButton") local Line = Instance.new("Frame") | |
13899 | Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Updates PromptDialog.Active = true | |
13900 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0 | |
13901 | PromptDialog.Position = UDim2.new(0.5, -219, 0, 100) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8 shadow.Name = "shadow" | |
13902 | 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 | |
13903 | shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093 | |
13904 | 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 | |
13905 | Exit.Text = "" title.Name = "title" title.Parent = shadow title.BackgroundTransparency = 1 title.Position = UDim2.new(0, 8, 0, -4) | |
13906 | title.Size = UDim2.new(1, -16, 0.800000012, 0) title.ZIndex = 110 title.Font = Enum.Font.SourceSansBold title.TextSize = 30 | |
13907 | 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 | |
13908 | ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 31) | |
13909 | ContainerFrame.Size = UDim2.new(1, 0, 0.75, 0) ContainerFrame.ZIndex = 8 ContainerFrame.Style = Enum.FrameStyle.DropShadow a.Name = "a" a.Parent = ContainerFrame | |
13910 | 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 | |
13911 | 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 | |
13912 | 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) | |
13913 | 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." | |
13914 | 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 | |
13915 | 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 | |
13916 | 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 | |
13917 | 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) | |
13918 | 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'" | |
13919 | 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" | |
13920 | UPDATE.Parent = ContainerFrame UPDATE.BackgroundColor3 = Color3.new(0, 0, 0) UPDATE.BackgroundTransparency = 0.80000001192093 UPDATE.BorderColor3 = Color3.new(1, 1, 1) | |
13921 | UPDATE.Position = UDim2.new(0, 148, 0, 153) UPDATE.Size = UDim2.new(0, 126, 0, 40) UPDATE.ZIndex = 9 UPDATE.Font = Enum.Font.SourceSans | |
13922 | UPDATE.FontSize = Enum.FontSize.Size18 UPDATE.Text = "Update" UPDATE.TextColor3 = Color3.new(1, 1, 1) Line.Name = "Line" Line.Parent = PromptDialog | |
13923 | 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) | |
13924 | Line.Size = UDim2.new(0.926999986, 0, 0, 1) Line.ZIndex = 8 function Click(mouse) | |
13925 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4) | |
13926 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5) | |
13927 | Updates:Destroy() run() end Exit.MouseButton1Down:connect(Click) function Click(mouse) | |
13928 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4) | |
13929 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
13930 | for _, child in pairs(game.CoreGui:GetChildren()) do | |
13931 | if child.Name == "IYrun" then child:Destroy() end end wait(0.5) | |
13932 | Updates:Destroy() loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))() end UPDATE.MouseButton1Down:connect(Click) end | |
13933 | else print('Infinite Yield is already running.') end |