SHOW:
|
|
- or go back to the newest paste.
1 | - | --THIS SCRIPT HAS BEEN DISCONTINUED |
1 | + | |
2 | - | --Please use Infinite Yield FE |
2 | + | if game:GetService("RunService"):IsClient() then warn([[ok ur using this on void huh |
3 | - | --infyield.yolasite.com |
3 | + | U THINK UR SO COOL HUH |
4 | - | --discord.io/infiniteyield |
4 | + | VOID... |
5 | WHAT | |
6 | - | local GUI = Instance.new("ScreenGui") |
6 | + | BRUHHHHHH WHYYYYYYYY |
7 | - | local AnnGUI = Instance.new("Frame") |
7 | + | UR GONNA GET BANNED |
8 | - | local background = Instance.new("Frame") |
8 | + | use h/ |
9 | - | local TextBox = Instance.new("TextLabel") |
9 | + | ]]) end |
10 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
11 | local RealPlayer = Player | |
12 | do print("project byp4ss copied project k33pk00l.....")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 | |
13 | - | local ExitImage = Instance.new("ImageLabel") |
13 | + | |
14 | local Version = '9.5.3' | |
15 | - | GUI.Parent = game:GetService("CoreGui") |
15 | + | |
16 | SAVEFILE = { | |
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 | Mseconds = '7'; | |
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 | ||
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 | cmdprefix = CREATEFILE.cmdprefix | |
47 | suggestionstoggle = CREATEFILE.suggestionstoggle | |
48 | - | shadow.Parent = AnnGUI |
48 | + | |
49 | - | shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
49 | + | |
50 | Mseconds = CREATEFILE.Mseconds | |
51 | - | shadow.Size = UDim2.new(0, 360, 0, 20) |
51 | + | |
52 | - | shadow.ZIndex = 10 |
52 | + | |
53 | chatsV = CREATEFILE.chatsV | |
54 | whispersV = CREATEFILE.whispersV | |
55 | commandsV = CREATEFILE.commandsV | |
56 | aliasSave = CREATEFILE.aliasSave | |
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 | function Click(mouse) R_W:Destroy() | |
64 | for _, child in pairs(game.CoreGui:GetChildren()) do | |
65 | if child.Name == "IYrun" then | |
66 | child:Destroy() end end end | |
67 | - | Exit.BackgroundTransparency = 1 |
67 | + | |
68 | - | Exit.Position = UDim2.new(1, -20, 0, 0) |
68 | + | |
69 | local function sfile() | |
70 | local checktxt = readfile("IY.txt") | |
71 | - | Exit.ZIndex = 10 |
71 | + | |
72 | else return end end | |
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 | cmdprefix = LOADFILE.cmdprefix | |
81 | suggestionstoggle = LOADFILE.suggestionstoggle | |
82 | - | AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil) |
82 | + | |
83 | JLnotify = LOADFILE.JLnotify | |
84 | Mseconds = LOADFILE.Mseconds | |
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 | commandsV = LOADFILE.commandsV | |
90 | aliasSave = LOADFILE.aliasSave | |
91 | loaded = true else | |
92 | - | --script start |
92 | + | |
93 | - | --------------------------------------------------------------- |
93 | + | |
94 | - | --------------------------------------------------------------- |
94 | + | |
95 | - | -- _____ __ _ _ _ __ ___ _ _ -- |
95 | + | |
96 | - | -- |_ _| / _(_) (_) | \ \ / (_) | | | | -- |
96 | + | |
97 | - | -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | -- |
97 | + | |
98 | - | -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | -- |
98 | + | |
99 | - | -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | -- |
99 | + | |
100 | - | -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| -- |
100 | + | |
101 | - | -- -- |
101 | + | |
102 | - | --------------------------------------------------------------- |
102 | + | |
103 | - | ---------------------------Edge-Moon--------------------------- |
103 | + | |
104 | - | --------------------------------------------------------------- |
104 | + | |
105 | whispersV = false | |
106 | commandsV = false | |
107 | aliasSave = {} | |
108 | loaded = true | |
109 | end | |
110 | repeat wait() until loaded == true | |
111 | local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local Player = gPlayers.LocalPlayer | |
112 | 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={} | |
113 | 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 | |
114 | services.events = {} local user = gPlayers.LocalPlayer local bringT = {} agelock = nil isagelocked = false local scriptprefix='\\' | |
115 | local split=" " slock = false | |
116 | function updatefile() | |
117 | if writefileExploit() then | |
118 | local update = { | |
119 | colorR = colorR; | |
120 | colorG = colorG; | |
121 | colorB = colorB; | |
122 | cmdprefix = cmdprefix; | |
123 | suggestionstoggle = suggestionstoggle; | |
124 | allowfriends = allowfriends; | |
125 | JLnotify = JLnotify; | |
126 | Mseconds = Mseconds; | |
127 | Nfriends = Nfriends; | |
128 | cmdbarbind = cmdbarbind; | |
129 | chatsV = chatsV; | |
130 | whispersV = whispersV; | |
131 | commandsV = commandsV; | |
132 | aliasSave = aliasSave | |
133 | } | |
134 | local updated = HttpService:JSONEncode(update) | |
135 | wait(0.1) | |
136 | writefile("IY.txt", updated) end end | |
137 | function isNumber(str) | |
138 | return tonumber(str) ~= nil end | |
139 | function msghook() | |
140 | for _, child in pairs( workspace:GetChildren()) do | |
141 | if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then | |
142 | child.Name = "IYmessage" child.Text = '' MSGhook = true end end | |
143 | if workspace:FindFirstChild("IYmessage") then MSGhook = true | |
144 | else MSGhook = false end end | |
145 | game:GetService("RunService").RenderStepped:Connect(function() | |
146 | game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0) | |
147 | if r15noclip then | |
148 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end end | |
149 | if LP.Character and LP.Character:FindFirstChild('Humanoid') then | |
150 | LP.Character.Humanoid.Died:connect(function() FLYING = false end) | |
151 | if MSGhook == true and workspace:FindFirstChild("IYmessage") then | |
152 | if workspace.IYmessage.Text == '' then | |
153 | for _, child in pairs( LightingService:GetChildren()) do | |
154 | if child.Name == "IYmblur" then | |
155 | child:Destroy() end end end | |
156 | else MSGhook = false end | |
157 | for i,v in pairs(_players:GetPlayers()) do | |
158 | if FindTable(loopkillT, v.Name) then | |
159 | v.Character:BreakJoints() end | |
160 | if FindTable(disabletoolsT, v.Name) and v:FindFirstChild('Backpack') then | |
161 | v.Backpack:Destroy() | |
162 | for i,n in pairs(v.Character:GetChildren()) do | |
163 | if n:IsA('Tool') or n:IsA('HopperBin') then | |
164 | n:destroy() end end end | |
165 | if FindTable(rainbowT, v.Name) then | |
166 | v.Neutral = false | |
167 | v.TeamColor = BrickColor.random() | |
168 | end end end end) | |
169 | LightingService = game:GetService("Lighting") | |
170 | origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time = | |
171 | LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart} | |
172 | function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end | |
173 | function FindTable(Table, Name) | |
174 | for i,v in pairs(Table) do | |
175 | if v == Name then | |
176 | return true | |
177 | end end | |
178 | return false | |
179 | end | |
180 | function GetInTable(Table, Name) | |
181 | for i = 1, #Table do | |
182 | if Table[i] == Name then | |
183 | return i | |
184 | end end | |
185 | return false end | |
186 | _players.PlayerRemoving:connect(function(player) | |
187 | for a,b in pairs(injail) do if b == player.Name then table.remove(injail, a) workspace["JAIL_" .. player.Name]:Destroy() end end | |
188 | for a,b in pairs(hastab) do if b == player.Name then table.remove(hastab, a) workspace[player.Name .. "TAB"]:Destroy() end end | |
189 | if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then | |
190 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
191 | Title = player.Name, | |
192 | Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']', | |
193 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
194 | Duration = 5, | |
195 | }) | |
196 | elseif JLnotify == true and Nfriends == false then | |
197 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
198 | Title = player.Name, | |
199 | Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']', | |
200 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
201 | Duration = 5, | |
202 | }) | |
203 | end | |
204 | end) | |
205 | FLYING = false | |
206 | iyflyspeed = 1 | |
207 | function sFLY() -- from rocky2u cmdscript | |
208 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid') | |
209 | repeat wait() until Mouse | |
210 | ||
211 | local T = LP.Character.HumanoidRootPart | |
212 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
213 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
214 | local SPEED = 0 | |
215 | ||
216 | local function FLY() | |
217 | FLYING = true | |
218 | local BG = Instance.new('BodyGyro', T) | |
219 | local BV = Instance.new('BodyVelocity', T) | |
220 | BG.P = 9e4 | |
221 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
222 | BG.cframe = T.CFrame | |
223 | BV.velocity = Vector3.new(0, 0.1, 0) | |
224 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
225 | spawn(function() | |
226 | repeat wait() | |
227 | LP.Character.Humanoid.PlatformStand = true | |
228 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
229 | SPEED = 50 | |
230 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
231 | SPEED = 0 | |
232 | end | |
233 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
234 | 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 | |
235 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
236 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
237 | 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 | |
238 | else | |
239 | BV.velocity = Vector3.new(0, 0.1, 0) | |
240 | end | |
241 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
242 | until not FLYING | |
243 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
244 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
245 | SPEED = 0 | |
246 | BG:destroy() | |
247 | BV:destroy() | |
248 | LP.Character.Humanoid.PlatformStand = false | |
249 | end) | |
250 | end | |
251 | Mouse.KeyDown:connect(function(KEY) | |
252 | if KEY:lower() == 'w' then | |
253 | CONTROL.F = iyflyspeed | |
254 | elseif KEY:lower() == 's' then | |
255 | CONTROL.B = -iyflyspeed | |
256 | elseif KEY:lower() == 'a' then | |
257 | CONTROL.L = -iyflyspeed | |
258 | elseif KEY:lower() == 'd' then | |
259 | CONTROL.R = iyflyspeed | |
260 | end | |
261 | end) | |
262 | Mouse.KeyUp:connect(function(KEY) | |
263 | if KEY:lower() == 'w' then | |
264 | CONTROL.F = 0 | |
265 | elseif KEY:lower() == 's' then | |
266 | CONTROL.B = 0 | |
267 | elseif KEY:lower() == 'a' then | |
268 | CONTROL.L = 0 | |
269 | elseif KEY:lower() == 'd' then | |
270 | CONTROL.R = 0 | |
271 | end | |
272 | end) | |
273 | FLY() | |
274 | end | |
275 | function NOFLY() | |
276 | FLYING = false | |
277 | LP.Character.Humanoid.PlatformStand = false | |
278 | end | |
279 | HK = { | |
280 | '-HOTKEYS-', | |
281 | 'HOLD F2 - Click TP', | |
282 | 'F4 - Toggle Fly', | |
283 | 'F5 - Toggle Noclip', | |
284 | '-COMMANDS-' | |
285 | } | |
286 | CMDs = { | |
287 | 'addalias [cmd] [alias]', | |
288 | 'addstat [plr] [text]', | |
289 | 'admins', | |
290 | 'admin [plr]', | |
291 | 'agelock [age num]', | |
292 | 'addban [full username]', | |
293 | 'age [plr]', | |
294 | 'aliases', | |
295 | 'alien / ayylmao [plr]', | |
296 | 'ambient [R G B]', | |
297 | 'anchor', | |
298 | 'animation [plr] [anim]', | |
299 | 'arrest [plr]', | |
300 | 'bait', | |
301 | 'ball [plr]', | |
302 | 'bang [plr] [plr] / bang [plr]', | |
303 | 'bans', | |
304 | 'ban [plr]', | |
305 | 'base', | |
306 | 'begone / thot [plr]', | |
307 | 'bgui [plr] [text]', | |
308 | 'blackandwhite', | |
309 | 'bleach [plr]', | |
310 | 'blackify [plr]', | |
311 | 'blind [plr]', | |
312 | 'blur [num]', | |
313 | 'bomb [plr]', | |
314 | 'box [plr]', | |
315 | 'breakloops/break (cmd loops)', | |
316 | 'brightness [num]', | |
317 | 'bring [plr]', | |
318 | 'btools [plr]', | |
319 | 'burn [plr]', | |
320 | 'cape [plr] [R G B]', | |
321 | 'car [plr]', | |
322 | 'change [plr] [stat] [num]', | |
323 | 'charplr / cp [plr] [plr]', | |
324 | 'char [plr] [ID]', | |
325 | 'chat [plr] [msg]', | |
326 | 'chickenarms / chicken [plr]', | |
327 | 'clear', | |
328 | 'clip', | |
329 | 'clone [plr]', | |
330 | 'clraliases', | |
331 | 'clrbans', | |
332 | 'clrterrain', | |
333 | 'cmds', | |
334 | 'confuse [plr]', | |
335 | 'control [plr]', | |
336 | 'copytools / ctools [plr]', | |
337 | 'countdown [num]', | |
338 | 'crash [plr]', | |
339 | 'creeper [plr]', | |
340 | 'cripple [plr]', | |
341 | 'crucify [plr]', | |
342 | 'damage [plr]', | |
343 | 'dance [plr]', | |
344 | 'day', | |
345 | 'decalspam [ID]', | |
346 | 'deleteclass / dc [class name]', | |
347 | 'deletepos / dpos [name]', | |
348 | 'delete [part name]', | |
349 | 'devuzi', | |
350 | 'disablereset [plr]', | |
351 | 'disabletools [plr]', | |
352 | 'disable [plr]', | |
353 | 'disco', | |
354 | 'discomesh [plr]', | |
355 | 'distortsound / distort [num]', | |
356 | 'dog [plr]', | |
357 | 'dong [plr]', | |
358 | 'draw', | |
359 | 'duck [plr]', | |
360 | 'dummy [name]', | |
361 | 'earthquake [power] [intensity]', | |
362 | 'enablereset [plr]', | |
363 | 'enabletools [plr]', | |
364 | 'enable [plr]', | |
365 | 'esp [plr]', | |
366 | 'exit', | |
367 | 'explode [plr]', | |
368 | 'explorer / dex', | |
369 | 'f3x', | |
370 | 'face [plr] [ID]', | |
371 | 'fart [plr]', | |
372 | 'fat [plr]', | |
373 | 'fegod', | |
374 | 'feinvisible / feinvis', | |
375 | 'fekill [plr] (need a tool)', | |
376 | 'ff [plr]', | |
377 | 'filtering', | |
378 | 'fire [plr] [R G B]', | |
379 | 'firstp [plr]', | |
380 | 'fix', | |
381 | 'fixcam', | |
382 | 'fixlighting / fixl', | |
383 | 'flashlight [plr]', | |
384 | 'fling [plr]', | |
385 | 'float [plr]', | |
386 | 'flood', | |
387 | 'fly', | |
388 | 'flyspeed [num]', | |
389 | 'fogcolor [R G B]', | |
390 | 'fogend [num]', | |
391 | 'freecam / fc', | |
392 | 'freecamspeed / fcspeed [num]', | |
393 | 'freeze / fr [plr]', | |
394 | 'ghost [plr]', | |
395 | 'glass [plr]', | |
396 | 'globalshadows / gshadows', | |
397 | 'glowstick [plr] [R G B]', | |
398 | 'god [plr]', | |
399 | 'goto [plr]', | |
400 | 'gravity [num]', | |
401 | 'hang [plr]', | |
402 | 'hatsize [plr] [num]', | |
403 | 'hat [plr] [ID]', | |
404 | 'headshake [plr]', | |
405 | 'headsize [plr] [num]', | |
406 | 'heal [plr]', | |
407 | 'hidename [plr]', | |
408 | 'hideplaylist / hideplayer', | |
409 | 'hipheight / hheight [plr] [num]', | |
410 | 'hub', | |
411 | 'infect [plr]', | |
412 | 'insert [ID/name]', | |
413 | 'invert', | |
414 | 'invisible / invis [plr]', | |
415 | 'invisibleff / invisff [plr]', | |
416 | 'iyspam', | |
417 | 'jail [plr]', | |
418 | 'jumppower / jpower [plr] [num]', | |
419 | 'jump [plr]', | |
420 | 'keeptools / ktools [plr]', | |
421 | 'keybind [key] [cmd]', | |
422 | 'kick [plr]', | |
423 | 'kidnap [plr]', | |
424 | 'kill [plr]', | |
425 | 'knife', | |
426 | 'knuckles [plr]', | |
427 | 'light [plr] [R G B]', | |
428 | 'loadm', | |
429 | 'loadmap [ID]', | |
430 | 'loadpos / lpos [plr] [name]', | |
431 | 'lockws', | |
432 | 'lock [plr]', | |
433 | 'logs', | |
434 | 'longneck [plr]', | |
435 | 'loopbring [plr]', | |
436 | 'loopheal [plr]', | |
437 | 'loopjump / ljump [plr]', | |
438 | 'loopkill [plr]', | |
439 | 'loopname / lname [plr]', | |
440 | 'loopoof', | |
441 | 'loopsit / lsit [plr]', | |
442 | 'mage', | |
443 | 'maxhealth [plr] [num]', | |
444 | 'maxzoom [plr] [num]', | |
445 | 'mesh [plr] [mesh] [texture]', | |
446 | 'message / m [msg]', | |
447 | 'meteor/asteroid [plr]', | |
448 | 'naked [plr]', | |
449 | 'name [plr]', | |
450 | 'neon [plr]', | |
451 | 'nextsong', | |
452 | 'night', | |
453 | 'nil [plr]', | |
454 | 'noarms [plr]', | |
455 | 'nobox [plr]', | |
456 | 'noclip', | |
457 | 'noclones [plr]', | |
458 | 'nodong [plr]', | |
459 | 'nodummies', | |
460 | 'noesp [plr]', | |
461 | 'noglobalshadows / nogshadows', | |
462 | 'nokeeptools / noktools [plr]', | |
463 | 'nolimbs [plr]', | |
464 | 'nooutlines', | |
465 | 'noparticles [plr]', | |
466 | 'noplrsound [plr]', | |
467 | 'norain', | |
468 | 'notools [plr]', | |
469 | 'nuke [plr]', | |
470 | 'os [plr]', | |
471 | 'offset [plr] [coordinate]', | |
472 | 'outlines', | |
473 | 'paper [plr]', | |
474 | 'partdisco', | |
475 | 'particles [plr] [ID]', | |
476 | 'pipetp [plr] [plr]', | |
477 | 'pitch [num]', | |
478 | 'playhash / hash [hash]', | |
479 | 'playlist / player [ID],[ID]...', | |
480 | 'plrsound [plr] [ID]', | |
481 | 'positions / pos', | |
482 | 'prefix [string]', | |
483 | 'prevsong', | |
484 | 'punish [plr]', | |
485 | 'rainbowname [plr]', | |
486 | 'rainbow [plr]', | |
487 | 'rain [mesh] [texture]', | |
488 | 'refresh / re [plr]', | |
489 | 'rejoin', | |
490 | 'remotespy', | |
491 | 'removealias [alias]', | |
492 | 'removebait / nobait', | |
493 | 'rgui', | |
494 | 'removehats / rhats [plr]', | |
495 | 'removespawns', | |
496 | 'respawn [plr]', | |
497 | 'restoremap / rmap', | |
498 | 'rocket [plr]', | |
499 | 'savelighting / slighting', | |
500 | 'savemap / smap', | |
501 | 'savepos / spos [name]', | |
502 | 'script [script]', | |
503 | 'seagull / gull [plr]', | |
504 | 'seizure [plr]', | |
505 | 'serverinfo / info', | |
506 | 'serverlock / slock', | |
507 | 'servermessage / sm [msg]', | |
508 | 'sethealth [plr] [num]', | |
509 | 'setsong [num]', | |
510 | 'settings', | |
511 | 'sgod [plr]', | |
512 | 'shiny [plr]', | |
513 | 'shrek [plr]', | |
514 | 'shutdown', | |
515 | 'sit [plr]', | |
516 | 'size [plr] [num]', | |
517 | 'skydive [plr]', | |
518 | 'skygif [ID],[ID]... [interval]', | |
519 | 'sky [ID]', | |
520 | 'smite [plr]', | |
521 | 'smoke [plr]', | |
522 | 'sound / music [ID/name]', | |
523 | 'sparkles / sp [plr] [R G B]', | |
524 | 'spasm [plr]', | |
525 | 'spawnpoint [plr]', | |
526 | 'spectate / view [plr]', | |
527 | 'speed / ws [plr] [num]', | |
528 | 'sphere [plr]', | |
529 | 'spin [plr]', | |
530 | 'spookyify', | |
531 | 'starman [plr]', | |
532 | 'strength [plr]', | |
533 | 'strobe', | |
534 | 'stun [plr]', | |
535 | 'sun [intense] [spread]', | |
536 | 'sword [plr]', | |
537 | 'tablet', | |
538 | 'team [plr] [team]', | |
539 | 'terrain', | |
540 | 'thaw / unfr [plr]', | |
541 | 'thirdp [plr]', | |
542 | 'time [num]', | |
543 | 'tools [plr]', | |
544 | 'torso [plr]', | |
545 | 'tppos [plr] [coordinate]', | |
546 | 'tp [plr] [plr]', | |
547 | 'trail [plr] [R G B]', | |
548 | 'trip [plr]', | |
549 | 'unadmin [plr]', | |
550 | 'unagelock', | |
551 | 'unanchor', | |
552 | 'unball [plr]', | |
553 | 'unban [plr]', | |
554 | 'unbgui [plr]', | |
555 | 'unblind [plr]', | |
556 | 'unblur', | |
557 | 'uncape [plr]', | |
558 | 'uncar [plr]', | |
559 | 'unchar [plr]', | |
560 | 'unconfuse [plr]', | |
561 | 'uncreeper [plr]', | |
562 | 'uncripple [plr]', | |
563 | 'undecalspam', | |
564 | 'undisco', | |
565 | 'undog [plr]', | |
566 | 'unduck [plr]', | |
567 | 'unff [plr]', | |
568 | 'unfire [plr]', | |
569 | 'unfloat [plr]', | |
570 | 'unfly', | |
571 | 'unfreecam / unfc', | |
572 | 'unghost [plr]', | |
573 | 'ungod [plr]', | |
574 | 'unhidename [plr]', | |
575 | 'uninfect [plr]', | |
576 | 'unjail [plr]', | |
577 | 'unkeybind [key]', | |
578 | 'unlight [plr]', | |
579 | 'unlockws', | |
580 | 'unlock [plr]', | |
581 | 'unlongneck [plr]', | |
582 | 'unloopbring [plr]', | |
583 | 'unloopheal [plr]', | |
584 | 'unloopjump / unljump [plr]', | |
585 | 'unloopkill [plr]', | |
586 | 'unloopname / unlname [plr]', | |
587 | 'unloopoof', | |
588 | 'unloopsit / unlsit [plr]', | |
589 | 'unname [plr]', | |
590 | 'unpartdisco', | |
591 | 'unpunish [plr]', | |
592 | 'unrainbowname [plr]', | |
593 | 'unseizure [plr]', | |
594 | 'unserverlock / unslock', | |
595 | 'unshrek [plr]', | |
596 | 'unskygif', | |
597 | 'unsmoke [plr]', | |
598 | 'unsparkles / unsp [plr]', | |
599 | 'unspectate / unview', | |
600 | 'unsphere [plr]', | |
601 | 'unspin [plr]', | |
602 | 'unstarman [plr]', | |
603 | 'unstrength [plr]', | |
604 | 'unstrobe', | |
605 | 'unstun [plr]', | |
606 | 'untrail [plr]', | |
607 | 'unweaken [plr]', | |
608 | 'version', | |
609 | 'visible / vis [plr]', | |
610 | 'volume / vol [num]', | |
611 | 'weaken [plr]', | |
612 | 'whiteify [plr]', | |
613 | 'zinnia [plr]' | |
614 | } | |
615 | 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 | |
616 | ||
617 | std.inTable=function(tbl,val) | |
618 | if tbl==nil then return false end | |
619 | ||
620 | for _,v in pairs(tbl)do | |
621 | if v==val then return true end | |
622 | end | |
623 | return false | |
624 | end | |
625 | std.out=function(str) | |
626 | print(str) | |
627 | end | |
628 | std.list=function(tbl) | |
629 | local str='' | |
630 | for i,v in pairs(tbl)do | |
631 | str=str..tostring(v) | |
632 | if i~=#tbl then str=str..', ' end | |
633 | end | |
634 | return str | |
635 | end | |
636 | std.endat=function(str,val) | |
637 | local z=str:find(val) | |
638 | if z then | |
639 | return str:sub(0,z-string.len(val)),true | |
640 | else | |
641 | return str,false | |
642 | end | |
643 | end | |
644 | std.first=function(str) return str:sub(1,1) end | |
645 | ||
646 | function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end | |
647 | ||
648 | local exec=function(str) | |
649 | spawn(function() | |
650 | local script, loaderr = loadstring(str) | |
651 | if not script then | |
652 | error(loaderr) | |
653 | else | |
654 | script() | |
655 | end | |
656 | end) | |
657 | end | |
658 | local findCmd=function(cmd_name) | |
659 | for i,v in pairs(cmds)do | |
660 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then | |
661 | return v | |
662 | end | |
663 | end | |
664 | end | |
665 | local getCmd=function(msg) | |
666 | local cmd,hassplit=std.endat(msg:lower(),split) | |
667 | if hassplit then | |
668 | return {cmd,true} | |
669 | else | |
670 | return {cmd,false} | |
671 | end | |
672 | end | |
673 | local getprfx=function(strn) | |
674 | if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1} | |
675 | elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1} | |
676 | end return | |
677 | end | |
678 | function dragGUI(gui) | |
679 | spawn(function() | |
680 | local UserInputService = game:GetService("UserInputService") | |
681 | local dragging | |
682 | local dragInput | |
683 | local dragStart | |
684 | local startPos | |
685 | local function update(input) | |
686 | local delta = input.Position - dragStart | |
687 | 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) | |
688 | end | |
689 | gui.InputBegan:Connect(function(input) | |
690 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
691 | dragging = true | |
692 | dragStart = input.Position | |
693 | startPos = gui.Position | |
694 | ||
695 | input.Changed:Connect(function() | |
696 | if input.UserInputState == Enum.UserInputState.End then | |
697 | dragging = false | |
698 | end | |
699 | end) | |
700 | end | |
701 | end) | |
702 | gui.InputChanged:Connect(function(input) | |
703 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then | |
704 | dragInput = input | |
705 | end | |
706 | end) | |
707 | UserInputService.InputChanged:Connect(function(input) | |
708 | if input == dragInput and dragging then | |
709 | update(input) | |
710 | end | |
711 | end) | |
712 | end) | |
713 | end | |
714 | maincolor = Color3.new(colorR, colorG, colorB) | |
715 | function updatecolors(color) | |
716 | colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b | |
717 | maincolor = color | |
718 | for _, child in pairs( game.CoreGui.RobloxGui:GetChildren()) do | |
719 | if child.Name == "TopBarContainer" then | |
720 | child.BackgroundColor3 = color | |
721 | end end | |
722 | FeedbackMain.BackgroundColor3 = maincolor | |
723 | MAIN.BackgroundColor3 = maincolor | |
724 | bar.BackgroundColor3 = maincolor | |
725 | game.CoreGui.sugg.suggestions.BackgroundColor3 = color | |
726 | if game.CoreGui:FindFirstChild('Updates') then | |
727 | game.CoreGui.Updates.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
728 | game.CoreGui.Updates.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
729 | if game.CoreGui:FindFirstChild('Sinfo') then | |
730 | game.CoreGui.Sinfo.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
731 | game.CoreGui.Sinfo.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
732 | if game.CoreGui:FindFirstChild('cp') then | |
733 | game.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color | |
734 | game.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color | |
735 | game.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color end | |
736 | if game.CoreGui:FindFirstChild('Bans') then | |
737 | game.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
738 | game.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
739 | if game.CoreGui:FindFirstChild('Pos') then | |
740 | game.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
741 | game.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
742 | if game.CoreGui:FindFirstChild('Admins') then | |
743 | game.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
744 | game.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
745 | if game.CoreGui:FindFirstChild('Logs') then | |
746 | game.CoreGui.Logs.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
747 | game.CoreGui.Logs.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
748 | if game.CoreGui:FindFirstChild('Aliases') then | |
749 | game.CoreGui.Aliases.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
750 | game.CoreGui.Aliases.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
751 | for _, child in pairs( game.CoreGui:GetChildren()) do | |
752 | if child.Name == "Models" then | |
753 | game.CoreGui.Models.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
754 | game.CoreGui.Models.drag.PromptDialog.shadow.BackgroundColor3 = color | |
755 | end | |
756 | end | |
757 | for _, child in pairs( game.CoreGui:GetChildren()) do | |
758 | if child.Name == "Audios" then | |
759 | game.CoreGui.Audios.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
760 | game.CoreGui.Audios.drag.PromptDialog.shadow.BackgroundColor3 = color | |
761 | end | |
762 | end | |
763 | end | |
764 | ||
765 | function respawn(plr) | |
766 | local M = Instance.new('Model', workspace) M.Name = 'respawn_iy' | |
767 | local H = Instance.new('Humanoid', M) | |
768 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 | |
769 | plr.Character = M end | |
770 | ||
771 | local dummy = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1498924930") | |
772 | WL = {'IoIman616','Conceptual_Nullifier','Thomasbudge','N3xuI','MoonlightTears','DesiredUsername1233','marie',LP.Name} | |
773 | function kickF(plr) | |
774 | spawn(function() | |
775 | if plr.Parent ~= nil then | |
776 | if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else | |
777 | local newChar = dummy:Clone() newChar.Parent = workspace | |
778 | newChar.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
779 | for i = 1,4 do | |
780 | local Plat = Instance.new('SkateboardPlatform', newChar) | |
781 | Plat.Position = newChar.HumanoidRootPart.Position | |
782 | Plat.Name = 'IYplat' | |
783 | Plat.Size = Vector3.new(10, 1.2, 10) | |
784 | Plat.Transparency = 1 end | |
785 | plr.Character = newChar | |
786 | local PART = Instance.new('Part', newChar) | |
787 | PART.CFrame = newChar.HumanoidRootPart.CFrame - Vector3.new(0, 3, 0) | |
788 | PART.Size = Vector3.new(10, 1.2, 10) | |
789 | PART.Anchored = true | |
790 | PART.Transparency = 1 | |
791 | if newChar:FindFirstChild("SkateboardPlatform") then | |
792 | newChar.SkateboardPlatform.CFrame = newChar.HumanoidRootPart.CFrame end | |
793 | wait(0.4) | |
794 | if newChar then newChar:Destroy() end | |
795 | kickF(plr) end | |
796 | end end) end | |
797 | ||
798 | function refresh(plr) | |
799 | spawn(function() | |
800 | local rpos = plr.Character.HumanoidRootPart.Position | |
801 | wait(0.1) plr.Character:Destroy() respawn(plr) wait(0.1) | |
802 | repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart') | |
803 | plr.Character:MoveTo(rpos) end) end | |
804 | ||
805 | 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 | |
806 | 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 | |
807 | _players.PlayerAdded:connect(function(player) | |
808 | if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then | |
809 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
810 | Title = player.Name, | |
811 | Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']', | |
812 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
813 | Duration = 5, | |
814 | }) | |
815 | elseif JLnotify == true and Nfriends == false then | |
816 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
817 | Title = player.Name, | |
818 | Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']', | |
819 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
820 | Duration = 5, | |
821 | }) | |
822 | end | |
823 | if slock == true and allowfriends == false then player.CharacterAdded:connect(function() | |
824 | spawn(function() | |
825 | repeat wait() until player.Character | |
826 | kickF(player) | |
827 | end) | |
828 | end) | |
829 | elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then | |
830 | spawn(function() | |
831 | repeat wait() until player.Character | |
832 | kickF(player) | |
833 | end) | |
834 | end | |
835 | if FindTable(banT, player.userId) then | |
836 | spawn(function() | |
837 | repeat wait() until player.Character | |
838 | Notify('Banned player, ' .. player.Name .. ' attempted to join') | |
839 | kickF(player) | |
840 | end) | |
841 | end | |
842 | if isagelocked == true and allowfriends == false and player.AccountAge <= agelock then | |
843 | spawn(function() | |
844 | repeat wait() until player.Character | |
845 | kickF(player) | |
846 | end) | |
847 | else | |
848 | if isagelocked == true and allowfriends == true and not player:IsFriendsWith(user.userId) and player.AccountAge <= agelock then | |
849 | spawn(function() | |
850 | repeat wait() until player.Character | |
851 | kickF(player) | |
852 | end) | |
853 | end | |
854 | end | |
855 | end) | |
856 | local customAlias = {} | |
857 | local findCmd=function(cmd_name) | |
858 | for i,v in pairs(cmds)do | |
859 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then | |
860 | return v | |
861 | end | |
862 | end | |
863 | return customAlias[cmd_name:lower()] | |
864 | end | |
865 | local function splitString(str,delim) | |
866 | local broken = {} | |
867 | if delim == nil then delim = "," end | |
868 | for w in string.gmatch(str,"[^"..delim.."]+") do | |
869 | table.insert(broken,w) | |
870 | end | |
871 | return broken | |
872 | end | |
873 | local historyCount = 0 | |
874 | local cmdHistory = {} | |
875 | lastBreakTime = 0 | |
876 | local function execCmd(cmdStr,speaker) | |
877 | local rawCmdStr = cmdStr | |
878 | cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%") | |
879 | local commandsToRun = splitString(cmdStr,"\\") | |
880 | for i,v in pairs(commandsToRun) do | |
881 | v = string.gsub(v,"%%BackSlash%%","\\") | |
882 | local x,y,num = v:find("^(%d+)%^") | |
883 | local cmdDelay = 0 | |
884 | if num then | |
885 | v = v:sub(y+1) | |
886 | local x,y,del = v:find("^([%d%.]+)%^") | |
887 | if del then | |
888 | v = v:sub(y+1) | |
889 | cmdDelay = tonumber(del) or 0 | |
890 | end | |
891 | end | |
892 | num = tonumber(num or 1) | |
893 | local args = splitString(v,split) | |
894 | local cmd = findCmd(args[1]) | |
895 | if cmd then | |
896 | table.remove(args,1) | |
897 | cargs = args | |
898 | if speaker == gPlayers.LocalPlayer then | |
899 | if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end | |
900 | end | |
901 | if #cmdHistory > 20 then table.remove(cmdHistory) end | |
902 | local cmdStartTime = tick() | |
903 | for rep = 1,num do | |
904 | if lastBreakTime > cmdStartTime then break end | |
905 | pcall(function() | |
906 | cmd.FUNC(args, speaker) | |
907 | end) | |
908 | if cmdDelay ~= 0 then wait(cmdDelay) end | |
909 | end | |
910 | end | |
911 | end | |
912 | end | |
913 | logsloaded = false | |
914 | ChatLog = function(plr) | |
915 | plr.Chatted:Connect(function(Message) | |
916 | if logsloaded == true then | |
917 | if whispersV == true and Message:lower():sub(1,2) == '/w' then | |
918 | CreateLabel(plr.Name,Message) | |
919 | elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,1) == cmdprefix then | |
920 | CreateLabel(plr.Name,Message) | |
921 | elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,4) == '/e '..cmdprefix then | |
922 | CreateLabel(plr.Name,Message) | |
923 | 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 | |
924 | CreateLabel(plr.Name,Message) | |
925 | end end end) end | |
926 | 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 | |
927 | for _, plr in pairs(gPlayers:GetChildren()) do | |
928 | if plr.ClassName == "Player" then | |
929 | updateevents(plr) ChatLog(plr) end end | |
930 | _players.PlayerAdded:connect(function(player) | |
931 | updateevents(player) ChatLog(player) | |
932 | end) | |
933 | _G.exec_cmd = execCmd | |
934 | --gPlayers.LocalPlayer.Chatted:connect(doexec) | |
935 | 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 | |
936 | local _char=function(plr_name) | |
937 | for i,v in pairs(gPlayers:GetChildren())do | |
938 | if v:IsA'Player'then | |
939 | if v.Name==plr_name then return v.Character end | |
940 | end | |
941 | end | |
942 | return | |
943 | end | |
944 | local _plr=function(plr_name) | |
945 | for i,v in pairs(gPlayers:GetChildren())do | |
946 | if v:IsA'Player'then | |
947 | if v.Name==plr_name then return v end | |
948 | end | |
949 | end | |
950 | return | |
951 | end | |
952 | function addcmd(name,desc,alias,func) | |
953 | cmds[#cmds+1]= | |
954 | { | |
955 | NAME=name; | |
956 | DESC=desc; | |
957 | ALIAS=alias; | |
958 | FUNC=func; | |
959 | } | |
960 | end | |
961 | SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins','bacons'} | |
962 | local SpecialPlayerCases = { | |
963 | ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end, | |
964 | ["others"] = function(speaker) | |
965 | local plrs = {} | |
966 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
967 | if v ~= speaker then | |
968 | table.insert(plrs,v) | |
969 | end | |
970 | end | |
971 | return plrs | |
972 | end, | |
973 | ["me"] = function(speaker)return {speaker} end, | |
974 | ["#(%d+)"] = function(speaker,args,currentList) | |
975 | local returns = {} | |
976 | local randAmount = tonumber(args[1]) | |
977 | local players = {unpack(currentList)} | |
978 | for i = 1,randAmount do | |
979 | if #players == 0 then break end | |
980 | local randIndex = math.random(1,#players) | |
981 | table.insert(returns,players[randIndex]) | |
982 | table.remove(players,randIndex) | |
983 | end | |
984 | return returns | |
985 | end, | |
986 | ["random"] = function(speaker,args,currentList) | |
987 | local players = currentList | |
988 | return {players[math.random(1,#players)]} | |
989 | end, | |
990 | ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green] | |
991 | local returns = {} | |
992 | local team = args[1] | |
993 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
994 | if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then | |
995 | table.insert(returns,plr) | |
996 | end | |
997 | end | |
998 | return returns | |
999 | end, | |
1000 | ["allies"] = function(speaker) | |
1001 | local returns = {} | |
1002 | local team = speaker.Team | |
1003 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1004 | if plr.Team == team then | |
1005 | table.insert(returns,plr) | |
1006 | end | |
1007 | end | |
1008 | return returns | |
1009 | end, | |
1010 | ["enemies"] = function(speaker) | |
1011 | local returns = {} | |
1012 | local team = speaker.Team | |
1013 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1014 | if plr.Team ~= team then | |
1015 | table.insert(returns,plr) | |
1016 | end | |
1017 | end | |
1018 | return returns | |
1019 | end, | |
1020 | ["team"] = function(speaker) | |
1021 | local returns = {} | |
1022 | local team = speaker.Team | |
1023 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1024 | if plr.Team == team then | |
1025 | table.insert(returns,plr) | |
1026 | end | |
1027 | end | |
1028 | return returns | |
1029 | end, | |
1030 | ["nonteam"] = function(speaker) | |
1031 | local returns = {} | |
1032 | local team = speaker.Team | |
1033 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1034 | if plr.Team ~= team then | |
1035 | table.insert(returns,plr) | |
1036 | end | |
1037 | end | |
1038 | return returns | |
1039 | end, | |
1040 | ["friends"] = function(speaker,args) | |
1041 | local returns = {} | |
1042 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1043 | if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
1044 | table.insert(returns,plr) | |
1045 | end | |
1046 | end | |
1047 | return returns | |
1048 | end, | |
1049 | ["nonfriends"] = function(speaker,args) | |
1050 | local returns = {} | |
1051 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1052 | if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
1053 | table.insert(returns,plr) | |
1054 | end | |
1055 | end | |
1056 | return returns | |
1057 | end, | |
1058 | ["guests"] = function(speaker,args) | |
1059 | local returns = {} | |
1060 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1061 | if plr.Guest then | |
1062 | table.insert(returns,plr) | |
1063 | end | |
1064 | end | |
1065 | return returns | |
1066 | end, | |
1067 | ["bacons"] = function(speaker,args) | |
1068 | local returns = {} | |
1069 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1070 | if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then | |
1071 | table.insert(returns,plr) | |
1072 | end | |
1073 | end | |
1074 | return returns | |
1075 | end, | |
1076 | ["admins"] = function(speaker) | |
1077 | local returns = {} | |
1078 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1079 | if isAdmin(plr) then | |
1080 | table.insert(returns,plr) | |
1081 | end | |
1082 | end | |
1083 | return returns | |
1084 | end, | |
1085 | ["nonadmins"] = function(speaker) | |
1086 | local returns = {} | |
1087 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1088 | if not isAdmin(plr) then | |
1089 | table.insert(returns,plr) | |
1090 | end | |
1091 | end | |
1092 | return returns | |
1093 | end, | |
1094 | ["age(%d+)"] = function(speaker,args) | |
1095 | local returns = {} | |
1096 | local age = tonumber(args[1]) | |
1097 | if not age == nil then return end | |
1098 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1099 | if plr.AccountAge <= age then | |
1100 | table.insert(returns,plr) | |
1101 | end | |
1102 | end | |
1103 | return returns | |
1104 | end, | |
1105 | ["rad(%d+)"] = function(speaker,args) | |
1106 | local returns = {} | |
1107 | local radius = tonumber(args[1]) | |
1108 | local speakerChar = speaker.Character | |
1109 | if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end | |
1110 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1111 | if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then | |
1112 | local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude | |
1113 | if magnitude <= radius then table.insert(returns,plr) end | |
1114 | end | |
1115 | end | |
1116 | return returns | |
1117 | end | |
1118 | } | |
1119 | local function toTokens(str) | |
1120 | local tokens = {} | |
1121 | for op,name in string.gmatch(str,"([+-])([^+-]+)") do | |
1122 | table.insert(tokens,{Operator = op,Name = name}) | |
1123 | end | |
1124 | return tokens | |
1125 | end | |
1126 | local function onlyIncludeInTable(tab,matches) | |
1127 | local matchTable = {} | |
1128 | local resultTable = {} | |
1129 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
1130 | for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end | |
1131 | return resultTable | |
1132 | end | |
1133 | local function removeTableMatches(tab,matches) | |
1134 | local matchTable = {} | |
1135 | local resultTable = {} | |
1136 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
1137 | for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end | |
1138 | return resultTable | |
1139 | end | |
1140 | local function getPlayersByName(name) | |
1141 | local found = {} | |
1142 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1143 | if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then | |
1144 | table.insert(found,v) | |
1145 | end | |
1146 | end | |
1147 | return found | |
1148 | end | |
1149 | local function getPlayer(list,speaker) | |
1150 | if list == nil then return {speaker.Name} end | |
1151 | local nameList = splitString(list,",") | |
1152 | ||
1153 | local foundList = {} | |
1154 | ||
1155 | for _,name in pairs(nameList) do | |
1156 | if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end | |
1157 | local tokens = toTokens(name) | |
1158 | local initialPlayers = game:GetService("Players"):GetPlayers() | |
1159 | ||
1160 | for i,v in pairs(tokens) do | |
1161 | if v.Operator == "+" then | |
1162 | local tokenContent = v.Name | |
1163 | local foundCase = false | |
1164 | for regex,case in pairs(SpecialPlayerCases) do | |
1165 | local matches = {string.match(tokenContent,"^"..regex.."$")} | |
1166 | if #matches > 0 then | |
1167 | foundCase = true | |
1168 | initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers)) | |
1169 | end | |
1170 | end | |
1171 | if not foundCase then | |
1172 | initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent)) | |
1173 | end | |
1174 | else | |
1175 | local tokenContent = v.Name | |
1176 | local foundCase = false | |
1177 | for regex,case in pairs(SpecialPlayerCases) do | |
1178 | local matches = {string.match(tokenContent,"^"..regex.."$")} | |
1179 | if #matches > 0 then | |
1180 | foundCase = true | |
1181 | initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers)) | |
1182 | end | |
1183 | end | |
1184 | if not foundCase then | |
1185 | initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent)) | |
1186 | end | |
1187 | end | |
1188 | end | |
1189 | ||
1190 | for i,v in pairs(initialPlayers) do table.insert(foundList,v) end | |
1191 | end | |
1192 | ||
1193 | local foundNames = {} | |
1194 | for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end | |
1195 | ||
1196 | return foundNames | |
1197 | end | |
1198 | function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F) | |
1199 | local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1 | |
1200 | if (zCoco) then | |
1201 | funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
1202 | else | |
1203 | funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
1204 | end | |
1205 | return funcw | |
1206 | end | |
1207 | function _G.msg(txt) | |
1208 | spawn(function() | |
1209 | msghook() | |
1210 | if MSGhook == true then | |
1211 | workspace.IYmessage.Text = '' | |
1212 | wait(0.1) | |
1213 | local b = Instance.new("BlurEffect", LightingService) | |
1214 | b.Name = "IYmblur" | |
1215 | b.Size = 18 | |
1216 | workspace.IYmessage.Text = txt | |
1217 | wait(Mseconds) | |
1218 | b:Destroy() | |
1219 | if workspace.IYmessage.Text == txt then | |
1220 | workspace.IYmessage.Text = '' end | |
1221 | elseif MSGhook == false then | |
1222 | execCmd("loadm") | |
1223 | repeat wait() until workspace:FindFirstChild("IYmessage") | |
1224 | workspace.IYmessage.Text = '' | |
1225 | wait(0.1) | |
1226 | local b = Instance.new("BlurEffect", LightingService) | |
1227 | b.Name = "IYmblur" | |
1228 | b.Size = 18 | |
1229 | workspace.IYmessage.Text = txt | |
1230 | wait(Mseconds) | |
1231 | b:Destroy() | |
1232 | if workspace.IYmessage.Text == txt then | |
1233 | workspace.IYmessage.Text = '' end | |
1234 | end | |
1235 | end) | |
1236 | end | |
1237 | function bleach(plr) | |
1238 | spawn(function() | |
1239 | local char = plr.Character | |
1240 | local hit1 = Instance.new("Sound", workspace) | |
1241 | hit1.SoundId = "http://roblox.com/asset?id=145486953" | |
1242 | local hit = Instance.new("Sound", workspace) | |
1243 | hit.SoundId = "http://roblox.com/asset?id=178646271" | |
1244 | local Bleach = Instance.new("Part", char["Left Arm"]) | |
1245 | Bleach.CanCollide = false | |
1246 | local Mesh = Instance.new("SpecialMesh", Bleach) | |
1247 | Mesh.MeshId = "http://roblox.com/asset?id=483388971" | |
1248 | Mesh.Scale = Vector3.new(0.005, 0.005, 0.005) | |
1249 | Mesh.TextureId = "http://roblox.com/asset?id=520016684" | |
1250 | local Handy = Instance.new("Weld", Bleach) | |
1251 | Handy.Part0 = Bleach | |
1252 | Handy.Part1 = char["Left Arm"] | |
1253 | Handy.C0 = CFrame.new(0.5,1.8,0) | |
1254 | Handy.C1 = CFrame.Angles(0,4,1) | |
1255 | local drink = Instance.new("Sound", char.Head) | |
1256 | drink.SoundId = "http://roblox.com/asset?id=10722059" | |
1257 | wait(3) | |
1258 | game.Chat:Chat(char.Head,"I need to die","Red") | |
1259 | for i = 1,10 do | |
1260 | wait() | |
1261 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.018,0,0) | |
1262 | Handy.C0 = Handy.C0 * CFrame.new(-0.05,-0.07,0.09) | |
1263 | Handy.C0 = Handy.C0 * CFrame.Angles(0.12,0,0) | |
1264 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(0.2,0,-0.1) | |
1265 | end | |
1266 | drink:Play() | |
1267 | wait(3.4) | |
1268 | drink:Stop() | |
1269 | for i = 1,10 do | |
1270 | wait() | |
1271 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,-0.50,0) | |
1272 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.175,0,0) | |
1273 | Handy.C0 = Handy.C0 * CFrame.new(0.05,0.07,-0.09) | |
1274 | Handy.C0 = Handy.C0 * CFrame.Angles(-0.1,0,0) | |
1275 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.15,-0.04,0.2) | |
1276 | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.05,0.03,0) | |
1277 | char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0 * CFrame.Angles(-0.02,0,0) | |
1278 | char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0 * CFrame.Angles(-0.01,0,0) | |
1279 | end | |
1280 | wait(0.01) | |
1281 | char.Torso.Anchored = true | |
1282 | char["Left Arm"].Anchored = true | |
1283 | char["Right Arm"].Anchored = true | |
1284 | char["Left Leg"].Anchored = true | |
1285 | char["Right Leg"].Anchored = true | |
1286 | char.Head.Anchored = true | |
1287 | hit:Play() | |
1288 | hit1:Play() | |
1289 | wait(4) | |
1290 | local bl00d = Instance.new("Part", char.Head) | |
1291 | bl00d.Size = Vector3.new(0.1,0.1,0.1) | |
1292 | bl00d.Rotation = Vector3.new(0,0,-90) | |
1293 | bl00d.CanCollide = false | |
1294 | bl00d.Anchored = true | |
1295 | bl00d.BrickColor = BrickColor.new("Maroon") | |
1296 | bl00d.Position = char.Head.Position | |
1297 | bl00d.CFrame = bl00d.CFrame * CFrame.new(0.43,-0.65,0) | |
1298 | bl00d.Shape = "Cylinder" | |
1299 | bl00d.Material = "Pebble" | |
1300 | for i = 1,100 do | |
1301 | wait() | |
1302 | bl00d.Size = bl00d.Size + Vector3.new(0,0.05,0.05) | |
1303 | end | |
1304 | wait(1) | |
1305 | char.Humanoid.Health = 0 | |
1306 | end) | |
1307 | end | |
1308 | function rape(victim, speaker) -- from rocky2u cmdscript | |
1309 | spawn(function() | |
1310 | local P1 = game:GetService("Players")[speaker].Character.Torso | |
1311 | local V1 = game:GetService("Players")[victim].Character.Torso | |
1312 | V1.Parent.Humanoid.PlatformStand = true | |
1313 | 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' | |
1314 | 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' | |
1315 | 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' | |
1316 | 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' | |
1317 | 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' | |
1318 | 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' | |
1319 | 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) | |
1320 | local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4) | |
1321 | fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0) | |
1322 | local D2 = D:Clone() D2.Parent = P1 | |
1323 | fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0) | |
1324 | 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) | |
1325 | fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0) | |
1326 | local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1 | |
1327 | fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0) | |
1328 | local CM = Instance.new('CylinderMesh', C) | |
1329 | 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) | |
1330 | local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1331 | fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0) | |
1332 | 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) | |
1333 | local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1334 | fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0) | |
1335 | 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) | |
1336 | local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2) | |
1337 | fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0) | |
1338 | 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) | |
1339 | local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2) | |
1340 | fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0) | |
1341 | 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) | |
1342 | 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) | |
1343 | 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) | |
1344 | if P1:FindFirstChild('weldx') then P1.weldx:destroy() end | |
1345 | WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0) | |
1346 | local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0) | |
1347 | end) | |
1348 | 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) | |
1349 | end | |
1350 | ||
1351 | addcmd('addalias','Adds an alias to a command',{}, | |
1352 | function(args,speaker) | |
1353 | if #args < 2 then return end | |
1354 | local cmd = string.lower(args[1]) | |
1355 | local alias = string.lower(args[2]) | |
1356 | for i,v in pairs(cmds) do | |
1357 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
1358 | customAlias[alias] = v | |
1359 | if not aliasSave or aliasSave == nil then aliasSave = {} end | |
1360 | aliasSave[#aliasSave + 1] = {CMD = cmd, ALIAS = alias} | |
1361 | Notify("Added "..alias.." as an alias to "..cmd) | |
1362 | updatefile() | |
1363 | updatealiases() | |
1364 | break | |
1365 | end | |
1366 | end | |
1367 | end) | |
1368 | ||
1369 | addcmd('877241loadalias','dab',{}, | |
1370 | function(args,speaker) | |
1371 | if #args < 2 then return end | |
1372 | local cmd = string.lower(args[1]) | |
1373 | local alias = string.lower(args[2]) | |
1374 | for i,v in pairs(cmds) do | |
1375 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
1376 | customAlias[alias] = v | |
1377 | updatealiases() | |
1378 | break | |
1379 | end | |
1380 | end | |
1381 | end) | |
1382 | ||
1383 | addcmd('removealias','Removes a custom alias',{}, | |
1384 | function(args,speaker) | |
1385 | if #args < 1 then return end | |
1386 | local alias = string.lower(args[1]) | |
1387 | if customAlias[alias] then | |
1388 | local cmd = customAlias[alias].NAME | |
1389 | customAlias[alias] = nil | |
1390 | for i,v in pairs(aliasSave) do | |
1391 | if v.ALIAS == tostring(alias) then | |
1392 | table.remove(aliasSave, i) | |
1393 | end end | |
1394 | Notify("Removed the alias "..alias.." from "..cmd) | |
1395 | updatefile() | |
1396 | updatealiases() | |
1397 | end | |
1398 | end) | |
1399 | ||
1400 | addcmd('clraliases','Removes all custom alias',{}, | |
1401 | function(args,speaker) | |
1402 | customAlias = {} | |
1403 | aliasSave ={} | |
1404 | updatefile() | |
1405 | updatealiases() | |
1406 | Notify('Removed all aliases') | |
1407 | end) | |
1408 | ||
1409 | addcmd('s','runs a script in the chat or cmdbar',{'script'}, | |
1410 | function(args, speaker) | |
1411 | loadstring(tostring(GLS(false, 0)))() | |
1412 | end) | |
1413 | ||
1414 | function hub() | |
1415 | if not game.CoreGui:FindFirstChild('ScriptHub') then | |
1416 | loadstring(game:HttpGet(('https://pastebin.com/raw/VvDQgSZT'),true))() end end | |
1417 | addcmd('hub','opens script hub',{'scripts'}, | |
1418 | function(args, speaker) | |
1419 | if speaker.userId ~= LP.userId then | |
1420 | lponly(speaker) else | |
1421 | hub() | |
1422 | end end) | |
1423 | ||
1424 | addcmd('ff','gives ff to player',{}, | |
1425 | function(args, speaker) | |
1426 | local players = getPlayer(args[1], speaker) | |
1427 | for i,v in pairs(players)do | |
1428 | local pchar=_char(v) | |
1429 | Instance.new("ForceField", pchar) | |
1430 | end | |
1431 | end) | |
1432 | ||
1433 | addcmd('maxhealth','sets a limit of health to player',{}, | |
1434 | function(args, speaker) | |
1435 | local players = getPlayer(args[1], speaker) | |
1436 | for i,v in pairs(players)do | |
1437 | local pchar=_char(v) | |
1438 | pchar.Humanoid.MaxHealth = args[2] | |
1439 | end | |
1440 | end) | |
1441 | ||
1442 | addcmd('sethealth','sets the health of a player',{}, | |
1443 | function(args, speaker) | |
1444 | local players = getPlayer(args[1], speaker) | |
1445 | for i,v in pairs(players)do | |
1446 | local pchar=_char(v) | |
1447 | pchar.Humanoid.Health = args[2] | |
1448 | end | |
1449 | end) | |
1450 | ||
1451 | addcmd('breakloops','stops any cmd loops',{'break'}, | |
1452 | function(args, speaker) | |
1453 | lastBreakTime = tick() | |
1454 | end) | |
1455 | ||
1456 | addcmd('invisibleff','gives invisible ff to player',{'invisff'}, | |
1457 | function(args, speaker) | |
1458 | local players = getPlayer(args[1], speaker) | |
1459 | for i,v in pairs(players)do | |
1460 | local pchar=_char(v) | |
1461 | local invisff = Instance.new("ForceField", pchar) | |
1462 | invisff.Visible = false | |
1463 | end | |
1464 | end) | |
1465 | ||
1466 | addcmd('rocket','attaches a player to a rocket',{'missile'}, | |
1467 | function(args, speaker) | |
1468 | local players = getPlayer(args[1], speaker) | |
1469 | for i,v in pairs(players)do | |
1470 | local pchar=_char(v) | |
1471 | spawn(function() | |
1472 | local m = missile:Clone() | |
1473 | m.Parent = workspace | |
1474 | local W = Instance.new('Weld', m) | |
1475 | W.Part0 = W.Parent | |
1476 | W.Part1 = pchar.HumanoidRootPart | |
1477 | W.C1 = CFrame.new(0, 0.5, 1) | |
1478 | m.force.Force = Vector3.new(0, 15000, 0) | |
1479 | wait(0.01) | |
1480 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0) | |
1481 | wait(5) | |
1482 | Instance.new('Explosion', m).Position = m.Position | |
1483 | wait(0.01) | |
1484 | pchar:BreakJoints() | |
1485 | wait(1) | |
1486 | m:destroy() | |
1487 | end) | |
1488 | end | |
1489 | end) | |
1490 | ||
1491 | addcmd('kidnap', 'Kidnaps the player in a candy van',{}, function(args, speaker) | |
1492 | local players = getPlayer(args[1], speaker) | |
1493 | if not game:GetService("CoreGui"):FindFirstChild('VanEvent') then | |
1494 | loadstring(game:HttpGet(('https://pastebin.com/raw/NbY247zv'),true))() | |
1495 | end | |
1496 | for i,v in pairs(players) do | |
1497 | game:GetService("CoreGui").VanEvent:Fire(gPlayers[v]) | |
1498 | end | |
1499 | end) | |
1500 | ||
1501 | addcmd('rejoin','makes you rejoin the game',{'rj'}, | |
1502 | function(args, speaker) | |
1503 | if speaker.userId ~= LP.userId then | |
1504 | lponly(speaker) | |
1505 | else | |
1506 | game:GetService('TeleportService'):Teleport(game.PlaceId) | |
1507 | end | |
1508 | end) | |
1509 | ||
1510 | addcmd('unff', 'takes away ff from player',{'noff'}, | |
1511 | function(args, speaker) | |
1512 | local players = getPlayer(args[1], speaker) | |
1513 | for i,v in pairs(players)do | |
1514 | local pchar=_char(v) | |
1515 | for j,v1 in pairs(pchar:GetChildren()) do | |
1516 | if v1:IsA("ForceField") then | |
1517 | v1:Destroy() | |
1518 | end | |
1519 | end | |
1520 | end | |
1521 | end) | |
1522 | ||
1523 | addcmd('flashlight', 'gives a player a flashlight',{}, | |
1524 | function(args, speaker) | |
1525 | local players = getPlayer(args[1], speaker) | |
1526 | for i,v in pairs(players)do | |
1527 | spawn(function() | |
1528 | local flashlight = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01679418710") | |
1529 | flashlight.Parent = gPlayers[v].Backpack | |
1530 | flashlight.Name = "IYflashlight" | |
1531 | end) | |
1532 | end | |
1533 | end) | |
1534 | ||
1535 | addcmd('car', 'inserts a car',{'vehicle'}, | |
1536 | function(args, speaker) | |
1537 | local players = getPlayer(args[1], speaker) | |
1538 | for i,v in pairs(players)do | |
1539 | spawn(function() | |
1540 | local pchar=_char(v) | |
1541 | local model = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01172688590") | |
1542 | model.Parent = workspace | |
1543 | model:MakeJoints() | |
1544 | model:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(5, 5, 0)) | |
1545 | model.Name = "IYcar" .. gPlayers[v].Name wait(0.2) | |
1546 | for _, child in pairs( model:GetChildren()) do | |
1547 | if child.ClassName == "Part" then | |
1548 | child.Anchored = true | |
1549 | wait(1) | |
1550 | child.Anchored = false | |
1551 | end end end) end end) | |
1552 | ||
1553 | addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'}, | |
1554 | function(args, speaker) | |
1555 | local players = getPlayer(args[1], speaker) | |
1556 | for i,v in pairs(players)do | |
1557 | for _, child in pairs( workspace:GetChildren()) do | |
1558 | if child.Name == "IYcar" .. gPlayers[v].Name then | |
1559 | child:Destroy() | |
1560 | end | |
1561 | end | |
1562 | end | |
1563 | end) | |
1564 | ||
1565 | addcmd('team','team [plr] [team]',{}, | |
1566 | function(args, speaker) | |
1567 | local players = getPlayer(args[1], speaker) | |
1568 | local teamname = nil | |
1569 | for i,v in pairs(players)do | |
1570 | 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 | |
1571 | _players[v].Team = teamname | |
1572 | end | |
1573 | end) | |
1574 | ||
1575 | addcmd('maxzoom','maximum camera zoom',{}, | |
1576 | function(args, speaker) | |
1577 | local players = getPlayer(args[1], speaker) | |
1578 | for i,v in pairs(players)do | |
1579 | _players[v].CameraMaxZoomDistance = args[2] | |
1580 | end | |
1581 | end) | |
1582 | ||
1583 | function spawnrain(mesh,texture) | |
1584 | spawn(function() | |
1585 | for i,v in pairs(gPlayers:GetChildren()) do | |
1586 | if v.Character ~= nil and v.Character:FindFirstChild('HumanoidRootPart') then | |
1587 | if raining == true then | |
1588 | local rain = Instance.new("Part",workspace) | |
1589 | rain.CanCollide = true | |
1590 | local m = Instance.new("SpecialMesh",rain) | |
1591 | m.MeshId = "http://www.roblox.com/asset/?id="..mesh | |
1592 | m.TextureId = "http://www.roblox.com/asset/?id="..texture | |
1593 | rain.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-250,250),100,math.random(-250,250)) | |
1594 | wait(5) rain:Destroy() | |
1595 | end | |
1596 | end | |
1597 | end | |
1598 | end) | |
1599 | end | |
1600 | ||
1601 | raining = false | |
1602 | addcmd('rain','make it rain a mesh',{}, | |
1603 | function(args, speaker) | |
1604 | raining = true | |
1605 | repeat | |
1606 | wait(0.5) | |
1607 | spawnrain(args[1],args[2]) | |
1608 | until raining == false | |
1609 | end) | |
1610 | ||
1611 | addcmd('norain','make it rain a mesh',{'unrain'}, | |
1612 | function(args, speaker) | |
1613 | raining = false | |
1614 | end) | |
1615 | ||
1616 | local rad = math.rad | |
1617 | addcmd('earthquake','earthquake [power] [intensity]',{}, -- credit to DontAddMeh | |
1618 | function(args, speaker) | |
1619 | for i = 1,args[1] do | |
1620 | wait() | |
1621 | local function ear(instance) | |
1622 | for i,v in pairs(instance:GetChildren())do | |
1623 | if v:IsA("Part") then | |
1624 | if v.Size.x > 1 then | |
1625 | 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]))) | |
1626 | end end ear(v) end end ear(workspace) | |
1627 | end | |
1628 | end) | |
1629 | ||
1630 | addcmd('cape','Gives the target player(s) a cape',{}, | |
1631 | function(args, speaker) | |
1632 | local players = getPlayer(args[1], speaker) | |
1633 | for i,v in pairs(players)do | |
1634 | spawn(function() | |
1635 | if _char(v):FindFirstChild("Humanoid") then | |
1636 | local plr = _players[v] | |
1637 | repeat wait() until plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") | |
1638 | local torso = plr.Character.HumanoidRootPart | |
1639 | local p = Instance.new("Part", torso.Parent) p.Name = "IYcape" p.Anchored = false | |
1640 | p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 | |
1641 | if not args[2] then | |
1642 | p.Color = Color3.new(0,0,0) | |
1643 | p.Color = Color3.new(0,0,0) else | |
1644 | p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1645 | p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end | |
1646 | p.formFactor = "Custom" | |
1647 | p.Size = Vector3.new(.2,.2,.2) | |
1648 | local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5) | |
1649 | local motor1 = Instance.new("Motor", p) | |
1650 | motor1.Part0 = p | |
1651 | motor1.Part1 = torso | |
1652 | motor1.MaxVelocity = .01 | |
1653 | motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0) | |
1654 | motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0) | |
1655 | local wave = false | |
1656 | repeat wait(1/44) | |
1657 | local ang = 0.1 | |
1658 | local oldmag = torso.Velocity.magnitude | |
1659 | local mv = .002 | |
1660 | if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end | |
1661 | ang = ang + math.min(torso.Velocity.magnitude/11, .5) | |
1662 | motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv | |
1663 | motor1.DesiredAngle = -ang | |
1664 | if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end | |
1665 | repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1 | |
1666 | if torso.Velocity.magnitude < .1 then wait(.1) end | |
1667 | until not p or p.Parent ~= torso.Parent | |
1668 | end | |
1669 | end) | |
1670 | end | |
1671 | end) | |
1672 | ||
1673 | addcmd('uncape','Removes cape',{'nocape'}, | |
1674 | function(args, speaker) | |
1675 | local players = getPlayer(args[1], speaker) | |
1676 | for i,v in pairs(players)do | |
1677 | local pchar=_char(v) | |
1678 | for _, child in pairs( pchar:GetChildren()) do | |
1679 | if child.Name == "IYcape" then | |
1680 | child:Destroy() end end | |
1681 | end | |
1682 | end) | |
1683 | ||
1684 | addcmd('spasm','makes someone c r a z y',{}, | |
1685 | function(args, speaker) | |
1686 | local players = getPlayer(args[1], speaker) | |
1687 | for i,v in pairs(players)do | |
1688 | local pchar=_char(v) | |
1689 | local AnimationId = "33796059" | |
1690 | local Anim = Instance.new("Animation") | |
1691 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
1692 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
1693 | k:Play() | |
1694 | k:AdjustSpeed(99) | |
1695 | end | |
1696 | end) | |
1697 | ||
1698 | addcmd('dance','makes someone d a n c e',{}, | |
1699 | function(args, speaker) | |
1700 | local players = getPlayer(args[1], speaker) | |
1701 | for i,v in pairs(players)do | |
1702 | local pchar=_char(v) | |
1703 | local anim = nil | |
1704 | local dance1 = math.random(1,7) | |
1705 | if dance1 == 1 then | |
1706 | anim = '27789359' | |
1707 | end | |
1708 | if dance1 == 2 then | |
1709 | anim = '30196114' | |
1710 | end | |
1711 | if dance1 == 3 then | |
1712 | anim = '248263260' | |
1713 | end | |
1714 | if dance1 == 4 then | |
1715 | anim = '45834924' | |
1716 | end | |
1717 | if dance1 == 5 then | |
1718 | anim = '33796059' | |
1719 | end | |
1720 | if dance1 == 6 then | |
1721 | anim = '28488254' | |
1722 | end | |
1723 | if dance1 == 7 then | |
1724 | anim = '52155728' | |
1725 | end | |
1726 | local animation = Instance.new("Animation") | |
1727 | animation.AnimationId = "rbxassetid://"..anim | |
1728 | local animTrack = pchar.Humanoid:LoadAnimation(animation) | |
1729 | animTrack:Play() | |
1730 | end | |
1731 | end) | |
1732 | ||
1733 | addcmd('plrsound','creates a sound inside of someone',{'playersound'}, | |
1734 | function(args, speaker) | |
1735 | local players = getPlayer(args[1], speaker) | |
1736 | for i,v in pairs(players)do | |
1737 | if not args[1] and args[2] then return end | |
1738 | local pchar=_char(v) | |
1739 | for _, child in pairs( pchar:GetDescendants()) do | |
1740 | if child.ClassName == "Sound" then | |
1741 | child:Destroy() end end | |
1742 | local s = Instance.new("Sound") | |
1743 | s.Name = "IYplrsound" | |
1744 | s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2] | |
1745 | s.Volume = 1 | |
1746 | s.Pitch = 1 | |
1747 | s.Looped = true | |
1748 | s.archivable = true | |
1749 | s.Parent = pchar.HumanoidRootPart | |
1750 | s:Play() | |
1751 | end | |
1752 | end) | |
1753 | ||
1754 | addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'}, | |
1755 | function(args, speaker) | |
1756 | local players = getPlayer(args[1], speaker) | |
1757 | for i,v in pairs(players)do | |
1758 | if not args[1] then return end | |
1759 | local pchar=_char(v) | |
1760 | for _, child in pairs( pchar:GetDescendants()) do | |
1761 | if child.ClassName == "Sound" then | |
1762 | child:Destroy() end end | |
1763 | end | |
1764 | end) | |
1765 | ||
1766 | addcmd('fly','makes you fly',{}, | |
1767 | function(args, speaker) | |
1768 | if speaker.userId ~= LP.userId then | |
1769 | lponly(speaker) | |
1770 | else | |
1771 | sFLY() | |
1772 | end | |
1773 | end) | |
1774 | ||
1775 | addcmd('flyspeed','set the fly speed',{'flysp'}, | |
1776 | function(args, speaker) | |
1777 | if speaker.userId ~= LP.userId then | |
1778 | lponly(speaker) | |
1779 | else | |
1780 | if isNumber(args[1]) then | |
1781 | iyflyspeed = args[1] | |
1782 | end end end) | |
1783 | ||
1784 | addcmd('unfly','takes away fly',{'nofly'}, | |
1785 | function(args, speaker) | |
1786 | if speaker.userId ~= LP.userId then | |
1787 | lponly(speaker) | |
1788 | else | |
1789 | NOFLY() | |
1790 | end | |
1791 | end) | |
1792 | ||
1793 | addcmd('exit','kills roblox process',{}, | |
1794 | function(args, speaker) | |
1795 | if speaker.userId ~= LP.userId then | |
1796 | lponly(speaker) | |
1797 | else | |
1798 | game:shutdown() | |
1799 | end | |
1800 | end) | |
1801 | ||
1802 | addcmd('fire', 'set a player on fire',{}, | |
1803 | function(args, speaker) | |
1804 | local players = getPlayer(args[1], speaker) | |
1805 | for i,v in pairs(players)do | |
1806 | spawn(function() | |
1807 | local pchar=_char(v) | |
1808 | local Fire1 = Instance.new("Fire", pchar.Head) | |
1809 | local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart) | |
1810 | local Fire3 = Instance.new("Fire", pchar["Left Arm"]) | |
1811 | local Fire4 = Instance.new("Fire", pchar["Right Arm"]) | |
1812 | local Fire5 = Instance.new("Fire", pchar["Left Leg"]) | |
1813 | local Fire6 = Instance.new("Fire", pchar["Right Leg"]) | |
1814 | if not args[2] then return end | |
1815 | Fire1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1816 | Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1817 | Fire2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1818 | Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1819 | Fire3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1820 | Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1821 | Fire4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1822 | Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1823 | Fire5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1824 | Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1825 | Fire6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1826 | Fire6.SecondaryColor = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1827 | end) | |
1828 | end | |
1829 | end) | |
1830 | ||
1831 | addcmd('discomesh', 'body parts get f u n k y',{}, | |
1832 | function(args, speaker) | |
1833 | local players = getPlayer(args[1], speaker) | |
1834 | for i,v in pairs(players)do | |
1835 | spawn(function() | |
1836 | local plr = _players[v] | |
1837 | local meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"} | |
1838 | local h = _players[v].Character.Head.Mesh | |
1839 | local t = Instance.new("SpecialMesh",_players[v].Character.Torso) | |
1840 | local la = Instance.new("SpecialMesh",_players[v].Character["Left Arm"]) | |
1841 | local ra = Instance.new("SpecialMesh",_players[v].Character["Right Arm"]) | |
1842 | local ll = Instance.new("SpecialMesh",_players[v].Character["Left Leg"]) | |
1843 | local rl = Instance.new("SpecialMesh",_players[v].Character["Right Leg"]) | |
1844 | while true do wait() | |
1845 | h.MeshType = meshes[math.random(1,#meshes)] | |
1846 | h.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1847 | h.Parent.BrickColor = BrickColor.Random() | |
1848 | t.MeshType = meshes[math.random(1,#meshes)] | |
1849 | t.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1850 | t.Parent.BrickColor = BrickColor.Random() | |
1851 | la.MeshType = meshes[math.random(1,#meshes)] | |
1852 | la.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1853 | la.Parent.BrickColor = BrickColor.Random() | |
1854 | ra.MeshType = meshes[math.random(1,#meshes)] | |
1855 | ra.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1856 | ra.Parent.BrickColor = BrickColor.Random() | |
1857 | ll.MeshType = meshes[math.random(1,#meshes)] | |
1858 | ll.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1859 | ll.Parent.BrickColor = BrickColor.Random() | |
1860 | rl.MeshType = meshes[math.random(1,#meshes)] | |
1861 | rl.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1862 | rl.Parent.BrickColor = BrickColor.Random() | |
1863 | end end) end end) | |
1864 | ||
1865 | addcmd('chickenarms', 'I can fly!!1',{'chicken'}, | |
1866 | function(args, speaker) | |
1867 | local players = getPlayer(args[1], speaker) | |
1868 | for i,v in pairs(players)do | |
1869 | spawn(function() | |
1870 | local Chicken = _players[v].Character | |
1871 | 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) | |
1872 | Chicken.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0) | |
1873 | 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) | |
1874 | Chicken.Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0) | |
1875 | end) end end) | |
1876 | ||
1877 | addcmd('esp', 'view a player and a players status',{}, | |
1878 | function(args, speaker) | |
1879 | if speaker.userId ~= LP.userId then | |
1880 | lponly(speaker) | |
1881 | else | |
1882 | local players = getPlayer(args[1], speaker) | |
1883 | for i,v in pairs(players)do | |
1884 | spawn(function() | |
1885 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
1886 | if child.Name == gPlayers[v].Name then | |
1887 | child:Destroy() | |
1888 | end end wait(0.5) | |
1889 | local m = game["Players"].LocalPlayer:GetMouse() | |
1890 | local rs = game:GetService("RunService").RenderStepped | |
1891 | local espplr = gPlayers[v] | |
1892 | if espplr.Character and espplr.Name ~= _players.LocalPlayer.Name then | |
1893 | for b,n in pairs (espplr.Character:GetChildren()) do | |
1894 | if (n:IsA("BasePart")) then | |
1895 | local a = Instance.new("BoxHandleAdornment", game.CoreGui) | |
1896 | a.Name = espplr.Name | |
1897 | a.Adornee = n | |
1898 | a.AlwaysOnTop = true | |
1899 | a.ZIndex = 0 | |
1900 | a.Size = n.Size | |
1901 | a.Transparency = 0.7 | |
1902 | local resetting = false | |
1903 | if espplr.TeamColor == _players.LocalPlayer.TeamColor then | |
1904 | a.Color = BrickColor.new("Lime green") | |
1905 | else | |
1906 | a.Color = BrickColor.new("Really red") | |
1907 | end | |
1908 | if espplr.Character and espplr.Character:FindFirstChild('Head') then | |
1909 | local BillboardGui = Instance.new("BillboardGui", game.CoreGui) | |
1910 | local TextLabel = Instance.new("TextLabel") | |
1911 | BillboardGui.Adornee = espplr.Character.Head | |
1912 | BillboardGui.Name = espplr.Name | |
1913 | BillboardGui.Size = UDim2.new(0, 100, 0, 150) | |
1914 | BillboardGui.StudsOffset = Vector3.new(0, 1, 0) | |
1915 | BillboardGui.AlwaysOnTop = true | |
1916 | TextLabel.Parent = BillboardGui | |
1917 | TextLabel.BackgroundTransparency = 1 | |
1918 | TextLabel.Position = UDim2.new(0, 0, 0, -50) | |
1919 | TextLabel.Size = UDim2.new(0, 100, 0, 100) | |
1920 | TextLabel.Font = Enum.Font.SourceSansSemibold | |
1921 | TextLabel.TextSize = 20 | |
1922 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
1923 | TextLabel.TextStrokeTransparency = 0 | |
1924 | TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom | |
1925 | espplr.Character:WaitForChild("Humanoid").Died:connect(function() | |
1926 | BillboardGui:Destroy() a:Destroy() end) | |
1927 | _players.PlayerRemoving:connect(function(player) | |
1928 | if player.Name == espplr.Name then | |
1929 | BillboardGui:Destroy() a:Destroy() | |
1930 | end end) | |
1931 | game:GetService("RunService").RenderStepped:Connect(function() | |
1932 | 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 | |
1933 | local pos = math.floor((_players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude) | |
1934 | TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos else | |
1935 | BillboardGui:Destroy() a:Destroy() end end) | |
1936 | end | |
1937 | end | |
1938 | end | |
1939 | end | |
1940 | end) | |
1941 | end | |
1942 | end | |
1943 | end) | |
1944 | ||
1945 | addcmd('noesp', 'removes esp',{'unesp'}, | |
1946 | function(args, speaker) | |
1947 | if speaker.userId ~= LP.userId then | |
1948 | lponly(speaker) | |
1949 | else | |
1950 | local players = getPlayer(args[1], speaker) | |
1951 | for i,v in pairs(players)do | |
1952 | spawn(function() | |
1953 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
1954 | if child.Name == gPlayers[v].Name then | |
1955 | child:Destroy() | |
1956 | end | |
1957 | end end) end end end) | |
1958 | ||
1959 | addcmd('nofire', 'extinguish a player',{'unfire'}, | |
1960 | function(args, speaker) | |
1961 | local players = getPlayer(args[1], speaker) | |
1962 | for i,v in pairs(players)do | |
1963 | local pchar=_char(v) | |
1964 | for j,v1 in pairs(pchar:GetDescendants()) do | |
1965 | if v1:IsA("Fire") then | |
1966 | v1:Destroy() | |
1967 | end end end end) | |
1968 | ||
1969 | addcmd('shiny', 'makes a player shine',{}, | |
1970 | function(args, speaker) | |
1971 | local players = getPlayer(args[1], speaker) | |
1972 | for i,v in pairs(players)do | |
1973 | spawn(function() | |
1974 | local pchar=_char(v) | |
1975 | for i,v in pairs(pchar:GetChildren()) do | |
1976 | if v.ClassName == "Decal" or v.ClassName == "Texture" then | |
1977 | v:Destroy() end | |
1978 | if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then | |
1979 | v.Reflectance = 1 | |
1980 | v.Material = "Plastic" | |
1981 | end | |
1982 | end | |
1983 | end) | |
1984 | end | |
1985 | end) | |
1986 | ||
1987 | addcmd('light', 'givs em light',{}, | |
1988 | function(args, speaker) | |
1989 | local players = getPlayer(args[1], speaker) | |
1990 | for i,v in pairs(players)do | |
1991 | spawn(function() | |
1992 | local pchar=_char(v) | |
1993 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
1994 | if v1:IsA("PointLight") then | |
1995 | v1:Destroy() | |
1996 | end | |
1997 | end | |
1998 | local light = Instance.new("PointLight", pchar.HumanoidRootPart) | |
1999 | light.Range = 12 | |
2000 | light.Brightness = 3 | |
2001 | if not args[2] then return end | |
2002 | light.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
2003 | light.Range = 12 | |
2004 | light.Brightness = 3 | |
2005 | end) | |
2006 | end | |
2007 | end) | |
2008 | ||
2009 | addcmd('begone', 'BEGONE THOT',{'thot'}, | |
2010 | function(args, speaker) | |
2011 | local players = getPlayer(args[1], speaker) | |
2012 | for i,v in pairs(players)do | |
2013 | spawn(function() | |
2014 | local thotbottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508") | |
2015 | local pchar=_char(v) | |
2016 | thotbottle.Name = 'THOT BEGONE' | |
2017 | thotbottle.Handle:Destroy() | |
2018 | execCmd('freeze '..gPlayers[v].Name) | |
2019 | execCmd('name '..gPlayers[v].Name..' THOT') | |
2020 | execCmd('spasm '..gPlayers[v].Name) | |
2021 | thotbottle.Parent = pchar | |
2022 | thotbottle:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(0, 0, 7)) | |
2023 | local cf = pchar.HumanoidRootPart.CFrame | |
2024 | local newcf = cf + cf.lookVector * 6 | |
2025 | thotbottle.Head.CFrame = newcf | |
2026 | local s = Instance.new("Sound") | |
2027 | s.Name = "BEGONE" | |
2028 | s.SoundId = "http://www.roblox.com/asset/?id=1095911222" | |
2029 | s.Volume = 10 | |
2030 | s.Parent = thotbottle | |
2031 | s:play() | |
2032 | local d = Instance.new("Sound") | |
2033 | d.Name = "WuOOOH" | |
2034 | d.SoundId = "http://www.roblox.com/asset/?id=253143032" | |
2035 | d.Volume = 5 | |
2036 | d.Parent = pchar | |
2037 | wait(4) | |
2038 | if gPlayers[v] then | |
2039 | execCmd('thaw '..gPlayers[v].Name) | |
2040 | execCmd('fling '..gPlayers[v].Name) | |
2041 | thotbottle:Destroy() | |
2042 | d:play() | |
2043 | end if gPlayers[v] then | |
2044 | wait(3) | |
2045 | execCmd('explode '..gPlayers[v].Name) | |
2046 | pchar:BreakJoints() end | |
2047 | end) | |
2048 | end | |
2049 | end) | |
2050 | ||
2051 | addcmd('glowstick', 'givs em glo stik',{}, | |
2052 | function(args, speaker) | |
2053 | local players = getPlayer(args[1], speaker) | |
2054 | for i,v in pairs(players)do | |
2055 | spawn(function() | |
2056 | System = {} | |
2057 | System.Create = function(a, c) | |
2058 | local e = Instance.new(a) | |
2059 | for d, a in pairs(c) do | |
2060 | local b, a = ypcall(function() | |
2061 | return e[d] | |
2062 | end) | |
2063 | if b then | |
2064 | e[d] = c[d] | |
2065 | end | |
2066 | end | |
2067 | return e | |
2068 | end | |
2069 | function b(d, b) | |
2070 | local c = getfenv(d) | |
2071 | local a = setmetatable({}, { | |
2072 | __index = function(a, a) | |
2073 | if a:lower() == 'script' then | |
2074 | return b | |
2075 | else | |
2076 | return c[a] | |
2077 | end | |
2078 | end | |
2079 | }) | |
2080 | setfenv(d, a) | |
2081 | ypcall(function() | |
2082 | d() | |
2083 | end) | |
2084 | end | |
2085 | c = {} | |
2086 | mas = Instance.new("Model",game:GetService("Lighting")) | |
2087 | mas.Name = "CompiledModel" | |
2088 | o1 = System.Create("Tool",{ | |
2089 | ["Name"] = "Glow Stick", | |
2090 | ["Parent"] = mas, | |
2091 | ["GripPos"] = Vector3.new(0, -0.300000012, 0), | |
2092 | ["CanBeDropped"] = false, | |
2093 | }) | |
2094 | o2 = System.Create("Part",{ | |
2095 | ["Name"] = "Handle", | |
2096 | ["Parent"] = o1, | |
2097 | ["Transparency"] = 0.10000000149012, | |
2098 | ["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056), | |
2099 | ["Rotation"] = Vector3.new(-180, 0, 0), | |
2100 | ["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
2101 | ["FormFactor"] = Enum.FormFactor.Custom, | |
2102 | ["Size"] = Vector3.new(0.200000033, 1.80000019, 1), | |
2103 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
2104 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
2105 | ["Material"] = "Neon", | |
2106 | }) | |
2107 | o3 = System.Create("PointLight",{ | |
2108 | ["Parent"] = o2, | |
2109 | ["Brightness"] = 8, | |
2110 | ["Range"] = 14, | |
2111 | }) | |
2112 | o4 = System.Create("CylinderMesh",{ | |
2113 | ["Parent"] = o2, | |
2114 | }) | |
2115 | if not args[2] then | |
2116 | o2.Color = Color3.new(1,1,1) | |
2117 | o3.Color = Color3.new(1,1,1) else | |
2118 | o2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
2119 | o3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end | |
2120 | mas.Parent = workspace | |
2121 | mas:MakeJoints() | |
2122 | local b = mas:GetChildren() | |
2123 | for a = 1, #b do | |
2124 | b[a].Parent = gPlayers[v].Backpack | |
2125 | ypcall(function() | |
2126 | b[a]:MakeJoints() | |
2127 | end) | |
2128 | end | |
2129 | mas:Destroy() | |
2130 | for a = 1, #c do | |
2131 | coroutine.resume(c[a]) | |
2132 | end | |
2133 | end) | |
2134 | end | |
2135 | end) | |
2136 | ||
2137 | addcmd('keybind','Binds a command to a key',{}, | |
2138 | function(args,speaker) | |
2139 | if speaker.userId ~= LP.userId then | |
2140 | lponly(speaker) else | |
2141 | if #args < 2 then return end | |
2142 | local key = string.lower(args[1]) | |
2143 | if #key > 1 or key == cmdbarbind then return end | |
2144 | local cmdText = GLS(false,1) | |
2145 | local cas = game:GetService("ContextActionService") | |
2146 | cas:BindAction("Keybind"..key,function(action,state,obj) | |
2147 | if state == Enum.UserInputState.Begin then | |
2148 | execCmd(cmdText,speaker) | |
2149 | end | |
2150 | end,false,key) | |
2151 | Notify("Binded "..cmdText.." to "..key) | |
2152 | end | |
2153 | end) | |
2154 | ||
2155 | addcmd('unkeybind','Removes a binded command from a key',{'unbind'}, | |
2156 | function(args,speaker) | |
2157 | if speaker.userId ~= LP.userId then | |
2158 | lponly(speaker) else | |
2159 | if #args < 1 then return end | |
2160 | local key = string.lower(args[1]) | |
2161 | game:GetService("ContextActionService"):UnbindAction("Keybind"..key) | |
2162 | Notify("Unbinded "..key) | |
2163 | end | |
2164 | end) | |
2165 | ||
2166 | ||
2167 | ||
2168 | ||
2169 | ||
2170 | addcmd('trail', 'spawns a trail behind a player',{}, | |
2171 | function(args, speaker) | |
2172 | local players = getPlayer(args[1], speaker) | |
2173 | for i,v in pairs(players)do | |
2174 | spawn(function() | |
2175 | local pchar=_char(v) | |
2176 | for j,v1 in pairs(pchar.Torso:GetChildren()) do | |
2177 | if v1.Name == "TRAIL" then | |
2178 | v1:Destroy() | |
2179 | end | |
2180 | end | |
2181 | if args[2] then | |
2182 | color1 = Color3.fromRGB(args[2],args[3],args[4]) | |
2183 | color2 = Color3.new(0,0,0) else | |
2184 | color1 = Color3.new(1,1,1) | |
2185 | color2 = Color3.new(0,0,0) end | |
2186 | if pchar:FindFirstChild("Torso") then | |
2187 | local e = Instance.new("Trail", pchar.Torso) | |
2188 | e.Name = "TRAIL" | |
2189 | e.FaceCamera = true | |
2190 | e.Color = ColorSequence.new(color1,color2) | |
2191 | e.Attachment0 = pchar.Torso.WaistCenterAttachment | |
2192 | e.Attachment1 = pchar.Torso.NeckAttachment | |
2193 | end | |
2194 | end) | |
2195 | end | |
2196 | end) | |
2197 | ||
2198 | addcmd('untrail', 'deletes the trail behind a player',{'notrail'}, | |
2199 | function(args, speaker) | |
2200 | local players = getPlayer(args[1], speaker) | |
2201 | for i,v in pairs(players)do | |
2202 | spawn(function() | |
2203 | local pchar=_char(v) | |
2204 | for j,v1 in pairs(pchar.Torso:GetChildren()) do | |
2205 | if v1.Name == "TRAIL" then | |
2206 | v1:Destroy() | |
2207 | end | |
2208 | end | |
2209 | end) | |
2210 | end | |
2211 | end) | |
2212 | ||
2213 | local fa = false | |
2214 | local cam = workspace.CurrentCamera | |
2215 | local cam1 = 0 | |
2216 | local cam2 = 0 | |
2217 | local cam3 = 0 | |
2218 | local k1 = false | |
2219 | local k2 = false | |
2220 | local k3 = false | |
2221 | local k4 = false | |
2222 | local k5 = false | |
2223 | local k6 = false | |
2224 | cs = 0.5 | |
2225 | function movecam() | |
2226 | local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') | |
2227 | if fa == false then | |
2228 | repeat | |
2229 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2230 | local fp = fc.Position | |
2231 | fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1) | |
2232 | fa = true | |
2233 | end | |
2234 | game:GetService('RunService').RenderStepped:Wait() | |
2235 | until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') | |
2236 | fa = false | |
2237 | end | |
2238 | end | |
2239 | function kp1(inputObject, gameProcessedEvent) | |
2240 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2241 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
2242 | k1 = true | |
2243 | cam1 = cs end | |
2244 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
2245 | k2 = true | |
2246 | cam1 = (cs*-1) end | |
2247 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
2248 | k3 = true | |
2249 | cam2 = cs end | |
2250 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
2251 | k4 = true | |
2252 | cam2 = (cs*-1) end | |
2253 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
2254 | k5 = true | |
2255 | cam3 = cs end | |
2256 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
2257 | k6 = true | |
2258 | cam3 = (cs*-1) end | |
2259 | end | |
2260 | end | |
2261 | game:GetService("UserInputService").InputBegan:connect(kp1) | |
2262 | function kp2(inputObject, gameProcessedEvent) | |
2263 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2264 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
2265 | k1 = false | |
2266 | if k2 == false then | |
2267 | cam1 = 0 | |
2268 | end | |
2269 | end | |
2270 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
2271 | k2 = false | |
2272 | if k1 == false then | |
2273 | cam1 = 0 | |
2274 | end | |
2275 | end | |
2276 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
2277 | k3= false | |
2278 | if k4== false then | |
2279 | cam2 = 0 | |
2280 | end | |
2281 | end | |
2282 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
2283 | k4 = false | |
2284 | if k3 == false then | |
2285 | cam2 = 0 | |
2286 | end | |
2287 | end | |
2288 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
2289 | k5 = false | |
2290 | if k6 == false then | |
2291 | cam3 = 0 | |
2292 | end | |
2293 | end | |
2294 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
2295 | k6 = false | |
2296 | if k5 == false then | |
2297 | cam3 = 0 | |
2298 | end | |
2299 | end | |
2300 | end | |
2301 | end | |
2302 | game:GetService("UserInputService").InputEnded:connect(kp2) | |
2303 | function FC() | |
2304 | if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2305 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true | |
2306 | local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character) | |
2307 | fc.CanCollide = false | |
2308 | fc.Anchored = true | |
2309 | fc.Transparency = 1 | |
2310 | fc.Size = Vector3.new(1,1,1) | |
2311 | fc.Name = 'xFC' | |
2312 | fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame | |
2313 | local cam = workspace.CurrentCamera | |
2314 | cam.CameraSubject = fc | |
2315 | cam.CameraType = 'Custom' | |
2316 | movecam() | |
2317 | end end | |
2318 | function UFC() | |
2319 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false | |
2320 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2321 | game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy() | |
2322 | local cam = workspace.CurrentCamera | |
2323 | cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid | |
2324 | cam.CameraType = 'Custom' | |
2325 | end end | |
2326 | ||
2327 | addcmd('freecam','freecam',{'fc'}, | |
2328 | function(args, speaker) | |
2329 | if speaker.userId ~= LP.userId then | |
2330 | lponly(speaker) | |
2331 | else | |
2332 | FC() | |
2333 | end | |
2334 | end) | |
2335 | ||
2336 | addcmd('fixcam','fixes camera',{}, | |
2337 | function(args, speaker) | |
2338 | if speaker.userId ~= LP.userId then | |
2339 | lponly(speaker) | |
2340 | else | |
2341 | workspace.CurrentCamera:remove() | |
2342 | wait(.1) | |
2343 | workspace.CurrentCamera.CameraSubject = LP.Character.Humanoid | |
2344 | workspace.CurrentCamera.CameraType = "Custom" | |
2345 | LP.CameraMinZoomDistance = 0.5 | |
2346 | LP.CameraMaxZoomDistance = 400 | |
2347 | LP.CameraMode = "Classic" | |
2348 | end | |
2349 | end) | |
2350 | ||
2351 | addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'}, | |
2352 | function(args, speaker) | |
2353 | local players = getPlayer(args[1], speaker) | |
2354 | for i,v in pairs(players)do | |
2355 | local pchar=_char(v) | |
2356 | local char = pchar | |
2357 | local hum = char.Humanoid | |
2358 | for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end | |
2359 | hum.HealthDisplayDistance = 0 | |
2360 | --execcmd god | |
2361 | local stake = Instance.new("Part",char) | |
2362 | stake.Anchored = true | |
2363 | stake.BrickColor = BrickColor.new("Reddish brown") | |
2364 | stake.Material = "Wood" | |
2365 | stake.Size = Vector3.new(1,7,1) | |
2366 | stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1) | |
2367 | local hay = Instance.new("Part",char) | |
2368 | hay.Anchored = true | |
2369 | hay.Material = "Grass" | |
2370 | hay.BrickColor = BrickColor.new("New Yeller") | |
2371 | hay.Size = Vector3.new(6,1,5) | |
2372 | hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0) | |
2373 | local hay2 = hay:clone() | |
2374 | hay2.Parent = char | |
2375 | hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0) | |
2376 | local fire = Instance.new("Fire",hay) | |
2377 | fire.Enabled = false | |
2378 | fire.Heat = 25 | |
2379 | fire.Size = 2 | |
2380 | fire.Color = Color3.new(170/255,85/255,0) | |
2381 | local smoke = Instance.new("Smoke",hay) | |
2382 | smoke.Enabled = false | |
2383 | smoke.Opacity = 1 | |
2384 | smoke.RiseVelocity = 25 | |
2385 | smoke.Size = 15 | |
2386 | smoke.Color = Color3.new(0,0,0) | |
2387 | local light = Instance.new("PointLight",hay) | |
2388 | light.Color = Color3.new(170/255,85/255,0) | |
2389 | light.Range = 0 | |
2390 | light.Brightness = 1 | |
2391 | light.Enabled = false | |
2392 | --[[]] | |
2393 | local crack = Instance.new("Sound",hay) | |
2394 | crack.SoundId = "rbxassetid://239443642" | |
2395 | crack.Looped = true | |
2396 | crack.Volume = 0 | |
2397 | local scream = Instance.new("Sound",char.Torso) | |
2398 | scream.SoundId = "rbxassetid://264227115" | |
2399 | scream.Looped = true | |
2400 | scream.Volume = 0 | |
2401 | --]] | |
2402 | wait() | |
2403 | char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5) | |
2404 | char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5) | |
2405 | ||
2406 | local bods = char['Body Colors'] | |
2407 | local colors = { | |
2408 | --"Really red"; | |
2409 | "Bright red"; | |
2410 | "Crimson"; | |
2411 | "Maroon"; | |
2412 | "Really black"; | |
2413 | } | |
2414 | ||
2415 | fire.Enabled=true | |
2416 | smoke.Enabled=true | |
2417 | light.Enabled=true | |
2418 | crack:Play() | |
2419 | scream:Play() | |
2420 | scream.Pitch = 0.8 | |
2421 | --scream.Volume = 0.5 | |
2422 | for i=1,30 do | |
2423 | crack.Volume = crack.Volume+(1/30) | |
2424 | scream.Volume = crack.Volume | |
2425 | fire.Size=i | |
2426 | smoke.RiseVelocity=i-5 | |
2427 | smoke.Size=i/2 | |
2428 | light.Range=i*2 | |
2429 | wait(1) | |
2430 | end | |
2431 | ||
2432 | for i=1,#colors do | |
2433 | bods.HeadColor=BrickColor.new(colors[i]) | |
2434 | bods.LeftArmColor=BrickColor.new(colors[i]) | |
2435 | bods.LeftLegColor=BrickColor.new(colors[i]) | |
2436 | bods.RightArmColor=BrickColor.new(colors[i]) | |
2437 | bods.RightLegColor=BrickColor.new(colors[i]) | |
2438 | bods.TorsoColor=BrickColor.new(colors[i]) | |
2439 | hay.BrickColor=BrickColor.new(colors[i]) | |
2440 | hay2.BrickColor=BrickColor.new(colors[i]) | |
2441 | stake.BrickColor=BrickColor.new(colors[i]) | |
2442 | wait(5) | |
2443 | end | |
2444 | wait(10) | |
2445 | scream.Volume = 0.5 | |
2446 | wait(1) | |
2447 | scream:Stop() | |
2448 | char:BreakJoints() | |
2449 | end | |
2450 | end) | |
2451 | ||
2452 | addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'}, | |
2453 | function(args, speaker) | |
2454 | if speaker.userId ~= LP.userId then | |
2455 | lponly(speaker) | |
2456 | else | |
2457 | UFC() | |
2458 | end | |
2459 | end) | |
2460 | ||
2461 | addcmd('freecamspeed','unfreecam',{'fcspeed'}, | |
2462 | function(args, speaker) | |
2463 | if speaker.userId ~= LP.userId then | |
2464 | lponly(speaker) | |
2465 | else | |
2466 | if isNumber(args[1]) then | |
2467 | cs = args[1] | |
2468 | end end end) | |
2469 | ||
2470 | addcmd('nolight', 'no more light',{'unlight'}, | |
2471 | function(args, speaker) | |
2472 | local players = getPlayer(args[1], speaker) | |
2473 | for i,v in pairs(players)do | |
2474 | local pchar=_char(v) | |
2475 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
2476 | if v1:IsA("PointLight") then | |
2477 | v1:Destroy() | |
2478 | end | |
2479 | end | |
2480 | end | |
2481 | end) | |
2482 | ||
2483 | addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'}, | |
2484 | function(args, speaker) | |
2485 | local players = getPlayer(args[1], speaker) | |
2486 | for i,v in pairs(players)do | |
2487 | local pchar=_char(v) | |
2488 | scale = 10 | |
2489 | ||
2490 | function weld(tab) | |
2491 | local last = nil | |
2492 | for i,v in pairs(tab) do | |
2493 | if v:IsA("BasePart") then | |
2494 | if last then | |
2495 | local w = Instance.new("Weld",last) | |
2496 | w.Part0 = w.Parent | |
2497 | w.Part1 = v | |
2498 | local pos = last.CFrame:toObjectSpace(v.CFrame) | |
2499 | w.C0 = pos | |
2500 | end | |
2501 | last = v | |
2502 | end | |
2503 | end | |
2504 | end | |
2505 | ||
2506 | function makeball(pos) | |
2507 | local model = Instance.new("Model",workspace) | |
2508 | model.Name = gPlayers[v].Name .. "ball" | |
2509 | local rand = BrickColor.Random() | |
2510 | pchar.Head.Anchored = true | |
2511 | for i=0,340,20 do | |
2512 | wait() | |
2513 | for z=-90,70,20 do | |
2514 | local p = Instance.new("Part",model) | |
2515 | p.formFactor = "Custom" | |
2516 | p.BrickColor = rand | |
2517 | p.Transparency = 0.5 | |
2518 | p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140) | |
2519 | p.Anchored = true | |
2520 | p.TopSurface = 0 | |
2521 | p.BottomSurface = 0 | |
2522 | p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2) | |
2523 | p:breakJoints() | |
2524 | end | |
2525 | end | |
2526 | weld(model:children()) | |
2527 | for i,v in pairs(model:children()) do v.Anchored = false end | |
2528 | pchar.Head.Anchored = false | |
2529 | model:MakeJoints() | |
2530 | end | |
2531 | ||
2532 | if pchar then | |
2533 | makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0)) | |
2534 | end | |
2535 | end | |
2536 | end) | |
2537 | ||
2538 | addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'}, | |
2539 | function(args, speaker) | |
2540 | local players = getPlayer(args[1], speaker) | |
2541 | for i,v in pairs(players)do | |
2542 | local pchar=_char(v) | |
2543 | for _, child in pairs( workspace:GetChildren()) do | |
2544 | if child.Name == gPlayers[v].Name .. "ball" then | |
2545 | child:Destroy() | |
2546 | end | |
2547 | end | |
2548 | end | |
2549 | end) | |
2550 | ||
2551 | local fastwait = function(time) | |
2552 | local expire = tick()+(time or 0.02999999999999999889) | |
2553 | while game:GetService("RunService").Heartbeat:wait() do | |
2554 | if tick() >= expire then return true end | |
2555 | end | |
2556 | end | |
2557 | ||
2558 | function arrest(name) | |
2559 | spawn(function() | |
2560 | local p = game:GetService("Players"):FindFirstChild(name) | |
2561 | local char = p.Character | |
2562 | local torso = p.Character:FindFirstChild("HumanoidRootPart") | |
2563 | local humanoid = p.Character:FindFirstChild("Humanoid") | |
2564 | if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then | |
2565 | local van = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587") | |
2566 | if van then | |
2567 | local function check() | |
2568 | 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 | |
2569 | return false | |
2570 | else | |
2571 | return true | |
2572 | end | |
2573 | end | |
2574 | ||
2575 | --local driver = van.Driver | |
2576 | --local grabber = van.Clown | |
2577 | local primary = van.Primary | |
2578 | --local door = van.Door | |
2579 | local tPos = torso.CFrame | |
2580 | ||
2581 | local sound = Instance.new("Sound",primary) | |
2582 | sound.SoundId = "rbxassetid://258529216" | |
2583 | sound.Looped = true | |
2584 | sound:Play() | |
2585 | ||
2586 | local chuckle = Instance.new("Sound",primary) | |
2587 | chuckle.SoundId = "rbxassetid://175964948" | |
2588 | chuckle.Looped = true | |
2589 | chuckle.Volume = 0.5 | |
2590 | chuckle:Play() | |
2591 | ||
2592 | van.PrimaryPart = van.Primary | |
2593 | van.Name = "ADONIS_VAN" | |
2594 | van.Parent = workspace | |
2595 | humanoid.Name = "NoResetForYou" | |
2596 | humanoid.WalkSpeed = 0 | |
2597 | sound.Pitch = 1.3 | |
2598 | ||
2599 | local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace) | |
2600 | music.Name = "COPSONG" | |
2601 | music.SoundId = "rbxassetid://132007810" | |
2602 | music.Volume = 1 | |
2603 | music.Looped = true | |
2604 | if not music.Playing then music:Play() end | |
2605 | ||
2606 | spawn(function() | |
2607 | while fastwait(0.2) do | |
2608 | van.Body.Lightbar.Red.PointLight.Enabled = true | |
2609 | van.Body.Lightbar.Blue.PointLight.Enabled = false | |
2610 | fastwait(0.2) | |
2611 | van.Body.Lightbar.Red.PointLight.Enabled = false | |
2612 | van.Body.Lightbar.Blue.PointLight.Enabled = true | |
2613 | end | |
2614 | end) | |
2615 | ||
2616 | for i = 1,200 do | |
2617 | if not check() then | |
2618 | break | |
2619 | else | |
2620 | van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0))) | |
2621 | fastwait(0.001*(i/5)) | |
2622 | end | |
2623 | end | |
2624 | ||
2625 | sound.Pitch = 0.9 | |
2626 | ||
2627 | fastwait(0.5) | |
2628 | if check() then | |
2629 | --door.Transparency = 1 | |
2630 | end | |
2631 | ||
2632 | local freeze = Instance.new("Sound",primary) | |
2633 | freeze.SoundId = "rbxassetid://163732279" | |
2634 | freeze.Volume = 5 | |
2635 | freeze:Play() | |
2636 | ||
2637 | fastwait(3) | |
2638 | ||
2639 | if check() then | |
2640 | torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0)) | |
2641 | end | |
2642 | ||
2643 | fastwait(0.5) | |
2644 | if check() then | |
2645 | --door.Transparency = 0 | |
2646 | end | |
2647 | fastwait(0.5) | |
2648 | ||
2649 | sound.Pitch = 1.3 | |
2650 | local gui = Instance.new("ScreenGui") | |
2651 | local frame = Instance.new("Frame",gui) | |
2652 | frame.BackgroundTransparency = 1 | |
2653 | frame.BackgroundColor3 = Color3.new(0,0,0) | |
2654 | frame.Position = UDim2.new(0,0,0,-36) | |
2655 | frame.Size = UDim2.new(1,0,1,36) | |
2656 | spawn(function() | |
2657 | for i = 1,0,-0.01 do | |
2658 | frame.BackgroundTransparency = i | |
2659 | fastwait(0.1) | |
2660 | end | |
2661 | frame.BackgroundTransparency = 0 | |
2662 | end) | |
2663 | ||
2664 | p.CameraMaxZoomDistance = 0.5 | |
2665 | ||
2666 | torso.Anchored = true | |
2667 | ||
2668 | for i = 1,400 do | |
2669 | if not check() then | |
2670 | break | |
2671 | else | |
2672 | van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0))) | |
2673 | torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0)) | |
2674 | fastwait(0.1/(i*5)) | |
2675 | ||
2676 | if i == 270 then | |
2677 | music.Volume = 5 | |
2678 | end | |
2679 | end | |
2680 | end | |
2681 | ||
2682 | local function KICK(P) | |
2683 | spawn(function() | |
2684 | if not FindTable(WL, P.Name) then | |
2685 | for i = 1,5 do | |
2686 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
2687 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
2688 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
2689 | spawn(function() | |
2690 | repeat fastwait() | |
2691 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
2692 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
2693 | end) | |
2694 | P.Character.HumanoidRootPart.Anchored = true | |
2695 | end | |
2696 | end | |
2697 | end | |
2698 | end) | |
2699 | end | |
2700 | ||
2701 | if p and p.Parent == game:GetService("Players") then | |
2702 | if p == game:GetService("Players").LocalPlayer then | |
2703 | fastwait(5) | |
2704 | end | |
2705 | torso.Anchored = false | |
2706 | p.CharacterAdded:Connect(function() | |
2707 | fastwait() | |
2708 | KICK(p) | |
2709 | end) | |
2710 | KICK(p) | |
2711 | end | |
2712 | fastwait(0.5) | |
2713 | pcall(function() van:Destroy() end) | |
2714 | pcall(function() gui:Destroy() end) | |
2715 | if not workspace:FindFirstChild("ADONIS_VAN") then | |
2716 | music:Destroy() | |
2717 | end | |
2718 | end | |
2719 | end | |
2720 | end) | |
2721 | end | |
2722 | ||
2723 | addcmd('arrest', 'arrests player',{}, | |
2724 | function(args, speaker) | |
2725 | local players = getPlayer(args[1], speaker) | |
2726 | for i,v in pairs(players)do | |
2727 | arrest(gPlayers[v].Name) | |
2728 | end | |
2729 | end) | |
2730 | ||
2731 | addcmd('nodummies', 'clears dummies',{}, | |
2732 | function(args, speaker) | |
2733 | for _, child in pairs( workspace:GetChildren()) do | |
2734 | if child:FindFirstChild('isdummy') then | |
2735 | child:Destroy() | |
2736 | end | |
2737 | end | |
2738 | end) | |
2739 | ||
2740 | addcmd('dummy','Make a dummy(usage: ;dummy name)',{}, | |
2741 | function(args, speaker) | |
2742 | local name = GLS(false, 0) | |
2743 | local lchar = game:GetService('Players').LocalPlayer | |
2744 | local Model0 = Instance.new("Model") | |
2745 | local Part1 = Instance.new("Part") | |
2746 | local SpecialMesh2 = Instance.new("SpecialMesh") | |
2747 | local Decal3 = Instance.new("Decal") | |
2748 | local Part4 = Instance.new("Part") | |
2749 | local Motor5 = Instance.new("Motor") | |
2750 | local Motor6 = Instance.new("Motor") | |
2751 | local Motor7 = Instance.new("Motor") | |
2752 | local Motor8 = Instance.new("Motor") | |
2753 | local Motor9 = Instance.new("Motor") | |
2754 | local Part10 = Instance.new("Part") | |
2755 | local Part11 = Instance.new("Part") | |
2756 | local Part12 = Instance.new("Part") | |
2757 | local Part13 = Instance.new("Part") | |
2758 | local dum = Instance.new("BoolValue") | |
2759 | dum.Name = "isdummy" | |
2760 | dum.Parent = Model0 | |
2761 | local Humanoid14 = Instance.new("Humanoid") | |
2762 | Model0.Name = name | |
2763 | Model0.Parent = workspace | |
2764 | Model0.PrimaryPart = Part1 | |
2765 | Part1.Name = "Head" | |
2766 | Part1.Parent = Model0 | |
2767 | Part1.BrickColor = BrickColor.new("Bright yellow") | |
2768 | Part1.CanCollide = false | |
2769 | Part1.FormFactor = Enum.FormFactor.Symmetric | |
2770 | Part1.Friction = 0 | |
2771 | Part1.Size = Vector3.new(2, 1, 1) | |
2772 | Part1.CFrame = CFrame.new(3.49000192, 4.49999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2773 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
2774 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2775 | Part1.Position = Vector3.new(3.49000192, 4.49999905, 7.75) | |
2776 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2777 | SpecialMesh2.Parent = Part1 | |
2778 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2779 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2780 | Decal3.Name = "face" | |
2781 | Decal3.Parent = Part1 | |
2782 | Decal3.Texture = "rbxasset://textures/face.png" | |
2783 | Part4.Name = "Torso" | |
2784 | Part4.Parent = Model0 | |
2785 | Part4.BrickColor = BrickColor.new("Bright blue") | |
2786 | Part4.CanCollide = false | |
2787 | Part4.FormFactor = Enum.FormFactor.Symmetric | |
2788 | Part4.Friction = 0 | |
2789 | Part4.Size = Vector3.new(2, 2, 1) | |
2790 | Part4.CFrame = CFrame.new(3.49000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2791 | Part4.LeftSurface = Enum.SurfaceType.Weld | |
2792 | Part4.RightSurface = Enum.SurfaceType.Weld | |
2793 | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
2794 | Part4.Position = Vector3.new(3.49000192, 2.99999905, 7.75) | |
2795 | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
2796 | Motor5.Name = "Right Shoulder" | |
2797 | Motor5.Parent = Part4 | |
2798 | Motor5.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2799 | Motor5.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2800 | Motor5.Part0 = Part4 | |
2801 | Motor5.Part1 = Part11 | |
2802 | Motor5.DesiredAngle = 0.083800852298737 | |
2803 | Motor5.MaxVelocity = 0.15000000596046 | |
2804 | Motor6.Name = "Left Shoulder" | |
2805 | Motor6.Parent = Part4 | |
2806 | Motor6.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2807 | Motor6.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2808 | Motor6.Part0 = Part4 | |
2809 | Motor6.Part1 = Part10 | |
2810 | Motor6.DesiredAngle = 0.083800852298737 | |
2811 | Motor6.MaxVelocity = 0.15000000596046 | |
2812 | Motor7.Name = "Left Hip" | |
2813 | Motor7.Parent = Part4 | |
2814 | Motor7.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2815 | Motor7.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2816 | Motor7.Part0 = Part4 | |
2817 | Motor7.Part1 = Part12 | |
2818 | Motor7.DesiredAngle = -0.083800852298737 | |
2819 | Motor7.MaxVelocity = 0.10000000149012 | |
2820 | Motor8.Name = "Neck" | |
2821 | Motor8.Parent = Part4 | |
2822 | Motor8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
2823 | Motor8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
2824 | Motor8.Part0 = Part4 | |
2825 | Motor8.Part1 = Part1 | |
2826 | Motor8.MaxVelocity = 0.10000000149012 | |
2827 | Motor9.Name = "Right Hip" | |
2828 | Motor9.Parent = Part4 | |
2829 | Motor9.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2830 | Motor9.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2831 | Motor9.Part0 = Part4 | |
2832 | Motor9.Part1 = Part13 | |
2833 | Motor9.DesiredAngle = -0.083800852298737 | |
2834 | Motor9.MaxVelocity = 0.10000000149012 | |
2835 | Part10.Name = "Left Arm" | |
2836 | Part10.Parent = Model0 | |
2837 | Part10.BrickColor = BrickColor.new("Bright yellow") | |
2838 | Part10.CanCollide = false | |
2839 | Part10.FormFactor = Enum.FormFactor.Symmetric | |
2840 | Part10.Size = Vector3.new(1, 2, 1) | |
2841 | Part10.CFrame = CFrame.new(1.99000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2842 | Part10.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2843 | Part10.Position = Vector3.new(1.99000192, 2.99999905, 7.75) | |
2844 | Part10.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2845 | Part11.Name = "Right Arm" | |
2846 | Part11.Parent = Model0 | |
2847 | Part11.BrickColor = BrickColor.new("Bright yellow") | |
2848 | Part11.CanCollide = false | |
2849 | Part11.FormFactor = Enum.FormFactor.Symmetric | |
2850 | Part11.Size = Vector3.new(1, 2, 1) | |
2851 | Part11.CFrame = CFrame.new(4.99000168, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2852 | Part11.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2853 | Part11.Position = Vector3.new(4.99000168, 2.99999905, 7.75) | |
2854 | Part11.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2855 | Part12.Name = "Left Leg" | |
2856 | Part12.Parent = Model0 | |
2857 | Part12.BrickColor = BrickColor.new("Br. yellowish green") | |
2858 | Part12.CanCollide = false | |
2859 | Part12.FormFactor = Enum.FormFactor.Symmetric | |
2860 | Part12.Size = Vector3.new(1, 2, 1) | |
2861 | Part12.CFrame = CFrame.new(2.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2862 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
2863 | Part12.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2864 | Part12.Position = Vector3.new(2.99000192, 0.999999046, 7.75) | |
2865 | Part12.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2866 | Part13.Name = "Right Leg" | |
2867 | Part13.Parent = Model0 | |
2868 | Part13.BrickColor = BrickColor.new("Br. yellowish green") | |
2869 | Part13.CanCollide = false | |
2870 | Part13.FormFactor = Enum.FormFactor.Symmetric | |
2871 | Part13.Size = Vector3.new(1, 2, 1) | |
2872 | Part13.CFrame = CFrame.new(3.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2873 | Part13.BottomSurface = Enum.SurfaceType.Smooth | |
2874 | Part13.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2875 | Part13.Position = Vector3.new(3.99000192, 0.999999046, 7.75) | |
2876 | Part13.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2877 | Humanoid14.Parent = Model0 | |
2878 | Humanoid14.RightLeg = Part13 | |
2879 | Humanoid14.LeftLeg = Part12 | |
2880 | Humanoid14.Torso = Part4 | |
2881 | Model0:MoveTo(game:GetService('Players').LocalPlayer.Character:GetModelCFrame().p) | |
2882 | Model0.Parent = game:GetService('Workspace') | |
2883 | end) | |
2884 | ||
2885 | addcmd('loopkill', 'rip person',{'lkill'}, | |
2886 | function(args, speaker) | |
2887 | local players = getPlayer(args[1], speaker) | |
2888 | for i,v in pairs(players)do | |
2889 | if not FindTable(loopkillT, _players[v].Name) then | |
2890 | table.insert(loopkillT, _players[v].Name) | |
2891 | if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else | |
2892 | Notify('Loopkilling player(s)') end end end end) | |
2893 | ||
2894 | addcmd('unloopkill', 'un rip person',{'unlkill'}, | |
2895 | function(args, speaker) | |
2896 | local players = getPlayer(args[1], speaker) | |
2897 | for i,v in pairs(players)do | |
2898 | if FindTable(loopkillT, _players[v].Name) then | |
2899 | table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name)) | |
2900 | if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else | |
2901 | Notify('No longer loopkilling player(s)') end end end end) | |
2902 | ||
2903 | addcmd('disabletools', 'removes their tools',{'loopremovetools'}, | |
2904 | function(args, speaker) | |
2905 | local players = getPlayer(args[1], speaker) | |
2906 | for i,v in pairs(players)do | |
2907 | if not FindTable(disabletoolsT, _players[v].Name) then | |
2908 | table.insert(disabletoolsT, _players[v].Name) | |
2909 | if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else | |
2910 | Notify('Disabled tools for player(s)') end end end end) | |
2911 | ||
2912 | addcmd('enabletools', 'lets them have tools',{}, | |
2913 | function(args, speaker) | |
2914 | local players = getPlayer(args[1], speaker) | |
2915 | for i,v in pairs(players)do | |
2916 | if FindTable(disabletoolsT, _players[v].Name) then | |
2917 | table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) wait(0.1) refresh(_players[v]) | |
2918 | if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else | |
2919 | Notify('Enabled tools for player(s)') end end end end) | |
2920 | ||
2921 | addcmd('refresh', 'refresh their player model',{'re'}, | |
2922 | function(args, speaker) | |
2923 | local players = getPlayer(args[1], speaker) | |
2924 | for i,v in pairs(players)do | |
2925 | refresh(_players[v]) | |
2926 | end end) | |
2927 | ||
2928 | local fastwait = function(time) | |
2929 | local expire = tick()+(time or 0.02999999999999999889) | |
2930 | while game:GetService("RunService").Heartbeat:wait() do | |
2931 | if tick() >= expire then return true end | |
2932 | end | |
2933 | end | |
2934 | ||
2935 | function gull(name) | |
2936 | spawn(function() | |
2937 | local char = game:GetService("Players")[name].Character | |
2938 | char.PrimaryPart = char.HumanoidRootPart | |
2939 | ||
2940 | local tors = game:GetService("Players")[name].Character.HumanoidRootPart | |
2941 | local initCFrame = tors.CFrame | |
2942 | ||
2943 | if char:FindFirstChild("Torso") then | |
2944 | char.Torso.Anchored = true | |
2945 | else | |
2946 | char.UpperTorso.Anchored = true | |
2947 | end | |
2948 | char:FindFirstChildOfClass("Humanoid").Name = "Sad" | |
2949 | ||
2950 | local gull = Instance.new("Part") | |
2951 | gull.Anchored = true | |
2952 | gull.CanCollide = false | |
2953 | gull.Position = Vector3.new(0,100000,0) | |
2954 | local mesh = Instance.new("SpecialMesh",gull) | |
2955 | mesh.MeshId = "http://www.roblox.com/asset/?id=272501436" | |
2956 | mesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
2957 | mesh.Scale = Vector3.new(10,10,10) | |
2958 | ||
2959 | local leftWing = Instance.new("Part",gull) | |
2960 | leftWing.CanCollide = false | |
2961 | local lmesh = Instance.new("SpecialMesh",leftWing) | |
2962 | lmesh.MeshId = "http://www.roblox.com/asset/?id=267684584" | |
2963 | lmesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
2964 | lmesh.Scale = Vector3.new(10,10,10) | |
2965 | local leftMotor = Instance.new("Motor6D",gull) | |
2966 | leftMotor.MaxVelocity = 1 | |
2967 | leftMotor.Part0 = gull | |
2968 | leftMotor.Part1 = leftWing | |
2969 | leftMotor.C0 = CFrame.new(-50.2919998, -0.0920021087, 0.280000001) | |
2970 | ||
2971 | local rightWing = Instance.new("Part",gull) | |
2972 | rightWing.CanCollide = false | |
2973 | local rmesh = Instance.new("SpecialMesh",rightWing) | |
2974 | rmesh.MeshId = "http://www.roblox.com/asset/?id=267684651" | |
2975 | rmesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
2976 | rmesh.Scale = Vector3.new(10,10,10) | |
2977 | local rightMotor = Instance.new("Motor6D",gull) | |
2978 | rightMotor.MaxVelocity = 1 | |
2979 | rightMotor.Part0 = gull | |
2980 | rightMotor.Part1 = rightWing | |
2981 | rightMotor.C0 = CFrame.new(47.1930008, -0.0670021027, 0.280000001) | |
2982 | ||
2983 | local sound = Instance.new("Sound",gull) | |
2984 | sound.SoundId = "rbxassetid://160877039" | |
2985 | sound.Volume = 10 | |
2986 | gull.Parent = workspace | |
2987 | ||
2988 | for i = 400,-1000,-2 do | |
2989 | local der = 0.02*i | |
2990 | local angle = math.atan(der/1) | |
2991 | gull.CFrame = initCFrame*CFrame.Angles(angle,math.pi,0) + initCFrame.lookVector * (i+5) + Vector3.new(0,0.01*i^2+7,0) | |
2992 | if i == 0 then sound:Play() end | |
2993 | if i <= 0 then | |
2994 | char:SetPrimaryPartCFrame(gull.CFrame) | |
2995 | local nextAngle = -0.2*math.sin(0.05*math.pi*(i)) | |
2996 | leftMotor.DesiredAngle = -nextAngle | |
2997 | leftMotor.C0 = CFrame.new(-50.2919998, 47.193*math.tan(nextAngle), 0.280000001) | |
2998 | rightMotor.DesiredAngle = nextAngle | |
2999 | rightMotor.C0 = CFrame.new(47.1930008, 47.193*math.tan(nextAngle), 0.280000001) | |
3000 | end | |
3001 | game:GetService("RunService").RenderStepped:wait() | |
3002 | end | |
3003 | ||
3004 | local function KICK(P) | |
3005 | spawn(function() | |
3006 | if not FindTable(WL, P.Name) then | |
3007 | for i = 1,5 do | |
3008 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
3009 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
3010 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
3011 | spawn(function() | |
3012 | repeat wait() | |
3013 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
3014 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
3015 | end) | |
3016 | P.Character.HumanoidRootPart.Anchored = true | |
3017 | end | |
3018 | end | |
3019 | end | |
3020 | end) | |
3021 | end | |
3022 | ||
3023 | if char:FindFirstChild("Torso") then | |
3024 | char.Torso.Anchored = false | |
3025 | else | |
3026 | char.UpperTorso.Anchored = false | |
3027 | end | |
3028 | ||
3029 | spawn(function() | |
3030 | if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(5) end | |
3031 | game:GetService("Players")[name].CharacterAdded:Connect(function() | |
3032 | wait() | |
3033 | KICK(game:GetService("Players")[name]) | |
3034 | end) | |
3035 | KICK(game:GetService("Players")[name]) | |
3036 | end) | |
3037 | ||
3038 | local go = Instance.new("BodyVelocity",gull) | |
3039 | go.Velocity = Vector3.new(0,1000,0) | |
3040 | go.MaxForce = Vector3.new(1000000,1000000,1000000) | |
3041 | gull.Anchored = false | |
3042 | end) | |
3043 | end | |
3044 | ||
3045 | addcmd('seagull', 'seagulls player',{'gull'}, | |
3046 | function(args, speaker) | |
3047 | local players = getPlayer(args[1], speaker) | |
3048 | for i,v in pairs(players)do | |
3049 | gull(gPlayers[v].Name) | |
3050 | end | |
3051 | end) | |
3052 | ||
3053 | local song = nil | |
3054 | function zinniaKick(name) | |
3055 | spawn(function() | |
3056 | if song == nil or song.Parent == nil then | |
3057 | song = Instance.new("Sound",workspace) | |
3058 | song.SoundId = "rbxassetid://190423831" | |
3059 | song.Volume = 1 | |
3060 | song.Looped = true | |
3061 | song:Play() | |
3062 | end | |
3063 | local zin = Instance.new("Part") | |
3064 | zin.Name = "CuteZinnia" | |
3065 | zin.Anchored = true | |
3066 | zin.CanCollide = false | |
3067 | zin.Locked = true | |
3068 | local mesh = Instance.new("SpecialMesh") | |
3069 | mesh.MeshId = "rbxassetid://1175670539" | |
3070 | mesh.TextureId = "rbxassetid://1175670558" | |
3071 | mesh.Scale = Vector3.new(0.05,0.05,0.05) | |
3072 | mesh.Offset = Vector3.new(0,0.88,0) | |
3073 | mesh.Parent = zin | |
3074 | local char = game:GetService("Players")[name].Character | |
3075 | char.PrimaryPart = char.HumanoidRootPart | |
3076 | if char:FindFirstChild("Torso") then | |
3077 | char.Torso.Anchored = true | |
3078 | else | |
3079 | char.UpperTorso.Anchored = true | |
3080 | end | |
3081 | 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)) | |
3082 | zin.Parent = workspace | |
3083 | 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)}) | |
3084 | tween:Play() | |
3085 | fastwait(3) | |
3086 | for i = 50,1,-1 do | |
3087 | 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)) | |
3088 | fastwait() | |
3089 | end | |
3090 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3091 | fastwait(1) | |
3092 | local turns = 0 | |
3093 | ||
3094 | while turns < 200 do | |
3095 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3096 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3097 | turns = turns + 1 | |
3098 | fastwait() | |
3099 | end | |
3100 | for i = 1,10 do | |
3101 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3102 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3103 | fastwait() | |
3104 | end | |
3105 | local rX,rZ = 0,0 | |
3106 | repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000 | |
3107 | repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000 | |
3108 | local bv = Instance.new("BodyForce",char.HumanoidRootPart) | |
3109 | bv.Force = Vector3.new(rX,10000,rZ) | |
3110 | if char:FindFirstChild("Torso") then | |
3111 | char.Torso.Anchored = false | |
3112 | else | |
3113 | char.UpperTorso.Anchored = false | |
3114 | end | |
3115 | function KICK(P) | |
3116 | spawn(function() | |
3117 | if not FindTable(WL, P.Name) then | |
3118 | for i = 1,5 do | |
3119 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
3120 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
3121 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
3122 | spawn(function() | |
3123 | repeat fastwait() | |
3124 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
3125 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
3126 | end) | |
3127 | P.Character.HumanoidRootPart.Anchored = true | |
3128 | end | |
3129 | end | |
3130 | end | |
3131 | end) | |
3132 | end | |
3133 | spawn(function() | |
3134 | if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end | |
3135 | game:GetService("Players")[name].CharacterAdded:Connect(function() | |
3136 | fastwait() | |
3137 | KICK(game:GetService("Players")[name]) | |
3138 | end) | |
3139 | KICK(game:GetService("Players")[name]) | |
3140 | end) | |
3141 | for i = 1,20 do | |
3142 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3143 | fastwait() | |
3144 | end | |
3145 | while turns > 0 do | |
3146 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3147 | turns = turns - 5 | |
3148 | fastwait() | |
3149 | end | |
3150 | fastwait(1) | |
3151 | zin.Name = "GoneZinnia" | |
3152 | local go = Instance.new("BodyVelocity",zin) | |
3153 | go.Velocity = zin.CFrame.lookVector * 100 | |
3154 | go.MaxForce = Vector3.new(1000000,1000000,1000000) | |
3155 | zin.Anchored = false | |
3156 | fastwait(20) | |
3157 | if song and not workspace:FindFirstChild("CuteZinnia") then | |
3158 | song:Destroy() | |
3159 | song = nil | |
3160 | end | |
3161 | end) | |
3162 | end | |
3163 | ||
3164 | addcmd('zinnia', 'asdf for moon',{}, | |
3165 | function(args, speaker) | |
3166 | local players = getPlayer(args[1], speaker) | |
3167 | for i,v in pairs(players)do | |
3168 | zinniaKick(gPlayers[v].Name) | |
3169 | end | |
3170 | end) | |
3171 | ||
3172 | addcmd('rainbowname', 'color spam their name tag',{'rname'}, | |
3173 | function(args, speaker) | |
3174 | local players = getPlayer(args[1], speaker) | |
3175 | for i,v in pairs(players)do | |
3176 | if not FindTable(rainbowT, _players[v].Name) then | |
3177 | table.insert(rainbowT, _players[v].Name) | |
3178 | if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else | |
3179 | Notify('Gave player(s) rainbow name') end end end end) | |
3180 | ||
3181 | addcmd('unrainbowname', 'removes their colorful name',{'unrname'}, | |
3182 | function(args, speaker) | |
3183 | local players = getPlayer(args[1], speaker) | |
3184 | for i,v in pairs(players)do | |
3185 | if FindTable(rainbowT, _players[v].Name) then | |
3186 | table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name)) | |
3187 | _players[v].Neutral = true | |
3188 | if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else | |
3189 | Notify('Disabled rainbow name for player(s)') end end end end) | |
3190 | ||
3191 | addcmd('terrain', 'gives you terrain tools',{'tt'}, | |
3192 | function(args, speaker) | |
3193 | if speaker.userId ~= LP.userId then | |
3194 | lponly(speaker) | |
3195 | else | |
3196 | --Terrain Script | |
3197 | --Edge/IoIman616 | |
3198 | ||
3199 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do | |
3200 | if child.Name == "MaterialGui" then | |
3201 | child:Destroy() | |
3202 | end | |
3203 | end | |
3204 | ||
3205 | function sandbox(var,func) | |
3206 | local env = getfenv(func) | |
3207 | local newenv = setmetatable({},{ | |
3208 | __index = function(self,k) | |
3209 | if k=="script" then | |
3210 | return var | |
3211 | else | |
3212 | return env[k] | |
3213 | end | |
3214 | end, | |
3215 | }) | |
3216 | setfenv(func,newenv) | |
3217 | return func | |
3218 | end | |
3219 | cors = {} | |
3220 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3221 | HopperBin0 = Instance.new("HopperBin") | |
3222 | HopperBin0.Name = "Terrain Build" | |
3223 | HopperBin0.Parent = mas | |
3224 | for i,v in pairs(mas:GetChildren()) do | |
3225 | v.Parent = game:GetService("Players").LocalPlayer.Backpack | |
3226 | pcall(function() v:MakeJoints() end) | |
3227 | end | |
3228 | mas:Destroy() | |
3229 | for i,v in pairs(cors) do | |
3230 | spawn(function() | |
3231 | pcall(v) | |
3232 | end) | |
3233 | end | |
3234 | ||
3235 | wait(0.01) | |
3236 | ||
3237 | function sandbox(var,func) | |
3238 | local env = getfenv(func) | |
3239 | local newenv = setmetatable({},{ | |
3240 | __index = function(self,k) | |
3241 | if k=="script" then | |
3242 | return var | |
3243 | else | |
3244 | return env[k] | |
3245 | end | |
3246 | end, | |
3247 | }) | |
3248 | setfenv(func,newenv) | |
3249 | return func | |
3250 | end | |
3251 | cors = {} | |
3252 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3253 | ScreenGui0 = Instance.new("ScreenGui") | |
3254 | ImageLabel1 = Instance.new("ImageLabel") | |
3255 | ImageButton2 = Instance.new("ImageButton") | |
3256 | Frame3 = Instance.new("Frame") | |
3257 | NumberValue4 = Instance.new("NumberValue") | |
3258 | ImageButton5 = Instance.new("ImageButton") | |
3259 | Frame6 = Instance.new("Frame") | |
3260 | NumberValue7 = Instance.new("NumberValue") | |
3261 | ImageButton8 = Instance.new("ImageButton") | |
3262 | Frame9 = Instance.new("Frame") | |
3263 | NumberValue10 = Instance.new("NumberValue") | |
3264 | ImageButton11 = Instance.new("ImageButton") | |
3265 | Frame12 = Instance.new("Frame") | |
3266 | NumberValue13 = Instance.new("NumberValue") | |
3267 | ImageButton14 = Instance.new("ImageButton") | |
3268 | Frame15 = Instance.new("Frame") | |
3269 | NumberValue16 = Instance.new("NumberValue") | |
3270 | ImageButton17 = Instance.new("ImageButton") | |
3271 | Frame18 = Instance.new("Frame") | |
3272 | NumberValue19 = Instance.new("NumberValue") | |
3273 | ImageButton20 = Instance.new("ImageButton") | |
3274 | Frame21 = Instance.new("Frame") | |
3275 | NumberValue22 = Instance.new("NumberValue") | |
3276 | ImageButton23 = Instance.new("ImageButton") | |
3277 | Frame24 = Instance.new("Frame") | |
3278 | NumberValue25 = Instance.new("NumberValue") | |
3279 | ImageButton26 = Instance.new("ImageButton") | |
3280 | Frame27 = Instance.new("Frame") | |
3281 | NumberValue28 = Instance.new("NumberValue") | |
3282 | ImageButton29 = Instance.new("ImageButton") | |
3283 | Frame30 = Instance.new("Frame") | |
3284 | NumberValue31 = Instance.new("NumberValue") | |
3285 | ImageButton32 = Instance.new("ImageButton") | |
3286 | Frame33 = Instance.new("Frame") | |
3287 | NumberValue34 = Instance.new("NumberValue") | |
3288 | ImageButton35 = Instance.new("ImageButton") | |
3289 | Frame36 = Instance.new("Frame") | |
3290 | NumberValue37 = Instance.new("NumberValue") | |
3291 | ImageButton38 = Instance.new("ImageButton") | |
3292 | Frame39 = Instance.new("Frame") | |
3293 | NumberValue40 = Instance.new("NumberValue") | |
3294 | ImageButton41 = Instance.new("ImageButton") | |
3295 | Frame42 = Instance.new("Frame") | |
3296 | NumberValue43 = Instance.new("NumberValue") | |
3297 | ImageButton44 = Instance.new("ImageButton") | |
3298 | Frame45 = Instance.new("Frame") | |
3299 | NumberValue46 = Instance.new("NumberValue") | |
3300 | ImageButton47 = Instance.new("ImageButton") | |
3301 | Frame48 = Instance.new("Frame") | |
3302 | NumberValue49 = Instance.new("NumberValue") | |
3303 | ImageButton50 = Instance.new("ImageButton") | |
3304 | Frame51 = Instance.new("Frame") | |
3305 | NumberValue52 = Instance.new("NumberValue") | |
3306 | ImageButton53 = Instance.new("ImageButton") | |
3307 | Frame54 = Instance.new("Frame") | |
3308 | ScreenGui0.Name = "MaterialGui" | |
3309 | ScreenGui0.Parent = mas | |
3310 | ImageLabel1.Name = "MaterialMenu" | |
3311 | ImageLabel1.Parent = ScreenGui0 | |
3312 | ImageLabel1.Transparency = 1 | |
3313 | ImageLabel1.Size = UDim2.new(0, 100, 0, 450) | |
3314 | ImageLabel1.Position = UDim2.new(0, 0, 1, -550) | |
3315 | ImageLabel1.BackgroundTransparency = 1 | |
3316 | ImageLabel1.ZIndex = 2 | |
3317 | ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png" | |
3318 | ImageButton2.Name = "Grass" | |
3319 | ImageButton2.Parent = ImageLabel1 | |
3320 | ImageButton2.Transparency = 1 | |
3321 | ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3322 | ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0) | |
3323 | ImageButton2.BackgroundTransparency = 1 | |
3324 | ImageButton2.ZIndex = 4 | |
3325 | ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112" | |
3326 | Frame3.Name = "Selection" | |
3327 | Frame3.Parent = ImageButton2 | |
3328 | Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3329 | Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3330 | Frame3.BackgroundColor3 = Color3.new(1, 1, 1) | |
3331 | Frame3.BorderSizePixel = 0 | |
3332 | Frame3.ZIndex = 3 | |
3333 | NumberValue4.Name = "num" | |
3334 | NumberValue4.Parent = ImageButton2 | |
3335 | NumberValue4.Value = 1 | |
3336 | ImageButton5.Name = "Sand" | |
3337 | ImageButton5.Parent = ImageLabel1 | |
3338 | ImageButton5.Transparency = 1 | |
3339 | ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3340 | ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0) | |
3341 | ImageButton5.BackgroundTransparency = 1 | |
3342 | ImageButton5.ZIndex = 4 | |
3343 | ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652" | |
3344 | Frame6.Name = "Selection" | |
3345 | Frame6.Parent = ImageButton5 | |
3346 | Frame6.Transparency = 1 | |
3347 | Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3348 | Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3349 | Frame6.BackgroundColor3 = Color3.new(1, 1, 1) | |
3350 | Frame6.BackgroundTransparency = 1 | |
3351 | Frame6.BorderSizePixel = 0 | |
3352 | Frame6.ZIndex = 3 | |
3353 | NumberValue7.Name = "num" | |
3354 | NumberValue7.Parent = ImageButton5 | |
3355 | NumberValue7.Value = 2 | |
3356 | ImageButton8.Name = "Brick" | |
3357 | ImageButton8.Parent = ImageLabel1 | |
3358 | ImageButton8.Transparency = 1 | |
3359 | ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3360 | ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0) | |
3361 | ImageButton8.BackgroundTransparency = 1 | |
3362 | ImageButton8.ZIndex = 4 | |
3363 | ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537" | |
3364 | Frame9.Name = "Selection" | |
3365 | Frame9.Parent = ImageButton8 | |
3366 | Frame9.Transparency = 1 | |
3367 | Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3368 | Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3369 | Frame9.BackgroundColor3 = Color3.new(1, 1, 1) | |
3370 | Frame9.BackgroundTransparency = 1 | |
3371 | Frame9.BorderSizePixel = 0 | |
3372 | Frame9.ZIndex = 3 | |
3373 | NumberValue10.Name = "num" | |
3374 | NumberValue10.Parent = ImageButton8 | |
3375 | NumberValue10.Value = 3 | |
3376 | ImageButton11.Name = "Granite" | |
3377 | ImageButton11.Parent = ImageLabel1 | |
3378 | ImageButton11.Transparency = 1 | |
3379 | ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3380 | ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0) | |
3381 | ImageButton11.BackgroundTransparency = 1 | |
3382 | ImageButton11.ZIndex = 4 | |
3383 | ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153" | |
3384 | Frame12.Name = "Selection" | |
3385 | Frame12.Parent = ImageButton11 | |
3386 | Frame12.Transparency = 1 | |
3387 | Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3388 | Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3389 | Frame12.BackgroundColor3 = Color3.new(1, 1, 1) | |
3390 | Frame12.BackgroundTransparency = 1 | |
3391 | Frame12.BorderSizePixel = 0 | |
3392 | Frame12.ZIndex = 3 | |
3393 | NumberValue13.Name = "num" | |
3394 | NumberValue13.Parent = ImageButton11 | |
3395 | NumberValue13.Value = 4 | |
3396 | ImageButton14.Name = "Asphalt" | |
3397 | ImageButton14.Parent = ImageLabel1 | |
3398 | ImageButton14.Transparency = 1 | |
3399 | ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3400 | ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0) | |
3401 | ImageButton14.BackgroundTransparency = 1 | |
3402 | ImageButton14.ZIndex = 4 | |
3403 | ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038" | |
3404 | Frame15.Name = "Selection" | |
3405 | Frame15.Parent = ImageButton14 | |
3406 | Frame15.Transparency = 1 | |
3407 | Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3408 | Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3409 | Frame15.BackgroundColor3 = Color3.new(1, 1, 1) | |
3410 | Frame15.BackgroundTransparency = 1 | |
3411 | Frame15.BorderSizePixel = 0 | |
3412 | Frame15.ZIndex = 3 | |
3413 | NumberValue16.Name = "num" | |
3414 | NumberValue16.Parent = ImageButton14 | |
3415 | NumberValue16.Value = 5 | |
3416 | ImageButton17.Name = "Iron" | |
3417 | ImageButton17.Parent = ImageLabel1 | |
3418 | ImageButton17.Transparency = 1 | |
3419 | ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3420 | ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0) | |
3421 | ImageButton17.BackgroundTransparency = 1 | |
3422 | ImageButton17.ZIndex = 4 | |
3423 | ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093" | |
3424 | Frame18.Name = "Selection" | |
3425 | Frame18.Parent = ImageButton17 | |
3426 | Frame18.Transparency = 1 | |
3427 | Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3428 | Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3429 | Frame18.BackgroundColor3 = Color3.new(1, 1, 1) | |
3430 | Frame18.BackgroundTransparency = 1 | |
3431 | Frame18.BorderSizePixel = 0 | |
3432 | Frame18.ZIndex = 3 | |
3433 | NumberValue19.Name = "num" | |
3434 | NumberValue19.Parent = ImageButton17 | |
3435 | NumberValue19.Value = 6 | |
3436 | ImageButton20.Name = "Aluminum" | |
3437 | ImageButton20.Parent = ImageLabel1 | |
3438 | ImageButton20.Transparency = 1 | |
3439 | ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3440 | ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0) | |
3441 | ImageButton20.BackgroundTransparency = 1 | |
3442 | ImageButton20.ZIndex = 4 | |
3443 | ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995" | |
3444 | Frame21.Name = "Selection" | |
3445 | Frame21.Parent = ImageButton20 | |
3446 | Frame21.Transparency = 1 | |
3447 | Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3448 | Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3449 | Frame21.BackgroundColor3 = Color3.new(1, 1, 1) | |
3450 | Frame21.BackgroundTransparency = 1 | |
3451 | Frame21.BorderSizePixel = 0 | |
3452 | Frame21.ZIndex = 3 | |
3453 | NumberValue22.Name = "num" | |
3454 | NumberValue22.Parent = ImageButton20 | |
3455 | NumberValue22.Value = 7 | |
3456 | ImageButton23.Name = "Gold" | |
3457 | ImageButton23.Parent = ImageLabel1 | |
3458 | ImageButton23.Transparency = 1 | |
3459 | ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3460 | ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0) | |
3461 | ImageButton23.BackgroundTransparency = 1 | |
3462 | ImageButton23.ZIndex = 4 | |
3463 | ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118" | |
3464 | Frame24.Name = "Selection" | |
3465 | Frame24.Parent = ImageButton23 | |
3466 | Frame24.Transparency = 1 | |
3467 | Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3468 | Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3469 | Frame24.BackgroundColor3 = Color3.new(1, 1, 1) | |
3470 | Frame24.BackgroundTransparency = 1 | |
3471 | Frame24.BorderSizePixel = 0 | |
3472 | Frame24.ZIndex = 3 | |
3473 | NumberValue25.Name = "num" | |
3474 | NumberValue25.Parent = ImageButton23 | |
3475 | NumberValue25.Value = 8 | |
3476 | ImageButton26.Name = "Plank" | |
3477 | ImageButton26.Parent = ImageLabel1 | |
3478 | ImageButton26.Transparency = 1 | |
3479 | ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3480 | ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0) | |
3481 | ImageButton26.BackgroundTransparency = 1 | |
3482 | ImageButton26.ZIndex = 4 | |
3483 | ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015" | |
3484 | Frame27.Name = "Selection" | |
3485 | Frame27.Parent = ImageButton26 | |
3486 | Frame27.Transparency = 1 | |
3487 | Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3488 | Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3489 | Frame27.BackgroundColor3 = Color3.new(1, 1, 1) | |
3490 | Frame27.BackgroundTransparency = 1 | |
3491 | Frame27.BorderSizePixel = 0 | |
3492 | Frame27.ZIndex = 3 | |
3493 | NumberValue28.Name = "num" | |
3494 | NumberValue28.Parent = ImageButton26 | |
3495 | NumberValue28.Value = 9 | |
3496 | ImageButton29.Name = "Log" | |
3497 | ImageButton29.Parent = ImageLabel1 | |
3498 | ImageButton29.Transparency = 1 | |
3499 | ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3500 | ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0) | |
3501 | ImageButton29.BackgroundTransparency = 1 | |
3502 | ImageButton29.ZIndex = 4 | |
3503 | ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051" | |
3504 | Frame30.Name = "Selection" | |
3505 | Frame30.Parent = ImageButton29 | |
3506 | Frame30.Transparency = 1 | |
3507 | Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3508 | Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3509 | Frame30.BackgroundColor3 = Color3.new(1, 1, 1) | |
3510 | Frame30.BackgroundTransparency = 1 | |
3511 | Frame30.BorderSizePixel = 0 | |
3512 | Frame30.ZIndex = 3 | |
3513 | NumberValue31.Name = "num" | |
3514 | NumberValue31.Parent = ImageButton29 | |
3515 | NumberValue31.Value = 10 | |
3516 | ImageButton32.Name = "Gravel" | |
3517 | ImageButton32.Parent = ImageLabel1 | |
3518 | ImageButton32.Transparency = 1 | |
3519 | ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3520 | ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0) | |
3521 | ImageButton32.BackgroundTransparency = 1 | |
3522 | ImageButton32.ZIndex = 4 | |
3523 | ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206" | |
3524 | Frame33.Name = "Selection" | |
3525 | Frame33.Parent = ImageButton32 | |
3526 | Frame33.Transparency = 1 | |
3527 | Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3528 | Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3529 | Frame33.BackgroundColor3 = Color3.new(1, 1, 1) | |
3530 | Frame33.BackgroundTransparency = 1 | |
3531 | Frame33.BorderSizePixel = 0 | |
3532 | Frame33.ZIndex = 3 | |
3533 | NumberValue34.Name = "num" | |
3534 | NumberValue34.Parent = ImageButton32 | |
3535 | NumberValue34.Value = 11 | |
3536 | ImageButton35.Name = "Cinder" | |
3537 | ImageButton35.Parent = ImageLabel1 | |
3538 | ImageButton35.Transparency = 1 | |
3539 | ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3540 | ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0) | |
3541 | ImageButton35.BackgroundTransparency = 1 | |
3542 | ImageButton35.ZIndex = 4 | |
3543 | ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103" | |
3544 | Frame36.Name = "Selection" | |
3545 | Frame36.Parent = ImageButton35 | |
3546 | Frame36.Transparency = 1 | |
3547 | Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3548 | Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3549 | Frame36.BackgroundColor3 = Color3.new(1, 1, 1) | |
3550 | Frame36.BackgroundTransparency = 1 | |
3551 | Frame36.BorderSizePixel = 0 | |
3552 | Frame36.ZIndex = 3 | |
3553 | NumberValue37.Name = "num" | |
3554 | NumberValue37.Parent = ImageButton35 | |
3555 | NumberValue37.Value = 12 | |
3556 | ImageButton38.Name = "Stone" | |
3557 | ImageButton38.Parent = ImageLabel1 | |
3558 | ImageButton38.Transparency = 1 | |
3559 | ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3560 | ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0) | |
3561 | ImageButton38.BackgroundTransparency = 1 | |
3562 | ImageButton38.ZIndex = 4 | |
3563 | ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804" | |
3564 | Frame39.Name = "Selection" | |
3565 | Frame39.Parent = ImageButton38 | |
3566 | Frame39.Transparency = 1 | |
3567 | Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3568 | Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3569 | Frame39.BackgroundColor3 = Color3.new(1, 1, 1) | |
3570 | Frame39.BackgroundTransparency = 1 | |
3571 | Frame39.BorderSizePixel = 0 | |
3572 | Frame39.ZIndex = 3 | |
3573 | NumberValue40.Name = "num" | |
3574 | NumberValue40.Parent = ImageButton38 | |
3575 | NumberValue40.Value = 13 | |
3576 | ImageButton41.Name = "Cement" | |
3577 | ImageButton41.Parent = ImageLabel1 | |
3578 | ImageButton41.Transparency = 1 | |
3579 | ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3580 | ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0) | |
3581 | ImageButton41.BackgroundTransparency = 1 | |
3582 | ImageButton41.ZIndex = 4 | |
3583 | ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059" | |
3584 | Frame42.Name = "Selection" | |
3585 | Frame42.Parent = ImageButton41 | |
3586 | Frame42.Transparency = 1 | |
3587 | Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3588 | Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3589 | Frame42.BackgroundColor3 = Color3.new(1, 1, 1) | |
3590 | Frame42.BackgroundTransparency = 1 | |
3591 | Frame42.BorderSizePixel = 0 | |
3592 | Frame42.ZIndex = 3 | |
3593 | NumberValue43.Name = "num" | |
3594 | NumberValue43.Parent = ImageButton41 | |
3595 | NumberValue43.Value = 14 | |
3596 | ImageButton44.Name = "Red Plastic" | |
3597 | ImageButton44.Parent = ImageLabel1 | |
3598 | ImageButton44.Transparency = 1 | |
3599 | ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3600 | ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0) | |
3601 | ImageButton44.BackgroundTransparency = 1 | |
3602 | ImageButton44.ZIndex = 4 | |
3603 | ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848" | |
3604 | Frame45.Name = "Selection" | |
3605 | Frame45.Parent = ImageButton44 | |
3606 | Frame45.Transparency = 1 | |
3607 | Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3608 | Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3609 | Frame45.BackgroundColor3 = Color3.new(1, 1, 1) | |
3610 | Frame45.BackgroundTransparency = 1 | |
3611 | Frame45.BorderSizePixel = 0 | |
3612 | Frame45.ZIndex = 3 | |
3613 | NumberValue46.Name = "num" | |
3614 | NumberValue46.Parent = ImageButton44 | |
3615 | NumberValue46.Value = 15 | |
3616 | ImageButton47.Name = "Blue Plastic" | |
3617 | ImageButton47.Parent = ImageLabel1 | |
3618 | ImageButton47.Transparency = 1 | |
3619 | ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3620 | ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0) | |
3621 | ImageButton47.BackgroundTransparency = 1 | |
3622 | ImageButton47.ZIndex = 4 | |
3623 | ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924" | |
3624 | Frame48.Name = "Selection" | |
3625 | Frame48.Parent = ImageButton47 | |
3626 | Frame48.Transparency = 1 | |
3627 | Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3628 | Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3629 | Frame48.BackgroundColor3 = Color3.new(1, 1, 1) | |
3630 | Frame48.BackgroundTransparency = 1 | |
3631 | Frame48.BorderSizePixel = 0 | |
3632 | Frame48.ZIndex = 3 | |
3633 | NumberValue49.Name = "num" | |
3634 | NumberValue49.Parent = ImageButton47 | |
3635 | NumberValue49.Value = 16 | |
3636 | ImageButton50.Name = "Water" | |
3637 | ImageButton50.Parent = ImageLabel1 | |
3638 | ImageButton50.Transparency = 1 | |
3639 | ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3640 | ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0) | |
3641 | ImageButton50.BackgroundTransparency = 1 | |
3642 | ImageButton50.ZIndex = 4 | |
3643 | ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697" | |
3644 | Frame51.Name = "Selection" | |
3645 | Frame51.Parent = ImageButton50 | |
3646 | Frame51.Transparency = 1 | |
3647 | Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3648 | Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3649 | Frame51.BackgroundColor3 = Color3.new(1, 1, 1) | |
3650 | Frame51.BackgroundTransparency = 1 | |
3651 | Frame51.BorderSizePixel = 0 | |
3652 | Frame51.ZIndex = 3 | |
3653 | NumberValue52.Name = "num" | |
3654 | NumberValue52.Parent = ImageButton50 | |
3655 | NumberValue52.Value = 17 | |
3656 | ImageButton53.Name = "Dig" | |
3657 | ImageButton53.Parent = ImageLabel1 | |
3658 | ImageButton53.Transparency = 1 | |
3659 | ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3660 | ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0) | |
3661 | ImageButton53.BackgroundTransparency = 1 | |
3662 | ImageButton53.ZIndex = 4 | |
3663 | ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201" | |
3664 | Frame54.Name = "Selection" | |
3665 | Frame54.Parent = ImageButton53 | |
3666 | Frame54.Transparency = 1 | |
3667 | Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3668 | Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3669 | Frame54.BackgroundColor3 = Color3.new(1, 1, 1) | |
3670 | Frame54.BackgroundTransparency = 1 | |
3671 | Frame54.BorderSizePixel = 0 | |
3672 | Frame54.ZIndex = 3 | |
3673 | for i,v in pairs(mas:GetChildren()) do | |
3674 | v.Parent = gPlayers.LocalPlayer.PlayerGui | |
3675 | pcall(function() v:MakeJoints() end) | |
3676 | end | |
3677 | mas:Destroy() | |
3678 | for i,v in pairs(cors) do | |
3679 | spawn(function() | |
3680 | pcall(v) | |
3681 | end) | |
3682 | end | |
3683 | wait(0.01) | |
3684 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
3685 | material = 1 | |
3686 | local Terrain = workspace.Terrain | |
3687 | local CC = workspace.CurrentCamera | |
3688 | ||
3689 | local SelB = Instance.new("SelectionBox") | |
3690 | SelB.Color = BrickColor.new("Bright green") | |
3691 | ||
3692 | local SelP = Instance.new("Part") | |
3693 | SelP.Anchored = true | |
3694 | SelP.formFactor = Enum.FormFactor.Custom | |
3695 | ||
3696 | HopperBin0.Selected:connect(function(M) | |
3697 | SelB.Parent = gPlayers.LocalPlayer.PlayerGui | |
3698 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true | |
3699 | SelB.Adornee = nil | |
3700 | ||
3701 | local ClickState = "None" | |
3702 | ||
3703 | local ClickType = 1 | |
3704 | ||
3705 | local TerrainClick = 1 | |
3706 | ||
3707 | local P1 = nil | |
3708 | ||
3709 | M.KeyDown:connect(function(K) | |
3710 | if K == "q" then | |
3711 | ClickType = 1 | |
3712 | elseif K == "e" then | |
3713 | ClickType = 2 | |
3714 | elseif K == "z" then | |
3715 | TerrainClick = 0 | |
3716 | elseif K == "x" then | |
3717 | TerrainClick = 1 | |
3718 | elseif K == "c" then | |
3719 | TerrainClick = 2 | |
3720 | elseif K == "v" then | |
3721 | TerrainClick = 3 | |
3722 | elseif K == "b" then | |
3723 | TerrainClick = 4 | |
3724 | end | |
3725 | end) | |
3726 | ||
3727 | M.Button1Down:connect(function() | |
3728 | if not M.Target then return end | |
3729 | local Hit = M.Hit | |
3730 | local cellPos | |
3731 | if ClickType == 1 then | |
3732 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3733 | else | |
3734 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3735 | end | |
3736 | if ClickState == "None" then | |
3737 | ClickState = "Click1" | |
3738 | P1 = cellPos | |
3739 | end | |
3740 | end) | |
3741 | M.Button1Up:connect(function() | |
3742 | if not M.Target then return end | |
3743 | local Hit = M.Hit | |
3744 | local cellPos | |
3745 | if ClickType == 1 then | |
3746 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3747 | else | |
3748 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3749 | end | |
3750 | if ClickState == "Click1" then | |
3751 | ClickState = "None" | |
3752 | local MinX = math.min(P1.x,cellPos.x) | |
3753 | local MaxX = math.max(P1.x,cellPos.x) | |
3754 | local MinY = math.min(P1.y,cellPos.y) | |
3755 | local MaxY = math.max(P1.y,cellPos.y) | |
3756 | local MinZ = math.min(P1.z,cellPos.z) | |
3757 | local MaxZ = math.max(P1.z,cellPos.z) | |
3758 | for y=MinY,MaxY do | |
3759 | for x=MinX,MaxX do | |
3760 | for z=MinZ,MaxZ do | |
3761 | Terrain:SetCell(x, y, z, material, 0, 0) | |
3762 | end | |
3763 | end | |
3764 | wait() | |
3765 | end | |
3766 | SelB.Adornee = nil | |
3767 | end | |
3768 | end) | |
3769 | M.Move:connect(function() | |
3770 | if not M.Target then return end | |
3771 | local Hit = M.Hit | |
3772 | local cellPos | |
3773 | if ClickType == 1 then | |
3774 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3775 | else | |
3776 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3777 | end | |
3778 | if ClickState == "Click1" then | |
3779 | SelB.Adornee = SelP | |
3780 | local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z) | |
3781 | local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z) | |
3782 | local Size = W1-W2 | |
3783 | Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4) | |
3784 | local Pos = (W1+W2)/2 | |
3785 | SelP.Size = Size | |
3786 | SelP.CFrame = CFrame.new(Pos) | |
3787 | end | |
3788 | end) | |
3789 | end) | |
3790 | ||
3791 | HopperBin0.Deselected:connect(function() | |
3792 | SelB.Parent = nil | |
3793 | SelB.Adornee = nil | |
3794 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
3795 | end) | |
3796 | ||
3797 | game:GetService('RunService').Stepped:connect(function() | |
3798 | if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then | |
3799 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
3800 | if child:FindFirstChild("num") and material ~= child.num.Value then | |
3801 | child.Selection.BackgroundTransparency = 1 | |
3802 | end | |
3803 | end | |
3804 | end | |
3805 | end) | |
3806 | ||
3807 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
3808 | local enterCon = child.MouseButton1Click:connect(function() | |
3809 | if child.ClassName == "ImageButton" and child:FindFirstChild("num") then | |
3810 | material = child.num.Value | |
3811 | if child:FindFirstChild("Selection") then | |
3812 | child.Selection.BackgroundTransparency = 0 | |
3813 | end | |
3814 | end | |
3815 | end) | |
3816 | end | |
3817 | ||
3818 | local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function() | |
3819 | workspace.Terrain:Clear() | |
3820 | end) | |
3821 | ||
3822 | function sandbox(var,func) | |
3823 | local env = getfenv(func) | |
3824 | local newenv = setmetatable({},{ | |
3825 | __index = function(self,k) | |
3826 | if k=="script" then | |
3827 | return var | |
3828 | else | |
3829 | return env[k] | |
3830 | end | |
3831 | end, | |
3832 | }) | |
3833 | setfenv(func,newenv) | |
3834 | return func | |
3835 | end | |
3836 | cors = {} | |
3837 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3838 | HopperBin0 = Instance.new("HopperBin") | |
3839 | HopperBin0.Name = "Terrain Delete" | |
3840 | HopperBin0.Parent = mas | |
3841 | for i,v in pairs(mas:GetChildren()) do | |
3842 | v.Parent = game:GetService("Players").LocalPlayer.Backpack | |
3843 | pcall(function() v:MakeJoints() end) | |
3844 | end | |
3845 | mas:Destroy() | |
3846 | for i,v in pairs(cors) do | |
3847 | spawn(function() | |
3848 | pcall(v) | |
3849 | end) | |
3850 | end | |
3851 | ||
3852 | function onClick(mouse) | |
3853 | p = gPlayers.LocalPlayer | |
3854 | if (p == nil) then return end | |
3855 | if (p.Character == nil) then return end | |
3856 | ||
3857 | if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end | |
3858 | ||
3859 | c = workspace.Terrain | |
3860 | ||
3861 | local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z)) | |
3862 | local x = cellPos.x | |
3863 | local y = cellPos.y | |
3864 | local z = cellPos.z | |
3865 | ||
3866 | c:SetCell(x, y, z, 0, 0, 0) | |
3867 | ||
3868 | end | |
3869 | ||
3870 | ||
3871 | function onSelect(mouse) | |
3872 | mouse.Button1Down:connect(function () onClick(mouse) end) | |
3873 | end | |
3874 | ||
3875 | ||
3876 | ||
3877 | HopperBin0.Selected:connect(onSelect) | |
3878 | end | |
3879 | end) | |
3880 | ||
3881 | addcmd('knife', 'tm knife',{}, | |
3882 | function(args, speaker) | |
3883 | if speaker.userId ~= LP.userId then | |
3884 | lponly(speaker) else | |
3885 | if not game.CoreGui:FindFirstChild('CorePart') then | |
3886 | local data = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01318477872") | |
3887 | local script = data.LocalScript | |
3888 | ||
3889 | local player = gPlayers.LocalPlayer | |
3890 | ||
3891 | if not player:FindFirstChild("TMDATA") then | |
3892 | script.Parent.TMDATA:Clone().Parent = player | |
3893 | end | |
3894 | if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then | |
3895 | script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage | |
3896 | end | |
3897 | ||
3898 | if game.CoreGui:FindFirstChild("CorePart") then | |
3899 | game.CoreGui.CorePart:Destroy() | |
3900 | end | |
3901 | ||
3902 | ||
3903 | if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end | |
3904 | local knife = script.Parent["Knife"]:Clone() | |
3905 | local gun = script.Parent["Gun"]:Clone() | |
3906 | local fastgun = script.Parent["Fast Gun"]:Clone() | |
3907 | local lasergun = script.Parent["Laser Gun"]:Clone() | |
3908 | script.Parent.CorePart:Clone().Parent = game.CoreGui | |
3909 | ||
3910 | local newKnife = knife:Clone() | |
3911 | newKnife.Parent = player.Backpack | |
3912 | _G.tool = newKnife | |
3913 | ||
3914 | local barActive = false | |
3915 | local activeOptions = {} | |
3916 | ||
3917 | function createDDown(callback,but,...) | |
3918 | if barActive then | |
3919 | for i,v in pairs(activeOptions) do | |
3920 | v:Destroy() | |
3921 | end | |
3922 | activeOptions = {} | |
3923 | barActive = false | |
3924 | return | |
3925 | else | |
3926 | barActive = true | |
3927 | end | |
3928 | local slots = {...} | |
3929 | local base = but | |
3930 | for i,v in pairs(slots) do | |
3931 | local newOption = base:Clone() | |
3932 | newOption.ZIndex = 5 | |
3933 | newOption.Name = "Option "..tostring(i) | |
3934 | newOption.Parent = base.Parent | |
3935 | table.insert(activeOptions,newOption) | |
3936 | 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)) | |
3937 | newOption.Text = slots[i] | |
3938 | newOption.MouseButton1Down:connect(function() | |
3939 | but.Text = slots[i] | |
3940 | callback(slots[i]) | |
3941 | for i,v in pairs(activeOptions) do | |
3942 | v:Destroy() | |
3943 | end | |
3944 | activeOptions = {} | |
3945 | barActive = false | |
3946 | end) | |
3947 | end | |
3948 | end | |
3949 | ||
3950 | local butA = game.CoreGui.CorePart.Frame.ability | |
3951 | butA.MouseButton1Down:connect(function() | |
3952 | createDDown(function(sel) | |
3953 | gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat! | |
3954 | 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") | |
3955 | end) | |
3956 | ||
3957 | local butG = game.CoreGui.CorePart.Frame.gamemode | |
3958 | butG.MouseButton1Down:connect(function() | |
3959 | createDDown(function(sel) | |
3960 | game.ReplicatedStorage.GameInProgress.Mode.Value = sel | |
3961 | end,butG,"Classic","Cold Killer") | |
3962 | end) | |
3963 | ||
3964 | local butM = game.CoreGui.CorePart.Frame.mode | |
3965 | butM.MouseButton1Down:connect(function() | |
3966 | createDDown(function(sel) | |
3967 | _G.knifemode = sel | |
3968 | end,butM,"PlayersOnly","Players+Npcs") | |
3969 | end) | |
3970 | ||
3971 | _G.Scripters = {} | |
3972 | ||
3973 | function _G.loadScripts(obj,runall) | |
3974 | for i,v in pairs(obj:GetDescendants()) do | |
3975 | if v:IsA("LocalScript") and (not v.Disabled or runall) then | |
3976 | table.insert(_G.Scripters,v) | |
3977 | local i = #_G.Scripters | |
3978 | local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source) | |
3979 | spawn(loadfunc) | |
3980 | print("LOADED",v:GetFullName()) | |
3981 | end | |
3982 | end | |
3983 | end | |
3984 | ||
3985 | player.CharacterAdded:Connect(function() | |
3986 | newKnife = knife:Clone() | |
3987 | newKnife.Parent = player.Backpack | |
3988 | _G.loadScripts(newKnife) | |
3989 | end) | |
3990 | ||
3991 | _G.knifemode = "PlayersOnly" | |
3992 | _G.loadScripts(newKnife) | |
3993 | --_G.loadScripts(gun) | |
3994 | --_G.loadScripts(fastgun) | |
3995 | --_G.loadScripts(lasergun) | |
3996 | end | |
3997 | end | |
3998 | end) | |
3999 | ||
4000 | addcmd('devuzi', 'op af',{'uzi'}, | |
4001 | function(args, speaker) | |
4002 | if speaker.userId ~= LP.userId then | |
4003 | lponly(speaker) | |
4004 | else | |
4005 | wait(0.25); | |
4006 | ||
4007 | ||
4008 | _clear=function() | |
4009 | local c={char;bag;gui;}; | |
4010 | for i=1,#c do | |
4011 | local c=c[i]:children(); | |
4012 | for i=1,#c do | |
4013 | if(c[i].Name==name)then | |
4014 | c[i].Parent=nil; | |
4015 | end; | |
4016 | end; | |
4017 | end; | |
4018 | local n=name..user.Name; | |
4019 | local c=workspace:children(); | |
4020 | for i=1,#c do | |
4021 | if(c[i].Name==n)then | |
4022 | c[i].Parent=nil; | |
4023 | end; | |
4024 | end; | |
4025 | end; | |
4026 | ||
4027 | _valid_key=function(object,key) | |
4028 | return object[key],key; | |
4029 | end; | |
4030 | ||
4031 | _new=function(class) | |
4032 | return function(props) | |
4033 | if(type(list_base_props)=='table')then | |
4034 | for i,v in next,list_base_props do | |
4035 | if(props[i]==nil)then | |
4036 | props[i]=v; | |
4037 | end; | |
4038 | end; | |
4039 | end; | |
4040 | ||
4041 | local object=class; | |
4042 | ||
4043 | if(type(class)=='string')then | |
4044 | object=Instance.new(class:sub(1,1):upper()..class:sub(2)); | |
4045 | end; | |
4046 | ||
4047 | local parent=props[1]; | |
4048 | props[1]=nil; | |
4049 | ||
4050 | for i,v in next,props do | |
4051 | local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2)); | |
4052 | if(not load)then | |
4053 | load,res,key=pcall(_valid_key,object,i); | |
4054 | end; | |
4055 | ||
4056 | if(key)then | |
4057 | t=type(res); | |
4058 | s=tostring(res); | |
4059 | if(t=='userdata'and s=='Signal '..key)then | |
4060 | if(type(v)=='table')then | |
4061 | for i=1,#v do | |
4062 | res:connect(v[i]); | |
4063 | end; | |
4064 | else | |
4065 | res:connect(v); | |
4066 | end; | |
4067 | else | |
4068 | object[key]=v; | |
4069 | end; | |
4070 | end; | |
4071 | end; | |
4072 | ||
4073 | if(parent)then | |
4074 | object.Parent=parent; | |
4075 | end; | |
4076 | ||
4077 | return object; | |
4078 | end; | |
4079 | end; | |
4080 | ||
4081 | _RGB=function(r,g,b) | |
4082 | return Color3.new(r/255,g/255,b/255); | |
4083 | end; | |
4084 | ||
4085 | _copy=function(o) | |
4086 | local def=o.archivable; | |
4087 | o.archivable=true; | |
4088 | local c=o:clone(); | |
4089 | o.archivable=def; | |
4090 | return c; | |
4091 | end; | |
4092 | ||
4093 | _hum=function(char) | |
4094 | local hum=char:findFirstChild'Humanoid'; | |
4095 | if(not hum or hum.className~='Humanoid')then | |
4096 | local c=char:children(); | |
4097 | for i=1,#c do | |
4098 | if(c[i].className=='Humanoid')then | |
4099 | return c[i]; | |
4100 | end; | |
4101 | end; | |
4102 | else | |
4103 | return hum; | |
4104 | end; | |
4105 | end; | |
4106 | ||
4107 | _hum_tag=function(hum) | |
4108 | local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum); | |
4109 | c.Name='creator'; | |
4110 | c.Value=user; | |
4111 | if(hum.Health==0 and not hum:findFirstChild'killed')then | |
4112 | Instance.new('BoolValue',hum).Name='killed'; | |
4113 | bullets.clip=bullets.clip+10; | |
4114 | end; | |
4115 | end; | |
4116 | ||
4117 | _hum_dam=function(hum,dam,percent) | |
4118 | hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam); | |
4119 | if(hum.Health<=hum.MaxHealth*0.1)then | |
4120 | _hum_tag(hum); | |
4121 | end; | |
4122 | end; | |
4123 | ||
4124 | _ray=function(v0,v1,i) | |
4125 | local mag=(v0-v1).magnitude; | |
4126 | local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag)); | |
4127 | ||
4128 | return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i); | |
4129 | end; | |
4130 | ||
4131 | _must=function(v0,v1,i) | |
4132 | local hit,pos=_ray(v0,v1,i); | |
4133 | return not hit and mouse.target or hit,pos; | |
4134 | end; | |
4135 | ||
4136 | _cframe=function(x,y,z,r0,r1,r2) | |
4137 | return CFrame.Angles( | |
4138 | math.rad(r0 or 0), | |
4139 | math.rad(r1 or 0), | |
4140 | math.rad(r2 or 0) | |
4141 | )*CFrame.new(x,y,z); | |
4142 | end; | |
4143 | ||
4144 | _update=function() | |
4145 | if(bool_active and not screen.Parent)then | |
4146 | screen.Parent=gui; | |
4147 | elseif(not bool_active and screen.Parent)then | |
4148 | screen.Parent=nil; | |
4149 | end; | |
4150 | end; | |
4151 | ||
4152 | _light=function(v0,v1) | |
4153 | local mag=(v0-v1).magnitude; | |
4154 | local len=math.random(2,7); | |
4155 | len=len>mag/2 and mag/2 or len; | |
4156 | ||
4157 | --local light=_new'part'{ | |
4158 | -- cFrame=CFrame.new(v0,v1); | |
4159 | -- size=Vector3.new(1,1,1); | |
4160 | -- color=_RGB(255,255,0); | |
4161 | -- anchored=true; | |
4162 | -- inv; | |
4163 | --}; | |
4164 | _new'blockMesh'{ | |
4165 | scale=Vector3.new(0.2,0.2,len); | |
4166 | offset=Vector3.new(0,0,-len/2); | |
4167 | light; | |
4168 | }; | |
4169 | ||
4170 | local bb=_new'billboardGui'{ | |
4171 | size=UDim2.new(2,0,2,0); | |
4172 | adornee=light; | |
4173 | light; | |
4174 | }; | |
4175 | _new'imageLabel'{ | |
4176 | image=url:format(109101526); | |
4177 | backgroundTransparency=1; | |
4178 | size=UDim2.new(1,0,1,0); | |
4179 | bb; | |
4180 | }; | |
4181 | ||
4182 | -- _rem(light,0.15); | |
4183 | end; | |
4184 | ||
4185 | _rem=function(object,del) | |
4186 | if(del)then | |
4187 | delay(del,function() | |
4188 | if(object.Parent)then | |
4189 | object.Parent=nil; | |
4190 | end; | |
4191 | end); | |
4192 | else | |
4193 | pcall(function() | |
4194 | if(object.Parent)then | |
4195 | object.Parent=nil; | |
4196 | end; | |
4197 | end); | |
4198 | end; | |
4199 | end; | |
4200 | ||
4201 | _blood=function(pos,count) | |
4202 | for i=1,count do | |
4203 | local p=_new'part'{ | |
4204 | rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
4205 | position=pos+Vector3.new(math.random(),math.random(),math.random()); | |
4206 | velocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
4207 | size=Vector3.new(math.random(),math.random(),math.random())/3; | |
4208 | color=_RGB(255,0,0); | |
4209 | transparency=0.5; | |
4210 | canCollide=true; | |
4211 | bottomSurface=0; | |
4212 | topSurface=0; | |
4213 | formFactor=3; | |
4214 | locked=true; | |
4215 | inv; | |
4216 | }; | |
4217 | delay(5,function() | |
4218 | p.Parent=nil; | |
4219 | end); | |
4220 | end; | |
4221 | end; | |
4222 | ||
4223 | _make_hue=function() | |
4224 | h_hue=_new'part'{ | |
4225 | size=Vector3.new(0.25,1.8,0.35); | |
4226 | color=_RGB(100,100,100); | |
4227 | formFactor=3; | |
4228 | name='hue'; | |
4229 | handle; | |
4230 | }; | |
4231 | hh_weld=_new'weld'{ | |
4232 | c1=_cframe(0,0.5,0); | |
4233 | part0=handle; | |
4234 | part1=h_hue; | |
4235 | handle; | |
4236 | }; | |
4237 | end; | |
4238 | ||
4239 | _shot=function(v0,v1) | |
4240 | if(not time_left)then | |
4241 | time_left=0; | |
4242 | end; | |
4243 | if(time_left>time())then | |
4244 | return nil; | |
4245 | else | |
4246 | time_left=time()+math.random(1,10)/100; | |
4247 | end; | |
4248 | ||
4249 | if(bullets.current<1)then | |
4250 | local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{ | |
4251 | soundId='rbxasset://sounds/SWITCH3.wav'; | |
4252 | name='tick_sound'; | |
4253 | volume=0.2; | |
4254 | pitch=2; | |
4255 | head; | |
4256 | }; | |
4257 | tick_sound:play(); | |
4258 | if(bullets.clip>0)then | |
4259 | time_left=time()+2; | |
4260 | h_hue:breakJoints(); | |
4261 | h_hue.CanCollide=true; | |
4262 | h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10; | |
4263 | _rem(h_hue,10); | |
4264 | delay(1.9,function() | |
4265 | _make_hue(); | |
4266 | local got=(bullets.clip>bullets.maximum and | |
4267 | bullets.maximum or | |
4268 | bullets.clip)-bullets.current; | |
4269 | ||
4270 | bullets.clip=bullets.clip-got; | |
4271 | bullets.current=bullets.current+got; | |
4272 | end); | |
4273 | end; | |
4274 | return nil; | |
4275 | else | |
4276 | bullets.current=bullets.current-1; | |
4277 | ||
4278 | h_weld.C1=_cframe(0,0.75,0, | |
4279 | -math.random(1000,1100)/10,180,0); | |
4280 | d_weld.C1=_cframe(0,-0.25,0.3); | |
4281 | ||
4282 | lightstuff.Visible=true; | |
4283 | delay(0.1,function() | |
4284 | lightstuff.Visible=false; | |
4285 | end); | |
4286 | ||
4287 | _rem(_new'part'{ | |
4288 | velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10; | |
4289 | cFrame=drag.CFrame*CFrame.new(-0.5,0,0); | |
4290 | size=Vector3.new(0.1,0.1,0.4); | |
4291 | color=_RGB(200,200,0); | |
4292 | material='Slate'; | |
4293 | canCollide=true; | |
4294 | formFactor=3; | |
4295 | inv; | |
4296 | },5); | |
4297 | ||
4298 | delay(0.1,function() | |
4299 | d_weld.C1=_cframe(0,-0.25,0); | |
4300 | if(bool_active)then | |
4301 | h_weld.C1=h_weld_cf_active; | |
4302 | end; | |
4303 | end) | |
4304 | end; | |
4305 | ||
4306 | local hit,pos=_must(v0,v1,char); | |
4307 | ||
4308 | shot_sound:play(); | |
4309 | ||
4310 | ||
4311 | _rem(_new'part'{ | |
4312 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
4313 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
4314 | color=_RGB(255,255,0); | |
4315 | transparency=0.6; | |
4316 | reflectance=0.5; | |
4317 | canCollide=false; | |
4318 | bottomSurface=0; | |
4319 | anchored=true; | |
4320 | formFactor=3; | |
4321 | topSurface=0; | |
4322 | inv; | |
4323 | },.15); | |
4324 | _light(v0,v1); | |
4325 | ||
4326 | if(not hit)then return nil;end; | |
4327 | ||
4328 | if(hit.Parent.className=='Hat')then | |
4329 | hit:breakJoints(); | |
4330 | hit.CanCollide=true; | |
4331 | hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50); | |
4332 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90)); | |
4333 | else | |
4334 | local hum=_hum(hit.Parent); | |
4335 | if(not hum)then | |
4336 | if(hit.Anchored==false and hit.Size.magnitude<4)then | |
4337 | hit:breakJoints(); | |
4338 | hit.CanCollide=true; | |
4339 | end; | |
4340 | else | |
4341 | _hum_dam(hum,math.random(4,6)); | |
4342 | _blood(pos,math.random(3,6)); | |
4343 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6; | |
4344 | if(hit.Name=='Head')then | |
4345 | hum.Health=0; | |
4346 | _blood(pos,math.random(3,6)); | |
4347 | delay(0.001,function() | |
4348 | _new(workspace:FindFirstChild'head_shot'or'sound'){ | |
4349 | pitch=math.random(70,100)*0.01; | |
4350 | soundId=url:format(1876552); | |
4351 | name='head_shot'; | |
4352 | workspace; | |
4353 | }:play(); | |
4354 | end); | |
4355 | _hum_tag(hum); | |
4356 | _rem(_new'part'{ | |
4357 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
4358 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
4359 | color=torso.Color; | |
4360 | transparency=0.5; | |
4361 | canCollide=false; | |
4362 | bottomSurface=0; | |
4363 | anchored=true; | |
4364 | formFactor=3; | |
4365 | topSurface=0; | |
4366 | inv; | |
4367 | },30); | |
4368 | hit.Parent=nil; | |
4369 | for b=0,1 do | |
4370 | for a=0,1 do | |
4371 | for i=0,1 do | |
4372 | _rem(_new'part'{ | |
4373 | velocity=CFrame.new(v0,pos).lookVector*20; | |
4374 | cFrame=hit.CFrame*CFrame.new(i,-b,a); | |
4375 | size=Vector3.new(0.5,0.5,0.5); | |
4376 | color=_RGB(255,255,255); | |
4377 | bottomSurface=0; | |
4378 | canCollide=true; | |
4379 | transparency=0; | |
4380 | formFactor=3; | |
4381 | topSurface=0; | |
4382 | hum; | |
4383 | },30); | |
4384 | end; | |
4385 | end; | |
4386 | end; | |
4387 | end; | |
4388 | end; | |
4389 | end; | |
4390 | end; | |
4391 | ||
4392 | ||
4393 | ||
4394 | _cf_select=function(mouse) | |
4395 | mouse.Icon=url:format(109111387);--108999296 | |
4396 | bool_active=true; | |
4397 | ||
4398 | local arm=char:findFirstChild'Right Arm'; | |
4399 | local weld=torso:findFirstChild'Right Shoulder'; | |
4400 | if(arm and weld)then | |
4401 | h_weld.Part0=arm; | |
4402 | h_weld.C1=h_weld_cf_active; | |
4403 | ||
4404 | weld.Part1=nil; | |
4405 | weld.Part0=nil; | |
4406 | ||
4407 | weld=_new(torso:findFirstChild'right_arml'or'weld'){ | |
4408 | name='right_arml'; | |
4409 | part0=torso; | |
4410 | part1=arm; | |
4411 | torso; | |
4412 | }; | |
4413 | ||
4414 | arml=(arml or 0)+1; | |
4415 | local alv=arml; | |
4416 | local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso); | |
4417 | gyro.maxTorque=Vector3.new(5e5,5e5,5e5); | |
4418 | gyro.P=30000; | |
4419 | gyro.D=1000; | |
4420 | gyro.Name='p_gyro'; | |
4421 | repeat | |
4422 | local pos=mouse.hit.p; | |
4423 | local val,valp,p0,p1,p2,hitpos,cj,c0,c1; | |
4424 | ||
4425 | val=-math.pi*0.5; | |
4426 | valp=val*-1; | |
4427 | p0=torso.CFrame; | |
4428 | p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector; | |
4429 | p1=p0+((p0.p-pos).unit*-2); | |
4430 | p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0); | |
4431 | hitpos=torso.Position; | |
4432 | cj=CFrame.new(hitpos); | |
4433 | c0=torso.CFrame:inverse()*cj; | |
4434 | c1=p2:inverse()*cj; | |
4435 | weld.C0=c0; | |
4436 | weld.C1=c1; | |
4437 | ||
4438 | gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z)); | |
4439 | ||
4440 | wait(0.001); | |
4441 | until arml~=alv; | |
4442 | gyro.Parent=nil; | |
4443 | end; | |
4444 | end; | |
4445 | ||
4446 | _cf_deselect=function() | |
4447 | bool_active=false; | |
4448 | arml=(arml or 0)+1; | |
4449 | loop_shot=(loop_shot or 0)+1; | |
4450 | ||
4451 | h_weld.Part0=torso; | |
4452 | h_weld.C1=h_weld_cf_inactive; | |
4453 | ||
4454 | local weld=torso:findFirstChild'right_arml'; | |
4455 | if(weld)then | |
4456 | weld.Part1=nil; | |
4457 | weld.Part0=nil; | |
4458 | end; | |
4459 | local arm=char:findFirstChild'Right Arm'; | |
4460 | local weld=torso:findFirstChild'Right Shoulder'; | |
4461 | if(arm and weld)then | |
4462 | weld.Part0=torso; | |
4463 | weld.Part1=arm; | |
4464 | end; | |
4465 | end; | |
4466 | ||
4467 | _cf_mouse=function(event,fun) | |
4468 | mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...) | |
4469 | if(bool_active)then | |
4470 | fun(...); | |
4471 | end; | |
4472 | end); | |
4473 | end; | |
4474 | ||
4475 | ||
4476 | do | |
4477 | local main=getfenv(0); | |
4478 | local c=game:children(); | |
4479 | local check=function(v) | |
4480 | if(v.className~=''and v.className~='Instance'and game:service(v.className))then | |
4481 | main[v.className:sub(1,1):lower()..v.className:sub(2)]=v; | |
4482 | end; | |
4483 | end; | |
4484 | for i=1,#c do | |
4485 | pcall(check,c[i]); | |
4486 | end; | |
4487 | end; | |
4488 | ||
4489 | ||
4490 | bullets={ | |
4491 | maximum=51111111111111111111111111110; | |
4492 | current=511111111111111111111111111111110; | |
4493 | clip=501111111111111111111111111111111*4; | |
4494 | }; | |
4495 | ||
4496 | list_base_props={ | |
4497 | backgroundColor3=_RGB(0,0,0); | |
4498 | textColor3=_RGB(200,200,200); | |
4499 | borderSizePixel=0; | |
4500 | color=_RGB(0,0,0); | |
4501 | archivable=false; | |
4502 | canCollide=false; | |
4503 | bottomSurface=0; | |
4504 | topSurface=0; | |
4505 | formFactor=0; | |
4506 | locked=true; | |
4507 | }; | |
4508 | ||
4509 | ||
4510 | ||
4511 | user=players.localPlayer; | |
4512 | mouse=user:getMouse(); | |
4513 | char=user.Character; | |
4514 | gui=user.PlayerGui; | |
4515 | bag=user.Backpack; | |
4516 | torso=char.Torso; | |
4517 | head=char.Head; | |
4518 | hum=_hum(char); | |
4519 | ||
4520 | url='rbxassetid://%d'; | |
4521 | name='dev-uzi'; | |
4522 | ||
4523 | h_weld_cf_inactive=_cframe(0.35,0.5,0.5, | |
4524 | 0,90,-70); | |
4525 | h_weld_cf_active=_cframe(0,0.75,0, | |
4526 | -110,180,0); | |
4527 | ||
4528 | assert(hum,'humanoid is not found'); | |
4529 | ||
4530 | ||
4531 | ||
4532 | _clear(); | |
4533 | ||
4534 | ||
4535 | _cf_mouse('button1Down',function() | |
4536 | loop_shot=(loop_shot or 0)+1; | |
4537 | local vers=loop_shot; | |
4538 | local step=runService.Stepped; | |
4539 | repeat | |
4540 | _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p); | |
4541 | step:wait();--wait(0.001); | |
4542 | until vers~=loop_shot; | |
4543 | end); | |
4544 | ||
4545 | _cf_mouse('button1Up',function() | |
4546 | loop_shot=(loop_shot or 0)+1; | |
4547 | end); | |
4548 | ||
4549 | _cf_mouse('move',function() | |
4550 | cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11); | |
4551 | end); | |
4552 | ||
4553 | _cf_mouse('keyDown',function(k) | |
4554 | if(k=='r')then | |
4555 | if(bullets.clip>0 and time_left<=time())then | |
4556 | local got=(bullets.clip>bullets.maximum and | |
4557 | bullets.maximum or | |
4558 | bullets.clip)-bullets.current; | |
4559 | ||
4560 | bullets.clip=bullets.clip-got; | |
4561 | bullets.current=bullets.current+got; | |
4562 | if(got~=0)then | |
4563 | time_left=time()+2; | |
4564 | end; | |
4565 | end; | |
4566 | end; | |
4567 | end); | |
4568 | ||
4569 | ||
4570 | screen=_new'screenGui'{ | |
4571 | name=name; | |
4572 | }; | |
4573 | ||
4574 | cross_f=_new'frame'{ | |
4575 | size=UDim2.new(0,21,0,21); | |
4576 | backgroundTransparency=1; | |
4577 | screen; | |
4578 | }; | |
4579 | ||
4580 | for i=0,1 do | |
4581 | _new'frame'{ | |
4582 | position=UDim2.new(0,13*i,0,11); | |
4583 | size=UDim2.new(0,10,0,1); | |
4584 | cross_f; | |
4585 | }; | |
4586 | end; | |
4587 | ||
4588 | for i=0,1 do | |
4589 | _new'frame'{ | |
4590 | position=UDim2.new(0,11,0,13*i); | |
4591 | size=UDim2.new(0,1,0,10); | |
4592 | cross_f; | |
4593 | }; | |
4594 | end; | |
4595 | ||
4596 | ||
4597 | ||
4598 | shot_sound=_new(head:findFirstChild'2920959'or'sound'){ | |
4599 | soundId=url:format(2920959); | |
4600 | pitch=1.4; | |
4601 | head; | |
4602 | }; | |
4603 | if(shot_sound.Name~='2920959')then | |
4604 | shot_sound.Name='2920959'; | |
4605 | shot_sound:play(); | |
4606 | end; | |
4607 | ||
4608 | bin=_new'hopperBin'{ | |
4609 | deselected=_cf_deselect; | |
4610 | selected=_cf_select; | |
4611 | name=name; | |
4612 | bag; | |
4613 | }; | |
4614 | ||
4615 | inv=_new'model'{ | |
4616 | name=name; | |
4617 | char; | |
4618 | }; | |
4619 | ||
4620 | handle=_new'part'{ | |
4621 | size=Vector3.new(0.3,1.3,0.4); | |
4622 | color=_RGB(140,140,140); | |
4623 | name='handle'; | |
4624 | formFactor=3; | |
4625 | inv; | |
4626 | touched=function(hit) | |
4627 | if(hit.Parent.className=='Model')then | |
4628 | local hum=_hum(hit.Parent); | |
4629 | if(hum~=nil)then | |
4630 | _hum_dam(hum,handle.Velocity.magnitude); | |
4631 | end; | |
4632 | end; | |
4633 | end; | |
4634 | }; | |
4635 | h_weld=_new'weld'{ | |
4636 | c1=h_weld_cf_inactive; | |
4637 | part1=handle; | |
4638 | part0=torso; | |
4639 | handle; | |
4640 | }; | |
4641 | _make_hue(); | |
4642 | ||
4643 | h_part=_new'part'{ | |
4644 | size=Vector3.new(0.4,0.4,1.4); | |
4645 | color=_RGB(140,140,140); | |
4646 | name='handle'; | |
4647 | formFactor=3; | |
4648 | handle; | |
4649 | }; | |
4650 | hp_weld=_new'weld'{ | |
4651 | c1=_cframe(0,-1.3/2,-0.3, | |
4652 | 20,0,0); | |
4653 | part0=handle; | |
4654 | part1=h_part; | |
4655 | handle; | |
4656 | }; | |
4657 | ||
4658 | drag=_new'part'{ | |
4659 | size=Vector3.new(0.5,0.45,1.5); | |
4660 | color=_RGB(100,100,100); | |
4661 | name='handle'; | |
4662 | formFactor=3; | |
4663 | handle; | |
4664 | }; | |
4665 | d_weld=_new'weld'{ | |
4666 | c1=_cframe(0,-0.25,0); | |
4667 | part0=h_part; | |
4668 | part1=drag; | |
4669 | handle; | |
4670 | }; | |
4671 | ||
4672 | tube=_new'part'{ | |
4673 | size=Vector3.new(0.2,0.2,1.5); | |
4674 | color=_RGB(0,0,0); | |
4675 | name='handle'; | |
4676 | formFactor=3; | |
4677 | handle; | |
4678 | }; | |
4679 | t_weld=_new'weld'{ | |
4680 | c1=_cframe(0,-0.3,-0.1); | |
4681 | part0=h_part; | |
4682 | part1=tube; | |
4683 | handle; | |
4684 | }; | |
4685 | ||
4686 | bullets_label=_new'textLabel'{ | |
4687 | textStrokeColor3=_RGB(0,0,0); | |
4688 | textColor3=_RGB(200,200,200); | |
4689 | textStrokeTransparency=0; | |
4690 | backgroundTransparency=1; | |
4691 | fontSize=5; | |
4692 | screen; | |
4693 | }; | |
4694 | ||
4695 | lightstuff=_new'frame'{ | |
4696 | backgroundColor3=_RGB(255,255,255); | |
4697 | position=UDim2.new(0,0,0,-1); | |
4698 | backgroundTransparency=0.5; | |
4699 | size=UDim2.new(1,0,1,1); | |
4700 | borderSizePixel=0; | |
4701 | visible=false; | |
4702 | screen; | |
4703 | }; | |
4704 | ||
4705 | coroutine.wrap(function() | |
4706 | local red,white,green; | |
4707 | repeat | |
4708 | if(screen.Parent)then | |
4709 | if(not green and bullets.current==bullets.maximum)then | |
4710 | green=true; | |
4711 | bullets_label.TextColor3=_RGB(0,200,0); | |
4712 | elseif(not red and bullets.current==0)then | |
4713 | red=true; | |
4714 | bullets_label.TextColor3=_RGB(200,0,0); | |
4715 | elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then | |
4716 | bullets_label.TextColor3=_RGB(200,200,200); | |
4717 | green=false; | |
4718 | red=false; | |
4719 | end; | |
4720 | bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip); | |
4721 | bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y); | |
4722 | bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6); | |
4723 | end; | |
4724 | wait(0.001); | |
4725 | until nil; | |
4726 | end)(); | |
4727 | ||
4728 | ||
4729 | _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1; | |
4730 | local vers=_G.dev_pistol_version; | |
4731 | repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0; | |
4732 | if(hum.Health==0)then | |
4733 | _clear(); | |
4734 | end; | |
4735 | end | |
4736 | end) | |
4737 | ||
4738 | addcmd('nil', 'removes the player',{}, | |
4739 | function(args, speaker) | |
4740 | local players = getPlayer(args[1], speaker) | |
4741 | for i,v in pairs(players)do | |
4742 | pcall(function() gPlayers[v].Character:Remove() end) | |
4743 | gPlayers[v].Character = nil | |
4744 | if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else | |
4745 | Notify('Made player(s) nil') end end end) | |
4746 | ||
4747 | ||
4748 | addcmd('addban', 'Adds a ban to the banlist if the player is offline.', {}, | |
4749 | function(args, speaker) | |
4750 | local player = args[1] | |
4751 | local playerid = game:GetService("Players"):GetUserIdFromNameAsync(args[1]) | |
4752 | if player ~= nil then | |
4753 | if FindTable(WL, player) then Notify('Error: '..player..' is whitelisted') elseif not FindTable(banname, player) then | |
4754 | table.insert(banT, playerid) | |
4755 | banname[#banname + 1] = {NAME = tostring(player), ID = tonumber(playerid), AGE = "-"} | |
4756 | updatebans() | |
4757 | Notify("Added ban for: "..player) | |
4758 | end | |
4759 | end | |
4760 | end) | |
4761 | ||
4762 | addcmd('ban', 'goodbye ;)',{}, | |
4763 | function(args, speaker) | |
4764 | local players = getPlayer(args[1], speaker) | |
4765 | for i,v in pairs(players)do | |
4766 | if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else | |
4767 | Notify('Banned player(s)') end | |
4768 | spawn(function() | |
4769 | if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else | |
4770 | if not FindTable(banname, gPlayers[v].Name) then | |
4771 | table.insert(banT, _players[v].userId) | |
4772 | banname[#banname + 1] = {NAME = tostring(gPlayers[v].Name), ID = tonumber(gPlayers[v].userId), AGE = tonumber(gPlayers[v].AccountAge)} | |
4773 | updatebans() | |
4774 | kickF(gPlayers[v]) | |
4775 | end | |
4776 | end | |
4777 | end) | |
4778 | end | |
4779 | end) | |
4780 | ||
4781 | addcmd('clearbans', 'welcome back!',{'clrbans'}, | |
4782 | function(args, speaker) | |
4783 | banT = {} | |
4784 | banname = {} | |
4785 | Notify('Removed all bans') | |
4786 | updatebans() | |
4787 | end) | |
4788 | ||
4789 | addcmd('unban','unbans a player',{}, | |
4790 | function(args, speaker) | |
4791 | if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then | |
4792 | table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1]))) | |
4793 | for i,v in pairs(banname) do | |
4794 | if v.NAME == tostring(args[1]) then | |
4795 | table.remove(banname, i) | |
4796 | updatebans() | |
4797 | end end | |
4798 | Notify('Unbanned ' .. args[1]) | |
4799 | end | |
4800 | end) | |
4801 | ||
4802 | addcmd('dismiss', 'dismiss',{'verify'}, | |
4803 | function(args, speaker) | |
4804 | for _, child in pairs( workspace:GetChildren()) do | |
4805 | if child.Name == speaker.Name .. "TAB" then | |
4806 | child:Destroy() end end | |
4807 | for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end | |
4808 | end) | |
4809 | ||
4810 | addcmd('admin', 'ur an admin now ;o',{}, | |
4811 | function(args, speaker) | |
4812 | if speaker.userId ~= LP.userId then | |
4813 | lponly(speaker) else | |
4814 | local players = getPlayer(args[1], speaker) | |
4815 | for i,v in pairs(players)do | |
4816 | spawn(function() | |
4817 | if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then | |
4818 | table.insert(adminT, _players[v].userId) | |
4819 | adminname[#adminname + 1] = {NAME = tostring(gPlayers[v].Name)} | |
4820 | updateadmins() | |
4821 | if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else | |
4822 | Notify('Gave player(s) admin') end | |
4823 | game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1) | |
4824 | end end) end end end) | |
4825 | ||
4826 | addcmd('unadmin', 'removes the admin',{'noadmin'}, | |
4827 | function(args, speaker) | |
4828 | if speaker.userId ~= LP.userId then | |
4829 | lponly(speaker) else | |
4830 | local players = getPlayer(args[1], speaker) | |
4831 | for i,v in pairs(players)do | |
4832 | local radmin = tostring(_players[v].Name) | |
4833 | if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then | |
4834 | table.remove(adminT, GetInTable(adminT, _players[v].userId)) | |
4835 | for a,b in pairs(adminname) do | |
4836 | if b.NAME == radmin then | |
4837 | table.remove(adminname, a) | |
4838 | updateadmins() | |
4839 | end end | |
4840 | game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2) | |
4841 | if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else | |
4842 | Notify('Removed admin from player(s)') end | |
4843 | end | |
4844 | end | |
4845 | end | |
4846 | end) | |
4847 | ||
4848 | addcmd('bang', 'owo',{'rape'}, | |
4849 | function(args, speaker) | |
4850 | local players = getPlayer(args[1], speaker) | |
4851 | local target = getPlayer(args[2], speaker)[1] | |
4852 | for i,v in pairs(players)do | |
4853 | if args[2] then | |
4854 | rape(target, v) | |
4855 | else | |
4856 | rape(v, speaker.Name) | |
4857 | end | |
4858 | end | |
4859 | end) | |
4860 | ||
4861 | addcmd('bgui', 'gives player billboard gui presenting text',{}, | |
4862 | function(args, speaker) | |
4863 | local players = getPlayer(args[1], speaker) | |
4864 | for i,v in pairs(players)do | |
4865 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
4866 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy() | |
4867 | end | |
4868 | ||
4869 | y = Instance.new("BillboardGui") | |
4870 | y.Size = UDim2.new(0,100,0,150) | |
4871 | y.StudsOffset = Vector3.new(0,1,0) | |
4872 | y.Parent = gPlayers[v].Character.Head | |
4873 | y.Adornee = gPlayers[v].Character.Head | |
4874 | f = Instance.new("TextLabel") | |
4875 | f.Parent = y | |
4876 | f.BackgroundTransparency = 1 | |
4877 | f.Position = UDim2.new(0,0,0,-50) | |
4878 | f.Size = UDim2.new(0,100,0,100) | |
4879 | f.Font = "Highway" | |
4880 | f.FontSize = "Size48" | |
4881 | f.Text = GLS(false, 1) | |
4882 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
4883 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
4884 | f.TextStrokeTransparency = 0 | |
4885 | f.TextYAlignment = "Bottom" | |
4886 | end | |
4887 | end) | |
4888 | ||
4889 | addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'}, | |
4890 | function(args, speaker) | |
4891 | local players = getPlayer(args[1], speaker) | |
4892 | for i,v in pairs(players)do | |
4893 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
4894 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy() | |
4895 | end | |
4896 | end | |
4897 | end) | |
4898 | ||
4899 | function pipeTp(name,target) | |
4900 | spawn(function() | |
4901 | local pipe = Instance.new("Part") | |
4902 | pipe.Name = "Pipe" | |
4903 | pipe.Color = Color3.new(52/255,142/255,64/255) | |
4904 | pipe.Size = Vector3.new(8,8,8) | |
4905 | pipe.Anchored = true | |
4906 | local mesh = Instance.new("SpecialMesh",pipe) | |
4907 | mesh.MeshId = "rbxassetid://856736661" | |
4908 | mesh.Scale = Vector3.new(0.15, 0.15, 0.15) | |
4909 | local sound = Instance.new("Sound",pipe) | |
4910 | sound.SoundId = "rbxassetid://864352897" | |
4911 | sound.Volume = 1 | |
4912 | ||
4913 | local targetpos = game:GetService("Players")[target].Character.HumanoidRootPart.CFrame | |
4914 | ||
4915 | local char = game:GetService("Players")[name].Character | |
4916 | char.PrimaryPart = char.HumanoidRootPart | |
4917 | if char:FindFirstChild("Torso") then | |
4918 | char.Torso.Anchored = true | |
4919 | else | |
4920 | char.UpperTorso.Anchored = true | |
4921 | end | |
4922 | ||
4923 | local torso = char.HumanoidRootPart | |
4924 | local initPos = torso.CFrame | |
4925 | ||
4926 | pipe.Parent = workspace | |
4927 | pipe.CFrame = initPos - Vector3.new(0,8,0) | |
4928 | ||
4929 | for i = 0,8,0.2 do | |
4930 | pipe.CFrame = initPos - Vector3.new(0,8-i,0) | |
4931 | if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end | |
4932 | game:GetService("RunService").RenderStepped:wait() | |
4933 | end | |
4934 | ||
4935 | sound:Play() | |
4936 | for i = 7,-8,-0.2 do | |
4937 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0)) | |
4938 | game:GetService("RunService").RenderStepped:wait() | |
4939 | end | |
4940 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,-8,0)) | |
4941 | ||
4942 | for i = 8,0,-0.2 do | |
4943 | pipe.CFrame = initPos - Vector3.new(0,8-i,0) | |
4944 | game:GetService("RunService").RenderStepped:wait() | |
4945 | end | |
4946 | ||
4947 | pipe.CFrame = targetpos - Vector3.new(0,8,0) | |
4948 | char:SetPrimaryPartCFrame(pipe.CFrame) | |
4949 | ||
4950 | for i = 0,8,0.2 do | |
4951 | pipe.CFrame = targetpos - Vector3.new(0,8-i,0) | |
4952 | game:GetService("RunService").RenderStepped:wait() | |
4953 | end | |
4954 | ||
4955 | local played = false | |
4956 | for i = -8,7,0.2 do | |
4957 | if i >= 0 and not played then played = true sound:Play() end | |
4958 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0)) | |
4959 | game:GetService("RunService").RenderStepped:wait() | |
4960 | end | |
4961 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) | |
4962 | ||
4963 | for i = 8,0,-0.2 do | |
4964 | pipe.CFrame = targetpos - Vector3.new(0,8-i,0) | |
4965 | if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end | |
4966 | game:GetService("RunService").RenderStepped:wait() | |
4967 | end | |
4968 | ||
4969 | pipe:Destroy() | |
4970 | ||
4971 | if char:FindFirstChild("Torso") then | |
4972 | char.Torso.Anchored = false | |
4973 | else | |
4974 | char.UpperTorso.Anchored = false | |
4975 | end | |
4976 | end) | |
4977 | end | |
4978 | ||
4979 | addcmd('pipetp', 'uses pipe to tp plr to plr',{}, | |
4980 | function(args, speaker) | |
4981 | local players = getPlayer(args[1], speaker) | |
4982 | local target = getPlayer(args[2], speaker)[1] | |
4983 | for i,v in pairs(players)do | |
4984 | pipeTp(v,target) | |
4985 | end | |
4986 | end) | |
4987 | ||
4988 | addcmd('rhats', 'no more hats',{'removehats'}, | |
4989 | function(args, speaker) | |
4990 | local players = getPlayer(args[1], speaker) | |
4991 | for i,v in pairs(players) do | |
4992 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
4993 | if v:IsA('Accessory') then | |
4994 | v:destroy() | |
4995 | end | |
4996 | end | |
4997 | end | |
4998 | end) | |
4999 | ||
5000 | addcmd('naked', 'no more clothing',{}, | |
5001 | function(args, speaker) | |
5002 | local players = getPlayer(args[1], speaker) | |
5003 | for i,v in pairs(players) do | |
5004 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
5005 | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then | |
5006 | v:destroy() | |
5007 | end | |
5008 | end | |
5009 | end | |
5010 | end) | |
5011 | ||
5012 | addcmd('rainbow', 'makes a players parts change colors',{}, | |
5013 | function(args, speaker) | |
5014 | local players = getPlayer(args[1], speaker) | |
5015 | for i,v in pairs(players) do | |
5016 | local Parts={} | |
5017 | local function GetDiscoColor(hue) | |
5018 | local section = hue % 1 * 3 | |
5019 | local secondary = 0.5 * math.pi * (section % 1) | |
5020 | if section < 1 then | |
5021 | return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary)) | |
5022 | elseif section < 2 then | |
5023 | return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary)) | |
5024 | else | |
5025 | return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1) | |
5026 | end | |
5027 | end | |
5028 | local Part = function(x,y,z,color,tr,cc,an,parent) | |
5029 | local p = Instance.new('Part',parent) | |
5030 | p.formFactor = 'Custom' | |
5031 | p.Size = Vector3.new(x,y,z) | |
5032 | p.BrickColor = BrickColor.new(color) | |
5033 | p.CanCollide = cc | |
5034 | p.Transparency = tr | |
5035 | p.Anchored = an | |
5036 | p.TopSurface,p.BottomSurface = 0,0 | |
5037 | p:BreakJoints'' | |
5038 | table.insert(Parts,p) | |
5039 | return p | |
5040 | end | |
5041 | local Weld = function(p0,p1) | |
5042 | local w = Instance.new('Motor',p0) | |
5043 | w.Part0 = p0 | |
5044 | w.Part1 = p1 | |
5045 | return w | |
5046 | end | |
5047 | local Mesh = function(par,num,x,y,z) | |
5048 | local msh = 0 | |
5049 | if num == 1 then | |
5050 | msh = Instance.new("SpecialMesh",par) | |
5051 | msh.MeshId='rbxasset://fonts/torso.mesh' | |
5052 | msh.TextureId='rbxasset://25701026' | |
5053 | end | |
5054 | if num == 2 then | |
5055 | msh = Instance.new("SpecialMesh",par) | |
5056 | msh.MeshId='rbxasset://fonts/head.mesh' | |
5057 | msh.TextureId='rbxassetid://25701026' | |
5058 | end | |
5059 | msh.Scale = Vector3.new(x,y,z) | |
5060 | return msh | |
5061 | end | |
5062 | local char=gPlayers[v].Character | |
5063 | for _,v in pairs(char:GetChildren()) do | |
5064 | if v.ClassName=="Part" then | |
5065 | v.Transparency=1 | |
5066 | elseif v.ClassName=="Hat" then | |
5067 | v.Handle.Mesh.TextureId='rbxassetid://25701026' | |
5068 | table.insert(Parts,v.Handle) | |
5069 | end | |
5070 | end | |
5071 | local t=Part(1,1,1,'',0,false,false,char) | |
5072 | Mesh(t,1,1,1,1) | |
5073 | Weld(char.Torso,t) | |
5074 | local a=Part(1,1,1,'',0,false,false,char) | |
5075 | Mesh(a,1,.5,1,1) | |
5076 | Weld(char['Right Arm'],a) | |
5077 | local a=Part(1,1,1,'',0,false,false,char) | |
5078 | Mesh(a,1,.5,1,1) | |
5079 | Weld(char['Left Arm'],a) | |
5080 | local l=Part(1,1,1,'',0,false,false,char) | |
5081 | Mesh(l,1,.5,1,1) | |
5082 | Weld(char['Right Leg'],l) | |
5083 | local l=Part(1,1,1,'',0,false,false,char) | |
5084 | Mesh(l,1,.5,1,1) | |
5085 | Weld(char['Left Leg'],l) | |
5086 | local h=Part(1,1,1,'',0,false,false,char) | |
5087 | Mesh(h,2,1,1,1) | |
5088 | Weld(char.Head,h) | |
5089 | spawn(function() | |
5090 | while(coroutine.yield())do | |
5091 | for i=1,#Parts do | |
5092 | Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5) | |
5093 | end | |
5094 | end; | |
5095 | end); | |
5096 | end | |
5097 | end) | |
5098 | ||
5099 | addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'}, | |
5100 | function(args, speaker) | |
5101 | local players = getPlayer(args[1], speaker) | |
5102 | for i,v in pairs(players) do | |
5103 | for i,v in pairs(gPlayers[v].Backpack:GetDescendants()) do | |
5104 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
5105 | v:destroy() end | |
5106 | for i,v in pairs(players) do | |
5107 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
5108 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
5109 | v:destroy() end end end | |
5110 | end | |
5111 | end | |
5112 | end) | |
5113 | ||
5114 | addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'}, | |
5115 | function(args, speaker) | |
5116 | local players = getPlayer(args[1], speaker) | |
5117 | for i,v in pairs(players)do | |
5118 | local function copy(instance) | |
5119 | for i,c in pairs(instance:GetChildren())do | |
5120 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5121 | c:Clone().Parent = gPlayers[v].StarterGear end | |
5122 | copy(c) | |
5123 | end | |
5124 | end | |
5125 | copy(gPlayers[v].Backpack) | |
5126 | end | |
5127 | for i,v in pairs(players)do | |
5128 | local function copy(instance) | |
5129 | for i,c in pairs(instance:GetChildren())do | |
5130 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5131 | c:Clone().Parent = gPlayers[v].StarterGear end | |
5132 | copy(c) | |
5133 | end | |
5134 | end | |
5135 | copy(gPlayers[v].Character) | |
5136 | end | |
5137 | Notify('Copied tools to StarterGear') | |
5138 | end) | |
5139 | ||
5140 | addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'}, | |
5141 | function(args, speaker) | |
5142 | local players = getPlayer(args[1], speaker) | |
5143 | for i,v in pairs(players)do | |
5144 | for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do | |
5145 | if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy() | |
5146 | end end end | |
5147 | Notify('Cleared tools from StarterGear') | |
5148 | end) | |
5149 | ||
5150 | addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'}, | |
5151 | function(args, speaker) | |
5152 | local players = getPlayer(args[1], speaker) | |
5153 | for i,v in pairs(players)do | |
5154 | local function copy(instance) | |
5155 | for i,c in pairs(instance:GetChildren())do | |
5156 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5157 | c:Clone().Parent = gPlayers[v].Backpack end | |
5158 | copy(c) | |
5159 | end | |
5160 | end | |
5161 | copy(LightingService) | |
5162 | end | |
5163 | for i,v in pairs(players)do | |
5164 | local function copy(instance) | |
5165 | for i,c in pairs(instance:GetChildren())do | |
5166 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5167 | c:Clone().Parent = gPlayers[v].Backpack end | |
5168 | copy(c) | |
5169 | end | |
5170 | end | |
5171 | copy(game.ReplicatedStorage) | |
5172 | end | |
5173 | end) | |
5174 | ||
5175 | wdisco = false | |
5176 | addcmd('partdisco', 'color spams the workspace',{'pdisco'}, | |
5177 | function(args, speaker) | |
5178 | if wdisco == false then | |
5179 | wdisco = true | |
5180 | presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"} | |
5181 | repeat wait(1) | |
5182 | if wdisco == true then | |
5183 | local function color(instance) | |
5184 | for i,v in pairs(instance:GetChildren())do | |
5185 | if v.className == "Part" then | |
5186 | v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end | |
5187 | color(v) | |
5188 | end | |
5189 | end | |
5190 | color(workspace) | |
5191 | end | |
5192 | until wdisco == false | |
5193 | end | |
5194 | end) | |
5195 | ||
5196 | addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'}, | |
5197 | function(args, speaker) | |
5198 | wdisco = false | |
5199 | end) | |
5200 | ||
5201 | addcmd('gravity', 'workspace gravity',{''}, | |
5202 | function(args, speaker) | |
5203 | workspace.Gravity = args[1] | |
5204 | Notify('Gravity set to ' .. args[1]) | |
5205 | end) | |
5206 | ||
5207 | SINFOGUIopen = false | |
5208 | function serverinfogui() | |
5209 | if SINFOGUIopen == false then | |
5210 | local Sinfo = Instance.new("ScreenGui") | |
5211 | local drag = Instance.new("Frame") | |
5212 | local PromptDialog = Instance.new("Frame") | |
5213 | local shadow = Instance.new("Frame") | |
5214 | local PopupText = Instance.new("TextLabel") | |
5215 | local Exit = Instance.new("TextButton") | |
5216 | local ContainerFrame = Instance.new("Frame") | |
5217 | local TextLabel = Instance.new("TextLabel") | |
5218 | local TextLabel2 = Instance.new("TextLabel") | |
5219 | local TextLabel3 = Instance.new("TextLabel") | |
5220 | local Time = Instance.new("TextLabel") | |
5221 | local appearance = Instance.new("TextLabel") | |
5222 | local fe = Instance.new("TextLabel") | |
5223 | local maxplayers = Instance.new("TextLabel") | |
5224 | local name = Instance.new("TextLabel") | |
5225 | local placeid = Instance.new("TextLabel") | |
5226 | local playerid = Instance.new("TextLabel") | |
5227 | local players = Instance.new("TextLabel") | |
5228 | Sinfo.Name = "Sinfo" | |
5229 | Sinfo.Parent = game.CoreGui | |
5230 | drag.Name = "drag" | |
5231 | drag.Parent = Sinfo | |
5232 | drag.Active = true | |
5233 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
5234 | drag.BackgroundTransparency = 1 | |
5235 | dragGUI(drag) | |
5236 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
5237 | drag.Size = UDim2.new(0, 290, 0, 30) | |
5238 | PromptDialog.Name = "PromptDialog" | |
5239 | PromptDialog.Parent = drag | |
5240 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
5241 | PromptDialog.BackgroundTransparency = 1 | |
5242 | PromptDialog.BorderSizePixel = 0 | |
5243 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
5244 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
5245 | PromptDialog.ZIndex = 8 | |
5246 | shadow.Name = "shadow" | |
5247 | shadow.Parent = PromptDialog | |
5248 | shadow.BackgroundColor3 = maincolor | |
5249 | shadow.BackgroundTransparency = 0.30000001192093 | |
5250 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
5251 | shadow.BorderSizePixel = 0 | |
5252 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
5253 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
5254 | PopupText.Name = "PopupText" | |
5255 | PopupText.Parent = shadow | |
5256 | PopupText.BackgroundTransparency = 1 | |
5257 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
5258 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
5259 | PopupText.ZIndex = 110 | |
5260 | PopupText.Font = Enum.Font.SourceSansBold | |
5261 | PopupText.FontSize = Enum.FontSize.Size28 | |
5262 | PopupText.Text = "Server" | |
5263 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
5264 | PopupText.TextStrokeTransparency = 0 | |
5265 | PopupText.TextWrapped = true | |
5266 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
5267 | Exit.Name = "Exit" | |
5268 | Exit.Parent = shadow | |
5269 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
5270 | Exit.BackgroundTransparency = 0.30000001192093 | |
5271 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
5272 | Exit.BorderSizePixel = 0 | |
5273 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
5274 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
5275 | Exit.FontSize = Enum.FontSize.Size14 | |
5276 | Exit.Text = "" | |
5277 | ContainerFrame.Name = "ContainerFrame" | |
5278 | ContainerFrame.Parent = PromptDialog | |
5279 | ContainerFrame.BackgroundColor3 = maincolor | |
5280 | ContainerFrame.BackgroundTransparency = 0.5 | |
5281 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
5282 | ContainerFrame.BorderSizePixel = 0 | |
5283 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
5284 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
5285 | ContainerFrame.ZIndex = 5 | |
5286 | TextLabel.Name = "Text Label" | |
5287 | TextLabel.Parent = ContainerFrame | |
5288 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
5289 | TextLabel.BackgroundTransparency = 1 | |
5290 | TextLabel.BorderColor3 = Color3.new(0, 0, 0) | |
5291 | TextLabel.Position = UDim2.new(0, 10, 0, 70) | |
5292 | TextLabel.Size = UDim2.new(0, 100, 0, 20) | |
5293 | TextLabel.ZIndex = 10 | |
5294 | TextLabel.Font = Enum.Font.SourceSans | |
5295 | TextLabel.FontSize = Enum.FontSize.Size24 | |
5296 | TextLabel.Text = "Run Time:" | |
5297 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
5298 | TextLabel.TextStrokeTransparency = 0 | |
5299 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
5300 | TextLabel2.Name = "Text Label2" | |
5301 | TextLabel2.Parent = ContainerFrame | |
5302 | TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
5303 | TextLabel2.BackgroundTransparency = 1 | |
5304 | TextLabel2.BorderColor3 = Color3.new(0, 0, 0) | |
5305 | TextLabel2.Position = UDim2.new(0, 10, 0, 120) | |
5306 | TextLabel2.Size = UDim2.new(0, 100, 0, 20) | |
5307 | TextLabel2.ZIndex = 10 | |
5308 | TextLabel2.Font = Enum.Font.SourceSans | |
5309 | TextLabel2.FontSize = Enum.FontSize.Size24 | |
5310 | TextLabel2.Text = "Statistics:" | |
5311 | TextLabel2.TextColor3 = Color3.new(1, 1, 1) | |
5312 | TextLabel2.TextStrokeTransparency = 0 | |
5313 | TextLabel2.TextXAlignment = Enum.TextXAlignment.Left | |
5314 | TextLabel3.Name = "Text Label3" | |
5315 | TextLabel3.Parent = ContainerFrame | |
5316 | TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) | |
5317 | TextLabel3.BackgroundTransparency = 1 | |
5318 | TextLabel3.BorderColor3 = Color3.new(0, 0, 0) | |
5319 | TextLabel3.Position = UDim2.new(0, 10, 0, 0) | |
5320 | TextLabel3.Size = UDim2.new(0, 100, 0, 20) | |
5321 | TextLabel3.ZIndex = 10 | |
5322 | TextLabel3.Font = Enum.Font.SourceSans | |
5323 | TextLabel3.FontSize = Enum.FontSize.Size24 | |
5324 | TextLabel3.Text = "Local Player:" | |
5325 | TextLabel3.TextColor3 = Color3.new(1, 1, 1) | |
5326 | TextLabel3.TextStrokeTransparency = 0 | |
5327 | TextLabel3.TextXAlignment = Enum.TextXAlignment.Left | |
5328 | Time.Name = "Time" | |
5329 | Time.Parent = ContainerFrame | |
5330 | Time.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5331 | Time.BackgroundTransparency = 1 | |
5332 | Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5333 | Time.Position = UDim2.new(0, 10, 0, 90) | |
5334 | Time.Size = UDim2.new(0, 100, 0, 20) | |
5335 | Time.ZIndex = 100 | |
5336 | Time.Font = Enum.Font.ArialBold | |
5337 | Time.FontSize = Enum.FontSize.Size14 | |
5338 | Time.Text = "Loading..." | |
5339 | Time.TextColor3 = Color3.new(1, 1, 1) | |
5340 | Time.TextStrokeTransparency = 0 | |
5341 | Time.TextXAlignment = Enum.TextXAlignment.Left | |
5342 | appearance.Name = "appearance" | |
5343 | appearance.Parent = ContainerFrame | |
5344 | appearance.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5345 | appearance.BackgroundTransparency = 1 | |
5346 | appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5347 | appearance.Position = UDim2.new(0, 10, 0, 40) | |
5348 | appearance.Size = UDim2.new(0, 100, 0, 20) | |
5349 | appearance.ZIndex = 10 | |
5350 | appearance.Font = Enum.Font.ArialBold | |
5351 | appearance.FontSize = Enum.FontSize.Size14 | |
5352 | appearance.Text = "Appearance: Loading..." | |
5353 | appearance.TextColor3 = Color3.new(1, 1, 1) | |
5354 | appearance.TextStrokeTransparency = 0 | |
5355 | appearance.TextXAlignment = Enum.TextXAlignment.Left | |
5356 | fe.Name = "fe" | |
5357 | fe.Parent = ContainerFrame | |
5358 | fe.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5359 | fe.BackgroundTransparency = 1 | |
5360 | fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5361 | fe.Position = UDim2.new(0, 10, 0, 200) | |
5362 | fe.Size = UDim2.new(0, 100, 0, 20) | |
5363 | fe.ZIndex = 10 | |
5364 | fe.Font = Enum.Font.ArialBold | |
5365 | fe.FontSize = Enum.FontSize.Size14 | |
5366 | fe.Text = "Loading..." | |
5367 | fe.TextColor3 = Color3.new(1, 1, 1) | |
5368 | fe.TextStrokeTransparency = 0 | |
5369 | fe.TextXAlignment = Enum.TextXAlignment.Left | |
5370 | maxplayers.Name = "maxplayers" | |
5371 | maxplayers.Parent = ContainerFrame | |
5372 | maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5373 | maxplayers.BackgroundTransparency = 1 | |
5374 | maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5375 | maxplayers.Position = UDim2.new(0, 10, 0, 160) | |
5376 | maxplayers.Size = UDim2.new(0, 100, 0, 20) | |
5377 | maxplayers.ZIndex = 10 | |
5378 | maxplayers.Font = Enum.Font.ArialBold | |
5379 | maxplayers.FontSize = Enum.FontSize.Size14 | |
5380 | maxplayers.Text = "Loading..." | |
5381 | maxplayers.TextColor3 = Color3.new(1, 1, 1) | |
5382 | maxplayers.TextStrokeTransparency = 0 | |
5383 | maxplayers.TextXAlignment = Enum.TextXAlignment.Left | |
5384 | name.Name = "name" | |
5385 | name.Parent = ContainerFrame | |
5386 | name.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5387 | name.BackgroundTransparency = 1 | |
5388 | name.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5389 | name.Position = UDim2.new(0, 10, 0, 180) | |
5390 | name.Size = UDim2.new(0, 100, 0, 20) | |
5391 | name.ZIndex = 10 | |
5392 | name.Font = Enum.Font.ArialBold | |
5393 | name.FontSize = Enum.FontSize.Size14 | |
5394 | name.Text = "Place: Loading..." | |
5395 | name.TextColor3 = Color3.new(1, 1, 1) | |
5396 | name.TextStrokeTransparency = 0 | |
5397 | name.TextXAlignment = Enum.TextXAlignment.Left | |
5398 | placeid.Name = "placeid" | |
5399 | placeid.Parent = ContainerFrame | |
5400 | placeid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5401 | placeid.BackgroundTransparency = 1 | |
5402 | placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5403 | placeid.Position = UDim2.new(0, 10, 0, 220) | |
5404 | placeid.Size = UDim2.new(0, 100, 0, 20) | |
5405 | placeid.ZIndex = 10 | |
5406 | placeid.Font = Enum.Font.ArialBold | |
5407 | placeid.FontSize = Enum.FontSize.Size14 | |
5408 | placeid.Text = "Place ID: Loading..." | |
5409 | placeid.TextColor3 = Color3.new(1, 1, 1) | |
5410 | placeid.TextStrokeTransparency = 0 | |
5411 | placeid.TextXAlignment = Enum.TextXAlignment.Left | |
5412 | playerid.Name = "playerid" | |
5413 | playerid.Parent = ContainerFrame | |
5414 | playerid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5415 | playerid.BackgroundTransparency = 1 | |
5416 | playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5417 | playerid.Position = UDim2.new(0, 10, 0, 20) | |
5418 | playerid.Size = UDim2.new(0, 100, 0, 20) | |
5419 | playerid.ZIndex = 10 | |
5420 | playerid.Font = Enum.Font.ArialBold | |
5421 | playerid.FontSize = Enum.FontSize.Size14 | |
5422 | playerid.Text = "Player ID: Loading..." | |
5423 | playerid.TextColor3 = Color3.new(1, 1, 1) | |
5424 | playerid.TextStrokeTransparency = 0 | |
5425 | playerid.TextXAlignment = Enum.TextXAlignment.Left | |
5426 | players.Name = "players" | |
5427 | players.Parent = ContainerFrame | |
5428 | players.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5429 | players.BackgroundTransparency = 1 | |
5430 | players.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5431 | players.Position = UDim2.new(0, 10, 0, 140) | |
5432 | players.Size = UDim2.new(0, 100, 0, 20) | |
5433 | players.ZIndex = 100 | |
5434 | players.Font = Enum.Font.ArialBold | |
5435 | players.FontSize = Enum.FontSize.Size14 | |
5436 | players.Text = "Loading..." | |
5437 | players.TextColor3 = Color3.new(1, 1, 1) | |
5438 | players.TextStrokeTransparency = 0 | |
5439 | players.TextXAlignment = Enum.TextXAlignment.Left | |
5440 | local SINFOGUI = ContainerFrame | |
5441 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
5442 | SINFOGUIopen = true wait(0.5) | |
5443 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId) | |
5444 | SINFOGUI.name.Text = "Place: " .. Asset.Name | |
5445 | Exit.MouseButton1Click:Connect(function() | |
5446 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
5447 | wait(0.6) SINFOGUIopen = false Sinfo:Destroy() end) | |
5448 | SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId | |
5449 | if workspace.FilteringEnabled == true then | |
5450 | SINFOGUI.fe.Text = "Filtering Enabled" | |
5451 | elseif workspace.FilteringEnabled == false then | |
5452 | SINFOGUI.fe.Text = "Filtering Disabled" end | |
5453 | SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max" | |
5454 | SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat | |
5455 | players = gPlayers:getPlayers() | |
5456 | SINFOGUI.players.Text = #players.. " Player(s)" | |
5457 | SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId | |
5458 | local seconds = math.floor(workspace.DistributedGameTime) | |
5459 | local minutes = math.floor(workspace.DistributedGameTime / 60) | |
5460 | local hours = math.floor(workspace.DistributedGameTime / 60 / 60) | |
5461 | local seconds = seconds - (minutes * 60) | |
5462 | local minutes = minutes - (hours * 60) | |
5463 | if hours < 1 then if minutes < 1 then | |
5464 | SINFOGUI.Time.Text = seconds .. " Second(s)" else | |
5465 | SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else | |
5466 | SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
5467 | end wait(1) until SINFOGUIopen == false end end | |
5468 | addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'}, | |
5469 | function(args, speaker) | |
5470 | if speaker.userId ~= LP.userId then | |
5471 | lponly(speaker) | |
5472 | else | |
5473 | serverinfogui() | |
5474 | end | |
5475 | end) | |
5476 | ||
5477 | addcmd('sparkles', 'give a player sparkles',{'sp'}, | |
5478 | function(args, speaker) | |
5479 | local players = getPlayer(args[1], speaker) | |
5480 | for i,v in pairs(players)do | |
5481 | spawn(function() | |
5482 | local pchar=_char(v) | |
5483 | local Sparkles1 = Instance.new("Sparkles", pchar.Head) | |
5484 | local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart) | |
5485 | local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"]) | |
5486 | local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"]) | |
5487 | local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"]) | |
5488 | local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"]) | |
5489 | if not args[2] then return end | |
5490 | Sparkles1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5491 | Sparkles2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5492 | Sparkles3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5493 | Sparkles4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5494 | Sparkles5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5495 | Sparkles6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5496 | end) | |
5497 | end | |
5498 | end) | |
5499 | ||
5500 | addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'}, | |
5501 | function(args, speaker) | |
5502 | local players = getPlayer(args[1], speaker) | |
5503 | for i,v in pairs(players)do | |
5504 | local pchar=_char(v) | |
5505 | for j,v1 in pairs(pchar:GetDescendants()) do | |
5506 | if v1:IsA("Sparkles") then | |
5507 | v1:Destroy() | |
5508 | end end end | |
5509 | end) | |
5510 | ||
5511 | addcmd('smoke', 'give a player smoke',{}, | |
5512 | function(args, speaker) | |
5513 | local players = getPlayer(args[1], speaker) | |
5514 | for i,v in pairs(players)do | |
5515 | local pchar=_char(v) | |
5516 | Instance.new("Smoke", pchar.HumanoidRootPart) | |
5517 | end | |
5518 | end) | |
5519 | ||
5520 | addcmd('addstat', 'give a player a stat',{}, | |
5521 | function(args, speaker) | |
5522 | local players = getPlayer(args[1], speaker) | |
5523 | for i,v in pairs(players)do | |
5524 | spawn(function() | |
5525 | if gPlayers[v]:FindFirstChild("leaderstats") then | |
5526 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
5527 | if child.Name == "STAT" then | |
5528 | child:Destroy() | |
5529 | end | |
5530 | end | |
5531 | local score = Instance.new("StringValue") | |
5532 | score.Name = "STAT" | |
5533 | score.Value = GLS(false, 1) | |
5534 | score.Parent = gPlayers[v].leaderstats | |
5535 | else | |
5536 | local stats = Instance.new("IntValue") | |
5537 | stats.Name = "leaderstats" | |
5538 | stats.Parent = gPlayers[v] | |
5539 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
5540 | if child.Name == "STAT" then | |
5541 | child:Destroy() | |
5542 | end | |
5543 | end | |
5544 | local score = Instance.new("StringValue") | |
5545 | score.Name = "STAT" | |
5546 | score.Value = GLS(false, 1) | |
5547 | score.Parent = gPlayers[v].leaderstats | |
5548 | end | |
5549 | end) | |
5550 | end | |
5551 | end) | |
5552 | ||
5553 | addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'}, | |
5554 | function(args, speaker) | |
5555 | local players = getPlayer(args[1], speaker) | |
5556 | for i,v in pairs(players)do | |
5557 | local pchar=_char(v) | |
5558 | for j,v1 in pairs(pchar:GetDescendants()) do | |
5559 | if v1:IsA("Smoke") then | |
5560 | v1:Destroy() | |
5561 | end | |
5562 | end | |
5563 | end | |
5564 | end) | |
5565 | ||
5566 | addcmd('longneck', 'makes a player have a really long neck',{'giraffe'}, | |
5567 | function(args, speaker) | |
5568 | local players = getPlayer(args[1], speaker) | |
5569 | for i,v in pairs(players)do | |
5570 | local pchar=_char(v) | |
5571 | for i,v in pairs(pchar:GetChildren()) do | |
5572 | if pchar.Torso:FindFirstChild("Neck") then | |
5573 | pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
5574 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end | |
5575 | Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1) | |
5576 | Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true | |
5577 | local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7) | |
5578 | local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0) | |
5579 | end | |
5580 | end | |
5581 | end | |
5582 | end) | |
5583 | ||
5584 | addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'}, | |
5585 | function(args, speaker) | |
5586 | local players = getPlayer(args[1], speaker) | |
5587 | for i,v in pairs(players)do | |
5588 | local pchar=_char(v) | |
5589 | for i,v in pairs(pchar:GetChildren()) do | |
5590 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
5591 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end | |
5592 | end | |
5593 | end | |
5594 | end) | |
5595 | ||
5596 | addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'}, | |
5597 | function(args, speaker) | |
5598 | workspace.Terrain:Clear() | |
5599 | end) | |
5600 | ||
5601 | addcmd('smite','get hit by lightning',{}, | |
5602 | function(args, speaker) | |
5603 | local players = getPlayer(args[1], speaker) | |
5604 | for i,v in pairs(players)do | |
5605 | local pchar=_char(v) | |
5606 | spawn(function() | |
5607 | local char = pchar | |
5608 | local zeus = Instance.new("Model",char) | |
5609 | local cloud = Instance.new("Part",zeus) | |
5610 | cloud.Anchored = true | |
5611 | cloud.CanCollide = false | |
5612 | cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0) | |
5613 | local sound = Instance.new("Sound",cloud) | |
5614 | sound.SoundId = "rbxassetid://133426162" | |
5615 | local mesh = Instance.new("SpecialMesh",cloud) | |
5616 | mesh.MeshId = "http://www.roblox.com/asset/?id=1095708" | |
5617 | mesh.TextureId = "http://www.roblox.com/asset/?id=1095709" | |
5618 | mesh.Scale = Vector3.new(30,30,40) | |
5619 | mesh.VertexColor = Vector3.new(0.3,0.3,0.3) | |
5620 | local light = Instance.new("PointLight",cloud) | |
5621 | light.Color = Color3.new(0,85/255,1) | |
5622 | light.Brightness = 10 | |
5623 | light.Range = 30 | |
5624 | light.Enabled = false | |
5625 | wait(0.2) | |
5626 | sound.Volume = 0.5 | |
5627 | sound.Pitch = 0.8 | |
5628 | sound:Play() | |
5629 | light.Enabled = true | |
5630 | wait(1/100) | |
5631 | light.Enabled = false | |
5632 | wait(0.2) | |
5633 | light.Enabled = true | |
5634 | light.Brightness = 1 | |
5635 | wait(0.05) | |
5636 | light.Brightness = 3 | |
5637 | wait(0.02) | |
5638 | light.Brightness = 1 | |
5639 | wait(0.07) | |
5640 | light.Brightness = 10 | |
5641 | wait(0.09) | |
5642 | light.Brightness = 0 | |
5643 | wait(0.01) | |
5644 | light.Brightness = 7 | |
5645 | light.Enabled = false | |
5646 | wait(1.5) | |
5647 | local part1 = Instance.new("Part",zeus) | |
5648 | part1.Anchored = true | |
5649 | part1.CanCollide = false | |
5650 | part1.Size = Vector3.new(2, 9.2, 1) | |
5651 | part1.BrickColor = BrickColor.new("New Yeller") | |
5652 | part1.Transparency = 0.6 | |
5653 | part1.BottomSurface = "Smooth" | |
5654 | part1.TopSurface = "Smooth" | |
5655 | part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0) | |
5656 | part1.Rotation = Vector3.new(0.359, 1.4, -14.361) | |
5657 | wait() | |
5658 | local part2 = part1:clone() | |
5659 | part2.Parent = zeus | |
5660 | part2.Size = Vector3.new(1, 7.48, 2) | |
5661 | part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0) | |
5662 | part2.Rotation = Vector3.new(77.514, -75.232, 78.051) | |
5663 | wait() | |
5664 | local part3 = part1:clone() | |
5665 | part3.Parent = zeus | |
5666 | part3.Size = Vector3.new(1.86, 7.56, 1) | |
5667 | part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0) | |
5668 | part3.Rotation = Vector3.new(0, 0, -11.128) | |
5669 | sound.SoundId = "rbxassetid://130818250" | |
5670 | sound.Volume = 1 | |
5671 | sound.Pitch = 1 | |
5672 | sound:Play() | |
5673 | wait() | |
5674 | part1.Transparency = 1 | |
5675 | part2.Transparency = 1 | |
5676 | part3.Transparency = 1 | |
5677 | Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0) | |
5678 | char:BreakJoints() | |
5679 | end) | |
5680 | end | |
5681 | end) | |
5682 | ||
5683 | addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'}, | |
5684 | function(args, speaker) | |
5685 | local players = getPlayer(args[1], speaker) | |
5686 | for i,v in pairs(players)do | |
5687 | spawn(function() | |
5688 | local pchar=_char(v) | |
5689 | 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) | |
5690 | local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030" | |
5691 | local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30 | |
5692 | local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10 | |
5693 | local f = Instance.new("Sound") | |
5694 | f.Name = "fly" | |
5695 | f.SoundId = "rbxassetid://179438534" | |
5696 | f.Volume = 3 | |
5697 | f.Pitch = 1 | |
5698 | f.Looped = true | |
5699 | f.archivable = true | |
5700 | f.Parent = Ast | |
5701 | f:play() | |
5702 | local Touched = false | |
5703 | coroutine.wrap(function() | |
5704 | repeat wait(0.1) | |
5705 | Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z) | |
5706 | until not Ast or Ast.Parent == nil or Touched == true | |
5707 | end)() | |
5708 | Ast.Touched:connect(function(Part) | |
5709 | if Touched == false then | |
5710 | Touched = true | |
5711 | Part:BreakJoints() | |
5712 | local Boom = Instance.new("Explosion", workspace) | |
5713 | Boom.Position = Ast.Position | |
5714 | Boom.BlastPressure = 1000000 | |
5715 | Boom.BlastRadius = 30 | |
5716 | Fire.Heat = 0 | |
5717 | Smoke.RiseVelocity = 0 | |
5718 | f:Destroy() | |
5719 | local s = Instance.new("Sound") | |
5720 | s.Name = "boom" | |
5721 | s.SoundId = "rbxassetid://188590169" | |
5722 | s.Volume = 3 | |
5723 | s.Pitch = 1 | |
5724 | s.Looped = true | |
5725 | s.archivable = true | |
5726 | s.Parent = Ast | |
5727 | s:play() | |
5728 | coroutine.wrap(function() | |
5729 | wait(10) | |
5730 | s:Destroy() | |
5731 | if Ast and Ast.Parent ~= nil then | |
5732 | Ast:Destroy() | |
5733 | end | |
5734 | end)() | |
5735 | end | |
5736 | end) | |
5737 | end) | |
5738 | end | |
5739 | end) | |
5740 | ||
5741 | addcmd('bomb','gives you a bomb vest',{'terrorist'}, | |
5742 | function(args, speaker) | |
5743 | local players = getPlayer(args[1], speaker) | |
5744 | for i,v in pairs(players)do | |
5745 | spawn(function() | |
5746 | local Char=_char(v) | |
5747 | local HumanoidRootPart = Char.HumanoidRootPart | |
5748 | local TickWait = 1 | |
5749 | local Dead = false | |
5750 | ||
5751 | local Position = Vector3.new(0,100,0) | |
5752 | function NewPart(Parent) | |
5753 | local Part = Instance.new("Part", Parent) | |
5754 | Part.CanCollide = false | |
5755 | Part.Position = Position | |
5756 | Part.TopSurface = "Smooth" | |
5757 | Part.BottomSurface = "Smooth" | |
5758 | Position = Position + Vector3.new(0,10,0) | |
5759 | return Part | |
5760 | end | |
5761 | ||
5762 | local Model = Char:FindFirstChild("Bomb") | |
5763 | if Model then Model:Destroy() end | |
5764 | ||
5765 | local Model = Instance.new("Model", Char) | |
5766 | Model.Name = "Bomb" | |
5767 | ||
5768 | local Belt = NewPart(Model) | |
5769 | Belt.Size = Vector3.new(2.2,0.5,1.2) | |
5770 | local Weld = Instance.new("Weld", Belt) | |
5771 | Weld.Part0 = Belt | |
5772 | Weld.Part1 = HumanoidRootPart | |
5773 | Weld.C0 = CFrame.new(0,1.1,0) | |
5774 | local Light = Instance.new("PointLight", Belt) | |
5775 | Light.Range = 15 | |
5776 | Light.Brightness = 5 | |
5777 | Light.Color = Color3.new(1,0,0) | |
5778 | local Beep = Instance.new("Sound", Belt) | |
5779 | Beep.SoundId = "http://www.roblox.com/asset/?id=188588790" | |
5780 | local ExplodeSound = Instance.new("Sound", Belt) | |
5781 | ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 | |
5782 | ExplodeSound.Pitch = 2.8 | |
5783 | ExplodeSound.Volume = 3 | |
5784 | ||
5785 | local Back = NewPart(Model) | |
5786 | Back.Size = Vector3.new(1.5,1.5,0.5) | |
5787 | local Weld = Instance.new("Weld", Back) | |
5788 | Weld.Part0 = Back | |
5789 | Weld.Part1 = HumanoidRootPart | |
5790 | Weld.C0 = CFrame.new(0,0.1,-0.75) | |
5791 | ||
5792 | local StrapLeft = NewPart(Model) | |
5793 | StrapLeft.Size = Vector3.new(0.2,0.5,1.6) | |
5794 | local Weld = Instance.new("Weld", StrapLeft) | |
5795 | Weld.Part0 = StrapLeft | |
5796 | Weld.Part1 = HumanoidRootPart | |
5797 | Weld.C0 = CFrame.new(0.65,-0.9,-0.2) | |
5798 | ||
5799 | local BuckleLeft = NewPart(Model) | |
5800 | BuckleLeft.Size = Vector3.new(0.2,1.5,0.2) | |
5801 | local Weld = Instance.new("Weld", BuckleLeft) | |
5802 | Weld.Part0 = BuckleLeft | |
5803 | Weld.Part1 = HumanoidRootPart | |
5804 | Weld.C0 = CFrame.new(0.65,0.1,0.5) | |
5805 | ||
5806 | local StrapRight = NewPart(Model) | |
5807 | StrapRight.Size = Vector3.new(0.2,0.5,1.6) | |
5808 | local Weld = Instance.new("Weld", StrapRight) | |
5809 | Weld.Part0 = StrapRight | |
5810 | Weld.Part1 = HumanoidRootPart | |
5811 | Weld.C0 = CFrame.new(-0.65,-0.9,-0.2) | |
5812 | ||
5813 | local BuckleRight = NewPart(Model) | |
5814 | BuckleRight.Size = Vector3.new(0.2,1.5,0.2) | |
5815 | local Weld = Instance.new("Weld", BuckleRight) | |
5816 | Weld.Part0 = BuckleRight | |
5817 | Weld.Part1 = HumanoidRootPart | |
5818 | Weld.C0 = CFrame.new(-0.65,0.1,0.5) | |
5819 | ||
5820 | LightEnabled = true | |
5821 | coroutine.wrap(function() | |
5822 | repeat | |
5823 | wait(TickWait) | |
5824 | LightEnabled = not LightEnabled | |
5825 | Light.Enabled = LightEnabled | |
5826 | Beep:Play() | |
5827 | until Dead == true or Char:FindFirstChild("Bomb") == nil | |
5828 | end)() | |
5829 | ||
5830 | wait(10) | |
5831 | if Dead == false then | |
5832 | Dead = true | |
5833 | ExplodeSound:Play(); wait(1.4) | |
5834 | local Explosion = Instance.new("Explosion") | |
5835 | Explosion.Position = Belt.Position | |
5836 | Explosion.BlastPressure = 100000 | |
5837 | Explosion.DestroyJointRadiusPercent = 0.7 | |
5838 | Explosion.ExplosionType = "CratersAndDebris" | |
5839 | Explosion.BlastRadius = 50 | |
5840 | Explosion.Parent = workspace | |
5841 | end | |
5842 | end) | |
5843 | end | |
5844 | end) | |
5845 | ||
5846 | addcmd('btools', 'gives a player btools',{}, | |
5847 | function(args, speaker) | |
5848 | local players = getPlayer(args[1], speaker) | |
5849 | if players ~= nil then | |
5850 | for i, v in pairs(players) do | |
5851 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 1 -- Model Grab Tool | |
5852 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 -- Part Grab Tool | |
5853 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 -- Clone Tool | |
5854 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 -- Hammer Tool | |
5855 | if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else | |
5856 | Notify('Gave btools to player(s)') end end end end) | |
5857 | ||
5858 | addcmd('sword', 'gives a player a sword',{}, | |
5859 | function(args, speaker) | |
5860 | local players = getPlayer(args[1], speaker) | |
5861 | if players ~= nil then | |
5862 | for i, v in pairs(players) do | |
5863 | coroutine.resume(coroutine.create(function() | |
5864 | if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then | |
5865 | local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png" | |
5866 | sword.GripForward = Vector3.new(-1,0,0) | |
5867 | sword.GripPos = Vector3.new(0,0,-1.5) | |
5868 | sword.GripRight = Vector3.new(0,1,0) | |
5869 | sword.GripUp = Vector3.new(0,0,1) | |
5870 | 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 | |
5871 | local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png" | |
5872 | repeat wait() until gPlayers[v] and gPlayers[v].Character and gPlayers[v].Character:findFirstChild("Humanoid") | |
5873 | local Damage = 15 | |
5874 | local SlashSound = Instance.new("Sound", handle) | |
5875 | SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
5876 | SlashSound.Volume = 1 | |
5877 | local LungeSound = Instance.new("Sound", handle) | |
5878 | LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" | |
5879 | LungeSound.Volume = 1 | |
5880 | local UnsheathSound = Instance.new("Sound", handle) | |
5881 | UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" | |
5882 | UnsheathSound.Volume = 1 | |
5883 | handle.Touched:connect(function(hit) | |
5884 | 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 | |
5885 | local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = speaker tag.Name = "creator" game:service("Debris"):AddItem(tag, 3) | |
5886 | hit.Parent.Humanoid:TakeDamage(Damage) | |
5887 | if not sword.Enabled or gPlayers[v].Character.Humanoid.Health <= 0 then return end | |
5888 | sword.Enabled = false | |
5889 | SlashSound:play() | |
5890 | local slash = Instance.new("StringValue", sword) slash.Name = "toolanim" slash.Value = "Slash" | |
5891 | wait(0.5) | |
5892 | sword.Enabled = true | |
5893 | end | |
5894 | end) | |
5895 | sword.Equipped:connect(function(hit) | |
5896 | UnsheathSound:play() | |
5897 | sword.Enabled = true | |
5898 | end) | |
5899 | end | |
5900 | end)) | |
5901 | end | |
5902 | end | |
5903 | end) | |
5904 | ||
5905 | addcmd('hatsize', 'changes players hat size',{''}, | |
5906 | function(args, speaker) | |
5907 | local players = getPlayer(args[1], speaker) | |
5908 | for i,v in pairs(players) do | |
5909 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
5910 | if v:IsA('Accessory') then | |
5911 | for a,b in pairs(v.Handle:GetChildren()) do | |
5912 | if b:IsA('SpecialMesh') then | |
5913 | b.Scale = args[2] * Vector3.new(1, 1, 1) | |
5914 | end | |
5915 | end | |
5916 | end | |
5917 | end | |
5918 | end | |
5919 | end) | |
5920 | ||
5921 | addcmd('headsize', 'changes players head size',{''}, | |
5922 | function(args, speaker) | |
5923 | local players = getPlayer(args[1], speaker) | |
5924 | for i,v in pairs(players) do | |
5925 | local plrchar = _players[v].Character | |
5926 | if not plrchar.Humanoid:FindFirstChild('HeadScale') then | |
5927 | if args[2] == 1 then | |
5928 | plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
5929 | plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
5930 | else | |
5931 | plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25) | |
5932 | end | |
5933 | else plrchar.Humanoid.HeadScale.Value = args[2] | |
5934 | end | |
5935 | end | |
5936 | end) | |
5937 | ||
5938 | addcmd('change', 'changes a players stat',{'stat'}, | |
5939 | function(args, speaker) | |
5940 | local players = getPlayer(args[1], speaker) | |
5941 | for i,v in pairs(players) do | |
5942 | if _players[v]:FindFirstChild('leaderstats') then | |
5943 | for i,v in pairs(_players[v].leaderstats:GetChildren()) do | |
5944 | if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then | |
5945 | if args[3] then v.Value = tonumber(args[3]) end | |
5946 | elseif string.lower(v.Name) == string.lower(args[2]) and v:IsA('StringValue') then | |
5947 | v.Value = GLS(false, 2) | |
5948 | end | |
5949 | end | |
5950 | end | |
5951 | end | |
5952 | end) | |
5953 | ||
5954 | addcmd('draw', 'drawing tool',{}, | |
5955 | function(args, speaker) | |
5956 | if speaker.userId ~= LP.userId then | |
5957 | lponly(speaker) | |
5958 | else | |
5959 | for i,v in next,game:children()do | |
5960 | pcall(function() | |
5961 | local c=v.className; | |
5962 | rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c)); | |
5963 | end); | |
5964 | end; | |
5965 | ||
5966 | ||
5967 | user=players.LocalPlayer; | |
5968 | uname=user.Name; | |
5969 | guis=user.PlayerGui; | |
5970 | pack=user.Backpack; | |
5971 | ||
5972 | keyDowns={}; | |
5973 | freeKeys={}; | |
5974 | shortcuts={}; | |
5975 | ||
5976 | _G.mine=_G.mine or{}; | |
5977 | ||
5978 | name='Draw3D'; | |
5979 | url='http://www.roblox.com/asset/?id=%d'; | |
5980 | ||
5981 | iconNormal=url:format(96578285); | |
5982 | iconOnDown=url:format(96584484); | |
5983 | ||
5984 | ver=0; | |
5985 | drawPixel=0.10; | |
5986 | _G.drawLimit=_G.drawLimit or 1000; | |
5987 | ||
5988 | _G.drawColor=_G.drawColor or Color3.new(); | |
5989 | ||
5990 | ||
5991 | ||
5992 | ||
5993 | ||
5994 | destroy=game.remove; | |
5995 | find=game.findFirstChild; | |
5996 | new=Instance.new; | |
5997 | with=function(c) | |
5998 | return function(p) | |
5999 | local o=type(c)=='string'and new(c)or c; | |
6000 | local x=p.Parent;p.Parent=nil; | |
6001 | for i,v in next,p do | |
6002 | o[i]=v; | |
6003 | end; | |
6004 | if(x)then | |
6005 | o.Parent=x; | |
6006 | end; | |
6007 | return o; | |
6008 | end; | |
6009 | end; | |
6010 | getPlace=function() | |
6011 | if(find(workspace,'draw')==nil)then | |
6012 | new('Model',workspace).Name='draw'; | |
6013 | end; | |
6014 | if(find(workspace.draw,uname)==nil)then | |
6015 | new('Model',workspace.draw).Name=uname; | |
6016 | end; | |
6017 | return workspace.draw[uname]; | |
6018 | end; | |
6019 | drawLine=function(start,target) | |
6020 | local gui=with'BlockMesh'{ | |
6021 | Parent=with'Part'{ | |
6022 | CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2); | |
6023 | Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel); | |
6024 | Parent=getPlace(); | |
6025 | Color=_G.drawColor; | |
6026 | BottomSurface=0; | |
6027 | Anchored=true; | |
6028 | TopSurface=0; | |
6029 | formFactor=3; | |
6030 | Name=name; | |
6031 | }}.Parent; | |
6032 | table.insert(_G.mine,gui); | |
6033 | return gui; | |
6034 | end; | |
6035 | onDown=function() | |
6036 | if(drawing)then | |
6037 | return nil; | |
6038 | end; | |
6039 | if(selectGui.Adornee)then | |
6040 | destroy(selectGui.Adornee); | |
6041 | end; | |
6042 | ||
6043 | drawing=true; | |
6044 | ||
6045 | mouse.Icon=iconOnDown; | |
6046 | ver=ver+1; | |
6047 | ||
6048 | ||
6049 | local cVer,start,target=ver,mouse.hit.p; | |
6050 | ||
6051 | local group={}; | |
6052 | repeat | |
6053 | Wait(0.02); | |
6054 | ||
6055 | if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then | |
6056 | ||
6057 | target=mouse.hit.p; | |
6058 | ||
6059 | table.insert(group,drawLine(start,target)); | |
6060 | ||
6061 | start=target; | |
6062 | end; | |
6063 | until ver~=cVer; | |
6064 | drawing=false; | |
6065 | ||
6066 | local groupM=new('Model',getPlace()); | |
6067 | for i,v in next,group do | |
6068 | if(v:IsDescendantOf(Workspace))then | |
6069 | v.Parent=groupM; | |
6070 | end; | |
6071 | end; | |
6072 | if(next(groupM:children())==nil)then | |
6073 | destroy(groupM); | |
6074 | end; | |
6075 | end; | |
6076 | onUp=function() | |
6077 | mouse.Icon=iconNormal; | |
6078 | ver=ver+1; | |
6079 | end; | |
6080 | onKeyDown=function(k) | |
6081 | if(freeKeys[k]==false)then | |
6082 | return false; | |
6083 | end; | |
6084 | freeKeys[k]=false; | |
6085 | Wait(0.01); | |
6086 | if(keyDowns[k])then | |
6087 | keyDowns[k](); | |
6088 | elseif(shortcuts[k])then | |
6089 | shortcuts[k](); | |
6090 | end; | |
6091 | end; | |
6092 | onKeyUp=function(k) | |
6093 | freeKeys[k]=true; | |
6094 | end; | |
6095 | onMove=function() | |
6096 | ||
6097 | end; | |
6098 | onSelect=function(lmouse) | |
6099 | frame.Visible=true; | |
6100 | ||
6101 | mouse=lmouse; | |
6102 | ||
6103 | mouse.Icon=iconNormal; | |
6104 | ||
6105 | mouse.Button1Down:connect(onDown); | |
6106 | mouse.KeyDown:connect(onKeyDown); | |
6107 | mouse.Button1Up:connect(onUp); | |
6108 | mouse.KeyUp:connect(onKeyUp); | |
6109 | mouse.Move:connect(onMove); | |
6110 | end; | |
6111 | onDeselect=function() | |
6112 | ver=ver+1; | |
6113 | frame.Visible=false; | |
6114 | selectGui.Adornee=nil; | |
6115 | mouse.Icon=iconNormal; | |
6116 | for i,v in next,freeKeys do | |
6117 | freeKeys[i]=true; | |
6118 | end; | |
6119 | end; | |
6120 | addButton=function(title,shortcut,fun) | |
6121 | with'TextButton'{ | |
6122 | Text=string.format(' %s (%s)',title,shortcut); | |
6123 | TextXAlignment=0; | |
6124 | Parent=frame; | |
6125 | }.MouseButton1Up:connect(fun); | |
6126 | ||
6127 | shortcuts[shortcut]=fun; | |
6128 | ||
6129 | local c=#frame:children(); | |
6130 | for i,v in next,frame:children()do | |
6131 | v.Position=UDim2.new(0,0,0,20*(i-1)); | |
6132 | v.Size=UDim2.new(1,0,0,20); | |
6133 | end; | |
6134 | ||
6135 | frame.Position=UDim2.new(1,-152,.5,-c*10); | |
6136 | frame.Size=UDim2.new(0,150,0,c*20); | |
6137 | end; | |
6138 | ||
6139 | ||
6140 | ||
6141 | ||
6142 | ||
6143 | ||
6144 | ||
6145 | ||
6146 | for i,v in next,{guis;pack;}do | |
6147 | pcall(function() | |
6148 | repeat until destroy(v[name]); | |
6149 | end); | |
6150 | end; | |
6151 | ||
6152 | ||
6153 | ||
6154 | tool=with'HopperBin'{ | |
6155 | Parent=pack; | |
6156 | Name=name; | |
6157 | }; | |
6158 | tool.Deselected:connect(onDeselect); | |
6159 | tool.Selected:connect(onSelect); | |
6160 | ||
6161 | ||
6162 | ||
6163 | ||
6164 | screen=with'ScreenGui'{ | |
6165 | Parent=guis; | |
6166 | Name=name; | |
6167 | }; | |
6168 | frame=with'Frame'{ | |
6169 | Parent=screen; | |
6170 | Visible=false; | |
6171 | }; | |
6172 | clframe=with'Frame'{ | |
6173 | Position=UDim2.new(.5,-50,.5,-50); | |
6174 | Size=UDim2.new(0,100,0,100); | |
6175 | Visible=false; | |
6176 | Parent=screen; | |
6177 | }; | |
6178 | selectGui=with'SelectionBox'{ | |
6179 | Parent=screen; | |
6180 | }; | |
6181 | ||
6182 | local c=0; | |
6183 | for y=0,7 do | |
6184 | for x=0,7 do | |
6185 | local color=BrickColor.palette(c).Color; | |
6186 | ||
6187 | with'ImageButton'{ | |
6188 | Position=UDim2.new(.125*x,0,.125*y); | |
6189 | Size=UDim2.new(.125,0,.125); | |
6190 | BackgroundColor3=color; | |
6191 | Parent=clframe; | |
6192 | }.MouseButton1Up:connect(function() | |
6193 | clframe.Visible=false; | |
6194 | _G.drawColor=color; | |
6195 | end); | |
6196 | ||
6197 | c=c+1; | |
6198 | end; | |
6199 | end; | |
6200 | ||
6201 | addButton('Color','c',function() | |
6202 | clframe.Visible=true; | |
6203 | end); | |
6204 | addButton('Remove your draws','r',function() | |
6205 | repeat | |
6206 | destroy(_G.mine[1]); | |
6207 | table.remove(_G.mine,1); | |
6208 | Wait(0.01); | |
6209 | until nil; | |
6210 | end); | |
6211 | addButton('Remove global draws','k',function() | |
6212 | destroy(workspace.draw); | |
6213 | while(_G.mine[1])do | |
6214 | destroy(_G.mine[1]); | |
6215 | table.remove(_G.mine,1); | |
6216 | end; | |
6217 | end); | |
6218 | addButton('Remove selected','x',function() | |
6219 | repeat | |
6220 | if(find(workspace,'draw'))then | |
6221 | local dt=mouse.target; | |
6222 | if(dt and dt:IsDescendantOf(workspace.draw))then | |
6223 | selectGui.Adornee=dt.Parent; | |
6224 | else | |
6225 | selectGui.Adornee=nil; | |
6226 | end; | |
6227 | else | |
6228 | selectGui.Adornee=nil; | |
6229 | end; | |
6230 | Wait(0.01); | |
6231 | until freeKeys.x; | |
6232 | selectGui.Adornee=nil; | |
6233 | end); | |
6234 | ||
6235 | ||
6236 | ||
6237 | ||
6238 | repeat | |
6239 | Wait(0.01); | |
6240 | if(next(_G.mine)and _G.mine[_G.drawLimit])then | |
6241 | destroy(_G.mine[1]); | |
6242 | table.remove(_G.mine,1); | |
6243 | end; | |
6244 | until script.Parent==nil or tool.Parent==nil; | |
6245 | script.Disabled=true; | |
6246 | destroy(screen); | |
6247 | end | |
6248 | end) | |
6249 | ||
6250 | addcmd('god', 'gods player',{}, | |
6251 | function(args, speaker) | |
6252 | local players = getPlayer(args[1], speaker) | |
6253 | for i,v in pairs(players)do | |
6254 | local pchar=_char(v) | |
6255 | if pchar then pchar.Humanoid.MaxHealth=math.huge end | |
6256 | end | |
6257 | end) | |
6258 | ||
6259 | addcmd('sgod', 'silently gods player',{}, | |
6260 | function(args, speaker) | |
6261 | local players = getPlayer(args[1], speaker) | |
6262 | for i,v in pairs(players)do | |
6263 | local pchar=_char(v) | |
6264 | spawn(function() | |
6265 | pchar.Humanoid.MaxHealth = 10000000 | |
6266 | wait() | |
6267 | pchar.Humanoid.Health = 10000000 | |
6268 | if FindTable(SPC, args[1]) then Notify('Silent godded ' ..args[1]) else | |
6269 | Notify('Silent godded player(s)') end | |
6270 | end) | |
6271 | end | |
6272 | end) | |
6273 | ||
6274 | addcmd('ungod', 'removes god from a player',{}, | |
6275 | function(args, speaker) | |
6276 | local players = getPlayer(args[1], speaker) | |
6277 | for i,v in pairs(players)do | |
6278 | local pchar=_char(v) | |
6279 | if pchar then | |
6280 | pchar.Humanoid.MaxHealth=100 | |
6281 | pchar.Humanoid.Health=100 | |
6282 | end | |
6283 | end | |
6284 | end) | |
6285 | ||
6286 | addcmd('heal', 'resets a players health',{}, | |
6287 | function(args, speaker) | |
6288 | local players = getPlayer(args[1], speaker) | |
6289 | for i,v in pairs(players)do spawn(function() | |
6290 | local pchar=_char(v) | |
6291 | if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end end) end end) | |
6292 | ||
6293 | addcmd('fart', 'makes u fart',{}, | |
6294 | function(args, speaker) | |
6295 | local players = getPlayer(args[1], speaker) | |
6296 | for i,v in pairs(players)do | |
6297 | spawn(function() | |
6298 | local pchar=_char(v) | |
6299 | fart = Instance.new("Smoke") | |
6300 | fart.Parent = pchar.HumanoidRootPart | |
6301 | fart.Color = Color3.new(255/255, 255/255, 0) | |
6302 | fart.Opacity = 0.4 | |
6303 | fart.Size = 1.0 | |
6304 | fart.RiseVelocity = 8 | |
6305 | fartsound = Instance.new("Sound", workspace) | |
6306 | fsound = "http://www.roblox.com/asset?id=251309043" | |
6307 | fartsound.SoundId = fsound | |
6308 | fartsound.Volume = 1.0 | |
6309 | fartsound:Play() | |
6310 | wait(9.0) | |
6311 | fartsound:Destroy() | |
6312 | pchar.HumanoidRootPart.Smoke:Destroy() | |
6313 | end) | |
6314 | end | |
6315 | end) | |
6316 | ||
6317 | addcmd('decalspam', 'you can already guess...',{}, | |
6318 | function(args, speaker) | |
6319 | Notify('Decal Spammed ID: ' ..args[1]) | |
6320 | wait(4) | |
6321 | decalID = args[1] | |
6322 | function exPro(root) | |
6323 | for _, v in pairs(root:GetChildren()) do | |
6324 | if v:IsA("BasePart") then | |
6325 | local One = Instance.new("Decal", v) | |
6326 | local Two = Instance.new("Decal", v) | |
6327 | local Three = Instance.new("Decal", v) | |
6328 | local Four = Instance.new("Decal", v) | |
6329 | local Five = Instance.new("Decal", v) | |
6330 | local Six = Instance.new("Decal", v) | |
6331 | One.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6332 | Two.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6333 | Three.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6334 | Four.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6335 | Five.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6336 | Six.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6337 | One.Face = "Front" | |
6338 | Two.Face = "Back" | |
6339 | Three.Face = "Right" | |
6340 | Four.Face = "Left" | |
6341 | Five.Face = "Top" | |
6342 | Six.Face = "Bottom" | |
6343 | One.Name = "IYdecal" | |
6344 | Two.Name = "IYdecal" | |
6345 | Three.Name = "IYdecal" | |
6346 | Four.Name = "IYdecal" | |
6347 | Five.Name = "IYdecal" | |
6348 | Six.Name = "IYdecal" | |
6349 | end | |
6350 | exPro(v) | |
6351 | end | |
6352 | end | |
6353 | function asdf(root) | |
6354 | for _, v in pairs(root:GetChildren()) do | |
6355 | asdf(v) | |
6356 | end | |
6357 | end | |
6358 | exPro(workspace) | |
6359 | asdf(workspace) | |
6360 | end) | |
6361 | ||
6362 | addcmd('undecalspam', 'removes the mess',{}, | |
6363 | function(args, speaker) | |
6364 | Notify('Removing Decal Spam...') | |
6365 | wait(4) | |
6366 | function exPro(root) | |
6367 | for _, v in pairs(root:GetChildren()) do | |
6368 | if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then | |
6369 | v.Parent = nil | |
6370 | end | |
6371 | exPro(v) | |
6372 | end | |
6373 | end | |
6374 | function asdf(root) | |
6375 | for _, v in pairs(root:GetChildren()) do | |
6376 | asdf(v) | |
6377 | end | |
6378 | end | |
6379 | exPro(workspace) | |
6380 | asdf(workspace) | |
6381 | end) | |
6382 | ||
6383 | addcmd('sky', 'sets the sky',{'skybox'}, | |
6384 | function(args, speaker) | |
6385 | playinggif = false | |
6386 | for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end | |
6387 | s = Instance.new("Sky") | |
6388 | s.Name = "Sky" | |
6389 | s.Parent = LightingService | |
6390 | local skyboxID = args[1] | |
6391 | s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID | |
6392 | s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID | |
6393 | s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID | |
6394 | s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID | |
6395 | s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID | |
6396 | s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID | |
6397 | LightingService.TimeOfDay = 12 | |
6398 | end) | |
6399 | ||
6400 | addcmd('skygif', 'makes the sky play the IDs you feed it',{}, | |
6401 | function(args, speaker) | |
6402 | if args[2] then skyinterval = tonumber(args[2]) else skyinterval = 0.05 end | |
6403 | playinggif = false | |
6404 | wait(0.5) | |
6405 | local GIF = splitString(args[1]) | |
6406 | for _, child in pairs( gLighting:GetChildren()) do | |
6407 | if child.ClassName == "Sky" then | |
6408 | child:Destroy() | |
6409 | end | |
6410 | end | |
6411 | Sky = Instance.new("Sky",game.Lighting) | |
6412 | Notify('Loading...') | |
6413 | playinggif = true | |
6414 | for N,F in ipairs(GIF) do | |
6415 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..F) | |
6416 | end | |
6417 | gLighting.TimeOfDay = 12 | |
6418 | Notify('Playing skybox') | |
6419 | playinggif = true | |
6420 | wait(0.5) | |
6421 | repeat | |
6422 | for N,F in ipairs(GIF) do | |
6423 | Sky.SkyboxBk = "http://www.roblox.com/asset/?id="..F- 1 | |
6424 | Sky.SkyboxDn = "http://www.roblox.com/asset/?id="..F- 1 | |
6425 | Sky.SkyboxFt = "http://www.roblox.com/asset/?id="..F- 1 | |
6426 | Sky.SkyboxLf = "http://www.roblox.com/asset/?id="..F- 1 | |
6427 | Sky.SkyboxRt = "http://www.roblox.com/asset/?id="..F- 1 | |
6428 | Sky.SkyboxUp = "http://www.roblox.com/asset/?id="..F- 1 | |
6429 | wait(skyinterval) | |
6430 | end | |
6431 | until playinggif == false | |
6432 | end) | |
6433 | ||
6434 | addcmd('unskygif', 'removes the sky animation',{'noskygif'}, | |
6435 | function(args, speaker) | |
6436 | playinggif = false | |
6437 | wait(0.5) | |
6438 | Notify('Stopped sky gif') | |
6439 | for _, child in pairs( gLighting:GetChildren()) do | |
6440 | if child.ClassName == "Sky" then | |
6441 | child:Destroy() | |
6442 | end | |
6443 | end | |
6444 | end) | |
6445 | ||
6446 | addcmd('freeze', 'freezes a player',{'fr'}, | |
6447 | function(args, speaker) | |
6448 | local players = getPlayer(args[1], speaker) | |
6449 | if players ~= nil then | |
6450 | for i, v in pairs(players) do | |
6451 | spawn(function() | |
6452 | for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and not x.Anchored then x.Anchored = true end | |
6453 | end | |
6454 | end) | |
6455 | end | |
6456 | end | |
6457 | end) | |
6458 | ||
6459 | addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'}, | |
6460 | function(args, speaker) | |
6461 | local players = getPlayer(args[1], speaker) | |
6462 | if players ~= nil then | |
6463 | for i, v in pairs(players) do | |
6464 | spawn(function() | |
6465 | for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and x.Anchored then x.Anchored = false end | |
6466 | end | |
6467 | end) | |
6468 | end | |
6469 | end | |
6470 | end) | |
6471 | ||
6472 | addcmd('spawn', 'places a spawn',{'spawnpoint'}, | |
6473 | function(args, speaker) | |
6474 | local players = getPlayer(args[1], speaker) | |
6475 | if players ~= nil then | |
6476 | for i, v in pairs(players) do | |
6477 | local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn' | |
6478 | M.CFrame = _char(v).HumanoidRootPart.CFrame | |
6479 | M.Color = maincolor M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6) | |
6480 | M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0) | |
6481 | M.Anchored = true | |
6482 | end | |
6483 | end | |
6484 | end) | |
6485 | ||
6486 | addcmd('deletespawns', 'places a spawn',{'removespawns'}, | |
6487 | function(args, speaker) | |
6488 | for i,v in pairs(workspace:GetDescendants()) do | |
6489 | if v:IsA("SpawnLocation") then | |
6490 | v:Destroy() | |
6491 | end | |
6492 | end | |
6493 | end) | |
6494 | ||
6495 | addcmd('neon', 'makes a player neon',{}, | |
6496 | function(args, speaker) | |
6497 | local players = getPlayer(args[1], speaker) | |
6498 | if players ~= nil then | |
6499 | for i, v in pairs(players) do | |
6500 | for _, child in pairs( _char(v):GetChildren()) do | |
6501 | if child.ClassName == "CharacterMesh" then | |
6502 | child:Destroy() | |
6503 | end | |
6504 | end | |
6505 | for _, child in pairs( _char(v):GetChildren()) do | |
6506 | if child.ClassName == "Shirt" then | |
6507 | child:Destroy() | |
6508 | end | |
6509 | end | |
6510 | for _, child in pairs( _char(v):GetChildren()) do | |
6511 | if child.ClassName == "Pants" then | |
6512 | child:Destroy() | |
6513 | end | |
6514 | end | |
6515 | for _, child in pairs( _char(v):GetDescendants()) do | |
6516 | if child.ClassName == "Part" then | |
6517 | child.Material = "Neon" | |
6518 | end | |
6519 | end | |
6520 | end | |
6521 | end | |
6522 | end) | |
6523 | ||
6524 | addcmd('glass', 'makes a player glass',{}, | |
6525 | function(args, speaker) | |
6526 | local players = getPlayer(args[1], speaker) | |
6527 | if players ~= nil then | |
6528 | for i, v in pairs(players) do | |
6529 | for _, child in pairs( _char(v):GetChildren()) do | |
6530 | if child.ClassName == "CharacterMesh" then | |
6531 | child:Destroy() | |
6532 | end | |
6533 | end | |
6534 | for _, child in pairs( _char(v):GetChildren()) do | |
6535 | if child.ClassName == "Shirt" then | |
6536 | child:Destroy() | |
6537 | end | |
6538 | end | |
6539 | for _, child in pairs( _char(v):GetChildren()) do | |
6540 | if child.ClassName == "Pants" then | |
6541 | child:Destroy() | |
6542 | end | |
6543 | end | |
6544 | for _, child in pairs( _char(v):GetDescendants()) do | |
6545 | if child.ClassName == "Part" then | |
6546 | child.Material = "Glass" | |
6547 | child.Transparency = 0.3 | |
6548 | end | |
6549 | end | |
6550 | end | |
6551 | end | |
6552 | end) | |
6553 | ||
6554 | ||
6555 | addcmd('os', 'Shows the targets platform.', {'platform', 'device'}, | |
6556 | function(args, speaker) | |
6557 | local players = getPlayer(args[1], speaker) | |
6558 | local platforms = {} | |
6559 | for i,v in pairs(players) do | |
6560 | local p = game:GetService("Players")[v] | |
6561 | table.insert(platforms, p.Name.."'s platform is: "..p.OsPlatform) | |
6562 | end | |
6563 | Notify(table.concat(platforms, ', ')) | |
6564 | end) | |
6565 | ||
6566 | addcmd('whiteify', 'Turns the target white.', {'white'}, | |
6567 | function(args, speaker) | |
6568 | local players = getPlayer(args[1], speaker) | |
6569 | ||
6570 | for i,v in pairs(players) do | |
6571 | local lplr = game:GetService("Players")[v] | |
6572 | local bodyc = lplr.Character["Body Colors"] | |
6573 | local color = "Institutional white" | |
6574 | ||
6575 | bodyc.HeadColor = BrickColor.new(color) | |
6576 | bodyc.LeftArmColor = BrickColor.new(color) | |
6577 | bodyc.LeftLegColor = BrickColor.new(color) | |
6578 | bodyc.RightArmColor = BrickColor.new(color) | |
6579 | bodyc.RightLegColor = BrickColor.new(color) | |
6580 | bodyc.TorsoColor = BrickColor.new(color) | |
6581 | end | |
6582 | end) | |
6583 | ||
6584 | addcmd('blackify', 'Turns the target black.', {'black'}, | |
6585 | function(args, speaker) | |
6586 | local players = getPlayer(args[1], speaker) | |
6587 | ||
6588 | for i,v in pairs(players) do | |
6589 | local lplr = game:GetService("Players")[v] | |
6590 | local bodyc = lplr.Character["Body Colors"] | |
6591 | local color = "Black" | |
6592 | ||
6593 | bodyc.HeadColor = BrickColor.new(color) | |
6594 | bodyc.LeftArmColor = BrickColor.new(color) | |
6595 | bodyc.LeftLegColor = BrickColor.new(color) | |
6596 | bodyc.RightArmColor = BrickColor.new(color) | |
6597 | bodyc.RightLegColor = BrickColor.new(color) | |
6598 | bodyc.TorsoColor = BrickColor.new(color) | |
6599 | end | |
6600 | end) | |
6601 | ||
6602 | addcmd('kill', 'kills a player',{}, | |
6603 | function(args, speaker) | |
6604 | local players = getPlayer(args[1], speaker) | |
6605 | for i,v in pairs(players)do | |
6606 | local pchar=_char(v) | |
6607 | pchar:BreakJoints() | |
6608 | end | |
6609 | end) | |
6610 | ||
6611 | addcmd('knuckles', 'that dead meme',{'ugandaknuckles'}, | |
6612 | function(args, speaker) | |
6613 | local players = getPlayer(args[1], speaker) | |
6614 | for i,v in pairs(players)do | |
6615 | spawn(function() | |
6616 | local plr = gPlayers[v] | |
6617 | local char = plr.Character | |
6618 | char.Humanoid.WalkSpeed = 100 | |
6619 | char.Humanoid.JumpPower = 70 | |
6620 | spawn(function() | |
6621 | for i,v in pairs(char:GetChildren()) do | |
6622 | if v:IsA("BasePart") then | |
6623 | coroutine.wrap(function() | |
6624 | for i=0,1,.1 do | |
6625 | wait() | |
6626 | v.Transparency = v.Transparency +i | |
6627 | end | |
6628 | end)() | |
6629 | end | |
6630 | end | |
6631 | for i,v in pairs(char:GetChildren()) do | |
6632 | if v:IsA("Accessory") then | |
6633 | coroutine.wrap(function() | |
6634 | for i=0,1,.1 do | |
6635 | wait() | |
6636 | v.Handle.Transparency = v.Handle.Transparency +i | |
6637 | end | |
6638 | end)() | |
6639 | end | |
6640 | end | |
6641 | end) | |
6642 | char.Head.face:Destroy() | |
6643 | wait(1) | |
6644 | local s = Instance.new("Sound") | |
6645 | s.Name = "wae" | |
6646 | s.SoundId = "http://www.roblox.com/asset/?id=1308281913" | |
6647 | s.Volume = 1 | |
6648 | s.Pitch = 1 | |
6649 | s.Looped = true | |
6650 | s.archivable = true | |
6651 | s.Parent = gPlayers.LocalPlayer.Character.Head | |
6652 | s:play() | |
6653 | local daqueen = Instance.new("Part",char) | |
6654 | daqueen.Name = "asd" | |
6655 | daqueen.CanCollide = false | |
6656 | local mesh = Instance.new("SpecialMesh",daqueen) | |
6657 | mesh.Scale = Vector3.new(0.1,0.1,0.1) | |
6658 | mesh.MeshId = "rbxassetid://1300136843" | |
6659 | local text = Instance.new("Decal",daqueen) | |
6660 | text.Name = "asd" | |
6661 | text.Texture = "rbxassetid://1300137893" | |
6662 | local knowdawey = Instance.new("Weld",char) | |
6663 | knowdawey.Part0 = char.HumanoidRootPart | |
6664 | knowdawey.Part1 = daqueen | |
6665 | local eye1 = Instance.new("Part") | |
6666 | eye1.CanCollide = false | |
6667 | eye1.Parent = char | |
6668 | local mesh1 = Instance.new("SpecialMesh",eye1) | |
6669 | mesh1.MeshId = "rbxassetid://1300138314" | |
6670 | mesh1.Scale = Vector3.new(0.1,0.1,0.2) | |
6671 | local eyetext = Instance.new("Decal",eye1) | |
6672 | eyetext.Texture = "rbxassetid://1300129774" | |
6673 | local eye1w = Instance.new("Weld",char) | |
6674 | eye1w.Part0 = char.HumanoidRootPart | |
6675 | eye1w.Part1 = eye1 | |
6676 | eye1w.C1 = CFrame.new(0,-1.3,0.7) | |
6677 | end) | |
6678 | end | |
6679 | end) | |
6680 | ||
6681 | addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'}, | |
6682 | function(args, speaker) | |
6683 | part = GLS(false, 0) | |
6684 | local function dels(instance) | |
6685 | for i,v in pairs(instance:GetChildren())do | |
6686 | if v.Name:lower() == part:lower() then v:Destroy() end | |
6687 | dels(v) | |
6688 | end | |
6689 | end | |
6690 | dels(workspace) | |
6691 | Notify('Deleted ' ..GLS(false, 0)) | |
6692 | end) | |
6693 | ||
6694 | addcmd('deleteclass', 'removes any part with a certain classname from the workspace',{'removeclass','deleteclassname','removeclassname','dc'}, | |
6695 | function(args, speaker) | |
6696 | part = GLS(false, 0) | |
6697 | local function dels(instance) | |
6698 | for i,v in pairs(instance:GetChildren())do | |
6699 | if v.ClassName:lower() == part:lower() then v:Destroy() end | |
6700 | dels(v) | |
6701 | end | |
6702 | end | |
6703 | dels(workspace) | |
6704 | Notify('Deleted items with ClassName ' ..GLS(false, 0)) | |
6705 | end) | |
6706 | ||
6707 | addcmd('blur', 'adjusts blur',{}, | |
6708 | function(args, speaker) | |
6709 | local function dels(instance) | |
6710 | for i,v in pairs(instance:GetChildren())do | |
6711 | if v:IsA'BlurEffect'then v:Destroy()end | |
6712 | dels(v) | |
6713 | end | |
6714 | end | |
6715 | dels(LightingService) | |
6716 | ||
6717 | local b = Instance.new("BlurEffect", LightingService) | |
6718 | b.Name = "IYblur" | |
6719 | b.Size = args[1] | |
6720 | end) | |
6721 | ||
6722 | addcmd('distortsound','changes volume of sound',{'distort'}, | |
6723 | function(args, speaker) | |
6724 | for i,v in pairs(workspace:GetChildren())do | |
6725 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6726 | v:ClearAllChildren () | |
6727 | local d = Instance.new('DistortionSoundEffect') | |
6728 | d.Parent = v | |
6729 | d.Level = args[1] | |
6730 | Notify('Changed distortion to ' .. args[1]) | |
6731 | end | |
6732 | end | |
6733 | end) | |
6734 | ||
6735 | addcmd('volume','changes volume of sound',{'vol'}, | |
6736 | function(args, speaker) | |
6737 | for i,v in pairs(workspace:GetChildren())do | |
6738 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6739 | v.Volume = args[1] | |
6740 | Notify('Changed volume to ' .. args[1]) | |
6741 | end | |
6742 | end | |
6743 | end) | |
6744 | ||
6745 | addcmd('pitch','changes pitch of sound',{}, | |
6746 | function(args, speaker) | |
6747 | for i,v in pairs(workspace:GetChildren())do | |
6748 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6749 | v.Pitch = args[1] | |
6750 | Notify('Changed pitch to ' .. args[1]) | |
6751 | end | |
6752 | end | |
6753 | end) | |
6754 | ||
6755 | addcmd('loadmap', 'spawns a map',{}, | |
6756 | function(args, speaker) | |
6757 | local m = args[1] | |
6758 | for _,v in pairs(workspace:GetChildren()) do | |
6759 | if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then | |
6760 | v:Destroy() elseif v:IsA("Terrain") then v:Clear() end end | |
6761 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end | |
6762 | wait(1) | |
6763 | local map = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. m) | |
6764 | map.Parent = workspace | |
6765 | end) | |
6766 | ||
6767 | addcmd('loadm','loads global messaging',{}, -- global message method by HARKINIAN @ V3RMILLION | |
6768 | function(args, speaker) | |
6769 | msghook() | |
6770 | if MSGhook == false then | |
6771 | local localp = game:GetService'Players'.LocalPlayer | |
6772 | localp.CharacterAppearanceId = 20018 | |
6773 | localp.Character:BreakJoints() | |
6774 | repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice' | |
6775 | Instance.new("ForceField", localp.Character) | |
6776 | repeat wait() until localp.Character.BunnyEarsOfCaprice.Handle:FindFirstChild'BunnyTools' | |
6777 | _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone() | |
6778 | localp.CharacterAppearanceId = 0 | |
6779 | localp.Character:BreakJoints() | |
6780 | if _G.mainhat ~= nil then | |
6781 | local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone() | |
6782 | local part = Instance.new('Part') | |
6783 | part.Anchored = true | |
6784 | part.Transparency = 1 | |
6785 | main.Disabled = false | |
6786 | main.Parent = part | |
6787 | _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part | |
6788 | part.Parent = localp.Character | |
6789 | part.CFrame = localp.Character.HumanoidRootPart.CFrame | |
6790 | repeat wait() until localp:FindFirstChild'ChessMsg' | |
6791 | part:Destroy() | |
6792 | local message = localp:FindFirstChild'ChessMsg' | |
6793 | message.Text = '' | |
6794 | message.Parent = workspace | |
6795 | message.Name = "IYmessage" | |
6796 | if part ~= nil then part:Destroy() end | |
6797 | localp.Character.HumanoidRootPart.Anchored = false | |
6798 | for _, child in pairs( workspace:GetChildren()) do | |
6799 | if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then | |
6800 | child:Destroy() | |
6801 | end | |
6802 | end | |
6803 | if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Destroy() end | |
6804 | if _G.msg ~= nil then | |
6805 | Notify('Loaded global message bypass') | |
6806 | else | |
6807 | execCmd("loadm") | |
6808 | end | |
6809 | end | |
6810 | elseif MSGhook == true then | |
6811 | Notify('Messages already loaded!') | |
6812 | end | |
6813 | end) | |
6814 | ||
6815 | addcmd('countdown', 'makes a countdown', {}, | |
6816 | function(args, speaker) | |
6817 | local players = getPlayer(args[1], speaker) | |
6818 | if args[1] ~= string then | |
6819 | local time = args[1] | |
6820 | msghook() | |
6821 | if MSGhook == true then | |
6822 | local h = workspace.IYmessage | |
6823 | for i = time, 1, -1 do | |
6824 | wait(1) | |
6825 | h.Text = "Countdown: "..i.."" | |
6826 | end | |
6827 | wait(1) | |
6828 | h.Text = "Times Up!" | |
6829 | wait(2) | |
6830 | h.Text = '' | |
6831 | elseif MSGhook == false then | |
6832 | execCmd("loadm") | |
6833 | repeat wait() until workspace:FindFirstChild("IYmessage") | |
6834 | local h = workspace.IYmessage | |
6835 | for i = time, 1, -1 do | |
6836 | wait(1) | |
6837 | h.Text = "Countdown: "..i.."" | |
6838 | end | |
6839 | wait(1) | |
6840 | h.Text = "Times Up!" | |
6841 | wait(2) | |
6842 | h.Text = '' | |
6843 | end | |
6844 | end | |
6845 | end) | |
6846 | ||
6847 | addcmd('explode', 'explode a player', {}, | |
6848 | function(args, speaker) | |
6849 | local players = getPlayer(args[1], speaker) | |
6850 | for i, v in pairs(players) do | |
6851 | local char = _char(v) | |
6852 | if char:FindFirstChild("HumanoidRootPart") then | |
6853 | Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position | |
6854 | end | |
6855 | end | |
6856 | end) | |
6857 | ||
6858 | addcmd('flood', 'makes a flood e.e', {}, | |
6859 | function(args, speaker) | |
6860 | workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") | |
6861 | end) | |
6862 | ||
6863 | addcmd('spookyify', 'makes it sp00ky', {}, | |
6864 | function(args, speaker) | |
6865 | local music = Instance.new("Sound", workspace) | |
6866 | music.SoundId = "http://www.roblox.com/asset/?id=257569267" | |
6867 | music.Volume = 20 | |
6868 | music.Looped = true | |
6869 | music:Play() | |
6870 | ||
6871 | tex1 = "http://www.roblox.com/asset/?id=185495987" | |
6872 | tex2 = "http://www.roblox.com/asset/?id=260858020" | |
6873 | tex3 = "http://www.roblox.com/asset/?id=149213919" | |
6874 | tex4 = "http://www.roblox.com/asset/?id=171905673" | |
6875 | ||
6876 | local w = workspace:GetChildren() | |
6877 | ||
6878 | for i= 1,#w do | |
6879 | if w[i]:isA("BasePart") then | |
6880 | pe = Instance.new("ParticleEmitter", w[i]) | |
6881 | pe.Texture = tex4 | |
6882 | pe.VelocitySpread = 5 | |
6883 | end | |
6884 | end | |
6885 | ||
6886 | local playerLeaderstats = {} | |
6887 | for i, v in pairs(gPlayers:GetChildren()) do | |
6888 | table.insert(playerLeaderstats, v) | |
6889 | end | |
6890 | for i, v in pairs(playerLeaderstats) do | |
6891 | pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart) | |
6892 | pe.Texture = "http://www.roblox.com/asset/?id=171905673" | |
6893 | pe.VelocitySpread = 50 | |
6894 | end | |
6895 | ||
6896 | texture = "http://www.roblox.com/asset/?id=185495987" | |
6897 | ||
6898 | local A = workspace:GetChildren() | |
6899 | local B = workspace:GetChildren() | |
6900 | local C = workspace:GetChildren() | |
6901 | local D = workspace:GetChildren() | |
6902 | local E = workspace:GetChildren() | |
6903 | local F = workspace:GetChildren() | |
6904 | for i,v in pairs(A) do | |
6905 | if v:IsA("Part") then | |
6906 | local d = Instance.new("Decal",v) | |
6907 | v.Decal.Face = "Top" | |
6908 | v.Decal.Texture = texture | |
6909 | v.Anchored = true | |
6910 | end | |
6911 | end | |
6912 | ||
6913 | for i,v in pairs(B) do | |
6914 | if v:IsA("Part") then | |
6915 | local s = Instance.new("Decal",v) | |
6916 | s.Face = "Front" | |
6917 | s.Texture = texture | |
6918 | end | |
6919 | end | |
6920 | ||
6921 | for i,v in pairs(C) do | |
6922 | if v:IsA("Part") then | |
6923 | local h = Instance.new("Decal",v) | |
6924 | h.Face = "Back" | |
6925 | h.Texture = texture | |
6926 | end | |
6927 | end | |
6928 | ||
6929 | for i,v in pairs(D) do | |
6930 | if v:IsA("Part") then | |
6931 | local j = Instance.new("Decal",v) | |
6932 | j.Face = "Left" | |
6933 | j.Texture = texture | |
6934 | end | |
6935 | end | |
6936 | ||
6937 | for i,v in pairs(E) do | |
6938 | if v:IsA("Part") then | |
6939 | local k = Instance.new("Decal",v) | |
6940 | k.Face = "Right" | |
6941 | k.Texture = texture | |
6942 | end | |
6943 | end | |
6944 | ||
6945 | for i,v in pairs(F) do | |
6946 | if v:IsA("Part") then | |
6947 | local l = Instance.new("Decal",v) | |
6948 | l.Face = "Bottom" | |
6949 | l.Texture = texture | |
6950 | end | |
6951 | ||
6952 | imageOne = "http://www.roblox.com/asset/?id=169585459" | |
6953 | imageTwo = "http://www.roblox.com/asset/?id=169585475" | |
6954 | imageThree = "http://www.roblox.com/asset/?id=169585485" | |
6955 | imageFour = "http://www.roblox.com/asset/?id=169585502" | |
6956 | imageFive = "http://www.roblox.com/asset/?id=169585515" | |
6957 | imageSix = "http://www.roblox.com/asset/?id=169585502" | |
6958 | imageSeven = "http://www.roblox.com/asset/?id=169585485" | |
6959 | imageEight = "http://www.roblox.com/asset/?id=169585475" | |
6960 | ||
6961 | Spooky = Instance.new("Sound", workspace) | |
6962 | Spooky.Name = "Spooky" | |
6963 | Spooky.SoundId = "rbxassetid://174270407" | |
6964 | Spooky.Volume = 15 | |
6965 | Spooky.Looped = true | |
6966 | Spooky:Play() | |
6967 | ||
6968 | Sky = Instance.new("Sky", LightingService) | |
6969 | Sky.SkyboxBk = imageOne | |
6970 | Sky.SkyboxDn = imageOne | |
6971 | Sky.SkyboxFt = imageOne | |
6972 | Sky.SkyboxLf = imageOne | |
6973 | Sky.SkyboxRt = imageOne | |
6974 | Sky.SkyboxUp = imageOne | |
6975 | ||
6976 | ||
6977 | while true do | |
6978 | Sky.SkyboxBk = imageOne | |
6979 | Sky.SkyboxDn = imageOne | |
6980 | Sky.SkyboxFt = imageOne | |
6981 | Sky.SkyboxLf = imageOne | |
6982 | Sky.SkyboxRt = imageOne | |
6983 | Sky.SkyboxUp = imageOne | |
6984 | wait(0.15) | |
6985 | Sky.SkyboxBk = imageTwo | |
6986 | Sky.SkyboxDn = imageTwo | |
6987 | Sky.SkyboxFt = imageTwo | |
6988 | Sky.SkyboxLf = imageTwo | |
6989 | Sky.SkyboxRt = imageTwo | |
6990 | Sky.SkyboxUp = imageTwo | |
6991 | wait(0.15) | |
6992 | Sky.SkyboxBk = imageThree | |
6993 | Sky.SkyboxDn = imageThree | |
6994 | Sky.SkyboxFt = imageThree | |
6995 | Sky.SkyboxLf = imageThree | |
6996 | Sky.SkyboxRt = imageThree | |
6997 | Sky.SkyboxUp = imageThree | |
6998 | wait(0.15) | |
6999 | Sky.SkyboxBk = imageFour | |
7000 | Sky.SkyboxDn = imageFour | |
7001 | Sky.SkyboxFt = imageFour | |
7002 | Sky.SkyboxLf = imageFour | |
7003 | Sky.SkyboxRt = imageFour | |
7004 | Sky.SkyboxUp = imageFour | |
7005 | wait(0.15) | |
7006 | Sky.SkyboxBk = imageFive | |
7007 | Sky.SkyboxDn = imageFive | |
7008 | Sky.SkyboxFt = imageFive | |
7009 | Sky.SkyboxLf = imageFive | |
7010 | Sky.SkyboxRt = imageFive | |
7011 | Sky.SkyboxUp = imageFive | |
7012 | wait(0.15) | |
7013 | Sky.SkyboxBk = imageSix | |
7014 | Sky.SkyboxDn = imageSix | |
7015 | Sky.SkyboxFt = imageSix | |
7016 | Sky.SkyboxLf = imageSix | |
7017 | Sky.SkyboxRt = imageSix | |
7018 | Sky.SkyboxUp = imageSix | |
7019 | wait(0.15) | |
7020 | Sky.SkyboxBk = imageSeven | |
7021 | Sky.SkyboxDn = imageSeven | |
7022 | Sky.SkyboxFt = imageSeven | |
7023 | Sky.SkyboxLf = imageSeven | |
7024 | Sky.SkyboxRt = imageSeven | |
7025 | Sky.SkyboxUp = imageSeven | |
7026 | wait(0.15) | |
7027 | Sky.SkyboxBk = imageEight | |
7028 | Sky.SkyboxDn = imageEight | |
7029 | Sky.SkyboxFt = imageEight | |
7030 | Sky.SkyboxLf = imageEight | |
7031 | Sky.SkyboxRt = imageEight | |
7032 | Sky.SkyboxUp = imageEight | |
7033 | wait(0.15) | |
7034 | ||
7035 | end | |
7036 | end | |
7037 | end) | |
7038 | ||
7039 | addcmd('invisible', 'make a player invisible',{'invis'}, | |
7040 | function(args, speaker) | |
7041 | local players = getPlayer(args[1], speaker) | |
7042 | for i, v in pairs(players) do | |
7043 | for k, v2 in pairs(_char(v):GetChildren()) do | |
7044 | if v2.className == "Part" then | |
7045 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end | |
7046 | elseif v2.className == "Accessory" then | |
7047 | if v2:FindFirstChild("Handle") then | |
7048 | v2.Handle.Transparency = 1 | |
7049 | end | |
7050 | end | |
7051 | if v2:FindFirstChild("face") then | |
7052 | v2.face.Transparency = 1 | |
7053 | end | |
7054 | end | |
7055 | end | |
7056 | end) | |
7057 | ||
7058 | addcmd('visible', 'make a player visible',{'vis'}, | |
7059 | function(args, speaker) | |
7060 | local players = getPlayer(args[1], speaker) | |
7061 | for i, v in pairs(players) do | |
7062 | for k, v2 in pairs(_char(v):GetChildren()) do | |
7063 | if v2.className == "Part" then | |
7064 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then | |
7065 | if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end | |
7066 | end | |
7067 | if v2:FindFirstChild("face") then | |
7068 | v2.face.Transparency = 0 | |
7069 | end | |
7070 | end | |
7071 | end | |
7072 | end) | |
7073 | ||
7074 | addcmd('goto', 'go to a player',{'to'}, | |
7075 | function(args, speaker) | |
7076 | local players = getPlayer(args[1], speaker) | |
7077 | if _char(players[1]) ~= nil then | |
7078 | if speaker.Character:FindFirstChild("Humanoid") then | |
7079 | speaker.Character.Humanoid.Jump = true | |
7080 | end | |
7081 | speaker.Character:MoveTo(_char(players[1]).HumanoidRootPart.Position) | |
7082 | end | |
7083 | end) | |
7084 | ||
7085 | addcmd('bring', 'bring a player to you',{}, | |
7086 | function(args, speaker) | |
7087 | local players = getPlayer(args[1], speaker) | |
7088 | for i,v in pairs(players) do | |
7089 | if _char(v) ~= nil then | |
7090 | if _char(v):FindFirstChild("Humanoid") then | |
7091 | _char(v).Humanoid.Jump = true | |
7092 | _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position) | |
7093 | end | |
7094 | wait(0.1) | |
7095 | _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position) | |
7096 | end | |
7097 | end | |
7098 | end) | |
7099 | ||
7100 | addcmd('tp', 'teleport player 1 to player 2',{}, | |
7101 | function(args, speaker) | |
7102 | local players1=getPlayer(args[1], speaker) | |
7103 | local players2=getPlayer(args[2], speaker) | |
7104 | if not players2[1] then return end | |
7105 | for i,v in pairs(players1) do | |
7106 | if _char(v) ~= nil and _char(players2[1]) ~= nil then | |
7107 | if _char(v):FindFirstChild("Humanoid") then | |
7108 | _char(v).Humanoid.Jump = true | |
7109 | _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position) | |
7110 | end | |
7111 | wait(0.1) | |
7112 | _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position) | |
7113 | end | |
7114 | end | |
7115 | end) | |
7116 | ||
7117 | local WayPoints = {} | |
7118 | addcmd("savepos","sets a waypoint at the speaker's position",{'spos'}, | |
7119 | function(args, speaker) | |
7120 | local WPName = tostring(GLS(false, 0)) | |
7121 | if speaker.Character:findFirstChild("HumanoidRootPart") then | |
7122 | Notify("Created waypoint: "..GLS(false, 0)) | |
7123 | local torso = speaker.Character:findFirstChild("HumanoidRootPart") | |
7124 | WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}} | |
7125 | updatepositions() | |
7126 | end | |
7127 | end) | |
7128 | ||
7129 | addcmd("deletepos","sets a waypoint at the speaker's position",{'dpos'}, | |
7130 | function(args, speaker) | |
7131 | for i,v in pairs(WayPoints) do | |
7132 | if v.NAME == tostring(GLS(false, 0)) then | |
7133 | Notify("Deleted waypoint: " .. v.NAME) | |
7134 | table.remove(WayPoints, i) | |
7135 | updatepositions() | |
7136 | end end | |
7137 | end) | |
7138 | ||
7139 | ||
7140 | addcmd("loadpos","teleports a player to a waypoint",{'lpos'}, | |
7141 | function(args, speaker) | |
7142 | local players = getPlayer(args[1], speaker) | |
7143 | local WPName = tostring(GLS(false, 1)) | |
7144 | for i,v in pairs(players) do | |
7145 | if gPlayers[v] and gPlayers[v].Character then | |
7146 | for i,_ in pairs(WayPoints) do | |
7147 | local x = WayPoints[i].COORD[1] | |
7148 | local y = WayPoints[i].COORD[2] | |
7149 | local z = WayPoints[i].COORD[3] | |
7150 | if tostring(WayPoints[i].NAME) == tostring(WPName) then | |
7151 | gPlayers[v].Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z) | |
7152 | end | |
7153 | end | |
7154 | end | |
7155 | end | |
7156 | end) | |
7157 | ||
7158 | addcmd('charplr','charplr [plr] [plr]',{'cp'}, | |
7159 | function(args, speaker) | |
7160 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
7161 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
7162 | if _players[v].Character and _players[b].Character then | |
7163 | _players[v].CharacterAppearanceId = _players[b].userId | |
7164 | refresh(_players[v]) | |
7165 | end | |
7166 | end | |
7167 | end | |
7168 | end) | |
7169 | ||
7170 | addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'}, | |
7171 | function(args, speaker) | |
7172 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
7173 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
7174 | spawn(function() | |
7175 | for i,v in pairs(_players[v].Backpack:GetChildren()) do | |
7176 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
7177 | if not _players[b] then | |
7178 | v:Clone().Parent = speaker.Backpack | |
7179 | else v:Clone().Parent = _players[b].Backpack | |
7180 | end | |
7181 | end | |
7182 | end | |
7183 | end) | |
7184 | end | |
7185 | end | |
7186 | end) | |
7187 | ||
7188 | addcmd('char', 'change a players appearance',{}, | |
7189 | function(args, speaker) | |
7190 | local players = getPlayer(args[1], speaker) | |
7191 | if not args[1]or not args[2]then return end | |
7192 | local id=args[2] | |
7193 | if players ~= nil then | |
7194 | for i,v in pairs(players) do | |
7195 | gPlayers[v].CharacterAppearanceId = id | |
7196 | refresh(gPlayers[v]) | |
7197 | end | |
7198 | end | |
7199 | end) | |
7200 | ||
7201 | addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'}, | |
7202 | function(args, speaker) | |
7203 | local players = getPlayer(args[1], speaker) | |
7204 | if players ~= nil then | |
7205 | for i,v in pairs(players) do | |
7206 | gPlayers[v].CharacterAppearanceId = 0 | |
7207 | refresh(gPlayers[v]) | |
7208 | end | |
7209 | end | |
7210 | end) | |
7211 | ||
7212 | addcmd('speed', 'change a players walkspeed',{'ws'}, | |
7213 | function(args, speaker) | |
7214 | local players = getPlayer(args[1], speaker) | |
7215 | if not args[1]or not args[2]then return end | |
7216 | local num=args[2] | |
7217 | for i,v in pairs(players) do | |
7218 | if _char(v):FindFirstChild("Humanoid") then | |
7219 | _char(v).Humanoid.WalkSpeed=tonumber(num) | |
7220 | end | |
7221 | end | |
7222 | end) | |
7223 | ||
7224 | addcmd('jump', 'forces a player to jump',{}, | |
7225 | function(args, speaker) | |
7226 | local players = getPlayer(args[1], speaker) | |
7227 | for i,v in pairs(players) do | |
7228 | if _char(v):FindFirstChild("Humanoid") then | |
7229 | _char(v).Humanoid.Jump = true | |
7230 | end | |
7231 | end | |
7232 | end) | |
7233 | ||
7234 | jumping = {} | |
7235 | addcmd('loopjump','like a bunny :)',{'ljump'}, | |
7236 | function(args, speaker) | |
7237 | local players = getPlayer(args[1], speaker) | |
7238 | for i,v in pairs(players)do | |
7239 | spawn(function() | |
7240 | if FindTable(jumping, _players[v].Name) then return end | |
7241 | table.insert(jumping, _players[v].Name) | |
7242 | repeat wait(0.01) | |
7243 | if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then | |
7244 | if _players[v].Character.Humanoid.Jump ~= true then | |
7245 | _players[v].Character.Humanoid.Jump = true end end | |
7246 | until not FindTable(jumping, _players[v].Name) | |
7247 | end) | |
7248 | end | |
7249 | end) | |
7250 | ||
7251 | addcmd('unljump','unjails player',{'noljump','unloopjump','noloopjump'}, | |
7252 | function(args, speaker) | |
7253 | local players = getPlayer(args[1], speaker) | |
7254 | for i,v in pairs(players)do | |
7255 | spawn(function() | |
7256 | for a,b in pairs(jumping) do if b == _players[v].Name then table.remove(jumping, a) end end | |
7257 | end) | |
7258 | end | |
7259 | end) | |
7260 | ||
7261 | addcmd('sit', 'sit a player',{}, | |
7262 | function(args, speaker) | |
7263 | local players = getPlayer(args[1], speaker) | |
7264 | for i,v in pairs(players) do | |
7265 | if _char(v):FindFirstChild("Humanoid") then | |
7266 | _char(v).Humanoid.Sit = true | |
7267 | end | |
7268 | end | |
7269 | end) | |
7270 | ||
7271 | sitting = {} | |
7272 | addcmd('loopsit','very annoying',{'lsit'}, | |
7273 | function(args, speaker) | |
7274 | local players = getPlayer(args[1], speaker) | |
7275 | for i,v in pairs(players)do | |
7276 | spawn(function() | |
7277 | if FindTable(sitting, _players[v].Name) then return end | |
7278 | table.insert(sitting, _players[v].Name) | |
7279 | repeat wait(0.01) | |
7280 | if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then | |
7281 | if _players[v].Character.Humanoid.Sit ~= true then | |
7282 | _players[v].Character.Humanoid.Sit = true end end | |
7283 | until not FindTable(sitting, _players[v].Name) | |
7284 | end) | |
7285 | end | |
7286 | end) | |
7287 | ||
7288 | addcmd('unlsit','unjails player',{'nolsit','unloopsit','noloopsit'}, | |
7289 | function(args, speaker) | |
7290 | local players = getPlayer(args[1], speaker) | |
7291 | for i,v in pairs(players)do | |
7292 | spawn(function() | |
7293 | for a,b in pairs(sitting) do if b == _players[v].Name then table.remove(sitting, a) end end | |
7294 | end) | |
7295 | end | |
7296 | end) | |
7297 | ||
7298 | addcmd('strength',' strong',{}, | |
7299 | function(args, speaker) | |
7300 | local players = getPlayer(args[1], speaker) | |
7301 | for i,v in pairs(players)do | |
7302 | spawn(function() | |
7303 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7304 | if child.ClassName == "Part" then | |
7305 | child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5) | |
7306 | end | |
7307 | end | |
7308 | end) | |
7309 | end | |
7310 | end) | |
7311 | ||
7312 | addcmd('weaken',' weak',{}, | |
7313 | function(args, speaker) | |
7314 | local players = getPlayer(args[1], speaker) | |
7315 | for i,v in pairs(players)do | |
7316 | spawn(function() | |
7317 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7318 | if child.ClassName == "Part" then | |
7319 | child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5) | |
7320 | end | |
7321 | end | |
7322 | end) | |
7323 | end | |
7324 | end) | |
7325 | ||
7326 | addcmd('unweaken',' undoes strength and weaken',{'unstrength'}, | |
7327 | function(args, speaker) | |
7328 | local players = getPlayer(args[1], speaker) | |
7329 | for i,v in pairs(players)do | |
7330 | spawn(function() | |
7331 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7332 | if child.ClassName == "Part" then | |
7333 | child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5) | |
7334 | end | |
7335 | end | |
7336 | end) | |
7337 | end | |
7338 | end) | |
7339 | ||
7340 | addcmd('trip','makes a player trip',{}, | |
7341 | function(args, speaker) | |
7342 | local players = getPlayer(args[1], speaker) | |
7343 | for i,v in pairs(players)do | |
7344 | spawn(function() | |
7345 | if _players[v].Character:findFirstChild("Right Leg") then -- credz to Zwolf#3762 | |
7346 | local dir = _players[v].Character:findFirstChild("Right Leg") | |
7347 | dir.Anchored = true | |
7348 | if dir.Anchored == true then | |
7349 | wait(.5) | |
7350 | _players[v].Character.Humanoid.Sit = true | |
7351 | wait(1) | |
7352 | _players[v].Character.Humanoid.Sit = false | |
7353 | dir.Anchored = false | |
7354 | end | |
7355 | end | |
7356 | end) | |
7357 | end | |
7358 | end) | |
7359 | ||
7360 | oofing = false | |
7361 | addcmd('loopoof','very VERY annoying',{}, | |
7362 | function(args, speaker) | |
7363 | oofing = true | |
7364 | repeat wait(0.01) | |
7365 | for i,v in pairs(game:GetService'Players':GetPlayers()) do | |
7366 | if v.Character ~= nil and v.Character:FindFirstChild'Head' then | |
7367 | for _,x in pairs(v.Character.Head:GetChildren()) do | |
7368 | if x:IsA'Sound' then x.Playing = true end | |
7369 | end | |
7370 | end | |
7371 | end | |
7372 | until oofing == false | |
7373 | end) | |
7374 | ||
7375 | addcmd('unloopoof','stops the oof chaos',{}, | |
7376 | function(args, speaker) | |
7377 | oofing = false | |
7378 | end) | |
7379 | ||
7380 | addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'}, | |
7381 | function(args, speaker) | |
7382 | local players = getPlayer(args[1], speaker) | |
7383 | if not args[1]or not args[2]then return end | |
7384 | local num=args[2] | |
7385 | for i,v in pairs(players) do | |
7386 | if _char(v):FindFirstChild("Humanoid") then | |
7387 | _char(v).Humanoid.JumpPower=tonumber(num) | |
7388 | end | |
7389 | end | |
7390 | end) | |
7391 | ||
7392 | addcmd('confuse', 'confusing...',{}, | |
7393 | function(args, speaker) | |
7394 | local players = getPlayer(args[1], speaker) | |
7395 | for i,v in pairs(players) do | |
7396 | spawn(function() | |
7397 | if _char(v):FindFirstChild("Humanoid") then | |
7398 | _char(v).Humanoid.Name = "ConfusedNigga" | |
7399 | while true do | |
7400 | _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6) | |
7401 | _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100)) | |
7402 | wait(0.1) | |
7403 | end | |
7404 | ||
7405 | end | |
7406 | end) | |
7407 | end | |
7408 | end) | |
7409 | ||
7410 | addcmd('unconfuse', 'not confusing...',{}, | |
7411 | function(args, speaker) | |
7412 | local players = getPlayer(args[1], speaker) | |
7413 | for i,v in pairs(players) do | |
7414 | spawn(function() | |
7415 | if _char(v):FindFirstChild("ConfusedNigga") then | |
7416 | _char(v).ConfusedNigga.Name = "Humanoid" | |
7417 | wait(0.3) | |
7418 | _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
7419 | ||
7420 | end | |
7421 | end) | |
7422 | end | |
7423 | end) | |
7424 | ||
7425 | addcmd('cripple', 'cripples a player xddd',{'stun'}, | |
7426 | function(args, speaker) | |
7427 | local players = getPlayer(args[1], speaker) | |
7428 | for i,v in pairs(players) do | |
7429 | if _char(v):FindFirstChild("Humanoid") then | |
7430 | _char(v).Humanoid.PlatformStand = true | |
7431 | end | |
7432 | end | |
7433 | end) | |
7434 | ||
7435 | addcmd('uncripple', 'un cripples a player xddd',{'unstun'}, | |
7436 | function(args, speaker) | |
7437 | local players = getPlayer(args[1], speaker) | |
7438 | for i,v in pairs(players) do | |
7439 | if _char(v):FindFirstChild("Humanoid") then | |
7440 | _char(v).Humanoid.PlatformStand = false | |
7441 | end | |
7442 | end | |
7443 | end) | |
7444 | ||
7445 | addcmd('hipheight', 'adjusts hip height',{'hheight'}, | |
7446 | function(args, speaker) | |
7447 | local players = getPlayer(args[1], speaker) | |
7448 | for i,v in pairs(players) do | |
7449 | if _char(v):FindFirstChild("Humanoid") then | |
7450 | _char(v).Humanoid.HipHeight = args[2] | |
7451 | end | |
7452 | end | |
7453 | end) | |
7454 | ||
7455 | addcmd('face', 'change a players face',{}, | |
7456 | function(args, speaker) | |
7457 | local players = getPlayer(args[1], speaker) | |
7458 | for i,v in pairs(players) do | |
7459 | if _char(v).Head:FindFirstChild("face") then | |
7460 | _char(v).Head.face.Texture = "rbxassetid://" .. args[2] | |
7461 | end | |
7462 | end | |
7463 | end) | |
7464 | ||
7465 | addcmd('time', 'change the time of day',{}, | |
7466 | function(args, speaker) | |
7467 | if not args[1]then return end | |
7468 | Notify('Time set to ' .. args[1]) | |
7469 | LightingService.ClockTime = args[1] | |
7470 | end) | |
7471 | ||
7472 | addcmd('day', 'change the time to day',{}, | |
7473 | function(args, speaker) | |
7474 | LightingService.ClockTime = 15 | |
7475 | end) | |
7476 | ||
7477 | addcmd('night', 'change the time of night',{}, | |
7478 | function(args, speaker) | |
7479 | LightingService.ClockTime = 0 | |
7480 | end) | |
7481 | ||
7482 | addcmd('globalshadows', 'changes the lighting property',{'gshadows'}, | |
7483 | function(args, speaker) | |
7484 | Notify('Turned on global shadows') | |
7485 | LightingService.GlobalShadows = true | |
7486 | end) | |
7487 | ||
7488 | addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'}, | |
7489 | function(args, speaker) | |
7490 | Notify('Turned off global shadows') | |
7491 | LightingService.GlobalShadows = false | |
7492 | end) | |
7493 | ||
7494 | addcmd('outlines', 'changes the lighting property',{}, | |
7495 | function(args, speaker) | |
7496 | Notify('Turned on outlines') | |
7497 | LightingService.Outlines = true | |
7498 | end) | |
7499 | ||
7500 | addcmd('unoutlines', 'changes the lighting property',{'nooutlines'}, | |
7501 | function(args, speaker) | |
7502 | Notify('Turned off outlines') | |
7503 | LightingService.Outlines = false | |
7504 | end) | |
7505 | ||
7506 | addcmd('brightness', 'changes the lighting property',{}, | |
7507 | function(args, speaker) | |
7508 | Notify('Set brightness to ' .. args[1]) | |
7509 | LightingService.Brightness = args[1] | |
7510 | end) | |
7511 | ||
7512 | addcmd('age','tells you the age of a player',{}, | |
7513 | function(args, speaker) | |
7514 | local players = getPlayer(args[1], speaker) | |
7515 | if speaker.userId ~= LP.userId then | |
7516 | lponly(speaker) | |
7517 | else | |
7518 | for i,v in pairs(players) do | |
7519 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
7520 | Title = _players[v].Name, | |
7521 | Text = 'Age: '.._players[v].AccountAge, | |
7522 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]].._players[v].Name..[[&RAND]] .. math.random(1,100000000), | |
7523 | Duration = 5, | |
7524 | }) | |
7525 | end | |
7526 | end | |
7527 | end) | |
7528 | ||
7529 | addcmd('remotespy', 'prints remotes',{'remotes'}, | |
7530 | function(args, speaker) | |
7531 | if speaker.userId ~= LP.userId then | |
7532 | lponly(speaker) | |
7533 | else | |
7534 | Notify('Printing remotes') | |
7535 | function getem(o) | |
7536 | for i,v in pairs(o:children())do | |
7537 | if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then | |
7538 | print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName()) | |
7539 | end | |
7540 | getem(v) | |
7541 | end | |
7542 | end | |
7543 | pcall(getem,game) | |
7544 | end | |
7545 | end) | |
7546 | ||
7547 | addcmd('f3x', 'loads f3x tools',{'fex'}, | |
7548 | function(args, speaker) | |
7549 | if speaker.userId ~= LP.userId then | |
7550 | lponly(speaker) | |
7551 | else | |
7552 | loadstring(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1059691823").Source)() | |
7553 | end | |
7554 | end) | |
7555 | ||
7556 | addcmd('kick', 'kick a player',{}, | |
7557 | function(args, speaker) | |
7558 | local players = getPlayer(args[1], speaker) | |
7559 | for i,v in pairs(players) do | |
7560 | spawn(function() | |
7561 | if FindTable(SPC, args[1]) then Notify('Kicked ' ..args[1]) else | |
7562 | Notify('Kicked player(s)') end | |
7563 | kickF(gPlayers[v]) | |
7564 | end) end end) | |
7565 | ||
7566 | function fadelock(id) | |
7567 | if lockic.ImageTransparency ~= 1 then | |
7568 | for i=1, 10 do | |
7569 | lockic.ImageTransparency = lockic.ImageTransparency + 0.1 | |
7570 | wait(0.01) | |
7571 | end | |
7572 | lockic.ImageTransparency = 1 | |
7573 | end | |
7574 | if id ~= 'off' then | |
7575 | lockic.Image = id | |
7576 | wait(0.2) | |
7577 | for i=1, 10 do | |
7578 | lockic.ImageTransparency = lockic.ImageTransparency - 0.1 | |
7579 | wait(0.01) | |
7580 | end | |
7581 | lockic.ImageTransparency = 0 | |
7582 | end end | |
7583 | ||
7584 | addcmd('serverlock', 'lock teh server',{'slock'}, | |
7585 | function(args, speaker) | |
7586 | slock = true | |
7587 | agelock = false | |
7588 | Notify('Locked Server') | |
7589 | fadelock("rbxassetid://1495252742") | |
7590 | end) | |
7591 | ||
7592 | addcmd('unserverlock', 'unlock teh server',{'unslock'}, | |
7593 | function(args, speaker) | |
7594 | slock = false | |
7595 | Notify('Unlocked Server') | |
7596 | if lockic.Image == "rbxassetid://1495252742" then | |
7597 | fadelock('off') | |
7598 | end | |
7599 | end) | |
7600 | ||
7601 | addcmd('agelock', 'lock teh server for a certain age',{'alock'}, | |
7602 | function(args, speaker) | |
7603 | if isNumber(args[1]) then | |
7604 | Notify('Set the age lock to age ' .. args[1]) | |
7605 | isagelocked = true | |
7606 | slock = false | |
7607 | agelock = tonumber(args[1]) | |
7608 | fadelock("rbxassetid://1495252495") | |
7609 | end | |
7610 | end) | |
7611 | ||
7612 | addcmd('unagelock', 'lock teh server for a certain age',{'unalock','noagelock','noalock'}, | |
7613 | function(args, speaker) | |
7614 | Notify('Disabled age lock') | |
7615 | isagelocked = false | |
7616 | if lockic.Image == "rbxassetid://1495252495" then | |
7617 | fadelock('off') | |
7618 | end | |
7619 | end) | |
7620 | ||
7621 | addcmd('unlockws', 'unlock the whole workspace',{}, | |
7622 | function(args, speaker) | |
7623 | Notify('Workspace unlocked') | |
7624 | wait(1) | |
7625 | local function unlock(instance) | |
7626 | for i,v in pairs(instance:GetChildren()) do | |
7627 | if v:IsA("BasePart") then | |
7628 | v.Locked = false | |
7629 | end | |
7630 | unlock(v) | |
7631 | end | |
7632 | end | |
7633 | unlock(workspace) | |
7634 | end) | |
7635 | ||
7636 | addcmd('lockws', 'lock the whole workspace',{}, | |
7637 | function(args, speaker) | |
7638 | Notify('Workspace locked') | |
7639 | wait(1) | |
7640 | local function lock(instance) | |
7641 | for i,v in pairs(instance:GetChildren()) do | |
7642 | if v:IsA("BasePart") then | |
7643 | v.Locked = true | |
7644 | end | |
7645 | lock(v) | |
7646 | end | |
7647 | end | |
7648 | lock(workspace) | |
7649 | end) | |
7650 | ||
7651 | addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'}, | |
7652 | function(args, speaker) | |
7653 | local function unanchor(instance) | |
7654 | for i,v in pairs(instance:GetChildren()) do | |
7655 | if v:IsA("BasePart") then | |
7656 | v.Anchored=false | |
7657 | end | |
7658 | unanchor(v) | |
7659 | end | |
7660 | end | |
7661 | unanchor(workspace) | |
7662 | end) | |
7663 | ||
7664 | addcmd('anchorws', 'anchor the whole workspace',{'anchor'}, | |
7665 | function(args, speaker) | |
7666 | local function anchor(instance) | |
7667 | for i,v in pairs(instance:GetChildren()) do | |
7668 | if v:IsA("BasePart") then | |
7669 | v.Anchored=true | |
7670 | end | |
7671 | anchor(v) | |
7672 | end | |
7673 | end | |
7674 | anchor(workspace) | |
7675 | end) | |
7676 | ||
7677 | addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'}, | |
7678 | function() | |
7679 | for _,v in pairs(workspace:GetChildren()) do | |
7680 | if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then | |
7681 | v:Destroy() | |
7682 | elseif v:IsA("Terrain") then | |
7683 | v:Clear() | |
7684 | end | |
7685 | end | |
7686 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end | |
7687 | local p = Instance.new("Part", workspace) | |
7688 | p.Anchored = true | |
7689 | p.FormFactor = "Symmetric" | |
7690 | p.Size = Vector3.new(1000,1,1000) | |
7691 | p.Position = Vector3.new(0,0,0) | |
7692 | p.BrickColor = BrickColor.new("Bright green") | |
7693 | p.Material = "Grass" | |
7694 | p.Locked = true | |
7695 | end) | |
7696 | ||
7697 | addcmd('headshake', 'shakes a players head',{}, | |
7698 | function(args, speaker) | |
7699 | local players = getPlayer(args[1], speaker) | |
7700 | for i,v in pairs(players) do | |
7701 | spawn(function() | |
7702 | local shaken = gPlayers[v].Character | |
7703 | for X = 1, math.huge, 0.2 do | |
7704 | wait() | |
7705 | shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0) | |
7706 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
7707 | end | |
7708 | for X = 1, math.huge, 0.1 do | |
7709 | wait() | |
7710 | shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) | |
7711 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
7712 | end | |
7713 | for _,c in pairs(gPlayers:GetChildren()) do | |
7714 | c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100) | |
7715 | end | |
7716 | for _,c in pairs(gPlayers:GetChildren()) do | |
7717 | c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
7718 | end | |
7719 | end) | |
7720 | end | |
7721 | end) | |
7722 | ||
7723 | addcmd('explorer', 'opens DEX',{'dex'}, | |
7724 | function(args, speaker) | |
7725 | if speaker.userId ~= LP.userId then | |
7726 | lponly(speaker) | |
7727 | else | |
7728 | loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)() | |
7729 | end | |
7730 | end) | |
7731 | ||
7732 | addcmd('iyspam', '/shrug',{}, | |
7733 | function(args, speaker) | |
7734 | loadstring(game:HttpGet(('https://pastebin.com/raw/aJ15LAbN'),true))() | |
7735 | end) | |
7736 | ||
7737 | addcmd('firstp', 'forces player to go into first person',{}, | |
7738 | function(args, speaker) | |
7739 | local players = getPlayer(args[1], speaker) | |
7740 | for i,v in pairs(players)do | |
7741 | gPlayers[v].CameraMode = "LockFirstPerson" | |
7742 | end | |
7743 | end) | |
7744 | ||
7745 | addcmd('lock', 'locks a players body parts',{}, | |
7746 | function(args, speaker) | |
7747 | local players = getPlayer(args[1], speaker) | |
7748 | for i,v in pairs(players)do | |
7749 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
7750 | if v:IsA("Part") then | |
7751 | v.Locked = true | |
7752 | end end end | |
7753 | end) | |
7754 | ||
7755 | addcmd('unlock', 'locks a players body parts',{}, | |
7756 | function(args, speaker) | |
7757 | local players = getPlayer(args[1], speaker) | |
7758 | for i,v in pairs(players)do | |
7759 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
7760 | if v:IsA("Part") then | |
7761 | v.Locked = false | |
7762 | end end end | |
7763 | end) | |
7764 | ||
7765 | addcmd('disablereset', 'makes a player unable to reset',{'noreset'}, | |
7766 | function(args, speaker) | |
7767 | local players = getPlayer(args[1], speaker) | |
7768 | for i,v in pairs(players)do | |
7769 | spawn(function() | |
7770 | gPlayers[v].Character.Humanoid.Name = "HumanoidIY" | |
7771 | if FindTable(SPC, args[1]) then Notify('Disabled reset for ' .. args[1]) else | |
7772 | Notify('Disabled reset for player(s)') end | |
7773 | end) | |
7774 | end | |
7775 | end) | |
7776 | ||
7777 | addcmd('enablereset', 'makes a player unable to reset',{'reset'}, | |
7778 | function(args, speaker) | |
7779 | local players = getPlayer(args[1], speaker) | |
7780 | for i,v in pairs(players)do | |
7781 | spawn(function() | |
7782 | gPlayers[v].Character.HumanoidIY.Name = "Humanoid" | |
7783 | if FindTable(SPC, args[1]) then Notify('Enabled reset for ' .. args[1]) else | |
7784 | Notify('Enabled reset for player(s)') end | |
7785 | end) | |
7786 | end | |
7787 | end) | |
7788 | ||
7789 | addcmd("fixlighting","Removes effects from lighting",{'fixl'}, | |
7790 | function(args,speaker) | |
7791 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
7792 | if v:IsA("PostEffect") then | |
7793 | v:Destroy() | |
7794 | end | |
7795 | end | |
7796 | LightingService.Ambient = origsettings.abt | |
7797 | LightingService.OutdoorAmbient = origsettings.oabt | |
7798 | LightingService.Brightness = origsettings.brt | |
7799 | LightingService.TimeOfDay = origsettings.time | |
7800 | LightingService.FogColor = origsettings.fclr | |
7801 | LightingService.FogEnd = origsettings.fe | |
7802 | LightingService.FogStart = origsettings.fs | |
7803 | end) | |
7804 | ||
7805 | addcmd("savelighting","Removes effects from lighting",{'slighting'}, | |
7806 | function(args,speaker) | |
7807 | origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time = | |
7808 | LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart} | |
7809 | Notify('Saved lighting settings') | |
7810 | end) | |
7811 | ||
7812 | addcmd("blackandwhite","Makes the game black and white",{}, | |
7813 | function(args,speaker) | |
7814 | local lighting = game:GetService("Lighting") | |
7815 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7816 | effect.Saturation = -1 | |
7817 | end) | |
7818 | ||
7819 | addcmd("invert","Makes the game inverted",{}, | |
7820 | function(args,speaker) | |
7821 | local lighting = game:GetService("Lighting") | |
7822 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7823 | effect.Saturation = -1 | |
7824 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7825 | effect.Saturation = -1 | |
7826 | end) | |
7827 | ||
7828 | addcmd("sun","Intensifys the sun",{}, | |
7829 | function(args,speaker) | |
7830 | local intense = args[1] or 0.25 | |
7831 | local spread = args[2] or 1 | |
7832 | local lighting = game:GetService("Lighting") | |
7833 | local effect = Instance.new("SunRaysEffect",lighting) | |
7834 | effect.Name = "IYsun" | |
7835 | effect.Intensity = tonumber(intense) | |
7836 | effect.Spread = tonumber(spread) | |
7837 | end) | |
7838 | ||
7839 | addcmd('base', 'spawns a base',{}, | |
7840 | function(args, speaker) | |
7841 | local pt = Instance.new("Part") | |
7842 | pt.BrickColor = BrickColor.new("Silver") | |
7843 | pt.Anchored = true | |
7844 | pt.CanCollide = true | |
7845 | pt.BottomSurface = "Weld" | |
7846 | pt.Parent = workspace | |
7847 | pt.Name = (math.random(1,1000000)) | |
7848 | pt.Size = Vector3.new(1000, 1, 1000) | |
7849 | pt.Locked = true | |
7850 | Notify('Created new base') | |
7851 | end) | |
7852 | ||
7853 | addcmd('unblur', 'removes all blur instances',{'noblur'}, | |
7854 | function(args, speaker) | |
7855 | for i,v in pairs(LightingService:GetChildren()) do | |
7856 | if v:IsA('BlurEffect') then | |
7857 | v:Destroy() | |
7858 | end | |
7859 | end | |
7860 | end) | |
7861 | ||
7862 | addcmd('thirdp', 'allows player to go into third person',{}, | |
7863 | function(args, speaker) | |
7864 | local players = getPlayer(args[1], speaker) | |
7865 | for i,v in pairs(players)do | |
7866 | gPlayers[v].CameraMode = "Classic" | |
7867 | end | |
7868 | end) | |
7869 | ||
7870 | addcmd('chat', 'forces player to chat what you input',{}, | |
7871 | function(args, speaker) | |
7872 | local players = getPlayer(args[1], speaker) | |
7873 | for i,v in pairs(players)do | |
7874 | game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3) | |
7875 | end | |
7876 | end) | |
7877 | ||
7878 | addcmd('name', 'names player',{}, | |
7879 | function(args, speaker) | |
7880 | local players = getPlayer(args[1], speaker) | |
7881 | if not args[1] then return end | |
7882 | for i,v in pairs(players) do | |
7883 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7884 | if mod:FindFirstChild("TAG") then | |
7885 | gPlayers[v].Character.Head.Transparency = 0 | |
7886 | mod:Destroy() | |
7887 | end | |
7888 | end | |
7889 | ||
7890 | local char = gPlayers[v].Character | |
7891 | local model = Instance.new("Model", char) | |
7892 | local clone = char.Head:Clone() | |
7893 | local hum = Instance.new("Humanoid", model) | |
7894 | local weld = Instance.new("Weld", clone) | |
7895 | model.Name = GLS(false, 1) | |
7896 | clone.Parent = model | |
7897 | hum.Name = "TAG" | |
7898 | hum.MaxHealth = 100 | |
7899 | hum.Health = 100 | |
7900 | weld.Part0 = clone | |
7901 | weld.Part1 = char.Head | |
7902 | char.Head.Transparency = 1 | |
7903 | end | |
7904 | end) | |
7905 | ||
7906 | addcmd('unname', 'unnames player',{'unhidename'}, | |
7907 | function(args, speaker) | |
7908 | local players = getPlayer(args[1], speaker) | |
7909 | local name = (args[2]) | |
7910 | for i,v in pairs(players) do | |
7911 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7912 | if mod:FindFirstChild("TAG") then | |
7913 | gPlayers[v].Character.Head.Transparency = 0 | |
7914 | mod:Destroy() | |
7915 | end | |
7916 | end | |
7917 | end | |
7918 | end) | |
7919 | ||
7920 | addcmd('noname', 'hides the players name',{'hidename'}, | |
7921 | function(args, speaker) | |
7922 | local players = getPlayer(args[1], speaker) | |
7923 | for i,v in pairs(players) do | |
7924 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7925 | if mod:FindFirstChild("TAG") then | |
7926 | gPlayers[v].Character.Head.Transparency = 0 | |
7927 | mod:Destroy() | |
7928 | end | |
7929 | end | |
7930 | ||
7931 | local char = gPlayers[v].Character | |
7932 | local model = Instance.new("Model", char) | |
7933 | local clone = char.Head:Clone() | |
7934 | local hum = Instance.new("Humanoid", model) | |
7935 | local weld = Instance.new("Weld", clone) | |
7936 | model.Name = "" | |
7937 | clone.Parent = model | |
7938 | hum.Name = "TAG" | |
7939 | hum.MaxHealth = 100 | |
7940 | hum.Health = 100 | |
7941 | weld.Part0 = clone | |
7942 | weld.Part1 = char.Head | |
7943 | char.Head.Transparency = 1 | |
7944 | end | |
7945 | end) | |
7946 | ||
7947 | addcmd('damage', 'damages a player',{}, | |
7948 | function(args, speaker) | |
7949 | local players = getPlayer(args[1], speaker) | |
7950 | for i,v in pairs(players) do | |
7951 | gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25 | |
7952 | end | |
7953 | end) | |
7954 | ||
7955 | addcmd('view', 'views player',{'spectate'}, | |
7956 | function(args, speaker) | |
7957 | local players = getPlayer(args[1], speaker) | |
7958 | for i,v in pairs(players) do | |
7959 | workspace.CurrentCamera.CameraSubject = gPlayers[v].Character | |
7960 | Notify('Viewing ' .. gPlayers[v].Name) | |
7961 | end | |
7962 | end) | |
7963 | ||
7964 | addcmd('unview', 'stops viewing player',{'unspectate'}, | |
7965 | function() | |
7966 | workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
7967 | Notify('View turned off') | |
7968 | end) | |
7969 | ||
7970 | addcmd('nolimbs', 'removes limbs from player',{'rlimbs'}, | |
7971 | function(args, speaker) | |
7972 | local players = getPlayer(args[1], speaker) | |
7973 | for i,v in pairs(players) do | |
7974 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
7975 | if v:IsA("BasePart") and | |
7976 | v.Name == "Right Leg" or | |
7977 | v.Name == "Left Leg" or | |
7978 | v.Name == "Right Arm" or | |
7979 | v.Name == "Left Arm" then | |
7980 | v:Destroy() | |
7981 | end | |
7982 | end | |
7983 | end | |
7984 | end) | |
7985 | ||
7986 | addcmd('noarms', 'removes arms from player',{'rarms'}, | |
7987 | function(args, speaker) | |
7988 | local players = getPlayer(args[1], speaker) | |
7989 | for i,v in pairs(players) do | |
7990 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
7991 | if v:IsA("BasePart") and | |
7992 | v.Name == "Right Arm" or | |
7993 | v.Name == "Left Arm" then | |
7994 | v:Destroy() | |
7995 | end | |
7996 | end | |
7997 | end | |
7998 | end) | |
7999 | ||
8000 | addcmd('torso', 'just a torso....',{}, | |
8001 | function(args, speaker) | |
8002 | local players = getPlayer(args[1], speaker) | |
8003 | for i,v in pairs(players) do | |
8004 | spawn(function() | |
8005 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
8006 | if v:IsA("BasePart") and | |
8007 | v.Name == "Right Leg" or | |
8008 | v.Name == "Left Leg" or | |
8009 | v.Name == "Right Arm" or | |
8010 | v.Name == "Left Arm" or | |
8011 | v:IsA('Decal') or v:IsA('Texture') or | |
8012 | v:IsA('Accessory') then | |
8013 | v:Destroy() | |
8014 | end | |
8015 | end | |
8016 | gPlayers[v].Character.Head.Transparency = 1 | |
8017 | end) | |
8018 | end | |
8019 | end) | |
8020 | ||
8021 | addcmd('box', 'creates a box around player',{}, | |
8022 | function(args, speaker) | |
8023 | local players = getPlayer(args[1], speaker) | |
8024 | for i,v in pairs(players)do | |
8025 | local pchar=_char(v) | |
8026 | local SB = Instance.new("SelectionBox", pchar) | |
8027 | SB.Adornee = SB.Parent | |
8028 | end | |
8029 | end) | |
8030 | ||
8031 | addcmd('nobox', 'takes away box from player',{'unbox'}, | |
8032 | function(args, speaker) | |
8033 | local players = getPlayer(args[1], speaker) | |
8034 | for i,v in pairs(players)do | |
8035 | local pchar=_char(v) | |
8036 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
8037 | if v:IsA("SelectionBox") then | |
8038 | v:Destroy() | |
8039 | end | |
8040 | end | |
8041 | end | |
8042 | end) | |
8043 | ||
8044 | addcmd('ghost', 'ghostifys player',{}, | |
8045 | function(args, speaker) | |
8046 | local players = getPlayer(args[1], speaker) | |
8047 | for i,v in pairs(players)do | |
8048 | local pchar=gPlayers[v].Character | |
8049 | pchar.Head.Transparency = 0.5 | |
8050 | pchar.Torso.Transparency = 0.5 | |
8051 | pchar["Left Arm"].Transparency = 0.5 | |
8052 | pchar["Right Arm"].Transparency = 0.5 | |
8053 | pchar["Left Leg"].Transparency = 0.5 | |
8054 | pchar["Right Leg"].Transparency = 0.5 | |
8055 | pchar.Head.face.Transparency = 0.5 | |
8056 | end | |
8057 | end) | |
8058 | ||
8059 | addcmd('unghost', 'unghostifys player',{'noghost'}, | |
8060 | function(args, speaker) | |
8061 | local players = getPlayer(args[1], speaker) | |
8062 | for i,v in pairs(players)do | |
8063 | local pchar=gPlayers[v].Character | |
8064 | pchar.Head.Transparency = 0 | |
8065 | pchar.Torso.Transparency = 0 | |
8066 | pchar["Left Arm"].Transparency = 0 | |
8067 | pchar["Right Arm"].Transparency = 0 | |
8068 | pchar["Left Leg"].Transparency = 0 | |
8069 | pchar["Right Leg"].Transparency = 0 | |
8070 | pchar.Head.face.Transparency = 0 | |
8071 | end | |
8072 | end) | |
8073 | ||
8074 | addcmd('sphere', 'puts sphere around player',{}, | |
8075 | function(args, speaker) | |
8076 | local players = getPlayer(args[1], speaker) | |
8077 | for i,v in pairs(players)do | |
8078 | local pchar=gPlayers[v].Character | |
8079 | local SS = Instance.new("SelectionSphere", pchar) | |
8080 | SS.Adornee = SS.Parent | |
8081 | end | |
8082 | end) | |
8083 | ||
8084 | addcmd('unsphere', 'removes sphere around player',{}, | |
8085 | function(args, speaker) | |
8086 | local players = getPlayer(args[1], speaker) | |
8087 | for i,v in pairs(players)do | |
8088 | local pchar=_char(v) | |
8089 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
8090 | if v:IsA("SelectionSphere") then | |
8091 | v:Destroy() | |
8092 | end | |
8093 | end | |
8094 | end | |
8095 | end) | |
8096 | ||
8097 | addcmd('ambient','changes ambient',{}, | |
8098 | function(args, speaker) | |
8099 | LightingService.Ambient = Color3.fromRGB(args[1],args[2],args[3]) | |
8100 | LightingService.OutdoorAmbient = Color3.fromRGB(args[1],args[2],args[3]) | |
8101 | end) | |
8102 | ||
8103 | addcmd('fogend','changes the fogend',{}, | |
8104 | function(args, speaker) | |
8105 | LightingService.FogEnd = args[1] | |
8106 | end) | |
8107 | ||
8108 | addcmd('fogcolor','changes the fogs color',{}, | |
8109 | function(args, speaker) | |
8110 | LightingService.FogColor = Color3.fromRGB(args[1],args[2],args[3]) | |
8111 | end) | |
8112 | ||
8113 | injail = {} | |
8114 | addcmd('jail','jails player',{}, | |
8115 | function(args, speaker) | |
8116 | local players = getPlayer(args[1], speaker) | |
8117 | for i,v in pairs(players)do | |
8118 | spawn(function() | |
8119 | if FindTable(injail, _players[v].Name) then return end | |
8120 | table.insert(injail, _players[v].Name) | |
8121 | local pchar=gPlayers[v].Character | |
8122 | local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name | |
8123 | repeat wait(0.5) | |
8124 | 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 | |
8125 | until not FindTable(injail, _players[v].Name) | |
8126 | end) | |
8127 | end | |
8128 | end) | |
8129 | ||
8130 | addcmd('unjail','unjails player',{}, | |
8131 | function(args, speaker) | |
8132 | local players = getPlayer(args[1], speaker) | |
8133 | for i,v in pairs(players)do | |
8134 | spawn(function() | |
8135 | for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end | |
8136 | workspace["JAIL_" .. _players[v].Name]:Destroy() | |
8137 | end) | |
8138 | end | |
8139 | end) | |
8140 | ||
8141 | loopn = {} | |
8142 | addcmd('loopname','loops a players name',{'lname'}, | |
8143 | function(args, speaker) | |
8144 | local players = getPlayer(args[1], speaker) | |
8145 | for i,v in pairs(players)do | |
8146 | spawn(function() | |
8147 | if FindTable(loopn, _players[v].Name) then return end | |
8148 | table.insert(loopn, _players[v].Name) | |
8149 | local Lname = GLS(false, 1) | |
8150 | local pchar=gPlayers[v].Character | |
8151 | pchar.Name = Lname | |
8152 | if FindTable(SPC, args[1]) then Notify('Looping name for ' .. args[1] .. ' (only visible to others)') else | |
8153 | Notify('Looping name for player(s) (only visible to others)') end | |
8154 | repeat wait(0.01) | |
8155 | repeat wait() until _players[v].Character | |
8156 | gPlayers[v].Character.Name = Lname | |
8157 | until not FindTable(loopn, _players[v].Name) | |
8158 | end) | |
8159 | end | |
8160 | end) | |
8161 | ||
8162 | addcmd('unloopname','unjails player',{'noloopname','unlname','nolname'}, | |
8163 | function(args, speaker) | |
8164 | local players = getPlayer(args[1], speaker) | |
8165 | for i,v in pairs(players)do | |
8166 | spawn(function() | |
8167 | local pchar=gPlayers[v].Character | |
8168 | for a,b in pairs(loopn) do if b == _players[v].Name then table.remove(loopn, a) end end | |
8169 | wait(0.5) | |
8170 | if FindTable(SPC, args[1]) then Notify('Stopped looping name for ' .. args[1]) else | |
8171 | Notify('Stopped looping name for player(s)') end | |
8172 | pchar.Name = gPlayers[v].Name | |
8173 | end) | |
8174 | end | |
8175 | end) | |
8176 | ||
8177 | addcmd('loopbring','loop brings a player lol',{}, | |
8178 | function(args, speaker) | |
8179 | local players = getPlayer(args[1], speaker) | |
8180 | for i,v in pairs(players)do | |
8181 | spawn(function() | |
8182 | if FindTable(bringT, _players[v].Name) then return end | |
8183 | table.insert(bringT, _players[v].Name) | |
8184 | local pchar=gPlayers[v].Character | |
8185 | pchar.Humanoid.Jump = true | |
8186 | repeat wait(0.5) | |
8187 | pchar = _players[v].Character | |
8188 | for i,c in pairs(players) do | |
8189 | if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then | |
8190 | pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0) | |
8191 | end | |
8192 | end | |
8193 | until not FindTable(bringT, _players[v].Name) | |
8194 | end) | |
8195 | end | |
8196 | end) | |
8197 | ||
8198 | addcmd('feinvisible','fe invisible',{'feinvis'}, | |
8199 | function(args, speaker) | |
8200 | -- Elite1337#9377 & Timeless#4044 | |
8201 | local function CheckRig() | |
8202 | if Player.Character then | |
8203 | local Humanoid = Player.Character:WaitForChild('Humanoid') | |
8204 | if Humanoid.RigType == Enum.HumanoidRigType.R15 then | |
8205 | return 'R15' | |
8206 | else | |
8207 | return 'R6' | |
8208 | end | |
8209 | end | |
8210 | end | |
8211 | local function InitiateInvis() | |
8212 | local Character = Player.Character | |
8213 | local StoredCF = Character.PrimaryPart.CFrame | |
8214 | local Part = Instance.new('Part',workspace) | |
8215 | Part.Size = Vector3.new(5,0,5) | |
8216 | Part.Anchored = true | |
8217 | Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999)) | |
8218 | Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0) | |
8219 | spawn(function() | |
8220 | wait(3) | |
8221 | Part:Destroy() | |
8222 | end) | |
8223 | if CheckRig() == 'R6' then | |
8224 | local Clone = Character.HumanoidRootPart:Clone() | |
8225 | Character.HumanoidRootPart:Destroy() | |
8226 | Clone.Parent = Character | |
8227 | else | |
8228 | local Clone = Character.LowerTorso.Root:Clone() | |
8229 | Character.LowerTorso.Root:Destroy() | |
8230 | Clone.Parent = Character.LowerTorso | |
8231 | end | |
8232 | end | |
8233 | InitiateInvis() | |
8234 | end) | |
8235 | ||
8236 | addcmd('unloopbring','unjails player',{'noloopbring'}, | |
8237 | function(args, speaker) | |
8238 | local players = getPlayer(args[1], speaker) | |
8239 | for i,v in pairs(players)do | |
8240 | spawn(function() | |
8241 | for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end | |
8242 | end) | |
8243 | end | |
8244 | end) | |
8245 | ||
8246 | strobe = false | |
8247 | addcmd('strobe','makes the server flash',{'flash'}, | |
8248 | function(args, speaker) | |
8249 | if strobe == false then | |
8250 | strobep = Instance.new("ColorCorrectionEffect") | |
8251 | strobep.Brightness = 1 | |
8252 | strobep.Parent = LightingService | |
8253 | strobe = true | |
8254 | repeat wait(0.01) | |
8255 | strobep.Enabled = true | |
8256 | wait(0.01) | |
8257 | strobep.Enabled = false | |
8258 | until strobe == false | |
8259 | end | |
8260 | end) | |
8261 | ||
8262 | addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'}, | |
8263 | function(args, speaker) | |
8264 | strobe = false | |
8265 | strobep:Destroy() | |
8266 | end) | |
8267 | ||
8268 | addcmd('shutdown', 'shuts the server down',{}, | |
8269 | function(args, speaker) | |
8270 | Notify('Broken atm :(') | |
8271 | end) | |
8272 | ||
8273 | addcmd('fekill','oof?',{}, | |
8274 | function(args, speaker) | |
8275 | local players = getPlayer(args[1], speaker) | |
8276 | for i,v in pairs(players)do | |
8277 | -- illremember's cool fe kill script | |
8278 | local Target = gPlayers[v].Name | |
8279 | game:GetService("Players").LocalPlayer.Character.Humanoid.Name = 1 | |
8280 | local l = game:GetService("Players").LocalPlayer.Character["1"]:Clone() | |
8281 | l.Parent = game:GetService("Players").LocalPlayer.Character | |
8282 | l.Name = "Humanoid" | |
8283 | wait(0.1) | |
8284 | game:GetService("Players").LocalPlayer.Character["1"]:Destroy() | |
8285 | game.Workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character | |
8286 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = true | |
8287 | wait(0.1) | |
8288 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = false | |
8289 | game:GetService("Players").LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
8290 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
8291 | game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(v) | |
8292 | v.CanBeDropped = true | |
8293 | end | |
8294 | wait(0.1) | |
8295 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame | |
8296 | wait(0.1) | |
8297 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame | |
8298 | wait(0.2) | |
8299 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000)) | |
8300 | end | |
8301 | end) | |
8302 | ||
8303 | addcmd('animation','makes player animate',{'anim'}, | |
8304 | function(args, speaker) | |
8305 | local players = getPlayer(args[1], speaker) | |
8306 | for i,v in pairs(players)do | |
8307 | local pchar=_char(v) | |
8308 | local AnimationId = tostring(args[2]) | |
8309 | local Anim = Instance.new("Animation") | |
8310 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
8311 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
8312 | k:Play() | |
8313 | end | |
8314 | end) | |
8315 | ||
8316 | addcmd('creeper','make the player a creeper',{'crpr'}, | |
8317 | function(args, speaker) | |
8318 | local players = getPlayer(args[1], speaker) | |
8319 | for i,v in pairs(players)do | |
8320 | local pchar = gPlayers[v].Character | |
8321 | if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then | |
8322 | if pchar:FindFirstChild("Shirt") then | |
8323 | pchar.Shirt.Parent = pchar.Torso | |
8324 | end | |
8325 | if pchar:FindFirstChild("Pants") then | |
8326 | pchar.Pants.Parent = pchar.Torso | |
8327 | end | |
8328 | if pchar:FindFirstChild("Shirt Graphic") then | |
8329 | pchar["Shirt Graphic"].Graphic = "" | |
8330 | end | |
8331 | for i,v in pairs(pchar:GetChildren()) do | |
8332 | if v:IsA("Accessory") then | |
8333 | v:Destroy() | |
8334 | end | |
8335 | end | |
8336 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
8337 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0) | |
8338 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0) | |
8339 | pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0) | |
8340 | pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0) | |
8341 | pchar["Body Colors"].HeadColor = BrickColor.new("Bright green") | |
8342 | pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green") | |
8343 | pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green") | |
8344 | pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green") | |
8345 | pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green") | |
8346 | pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green") | |
8347 | end | |
8348 | end | |
8349 | end) | |
8350 | ||
8351 | addcmd('uncreeper','makes player back to normal',{}, | |
8352 | function(args, speaker) | |
8353 | local players = getPlayer(args[1], speaker) | |
8354 | for i,v in pairs(players)do | |
8355 | refresh(gPlayers[v]) | |
8356 | end | |
8357 | end) | |
8358 | ||
8359 | addcmd('crash','crashes a player',{}, | |
8360 | function(args, speaker) | |
8361 | local players = getPlayer(args[1], speaker) | |
8362 | for i,v in pairs(players)do | |
8363 | if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else | |
8364 | if FindTable(SPC, args[1]) then Notify('Crashed ' .. args[1]) else | |
8365 | Notify('Crashed player(s)') end | |
8366 | wait(4) | |
8367 | if gPlayers[v] ~= nil then | |
8368 | for i=1,3600 do | |
8369 | Instance.new("Tool",gPlayers[v].Backpack).Name = "-" | |
8370 | end | |
8371 | wait() | |
8372 | for i=1,3600 do | |
8373 | Instance.new("Tool",gPlayers[v].Backpack).Name = "-" | |
8374 | end | |
8375 | wait() | |
8376 | end | |
8377 | end | |
8378 | end | |
8379 | end) | |
8380 | ||
8381 | addcmd('shrek', 'makes player shrek',{}, | |
8382 | function(args, speaker) | |
8383 | local players = getPlayer(args[1], speaker) | |
8384 | for i,v in pairs(players) do | |
8385 | local pchar = gPlayers[v].Character | |
8386 | for i,v in pairs(pchar:GetChildren()) do | |
8387 | if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") | |
8388 | then | |
8389 | v:Destroy() | |
8390 | end | |
8391 | end | |
8392 | for i,v in pairs(pchar.Head:GetChildren()) do | |
8393 | if v:IsA("Decal") or v:IsA("SpecialMesh") then | |
8394 | v:Destroy() | |
8395 | end | |
8396 | end | |
8397 | ||
8398 | local mesh = Instance.new("SpecialMesh", pchar.Head) | |
8399 | mesh.MeshType = "FileMesh" | |
8400 | pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257" | |
8401 | pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0) | |
8402 | pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869" | |
8403 | ||
8404 | local Shirt = Instance.new("Shirt", gPlayers[v].Character) | |
8405 | local Pants = Instance.new("Pants", gPlayers[v].Character) | |
8406 | ||
8407 | Shirt.ShirtTemplate = "rbxassetid://133078194" | |
8408 | Pants.PantsTemplate = "rbxassetid://133078204" | |
8409 | end | |
8410 | end) | |
8411 | ||
8412 | addcmd('unshrek','makes player back to normal',{}, | |
8413 | function(args, speaker) | |
8414 | local players = getPlayer(args[1], speaker) | |
8415 | for i,v in pairs(players)do | |
8416 | refresh(gPlayers[v]) | |
8417 | end | |
8418 | end) | |
8419 | ||
8420 | addcmd('oof','good things happen',{}, | |
8421 | function(args, speaker) | |
8422 | local players = getPlayer(args[1], speaker) | |
8423 | for i,v in pairs(players)do | |
8424 | spawn(function() | |
8425 | 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 | |
8426 | gPlayers[v].Character.Head.Died.Volume = 10 | |
8427 | gPlayers[v].Character.Head.Died.Pitch = 0.5 | |
8428 | end | |
8429 | execCmd("size " .. gPlayers[v].Name .. ' -1') | |
8430 | execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000') | |
8431 | wait(5) | |
8432 | execCmd("explode " .. gPlayers[v].Name) | |
8433 | wait(0.1) | |
8434 | gPlayers[v].Character.Humanoid.Health = 0 | |
8435 | end) | |
8436 | end | |
8437 | end) | |
8438 | ||
8439 | addcmd('control','controls player',{}, | |
8440 | function(args, speaker) | |
8441 | local players = getPlayer(args[1], speaker) | |
8442 | for i,v in pairs(players)do | |
8443 | spawn(function() | |
8444 | local pchar = gPlayers[v].Character | |
8445 | if gPlayers[v] and pchar then | |
8446 | execCmd("invisible " .. speaker.Name) | |
8447 | pchar.Humanoid.PlatformStand = true | |
8448 | local w = Instance.new("Weld", speaker.Character.Torso) | |
8449 | w.Part0 = speaker.Character.Torso | |
8450 | w.Part1 = pchar.Torso | |
8451 | local w2 = Instance.new("Weld", speaker.Character.Head) | |
8452 | w2.Part0 = speaker.Character.Head | |
8453 | w2.Part1 = pchar.Head | |
8454 | local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm")) | |
8455 | w3.Part0 = speaker.Character:findFirstChild("Right Arm") | |
8456 | w3.Part1 = pchar:findFirstChild("Right Arm") | |
8457 | local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm")) | |
8458 | w4.Part0 = speaker.Character:findFirstChild("Left Arm") | |
8459 | w4.Part1 = pchar:findFirstChild("Left Arm") | |
8460 | local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg")) | |
8461 | w5.Part0 = speaker.Character:findFirstChild("Right Leg") | |
8462 | w5.Part1 = pchar:findFirstChild("Right Leg") | |
8463 | local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg")) | |
8464 | w6.Part0 = speaker.Character:findFirstChild("Left Leg") | |
8465 | w6.Part1 = pchar:findFirstChild("Left Leg") | |
8466 | char.Head.face:Destroy() | |
8467 | for i,v in pairs(pchar:GetChildren()) do | |
8468 | if v:IsA("BasePart") then | |
8469 | v.CanCollide = false | |
8470 | end | |
8471 | end | |
8472 | for i,v in pairs(char:GetChildren()) do | |
8473 | if v:IsA("BasePart") then | |
8474 | v.Transparency = 1 | |
8475 | elseif v:IsA("Accessory") then | |
8476 | v:Destroy() | |
8477 | end | |
8478 | end | |
8479 | pchar.Parent = char | |
8480 | pchar.Humanoid.Changed:connect(function() | |
8481 | pchar.Humanoid.PlatformStand = true | |
8482 | end) | |
8483 | end | |
8484 | end) | |
8485 | end | |
8486 | end) | |
8487 | ||
8488 | addcmd('nuke','nukes player',{}, -- from MML | |
8489 | function(args, speaker) | |
8490 | local players = getPlayer(args[1], speaker) | |
8491 | for i,v in pairs(players)do | |
8492 | spawn(function() | |
8493 | local pchar = gPlayers[v].Character | |
8494 | local Pos = CFrame.new(0,1,0) | |
8495 | if pchar and pchar:FindFirstChild("HumanoidRootPart") then Pos = pchar.HumanoidRootPart.CFrame * CFrame.new(0,1,0) end | |
8496 | 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 | |
8497 | local BlastMesh = Instance.new("SpecialMesh", Blast) BlastMesh.MeshId = "rbxassetid://1290033" BlastMesh.TextureId = "rbxassetid://33145325" BlastMesh.Scale = Vector3.new(0,0,0) | |
8498 | 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) | |
8499 | local WaveMesh = Instance.new("SpecialMesh", Wave) WaveMesh.MeshId = "rbxassetid://3270017" | |
8500 | local Light = Instance.new("PointLight", Blast) Light.Brightness = 1000 Light.Range = 10000 Light.Color = Color3.new(1,0.2,0.2) | |
8501 | ||
8502 | 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) | |
8503 | ||
8504 | gLighting.Brightness = 5 | |
8505 | gLighting.Ambient = Color3.new(1,0.5,0.5) | |
8506 | gLighting.OutdoorAmbient = Color3.new(1,1,1) | |
8507 | ||
8508 | local Exp = Instance.new("Explosion", workspace) | |
8509 | Exp.Position = Pos.p | |
8510 | Exp.BlastPressure = 10000000 | |
8511 | Exp.BlastRadius = 1000000 | |
8512 | Exp.Hit:connect(function(Part) | |
8513 | if Part.Name ~= "Base" and Part.Name ~= "BasePlate" and Part ~= Blast and Part ~= Wave and Part.Name ~= "BlastEx" and Part.Name ~= "WaveEx" then | |
8514 | ypcall(function() | |
8515 | Part.Anchored = false | |
8516 | Part.BrickColor = BrickColor.new("Black") | |
8517 | Part.Material = "Slate" | |
8518 | Part:BreakJoints() | |
8519 | end) | |
8520 | end | |
8521 | end) | |
8522 | ||
8523 | local BoomSound = Instance.new('Sound') BoomSound.Parent = workspace | |
8524 | BoomSound.SoundId = 'rbxassetid://212389494' | |
8525 | BoomSound:Play() | |
8526 | for i = 0,100,0.5 do | |
8527 | Blast.Anchored = true | |
8528 | Wave.Anchored = true | |
8529 | BlastMesh.Scale = Vector3.new(i,i,i) | |
8530 | WaveMesh.Scale = Vector3.new(i^1.3,i^1.3,5) | |
8531 | Blast.CFrame = Pos | |
8532 | wait() | |
8533 | end | |
8534 | BoomSound:Stop() | |
8535 | Blast:Destroy() | |
8536 | Wave:Destroy() | |
8537 | wait() | |
8538 | BoomSound:Destroy() | |
8539 | Effect:Destroy() | |
8540 | for i = 10,5,-1 do | |
8541 | gLighting.Brightness = (i-5) + 1 | |
8542 | gLighting.Ambient = Color3.new(i/10,0.5,0.5) | |
8543 | gLighting.OutdoorAmbient = Color3.new(i/10,i/10,i/10) | |
8544 | wait(0.05) | |
8545 | end | |
8546 | end) | |
8547 | end | |
8548 | end) | |
8549 | ||
8550 | addcmd('dong','gives a player a penis',{'penis'}, | |
8551 | function(args, speaker) | |
8552 | local players = getPlayer(args[1], speaker) | |
8553 | for i,v in pairs(players)do | |
8554 | spawn(function() | |
8555 | if gPlayers[v].Character:FindFirstChild('wang') then | |
8556 | gPlayers[v].Character.wang:destroy() | |
8557 | end | |
8558 | local D = Instance.new('Model', gPlayers[v].Character) | |
8559 | D.Name = 'DONG' | |
8560 | local BG = Instance.new('BodyGyro', gPlayers[v].Character.Torso) | |
8561 | local MAIN = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8562 | local M1 = Instance.new('CylinderMesh', MAIN) | |
8563 | local W1 = Instance.new('Weld', gPlayers[v].Character.Head) | |
8564 | local P1 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8565 | local M2 = Instance.new('SpecialMesh', P1) | |
8566 | local W2 = Instance.new('Weld', P1) | |
8567 | local B1 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8568 | local M3 = Instance.new('SpecialMesh', B1) | |
8569 | local W3 = Instance.new('Weld', B1) | |
8570 | local B2 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8571 | local M4 = Instance.new('SpecialMesh', B2) | |
8572 | local W4 = Instance.new('Weld', B2) | |
8573 | 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 | |
8574 | 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) | |
8575 | 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 | |
8576 | M2.MeshType = 'Sphere' | |
8577 | W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0) | |
8578 | 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') | |
8579 | M3.Parent = B1 M3.MeshType = 'Sphere' | |
8580 | W3.Part0 = gPlayers[v].Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5) | |
8581 | 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') | |
8582 | M4.MeshType = 'Sphere' | |
8583 | W4.Part0 = gPlayers[v].Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5) | |
8584 | end) | |
8585 | end | |
8586 | end) | |
8587 | ||
8588 | addcmd('undong','gives a player a penis',{'unpenis','nopenis','nodong'}, | |
8589 | function(args, speaker) | |
8590 | local players = getPlayer(args[1], speaker) | |
8591 | for i,v in pairs(players)do | |
8592 | if gPlayers[v].Character:FindFirstChild('DONG') then | |
8593 | gPlayers[v].Character.DONG:destroy() | |
8594 | end end | |
8595 | end) | |
8596 | ||
8597 | addcmd('infect','infects player',{}, | |
8598 | function(args, speaker) | |
8599 | local players = getPlayer(args[1], speaker) | |
8600 | for i,v in pairs(players)do | |
8601 | function infect(rip) | |
8602 | local pchar = gPlayers[v].Character | |
8603 | for i,v in pairs(pchar:GetChildren()) do | |
8604 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then | |
8605 | v:Destroy() | |
8606 | end | |
8607 | end | |
8608 | if pchar.Torso:FindFirstChild("roblox") then | |
8609 | pchar.Torso.roblox:Destroy() | |
8610 | end | |
8611 | if pchar.Head:FindFirstChild("face") then | |
8612 | pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491" | |
8613 | end | |
8614 | if pchar:FindFirstChild("Body Colors") then | |
8615 | local Colors = pchar["Body Colors"] | |
8616 | local Skin = BrickColor.new("Pastel green") | |
8617 | local Clothes = BrickColor.new("Reddish brown") | |
8618 | Colors.HeadColor = Skin | |
8619 | Colors.LeftArmColor = Skin | |
8620 | Colors.RightArmColor = Skin | |
8621 | Colors.LeftLegColor = Clothes | |
8622 | Colors.RightLegColor = Clothes | |
8623 | Colors.TorsoColor = Clothes | |
8624 | end | |
8625 | local w1 = Instance.new("Weld", pchar) | |
8626 | w1.Part0 = pchar["Right Arm"] | |
8627 | w1.Part1 = pchar.Torso | |
8628 | w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
8629 | local w2 = Instance.new("Weld", pchar) | |
8630 | w2.Part0 = pchar["Left Arm"] | |
8631 | w2.Part1 = pchar.Torso | |
8632 | w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
8633 | local rip = false | |
8634 | local connect1 = pchar["Left Arm"].Touched:connect(function(hit) | |
8635 | if connect1 == false then | |
8636 | connect1 = true | |
8637 | if gPlayers:FindFirstChild(hit.Parent.Name) then | |
8638 | infect(gPlayers[hit.Parent.Name]) | |
8639 | end | |
8640 | wait(0.5) | |
8641 | connect1 = true | |
8642 | end | |
8643 | end) | |
8644 | local connect2 = pchar["Right Arm"].Touched:connect(function(hit) | |
8645 | if connect2 == false then | |
8646 | connect2 = true | |
8647 | if gPlayers:FindFirstChild(hit.Parent.Name) then | |
8648 | infect(gPlayers[hit.Parent.Name]) | |
8649 | end | |
8650 | wait(0.5) | |
8651 | connect2 = true | |
8652 | end | |
8653 | end) | |
8654 | local IV = Instance.new("IntValue", pchar) | |
8655 | IV.Name = "Infected" | |
8656 | IV.Value = 0 | |
8657 | IV.Changed:connect(function() | |
8658 | connect1:disconnect() | |
8659 | connect2:disconnect() | |
8660 | end) | |
8661 | end | |
8662 | infect(v) | |
8663 | end | |
8664 | end) | |
8665 | ||
8666 | addcmd('uninfect','makes player back to normal',{}, | |
8667 | function(args, speaker) | |
8668 | local players = getPlayer(args[1], speaker) | |
8669 | for i,v in pairs(players)do | |
8670 | refresh(gPlayers[v]) | |
8671 | end | |
8672 | end) | |
8673 | ||
8674 | addcmd('duck','makes players head a duck',{}, | |
8675 | function(args, speaker) | |
8676 | local players = getPlayer(args[1], speaker) | |
8677 | for i,v in pairs(players)do | |
8678 | local pchar = gPlayers[v].Character | |
8679 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
8680 | if v:IsA("Decal") then | |
8681 | v:Destroy() | |
8682 | end | |
8683 | end | |
8684 | for i,v in pairs(pchar:GetChildren()) do | |
8685 | if v:IsA("Accessory") then | |
8686 | v:Destroy() | |
8687 | end | |
8688 | end | |
8689 | local duck = Instance.new("SpecialMesh", pchar.Torso) | |
8690 | duck.MeshType = "FileMesh" | |
8691 | duck.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
8692 | duck.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
8693 | duck.Scale = Vector3.new(5, 5, 5) | |
8694 | pchar.Head.Transparency = 1 | |
8695 | pchar["Left Arm"].Transparency = 1 | |
8696 | pchar["Right Arm"].Transparency = 1 | |
8697 | pchar["Left Leg"].Transparency = 1 | |
8698 | pchar["Right Leg"].Transparency = 1 | |
8699 | pchar.Head.face.Transparency = 1 | |
8700 | end | |
8701 | end) | |
8702 | ||
8703 | addcmd('mage', 'mage',{}, | |
8704 | function(args, speaker) | |
8705 | if speaker.userId ~= LP.userId then | |
8706 | lponly(speaker) else | |
8707 | if not LP.PlayerGui:FindFirstChild('ChangeArc') then | |
8708 | local arcPackage = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01337781430") | |
8709 | local fakeLighting = arcPackage.Lighting | |
8710 | ||
8711 | local oldgame = game | |
8712 | local oldlighting = oldgame:GetService("Lighting") | |
8713 | ||
8714 | local proLighting = newproxy(true) | |
8715 | local mtL = getmetatable(proLighting) | |
8716 | mtL.__index = function(self,ind) | |
8717 | if fakeLighting:FindFirstChild(ind) then return fakeLighting[ind] end | |
8718 | return oldlighting[ind] | |
8719 | end | |
8720 | mtL.__newindex = function(self,ind,val) | |
8721 | oldlighting[ind] = val | |
8722 | end | |
8723 | mtL.__namecall = function(self,...) | |
8724 | local args = {...} | |
8725 | local method = table.remove(args) | |
8726 | return oldlighting(method,unpack(args)) | |
8727 | end | |
8728 | ||
8729 | local proGame = newproxy(true) | |
8730 | local mt = getmetatable(proGame) | |
8731 | mt.__index = function(self,ind) | |
8732 | if ind == "Lighting" then return proLighting end | |
8733 | return oldgame[ind] | |
8734 | end | |
8735 | mt.__namecall = function(self,...) | |
8736 | local args = {...} | |
8737 | local method = table.remove(args) | |
8738 | if method:lower() == "getservice" and args[1] == "Lighting" then return fakeLighting end | |
8739 | return oldgame(method,unpack(args)) | |
8740 | end | |
8741 | ||
8742 | wait() | |
8743 | local destructAnchored = false | |
8744 | local maxMass = 1000 | |
8745 | ||
8746 | function newCESS(scr) | |
8747 | local newFunc = loadstring(scr.Source) | |
8748 | if type(newFunc) ~= "function" then return end | |
8749 | setfenv(newFunc,setmetatable({script = scr},{ | |
8750 | __index = function(self,ind) | |
8751 | if ind == "game" then return proGame end | |
8752 | return getfenv()[ind] | |
8753 | end, | |
8754 | __newindex = function(self,ind,val) | |
8755 | rawset(self,ind,val) | |
8756 | end | |
8757 | })) | |
8758 | pcall(function()spawn(newFunc)end) | |
8759 | end | |
8760 | ||
8761 | gPlayers.LocalPlayer.Character.Humanoid.MaxHealth = 999999999 | |
8762 | gPlayers.LocalPlayer.Character.Humanoid.Health = 999999999 | |
8763 | ||
8764 | function destroyHook(obj,replacement,par) | |
8765 | obj:GetPropertyChangedSignal("Parent"):Connect(function() | |
8766 | local newObj = replacement:Clone() | |
8767 | if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end | |
8768 | newObj.Parent = par | |
8769 | destroyHook(newObj,replacement,par) | |
8770 | end) | |
8771 | end | |
8772 | ||
8773 | for i,v in pairs(arcPackage.PlayerGui:GetChildren()) do | |
8774 | local newObj = v:Clone() | |
8775 | if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end | |
8776 | newObj.Parent = gPlayers.LocalPlayer.PlayerGui | |
8777 | destroyHook(newObj,v,gPlayers.LocalPlayer.PlayerGui) | |
8778 | end | |
8779 | ||
8780 | function replaceScripts(root) | |
8781 | for i,v in pairs(root:GetChildren()) do | |
8782 | if v:IsA("Script") and not v:IsA("LocalScript") then | |
8783 | local tempStore = {} | |
8784 | for i2,v2 in pairs(v:GetChildren()) do | |
8785 | table.insert(tempStore,v2:Clone()) | |
8786 | end | |
8787 | local newScript = Instance.new("LocalScript",v.Parent) | |
8788 | newScript.Name = v.Name | |
8789 | for i2,v2 in pairs(tempStore) do | |
8790 | v2.Parent = newScript | |
8791 | end | |
8792 | v:Destroy() | |
8793 | end | |
8794 | replaceScripts(v) | |
8795 | end | |
8796 | end | |
8797 | ||
8798 | local player = gPlayers.LocalPlayer | |
8799 | ||
8800 | if not gPlayers.LocalPlayer:FindFirstChild("leaderstats1") then | |
8801 | gPlayers.LocalPlayer.PlayerGui.leaderstats1.Parent = gPlayers.LocalPlayer | |
8802 | end | |
8803 | ||
8804 | if not game.ReplicatedStorage:FindFirstChild("RankScript") then | |
8805 | gPlayers.LocalPlayer.PlayerGui.RankScript.Parent = game.ReplicatedStorage | |
8806 | end | |
8807 | ||
8808 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Element") then | |
8809 | local eTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Element | |
8810 | eTemplate.Name = gPlayers.LocalPlayer.Name.."Element" | |
8811 | eTemplate.Parent = game.ReplicatedStorage | |
8812 | end | |
8813 | ||
8814 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."FakeName") then | |
8815 | local fTemplate = gPlayers.LocalPlayer.PlayerGui.Player1FakeName | |
8816 | fTemplate.Name = gPlayers.LocalPlayer.Name.."FakeName" | |
8817 | fTemplate.Parent = game.ReplicatedStorage | |
8818 | end | |
8819 | ||
8820 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Level") then | |
8821 | local lTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Level | |
8822 | lTemplate.Name = gPlayers.LocalPlayer.Name.."Level" | |
8823 | lTemplate.Parent = game.ReplicatedStorage | |
8824 | end | |
8825 | ||
8826 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Membership") then | |
8827 | local mTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Membership | |
8828 | mTemplate.Name = gPlayers.LocalPlayer.Name.."Membership" | |
8829 | mTemplate.Parent = game.ReplicatedStorage | |
8830 | end | |
8831 | ||
8832 | function getMyPlayerArea() | |
8833 | for i,v in pairs(game.Workspace.BuildingAreas:GetChildren()) do | |
8834 | if v.Player.Value == player.Name then | |
8835 | return v.PlayerArea | |
8836 | end | |
8837 | end | |
8838 | end | |
8839 | ||
8840 | local whitelistedParts = { | |
8841 | ["DamagePart"] = true, | |
8842 | ["Explosion"] = true, | |
8843 | ["Explosion2"] = true, | |
8844 | ["SuperExplosion"] = true, | |
8845 | } | |
8846 | ||
8847 | workspace.DescendantAdded:connect(function(desc) | |
8848 | if desc:IsA("Script") and desc:IsDescendantOf(gPlayers.LocalPlayer.Character) then | |
8849 | newCESS(desc) | |
8850 | elseif whitelistedParts[desc.Parent.Name] and desc:IsA("Script") then | |
8851 | newCESS(desc) | |
8852 | elseif desc:IsA("BodyGyro") then | |
8853 | desc:GetPropertyChangedSignal("MaxTorque"):Connect(function() | |
8854 | desc.MaxTorque = Vector3.new(100000,100000,100000) | |
8855 | end) | |
8856 | --elseif desc:IsA("BodyPosition") then | |
8857 | -- desc:GetPropertyChangedSignal("MaxForce"):Connect(function() | |
8858 | -- desc.MaxForce = Vector3.new(10000,10000,10000) | |
8859 | -- end) | |
8860 | end | |
8861 | end) | |
8862 | ||
8863 | player.Character.Humanoid.MaxHealth = (100+(player.leaderstats1.Level.Value*25)) | |
8864 | player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth | |
8865 | player.PlayerGui.HealthGui.MaxMana.Value = (150+(player.leaderstats1.Level.Value*25)) | |
8866 | player.PlayerGui.HealthGui.MaxXP.Value = (player.leaderstats1.Level.Value*50) | |
8867 | player.PlayerGui.HealthGui.Mana.Value = player.PlayerGui.HealthGui.MaxMana.Value | |
8868 | ||
8869 | wait(1) | |
8870 | ||
8871 | local player = gPlayers.LocalPlayer | |
8872 | ||
8873 | local arcList = player.PlayerGui.ChangeArc.Stuff.ScrollingFrame | |
8874 | local arcTemplate = player.PlayerGui.ChangeArc.Stuff.ChangeTemplate | |
8875 | ||
8876 | local arcToggler = player.PlayerGui.ChangeArc.ArcToggler.Toggle | |
8877 | local arcMoves = player.PlayerGui.ChangeArc.ArcMoves | |
8878 | local arcMovesList = arcMoves.ScrollingFrame | |
8879 | local moveTemplate = player.PlayerGui.ChangeArc.MoveTemplate | |
8880 | ||
8881 | local arcs = {} | |
8882 | ||
8883 | local currentArc = "" | |
8884 | ||
8885 | function getMove(root) | |
8886 | for i,v in pairs(root:GetChildren()) do | |
8887 | if v.Name ~= "Requirement" then | |
8888 | return v | |
8889 | end | |
8890 | end | |
8891 | return nil | |
8892 | end | |
8893 | ||
8894 | for i,v in pairs(fakeLighting.SkillFrames:GetChildren()) do | |
8895 | table.insert(arcs,v) | |
8896 | end | |
8897 | ||
8898 | for i,v in pairs(fakeLighting.Customs:GetChildren()) do | |
8899 | table.insert(arcs,v) | |
8900 | end | |
8901 | ||
8902 | for i,v in pairs(arcs) do | |
8903 | local newTemplate = arcTemplate:Clone() | |
8904 | newTemplate.ArcName.Text = v.Name | |
8905 | newTemplate.Change.MouseButton1Down:connect(function() | |
8906 | currentArc = v.Name | |
8907 | arcToggler.Parent.Visible = true | |
8908 | if fakeLighting.SkillFrames:FindFirstChild(currentArc) then | |
8909 | arcMovesList:ClearAllChildren() | |
8910 | arcToggler.Text = currentArc | |
8911 | arcMoves.Title.Text = currentArc .. " Arc" | |
8912 | for i5,v5 in pairs(fakeLighting.SkillFrames:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do | |
8913 | local myMove = getMove(v5.Learn) | |
8914 | if myMove ~= nil then | |
8915 | local newTemplate = moveTemplate:Clone() | |
8916 | newTemplate.Attack.Text = v5.Name | |
8917 | newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8918 | newTemplate.Parent = arcMovesList | |
8919 | arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8920 | newTemplate.Learn.MouseButton1Down:connect(function() | |
8921 | local learnMove = myMove:Clone() | |
8922 | learnMove.Parent = player.Backpack | |
8923 | if learnMove:IsA("LocalScript") then | |
8924 | learnMove.Disabled = false | |
8925 | newTemplate.Learn.Text = "Activated" | |
8926 | newCESS(learnMove) | |
8927 | else | |
8928 | newTemplate.Learn.Text = "Learned" | |
8929 | newCESS(learnMove.LocalScript) | |
8930 | end | |
8931 | wait(5) | |
8932 | newTemplate.Learn.Text = "Learn" | |
8933 | end) | |
8934 | newTemplate.Visible = true | |
8935 | end | |
8936 | end | |
8937 | end | |
8938 | if fakeLighting.Customs:FindFirstChild(currentArc) then | |
8939 | arcMovesList:ClearAllChildren() | |
8940 | arcToggler.Text = currentArc | |
8941 | arcMoves.Title.Text = currentArc .. " Arc" | |
8942 | for i,v in pairs(fakeLighting.Customs:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do | |
8943 | local myMove = getMove(v.Learn) | |
8944 | if myMove ~= nil then | |
8945 | local newTemplate = moveTemplate:Clone() | |
8946 | newTemplate.Attack.Text = v.Name | |
8947 | newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8948 | newTemplate.Parent = arcMovesList | |
8949 | arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8950 | newTemplate.Learn.MouseButton1Down:connect(function() | |
8951 | local learnMove = myMove:Clone() | |
8952 | learnMove.Parent = player.Backpack | |
8953 | if learnMove:IsA("LocalScript") then | |
8954 | learnMove.Disabled = false | |
8955 | newTemplate.Learn.Text = "Activated" | |
8956 | newCESS(learnMove) | |
8957 | else | |
8958 | newTemplate.Learn.Text = "Learned" | |
8959 | newCESS(learnMove.LocalScript) | |
8960 | end | |
8961 | wait(5) | |
8962 | newTemplate.Learn.Text = "Learn" | |
8963 | end) | |
8964 | newTemplate.Visible = true | |
8965 | end | |
8966 | end | |
8967 | end | |
8968 | end) | |
8969 | newTemplate.Position = UDim2.new(0,0,0,#arcList:GetChildren()*47+5) | |
8970 | newTemplate.Visible = true | |
8971 | newTemplate.Parent = arcList | |
8972 | arcList.CanvasSize = UDim2.new(0,0,0,#arcList:GetChildren()*47+5) | |
8973 | end | |
8974 | ||
8975 | Open = false | |
8976 | MouseClick = function() | |
8977 | if Open == false then | |
8978 | Open = true | |
8979 | player.PlayerGui.ChangeArc.Stuff.Visible = true | |
8980 | else | |
8981 | if Open == true then | |
8982 | Open = false | |
8983 | player.PlayerGui.ChangeArc.Stuff.Visible = false | |
8984 | end | |
8985 | end | |
8986 | end | |
8987 | ||
8988 | player.PlayerGui.ChangeArc.Frame.Toggle.MouseButton1Down:connect(MouseClick) | |
8989 | ||
8990 | Open2 = false | |
8991 | MouseClick2 = function() | |
8992 | if Open2 == false then | |
8993 | Open2 = true | |
8994 | arcMoves.Visible = true | |
8995 | else | |
8996 | if Open2 == true then | |
8997 | Open2 = false | |
8998 | arcMoves.Visible = false | |
8999 | end | |
9000 | end | |
9001 | end | |
9002 | ||
9003 | arcToggler.MouseButton1Down:connect(MouseClick2) | |
9004 | ||
9005 | newCESS(player.PlayerGui.ArcMusicPlayer["Music Player Module"]) | |
9006 | ||
9007 | for i,v in pairs(player.PlayerGui.HealthGui:GetDescendants()) do | |
9008 | if v:IsA("Script") then | |
9009 | newCESS(v) | |
9010 | end | |
9011 | end | |
9012 | end | |
9013 | end | |
9014 | end) | |
9015 | ||
9016 | addcmd('unduck','makes player back to normal',{}, | |
9017 | function(args, speaker) | |
9018 | local players = getPlayer(args[1], speaker) | |
9019 | for i,v in pairs(players)do | |
9020 | refresh(gPlayers[v]) | |
9021 | end | |
9022 | end) | |
9023 | ||
9024 | addcmd('mesh','makes a player into a mesh',{}, | |
9025 | function(args, speaker) | |
9026 | local players = getPlayer(args[1], speaker) | |
9027 | for i,v in pairs(players)do | |
9028 | local pchar = gPlayers[v].Character | |
9029 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9030 | if v:IsA("Decal") then | |
9031 | v:Destroy() | |
9032 | end | |
9033 | end | |
9034 | for i,v in pairs(pchar:GetChildren()) do | |
9035 | if v:IsA("Accessory") then | |
9036 | v:Destroy() | |
9037 | end | |
9038 | end | |
9039 | pchar.Head.Transparency = 1 | |
9040 | pchar["Left Arm"].Transparency = 1 | |
9041 | pchar["Right Arm"].Transparency = 1 | |
9042 | pchar["Left Leg"].Transparency = 1 | |
9043 | pchar["Right Leg"].Transparency = 1 | |
9044 | pchar.Head.face.Transparency = 1 | |
9045 | local msh = Instance.new("SpecialMesh", pchar.Torso) | |
9046 | msh.MeshType = "FileMesh" | |
9047 | msh.Scale = Vector3.new(3, 3, 3) | |
9048 | msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2] | |
9049 | msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3] | |
9050 | msh.Scale = Vector3.new(3, 3, 3) | |
9051 | end | |
9052 | end) | |
9053 | ||
9054 | addcmd('disable','removes players humanoid',{}, | |
9055 | function(args, speaker) | |
9056 | local players = getPlayer(args[1], speaker) | |
9057 | for i,v in pairs(players)do | |
9058 | local pchar = gPlayers[v].Character | |
9059 | if pchar:FindFirstChild("Humanoid") then | |
9060 | pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name | |
9061 | local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name] | |
9062 | humanoid.Parent = game.ContextActionService | |
9063 | if FindTable(SPC, args[1]) then Notify('Disabled ' .. args[1]) else | |
9064 | Notify('Disabled player(s)') end | |
9065 | end end end) | |
9066 | ||
9067 | addcmd('enable','gives player humanoid',{}, | |
9068 | function(args, speaker) | |
9069 | local players = getPlayer(args[1], speaker) | |
9070 | for i,v in pairs(players)do | |
9071 | local pchar = gPlayers[v].Character | |
9072 | if pchar:FindFirstChild("Humanoid") then | |
9073 | return | |
9074 | else | |
9075 | local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name] | |
9076 | humanoid.Parent = pchar | |
9077 | humanoid.Name = "Humanoid" | |
9078 | if FindTable(SPC, args[1]) then Notify('Enabled ' .. args[1]) else | |
9079 | Notify('Enabled player(s)') end | |
9080 | end end end) | |
9081 | ||
9082 | addcmd('size','changes size of player',{}, | |
9083 | function(args, speaker) | |
9084 | local players = getPlayer(args[1], speaker) | |
9085 | for i,v in pairs(players)do | |
9086 | local pchar = gPlayers[v].Character | |
9087 | local function scale(chr,scl) | |
9088 | for _,v in pairs(pchar:GetChildren()) do | |
9089 | if v:IsA("Accessory") then | |
9090 | v:Clone() | |
9091 | v.Parent = LightingService | |
9092 | end end | |
9093 | local Head = chr['Head'] | |
9094 | local Torso = chr['Torso'] | |
9095 | local LA = chr['Left Arm'] | |
9096 | local RA = chr['Right Arm'] | |
9097 | local LL = chr['Left Leg'] | |
9098 | local RL = chr['Right Leg'] | |
9099 | local HRP = chr['HumanoidRootPart'] | |
9100 | wait(0.1) | |
9101 | Head.formFactor = 3 | |
9102 | Torso.formFactor = 3 | |
9103 | LA.formFactor = 3 | |
9104 | RA.formFactor = 3 | |
9105 | LL.formFactor = 3 | |
9106 | RL.formFactor = 3 | |
9107 | HRP.formFactor = 3 | |
9108 | Head.Size = Vector3.new(scl * 2, scl, scl) | |
9109 | Torso.Size = Vector3.new(scl * 2, scl * 2, scl) | |
9110 | LA.Size = Vector3.new(scl, scl * 2, scl) | |
9111 | RA.Size = Vector3.new(scl, scl * 2, scl) | |
9112 | LL.Size = Vector3.new(scl, scl * 2, scl) | |
9113 | RL.Size = Vector3.new(scl, scl * 2, scl) | |
9114 | HRP.Size = Vector3.new(scl * 2, scl * 2, scl) | |
9115 | local Motor1 = Instance.new('Motor6D', Torso) | |
9116 | Motor1.Part0 = Torso | |
9117 | Motor1.Part1 = Head | |
9118 | Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
9119 | Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
9120 | Motor1.Name = "Neck" | |
9121 | local Motor2 = Instance.new('Motor6D', Torso) | |
9122 | Motor2.Part0 = Torso | |
9123 | Motor2.Part1 = LA | |
9124 | Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9125 | Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9126 | Motor2.Name = "Left Shoulder" | |
9127 | local Motor3 = Instance.new('Motor6D', Torso) | |
9128 | Motor3.Part0 = Torso | |
9129 | Motor3.Part1 = RA | |
9130 | Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9131 | Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9132 | Motor3.Name = "Right Shoulder" | |
9133 | local Motor4 = Instance.new('Motor6D', Torso) | |
9134 | Motor4.Part0 = Torso | |
9135 | Motor4.Part1 = LL | |
9136 | Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9137 | Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9138 | Motor4.Name = "Left Hip" | |
9139 | local Motor5 = Instance.new('Motor6D', Torso) | |
9140 | Motor5.Part0 = Torso | |
9141 | Motor5.Part1 = RL | |
9142 | Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9143 | Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9144 | Motor5.Name = "Right Hip" | |
9145 | local Motor6 = Instance.new('Motor6D', HRP) | |
9146 | Motor6.Part0 = HRP | |
9147 | Motor6.Part1 = Torso | |
9148 | Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
9149 | Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) end | |
9150 | scale(pchar, args[2]) | |
9151 | for _,v in pairs(LightingService:GetChildren()) do | |
9152 | if v:IsA("Accessory") then | |
9153 | v.Parent = pchar | |
9154 | end end end end) | |
9155 | ||
9156 | addcmd('clone','clones player',{}, | |
9157 | function(args, speaker) | |
9158 | local players = getPlayer(args[1], speaker) | |
9159 | for i,v in pairs(players)do | |
9160 | local pchar = gPlayers[v].Character | |
9161 | spawn(function() | |
9162 | pchar.Archivable = true | |
9163 | local clone = pchar:Clone() | |
9164 | clone.Parent = workspace | |
9165 | local cloneV = Instance.new("BoolValue") | |
9166 | cloneV.Name = "isclone" | |
9167 | cloneV.Parent = clone | |
9168 | clone:MoveTo(pchar:GetModelCFrame().p) | |
9169 | clone:MakeJoints() | |
9170 | pchar.Archivable = false | |
9171 | end) | |
9172 | end | |
9173 | end) | |
9174 | ||
9175 | addcmd('noclones', 'clears clones',{}, | |
9176 | function(args, speaker) | |
9177 | local players = getPlayer(args[1], speaker) | |
9178 | for i,v in pairs(players)do | |
9179 | for _, child in pairs( workspace:GetChildren()) do | |
9180 | if child.Name == gPlayers[v].Name and child:FindFirstChild('isclone') then | |
9181 | child:Destroy() | |
9182 | end | |
9183 | end | |
9184 | end | |
9185 | end) | |
9186 | ||
9187 | addcmd('spin','spins player',{}, | |
9188 | function(args, speaker) | |
9189 | local players = getPlayer(args[1], speaker) | |
9190 | for i,v in pairs(players)do | |
9191 | spawn(function() | |
9192 | local pchar = gPlayers[v].Character | |
9193 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9194 | if v.Name == "Spinning" then | |
9195 | v:Destroy() | |
9196 | end | |
9197 | end | |
9198 | local Torso = pchar.Torso | |
9199 | local BG = Instance.new("BodyGyro", Torso) | |
9200 | BG.Name = "Spinning" | |
9201 | BG.maxTorque = Vector3.new(0, math.huge, 0) | |
9202 | BG.P = 11111 | |
9203 | BG.cframe = Torso.CFrame | |
9204 | repeat wait(1/44) | |
9205 | BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0) | |
9206 | until not BG or BG.Parent ~= Torso | |
9207 | end) | |
9208 | end | |
9209 | end) | |
9210 | ||
9211 | addcmd('unspin','stops spinning player',{}, | |
9212 | function(args, speaker) | |
9213 | local players = getPlayer(args[1], speaker) | |
9214 | for i,v in pairs(players)do | |
9215 | local pchar = gPlayers[v].Character | |
9216 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9217 | if v.Name == "Spinning" then | |
9218 | v:Destroy() | |
9219 | end | |
9220 | end | |
9221 | end | |
9222 | end) | |
9223 | ||
9224 | addcmd('dog','makes player a dog',{}, | |
9225 | function(args, speaker) | |
9226 | local players = getPlayer(args[1], speaker) | |
9227 | for i,v in pairs(players)do | |
9228 | local pchar = gPlayers[v].Character | |
9229 | if pchar:FindFirstChild("Shirt") then | |
9230 | pchar.Shirt:Destroy() | |
9231 | end | |
9232 | if pchar:FindFirstChild("Pants") then | |
9233 | pchar.Pants:Destroy() | |
9234 | end | |
9235 | if pchar:FindFirstChild("Shirt Graphic") then | |
9236 | pchar["Shirt Graphic"].Graphic = "" | |
9237 | end | |
9238 | pchar.Torso.Transparency = 1 | |
9239 | pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
9240 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0) | |
9241 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0) | |
9242 | pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0) | |
9243 | pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0) | |
9244 | local FakeTorso = Instance.new("Seat", pchar) | |
9245 | FakeTorso.Name = "FakeTorso" | |
9246 | FakeTorso.FormFactor = "Symmetric" | |
9247 | FakeTorso.TopSurface = 0 | |
9248 | FakeTorso.BottomSurface = 0 | |
9249 | FakeTorso.Size = Vector3.new(3,1,4) | |
9250 | FakeTorso.BrickColor = BrickColor.new("Brown") | |
9251 | FakeTorso.CFrame = pchar.Torso.CFrame | |
9252 | local BF = Instance.new("BodyForce", FakeTorso) | |
9253 | BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0) | |
9254 | local W = Instance.new("Weld", pchar.Torso) | |
9255 | W.Part0 = pchar.Torso | |
9256 | W.Part1 = FakeTorso | |
9257 | W.C0 = CFrame.new(0,-.5,0) | |
9258 | local BC = pchar["Body Colors"] | |
9259 | BC.HeadColor = BrickColor.new("Brown") | |
9260 | BC.LeftArmColor = BrickColor.new("Brown") | |
9261 | BC.LeftLegColor = BrickColor.new("Brown") | |
9262 | BC.RightArmColor = BrickColor.new("Brown") | |
9263 | BC.RightLegColor = BrickColor.new("Brown") | |
9264 | BC.TorsoColor = BrickColor.new("Brown") | |
9265 | end | |
9266 | end) | |
9267 | ||
9268 | addcmd('undog','makes player back to normal',{}, | |
9269 | function(args, speaker) | |
9270 | local players = getPlayer(args[1], speaker) | |
9271 | for i,v in pairs(players)do | |
9272 | refresh(gPlayers[v]) | |
9273 | end | |
9274 | end) | |
9275 | ||
9276 | addcmd('loopheal','loop heals player',{}, | |
9277 | function(args, speaker) | |
9278 | local players = getPlayer(args[1], speaker) | |
9279 | for i,v in pairs(players)do | |
9280 | spawn(function() | |
9281 | local pchar = gPlayers[v].Character | |
9282 | if pchar:FindFirstChild("LoopHeal") then | |
9283 | pchar.LoopHeal.Name = "NotLoopHeal" | |
9284 | wait(0.1) | |
9285 | pchar.NotLoopHeal:Destroy() | |
9286 | end | |
9287 | local LoopHeal = Instance.new("StringValue", pchar) | |
9288 | LoopHeal.Name = "LoopHeal" | |
9289 | repeat wait(0.1) | |
9290 | pchar.Humanoid.Health = pchar.Humanoid.MaxHealth | |
9291 | until LoopHeal.Name == "NotLoopHeal" | |
9292 | end) | |
9293 | end | |
9294 | end) | |
9295 | ||
9296 | addcmd('unloopheal','stops loop heal on player',{'noloopheal'}, | |
9297 | function(args, speaker) | |
9298 | local players = getPlayer(args[1], speaker) | |
9299 | for i,v in pairs(players)do | |
9300 | local pchar = gPlayers[v].Character | |
9301 | if pchar:FindFirstChild("LoopHeal") then | |
9302 | pchar.LoopHeal.Name = "NotLoopHeal" | |
9303 | wait(0.1) | |
9304 | pchar.NotLoopHeal:Destroy() | |
9305 | end | |
9306 | end | |
9307 | end) | |
9308 | ||
9309 | addcmd('fling','flings player',{}, | |
9310 | function(args, speaker) | |
9311 | local players = getPlayer(args[1], speaker) | |
9312 | for i,v in pairs(players)do | |
9313 | local pchar = gPlayers[v].Character | |
9314 | if pchar:FindFirstChild("Humanoid") then | |
9315 | local xran | |
9316 | local zran | |
9317 | repeat | |
9318 | xran = math.random(-9999,9999) | |
9319 | until math.abs(xran) >= 5555 | |
9320 | repeat | |
9321 | zran = math.random(-9999,9999) | |
9322 | until math.abs(zran) >= 5555 | |
9323 | pchar.Humanoid.Sit = true | |
9324 | pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0) | |
9325 | local BF = Instance.new("BodyForce", pchar.HumanoidRootPart) | |
9326 | BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4) | |
9327 | end | |
9328 | end | |
9329 | end) | |
9330 | ||
9331 | addcmd('skydive','self explanatory',{}, | |
9332 | function(args, speaker) | |
9333 | local players = getPlayer(args[1], speaker) | |
9334 | for i,v in pairs(players)do | |
9335 | local pchar = gPlayers[v].Character | |
9336 | if pchar:FindFirstChild("HumanoidRootPart") then | |
9337 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame + Vector3.new(0,10000,0) | |
9338 | end | |
9339 | end | |
9340 | end) | |
9341 | ||
9342 | addcmd('bleach','drink bleach',{''}, | |
9343 | function(args, speaker) | |
9344 | local players = getPlayer(args[1], speaker) | |
9345 | for i,v in pairs(players)do | |
9346 | bleach(gPlayers[v]) | |
9347 | end | |
9348 | end) | |
9349 | ||
9350 | addcmd('seizure','makes player have a seizure',{''}, | |
9351 | function(args, speaker) | |
9352 | local players = getPlayer(args[1], speaker) | |
9353 | for i,v in pairs(players)do | |
9354 | local pchar = gPlayers[v].Character | |
9355 | if pchar:FindFirstChild("Seizure") then | |
9356 | ||
9357 | end | |
9358 | local Seizure = Instance.new("StringValue", pchar) | |
9359 | Seizure.Name = "Seizure" | |
9360 | pchar.Humanoid.PlatformStand = true | |
9361 | repeat wait() | |
9362 | pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) | |
9363 | pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
9364 | until Seizure.Name == "NotSeizure" | |
9365 | end | |
9366 | end) | |
9367 | ||
9368 | addcmd('fegod','gods you in fe games',{''}, | |
9369 | function(args, speaker) | |
9370 | if speaker.userId ~= LP.userId then | |
9371 | lponly(speaker) | |
9372 | else | |
9373 | gPlayers.LocalPlayer.Character.Humanoid.Name = 1 | |
9374 | local l = gPlayers.LocalPlayer.Character["1"]:Clone() | |
9375 | l.Parent = gPlayers.LocalPlayer.Character | |
9376 | l.Name = "Humanoid" | |
9377 | wait(0.1) | |
9378 | gPlayers.LocalPlayer.Character["1"]:Destroy() | |
9379 | workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
9380 | gPlayers.LocalPlayer.Character.Animate.Disabled = true | |
9381 | wait(0.1) | |
9382 | gPlayers.LocalPlayer.Character.Animate.Disabled = false | |
9383 | gPlayers.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
9384 | end | |
9385 | end) | |
9386 | ||
9387 | addcmd('unseizure','makes player stop having a seizure',{''}, | |
9388 | function(args, speaker) | |
9389 | local players = getPlayer(args[1], speaker) | |
9390 | for i,v in pairs(players)do | |
9391 | local pchar = gPlayers[v].Character | |
9392 | if pchar:FindFirstChild("Seizure") then | |
9393 | pchar.Humanoid.PlatformStand = false | |
9394 | pchar.Seizure.Name = "NotSeizure" | |
9395 | wait(0.1) | |
9396 | pchar.NotSeizure:Destroy() | |
9397 | end | |
9398 | end | |
9399 | end) | |
9400 | ||
9401 | addcmd('m','makes a global message',{'message'}, | |
9402 | function(args, speaker) | |
9403 | local MSG = '['..speaker.Name..']: '..GLS(false, 0) | |
9404 | local newMSG = '['..speaker.Name..']: '..GLS(false, 0) | |
9405 | _G.msg(MSG) | |
9406 | end) | |
9407 | ||
9408 | addcmd('sm','makes a global message',{'servermessage'}, | |
9409 | function(args, speaker) | |
9410 | local MSG = GLS(false, 0) | |
9411 | local newMSG = GLS(false, 0) | |
9412 | _G.msg(MSG) | |
9413 | end) | |
9414 | ||
9415 | addcmd('fe','checks filtering status',{'filtering'}, | |
9416 | function(args, speaker) | |
9417 | if workspace.FilteringEnabled == true then | |
9418 | Notify('Filtering ENABLED') | |
9419 | elseif workspace.FilteringEnabled == false then | |
9420 | Notify('Filtering Disabled') | |
9421 | end | |
9422 | end) | |
9423 | ||
9424 | addcmd('paper','makes player thin as paper',{''}, | |
9425 | function(args, speaker) | |
9426 | local players = getPlayer(args[1], speaker) | |
9427 | for i,v in pairs(players)do | |
9428 | local pchar = gPlayers[v].Character | |
9429 | for _, child in pairs( pchar:GetChildren()) do | |
9430 | if child.ClassName == "CharacterMesh" then | |
9431 | child:Destroy() | |
9432 | end | |
9433 | end | |
9434 | local LA = DATA.Paper:Clone() | |
9435 | LA.Parent = pchar["Left Arm"] | |
9436 | local RA = DATA.Paper:Clone() | |
9437 | RA.Parent = pchar["Right Arm"] | |
9438 | local LL = DATA.Paper:Clone() | |
9439 | LL.Parent = pchar["Left Leg"] | |
9440 | local RL = DATA.Paper:Clone() | |
9441 | RL.Parent = pchar["Right Leg"] | |
9442 | local T = DATA.Paper:Clone() | |
9443 | T.Parent = pchar.Torso | |
9444 | local H = DATA.Paper:Clone() | |
9445 | H.Parent = pchar.Head | |
9446 | pchar.Head.face:Destroy() | |
9447 | end | |
9448 | end) | |
9449 | ||
9450 | addcmd('particles','gives a player particles',{''}, | |
9451 | function(args, speaker) | |
9452 | local players = getPlayer(args[1], speaker) | |
9453 | for i,v in pairs(players)do | |
9454 | local char = gPlayers[v].Character | |
9455 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
9456 | if v:IsA('ParticleEmitter') then | |
9457 | v:destroy() | |
9458 | end | |
9459 | end | |
9460 | local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart) | |
9461 | prt.Texture = 'rbxassetid://' .. args[2] | |
9462 | prt.Rate = 10 | |
9463 | prt.SpreadAngle = Vector2.new(50, 50) | |
9464 | end | |
9465 | end) | |
9466 | ||
9467 | addcmd('unparticles','gives a player particles',{'noparticles'}, | |
9468 | function(args, speaker) | |
9469 | local players = getPlayer(args[1], speaker) | |
9470 | for i,v in pairs(players)do | |
9471 | local char = gPlayers[v].Character | |
9472 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
9473 | if v:IsA('ParticleEmitter') then | |
9474 | v:destroy() | |
9475 | end | |
9476 | end | |
9477 | end | |
9478 | end) | |
9479 | ||
9480 | blindT = {} | |
9481 | addcmd('blind','blinds a player',{}, | |
9482 | function(args, speaker) | |
9483 | local players = getPlayer(args[1], speaker) | |
9484 | for i,v in pairs(players)do | |
9485 | spawn(function() | |
9486 | if FindTable(blindT, _players[v].Name) then return end | |
9487 | local blind = gPlayers[v].Name | |
9488 | local victim = gPlayers:FindFirstChild(blind) | |
9489 | if victim ~= nil then | |
9490 | victim.CameraMaxZoomDistance = 0.5 | |
9491 | blnd = Instance.new("Part",workspace) | |
9492 | blnd.Name = "IYblind" .. gPlayers[v].Name | |
9493 | blnd.Size = Vector3.new(1,1,1) | |
9494 | blnd.CanCollide = false | |
9495 | blnd.BrickColor = BrickColor.new("Really black") | |
9496 | blnd.Material = "Neon" | |
9497 | local m = Instance.new("SpecialMesh",blnd) | |
9498 | m.Scale = Vector3.new(-1.5,-1.5,-1.5) | |
9499 | m.MeshId = "http://www.roblox.com/asset/?id=10061232" | |
9500 | local w = Instance.new("Weld",blnd) | |
9501 | w.Part0 = blnd | |
9502 | w.Part1 = victim.Character.Head | |
9503 | if FindTable(blindT, _players[v].Name) then return end | |
9504 | table.insert(blindT, _players[v].Name) | |
9505 | repeat if not workspace:FindFirstChild('IYblind' .. gPlayers[v].Name) then | |
9506 | local blind = gPlayers[v].Name | |
9507 | local victim = gPlayers:FindFirstChild(blind) | |
9508 | if victim ~= nil then | |
9509 | victim.CameraMaxZoomDistance = 0.5 | |
9510 | blnd = Instance.new("Part",workspace) | |
9511 | blnd.Name = "IYblind" .. gPlayers[v].Name | |
9512 | blnd.Size = Vector3.new(1,1,1) | |
9513 | blnd.CanCollide = false | |
9514 | blnd.BrickColor = BrickColor.new("Really black") | |
9515 | blnd.Material = "Neon" | |
9516 | local m = Instance.new("SpecialMesh",blnd) | |
9517 | m.Scale = Vector3.new(-1.5,-1.5,-1.5) | |
9518 | m.MeshId = "http://www.roblox.com/asset/?id=10061232" | |
9519 | local w = Instance.new("Weld",blnd) | |
9520 | w.Part0 = blnd | |
9521 | w.Part1 = victim.Character.Head | |
9522 | end end wait(1) | |
9523 | until not FindTable(blindT, _players[v].Name) | |
9524 | end end) end end) | |
9525 | ||
9526 | addcmd('unblind','blinds a player',{'noblind'}, | |
9527 | function(args, speaker) | |
9528 | local players = getPlayer(args[1], speaker) | |
9529 | for i,v in pairs(players)do | |
9530 | spawn(function() | |
9531 | for a,b in pairs(blindT) do if b == _players[v].Name then table.remove(blindT, a) end end | |
9532 | local blind = gPlayers[v].Name | |
9533 | local victim = gPlayers:FindFirstChild(blind) | |
9534 | if victim ~= nil then | |
9535 | victim.CameraMaxZoomDistance = 400 wait(0.5) | |
9536 | for _, child in pairs( workspace:GetChildren()) do | |
9537 | if child.Name == "IYblind" .. gPlayers[v].Name then | |
9538 | child:Destroy() | |
9539 | end end end end) end end) | |
9540 | ||
9541 | addcmd('punish','punishs player',{''}, | |
9542 | function(args, speaker) | |
9543 | local players = getPlayer(args[1], speaker) | |
9544 | for i,v in pairs(players)do | |
9545 | local pchar = gPlayers[v].Character | |
9546 | pchar.Parent = LightingService | |
9547 | end | |
9548 | end) | |
9549 | ||
9550 | addcmd('unpunish','unpunishs player',{''}, | |
9551 | function(args, speaker) | |
9552 | local players = getPlayer(args[1], speaker) | |
9553 | for i,v in pairs(players)do | |
9554 | if LightingService:FindFirstChild("" .. gPlayers[v].Name) then | |
9555 | LightingService:FindFirstChild("" .. gPlayers[v].Name).Parent = workspace | |
9556 | end | |
9557 | end | |
9558 | end) | |
9559 | ||
9560 | local starmanPlayers = {} | |
9561 | local starmanLastColor = nil | |
9562 | local starmanEvents = {} | |
9563 | ||
9564 | addcmd("starman","Turns [plr] into starman",{}, | |
9565 | function(args,speaker) | |
9566 | local function starman(plr) | |
9567 | local char = plr.Character | |
9568 | local lastColor = "" | |
9569 | local newColor = "" | |
9570 | ||
9571 | local powerupSound = Instance.new("Sound",char.HumanoidRootPart) | |
9572 | powerupSound.Name = "PowerUp" | |
9573 | powerupSound.Volume = 10 | |
9574 | powerupSound.SoundId = "rbxassetid://182755256" | |
9575 | wait() | |
9576 | powerupSound:Play() | |
9577 | ||
9578 | game:GetService("Debris"):AddItem(powerupSound,2) | |
9579 | ||
9580 | while char.HumanoidRootPart:FindFirstChild("Starman") do char.HumanoidRootPart.Starman:Destroy() end | |
9581 | ||
9582 | local starmanMusic = Instance.new("Sound",char.HumanoidRootPart) | |
9583 | starmanMusic.Name = "Starman" | |
9584 | starmanMusic.Volume = 1 | |
9585 | starmanMusic.Looped = true | |
9586 | starmanMusic.SoundId = "rbxassetid://530596723" | |
9587 | wait() | |
9588 | starmanMusic:Play() | |
9589 | ||
9590 | if char:FindFirstChild("Shirt") then char.Shirt:Destroy() end | |
9591 | if char:FindFirstChild("Pants") then char.Pants:Destroy() end | |
9592 | ||
9593 | char.Humanoid.WalkSpeed = 32 | |
9594 | char.Humanoid.MaxHealth = math.huge | |
9595 | char.Humanoid.Health = math.huge | |
9596 | ||
9597 | local invisff = Instance.new("ForceField", char) | |
9598 | invisff.Visible = false invisff.Name = 'smff' | |
9599 | ||
9600 | while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do char.HumanoidRootPart.StarmanFlash:Destroy() end | |
9601 | ||
9602 | local light = Instance.new("PointLight",char.HumanoidRootPart) | |
9603 | light.Name = "StarmanFlash" | |
9604 | light.Brightness = 100 | |
9605 | light.Range = 20 | |
9606 | light.Shadows = true | |
9607 | ||
9608 | local function stardestroy(part) | |
9609 | if part.Parent:FindFirstChild("Humanoid") and part.Parent ~= char then | |
9610 | for i,v in pairs(part.Parent:GetChildren()) do | |
9611 | if v:IsA("BasePart") then | |
9612 | local force = Instance.new("BodyForce",v) | |
9613 | force.Force = char.HumanoidRootPart.CFrame.lookVector * 50 | |
9614 | v:BreakJoints() | |
9615 | end | |
9616 | end | |
9617 | ||
9618 | local tadaas = {} | |
9619 | ||
9620 | for i = 1,1 do | |
9621 | local tadaa = Instance.new("Sound",part.Parent.HumanoidRootPart) | |
9622 | tadaa.Volume = 10 | |
9623 | tadaa.SoundId = "rbxassetid://551195499" | |
9624 | table.insert(tadaas,tadaa) | |
9625 | end | |
9626 | ||
9627 | wait() | |
9628 | ||
9629 | for i,v in pairs(tadaas) do | |
9630 | v:Play() | |
9631 | end | |
9632 | end | |
9633 | end | |
9634 | ||
9635 | local events = {} | |
9636 | for i,v in pairs(char:GetChildren()) do | |
9637 | if v:IsA("BasePart") then v.Material = Enum.Material.Neon table.insert(events,v.Touched:Connect(stardestroy)) end | |
9638 | end | |
9639 | if starmanEvents[plr.Name] then for i,v in pairs(starmanEvents[plr.Name]) do v:Disconnect() end starmanEvents[plr.Name] = nil end | |
9640 | starmanEvents[plr.Name] = events | |
9641 | starmanPlayers[plr.Name] = char | |
9642 | end | |
9643 | ||
9644 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9645 | spawn(function()starman(gPlayers[plr])end) | |
9646 | end | |
9647 | end) | |
9648 | ||
9649 | addcmd("unstarman","Removes starman from [plr]",{}, | |
9650 | function(args,speaker) | |
9651 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9652 | pcall(function() | |
9653 | if starmanPlayers[plr] then starmanPlayers[plr] = nil end | |
9654 | if starmanEvents[plr] then for i,v in pairs(starmanEvents[plr]) do v:Disconnect() end starmanEvents[plr] = nil end | |
9655 | local char = gPlayers[plr].Character | |
9656 | while char.HumanoidRootPart:FindFirstChild("Starman") do | |
9657 | char.HumanoidRootPart.Starman:Destroy() | |
9658 | end | |
9659 | while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do | |
9660 | char.HumanoidRootPart.StarmanFlash:Destroy() | |
9661 | end | |
9662 | while char.HumanoidRootPart:FindFirstChild("smff") do | |
9663 | char.HumanoidRootPart.smff:Destroy() | |
9664 | end | |
9665 | end) | |
9666 | end | |
9667 | end) | |
9668 | ||
9669 | local Timers = {} | |
9670 | function checkTimer(n,t,res) | |
9671 | if not Timers[n] then Timers[n] = 0 end | |
9672 | ||
9673 | if tick() >= Timers[n] + t then | |
9674 | if res then Timers[n] = tick() end | |
9675 | return true | |
9676 | else | |
9677 | return false | |
9678 | end | |
9679 | end | |
9680 | ||
9681 | function nonEmpty(t) | |
9682 | for i,v in pairs(t) do | |
9683 | return true | |
9684 | end | |
9685 | return false | |
9686 | end | |
9687 | ||
9688 | game:GetService("RunService").RenderStepped:Connect(function() | |
9689 | if nonEmpty(starmanPlayers) then | |
9690 | if checkTimer("Starman",0.05,true) then | |
9691 | for name,plrchar in pairs(starmanPlayers) do | |
9692 | ypcall(function() | |
9693 | local colors = {"Bright red","Bright blue","Bright green","Bright yellow","Bright violet"} | |
9694 | if not gPlayers:FindFirstChild(name) then starmanPlayers[name] = nil end | |
9695 | ||
9696 | local plr = gPlayers:FindFirstChild(name) | |
9697 | ||
9698 | if plr then | |
9699 | local char = plrchar | |
9700 | local light = char.HumanoidRootPart:FindFirstChild("StarmanFlash") | |
9701 | ||
9702 | local meshMap = {} | |
9703 | ||
9704 | for i,v in pairs(char:GetChildren()) do | |
9705 | if v:IsA("CharacterMesh") then | |
9706 | if v.BodyPart.Name == "Torso" then meshMap["Torso"] = "rbxassetid://"..v.MeshId end | |
9707 | if v.BodyPart.Name == "LeftArm" then meshMap["Left Arm"] = "rbxassetid://"..v.MeshId end | |
9708 | if v.BodyPart.Name == "RightArm" then meshMap["Right Arm"] = "rbxassetid://"..v.MeshId end | |
9709 | if v.BodyPart.Name == "LeftLeg" then meshMap["Left Leg"] = "rbxassetid://"..v.MeshId end | |
9710 | if v.BodyPart.Name == "RightLeg" then meshMap["Right Leg"] = "rbxassetid://"..v.MeshId end | |
9711 | end | |
9712 | end | |
9713 | ||
9714 | if char.Head:FindFirstChild("Mesh") then meshMap["Head"] = char.Head.Mesh.MeshId end | |
9715 | ||
9716 | if not char or char.Parent == nil then starmanPlayers[plr.Name] = nil end | |
9717 | local newColor = BrickColor.new(colors[math.random(1,#colors)]) | |
9718 | while starmanLastColor == newColor do newColor = BrickColor.new(colors[math.random(1,#colors)]) end | |
9719 | starmanLastColor = newColor | |
9720 | for i,v in pairs(char:GetChildren()) do | |
9721 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
9722 | v.BrickColor = newColor | |
9723 | local fade = v:Clone() | |
9724 | if meshMap[v.Name] then | |
9725 | local newMesh = Instance.new("SpecialMesh",fade) | |
9726 | newMesh.MeshId = meshMap[v.Name] | |
9727 | end | |
9728 | fade.Name = "StarFade" | |
9729 | fade.Anchored = true | |
9730 | fade.CanCollide = false | |
9731 | 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 | |
9732 | fade.Parent = workspace.Terrain | |
9733 | game:GetService("TweenService"):Create(fade,TweenInfo.new(0.5),{Transparency = 1}):Play() | |
9734 | game:GetService("Debris"):AddItem(fade,0.5) | |
9735 | end | |
9736 | end | |
9737 | light.Color = newColor.Color | |
9738 | end | |
9739 | end) | |
9740 | end | |
9741 | end | |
9742 | end | |
9743 | end) | |
9744 | ||
9745 | addcmd("tppos","Teleports a player to a coordinate",{}, | |
9746 | function(args,speaker) | |
9747 | if #args < 4 then return end | |
9748 | local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4]) | |
9749 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9750 | local char = gPlayers[plr].Character | |
9751 | if char and char:FindFirstChild("HumanoidRootPart") then | |
9752 | char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ) | |
9753 | end | |
9754 | end | |
9755 | end) | |
9756 | ||
9757 | addcmd("offset","Offsets a player by a coordinate",{}, | |
9758 | function(args,speaker) | |
9759 | if #args < 4 then return end | |
9760 | local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4]) | |
9761 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9762 | local char = gPlayers[plr].Character | |
9763 | if char and char:FindFirstChild("HumanoidRootPart") then | |
9764 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ) | |
9765 | end | |
9766 | end | |
9767 | end) | |
9768 | ||
9769 | addcmd('bait',';)',{'troll'}, | |
9770 | function(args, speaker) | |
9771 | spawn(function() | |
9772 | local M = Instance.new('Model', workspace) M.Name = 'IYbait' | |
9773 | 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) | |
9774 | y = Instance.new("BillboardGui") | |
9775 | y.Size = UDim2.new(0,100,0,150) | |
9776 | y.StudsOffset = Vector3.new(0,1,0) | |
9777 | y.Parent = P | |
9778 | y.Adornee = P | |
9779 | f = Instance.new("TextLabel") | |
9780 | f.Parent = y | |
9781 | f.BackgroundTransparency = 1 | |
9782 | f.Position = UDim2.new(0,0,0,-50) | |
9783 | f.Size = UDim2.new(0,100,0,100) | |
9784 | f.Font = "Highway" | |
9785 | f.FontSize = "Size48" | |
9786 | f.Text = "Touch for admin!" | |
9787 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
9788 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
9789 | f.TextStrokeTransparency = 0 | |
9790 | f.TextYAlignment = "Bottom" | |
9791 | 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) | |
9792 | end) | |
9793 | end) | |
9794 | ||
9795 | addcmd('removebait','clears bait parts',{'nobait'}, | |
9796 | function(args, speaker) | |
9797 | local function dels(instance) | |
9798 | for i,v in pairs(instance:GetChildren())do | |
9799 | if v.name == "IYbait"then v:Destroy()end | |
9800 | dels(v) | |
9801 | end | |
9802 | end | |
9803 | dels(workspace) | |
9804 | end) | |
9805 | ||
9806 | function CreateInstance(cls,props) | |
9807 | local inst = Instance.new(cls) | |
9808 | for i,v in pairs(props) do | |
9809 | inst[i] = v | |
9810 | end | |
9811 | return inst end | |
9812 | local function createSoundFrame() | |
9813 | 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) | |
9814 | 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 | |
9815 | 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) | |
9816 | 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}) | |
9817 | 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}) | |
9818 | 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) | |
9819 | 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) | |
9820 | 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}) | |
9821 | 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 | |
9822 | 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 | |
9823 | 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) | |
9824 | 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}) | |
9825 | 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}) | |
9826 | 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) | |
9827 | 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}) | |
9828 | 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}) | |
9829 | 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 | |
9830 | 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) | |
9831 | return soundFrame end | |
9832 | local soundFrame = createSoundFrame() | |
9833 | soundFrame.Visible = true | |
9834 | local MusicPlayer do | |
9835 | MusicPlayer = {} | |
9836 | local playlist = {} | |
9837 | local currentSong = 1 | |
9838 | local playlistHook = nil | |
9839 | --local soundFrame = script.Parent:WaitForChild("Sound") | |
9840 | local soundLine = soundFrame:WaitForChild("Pos") | |
9841 | local soundTouch = soundLine:WaitForChild("Touch") | |
9842 | local soundPlayStop = soundFrame:WaitForChild("PlayStop") | |
9843 | local soundPause = soundFrame:WaitForChild("Pause") | |
9844 | local soundNext = soundFrame:WaitForChild("NextSong") | |
9845 | local soundPrev = soundFrame:WaitForChild("PrevSong") | |
9846 | local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev} | |
9847 | local mouseDrag = false | |
9848 | local mouse = gPlayers.LocalPlayer:GetMouse() | |
9849 | local lineBar = soundFrame:WaitForChild("Pos") | |
9850 | adminSound = Instance.new("Sound",nil) | |
9851 | local function timeConvert(num) | |
9852 | local mins = math.floor(num/60) | |
9853 | local secs = math.floor(num % 60) | |
9854 | return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs) | |
9855 | end | |
9856 | local function updateSongLine() | |
9857 | local linePos = mouse.X - soundLine.AbsolutePosition.X | |
9858 | if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then | |
9859 | local movePos = linePos/soundLine.AbsoluteSize.X | |
9860 | soundTouch.Position = UDim2.new(movePos,0,0,0) | |
9861 | elseif linePos < 0 then | |
9862 | soundTouch.Position = UDim2.new(0,0,0,0) | |
9863 | else | |
9864 | soundTouch.Position = UDim2.new(1,0,0,0) | |
9865 | end | |
9866 | local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength | |
9867 | adminSound.TimePosition = newTimePos | |
9868 | soundFrame.TimeStart.Text = timeConvert(newTimePos) | |
9869 | soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength) | |
9870 | end | |
9871 | local function updateDetails(id) | |
9872 | local info = game:GetService("MarketplaceService"):GetProductInfo(id) | |
9873 | soundFrame.SName.Text = info.Name | |
9874 | end | |
9875 | local function setPlaylistHook() | |
9876 | if playlistHook then playlistHook:Disconnect() playlistHook = nil end | |
9877 | if #playlist == 0 then return end | |
9878 | playlistHook = adminSound.DidLoop:connect(function() | |
9879 | if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end | |
9880 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
9881 | MusicPlayer:Play(playlist[currentSong],true) | |
9882 | end) | |
9883 | end | |
9884 | local function disconnectPlaylistHook() | |
9885 | if playlistHook then playlistHook:disconnect() playlistHook = nil end | |
9886 | end | |
9887 | game:GetService("RunService").RenderStepped:Connect(function() | |
9888 | if adminSound.Playing then | |
9889 | soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0) | |
9890 | soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition) | |
9891 | soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength) | |
9892 | end | |
9893 | end) | |
9894 | lineBar.InputBegan:connect(function(input) | |
9895 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
9896 | mouseDrag = true | |
9897 | updateSongLine() | |
9898 | end | |
9899 | end) | |
9900 | lineBar.InputEnded:connect(function(input) | |
9901 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
9902 | mouseDrag = false | |
9903 | end | |
9904 | end) | |
9905 | mouse.Move:connect(function(prop) | |
9906 | if mouseDrag then | |
9907 | updateSongLine() | |
9908 | end | |
9909 | end) | |
9910 | function MusicPlayer:Play(id,plist) | |
9911 | if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end | |
9912 | adminSound:Stop() | |
9913 | if adminSound.Parent == nil then | |
9914 | adminSound = Instance.new("Sound",workspace) | |
9915 | adminSound.Name = "IYsound" | |
9916 | adminSound.Looped = true | |
9917 | if plist then setPlaylistHook() end | |
9918 | end | |
9919 | adminSound.SoundId = "rbxassetid://"..tostring(id) | |
9920 | adminSound.TimePosition = 0 | |
9921 | --repeat wait() until adminSound.IsLoaded | |
9922 | adminSound:Play() | |
9923 | soundPlayStop.BackgroundTransparency = 0 | |
9924 | soundPlayStop.ImageTransparency = 1 | |
9925 | updateDetails(id) | |
9926 | end | |
9927 | function MusicPlayer:Playlist(list) | |
9928 | playlist = list | |
9929 | soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true | |
9930 | currentSong = 1 | |
9931 | if adminSound.Parent == nil then | |
9932 | adminSound = Instance.new("Sound",workspace) | |
9933 | adminSound.Name = "IYsound" | |
9934 | adminSound.Looped = true | |
9935 | end | |
9936 | soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist) | |
9937 | MusicPlayer:Play(playlist[1],true) | |
9938 | setPlaylistHook() | |
9939 | end | |
9940 | function MusicPlayer:Stop() | |
9941 | adminSound:Stop() | |
9942 | adminSound.TimePosition = 0 | |
9943 | soundTouch.Position = UDim2.new(0,0,0,0) | |
9944 | soundFrame.TimeStart.Text = "0:00" | |
9945 | soundPlayStop.BackgroundTransparency = 1 | |
9946 | soundPlayStop.ImageTransparency = 0 | |
9947 | end | |
9948 | function MusicPlayer:Pause() | |
9949 | adminSound:Pause() | |
9950 | soundPlayStop.BackgroundTransparency = 1 | |
9951 | soundPlayStop.ImageTransparency = 0 | |
9952 | end | |
9953 | function MusicPlayer:Resume() | |
9954 | adminSound:Resume() | |
9955 | soundPlayStop.BackgroundTransparency = 0 | |
9956 | soundPlayStop.ImageTransparency = 1 | |
9957 | setPlaylistHook() | |
9958 | end | |
9959 | function MusicPlayer:NextSong() | |
9960 | if #playlist == 0 then return end | |
9961 | if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end | |
9962 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
9963 | MusicPlayer:Play(playlist[currentSong],true) | |
9964 | end | |
9965 | function MusicPlayer:PrevSong() | |
9966 | if #playlist == 0 then return end | |
9967 | if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end | |
9968 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
9969 | MusicPlayer:Play(playlist[currentSong],true) | |
9970 | end | |
9971 | function MusicPlayer:SetSong(ind) | |
9972 | if ind > #playlist or ind <= 0 then return end | |
9973 | soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist) | |
9974 | MusicPlayer:Play(playlist[ind],true) | |
9975 | end | |
9976 | playerenabled = false | |
9977 | function MusicPlayer:Show() | |
9978 | soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
9979 | end | |
9980 | function MusicPlayer:Hide() | |
9981 | soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
9982 | end | |
9983 | function colorFrames(obj,col) | |
9984 | for i,v in pairs(obj:GetChildren()) do | |
9985 | if v:IsA("ImageLabel") then | |
9986 | v.ImageColor3 = col | |
9987 | end | |
9988 | v.BackgroundColor3 = col | |
9989 | end | |
9990 | end | |
9991 | for i,v in pairs(soundButtons) do | |
9992 | v.MouseEnter:connect(function() | |
9993 | if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end | |
9994 | if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end | |
9995 | v.BackgroundColor3 = Color3.new(1,1,1) | |
9996 | colorFrames(v,Color3.new(1,1,1)) | |
9997 | end) | |
9998 | v.MouseLeave:connect(function() | |
9999 | if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end | |
10000 | if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end | |
10001 | v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255) | |
10002 | colorFrames(v,Color3.new(230/255, 230/255, 230/255)) | |
10003 | end) | |
10004 | end | |
10005 | soundPlayStop.MouseButton1Click:connect(function() | |
10006 | if adminSound.Playing then | |
10007 | MusicPlayer:Stop() | |
10008 | else | |
10009 | MusicPlayer:Resume() | |
10010 | end | |
10011 | end) | |
10012 | soundPause.MouseButton1Click:connect(function() | |
10013 | MusicPlayer:Pause() | |
10014 | end) | |
10015 | soundNext.MouseButton1Click:connect(MusicPlayer.NextSong) | |
10016 | soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong) | |
10017 | end | |
10018 | local testgui = Instance.new("ScreenGui",game.CoreGui) | |
10019 | soundFrame.Parent = testgui | |
10020 | addcmd('playlist','makes a noice playlist',{'ids','player'}, | |
10021 | function(args, speaker) | |
10022 | playerenabled = true | |
10023 | if #args > 0 then | |
10024 | for i,v in pairs(game:GetDescendants()) do | |
10025 | if v:IsA'Sound'then v:Destroy() end end wait(0.1) | |
10026 | if adminSound.Parent == nil then | |
10027 | adminSound = Instance.new("Sound",workspace) | |
10028 | adminSound.Name = "IYsound" | |
10029 | adminSound.Looped = true | |
10030 | end | |
10031 | local idlist = splitString(args[1]) | |
10032 | local workingIds = {} | |
10033 | for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end | |
10034 | if #workingIds > 0 then | |
10035 | playerenabled = true | |
10036 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
10037 | MusicPlayer:Playlist(workingIds) | |
10038 | 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) | |
10039 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10040 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10041 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10042 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end | |
10043 | 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) | |
10044 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10045 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) playerenabled = true | |
10046 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10047 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end end) | |
10048 | addcmd('setsong','goto a song',{'tosong'}, | |
10049 | function(args, speaker) | |
10050 | MusicPlayer:SetSong(tonumber(args[1])) | |
10051 | end) | |
10052 | addcmd('nextsong','forward a song',{'nxtsong'}, | |
10053 | function(args, speaker) | |
10054 | MusicPlayer:NextSong() | |
10055 | end) | |
10056 | addcmd('prevsong','back a song',{'previoussong'}, | |
10057 | function(args, speaker) | |
10058 | MusicPlayer:PrevSong() | |
10059 | end) | |
10060 | addcmd('hideplaylist','back a song',{'unplayer','noplayer','hideplayer'}, | |
10061 | function(args, speaker) | |
10062 | playerenabled = false | |
10063 | MusicPlayer:Hide() | |
10064 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
10065 | end) | |
10066 | ||
10067 | addcmd('playhash', 'plays a hash instead of soundid',{'hash'}, | |
10068 | function(args, speaker) | |
10069 | for i,v in pairs(game:GetDescendants()) do | |
10070 | if v:IsA'Sound'then v:Destroy() end end | |
10071 | local c = args[1] or 'stop' | |
10072 | if std.inTable({'stop'}, c:lower()) then return end | |
10073 | local s = Instance.new("Sound", workspace) | |
10074 | s.Name = "IYsound" | |
10075 | s.Looped = true | |
10076 | s.SoundId = c | |
10077 | s.Volume = 1 | |
10078 | s:Play() | |
10079 | playerenabled = false | |
10080 | Notify('Playing hash') | |
10081 | end) | |
10082 | ||
10083 | addcmd('disco','disco party',{''}, | |
10084 | function(args, speaker) | |
10085 | _G.nodisco = nil | |
10086 | coroutine.resume(coroutine.create(function() | |
10087 | repeat | |
10088 | game:GetService('Lighting').GlobalShadows = true | |
10089 | game:GetService('Lighting').FogEnd = 200 | |
10090 | game:GetService('Lighting').TimeOfDay = 0 | |
10091 | local r = 255 | |
10092 | local g = 0 | |
10093 | local b = 0 | |
10094 | for i = 0,255,5 do | |
10095 | if _G.nodisco ~=nil then return end | |
10096 | r = r - 5 | |
10097 | b = b + 5 | |
10098 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10099 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10100 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10101 | wait() | |
10102 | end | |
10103 | for i = 0,255,5 do | |
10104 | if _G.nodisco ~=nil then return end | |
10105 | g = g + 5 | |
10106 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10107 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10108 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10109 | wait() | |
10110 | end | |
10111 | for i = 0,255,5 do | |
10112 | if _G.nodisco ~=nil then return end | |
10113 | b = b - 5 | |
10114 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10115 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10116 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10117 | wait() | |
10118 | end | |
10119 | for i = 0,255,5 do | |
10120 | if _G.nodisco ~=nil then return end | |
10121 | r = r + 5 | |
10122 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10123 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10124 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10125 | wait() | |
10126 | end | |
10127 | for i = 0,255,5 do | |
10128 | if _G.nodisco ~=nil then return end | |
10129 | g = g - 5 | |
10130 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10131 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10132 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10133 | wait() | |
10134 | end | |
10135 | until _G.nodisco | |
10136 | end)) | |
10137 | end) | |
10138 | ||
10139 | addcmd('undisco','rip disco party',{''}, | |
10140 | function(args, speaker) | |
10141 | _G.nodisco = true | |
10142 | execCmd('fixl') | |
10143 | end) | |
10144 | ||
10145 | addcmd('hat','give a hat to a player',{''}, | |
10146 | function(args, speaker) | |
10147 | local players = getPlayer(args[1], speaker) | |
10148 | for i,v in pairs(players)do | |
10149 | local char = gPlayers[v].Character | |
10150 | local Hat = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. args[2]) | |
10151 | Hat.Parent = char | |
10152 | end end) | |
10153 | ||
10154 | fm = Instance.new('BlockMesh', DATA) | |
10155 | fm.Scale = Vector3.new(1, 1, 2) | |
10156 | fm.Name = "FAT" | |
10157 | addcmd('fat','makes a plr fat',{''}, | |
10158 | function(args, speaker) | |
10159 | local players = getPlayer(args[1], speaker) | |
10160 | for i,v in pairs(players)do | |
10161 | local char = gPlayers[v].Character | |
10162 | for _, child in pairs( char:GetChildren()) do | |
10163 | if child.ClassName == "CharacterMesh" then | |
10164 | child:Destroy() end end | |
10165 | for i,v in pairs(char:GetChildren()) do | |
10166 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
10167 | fm:Clone().Parent = v | |
10168 | end end end end) | |
10169 | ||
10170 | addcmd('crucify','crucifies a player',{'cruci'}, | |
10171 | function(args, speaker) | |
10172 | local players = getPlayer(args[1], speaker) | |
10173 | for i,v in pairs(players)do | |
10174 | local char = gPlayers[v].Character | |
10175 | local torso=char['Torso'] | |
10176 | local larm=char['Left Arm'] | |
10177 | local rarm=char['Right Arm'] | |
10178 | local lleg=char['Left Leg'] | |
10179 | local rleg=char['Right Leg'] | |
10180 | local head=char['Head'] | |
10181 | if torso and larm and rarm and lleg and rleg and head and not char:FindFirstChild(char.Name..'epixcrusify') then | |
10182 | local cru=Instance.new('Model',char) | |
10183 | cru.Name=char.Name..'epixcrusify' -- Leave it like that so it bypasses epixcommands ;) | |
10184 | local c1=Instance.new('Part',cru) | |
10185 | c1.BrickColor=BrickColor.new('Reddish brown') | |
10186 | c1.Material='Wood' | |
10187 | c1.CFrame=(char.Torso.CFrame-char.Torso.CFrame.lookVector)*CFrame.new(0,0,2) | |
10188 | c1.Size=Vector3.new(2,18.4,1) | |
10189 | c1.Anchored=true | |
10190 | local c2=c1:Clone() | |
10191 | c2.Parent=cru | |
10192 | c2.Size=Vector3.new(11,1.6,1) | |
10193 | c2.CFrame=c1.CFrame+Vector3.new(0,5,0) | |
10194 | torso.Anchored=true;wait(0.5) | |
10195 | torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0);wait(0.5) | |
10196 | larm.Anchored=true | |
10197 | rarm.Anchored=true | |
10198 | lleg.Anchored=true | |
10199 | rleg.Anchored=true | |
10200 | head.Anchored=true;wait() | |
10201 | larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0) | |
10202 | rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0) | |
10203 | lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0) | |
10204 | rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0) | |
10205 | larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140) | |
10206 | rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140) | |
10207 | lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6) | |
10208 | rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6) | |
10209 | --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3) | |
10210 | local n1=Instance.new('Part',cru) | |
10211 | n1.BrickColor=BrickColor.new('Dark stone grey') | |
10212 | n1.Material='DiamondPlate' | |
10213 | n1.Size=Vector3.new(0.2,0.2,2) | |
10214 | n1.Anchored=true | |
10215 | local m=Instance.new('BlockMesh',n1) | |
10216 | m.Scale=Vector3.new(0.2,0.2,0.7) | |
10217 | local n2=n1:Clone() | |
10218 | n2.Parent=cru | |
10219 | local n3=n1:Clone() | |
10220 | n3.Parent=cru | |
10221 | n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0) | |
10222 | n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0) | |
10223 | n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0) | |
10224 | spawn(function() | |
10225 | repeat | |
10226 | wait(0.1) | |
10227 | char.Humanoid.Health=char.Humanoid.Health-0.6 | |
10228 | until (not cru) or (not cru.Parent) or (not v) or (not char) or (not char:FindFirstChild('Head')) or char.Humanoid.Health<=0 | |
10229 | char:BreakJoints() | |
10230 | end) | |
10231 | end | |
10232 | end | |
10233 | end) | |
10234 | ||
10235 | addcmd('hang','hangs a player',{}, | |
10236 | function(args, speaker) | |
10237 | local players = getPlayer(args[1], speaker) | |
10238 | for i,v in pairs(players)do | |
10239 | local plr = gPlayers[v].Character | |
10240 | plr.HumanoidRootPart.Anchored = true | |
10241 | function sandbox(var,func) | |
10242 | local env = getfenv(func) | |
10243 | local newenv = setmetatable({},{ | |
10244 | __index = function(self,k) | |
10245 | if k=="script" then | |
10246 | return var | |
10247 | else | |
10248 | return env[k] | |
10249 | end | |
10250 | end, | |
10251 | }) | |
10252 | setfenv(func,newenv) | |
10253 | return func | |
10254 | end | |
10255 | cors = {} | |
10256 | mas = Instance.new("Model",game:GetService("Lighting")) | |
10257 | local Model0 = Instance.new("Model") | |
10258 | local Part1 = Instance.new("Part") | |
10259 | local Part2 = Instance.new("Part") | |
10260 | local Part3 = Instance.new("Part") | |
10261 | local Part4 = Instance.new("Part") | |
10262 | local Part5 = Instance.new("Part") | |
10263 | local Motor6D6 = Instance.new("Motor6D") | |
10264 | local Part7 = Instance.new("Part") | |
10265 | local Part8 = Instance.new("Part") | |
10266 | local Part9 = Instance.new("Part") | |
10267 | local Part10 = Instance.new("Part") | |
10268 | local Part11 = Instance.new("Part") | |
10269 | local Part12 = Instance.new("Part") | |
10270 | local Part13 = Instance.new("Part") | |
10271 | local Part14 = Instance.new("Part") | |
10272 | local Part15 = Instance.new("Part") | |
10273 | Model0.Name = "hang" | |
10274 | Model0.Parent = mas | |
10275 | Part1.Parent = Model0 | |
10276 | Part1.Material = Enum.Material.SmoothPlastic | |
10277 | Part1.BrickColor = BrickColor.new("Reddish brown") | |
10278 | Part1.Anchored = true | |
10279 | Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024) | |
10280 | Part1.CFrame = CFrame.new(1.539994, 9.29992199, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10281 | Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10282 | Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10283 | Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10284 | Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10285 | Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10286 | Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10287 | Part1.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10288 | Part1.Position = Vector3.new(1.539994, 9.29992199, 12.6999884) | |
10289 | Part1.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10290 | Part2.Parent = Model0 | |
10291 | Part2.Material = Enum.Material.Wood | |
10292 | Part2.BrickColor = BrickColor.new("Pine Cone") | |
10293 | Part2.Anchored = true | |
10294 | Part2.Size = Vector3.new(0.49999997, 0.200000003, 0.200000003) | |
10295 | Part2.CFrame = CFrame.new(1.44999003, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10296 | Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10297 | Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10298 | Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10299 | Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10300 | Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10301 | Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10302 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10303 | Part2.Position = Vector3.new(1.44999003, 9.09992599, 12.6999884) | |
10304 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10305 | Part3.Parent = Model0 | |
10306 | Part3.Material = Enum.Material.Wood | |
10307 | Part3.BrickColor = BrickColor.new("Pine Cone") | |
10308 | Part3.Anchored = true | |
10309 | Part3.Size = Vector3.new(1, 9.39999962, 0.599999964) | |
10310 | Part3.CFrame = CFrame.new(-0.100001998, 4.70001078, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10311 | Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10312 | Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10313 | Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10314 | Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10315 | Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10316 | Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10317 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10318 | Part3.Position = Vector3.new(-0.100001998, 4.70001078, 12.6999884) | |
10319 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10320 | Part4.Parent = Model0 | |
10321 | Part4.Material = Enum.Material.Wood | |
10322 | Part4.BrickColor = BrickColor.new("Pine Cone") | |
10323 | Part4.Anchored = true | |
10324 | Part4.Size = Vector3.new(1, 0.599999845, 0.599999964) | |
10325 | Part4.CFrame = CFrame.new(0.899998009, 9.09995365, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10326 | Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10327 | Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10328 | Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10329 | Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10330 | Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10331 | Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10332 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10333 | Part4.Position = Vector3.new(0.899998009, 9.09995365, 12.6999884) | |
10334 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10335 | Part5.Name = "main" | |
10336 | Part5.Parent = Model0 | |
10337 | Part5.BrickColor = BrickColor.new("Bright blue") | |
10338 | Part5.Transparency = 1 | |
10339 | Part5.Rotation = Vector3.new(0, -90, 0) | |
10340 | Part5.Anchored = true | |
10341 | Part5.CanCollide = false | |
10342 | Part5.FormFactor = Enum.FormFactor.Symmetric | |
10343 | Part5.Size = Vector3.new(2, 2, 1) | |
10344 | Part5.CFrame = CFrame.new(1.98998594, 6.33001804, 12.7000237, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10345 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
10346 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
10347 | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
10348 | Part5.Position = Vector3.new(1.98998594, 6.33001804, 12.7000237) | |
10349 | Part5.Orientation = Vector3.new(0, -90, 0) | |
10350 | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
10351 | Motor6D6.Name = "RootJoint" | |
10352 | Motor6D6.Parent = Part5 | |
10353 | Motor6D6.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
10354 | Motor6D6.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
10355 | Motor6D6.Part0 = Part5 | |
10356 | Motor6D6.MaxVelocity = 0.10000000149012 | |
10357 | Part7.Parent = Model0 | |
10358 | Part7.Material = Enum.Material.SmoothPlastic | |
10359 | Part7.BrickColor = BrickColor.new("Reddish brown") | |
10360 | Part7.Rotation = Vector3.new(90, 75, -180) | |
10361 | Part7.Anchored = true | |
10362 | Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
10363 | Part7.CFrame = CFrame.new(2.02295995, 7.37058878, 12.1000061, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10364 | Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10365 | Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10366 | Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10367 | Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10368 | Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10369 | Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10370 | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10371 | Part7.Position = Vector3.new(2.02295995, 7.37058878, 12.1000061) | |
10372 | Part7.Orientation = Vector3.new(15, 90, -90) | |
10373 | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10374 | Part8.Parent = Model0 | |
10375 | Part8.Material = Enum.Material.Wood | |
10376 | Part8.BrickColor = BrickColor.new("Pine Cone") | |
10377 | Part8.Anchored = true | |
10378 | Part8.Size = Vector3.new(0.200000003, 0.599999785, 0.599999964) | |
10379 | Part8.CFrame = CFrame.new(1.77999604, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10380 | Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10381 | Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10382 | Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10383 | Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10384 | Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10385 | Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10386 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10387 | Part8.Position = Vector3.new(1.77999604, 9.09992599, 12.6999884) | |
10388 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10389 | Part9.Parent = Model0 | |
10390 | Part9.Material = Enum.Material.SmoothPlastic | |
10391 | Part9.BrickColor = BrickColor.new("Reddish brown") | |
10392 | Part9.Rotation = Vector3.new(90, 75, -180) | |
10393 | Part9.Anchored = true | |
10394 | Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
10395 | Part9.CFrame = CFrame.new(2.02295995, 7.37058878, 13.299984, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10396 | Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10397 | Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10398 | Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10399 | Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10400 | Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10401 | Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10402 | Part9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10403 | Part9.Position = Vector3.new(2.02295995, 7.37058878, 13.299984) | |
10404 | Part9.Orientation = Vector3.new(15, 90, -90) | |
10405 | Part9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10406 | Part10.Parent = Model0 | |
10407 | Part10.Material = Enum.Material.SmoothPlastic | |
10408 | Part10.BrickColor = BrickColor.new("Reddish brown") | |
10409 | Part10.Anchored = true | |
10410 | Part10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
10411 | Part10.CFrame = CFrame.new(1.539994, 9.09992599, 12.8999901, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10412 | Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10413 | Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10414 | Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10415 | Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10416 | Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10417 | Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10418 | Part10.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10419 | Part10.Position = Vector3.new(1.539994, 9.09992599, 12.8999901) | |
10420 | Part10.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10421 | Part11.Parent = Model0 | |
10422 | Part11.Material = Enum.Material.SmoothPlastic | |
10423 | Part11.BrickColor = BrickColor.new("Reddish brown") | |
10424 | Part11.Anchored = true | |
10425 | Part11.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10426 | Part11.CFrame = CFrame.new(1.539994, 8.09998417, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10427 | Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10428 | Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10429 | Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10430 | Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10431 | Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10432 | Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10433 | Part11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10434 | Part11.Position = Vector3.new(1.539994, 8.09998417, 12.6999884) | |
10435 | Part11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10436 | Part12.Parent = Model0 | |
10437 | Part12.Material = Enum.Material.SmoothPlastic | |
10438 | Part12.BrickColor = BrickColor.new("Reddish brown") | |
10439 | Part12.Rotation = Vector3.new(90, 75, -180) | |
10440 | Part12.Anchored = true | |
10441 | Part12.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10442 | Part12.CFrame = CFrame.new(2.50592208, 7.24118423, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10443 | Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10444 | Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10445 | Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10446 | Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10447 | Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10448 | Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10449 | Part12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10450 | Part12.Position = Vector3.new(2.50592208, 7.24118423, 12.6999884) | |
10451 | Part12.Orientation = Vector3.new(15, 90, -90) | |
10452 | Part12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10453 | Part13.Parent = Model0 | |
10454 | Part13.Material = Enum.Material.SmoothPlastic | |
10455 | Part13.BrickColor = BrickColor.new("Reddish brown") | |
10456 | Part13.Anchored = true | |
10457 | Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
10458 | Part13.CFrame = CFrame.new(1.539994, 9.09992599, 12.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10459 | Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10460 | Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10461 | Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10462 | Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10463 | Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10464 | Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10465 | Part13.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10466 | Part13.Position = Vector3.new(1.539994, 9.09992599, 12.4999962) | |
10467 | Part13.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10468 | Part14.Parent = Model0 | |
10469 | Part14.Material = Enum.Material.SmoothPlastic | |
10470 | Part14.BrickColor = BrickColor.new("Reddish brown") | |
10471 | Part14.Rotation = Vector3.new(90, 75, -180) | |
10472 | Part14.Anchored = true | |
10473 | Part14.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10474 | Part14.CFrame = CFrame.new(1.539994, 7.49999714, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10475 | Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10476 | Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10477 | Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10478 | Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10479 | Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10480 | Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10481 | Part14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10482 | Part14.Position = Vector3.new(1.539994, 7.49999714, 12.6999884) | |
10483 | Part14.Orientation = Vector3.new(15, 90, -90) | |
10484 | Part14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10485 | Part15.Parent = Model0 | |
10486 | Part15.Material = Enum.Material.SmoothPlastic | |
10487 | Part15.BrickColor = BrickColor.new("Reddish brown") | |
10488 | Part15.Anchored = true | |
10489 | Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024) | |
10490 | Part15.CFrame = CFrame.new(1.539994, 8.89993, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10491 | Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10492 | Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10493 | Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10494 | Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10495 | Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10496 | Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10497 | Part15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10498 | Part15.Position = Vector3.new(1.539994, 8.89993, 12.6999884) | |
10499 | Part15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10500 | for i,v in pairs(mas:GetChildren()) do | |
10501 | v.Parent = workspace | |
10502 | pcall(function() v:MakeJoints() end) | |
10503 | end | |
10504 | mas:Destroy() | |
10505 | for i,v in pairs(cors) do | |
10506 | spawn(function() | |
10507 | pcall(v) | |
10508 | end) | |
10509 | end | |
10510 | hang = Model0 | |
10511 | hang.Parent = plr | |
10512 | hang:MoveTo(plr.Torso.Position-Vector3.new(0,0,5)) | |
10513 | pcall(function() | |
10514 | plr.HumanoidRootPart.CFrame = hang.main.CFrame | |
10515 | function weld(p, cf) | |
10516 | local weld1 = Instance.new("Weld") | |
10517 | weld1.Part0 = p | |
10518 | weld1.Part1 = plr.Torso | |
10519 | weld1.C0 = CFrame.new() | |
10520 | weld1.C1 = cf | |
10521 | weld1.Parent = p | |
10522 | end | |
10523 | weld(plr["Right Arm"], CFrame.new(0.8,0.3,-0.6) * CFrame.Angles(0, 0.5, 4)) | |
10524 | weld(plr["Left Arm"], CFrame.new(-0.8,0.3,-0.6) * CFrame.Angles(0, -0.5, -4)) | |
10525 | spawn(function() | |
10526 | repeat | |
10527 | wait(0.1) | |
10528 | plr.Humanoid.Health=plr.Humanoid.Health-0.6 | |
10529 | until (not hang) or (not hang.Parent) or (not v) or (not plr) or (not plr:FindFirstChild('Head')) or plr.Humanoid.Health<=0 | |
10530 | plr:BreakJoints() | |
10531 | end) | |
10532 | end) | |
10533 | end | |
10534 | end) | |
10535 | ||
10536 | addcmd('fix', 'restores lighting and what not',{}, | |
10537 | function(args, speaker) | |
10538 | LightingService.Ambient = origsettings.abt | |
10539 | LightingService.OutdoorAmbient = origsettings.oabt | |
10540 | LightingService.Brightness = origsettings.brt | |
10541 | LightingService.TimeOfDay = origsettings.time | |
10542 | LightingService.FogColor = origsettings.fclr | |
10543 | LightingService.FogEnd = origsettings.fe | |
10544 | LightingService.FogStart = origsettings.fs | |
10545 | playinggif = false | |
10546 | workspace.Gravity = 200 | |
10547 | 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) | |
10548 | for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end | |
10549 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
10550 | if v:IsA("PostEffect") then v:Destroy() end end | |
10551 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() Notify('Reset') end end) | |
10552 | ||
10553 | Floating = false | |
10554 | ||
10555 | addcmd('float', 'makes player float',{}, | |
10556 | function(args,speaker) | |
10557 | Floating = true | |
10558 | local players = getPlayer(args[1], speaker) | |
10559 | for _,v in pairs(players) do | |
10560 | local pchar = gPlayers[v].Character | |
10561 | if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then | |
10562 | spawn(function() | |
10563 | local float = DATA.Float:Clone() | |
10564 | float.Parent = pchar | |
10565 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
10566 | spawn(function() | |
10567 | while wait(0.1) do | |
10568 | if pchar:FindFirstChild("Float") then | |
10569 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
10570 | else | |
10571 | break | |
10572 | end | |
10573 | end | |
10574 | end) | |
10575 | end) | |
10576 | end | |
10577 | end | |
10578 | end) | |
10579 | ||
10580 | addcmd('unfloat','disables floating',{}, | |
10581 | function(args, speaker) | |
10582 | Floating = false | |
10583 | local players = getPlayer(args[1], speaker) | |
10584 | for i,v in pairs(players)do | |
10585 | local pchar = gPlayers[v].Character | |
10586 | if pchar:FindFirstChild("Float") then | |
10587 | pchar.Float:Destroy() | |
10588 | end | |
10589 | end | |
10590 | end) | |
10591 | ||
10592 | runningnoclip = false | |
10593 | Clip = true | |
10594 | addcmd('noclip','noclip',{}, | |
10595 | function(args, speaker) | |
10596 | if speaker.userId ~= LP.userId then | |
10597 | lponly(speaker) | |
10598 | else | |
10599 | Notify('Noclip enabled') | |
10600 | Clip = false | |
10601 | if LP.Character:FindFirstChild('Torso') then | |
10602 | wait(0.1) | |
10603 | if runningnoclip == false then runningnoclip = true | |
10604 | game:GetService('RunService').Stepped:connect(function () | |
10605 | if Clip == false and LP.Character ~= nil then | |
10606 | for _, child in pairs( LP.Character:GetDescendants()) do | |
10607 | if child.ClassName == 'Part' and child.CanCollide == true then | |
10608 | child.CanCollide = false | |
10609 | end end end end) end | |
10610 | else | |
10611 | r15noclip = true | |
10612 | end | |
10613 | end | |
10614 | end) | |
10615 | ||
10616 | addcmd('clip','clip',{}, | |
10617 | function(args, speaker) | |
10618 | if speaker.userId ~= LP.userId then | |
10619 | lponly(speaker) | |
10620 | else | |
10621 | Notify('Noclip disabled') | |
10622 | Clip = true | |
10623 | r15noclip = false | |
10624 | wait(0.1) | |
10625 | if LP.Character ~= nil then | |
10626 | LP.Character.Torso.CanCollide = true | |
10627 | LP.Character.Head.CanCollide = true | |
10628 | end end end) | |
10629 | ||
10630 | addcmd('prefix','changes prefix',{}, | |
10631 | function(args, speaker) | |
10632 | cmdprefix = args[1] | |
10633 | Notify('Set prefix to "' .. args[1] .. '"') | |
10634 | updatefile() | |
10635 | end) | |
10636 | ||
10637 | logsopen = false | |
10638 | addcmd('logs','shows logs',{}, | |
10639 | function(args, speaker) | |
10640 | if speaker.userId ~= LP.userId then | |
10641 | lponly(speaker) else | |
10642 | if logsopen == false then logsopen = true | |
10643 | logdrag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
10644 | end | |
10645 | end | |
10646 | end) | |
10647 | ||
10648 | local Saved = {} | |
10649 | ||
10650 | RestorePoint = function() | |
10651 | Saved = {} | |
10652 | for i, v in pairs(game:GetService("Workspace"):GetDescendants()) do | |
10653 | v.Archivable = true; | |
10654 | end | |
10655 | for i, v in pairs(game:GetService("Workspace"):GetChildren()) do | |
10656 | if not v:IsA("Terrain") and not v:IsA("Camera") then | |
10657 | if not game:GetService("Players"):FindFirstChild(v.Name) then | |
10658 | table.insert(Saved, v:Clone()); | |
10659 | end | |
10660 | elseif v:IsA("Terrain") then | |
10661 | Saved.Terrain = game:GetService("Workspace").Terrain:CopyRegion(game:GetService("Workspace").Terrain.MaxExtents); | |
10662 | end | |
10663 | end | |
10664 | return Saved; | |
10665 | end | |
10666 | ||
10667 | InsertPoint = function() | |
10668 | if #Saved == 0 and not Saved.Terrain then | |
10669 | return false; | |
10670 | end | |
10671 | for i, v in pairs(game:GetService("Workspace"):GetChildren()) do | |
10672 | if not v:IsA("Camera") and not v:IsA("Terrain") then | |
10673 | if not game:GetService("Players"):FindFirstChild(v.Name) then | |
10674 | pcall(function() | |
10675 | v:Destroy() | |
10676 | end) | |
10677 | end | |
10678 | elseif v:IsA("Terrain") then | |
10679 | v:Clear() | |
10680 | end | |
10681 | end | |
10682 | for i, v in ipairs(Saved) do | |
10683 | v:Clone().Parent = workspace; | |
10684 | end | |
10685 | game:GetService("Workspace").Terrain:PasteRegion(Saved.Terrain, game:GetService("Workspace").Terrain.MaxExtents.Min, true); | |
10686 | end | |
10687 | ||
10688 | addcmd('savemap','saves current map',{'smap'}, | |
10689 | function(args, speaker) | |
10690 | RestorePoint() | |
10691 | Notify('Saved current map') | |
10692 | end) | |
10693 | ||
10694 | addcmd('restoremap','saves current map',{'rmap'}, | |
10695 | function(args, speaker) | |
10696 | InsertPoint() | |
10697 | Notify('Loaded last saved map') | |
10698 | end) | |
10699 | ||
10700 | addcmd('respawn','respawns',{}, | |
10701 | function(args, speaker) | |
10702 | local players = getPlayer(args[1], speaker) | |
10703 | for i,v in pairs(players) do | |
10704 | respawn(gPlayers[v]) | |
10705 | end | |
10706 | end) | |
10707 | ||
10708 | addcmd('version','shows version',{''}, | |
10709 | function(args, speaker) | |
10710 | if speaker.userId ~= LP.userId then | |
10711 | lponly(speaker) | |
10712 | else | |
10713 | Notify("Version is " .. Version) | |
10714 | end | |
10715 | end) | |
10716 | local CTPenabled = false | |
10717 | Mouse.KeyDown:connect(function (Key) | |
10718 | if Key:byte() == 29 then | |
10719 | if FLYING == false then | |
10720 | execCmd("fly me", Player) | |
10721 | elseif FLYING == true then | |
10722 | execCmd("unfly me", Player) | |
10723 | end | |
10724 | end | |
10725 | if Key:byte() == 30 then | |
10726 | if Clip == true then | |
10727 | execCmd("noclip", Player) | |
10728 | elseif Clip == false then | |
10729 | execCmd("clip", Player) | |
10730 | end | |
10731 | end | |
10732 | Key = Key:lower() | |
10733 | if Key:byte() == 27 then | |
10734 | CTPenabled = true | |
10735 | end | |
10736 | end) | |
10737 | Mouse.KeyUp:connect(function(Key) | |
10738 | Key = Key:lower() | |
10739 | if Key:byte() == 27 then | |
10740 | CTPenabled = false | |
10741 | end | |
10742 | end) | |
10743 | Mouse.Button1Down:connect(function() | |
10744 | local charx = gPlayers.LocalPlayer.Character | |
10745 | if charx and CTPenabled == true then | |
10746 | charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0) | |
10747 | end | |
10748 | end) | |
10749 | ||
10750 | CMDbar = Instance.new('ScreenGui', game.CoreGui) | |
10751 | CMDbar.Name = 'GUI' | |
10752 | CMDbar.DisplayOrder = 2 | |
10753 | cont = Instance.new("Frame") | |
10754 | cmdBAR = Instance.new('TextBox', cont) | |
10755 | cont.Name = "cont" | |
10756 | cont.BackgroundTransparency = 1 | |
10757 | cont.Position = UDim2.new(1, -265, 0, -75) | |
10758 | cont.Size = UDim2.new(0, 270, 0, 45) | |
10759 | cont.Parent = CMDbar | |
10760 | cont.ZIndex = 5 | |
10761 | cont.Active = true | |
10762 | dragGUI(cont) | |
10763 | cmdBAR.Name = "CMDbar" | |
10764 | cmdBAR.Parent = cont | |
10765 | cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
10766 | cmdBAR.BackgroundTransparency = 0.7 | |
10767 | cmdBAR.BorderColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
10768 | cmdBAR.BorderSizePixel = 0 | |
10769 | cmdBAR.Position = UDim2.new(0, 10, 1, -35) | |
10770 | cmdBAR.Size = UDim2.new(0, 250, 0, 25) | |
10771 | cmdBAR.Font = Enum.Font.SourceSans | |
10772 | cmdBAR.FontSize = Enum.FontSize.Size18 | |
10773 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
10774 | cmdBAR.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
10775 | cmdBAR.ZIndex = 5 | |
10776 | DATA = Instance.new('Folder', game.ContextActionService) | |
10777 | DATA.Name = 'Data' | |
10778 | Paper = Instance.new('BlockMesh', DATA) | |
10779 | Paper.Name = 'Paper' | |
10780 | Paper.Scale = Vector3.new(1,1,0.1) | |
10781 | ayylmao = Instance.new('Hat', DATA) | |
10782 | ayylmao.Name = 'ayylmao' | |
10783 | ayyHandle = Instance.new('Part', ayylmao) | |
10784 | ayyHandle.Name = 'Handle' | |
10785 | ayyHandle.Size = Vector3.new(2,2.4,2) | |
10786 | ayyHandle.FormFactor = 'Plate' | |
10787 | ayyMesh = Instance.new('SpecialMesh', ayyHandle) | |
10788 | ayyMesh.Scale = Vector3.new(1,1.02,1) | |
10789 | ayyMesh.MeshType = 'FileMesh' | |
10790 | ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689' | |
10791 | ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796' | |
10792 | Float = Instance.new('Part', DATA) | |
10793 | Float.Name = 'Float' | |
10794 | Float.Transparency = 1 | |
10795 | Float.Size = Vector3.new(6,1,6) | |
10796 | Float.Anchored = true | |
10797 | function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end | |
10798 | missile = Instance.new('Part', DATA) | |
10799 | missile.Name = 'IY_missile' | |
10800 | missile.CanCollide = false | |
10801 | missile.Size = Vector3.new(2, 5, 2) | |
10802 | Instance.new('CylinderMesh', missile) | |
10803 | local F = Instance.new('Part', missile) | |
10804 | F.BrickColor = BrickColor.new('Black') | |
10805 | F.CanCollide = false | |
10806 | F.Size = Vector3.new(2, 0.2, 2) | |
10807 | Instance.new('CylinderMesh', F) | |
10808 | local fire = Instance.new('Fire', F) | |
10809 | fire.Size = "15" | |
10810 | fire.Heat = "25" | |
10811 | local head = Instance.new('Part', missile) | |
10812 | head.CanCollide = false | |
10813 | head.Shape = 'Ball' | |
10814 | head.Size = Vector3.new(2, 2, 2) | |
10815 | head.TopSurface = 'Smooth' | |
10816 | head.BottomSurface = 'Smooth' | |
10817 | local BF = Instance.new('BodyForce', missile) | |
10818 | BF.Name = 'force' | |
10819 | BF.Force = Vector3.new(0, 0, 0) | |
10820 | local W1 = Instance.new('Weld', missile) | |
10821 | W1.Part0 = missile | |
10822 | W1.Part1 = F | |
10823 | W1.C1 = CFrame.new(0, 2.6, 0) | |
10824 | local W2 = Instance.new('Weld', missile) | |
10825 | W2.Part0 = missile | |
10826 | W2.Part1 = head | |
10827 | W2.C1 = CFrame.new(0, -2.6, 0) | |
10828 | jail = Instance.new('Model', DATA) | |
10829 | jail.Name = 'JAIL' | |
10830 | local B = Instance.new('Part', jail) | |
10831 | B.Name = 'BUTTOM' | |
10832 | B.BrickColor = BrickColor.new('Black') | |
10833 | B.Transparency = 0.5 | |
10834 | B.Anchored = true | |
10835 | B.Locked = true | |
10836 | B.Size = Vector3.new(6, 1, 6) | |
10837 | B.TopSurface = 'Smooth' | |
10838 | B.BottomSurface = 'Smooth' | |
10839 | local M = Instance.new('Part', jail) | |
10840 | M.Name = 'MAIN' | |
10841 | M.BrickColor = BrickColor.new('Black') | |
10842 | M.Transparency = 1 | |
10843 | M.Anchored = true | |
10844 | M.CanCollide = false | |
10845 | M.Locked = true | |
10846 | M.Position = B.Position + Vector3.new(0, 3, 0) | |
10847 | M.Size = Vector3.new(1, 1, 1) | |
10848 | local P1 = Instance.new('Part', jail) | |
10849 | P1.BrickColor = BrickColor.new('Black') | |
10850 | P1.Transparency = 0.5 | |
10851 | P1.Position = B.Position + Vector3.new(0, 3.5, -2.5) | |
10852 | P1.Rotation = Vector3.new(0, 90, 0) | |
10853 | P1.Anchored = true | |
10854 | P1.Locked = true | |
10855 | P1.Size = Vector3.new(1, 6, 6) | |
10856 | local P2 = Instance.new('Part', jail) | |
10857 | P2.BrickColor = BrickColor.new('Black') | |
10858 | P2.Transparency = 0.5 | |
10859 | P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0) | |
10860 | P2.Rotation = Vector3.new(-180, 0, -180) | |
10861 | P2.Anchored = true | |
10862 | P2.Locked = true | |
10863 | P2.Size = Vector3.new(1, 6, 4) | |
10864 | local P3 = Instance.new('Part', jail) | |
10865 | P3.BrickColor = BrickColor.new('Black') | |
10866 | P3.Transparency = 0.5 | |
10867 | P3.Position = B.Position + Vector3.new(2.5, 3.5, 0) | |
10868 | P3.Rotation = Vector3.new(0, 0, 0) | |
10869 | P3.Anchored = true | |
10870 | P3.Locked = true | |
10871 | P3.Size = Vector3.new(1, 6, 4) | |
10872 | local P4 = Instance.new('Part', jail) | |
10873 | P4.BrickColor = BrickColor.new('Black') | |
10874 | P4.Transparency = 0.5 | |
10875 | P4.Position = B.Position + Vector3.new(0, 3.5, 2.5) | |
10876 | P4.Rotation = Vector3.new(0, 90, 0) | |
10877 | P4.Anchored = true | |
10878 | P4.Locked = true | |
10879 | P4.Size = Vector3.new(1, 6, 6) | |
10880 | local TOP = Instance.new('Part', jail) | |
10881 | TOP.BrickColor = BrickColor.new('Black') | |
10882 | TOP.Transparency = 0.5 | |
10883 | TOP.Position = B.Position + Vector3.new(0, 7, 0) | |
10884 | TOP.Rotation = Vector3.new(0, 0, 0) | |
10885 | TOP.Anchored = true | |
10886 | TOP.Locked = true | |
10887 | TOP.Size = Vector3.new(6, 1, 6) | |
10888 | TOP.TopSurface = 'Smooth' | |
10889 | TOP.BottomSurface = 'Smooth' | |
10890 | cp = Instance.new("ScreenGui") | |
10891 | local Frame = Instance.new("Frame") | |
10892 | local holder = Instance.new("Frame") | |
10893 | bar = Instance.new("Frame") | |
10894 | local cmds = Instance.new("TextButton") | |
10895 | local settings = Instance.new("TextButton") | |
10896 | local Hide = Instance.new("TextButton") | |
10897 | local Exit = Instance.new("TextButton") | |
10898 | FeedbackMain = Instance.new("Frame") | |
10899 | local Title = Instance.new("TextLabel") | |
10900 | local checkboxText = Instance.new("TextLabel") | |
10901 | local CheckBox = Instance.new("ImageButton") | |
10902 | local bindInput = Instance.new("TextButton") | |
10903 | Input = Instance.new("TextBox") | |
10904 | local preText = Instance.new("TextLabel") | |
10905 | local setpre = Instance.new("TextButton") | |
10906 | local everyone = Instance.new("TextButton") | |
10907 | local JLtext = Instance.new("TextLabel") | |
10908 | local CheckBoxJL = Instance.new("ImageButton") | |
10909 | local friends = Instance.new("TextButton") | |
10910 | local InputBox = Instance.new("TextButton") | |
10911 | Input_2 = Instance.new("TextBox") | |
10912 | local MTText = Instance.new("TextLabel") | |
10913 | local setMT = Instance.new("TextButton") | |
10914 | local CheckBoxS = Instance.new("ImageButton") | |
10915 | local slocktext = Instance.new("TextLabel") | |
10916 | local barBind = Instance.new("TextLabel") | |
10917 | local setBind = Instance.new("TextButton") | |
10918 | local MtimeInput = Instance.new("TextButton") | |
10919 | Input_3 = Instance.new("TextBox") | |
10920 | local size = Instance.new("Frame") | |
10921 | MAIN = Instance.new("Frame") | |
10922 | local Title_2 = Instance.new("TextLabel") | |
10923 | local Example = Instance.new("TextLabel") | |
10924 | local Search = Instance.new("TextBox") | |
10925 | local CMDss = Instance.new("ScrollingFrame") | |
10926 | local uicolortext = Instance.new("TextLabel") | |
10927 | local openC = Instance.new("TextButton") | |
10928 | cp.Name = "cp" | |
10929 | cp.Parent = DATA | |
10930 | Frame.Parent = cp | |
10931 | Frame.Active = true | |
10932 | Frame.BackgroundColor3 = Color3.new(1, 1, 1) | |
10933 | Frame.BackgroundTransparency = 1 | |
10934 | Frame.Position = UDim2.new(1, -300, 1, -330) | |
10935 | Frame.Size = UDim2.new(0, 300, 0, 40) | |
10936 | holder.Name = "holder" | |
10937 | holder.Parent = Frame | |
10938 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
10939 | holder.BackgroundTransparency = 1 | |
10940 | holder.BorderSizePixel = 2 | |
10941 | holder.ClipsDescendants = true | |
10942 | holder.Size = UDim2.new(0, 300, 0, 330) | |
10943 | holder.ZIndex = 2 | |
10944 | bar.Name = "bar" | |
10945 | bar.Parent = holder | |
10946 | bar.BackgroundColor3 = maincolor | |
10947 | bar.BackgroundTransparency = 0.30000001192093 | |
10948 | bar.BorderColor3 = Color3.new(0, 0, 0) | |
10949 | bar.BorderSizePixel = 0 | |
10950 | bar.Position = UDim2.new(1, -295, 1, -330) | |
10951 | bar.Size = UDim2.new(0, 290, 0, 26) | |
10952 | cmds.Name = "cmds" | |
10953 | cmds.Parent = bar | |
10954 | cmds.BackgroundColor3 = Color3.new(0, 0, 0) | |
10955 | cmds.BackgroundTransparency = 0.80000001192093 | |
10956 | cmds.BorderColor3 = Color3.new(1, 1, 1) | |
10957 | cmds.Position = UDim2.new(0, 3, 0, 3) | |
10958 | cmds.Size = UDim2.new(0, 70, 0, 20) | |
10959 | cmds.Font = Enum.Font.SourceSans | |
10960 | cmds.FontSize = Enum.FontSize.Size14 | |
10961 | cmds.Text = "Commands" | |
10962 | cmds.TextColor3 = Color3.new(1, 1, 1) | |
10963 | settings.Name = "settings" | |
10964 | settings.Parent = bar | |
10965 | settings.BackgroundColor3 = Color3.new(0, 0, 0) | |
10966 | settings.BackgroundTransparency = 0.80000001192093 | |
10967 | settings.BorderColor3 = Color3.new(1, 1, 1) | |
10968 | settings.Position = UDim2.new(0, 77, 0, 3) | |
10969 | settings.Size = UDim2.new(0, 70, 0, 20) | |
10970 | settings.Font = Enum.Font.SourceSans | |
10971 | settings.FontSize = Enum.FontSize.Size14 | |
10972 | settings.Text = "Settings" | |
10973 | settings.TextColor3 = Color3.new(1, 1, 1) | |
10974 | Hide.Name = "Hide" | |
10975 | Hide.Parent = bar | |
10976 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
10977 | Hide.BackgroundTransparency = 0.30000001192093 | |
10978 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
10979 | Hide.BorderSizePixel = 0 | |
10980 | Hide.Position = UDim2.new(0, 243, 0, 3) | |
10981 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
10982 | Hide.FontSize = Enum.FontSize.Size14 | |
10983 | Hide.Text = "" | |
10984 | Exit.Name = "Exit" | |
10985 | Exit.Parent = bar | |
10986 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
10987 | Exit.BackgroundTransparency = 0.30000001192093 | |
10988 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
10989 | Exit.BorderSizePixel = 0 | |
10990 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
10991 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
10992 | Exit.FontSize = Enum.FontSize.Size14 | |
10993 | Exit.Text = "" | |
10994 | FeedbackMain.Name = "FeedbackMain" | |
10995 | FeedbackMain.Parent = holder | |
10996 | FeedbackMain.BackgroundColor3 = maincolor | |
10997 | FeedbackMain.BackgroundTransparency = 0.5 | |
10998 | FeedbackMain.BorderColor3 = Color3.new(0, 0, 0) | |
10999 | FeedbackMain.BorderSizePixel = 0 | |
11000 | FeedbackMain.Position = UDim2.new(1.01999998, -301, 1.01800001, -310) | |
11001 | FeedbackMain.Size = UDim2.new(0, 290, 0, 300) | |
11002 | Title.Name = "Title" | |
11003 | Title.Parent = FeedbackMain | |
11004 | Title.BackgroundColor3 = Color3.new(1, 1, 1) | |
11005 | Title.BackgroundTransparency = 1 | |
11006 | Title.Size = UDim2.new(1, 0, 0, 30) | |
11007 | Title.Font = Enum.Font.SourceSansBold | |
11008 | Title.FontSize = Enum.FontSize.Size24 | |
11009 | Title.Text = "Settings" | |
11010 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11011 | Title.TextStrokeTransparency = 0 | |
11012 | checkboxText.Name = "checkboxText" | |
11013 | checkboxText.Parent = FeedbackMain | |
11014 | checkboxText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11015 | checkboxText.BackgroundTransparency = 1 | |
11016 | checkboxText.Position = UDim2.new(0, 0, 0, 60) | |
11017 | checkboxText.Size = UDim2.new(1, 0, 0, 30) | |
11018 | checkboxText.Font = Enum.Font.SourceSansBold | |
11019 | checkboxText.FontSize = Enum.FontSize.Size18 | |
11020 | checkboxText.Text = " Suggestions" | |
11021 | checkboxText.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471) | |
11022 | checkboxText.TextStrokeTransparency = 0 | |
11023 | checkboxText.TextXAlignment = Enum.TextXAlignment.Left | |
11024 | CheckBox.Name = "CheckBox" | |
11025 | CheckBox.Parent = FeedbackMain | |
11026 | CheckBox.BackgroundTransparency = 1 | |
11027 | CheckBox.Position = UDim2.new(0, 240, 0, 60) | |
11028 | CheckBox.Size = UDim2.new(0, 30, 0, 30) | |
11029 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
11030 | bindInput.Name = "bindInput" | |
11031 | bindInput.Parent = FeedbackMain | |
11032 | bindInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
11033 | bindInput.Position = UDim2.new(0, 187, 0, 260) | |
11034 | bindInput.Size = UDim2.new(0, 30, 0, 30) | |
11035 | bindInput.AutoButtonColor = false | |
11036 | bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11037 | bindInput.Font = Enum.Font.SourceSans | |
11038 | bindInput.FontSize = Enum.FontSize.Size14 | |
11039 | bindInput.Text = "" | |
11040 | Input.Name = "Input" | |
11041 | Input.Parent = bindInput | |
11042 | Input.BackgroundColor3 = Color3.new(1, 1, 1) | |
11043 | Input.BackgroundTransparency = 1 | |
11044 | Input.Position = UDim2.new(0, -8, 0, -8) | |
11045 | Input.Size = UDim2.new(0, 20, 0, 20) | |
11046 | Input.Font = Enum.Font.SourceSansBold | |
11047 | Input.FontSize = Enum.FontSize.Size18 | |
11048 | Input.MultiLine = true | |
11049 | Input.Text = ";" | |
11050 | Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11051 | Input.TextWrapped = true | |
11052 | Input.TextYAlignment = Enum.TextYAlignment.Top | |
11053 | preText.Name = "preText" | |
11054 | preText.Parent = FeedbackMain | |
11055 | preText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11056 | preText.BackgroundTransparency = 1 | |
11057 | preText.Position = UDim2.new(0, 0, 0, 140) | |
11058 | preText.Size = UDim2.new(1, 0, 0, 30) | |
11059 | preText.Font = Enum.Font.SourceSansBold | |
11060 | preText.FontSize = Enum.FontSize.Size18 | |
11061 | preText.Text = " Prefix" | |
11062 | preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11063 | preText.TextStrokeTransparency = 0 | |
11064 | preText.TextXAlignment = Enum.TextXAlignment.Left | |
11065 | setpre.Name = "setpre" | |
11066 | setpre.Parent = FeedbackMain | |
11067 | setpre.BackgroundColor3 = Color3.new(1, 1, 1) | |
11068 | setpre.BorderSizePixel = 5 | |
11069 | setpre.Position = UDim2.new(0, 235, 0, 142) | |
11070 | setpre.Size = UDim2.new(0, 40, 0, 25) | |
11071 | setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11072 | setpre.Font = Enum.Font.ArialBold | |
11073 | setpre.FontSize = Enum.FontSize.Size18 | |
11074 | setpre.Text = "Set" | |
11075 | everyone.Name = "everyone" | |
11076 | everyone.Parent = FeedbackMain | |
11077 | everyone.BackgroundColor3 = Color3.new(0, 0, 0) | |
11078 | everyone.BackgroundTransparency = 0.80000001192093 | |
11079 | everyone.BorderColor3 = Color3.new(0, 0, 0) | |
11080 | everyone.Position = UDim2.new(0, 230, 0, 237) | |
11081 | everyone.Size = UDim2.new(0, 50, 0, 20) | |
11082 | everyone.Font = Enum.Font.SourceSans | |
11083 | everyone.FontSize = Enum.FontSize.Size14 | |
11084 | everyone.Text = "Everyone" | |
11085 | everyone.TextColor3 = Color3.new(1, 1, 1) | |
11086 | JLtext.Name = "JLtext" | |
11087 | JLtext.Parent = FeedbackMain | |
11088 | JLtext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11089 | JLtext.BackgroundTransparency = 1 | |
11090 | JLtext.Position = UDim2.new(0, 0, 0, 220) | |
11091 | JLtext.Size = UDim2.new(1, 0, 0, 30) | |
11092 | JLtext.Font = Enum.Font.SourceSansBold | |
11093 | JLtext.FontSize = Enum.FontSize.Size18 | |
11094 | JLtext.Text = " Joined/Left Notifications" | |
11095 | JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11096 | JLtext.TextStrokeTransparency = 0 | |
11097 | JLtext.TextXAlignment = Enum.TextXAlignment.Left | |
11098 | CheckBoxJL.Name = "CheckBoxJL" | |
11099 | CheckBoxJL.Parent = FeedbackMain | |
11100 | CheckBoxJL.BackgroundTransparency = 1 | |
11101 | CheckBoxJL.Position = UDim2.new(0, 187, 0, 220) | |
11102 | CheckBoxJL.Size = UDim2.new(0, 30, 0, 30) | |
11103 | CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641" | |
11104 | friends.Name = "friends" | |
11105 | friends.Parent = FeedbackMain | |
11106 | friends.BackgroundColor3 = Color3.new(0, 0, 0) | |
11107 | friends.BackgroundTransparency = 0.80000001192093 | |
11108 | friends.BorderColor3 = Color3.new(1, 1, 1) | |
11109 | friends.Position = UDim2.new(0, 230, 0, 215) | |
11110 | friends.Size = UDim2.new(0, 50, 0, 20) | |
11111 | friends.Font = Enum.Font.SourceSans | |
11112 | friends.FontSize = Enum.FontSize.Size14 | |
11113 | friends.Text = "Friends" | |
11114 | friends.TextColor3 = Color3.new(1, 1, 1) | |
11115 | InputBox.Name = "InputBox" | |
11116 | InputBox.Parent = FeedbackMain | |
11117 | InputBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
11118 | InputBox.Position = UDim2.new(0, 187, 0, 140) | |
11119 | InputBox.Size = UDim2.new(0, 30, 0, 30) | |
11120 | InputBox.AutoButtonColor = false | |
11121 | InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11122 | InputBox.Font = Enum.Font.SourceSans | |
11123 | InputBox.FontSize = Enum.FontSize.Size14 | |
11124 | InputBox.Text = "" | |
11125 | Input_2.Name = "Input" | |
11126 | Input_2.Parent = InputBox | |
11127 | Input_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
11128 | Input_2.BackgroundTransparency = 1 | |
11129 | Input_2.Position = UDim2.new(0, -8, 0, -8) | |
11130 | Input_2.Size = UDim2.new(0, 20, 0, 20) | |
11131 | Input_2.Font = Enum.Font.SourceSansBold | |
11132 | Input_2.FontSize = Enum.FontSize.Size18 | |
11133 | Input_2.MultiLine = true | |
11134 | Input_2.Text = ";" | |
11135 | Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11136 | Input_2.TextWrapped = true | |
11137 | Input_2.TextYAlignment = Enum.TextYAlignment.Top | |
11138 | MTText.Name = "MTText" | |
11139 | MTText.Parent = FeedbackMain | |
11140 | MTText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11141 | MTText.BackgroundTransparency = 1 | |
11142 | MTText.Position = UDim2.new(0, 0, 0, 180) | |
11143 | MTText.Size = UDim2.new(1, 0, 0, 30) | |
11144 | MTText.Font = Enum.Font.SourceSansBold | |
11145 | MTText.FontSize = Enum.FontSize.Size18 | |
11146 | MTText.Text = " Message Seconds" | |
11147 | MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11148 | MTText.TextStrokeTransparency = 0 | |
11149 | MTText.TextXAlignment = Enum.TextXAlignment.Left | |
11150 | setMT.Name = "setMT" | |
11151 | setMT.Parent = FeedbackMain | |
11152 | setMT.BackgroundColor3 = Color3.new(1, 1, 1) | |
11153 | setMT.BorderSizePixel = 5 | |
11154 | setMT.Position = UDim2.new(0, 235, 0, 183) | |
11155 | setMT.Size = UDim2.new(0, 40, 0, 25) | |
11156 | setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11157 | setMT.Font = Enum.Font.ArialBold | |
11158 | setMT.FontSize = Enum.FontSize.Size18 | |
11159 | setMT.Text = "Set" | |
11160 | CheckBoxS.Name = "CheckBoxS" | |
11161 | CheckBoxS.Parent = FeedbackMain | |
11162 | CheckBoxS.BackgroundTransparency = 1 | |
11163 | CheckBoxS.Position = UDim2.new(0, 240, 0, 100) | |
11164 | CheckBoxS.Size = UDim2.new(0, 30, 0, 30) | |
11165 | CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641" | |
11166 | slocktext.Name = "slocktext" | |
11167 | slocktext.Parent = FeedbackMain | |
11168 | slocktext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11169 | slocktext.BackgroundTransparency = 1 | |
11170 | slocktext.Position = UDim2.new(0, 0, 0, 100) | |
11171 | slocktext.Size = UDim2.new(1, 0, 0, 30) | |
11172 | slocktext.Font = Enum.Font.SourceSansBold | |
11173 | slocktext.FontSize = Enum.FontSize.Size18 | |
11174 | slocktext.Text = " Allow Friends On Serverlock" | |
11175 | slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11176 | slocktext.TextStrokeTransparency = 0 | |
11177 | slocktext.TextXAlignment = Enum.TextXAlignment.Left | |
11178 | barBind.Name = "barBind" | |
11179 | barBind.Parent = FeedbackMain | |
11180 | barBind.BackgroundColor3 = Color3.new(1, 1, 1) | |
11181 | barBind.BackgroundTransparency = 1 | |
11182 | barBind.Position = UDim2.new(0, 0, 0, 260) | |
11183 | barBind.Size = UDim2.new(1, 0, 0, 30) | |
11184 | barBind.Font = Enum.Font.SourceSansBold | |
11185 | barBind.FontSize = Enum.FontSize.Size18 | |
11186 | barBind.Text = " Command Bar Keybind" | |
11187 | barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11188 | barBind.TextStrokeTransparency = 0 | |
11189 | barBind.TextXAlignment = Enum.TextXAlignment.Left | |
11190 | setBind.Name = "setBind" | |
11191 | setBind.Parent = FeedbackMain | |
11192 | setBind.BackgroundColor3 = Color3.new(1, 1, 1) | |
11193 | setBind.BorderSizePixel = 5 | |
11194 | setBind.Position = UDim2.new(0, 235, 0, 262) | |
11195 | setBind.Size = UDim2.new(0, 40, 0, 25) | |
11196 | setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11197 | setBind.Font = Enum.Font.ArialBold | |
11198 | setBind.FontSize = Enum.FontSize.Size18 | |
11199 | setBind.Text = "Set" | |
11200 | MtimeInput.Name = "MtimeInput" | |
11201 | MtimeInput.Parent = FeedbackMain | |
11202 | MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
11203 | MtimeInput.Position = UDim2.new(0, 187, 0, 180) | |
11204 | MtimeInput.Size = UDim2.new(0, 30, 0, 30) | |
11205 | MtimeInput.AutoButtonColor = false | |
11206 | MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11207 | MtimeInput.Font = Enum.Font.SourceSans | |
11208 | MtimeInput.FontSize = Enum.FontSize.Size14 | |
11209 | MtimeInput.Text = "" | |
11210 | Input_3.Name = "Input" | |
11211 | Input_3.Parent = MtimeInput | |
11212 | Input_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
11213 | Input_3.BackgroundTransparency = 1 | |
11214 | Input_3.Position = UDim2.new(0, -8, 0, -8) | |
11215 | Input_3.Size = UDim2.new(0, 20, 0, 20) | |
11216 | Input_3.Font = Enum.Font.SourceSansBold | |
11217 | Input_3.FontSize = Enum.FontSize.Size18 | |
11218 | Input_3.MultiLine = true | |
11219 | Input_3.Text = "7" | |
11220 | Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11221 | Input_3.TextWrapped = true | |
11222 | Input_3.TextYAlignment = Enum.TextYAlignment.Top | |
11223 | uicolortext.Name = "uicolortext" | |
11224 | uicolortext.Parent = FeedbackMain | |
11225 | uicolortext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11226 | uicolortext.BackgroundTransparency = 1 | |
11227 | uicolortext.Position = UDim2.new(0, 0, 0, 30) | |
11228 | uicolortext.Size = UDim2.new(1, 0, 0, 30) | |
11229 | uicolortext.Font = Enum.Font.SourceSansBold | |
11230 | uicolortext.FontSize = Enum.FontSize.Size18 | |
11231 | uicolortext.Text = " UI Color" | |
11232 | uicolortext.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471) | |
11233 | uicolortext.TextStrokeTransparency = 0 | |
11234 | uicolortext.TextXAlignment = Enum.TextXAlignment.Left | |
11235 | openC.Name = "openC" | |
11236 | openC.Parent = FeedbackMain | |
11237 | openC.BackgroundColor3 = Color3.new(1, 1, 1) | |
11238 | openC.BorderSizePixel = 5 | |
11239 | openC.Position = UDim2.new(0, 235, 0, 32) | |
11240 | openC.Size = UDim2.new(0, 40, 0, 25) | |
11241 | openC.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11242 | openC.Font = Enum.Font.ArialBold | |
11243 | openC.FontSize = Enum.FontSize.Size18 | |
11244 | openC.Text = "Set" | |
11245 | size.Name = "size" | |
11246 | size.Parent = holder | |
11247 | size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11248 | size.BackgroundTransparency = 1 | |
11249 | size.Position = UDim2.new(1, -301, 1, -300) | |
11250 | size.Size = UDim2.new(0, 275, 0, 300) | |
11251 | size.ZIndex = 2 | |
11252 | MAIN.Name = "MAIN" | |
11253 | MAIN.Parent = size | |
11254 | MAIN.BackgroundColor3 = maincolor | |
11255 | MAIN.BackgroundTransparency = 0.5 | |
11256 | MAIN.BorderColor3 = Color3.new(0, 0, 0) | |
11257 | MAIN.BorderSizePixel = 0 | |
11258 | MAIN.Position = UDim2.new(0.0181818176, 1, 1.00333333, -305) | |
11259 | MAIN.Size = UDim2.new(0, 290, 0, 300) | |
11260 | Title_2.Name = "Title" | |
11261 | Title_2.Parent = MAIN | |
11262 | Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11263 | Title_2.BackgroundTransparency = 1 | |
11264 | Title_2.Size = UDim2.new(1, 0, 0, 30) | |
11265 | Title_2.Font = Enum.Font.SourceSansBold | |
11266 | Title_2.FontSize = Enum.FontSize.Size24 | |
11267 | Title_2.Text = "Commands" | |
11268 | Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11269 | Title_2.TextStrokeTransparency = 0 | |
11270 | Example.Name = "Example" | |
11271 | Example.Parent = MAIN | |
11272 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11273 | Example.BackgroundTransparency = 1 | |
11274 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11275 | Example.BorderSizePixel = 0 | |
11276 | Example.Size = UDim2.new(0, 190, 0, 20) | |
11277 | Example.Visible = false | |
11278 | Example.Font = Enum.Font.SourceSansBold | |
11279 | Example.TextSize = 20 | |
11280 | Example.Text = "txt" | |
11281 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
11282 | Example.TextStrokeTransparency = 0 | |
11283 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
11284 | Example.ZIndex = 6 | |
11285 | Search.Name = "Search" | |
11286 | Search.Parent = MAIN | |
11287 | Search.BackgroundColor3 = Color3.new(0, 0, 0) | |
11288 | Search.BackgroundTransparency = 0.69999998807907 | |
11289 | Search.BorderColor3 = Color3.new(1, 1, 1) | |
11290 | Search.Position = UDim2.new(0.5, -127, 0.200000003, -25) | |
11291 | Search.Size = UDim2.new(0, 250, 0, 20) | |
11292 | Search.ClearTextOnFocus = false | |
11293 | Search.Font = Enum.Font.SourceSansBold | |
11294 | Search.FontSize = Enum.FontSize.Size18 | |
11295 | Search.Text = "Search" | |
11296 | Search.TextColor3 = Color3.new(1, 1, 1) | |
11297 | Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824) | |
11298 | Search.TextStrokeTransparency = 0 | |
11299 | CMDss.Name = "CMDs" | |
11300 | CMDss.Parent = MAIN | |
11301 | CMDss.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11302 | CMDss.BackgroundTransparency = 1 | |
11303 | CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11304 | CMDss.BorderSizePixel = 0 | |
11305 | CMDss.Position = UDim2.new(0, 10, 0, 65) | |
11306 | CMDss.Size = UDim2.new(0, 280, 0, 230) | |
11307 | CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11308 | CMDss.CanvasSize = UDim2.new(0, 0, 0, 5260) | |
11309 | CMDss.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11310 | CMDss.ScrollBarThickness = 8 | |
11311 | CMDss.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11312 | notifyMAIN = Instance.new('ScreenGui', DATA) | |
11313 | notifyMAIN.Name = 'Notification' | |
11314 | notifyNOT = Instance.new('Frame', notifyMAIN) | |
11315 | notifyNOT.Name = 'NOTIFY' | |
11316 | notifyNOT.BackgroundColor = BrickColor.new(0,0,0) | |
11317 | notifyNOT.BackgroundTransparency = 1 | |
11318 | notifyNOT.BorderColor = BrickColor.new(0,0,0) | |
11319 | notifyNOT.BorderSizePixel = 2 | |
11320 | notifyNOT.Position = UDim2.new(0,0,-0.06,0) | |
11321 | notifyNOT.Size = UDim2.new(1,0,0,-40) | |
11322 | notifyNOTE = Instance.new('TextLabel', notifyNOT) | |
11323 | notifyNOTE.Name = 'NOTE' | |
11324 | notifyNOTE.BackgroundColor = BrickColor.new(255,255,255) | |
11325 | notifyNOTE.BackgroundTransparency = 1 | |
11326 | notifyNOTE.BorderColor = BrickColor.new(255,255,255) | |
11327 | notifyNOTE.BorderSizePixel = 0 | |
11328 | notifyNOTE.Size = UDim2.new(1,0,1,0) | |
11329 | notifyNOTE.ZIndex = 4 | |
11330 | notifyNOTE.FontSize = 'Size18' | |
11331 | notifyNOTE.Font = 'SourceSansBold' | |
11332 | notifyNOTE.Text = 'NOTIFY' | |
11333 | notifyNOTE.TextColor = BrickColor.new(255,255,255) | |
11334 | notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0) | |
11335 | notifyNOTE.TextStrokeTransparency = 0.8 | |
11336 | ||
11337 | addcmd('ayylmao','ayy lmao',{'alien'}, | |
11338 | function(args, speaker) | |
11339 | local players = getPlayer(args[1], speaker) | |
11340 | for i,v in pairs(players)do | |
11341 | local pchar = gPlayers[v].Character | |
11342 | if pchar:FindFirstChild("Shirt") then | |
11343 | pchar.Shirt:Destroy() | |
11344 | end | |
11345 | if pchar:FindFirstChild("Pants") then | |
11346 | pchar.Pants:Destroy() | |
11347 | end | |
11348 | if pchar:FindFirstChild("Shirt Graphic") then | |
11349 | pchar["Shirt Graphic"].Graphic = "" | |
11350 | end | |
11351 | for i,v in pairs(pchar:GetChildren()) do | |
11352 | if v:IsA("Accessory") then | |
11353 | v:Destroy() | |
11354 | end | |
11355 | end | |
11356 | local ayylmao = DATA.ayylmao:Clone() | |
11357 | ayylmao.Parent = pchar | |
11358 | local BC = pchar["Body Colors"] | |
11359 | BC.HeadColor = BrickColor.new("Fossil") | |
11360 | BC.LeftArmColor = BrickColor.new("Fossil") | |
11361 | BC.LeftLegColor = BrickColor.new("Fossil") | |
11362 | BC.RightArmColor = BrickColor.new("Fossil") | |
11363 | BC.RightLegColor = BrickColor.new("Fossil") | |
11364 | BC.TorsoColor = BrickColor.new("Fossil") | |
11365 | end | |
11366 | end) | |
11367 | HKFolder = Instance.new("Folder", game.CoreGui) | |
11368 | for i,v in pairs(HK) do | |
11369 | local HKValue = Instance.new("StringValue", HKFolder) | |
11370 | HKValue.Value = v | |
11371 | HKValue.RobloxLocked = true | |
11372 | end | |
11373 | CMDsFolder = Instance.new("Folder", game.CoreGui) | |
11374 | for i,v in pairs(CMDs) do | |
11375 | local CMDsValue = Instance.new("StringValue", CMDsFolder) | |
11376 | CMDsValue.Value = v | |
11377 | CMDsValue.RobloxLocked = true | |
11378 | end | |
11379 | cmdOpen = false | |
11380 | function commands() | |
11381 | if cmdOpen == false then | |
11382 | cmdOpen = true | |
11383 | local cmds = cp:Clone() | |
11384 | cmds.Parent = game.CoreGui | |
11385 | local HKV = HKFolder:GetChildren() | |
11386 | local CMDsV = CMDsFolder:GetChildren() | |
11387 | dragGUI(cmds.Frame) | |
11388 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.01,true) wait(0.01) | |
11389 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11390 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) | |
11391 | SettingsGUI = game.CoreGui.cp.Frame.holder if Nfriends == true then | |
11392 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11393 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif Nfriends == false then | |
11394 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
11395 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
11396 | end | |
11397 | --joined/left friend option | |
11398 | SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() | |
11399 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11400 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) | |
11401 | Nfriends = true updatefile() | |
11402 | end) | |
11403 | SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() | |
11404 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
11405 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
11406 | Nfriends = false updatefile() | |
11407 | end) | |
11408 | -- Color mixer | |
11409 | SettingsGUI.FeedbackMain.openC.MouseButton1Click:Connect(function() | |
11410 | picker.ColorPicker.Visible = true picker.ColorPicker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11411 | end) | |
11412 | --Message time | |
11413 | SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function() | |
11414 | wait() | |
11415 | Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text | |
11416 | Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)') | |
11417 | updatefile() | |
11418 | end) | |
11419 | --CMDBAR keybind | |
11420 | SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function() | |
11421 | wait() | |
11422 | cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text | |
11423 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
11424 | Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' ) | |
11425 | updatefile() | |
11426 | end) | |
11427 | --Change prefix | |
11428 | SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function() | |
11429 | wait() | |
11430 | cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text | |
11431 | Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"') | |
11432 | updatefile() | |
11433 | end) | |
11434 | --Check Box for notify | |
11435 | checked = "http://www.roblox.com/asset/?id=65492641" | |
11436 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
11437 | if suggestionstoggle == true then | |
11438 | SettingsGUI.FeedbackMain.CheckBox.Image = checked else | |
11439 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end | |
11440 | SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function() | |
11441 | if suggestionstoggle == true then suggestionstoggle = false updatefile() | |
11442 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else | |
11443 | suggestionstoggle = true | |
11444 | updatefile() | |
11445 | SettingsGUI.FeedbackMain.CheckBox.Image = checked end end) | |
11446 | --Check Box for allow friends on serverlock | |
11447 | checked2 = "http://www.roblox.com/asset/?id=65492641" | |
11448 | unchecked2 = "http://www.roblox.com/asset/?id=65492651" | |
11449 | if allowfriends == true then | |
11450 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else | |
11451 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end | |
11452 | SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function() | |
11453 | if allowfriends == true then allowfriends = false updatefile() | |
11454 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else | |
11455 | allowfriends = true updatefile() | |
11456 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end) | |
11457 | --Check Box for JoinedLeft notifications | |
11458 | checked3 = "http://www.roblox.com/asset/?id=65492641" | |
11459 | unchecked3 = "http://www.roblox.com/asset/?id=65492651" | |
11460 | if JLnotify == true then | |
11461 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else | |
11462 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end | |
11463 | SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function() | |
11464 | if JLnotify == true then JLnotify = false updatefile() | |
11465 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 else JLnotify = true | |
11466 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 updatefile() | |
11467 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11468 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end) | |
11469 | cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function() | |
11470 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11471 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
11472 | cmds.Frame.holder.bar.Hide.Visible = true | |
11473 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end) | |
11474 | cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function() | |
11475 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) wait(0.1) | |
11476 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) wait(0.2) | |
11477 | cmds.Frame.holder.bar.Hide.Visible = true | |
11478 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end) | |
11479 | cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function() | |
11480 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quad",0.2,true) | |
11481 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,0.018,-310),"Out","Quad",0.2,true) wait(0.2) | |
11482 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quad",0.2,true) wait(0.2) | |
11483 | cmds.Frame.holder.bar.Hide.Visible = false end) | |
11484 | cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function() | |
11485 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11486 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.2,true) wait(0.3) | |
11487 | cmds:Destroy() cmdOpen = false end) | |
11488 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quad",0.2,true) | |
11489 | searchbar() | |
11490 | for i = 1, #HKV do | |
11491 | local YSize = 25 | |
11492 | local Position = ((i * YSize) - YSize) | |
11493 | local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone() | |
11494 | newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs | |
11495 | newcmd.Visible = true | |
11496 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11497 | newcmd.Text = "" .. HKV[i].Value | |
11498 | CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11499 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11500 | end | |
11501 | for i = 1, #CMDsV do | |
11502 | local YSize = 25 | |
11503 | local Position = ((i * YSize) - YSize) | |
11504 | local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone() | |
11505 | newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs | |
11506 | newcmd.Visible = true | |
11507 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11508 | newcmd.Text = "" .. CMDsV[i].Value | |
11509 | CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11510 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11511 | end | |
11512 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11513 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
11514 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
11515 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end end | |
11516 | ||
11517 | function searchbar() | |
11518 | local CSP = game.CoreGui.cp.Frame.holder.size.MAIN | |
11519 | local main = CSP | |
11520 | local frame = CSP:WaitForChild('CMDs') | |
11521 | local gui = CSP:WaitForChild('Search') | |
11522 | local focused = false | |
11523 | Match = function(name,str) | |
11524 | return name:lower():find(str:lower()) and true | |
11525 | end | |
11526 | gui.FocusLost:connect(function(enterpressed) | |
11527 | gui.Text = "Search" | |
11528 | end) | |
11529 | IndexContents = function(str,bool) | |
11530 | local Index,SizeY = 0,0 | |
11531 | for i,v in next, frame:GetChildren() do | |
11532 | if bool then | |
11533 | if Match(v.Text,str) then | |
11534 | Index = Index + 1 | |
11535 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
11536 | v.Visible = true | |
11537 | SizeY = SizeY + v.AbsoluteSize.Y | |
11538 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
11539 | else | |
11540 | v.Visible = false | |
11541 | end | |
11542 | else | |
11543 | v.Visible = true | |
11544 | SizeY = SizeY + v.AbsoluteSize.Y | |
11545 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
11546 | end | |
11547 | end | |
11548 | end | |
11549 | game:GetService('RunService').Stepped:connect(function() | |
11550 | if gui:IsFocused() and gui.Text == "Search" then | |
11551 | gui.Text = '' | |
11552 | end | |
11553 | end) | |
11554 | gui.Changed:connect(function() | |
11555 | if gui:IsFocused() then IndexContents(gui.Text,true) end | |
11556 | end) | |
11557 | ||
11558 | IndexContents('',true) | |
11559 | end | |
11560 | ||
11561 | function runwindow() | |
11562 | commands() | |
11563 | searchbar() | |
11564 | end | |
11565 | ||
11566 | addcmd('settings','opens settings window',{'toggles'}, | |
11567 | function(args, speaker) | |
11568 | if speaker.userId ~= LP.userId then | |
11569 | lponly(speaker) | |
11570 | else | |
11571 | runwindow() | |
11572 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) | |
11573 | wait(0.1) | |
11574 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) | |
11575 | wait(0.1) | |
11576 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
11577 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
11578 | end | |
11579 | end) | |
11580 | ||
11581 | function movetab(speaker,PART) | |
11582 | game:GetService('RunService').Stepped:connect(function() | |
11583 | if PART ~= nil and speaker ~= nil and speaker.Character:FindFirstChild('HumanoidRootPart') then | |
11584 | PART.Locked = true | |
11585 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
11586 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
11587 | PART.CFrame = newcf end end) end | |
11588 | ||
11589 | hastab = {} | |
11590 | addcmd('tablet','opens tablet gui',{}, | |
11591 | function(args, speaker) | |
11592 | for _, child in pairs( workspace:GetChildren()) do | |
11593 | if child.Name == speaker.Name .. "TAB" then | |
11594 | child:Destroy() end end | |
11595 | game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1) | |
11596 | local GUI = Instance.new("SurfaceGui") | |
11597 | local holder = Instance.new("Frame") | |
11598 | local bar = Instance.new("Frame") | |
11599 | local Title = Instance.new("TextLabel") | |
11600 | local MAIN = Instance.new("Frame") | |
11601 | local Example = Instance.new("TextLabel") | |
11602 | local CMDs = Instance.new("ScrollingFrame") | |
11603 | local PART = Instance.new("Part") | |
11604 | PART.Name = speaker.Name .. 'TAB' | |
11605 | PART.Color = maincolor | |
11606 | PART.Size = Vector3.new(7, 7.8, 0.2) | |
11607 | PART.Transparency = 0 | |
11608 | PART.Locked = true | |
11609 | PART.CanCollide = false | |
11610 | PART.Parent = workspace | |
11611 | PART.Anchored = true | |
11612 | PART.Material = "Neon" | |
11613 | local GUI = Instance.new("SurfaceGui") | |
11614 | local holder = Instance.new("Frame") | |
11615 | local bar = Instance.new("Frame") | |
11616 | local Title = Instance.new("TextLabel") | |
11617 | local MAIN = Instance.new("Frame") | |
11618 | local Example = Instance.new("TextLabel") | |
11619 | local CMDs = Instance.new("ScrollingFrame") | |
11620 | GUI.Name = "GUI" | |
11621 | GUI.Parent = PART | |
11622 | GUI.CanvasSize = Vector2.new(500, 600) | |
11623 | GUI.Face = Enum.NormalId.Back | |
11624 | holder.Name = "holder" | |
11625 | holder.Parent = GUI | |
11626 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
11627 | holder.BackgroundTransparency = 1 | |
11628 | holder.BorderSizePixel = 2 | |
11629 | holder.Position = UDim2.new(0, 0, 0, 10) | |
11630 | holder.Size = UDim2.new(0, 300, 0, 330) | |
11631 | holder.ZIndex = 2 | |
11632 | bar.Name = "bar" | |
11633 | bar.Parent = holder | |
11634 | bar.BackgroundColor3 = Color3.new(0, 0, 0) | |
11635 | bar.BackgroundTransparency = 0.89999997615814 | |
11636 | bar.BorderSizePixel = 0 | |
11637 | bar.Position = UDim2.new(0, 10, 1, -330) | |
11638 | bar.Size = UDim2.new(0, 480, 0, 33) | |
11639 | Title.Name = "Title" | |
11640 | Title.Parent = bar | |
11641 | Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11642 | Title.BackgroundTransparency = 1 | |
11643 | Title.Size = UDim2.new(1, 0, 0, 30) | |
11644 | Title.Font = Enum.Font.SourceSansBold | |
11645 | Title.FontSize = Enum.FontSize.Size24 | |
11646 | Title.Text = "[Infinite Yield] Command List" | |
11647 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11648 | MAIN.Name = "MAIN" | |
11649 | MAIN.Parent = holder | |
11650 | MAIN.BackgroundColor3 = Color3.new(0, 0, 0) | |
11651 | MAIN.BackgroundTransparency = 0.89999997615814 | |
11652 | MAIN.BorderSizePixel = 0 | |
11653 | MAIN.Position = UDim2.new(0, 10, 1, -300) | |
11654 | MAIN.Size = UDim2.new(0, 480, 0, 550) | |
11655 | Example.Name = "Example" | |
11656 | Example.Parent = MAIN | |
11657 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11658 | Example.BackgroundTransparency = 1 | |
11659 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11660 | Example.BorderSizePixel = 0 | |
11661 | Example.Size = UDim2.new(0, 190, 0, 40) | |
11662 | Example.Visible = false | |
11663 | Example.Font = Enum.Font.SourceSansBold | |
11664 | Example.FontSize = Enum.FontSize.Size36 | |
11665 | Example.Text = "txt" | |
11666 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
11667 | Example.TextStrokeTransparency = 0 | |
11668 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
11669 | Example.ZIndex = 6 | |
11670 | CMDs.Name = "CMDs" | |
11671 | CMDs.Parent = MAIN | |
11672 | CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11673 | CMDs.BackgroundTransparency = 1 | |
11674 | CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11675 | CMDs.BorderSizePixel = 0 | |
11676 | CMDs.Size = UDim2.new(0, 480, 0, 550) | |
11677 | CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11678 | CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880) | |
11679 | CMDs.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11680 | CMDs.ScrollBarThickness = 15 | |
11681 | CMDs.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11682 | local CMDsV = CMDsFolder:GetChildren() | |
11683 | for i = 1, #CMDsV do | |
11684 | local YSize = 35 | |
11685 | local Position = ((i * YSize) - YSize) | |
11686 | local newcmd = Example:Clone() | |
11687 | newcmd.Parent = CMDs | |
11688 | newcmd.Visible = true | |
11689 | newcmd.Position = UDim2.new(0,10,0, Position + 1) | |
11690 | newcmd.Text = "" .. CMDsV[i].Value | |
11691 | CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end | |
11692 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
11693 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
11694 | PART.CFrame = newcf | |
11695 | speaker.Character.Humanoid.Died:connect(function() | |
11696 | PART:Destroy() end) | |
11697 | wait(1) | |
11698 | PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05) | |
11699 | PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05) | |
11700 | PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05) | |
11701 | if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end | |
11702 | table.insert(hastab, speaker.Name) movetab(speaker,PART) | |
11703 | end) | |
11704 | ||
11705 | function updatepositions() | |
11706 | if PList then | |
11707 | PList:ClearAllChildren() | |
11708 | PList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11709 | for i = 1, #WayPoints do | |
11710 | local YSize = 25 | |
11711 | local Position = ((i * YSize) - YSize) | |
11712 | local newcmd = Example:Clone() | |
11713 | newcmd.Parent = PList | |
11714 | newcmd.Visible = true | |
11715 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11716 | newcmd.Text = " " .. WayPoints[i].NAME .. ": " .. WayPoints[i].COORD[1] .. ", " .. WayPoints[i].COORD[2] .. ", " .. WayPoints[i].COORD[3] | |
11717 | PList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11718 | local goto = Instance.new("TextButton") | |
11719 | goto.Name = "goto" | |
11720 | goto.Parent = PList | |
11721 | goto.BackgroundColor3 = Color3.new(255, 255, 255) | |
11722 | goto.BackgroundTransparency = 0.30000001192093 | |
11723 | goto.BorderColor3 = Color3.new(1, 0, 0) | |
11724 | goto.BorderSizePixel = 0 | |
11725 | goto.Position = UDim2.new(0,-10,0, Position + 5) | |
11726 | goto.Size = UDim2.new(0, 20, 0, 20) | |
11727 | goto.FontSize = Enum.FontSize.Size14 | |
11728 | goto.Text = "" | |
11729 | goto.ZIndex = 6 | |
11730 | goto.MouseButton1Click:Connect(function() | |
11731 | execCmd("loadpos "..LP.Name.." "..WayPoints[i].NAME) | |
11732 | end) | |
11733 | end | |
11734 | end | |
11735 | end | |
11736 | ||
11737 | posopen = false | |
11738 | addcmd("positions","lists waypoints",{'pos'}, | |
11739 | function(args, speaker) | |
11740 | if posopen == false then | |
11741 | posopen = true | |
11742 | local Pos = Instance.new("ScreenGui") | |
11743 | local drag = Instance.new("Frame") | |
11744 | local PromptDialog = Instance.new("Frame") | |
11745 | local shadow = Instance.new("Frame") | |
11746 | local PopupText = Instance.new("TextLabel") | |
11747 | local Exit = Instance.new("TextButton") | |
11748 | local ContainerFrame = Instance.new("Frame") | |
11749 | PList = Instance.new("ScrollingFrame") | |
11750 | Pos.Name = "Pos" | |
11751 | Pos.Parent = game.CoreGui | |
11752 | drag.Name = "drag" | |
11753 | drag.Parent = Pos | |
11754 | drag.Active = true | |
11755 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
11756 | drag.BackgroundTransparency = 1 | |
11757 | dragGUI(drag) | |
11758 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
11759 | drag.Size = UDim2.new(0, 290, 0, 30) | |
11760 | PromptDialog.Name = "PromptDialog" | |
11761 | PromptDialog.Parent = drag | |
11762 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
11763 | PromptDialog.BackgroundTransparency = 1 | |
11764 | PromptDialog.BorderSizePixel = 0 | |
11765 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
11766 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
11767 | PromptDialog.ZIndex = 8 | |
11768 | shadow.Name = "shadow" | |
11769 | shadow.Parent = PromptDialog | |
11770 | shadow.BackgroundColor3 = maincolor | |
11771 | shadow.BackgroundTransparency = 0.30000001192093 | |
11772 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
11773 | shadow.BorderSizePixel = 0 | |
11774 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
11775 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
11776 | PopupText.Name = "PopupText" | |
11777 | PopupText.Parent = shadow | |
11778 | PopupText.BackgroundTransparency = 1 | |
11779 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
11780 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
11781 | PopupText.ZIndex = 110 | |
11782 | PopupText.Font = Enum.Font.SourceSansBold | |
11783 | PopupText.FontSize = Enum.FontSize.Size28 | |
11784 | PopupText.Text = "Positions" | |
11785 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
11786 | PopupText.TextStrokeTransparency = 0 | |
11787 | PopupText.TextWrapped = true | |
11788 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
11789 | Exit.Name = "Exit" | |
11790 | Exit.Parent = shadow | |
11791 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
11792 | Exit.BackgroundTransparency = 0.30000001192093 | |
11793 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
11794 | Exit.BorderSizePixel = 0 | |
11795 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
11796 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
11797 | Exit.FontSize = Enum.FontSize.Size14 | |
11798 | Exit.Text = "" | |
11799 | ContainerFrame.Name = "ContainerFrame" | |
11800 | ContainerFrame.Parent = PromptDialog | |
11801 | ContainerFrame.BackgroundColor3 = maincolor | |
11802 | ContainerFrame.BackgroundTransparency = 0.5 | |
11803 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
11804 | ContainerFrame.BorderSizePixel = 0 | |
11805 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
11806 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
11807 | ContainerFrame.ZIndex = 5 | |
11808 | PList.Name = "List" | |
11809 | PList.Parent = ContainerFrame | |
11810 | PList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11811 | PList.BackgroundTransparency = 1 | |
11812 | PList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11813 | PList.BorderSizePixel = 0 | |
11814 | PList.Position = UDim2.new(0, 10, 0, 5) | |
11815 | PList.Size = UDim2.new(0, 280, 0, 230) | |
11816 | PList.ZIndex = 6 | |
11817 | PList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11818 | PList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11819 | PList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11820 | PList.ScrollBarThickness = 8 | |
11821 | PList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11822 | updatepositions() | |
11823 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11824 | Exit.MouseButton1Click:Connect(function() | |
11825 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
11826 | wait(0.6) posopen = false Pos:Destroy() end) end | |
11827 | end) | |
11828 | ||
11829 | function updateadmins() | |
11830 | if AList then | |
11831 | AList:ClearAllChildren() | |
11832 | AList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11833 | for i = 1, #adminname do | |
11834 | local YSize = 25 | |
11835 | local Position = ((i * YSize) - YSize) | |
11836 | local newcmd = Example:Clone() | |
11837 | newcmd.Parent = AList | |
11838 | newcmd.Visible = true | |
11839 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11840 | newcmd.Text = adminname[i].NAME | |
11841 | AList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11842 | end | |
11843 | end | |
11844 | end | |
11845 | ||
11846 | adminsopen = false | |
11847 | adminname = {} | |
11848 | addcmd('admins','displays admins',{'adminlist'}, | |
11849 | function(args, speaker) | |
11850 | if speaker.userId ~= LP.userId then | |
11851 | lponly(speaker) else | |
11852 | if adminsopen == false then | |
11853 | adminsopen = true | |
11854 | local admins = Instance.new("ScreenGui") | |
11855 | local drag = Instance.new("Frame") | |
11856 | local PromptDialog = Instance.new("Frame") | |
11857 | local shadow = Instance.new("Frame") | |
11858 | local PopupText = Instance.new("TextLabel") | |
11859 | local Exit = Instance.new("TextButton") | |
11860 | local ContainerFrame = Instance.new("Frame") | |
11861 | AList = Instance.new("ScrollingFrame") | |
11862 | admins.Name = "Admins" | |
11863 | admins.Parent = game.CoreGui | |
11864 | drag.Name = "drag" | |
11865 | drag.Parent = admins | |
11866 | drag.Active = true | |
11867 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
11868 | drag.BackgroundTransparency = 1 | |
11869 | dragGUI(drag) | |
11870 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
11871 | drag.Size = UDim2.new(0, 290, 0, 30) | |
11872 | PromptDialog.Name = "PromptDialog" | |
11873 | PromptDialog.Parent = drag | |
11874 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
11875 | PromptDialog.BackgroundTransparency = 1 | |
11876 | PromptDialog.BorderSizePixel = 0 | |
11877 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
11878 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
11879 | PromptDialog.ZIndex = 8 | |
11880 | shadow.Name = "shadow" | |
11881 | shadow.Parent = PromptDialog | |
11882 | shadow.BackgroundColor3 = maincolor | |
11883 | shadow.BackgroundTransparency = 0.30000001192093 | |
11884 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
11885 | shadow.BorderSizePixel = 0 | |
11886 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
11887 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
11888 | PopupText.Name = "PopupText" | |
11889 | PopupText.Parent = shadow | |
11890 | PopupText.BackgroundTransparency = 1 | |
11891 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
11892 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
11893 | PopupText.ZIndex = 110 | |
11894 | PopupText.Font = Enum.Font.SourceSansBold | |
11895 | PopupText.FontSize = Enum.FontSize.Size28 | |
11896 | PopupText.Text = "Admins" | |
11897 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
11898 | PopupText.TextStrokeTransparency = 0 | |
11899 | PopupText.TextWrapped = true | |
11900 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
11901 | Exit.Name = "Exit" | |
11902 | Exit.Parent = shadow | |
11903 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
11904 | Exit.BackgroundTransparency = 0.30000001192093 | |
11905 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
11906 | Exit.BorderSizePixel = 0 | |
11907 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
11908 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
11909 | Exit.FontSize = Enum.FontSize.Size14 | |
11910 | Exit.Text = "" | |
11911 | ContainerFrame.Name = "ContainerFrame" | |
11912 | ContainerFrame.Parent = PromptDialog | |
11913 | ContainerFrame.BackgroundColor3 = maincolor | |
11914 | ContainerFrame.BackgroundTransparency = 0.5 | |
11915 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
11916 | ContainerFrame.BorderSizePixel = 0 | |
11917 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
11918 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
11919 | ContainerFrame.ZIndex = 5 | |
11920 | AList.Name = "List" | |
11921 | AList.Parent = ContainerFrame | |
11922 | AList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11923 | AList.BackgroundTransparency = 1 | |
11924 | AList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11925 | AList.BorderSizePixel = 0 | |
11926 | AList.Position = UDim2.new(0, 10, 0, 5) | |
11927 | AList.Size = UDim2.new(0, 280, 0, 230) | |
11928 | AList.ZIndex = 6 | |
11929 | AList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11930 | AList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11931 | AList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11932 | AList.ScrollBarThickness = 8 | |
11933 | AList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11934 | updateadmins() | |
11935 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11936 | Exit.MouseButton1Click:Connect(function() | |
11937 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
11938 | wait(0.6) adminsopen = false admins:Destroy() end) end end | |
11939 | end) | |
11940 | ||
11941 | function updatebans() | |
11942 | if BList then | |
11943 | BList:ClearAllChildren() | |
11944 | BList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11945 | for i = 1, #banname do | |
11946 | local YSize = 25 | |
11947 | local Position = ((i * YSize) - YSize) | |
11948 | local newcmd = Example:Clone() | |
11949 | newcmd.Parent = BList | |
11950 | newcmd.Visible = true | |
11951 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11952 | newcmd.Text = " Name: " .. banname[i].NAME .. " | ID: " .. banname[i].ID .. " | Age: " .. banname[i].AGE | |
11953 | newcmd.TextSize = 20 | |
11954 | BList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11955 | local delet = Instance.new("TextButton") | |
11956 | delet.Name = "delet" | |
11957 | delet.Parent = BList | |
11958 | delet.BackgroundColor3 = Color3.new(1, 0, 0) | |
11959 | delet.BackgroundTransparency = 0.30000001192093 | |
11960 | delet.BorderColor3 = Color3.new(1, 0, 0) | |
11961 | delet.BorderSizePixel = 0 | |
11962 | delet.Position = UDim2.new(0,-10,0, Position + 5) | |
11963 | delet.Size = UDim2.new(0, 20, 0, 20) | |
11964 | delet.FontSize = Enum.FontSize.Size14 | |
11965 | delet.Text = "" | |
11966 | delet.ZIndex = 6 | |
11967 | delet.MouseButton1Click:Connect(function() | |
11968 | execCmd("unban "..banname[i].NAME) | |
11969 | end) | |
11970 | end | |
11971 | end | |
11972 | end | |
11973 | ||
11974 | banname = {} | |
11975 | bansopen = false | |
11976 | addcmd('bans','displays bans',{'banlist'}, | |
11977 | function(args, speaker) | |
11978 | if speaker.userId ~= LP.userId then | |
11979 | lponly(speaker) else | |
11980 | if bansopen == false then | |
11981 | bansopen = true | |
11982 | local Bans = Instance.new("ScreenGui") | |
11983 | local drag = Instance.new("Frame") | |
11984 | local PromptDialog = Instance.new("Frame") | |
11985 | local ContainerFrame = Instance.new("Frame") | |
11986 | BList = Instance.new("ScrollingFrame") | |
11987 | local shadow = Instance.new("Frame") | |
11988 | local Exit = Instance.new("TextButton") | |
11989 | local PopupText = Instance.new("TextLabel") | |
11990 | Bans.Name = "Bans" | |
11991 | Bans.Parent = game.CoreGui | |
11992 | drag.Name = "drag" | |
11993 | drag.Parent = Bans | |
11994 | drag.Active = true | |
11995 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
11996 | drag.BackgroundTransparency = 1 | |
11997 | dragGUI(drag) | |
11998 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
11999 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12000 | PromptDialog.Name = "PromptDialog" | |
12001 | PromptDialog.Parent = drag | |
12002 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12003 | PromptDialog.BackgroundTransparency = 1 | |
12004 | PromptDialog.BorderSizePixel = 0 | |
12005 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12006 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12007 | PromptDialog.ZIndex = 5 | |
12008 | ContainerFrame.Name = "ContainerFrame" | |
12009 | ContainerFrame.Parent = PromptDialog | |
12010 | ContainerFrame.BackgroundColor3 = maincolor | |
12011 | ContainerFrame.BackgroundTransparency = 0.5 | |
12012 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12013 | ContainerFrame.BorderSizePixel = 0 | |
12014 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12015 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12016 | ContainerFrame.ZIndex = 5 | |
12017 | BList.Name = "List" | |
12018 | BList.Parent = ContainerFrame | |
12019 | BList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12020 | BList.BackgroundTransparency = 1 | |
12021 | BList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12022 | BList.BorderSizePixel = 0 | |
12023 | BList.Position = UDim2.new(0, 10, 0, 9) | |
12024 | BList.Size = UDim2.new(0, 428, 0, 230) | |
12025 | BList.ZIndex = 5 | |
12026 | BList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12027 | BList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12028 | BList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12029 | BList.ScrollBarThickness = 8 | |
12030 | BList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12031 | shadow.Name = "shadow" | |
12032 | shadow.Parent = PromptDialog | |
12033 | shadow.BackgroundColor3 = maincolor | |
12034 | shadow.BackgroundTransparency = 0.30000001192093 | |
12035 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12036 | shadow.BorderSizePixel = 0 | |
12037 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12038 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12039 | Exit.Name = "Exit" | |
12040 | Exit.Parent = shadow | |
12041 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12042 | Exit.BackgroundTransparency = 0.30000001192093 | |
12043 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12044 | Exit.BorderSizePixel = 0 | |
12045 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12046 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12047 | Exit.FontSize = Enum.FontSize.Size14 | |
12048 | Exit.Text = "" | |
12049 | PopupText.Name = "PopupText" | |
12050 | PopupText.Parent = shadow | |
12051 | PopupText.BackgroundTransparency = 1 | |
12052 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12053 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12054 | PopupText.ZIndex = 6 | |
12055 | PopupText.Font = Enum.Font.SourceSansBold | |
12056 | PopupText.FontSize = Enum.FontSize.Size32 | |
12057 | PopupText.Text = "Bans" | |
12058 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12059 | PopupText.TextStrokeTransparency = 0 | |
12060 | PopupText.TextWrapped = true | |
12061 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
12062 | updatebans() | |
12063 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12064 | Exit.MouseButton1Click:Connect(function() | |
12065 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12066 | wait(0.6) bansopen = false Bans:Destroy() end) end end | |
12067 | end) | |
12068 | ||
12069 | function updatealiases() | |
12070 | if AlList then | |
12071 | AlList:ClearAllChildren() | |
12072 | AlList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12073 | for i = 1, #aliasSave do | |
12074 | local YSize = 25 | |
12075 | local Position = ((i * YSize) - YSize) | |
12076 | local newcmd = Example:Clone() | |
12077 | newcmd.Parent = AlList | |
12078 | newcmd.Visible = true | |
12079 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
12080 | newcmd.Text = ' Command: ['..aliasSave[i].CMD..'] Alias: ['..aliasSave[i].ALIAS..']' | |
12081 | newcmd.TextSize = 20 | |
12082 | AlList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
12083 | local delet = Instance.new("TextButton") | |
12084 | delet.Name = "delet" | |
12085 | delet.Parent = AlList | |
12086 | delet.BackgroundColor3 = Color3.new(1, 0, 0) | |
12087 | delet.BackgroundTransparency = 0.30000001192093 | |
12088 | delet.BorderColor3 = Color3.new(1, 0, 0) | |
12089 | delet.BorderSizePixel = 0 | |
12090 | delet.Position = UDim2.new(0,-10,0, Position + 5) | |
12091 | delet.Size = UDim2.new(0, 20, 0, 20) | |
12092 | delet.FontSize = Enum.FontSize.Size14 | |
12093 | delet.Text = "" | |
12094 | delet.ZIndex = 6 | |
12095 | delet.MouseButton1Click:Connect(function() | |
12096 | execCmd("removealias "..aliasSave[i].ALIAS) | |
12097 | end) | |
12098 | end | |
12099 | end | |
12100 | end | |
12101 | ||
12102 | aliasesopen = false | |
12103 | addcmd('aliases','displays aliases',{}, | |
12104 | function(args, speaker) | |
12105 | if speaker.userId ~= LP.userId then | |
12106 | lponly(speaker) else | |
12107 | if aliasesopen == false then | |
12108 | aliasesopen = true | |
12109 | local aliases = Instance.new("ScreenGui") | |
12110 | local drag = Instance.new("Frame") | |
12111 | local PromptDialog = Instance.new("Frame") | |
12112 | local ContainerFrame = Instance.new("Frame") | |
12113 | AlList = Instance.new("ScrollingFrame") | |
12114 | local shadow = Instance.new("Frame") | |
12115 | local Exit = Instance.new("TextButton") | |
12116 | local PopupText = Instance.new("TextLabel") | |
12117 | aliases.Name = "Aliases" | |
12118 | aliases.Parent = game.CoreGui | |
12119 | drag.Name = "drag" | |
12120 | drag.Parent = aliases | |
12121 | drag.Active = true | |
12122 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12123 | drag.BackgroundTransparency = 1 | |
12124 | dragGUI(drag) | |
12125 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12126 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12127 | PromptDialog.Name = "PromptDialog" | |
12128 | PromptDialog.Parent = drag | |
12129 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12130 | PromptDialog.BackgroundTransparency = 1 | |
12131 | PromptDialog.BorderSizePixel = 0 | |
12132 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12133 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12134 | PromptDialog.ZIndex = 5 | |
12135 | ContainerFrame.Name = "ContainerFrame" | |
12136 | ContainerFrame.Parent = PromptDialog | |
12137 | ContainerFrame.BackgroundColor3 = maincolor | |
12138 | ContainerFrame.BackgroundTransparency = 0.5 | |
12139 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12140 | ContainerFrame.BorderSizePixel = 0 | |
12141 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12142 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12143 | ContainerFrame.ZIndex = 5 | |
12144 | AlList.Name = "List" | |
12145 | AlList.Parent = ContainerFrame | |
12146 | AlList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12147 | AlList.BackgroundTransparency = 1 | |
12148 | AlList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12149 | AlList.BorderSizePixel = 0 | |
12150 | AlList.Position = UDim2.new(0, 10, 0, 9) | |
12151 | AlList.Size = UDim2.new(0, 428, 0, 230) | |
12152 | AlList.ZIndex = 5 | |
12153 | AlList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12154 | AlList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12155 | AlList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12156 | AlList.ScrollBarThickness = 8 | |
12157 | AlList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12158 | shadow.Name = "shadow" | |
12159 | shadow.Parent = PromptDialog | |
12160 | shadow.BackgroundColor3 = maincolor | |
12161 | shadow.BackgroundTransparency = 0.30000001192093 | |
12162 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12163 | shadow.BorderSizePixel = 0 | |
12164 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12165 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12166 | Exit.Name = "Exit" | |
12167 | Exit.Parent = shadow | |
12168 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12169 | Exit.BackgroundTransparency = 0.30000001192093 | |
12170 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12171 | Exit.BorderSizePixel = 0 | |
12172 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12173 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12174 | Exit.FontSize = Enum.FontSize.Size14 | |
12175 | Exit.Text = "" | |
12176 | PopupText.Name = "PopupText" | |
12177 | PopupText.Parent = shadow | |
12178 | PopupText.BackgroundTransparency = 1 | |
12179 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12180 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12181 | PopupText.ZIndex = 6 | |
12182 | PopupText.Font = Enum.Font.SourceSansBold | |
12183 | PopupText.FontSize = Enum.FontSize.Size32 | |
12184 | PopupText.Text = "Aliases" | |
12185 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12186 | PopupText.TextStrokeTransparency = 0 | |
12187 | PopupText.TextWrapped = true | |
12188 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
12189 | updatealiases() | |
12190 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12191 | Exit.MouseButton1Click:Connect(function() | |
12192 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12193 | wait(0.6) aliasesopen = false aliases:Destroy() end) end end | |
12194 | end) | |
12195 | ||
12196 | addcmd('sound', 'plays a sound',{'music','play'}, | |
12197 | function(args, speaker) | |
12198 | if isNumber(args[1]) then | |
12199 | for i,v in pairs(game:GetDescendants()) do | |
12200 | if v:IsA'Sound'then v:Destroy() end end | |
12201 | local c = args[1] or 'stop' | |
12202 | if std.inTable({'stop'}, c:lower()) then return end | |
12203 | local s = Instance.new("Sound", workspace) | |
12204 | s.Name = "IYsound" | |
12205 | s.Looped = true | |
12206 | s.SoundId = "rbxassetid://" .. c | |
12207 | s.Volume = 1 | |
12208 | s:Play() | |
12209 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(c) | |
12210 | playerenabled = false | |
12211 | Notify('Playing: '..Asset.Name..' ('..c..')') | |
12212 | else | |
12213 | local name = GLS(false, 0) | |
12214 | if GLS(false, 0) == "stop" or GLS(false, 0) == "off" then | |
12215 | Notify('Stopped audio') | |
12216 | for i,v in pairs(game:GetDescendants()) do | |
12217 | if v:IsA'Sound'then v:Destroy() end end | |
12218 | return | |
12219 | end | |
12220 | Notify('Loading list...') | |
12221 | local Audios = Instance.new("ScreenGui") | |
12222 | local drag = Instance.new("Frame") | |
12223 | local PromptDialog = Instance.new("Frame") | |
12224 | local ContainerFrame = Instance.new("Frame") | |
12225 | local AudList = Instance.new("ScrollingFrame") | |
12226 | local shadow = Instance.new("Frame") | |
12227 | local Exit = Instance.new("TextButton") | |
12228 | local PopupText = Instance.new("TextLabel") | |
12229 | local Hide = Instance.new("TextButton") | |
12230 | Audios.Name = "Audios" | |
12231 | Audios.Parent = game.CoreGui | |
12232 | drag.Name = "drag" | |
12233 | drag.Parent = Audios | |
12234 | drag.Active = true | |
12235 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12236 | drag.BackgroundTransparency = 1 | |
12237 | dragGUI(drag) | |
12238 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12239 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12240 | PromptDialog.Name = "PromptDialog" | |
12241 | PromptDialog.Parent = drag | |
12242 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12243 | PromptDialog.BackgroundTransparency = 1 | |
12244 | PromptDialog.BorderSizePixel = 0 | |
12245 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12246 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12247 | PromptDialog.ZIndex = 5 | |
12248 | PromptDialog.ClipsDescendants = true | |
12249 | ContainerFrame.Name = "ContainerFrame" | |
12250 | ContainerFrame.Parent = PromptDialog | |
12251 | ContainerFrame.BackgroundColor3 = maincolor | |
12252 | ContainerFrame.BackgroundTransparency = 0.5 | |
12253 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12254 | ContainerFrame.BorderSizePixel = 0 | |
12255 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12256 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12257 | ContainerFrame.ZIndex = 5 | |
12258 | AudList.Name = "List" | |
12259 | AudList.Parent = ContainerFrame | |
12260 | AudList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12261 | AudList.BackgroundTransparency = 1 | |
12262 | AudList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12263 | AudList.BorderSizePixel = 0 | |
12264 | AudList.Position = UDim2.new(0, 10, 0, 9) | |
12265 | AudList.Size = UDim2.new(0, 428, 0, 230) | |
12266 | AudList.ZIndex = 5 | |
12267 | AudList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12268 | AudList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12269 | AudList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12270 | AudList.ScrollBarThickness = 8 | |
12271 | AudList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12272 | shadow.Name = "shadow" | |
12273 | shadow.Parent = PromptDialog | |
12274 | shadow.BackgroundColor3 = maincolor | |
12275 | shadow.BackgroundTransparency = 0.30000001192093 | |
12276 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12277 | shadow.BorderSizePixel = 0 | |
12278 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12279 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12280 | Exit.Name = "Exit" | |
12281 | Exit.Parent = shadow | |
12282 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12283 | Exit.BackgroundTransparency = 0.30000001192093 | |
12284 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12285 | Exit.BorderSizePixel = 0 | |
12286 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12287 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12288 | Exit.FontSize = Enum.FontSize.Size14 | |
12289 | Exit.Text = "" | |
12290 | PopupText.Name = "PopupText" | |
12291 | PopupText.Parent = shadow | |
12292 | PopupText.BackgroundTransparency = 1 | |
12293 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12294 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12295 | PopupText.ZIndex = 6 | |
12296 | PopupText.Font = Enum.Font.SourceSansBold | |
12297 | PopupText.FontSize = Enum.FontSize.Size32 | |
12298 | PopupText.Text = GLS(false, 0).." [Audio]" | |
12299 | PopupText.TextScaled = true | |
12300 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12301 | PopupText.TextStrokeTransparency = 0 | |
12302 | PopupText.TextWrapped = true | |
12303 | PopupText.TextYAlignment = Enum.TextYAlignment.Center | |
12304 | Hide.Name = "Hide" | |
12305 | Hide.Parent = shadow | |
12306 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
12307 | Hide.BackgroundTransparency = 0.30000001192093 | |
12308 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
12309 | Hide.BorderSizePixel = 0 | |
12310 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
12311 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
12312 | Hide.FontSize = Enum.FontSize.Size14 | |
12313 | Hide.Text = "" | |
12314 | local hidden = false | |
12315 | Hide.MouseButton1Down:connect(function() | |
12316 | if hidden == false then hidden = true | |
12317 | ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12318 | else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
12319 | end end) | |
12320 | local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Audio&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true) | |
12321 | local results = HttpService:JSONDecode(json) | |
12322 | if #results == 0 then | |
12323 | Notify('No audio found :(') | |
12324 | Audios:Destroy() | |
12325 | return | |
12326 | end | |
12327 | for i,v in pairs(results) do | |
12328 | local YSize = 25 | |
12329 | local Position = ((i * YSize) - YSize) | |
12330 | local newcmd = Example:Clone() | |
12331 | newcmd.Parent = AudList | |
12332 | newcmd.Visible = true | |
12333 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
12334 | newcmd.Text = " "..v.Name | |
12335 | newcmd.TextSize = 20 | |
12336 | AudList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
12337 | local play = Instance.new("TextButton") | |
12338 | play.Name = "play" | |
12339 | play.Parent = AudList | |
12340 | play.BackgroundColor3 = Color3.new(255, 255, 255) | |
12341 | play.BackgroundTransparency = 0.30000001192093 | |
12342 | play.BorderColor3 = Color3.new(1, 0, 0) | |
12343 | play.BorderSizePixel = 0 | |
12344 | play.Position = UDim2.new(0,-10,0, Position + 5) | |
12345 | play.Size = UDim2.new(0, 20, 0, 20) | |
12346 | play.FontSize = Enum.FontSize.Size14 | |
12347 | play.Text = "" | |
12348 | play.ZIndex = 6 | |
12349 | play.MouseButton1Click:Connect(function() | |
12350 | playerenabled = false | |
12351 | for i,v in pairs(game:GetDescendants()) do | |
12352 | if v:IsA'Sound'then v:Destroy() end end | |
12353 | wait(0.1) | |
12354 | Notify('Playing: '..v.Name ..' ('..v.AssetId..')') | |
12355 | local s = Instance.new("Sound", workspace) | |
12356 | s.Name = "IYsound" | |
12357 | s.Looped = true | |
12358 | s.SoundId = "rbxassetid://" .. v.AssetId | |
12359 | s.Volume = 1 | |
12360 | s:Play() | |
12361 | end) | |
12362 | Notify('Select an audio to play') | |
12363 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12364 | Exit.MouseButton1Click:Connect(function() | |
12365 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12366 | wait(0.6) Audios:Destroy() end) end end | |
12367 | end) | |
12368 | ||
12369 | function dragmodel(model, window, frame, name) | |
12370 | local Dragger = Instance.new("Dragger") local dragging = false local drag = model drag.Parent = workspace local parts = {} | |
12371 | drag:MakeJoints() drag.Name = name | |
12372 | local mouse = game:GetService("Players").LocalPlayer:GetMouse() | |
12373 | function collectParts(object, baseParts) | |
12374 | if object:IsA("BasePart") then | |
12375 | baseParts[#baseParts+1] = object end | |
12376 | for index,child in pairs(object:GetChildren()) do | |
12377 | collectParts(child, baseParts) end end | |
12378 | collectParts(drag, parts) | |
12379 | Dragger:MouseDown(parts[1], Vector3.new(0,0,0), parts) | |
12380 | dragging = true | |
12381 | mouse.Move:connect(function() | |
12382 | if dragging then | |
12383 | Dragger:MouseMove(mouse.UnitRay) | |
12384 | end end) | |
12385 | mouse.KeyDown:connect(function(Key) | |
12386 | if dragging then | |
12387 | if Key == "r" then | |
12388 | Dragger:AxisRotate("Y") | |
12389 | elseif Key == "t" then | |
12390 | Dragger:AxisRotate("X") | |
12391 | elseif Key == "e" then | |
12392 | if window == true then | |
12393 | frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) | |
12394 | end | |
12395 | drag:Destroy() | |
12396 | dragging = false | |
12397 | Dragger:MouseUp() | |
12398 | end end end) | |
12399 | mouse.Button1Down:connect(function() | |
12400 | if dragging then | |
12401 | if window == true then | |
12402 | frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) | |
12403 | end | |
12404 | dragging = false | |
12405 | Dragger:MouseUp() | |
12406 | end end) end | |
12407 | ||
12408 | addcmd('insert', 'inserts a model',{'ins'}, | |
12409 | function(args, speaker) | |
12410 | if isNumber(args[1]) then | |
12411 | local window = false | |
12412 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(args[1]) | |
12413 | dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. Asset.AssetId), window, nil, Asset.Name) | |
12414 | Notify('Inserted ' .. Asset.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt') | |
12415 | else | |
12416 | local name = GLS(false, 0) | |
12417 | Notify('Loading list...') | |
12418 | local Models = Instance.new("ScreenGui") | |
12419 | local drag = Instance.new("Frame") | |
12420 | local PromptDialog = Instance.new("Frame") | |
12421 | local ModelContainerFrame = Instance.new("Frame") | |
12422 | local ModList = Instance.new("ScrollingFrame") | |
12423 | local shadow = Instance.new("Frame") | |
12424 | local Exit = Instance.new("TextButton") | |
12425 | local PopupText = Instance.new("TextLabel") | |
12426 | local Hide = Instance.new("TextButton") | |
12427 | Models.Name = "Models" | |
12428 | Models.Parent = game.CoreGui | |
12429 | drag.Name = "drag" | |
12430 | drag.Parent = Models | |
12431 | drag.Active = true | |
12432 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12433 | drag.BackgroundTransparency = 1 | |
12434 | dragGUI(drag) | |
12435 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12436 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12437 | PromptDialog.Name = "PromptDialog" | |
12438 | PromptDialog.Parent = drag | |
12439 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12440 | PromptDialog.BackgroundTransparency = 1 | |
12441 | PromptDialog.BorderSizePixel = 0 | |
12442 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12443 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12444 | PromptDialog.ClipsDescendants = true | |
12445 | PromptDialog.ZIndex = 5 | |
12446 | ModelContainerFrame.Name = "ContainerFrame" | |
12447 | ModelContainerFrame.Parent = PromptDialog | |
12448 | ModelContainerFrame.BackgroundColor3 = maincolor | |
12449 | ModelContainerFrame.BackgroundTransparency = 0.5 | |
12450 | ModelContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12451 | ModelContainerFrame.BorderSizePixel = 0 | |
12452 | ModelContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12453 | ModelContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12454 | ModelContainerFrame.ZIndex = 5 | |
12455 | ModList.Name = "List" | |
12456 | ModList.Parent = ModelContainerFrame | |
12457 | ModList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12458 | ModList.BackgroundTransparency = 1 | |
12459 | ModList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12460 | ModList.BorderSizePixel = 0 | |
12461 | ModList.Position = UDim2.new(0, 10, 0, 9) | |
12462 | ModList.Size = UDim2.new(0, 428, 0, 230) | |
12463 | ModList.ZIndex = 5 | |
12464 | ModList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12465 | ModList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12466 | ModList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12467 | ModList.ScrollBarThickness = 8 | |
12468 | ModList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12469 | shadow.Name = "shadow" | |
12470 | shadow.Parent = PromptDialog | |
12471 | shadow.BackgroundColor3 = maincolor | |
12472 | shadow.BackgroundTransparency = 0.30000001192093 | |
12473 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12474 | shadow.BorderSizePixel = 0 | |
12475 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12476 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12477 | Exit.Name = "Exit" | |
12478 | Exit.Parent = shadow | |
12479 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12480 | Exit.BackgroundTransparency = 0.30000001192093 | |
12481 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12482 | Exit.BorderSizePixel = 0 | |
12483 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12484 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12485 | Exit.FontSize = Enum.FontSize.Size14 | |
12486 | Exit.Text = "" | |
12487 | PopupText.Name = "PopupText" | |
12488 | PopupText.Parent = shadow | |
12489 | PopupText.BackgroundTransparency = 1 | |
12490 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12491 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12492 | PopupText.ZIndex = 6 | |
12493 | PopupText.Font = Enum.Font.SourceSansBold | |
12494 | PopupText.FontSize = Enum.FontSize.Size32 | |
12495 | PopupText.Text = GLS(false, 0).." [Models]" | |
12496 | PopupText.TextScaled = true | |
12497 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12498 | PopupText.TextStrokeTransparency = 0 | |
12499 | PopupText.TextWrapped = true | |
12500 | PopupText.TextYAlignment = Enum.TextYAlignment.Center | |
12501 | Hide.Name = "Hide" | |
12502 | Hide.Parent = shadow | |
12503 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
12504 | Hide.BackgroundTransparency = 0.30000001192093 | |
12505 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
12506 | Hide.BorderSizePixel = 0 | |
12507 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
12508 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
12509 | Hide.FontSize = Enum.FontSize.Size14 | |
12510 | Hide.Text = "" | |
12511 | local hidden = false | |
12512 | Hide.MouseButton1Down:connect(function() | |
12513 | if hidden == false then hidden = true | |
12514 | ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12515 | else ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
12516 | end end) | |
12517 | local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Models&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true) | |
12518 | local results = HttpService:JSONDecode(json) | |
12519 | if #results == 0 then | |
12520 | Notify('No models found :(') | |
12521 | Models:Destroy() | |
12522 | return | |
12523 | end | |
12524 | for i,v in pairs(results) do | |
12525 | local YSize = 100 | |
12526 | local Position = ((i * YSize) - YSize) | |
12527 | local newcmd = Example:Clone() | |
12528 | newcmd.Parent = ModList | |
12529 | newcmd.Visible = true | |
12530 | newcmd.Position = UDim2.new(0,5,0, Position + 40) | |
12531 | newcmd.Text = " "..v.Name | |
12532 | newcmd.TextSize = 20 | |
12533 | ModList.CanvasSize = UDim2.new(0,0,0, Position + 100) | |
12534 | local ins = Instance.new("TextButton") | |
12535 | ins.Name = "ins" | |
12536 | ins.Parent = ModList | |
12537 | ins.BackgroundColor3 = Color3.new(255, 255, 255) | |
12538 | ins.BackgroundTransparency = 0.30000001192093 | |
12539 | ins.BorderColor3 = Color3.new(1, 0, 0) | |
12540 | ins.BorderSizePixel = 0 | |
12541 | ins.Position = UDim2.new(0,-10,0, Position + 40) | |
12542 | ins.Size = UDim2.new(0, 20, 0, 20) | |
12543 | ins.FontSize = Enum.FontSize.Size14 | |
12544 | ins.Text = "" | |
12545 | ins.ZIndex = 6 | |
12546 | local img = Instance.new("ImageLabel") | |
12547 | img.Parent = ModList | |
12548 | img.Position = UDim2.new(0,300,0, Position + 5) | |
12549 | img.Size = UDim2.new(0,100,0,100) | |
12550 | img.ZIndex = 6 | |
12551 | img.BackgroundColor3 = Color3.new(255, 255, 255) | |
12552 | img.BackgroundTransparency = 1 | |
12553 | img.Image = 'https://www.roblox.com/Thumbs/Asset.ashx?width=110&height=110&assetId='..v.AssetId | |
12554 | ins.MouseButton1Click:Connect(function() | |
12555 | local window = true | |
12556 | dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. v.AssetId), window, ModelContainerFrame, v.Name) | |
12557 | Notify('Inserted ' .. v.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt') | |
12558 | ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12559 | end) | |
12560 | Notify('Select a model to insert') | |
12561 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12562 | Exit.MouseButton1Click:Connect(function() | |
12563 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12564 | wait(0.6) Models:Destroy() end) end end | |
12565 | end) | |
12566 | ||
12567 | addcmd('cmds','opens cmds window',{'commands'}, | |
12568 | function(args, speaker) | |
12569 | if speaker.userId ~= LP.userId then | |
12570 | for _, child in pairs( workspace:GetChildren()) do | |
12571 | if child.Name == speaker.Name .. "TAB" then | |
12572 | child:Destroy() end end | |
12573 | game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1) | |
12574 | local GUI = Instance.new("SurfaceGui") | |
12575 | local holder = Instance.new("Frame") | |
12576 | local bar = Instance.new("Frame") | |
12577 | local Title = Instance.new("TextLabel") | |
12578 | local MAIN = Instance.new("Frame") | |
12579 | local Example = Instance.new("TextLabel") | |
12580 | local CMDs = Instance.new("ScrollingFrame") | |
12581 | local PART = Instance.new("Part") | |
12582 | PART.Name = speaker.Name .. 'TAB' | |
12583 | PART.Color = maincolor | |
12584 | PART.Size = Vector3.new(7, 7.8, 0.2) | |
12585 | PART.Transparency = 0 | |
12586 | PART.Locked = true | |
12587 | PART.CanCollide = false | |
12588 | PART.Parent = workspace | |
12589 | PART.Anchored = true | |
12590 | PART.Material = "Neon" | |
12591 | local GUI = Instance.new("SurfaceGui") | |
12592 | local holder = Instance.new("Frame") | |
12593 | local bar = Instance.new("Frame") | |
12594 | local Title = Instance.new("TextLabel") | |
12595 | local MAIN = Instance.new("Frame") | |
12596 | local Example = Instance.new("TextLabel") | |
12597 | local CMDs = Instance.new("ScrollingFrame") | |
12598 | GUI.Name = "GUI" | |
12599 | GUI.Parent = PART | |
12600 | GUI.CanvasSize = Vector2.new(500, 600) | |
12601 | GUI.Face = Enum.NormalId.Back | |
12602 | holder.Name = "holder" | |
12603 | holder.Parent = GUI | |
12604 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
12605 | holder.BackgroundTransparency = 1 | |
12606 | holder.BorderSizePixel = 2 | |
12607 | holder.Position = UDim2.new(0, 0, 0, 10) | |
12608 | holder.Size = UDim2.new(0, 300, 0, 330) | |
12609 | holder.ZIndex = 2 | |
12610 | bar.Name = "bar" | |
12611 | bar.Parent = holder | |
12612 | bar.BackgroundColor3 = Color3.new(0, 0, 0) | |
12613 | bar.BackgroundTransparency = 0.89999997615814 | |
12614 | bar.BorderSizePixel = 0 | |
12615 | bar.Position = UDim2.new(0, 10, 1, -330) | |
12616 | bar.Size = UDim2.new(0, 480, 0, 33) | |
12617 | Title.Name = "Title" | |
12618 | Title.Parent = bar | |
12619 | Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
12620 | Title.BackgroundTransparency = 1 | |
12621 | Title.Size = UDim2.new(1, 0, 0, 30) | |
12622 | Title.Font = Enum.Font.SourceSansBold | |
12623 | Title.FontSize = Enum.FontSize.Size24 | |
12624 | Title.Text = "[Infinite Yield] Command List" | |
12625 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12626 | MAIN.Name = "MAIN" | |
12627 | MAIN.Parent = holder | |
12628 | MAIN.BackgroundColor3 = Color3.new(0, 0, 0) | |
12629 | MAIN.BackgroundTransparency = 0.89999997615814 | |
12630 | MAIN.BorderSizePixel = 0 | |
12631 | MAIN.Position = UDim2.new(0, 10, 1, -300) | |
12632 | MAIN.Size = UDim2.new(0, 480, 0, 550) | |
12633 | Example.Name = "Example" | |
12634 | Example.Parent = MAIN | |
12635 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12636 | Example.BackgroundTransparency = 1 | |
12637 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12638 | Example.BorderSizePixel = 0 | |
12639 | Example.Size = UDim2.new(0, 190, 0, 40) | |
12640 | Example.Visible = false | |
12641 | Example.Font = Enum.Font.SourceSansBold | |
12642 | Example.FontSize = Enum.FontSize.Size36 | |
12643 | Example.Text = "txt" | |
12644 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
12645 | Example.TextStrokeTransparency = 0 | |
12646 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
12647 | Example.ZIndex = 6 | |
12648 | CMDs.Name = "CMDs" | |
12649 | CMDs.Parent = MAIN | |
12650 | CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12651 | CMDs.BackgroundTransparency = 1 | |
12652 | CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12653 | CMDs.BorderSizePixel = 0 | |
12654 | CMDs.Size = UDim2.new(0, 480, 0, 550) | |
12655 | CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12656 | CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880) | |
12657 | CMDs.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12658 | CMDs.ScrollBarThickness = 15 | |
12659 | CMDs.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12660 | local CMDsV = CMDsFolder:GetChildren() | |
12661 | for i = 1, #CMDsV do | |
12662 | local YSize = 35 | |
12663 | local Position = ((i * YSize) - YSize) | |
12664 | local newcmd = Example:Clone() | |
12665 | newcmd.Parent = CMDs | |
12666 | newcmd.Visible = true | |
12667 | newcmd.Position = UDim2.new(0,10,0, Position + 1) | |
12668 | newcmd.Text = "" .. CMDsV[i].Value | |
12669 | CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end | |
12670 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
12671 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
12672 | PART.CFrame = newcf | |
12673 | speaker.Character.Humanoid.Died:connect(function() | |
12674 | PART:Destroy() end) | |
12675 | wait(1) | |
12676 | PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05) | |
12677 | PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05) | |
12678 | PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05) | |
12679 | if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end | |
12680 | table.insert(hastab, speaker.Name) movetab(speaker,PART) | |
12681 | else | |
12682 | if cmdOpen == true then | |
12683 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
12684 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
12685 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
12686 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
12687 | else | |
12688 | commands() searchbar() | |
12689 | end end | |
12690 | end) | |
12691 | cmdBAR.FocusLost:connect(function(enterpressed) | |
12692 | if enterpressed and cmdBAR.Text ~= "" then | |
12693 | spawn(function () | |
12694 | execCmd(cmdBAR.Text, Player) | |
12695 | end) | |
12696 | end | |
12697 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) | |
12698 | cmdBAR.BorderSizePixel = 1 | |
12699 | wait(0.1) | |
12700 | cmdBAR.BorderSizePixel = 0 | |
12701 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
12702 | end) | |
12703 | Mouse.KeyDown:connect(function(Key) | |
12704 | if (Key==cmdbarbind) then | |
12705 | cmdBAR:CaptureFocus() | |
12706 | cmdBAR.BorderSizePixel = 1 | |
12707 | wait(0.1) | |
12708 | cmdBAR.BorderSizePixel = 2 | |
12709 | end | |
12710 | end) | |
12711 | cmdBAR.Changed:connect(function (property) | |
12712 | if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) end | |
12713 | end) | |
12714 | cmdBAR:GetPropertyChangedSignal("Text"):Connect(function() | |
12715 | local diff = cmdBAR.TextBounds.X-250 | |
12716 | 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) | |
12717 | end) | |
12718 | cmdBAR.Focused:Connect(function() historyCount = 0 end) | |
12719 | game:GetService("UserInputService").InputBegan:Connect(function(input) | |
12720 | if not cmdBAR:IsFocused() then return end | |
12721 | if input.KeyCode == Enum.KeyCode.Up then | |
12722 | historyCount = historyCount + 1 | |
12723 | if historyCount > #cmdHistory then historyCount = #cmdHistory end | |
12724 | cmdBAR.Text = cmdHistory[historyCount] or "" | |
12725 | elseif input.KeyCode == Enum.KeyCode.Down then | |
12726 | historyCount = historyCount - 1 | |
12727 | if historyCount < 1 then historyCount = 1 end | |
12728 | cmdBAR.Text = cmdHistory[historyCount] or "" | |
12729 | end | |
12730 | end) | |
12731 | NOTIFY = DATA.Notification | |
12732 | NOTIFY.Parent = game.CoreGui | |
12733 | local usingNOTE = false | |
12734 | function Notify(msg) | |
12735 | spawn(function() | |
12736 | if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then | |
12737 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12738 | wait(0.5) | |
12739 | MusicPlayer:Hide() | |
12740 | if qopen == true then | |
12741 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12742 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12743 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12744 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12745 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false | |
12746 | NOTIFY.NOTIFY.NOTE.Text = msg | |
12747 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
12748 | if playerenabled == true then | |
12749 | wait(4) | |
12750 | if playerenabled == true then | |
12751 | MusicPlayer:Show() | |
12752 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12753 | end | |
12754 | end | |
12755 | else | |
12756 | NOTIFY.NOTIFY.NOTE.Text = msg | |
12757 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
12758 | if playerenabled == true then | |
12759 | wait(4) | |
12760 | if playerenabled == true then | |
12761 | MusicPlayer:Show() | |
12762 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12763 | end | |
12764 | end | |
12765 | end end end) end | |
12766 | 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 | |
12767 | 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) | |
12768 | 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 | |
12769 | 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 | |
12770 | 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) | |
12771 | ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0) | |
12772 | if aliasSave then | |
12773 | for i = 1, #aliasSave do | |
12774 | execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS) | |
12775 | end else | |
12776 | aliasSave = {} wait(0.1) updatefile() | |
12777 | for i = 1, #aliasSave do | |
12778 | execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS) | |
12779 | end end | |
12780 | Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quart", 1, true, nil) | |
12781 | commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false | |
12782 | local Logs = Instance.new("ScreenGui") | |
12783 | logdrag = Instance.new("Frame") | |
12784 | local PromptDialog = Instance.new("Frame") | |
12785 | local ContainerFrame = Instance.new("Frame") | |
12786 | local pos = Instance.new("Frame") | |
12787 | local clear = Instance.new("TextButton") | |
12788 | local scroll = Instance.new("ScrollingFrame") | |
12789 | local hl = Instance.new("Frame") | |
12790 | local whispers = Instance.new("Frame") | |
12791 | local CheckBox = Instance.new("ImageButton") | |
12792 | local box = Instance.new("TextButton") | |
12793 | local whispers_2 = Instance.new("TextLabel") | |
12794 | local chats = Instance.new("Frame") | |
12795 | local CheckBox_2 = Instance.new("ImageButton") | |
12796 | local box_2 = Instance.new("TextButton") | |
12797 | local chats_2 = Instance.new("TextLabel") | |
12798 | local commands = Instance.new("Frame") | |
12799 | local CheckBox_3 = Instance.new("ImageButton") | |
12800 | local box_3 = Instance.new("TextButton") | |
12801 | local commands_2 = Instance.new("TextLabel") | |
12802 | local shadow = Instance.new("Frame") | |
12803 | local Exit = Instance.new("TextButton") | |
12804 | local PopupText = Instance.new("TextLabel") | |
12805 | local Hide = Instance.new("TextButton") | |
12806 | Logs.Name = "Logs" | |
12807 | Logs.Parent = game.CoreGui | |
12808 | logdrag.Name = "drag" | |
12809 | logdrag.Parent = Logs | |
12810 | logdrag.Active = true | |
12811 | logdrag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12812 | logdrag.BackgroundTransparency = 1 | |
12813 | dragGUI(logdrag) | |
12814 | logdrag.Position = UDim2.new(0.5, -225, 0, -400) | |
12815 | logdrag.Size = UDim2.new(0, 438, 0, 26) | |
12816 | PromptDialog.Name = "PromptDialog" | |
12817 | PromptDialog.Parent = logdrag | |
12818 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12819 | PromptDialog.BackgroundTransparency = 1 | |
12820 | PromptDialog.BorderSizePixel = 0 | |
12821 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12822 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12823 | PromptDialog.ZIndex = 5 | |
12824 | PromptDialog.ClipsDescendants = true | |
12825 | ContainerFrame.Name = "ContainerFrame" | |
12826 | ContainerFrame.Parent = PromptDialog | |
12827 | ContainerFrame.BackgroundColor3 = maincolor | |
12828 | ContainerFrame.BackgroundTransparency = 0.5 | |
12829 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12830 | ContainerFrame.BorderSizePixel = 0 | |
12831 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12832 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12833 | ContainerFrame.ZIndex = 5 | |
12834 | pos.Name = "pos" | |
12835 | pos.Parent = ContainerFrame | |
12836 | pos.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
12837 | pos.BackgroundTransparency = 1 | |
12838 | pos.BorderColor3 = Color3.new(0, 0, 0) | |
12839 | pos.BorderSizePixel = 0 | |
12840 | pos.Position = UDim2.new(0, 10, 0, 9) | |
12841 | pos.Size = UDim2.new(0, 428, 0, 230) | |
12842 | pos.ZIndex = 5 | |
12843 | clear.Name = "clear" | |
12844 | clear.Parent = pos | |
12845 | clear.BackgroundColor3 = Color3.new(0, 0, 0) | |
12846 | clear.BackgroundTransparency = 0.80000001192093 | |
12847 | clear.BorderColor3 = Color3.new(1, 1, 1) | |
12848 | clear.Position = UDim2.new(0, 3, 0, 3) | |
12849 | clear.Size = UDim2.new(0, 70, 0, 20) | |
12850 | clear.ZIndex = 5 | |
12851 | clear.Font = Enum.Font.SourceSans | |
12852 | clear.FontSize = Enum.FontSize.Size14 | |
12853 | clear.Text = "Clear" | |
12854 | clear.TextColor3 = Color3.new(1, 1, 1) | |
12855 | scroll.Name = "scroll" | |
12856 | scroll.Parent = pos | |
12857 | scroll.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12858 | scroll.BackgroundTransparency = 1 | |
12859 | scroll.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12860 | scroll.BorderSizePixel = 0 | |
12861 | scroll.Size = UDim2.new(0, 413, 0, 193) | |
12862 | scroll.Position = UDim2.new(0.007, 0, 0.152, 0) | |
12863 | scroll.ZIndex = 5 | |
12864 | scroll.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12865 | scroll.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12866 | scroll.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12867 | scroll.ScrollBarThickness = 8 | |
12868 | scroll.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12869 | hl.Name = "hl" | |
12870 | hl.Parent = pos | |
12871 | hl.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
12872 | hl.BackgroundTransparency = 0.5 | |
12873 | hl.BorderColor3 = Color3.new(0, 0, 0) | |
12874 | hl.BorderSizePixel = 0 | |
12875 | hl.Position = UDim2.new(0, 2, 0, 35) | |
12876 | hl.Size = UDim2.new(0.799065411, 72, 0.839130461, 0) | |
12877 | hl.ZIndex = 5 | |
12878 | whispers.Name = "whispers" | |
12879 | whispers.Parent = pos | |
12880 | whispers.BackgroundColor3 = Color3.new(1, 1, 1) | |
12881 | whispers.BackgroundTransparency = 1 | |
12882 | whispers.Size = UDim2.new(0, 428, 0, 230) | |
12883 | CheckBox.Name = "CheckBox" | |
12884 | CheckBox.Parent = whispers | |
12885 | CheckBox.BackgroundTransparency = 1 | |
12886 | CheckBox.Position = UDim2.new(0.574635506, 0, 0, 2) | |
12887 | CheckBox.Size = UDim2.new(0, 20, 0, 20) | |
12888 | CheckBox.ZIndex = 6 | |
12889 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
12890 | box.Name = "box" | |
12891 | box.Parent = whispers | |
12892 | box.BackgroundColor3 = Color3.new(0, 0, 0) | |
12893 | box.BackgroundTransparency = 0.80000001192093 | |
12894 | box.BorderColor3 = Color3.new(1, 1, 1) | |
12895 | box.Position = UDim2.new(0, 172, 0, 3) | |
12896 | box.Size = UDim2.new(0, 94, 0, 20) | |
12897 | box.ZIndex = 5 | |
12898 | box.Font = Enum.Font.SourceSans | |
12899 | box.FontSize = Enum.FontSize.Size14 | |
12900 | box.Text = "" | |
12901 | box.TextColor3 = Color3.new(1, 1, 1) | |
12902 | whispers_2.Name = "whispers" | |
12903 | whispers_2.Parent = whispers | |
12904 | whispers_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
12905 | whispers_2.BackgroundTransparency = 1 | |
12906 | whispers_2.Position = UDim2.new(0, 172, 0, 3) | |
12907 | whispers_2.Size = UDim2.new(0.126168221, 20, -0.0434782617, 30) | |
12908 | whispers_2.ZIndex = 6 | |
12909 | whispers_2.Font = Enum.Font.SourceSansBold | |
12910 | whispers_2.FontSize = Enum.FontSize.Size14 | |
12911 | whispers_2.Text = "Whispers" | |
12912 | whispers_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12913 | chats.Name = "chats" | |
12914 | chats.Parent = pos | |
12915 | chats.BackgroundColor3 = Color3.new(1, 1, 1) | |
12916 | chats.BackgroundTransparency = 1 | |
12917 | chats.Size = UDim2.new(0, 428, 0, 230) | |
12918 | CheckBox_2.Name = "CheckBox" | |
12919 | CheckBox_2.Parent = chats | |
12920 | CheckBox_2.BackgroundTransparency = 1 | |
12921 | CheckBox_2.Position = UDim2.new(0.324635506, 0, 3.49245965e-08, 2) | |
12922 | CheckBox_2.Size = UDim2.new(0, 20, 0, 20) | |
12923 | CheckBox_2.ZIndex = 6 | |
12924 | CheckBox_2.Image = "http://www.roblox.com/asset/?id=65492641" | |
12925 | box_2.Name = "box" | |
12926 | box_2.Parent = chats | |
12927 | box_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
12928 | box_2.BackgroundTransparency = 0.80000001192093 | |
12929 | box_2.BorderColor3 = Color3.new(1, 1, 1) | |
12930 | box_2.Position = UDim2.new(0, 86, 0, 3) | |
12931 | box_2.Size = UDim2.new(0, 73, 0, 20) | |
12932 | box_2.ZIndex = 5 | |
12933 | box_2.Font = Enum.Font.SourceSans | |
12934 | box_2.FontSize = Enum.FontSize.Size14 | |
12935 | box_2.Text = "" | |
12936 | box_2.TextColor3 = Color3.new(1, 1, 1) | |
12937 | chats_2.Name = "chats" | |
12938 | chats_2.Parent = chats | |
12939 | chats_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
12940 | chats_2.BackgroundTransparency = 1 | |
12941 | chats_2.Position = UDim2.new(0, 86, 0, 2) | |
12942 | chats_2.Size = UDim2.new(0.0771028027, 20, -0.0434782617, 30) | |
12943 | chats_2.ZIndex = 6 | |
12944 | chats_2.Font = Enum.Font.SourceSansBold | |
12945 | chats_2.FontSize = Enum.FontSize.Size14 | |
12946 | chats_2.Text = "Chats" | |
12947 | chats_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12948 | commands.Name = "commands" | |
12949 | commands.Parent = pos | |
12950 | commands.BackgroundColor3 = Color3.new(1, 1, 1) | |
12951 | commands.BackgroundTransparency = 1 | |
12952 | commands.Size = UDim2.new(0, 428, 0, 230) | |
12953 | CheckBox_3.Name = "CheckBox" | |
12954 | CheckBox_3.Parent = commands | |
12955 | CheckBox_3.BackgroundTransparency = 1 | |
12956 | CheckBox_3.Position = UDim2.new(0.844495356, 0, 0, 2) | |
12957 | CheckBox_3.Size = UDim2.new(0, 20, 0, 20) | |
12958 | CheckBox_3.ZIndex = 6 | |
12959 | CheckBox_3.Image = "http://www.roblox.com/asset/?id=65492641" | |
12960 | box_3.Name = "box" | |
12961 | box_3.Parent = commands | |
12962 | box_3.BackgroundColor3 = Color3.new(0, 0, 0) | |
12963 | box_3.BackgroundTransparency = 0.80000001192093 | |
12964 | box_3.BorderColor3 = Color3.new(1, 1, 1) | |
12965 | box_3.Position = UDim2.new(0, 279, 0, 3) | |
12966 | box_3.Size = UDim2.new(0, 102, 0, 20) | |
12967 | box_3.ZIndex = 5 | |
12968 | box_3.Font = Enum.Font.SourceSans | |
12969 | box_3.FontSize = Enum.FontSize.Size14 | |
12970 | box_3.Text = "" | |
12971 | box_3.TextColor3 = Color3.new(1, 1, 1) | |
12972 | commands_2.Name = "commands" | |
12973 | commands_2.Parent = commands | |
12974 | commands_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
12975 | commands_2.BackgroundTransparency = 1 | |
12976 | commands_2.Position = UDim2.new(0, 279, 0, 3) | |
12977 | commands_2.Size = UDim2.new(0.144859806, 20, -0.0434782617, 30) | |
12978 | commands_2.ZIndex = 6 | |
12979 | commands_2.Font = Enum.Font.SourceSansBold | |
12980 | commands_2.FontSize = Enum.FontSize.Size14 | |
12981 | commands_2.Text = "Commands" | |
12982 | commands_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12983 | shadow.Name = "shadow" | |
12984 | shadow.Parent = PromptDialog | |
12985 | shadow.BackgroundColor3 = maincolor | |
12986 | shadow.BackgroundTransparency = 0.30000001192093 | |
12987 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12988 | shadow.BorderSizePixel = 0 | |
12989 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12990 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12991 | Exit.Name = "Exit" | |
12992 | Exit.Parent = shadow | |
12993 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12994 | Exit.BackgroundTransparency = 0.30000001192093 | |
12995 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12996 | Exit.BorderSizePixel = 0 | |
12997 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12998 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12999 | Exit.FontSize = Enum.FontSize.Size14 | |
13000 | Exit.Text = "" | |
13001 | PopupText.Name = "PopupText" | |
13002 | PopupText.Parent = shadow | |
13003 | PopupText.BackgroundTransparency = 1 | |
13004 | PopupText.Position = UDim2.new(0, 61, 0, -5) | |
13005 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
13006 | PopupText.ZIndex = 6 | |
13007 | PopupText.Font = Enum.Font.SourceSansBold | |
13008 | PopupText.TextSize = 31 | |
13009 | PopupText.Text = "Logs" | |
13010 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13011 | PopupText.TextStrokeTransparency = 0 | |
13012 | PopupText.TextWrapped = true | |
13013 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
13014 | Hide.Name = "Hide" | |
13015 | Hide.Parent = shadow | |
13016 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
13017 | Hide.BackgroundTransparency = 0.30000001192093 | |
13018 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
13019 | Hide.BorderSizePixel = 0 | |
13020 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
13021 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
13022 | Hide.FontSize = Enum.FontSize.Size14 | |
13023 | Hide.Text = "" | |
13024 | checked = "http://www.roblox.com/asset/?id=65492641" | |
13025 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
13026 | if chatsV == true then | |
13027 | CheckBox_2.Image = checked else | |
13028 | CheckBox_2.Image = unchecked end | |
13029 | box_2.MouseButton1Down:connect(function() | |
13030 | if chatsV == true then chatsV = false | |
13031 | CheckBox_2.Image = unchecked updatefile() else | |
13032 | chatsV = true | |
13033 | CheckBox_2.Image = checked updatefile() end end) | |
13034 | if whispersV == true then | |
13035 | CheckBox.Image = checked else | |
13036 | CheckBox.Image = unchecked end | |
13037 | box.MouseButton1Down:connect(function() | |
13038 | if whispersV == true then whispersV = false | |
13039 | CheckBox.Image = unchecked updatefile() else | |
13040 | whispersV = true | |
13041 | CheckBox.Image = checked updatefile() end end) | |
13042 | if commandsV == true then | |
13043 | CheckBox_3.Image = checked else | |
13044 | CheckBox_3.Image = unchecked end | |
13045 | box_3.MouseButton1Down:connect(function() | |
13046 | if commandsV == true then commandsV = false | |
13047 | CheckBox_3.Image = unchecked updatefile() else | |
13048 | commandsV = true | |
13049 | CheckBox_3.Image = checked updatefile() end end) | |
13050 | clear.MouseButton1Down:connect(function() | |
13051 | for _, child in pairs( scroll:GetChildren()) do | |
13052 | child:Destroy() end | |
13053 | scroll.CanvasSize = UDim2.new(0, 0, 0, 10) | |
13054 | end) | |
13055 | Exit.MouseButton1Down:connect(function() | |
13056 | logdrag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
13057 | logsopen = false | |
13058 | end) | |
13059 | local hidden = false | |
13060 | Hide.MouseButton1Down:connect(function() | |
13061 | if hidden == false then hidden = true | |
13062 | ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
13063 | else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
13064 | end end) | |
13065 | function logtime() -- time function from aperture | |
13066 | local HOUR = math.floor((tick() % 86400) / 3600) | |
13067 | local MINUTE = math.floor((tick() % 3600) / 60) | |
13068 | local SECOND = math.floor(tick() % 60) | |
13069 | local AP = HOUR > 11 and 'PM' or 'AM' | |
13070 | HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12) | |
13071 | HOUR = HOUR < 10 and '0' .. HOUR or HOUR | |
13072 | MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE | |
13073 | SECOND = SECOND < 10 and '0' .. SECOND or SECOND | |
13074 | return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP end | |
13075 | function CreateLabel(Name, Text) | |
13076 | local sf = scroll | |
13077 | if #sf:GetChildren() >= 2546 then | |
13078 | sf:ClearAllChildren() | |
13079 | end | |
13080 | local alls = 0 | |
13081 | for i,v in pairs(sf:GetChildren()) do | |
13082 | if v then | |
13083 | alls = v.Size.Y.Offset + alls | |
13084 | end | |
13085 | if not v then | |
13086 | alls = 0 | |
13087 | end | |
13088 | end | |
13089 | local tl = Instance.new('TextLabel', sf) | |
13090 | local il = Instance.new('Frame', tl) | |
13091 | tl.Name = Name | |
13092 | tl.ZIndex = 6 | |
13093 | tl.Text = logtime().." - ["..Name.."]: "..Text | |
13094 | tl.Size = UDim2.new(0,410,0,84) | |
13095 | tl.BackgroundTransparency = 1 | |
13096 | tl.BorderSizePixel = 0 | |
13097 | tl.Font = "SourceSansBold" | |
13098 | tl.Position = UDim2.new(-1,0,0,alls) | |
13099 | tl.TextTransparency = 1 | |
13100 | tl.TextScaled = false | |
13101 | tl.TextSize = 14 | |
13102 | tl.TextWrapped = true | |
13103 | tl.TextXAlignment = "Left" | |
13104 | tl.TextYAlignment = "Top" | |
13105 | il.BackgroundTransparency = 1 | |
13106 | il.BorderSizePixel = 0 | |
13107 | il.Size = UDim2.new(0,12,1,0) | |
13108 | il.Position = UDim2.new(0,410,0,0) | |
13109 | tl.TextColor3 = Color3.fromRGB(255,255,255) | |
13110 | tl.Size = UDim2.new(0,410,0,tl.TextBounds.Y) | |
13111 | sf.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y) | |
13112 | sf.CanvasPosition = Vector2.new(0,sf.CanvasPosition.Y+tl.TextBounds.Y) | |
13113 | local size2 = sf.CanvasSize.Y.Offset | |
13114 | tl:TweenPosition(UDim2.new(0,0,0,alls), 'In', 'Quint', 0.5) | |
13115 | for i = 0,50 do wait(0.05) | |
13116 | tl.TextTransparency = tl.TextTransparency - 0.05 | |
13117 | end | |
13118 | tl.TextTransparency = 0 | |
13119 | end logsloaded = true | |
13120 | local intro = Instance.new("ScreenGui") | |
13121 | local Frame = Instance.new("Frame") | |
13122 | local Circle = Instance.new("ImageLabel") | |
13123 | local ImageLabel = Instance.new("ImageLabel") | |
13124 | intro.Name = "intro" | |
13125 | intro.Parent = game.CoreGui | |
13126 | Frame.Parent = intro | |
13127 | Frame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13128 | Frame.BackgroundTransparency = 1 | |
13129 | Frame.BorderSizePixel = 0 | |
13130 | Frame.ClipsDescendants = true | |
13131 | Frame.Position = UDim2.new(0.5, -125, 0.5, -125) | |
13132 | Frame.Size = UDim2.new(0, 250, 0, 250) | |
13133 | Circle.Name = "Circle" | |
13134 | Circle.Parent = Frame | |
13135 | Circle.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
13136 | Circle.BackgroundTransparency = 1 | |
13137 | Circle.BorderSizePixel = 0 | |
13138 | Circle.Position = UDim2.new(0.5, 0, 0.5, 0) | |
13139 | Circle.Image = "rbxassetid://631172870" | |
13140 | Circle.ImageColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13141 | ImageLabel.Parent = Frame | |
13142 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
13143 | ImageLabel.BackgroundTransparency = 1 | |
13144 | ImageLabel.BorderSizePixel = 0 | |
13145 | ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0) | |
13146 | ImageLabel.Image = "rbxassetid://1352543873" | |
13147 | Loading.ba:TweenSize(UDim2.new(0.35, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) | |
13148 | local g = intro | |
13149 | local f = Frame | |
13150 | local imagef = Circle | |
13151 | local logof = ImageLabel | |
13152 | loadedintro = false | |
13153 | local function tween2() | |
13154 | f:TweenSizeAndPosition(UDim2.new(0,250,0,250),UDim2.new(0.5,-125,0.5,-125), "Out", "Quart", 0.4) | |
13155 | wait(0.6) loadedintro = true end | |
13156 | local function tween1() | |
13157 | f:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150), "In", "Quart", 0.4, false, tween2) end | |
13158 | imagef:TweenSizeAndPosition(UDim2.new(3,0,3,0),UDim2.new(-1,0,-1,0), "Out", "Linear", 0.4) | |
13159 | logof:TweenSizeAndPosition(UDim2.new(1,0,1,0),UDim2.new(0,0,0,0), "Out", "Linear", 0.4, false, tween1) | |
13160 | if pcall(function() loadstring(game:HttpGet(('https://pastebin.com/raw/wcEw3rW9'),true))() end) then | |
13161 | if workspace.FilteringEnabled == true then | |
13162 | Notify('Filtering ENABLED '..ServerMessage) | |
13163 | elseif workspace.FilteringEnabled == false then | |
13164 | Notify('Filtering Disabled '..ServerMessage) | |
13165 | end | |
13166 | else | |
13167 | if workspace.FilteringEnabled == true then | |
13168 | Notify('Filtering ENABLED') | |
13169 | elseif | |
13170 | workspace.FilteringEnabled == false then | |
13171 | Notify('Filtering Disabled') | |
13172 | end | |
13173 | end | |
13174 | Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quart", 0.4, true, nil) | |
13175 | local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel") | |
13176 | local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel") | |
13177 | 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 | |
13178 | 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) | |
13179 | 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) | |
13180 | 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) | |
13181 | 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 | |
13182 | 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 | |
13183 | 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) | |
13184 | 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) | |
13185 | settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 220, 0, 0) | |
13186 | 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 | |
13187 | 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 | |
13188 | 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) | |
13189 | 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) | |
13190 | 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) | |
13191 | mix.Name = "mix" mix.Parent = sheild mix.BackgroundTransparency = 1 mix.Position = UDim2.new(0, 340, 0, 0) | |
13192 | 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) | |
13193 | 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 | |
13194 | lockic = Instance.new("ImageLabel") | |
13195 | lockic.Name = "lock" | |
13196 | lockic.Parent = iy | |
13197 | lockic.BackgroundColor3 = Color3.new(1, 1, 1) | |
13198 | lockic.BackgroundTransparency = 1 | |
13199 | lockic.ImageTransparency = 1 | |
13200 | lockic.BorderSizePixel = 0 | |
13201 | lockic.Position = UDim2.new(0, 53, 0, -3) | |
13202 | lockic.Size = UDim2.new(0, 40, 0, 40) | |
13203 | lockic.Image = "rbxassetid://1495252742" | |
13204 | 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) | |
13205 | 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 | |
13206 | Loading.ba:TweenSize(UDim2.new(0.7, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) quickmenu = game.CoreGui.RobloxGui.TopBarContainer.iy | |
13207 | 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) | |
13208 | 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 | |
13209 | 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) | |
13210 | 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) | |
13211 | PKR = picker.ColorPicker | |
13212 | local ColorPicker do | |
13213 | ColorPicker = {} | |
13214 | ||
13215 | ColorPicker.new = function() | |
13216 | local newMt = setmetatable({},{}) | |
13217 | ||
13218 | local pickerGui = picker.ColorPicker | |
13219 | local pickerTopBar = pickerGui.TopBar | |
13220 | local pickerFrame = pickerGui.Content | |
13221 | local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace | |
13222 | local colorStrip = pickerFrame.ColorStrip | |
13223 | local previewFrame = pickerFrame.Preview | |
13224 | local basicColorsFrame = pickerFrame.BasicColors | |
13225 | local customColorsFrame = pickerFrame.CustomColors | |
13226 | local okButton = pickerFrame.Ok | |
13227 | local cancelButton = pickerFrame.Cancel | |
13228 | local defaultButton = pickerFrame.Default | |
13229 | rainbowButton = pickerFrame.Rainbow | |
13230 | ||
13231 | local colorScope = colorSpace.Scope | |
13232 | local colorArrow = pickerFrame.ArrowFrame.Arrow | |
13233 | ||
13234 | local hueInput = pickerFrame.Hue.Input | |
13235 | local satInput = pickerFrame.Sat.Input | |
13236 | local valInput = pickerFrame.Val.Input | |
13237 | ||
13238 | local redInput = pickerFrame.Red.Input | |
13239 | local greenInput = pickerFrame.Green.Input | |
13240 | local blueInput = pickerFrame.Blue.Input | |
13241 | ||
13242 | local user = game:GetService("UserInputService") | |
13243 | local mouse = game:GetService("Players").LocalPlayer:GetMouse() | |
13244 | ||
13245 | local hue,sat,val = 0,0,1 | |
13246 | local red,green,blue = 1,1,1 | |
13247 | local chosenColor = Color3.new(0,0,0) | |
13248 | ||
13249 | 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)} | |
13250 | local customColors = {} | |
13251 | ||
13252 | local function updateColor(noupdate) | |
13253 | local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199 | |
13254 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13255 | ||
13256 | if noupdate == 2 or not noupdate then | |
13257 | hueInput.Text = tostring(math.ceil(359*hue)) | |
13258 | satInput.Text = tostring(math.ceil(255*sat)) | |
13259 | valInput.Text = tostring(math.floor(255*val)) | |
13260 | end | |
13261 | if noupdate == 1 or not noupdate then | |
13262 | redInput.Text = tostring(math.floor(255*red)) | |
13263 | greenInput.Text = tostring(math.floor(255*green)) | |
13264 | blueInput.Text = tostring(math.floor(255*blue)) | |
13265 | end | |
13266 | ||
13267 | chosenColor = Color3.new(red,green,blue) | |
13268 | ||
13269 | colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9) | |
13270 | colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1) | |
13271 | colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4) | |
13272 | previewFrame.BackgroundColor3 = chosenColor | |
13273 | ||
13274 | newMt.Color = chosenColor | |
13275 | if newMt.Changed then newMt:Changed(chosenColor) end | |
13276 | end | |
13277 | ||
13278 | local function colorSpaceInput() | |
13279 | local relativeX = mouse.X - colorSpace.AbsolutePosition.X | |
13280 | local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y | |
13281 | ||
13282 | if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end | |
13283 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end | |
13284 | ||
13285 | hue = (219 - relativeX)/219 | |
13286 | sat = (199 - relativeY)/199 | |
13287 | ||
13288 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13289 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13290 | ||
13291 | updateColor() | |
13292 | end | |
13293 | ||
13294 | local function colorStripInput() | |
13295 | local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y | |
13296 | ||
13297 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end | |
13298 | ||
13299 | val = (199 - relativeY)/199 | |
13300 | ||
13301 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13302 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13303 | ||
13304 | updateColor() | |
13305 | end | |
13306 | ||
13307 | local function hookButtons(frame,func) | |
13308 | frame.ArrowFrame.Up.InputBegan:Connect(function(input) | |
13309 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13310 | frame.ArrowFrame.Up.BackgroundTransparency = 0.5 | |
13311 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13312 | local releaseEvent,runEvent | |
13313 | ||
13314 | local startTime = tick() | |
13315 | local pressing = true | |
13316 | local startNum = tonumber(frame.Text) | |
13317 | ||
13318 | if not startNum then return end | |
13319 | ||
13320 | releaseEvent = user.InputEnded:Connect(function(input) | |
13321 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13322 | releaseEvent:Disconnect() | |
13323 | pressing = false | |
13324 | end) | |
13325 | ||
13326 | startNum = startNum + 1 | |
13327 | func(startNum) | |
13328 | while pressing do | |
13329 | if tick()-startTime > 0.3 then | |
13330 | startNum = startNum + 1 | |
13331 | func(startNum) | |
13332 | end | |
13333 | wait(0.1) | |
13334 | end | |
13335 | end | |
13336 | end) | |
13337 | ||
13338 | frame.ArrowFrame.Up.InputEnded:Connect(function(input) | |
13339 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13340 | frame.ArrowFrame.Up.BackgroundTransparency = 1 | |
13341 | end | |
13342 | end) | |
13343 | ||
13344 | frame.ArrowFrame.Down.InputBegan:Connect(function(input) | |
13345 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13346 | frame.ArrowFrame.Down.BackgroundTransparency = 0.5 | |
13347 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13348 | local releaseEvent,runEvent | |
13349 | ||
13350 | local startTime = tick() | |
13351 | local pressing = true | |
13352 | local startNum = tonumber(frame.Text) | |
13353 | ||
13354 | if not startNum then return end | |
13355 | ||
13356 | releaseEvent = user.InputEnded:Connect(function(input) | |
13357 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13358 | releaseEvent:Disconnect() | |
13359 | pressing = false | |
13360 | end) | |
13361 | ||
13362 | startNum = startNum - 1 | |
13363 | func(startNum) | |
13364 | while pressing do | |
13365 | if tick()-startTime > 0.3 then | |
13366 | startNum = startNum - 1 | |
13367 | func(startNum) | |
13368 | end | |
13369 | wait(0.1) | |
13370 | end | |
13371 | end | |
13372 | end) | |
13373 | ||
13374 | frame.ArrowFrame.Down.InputEnded:Connect(function(input) | |
13375 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13376 | frame.ArrowFrame.Down.BackgroundTransparency = 1 | |
13377 | end | |
13378 | end) | |
13379 | end | |
13380 | ||
13381 | colorSpace.InputBegan:Connect(function(input) | |
13382 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13383 | local releaseEvent,mouseEvent | |
13384 | ||
13385 | releaseEvent = user.InputEnded:Connect(function(input) | |
13386 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13387 | releaseEvent:Disconnect() | |
13388 | mouseEvent:Disconnect() | |
13389 | end) | |
13390 | ||
13391 | mouseEvent = user.InputChanged:Connect(function(input) | |
13392 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13393 | colorSpaceInput() | |
13394 | end | |
13395 | end) | |
13396 | ||
13397 | colorSpaceInput() | |
13398 | end | |
13399 | end) | |
13400 | ||
13401 | colorStrip.InputBegan:Connect(function(input) | |
13402 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13403 | local releaseEvent,mouseEvent | |
13404 | ||
13405 | releaseEvent = user.InputEnded:Connect(function(input) | |
13406 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13407 | releaseEvent:Disconnect() | |
13408 | mouseEvent:Disconnect() | |
13409 | end) | |
13410 | ||
13411 | mouseEvent = user.InputChanged:Connect(function(input) | |
13412 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13413 | colorStripInput() | |
13414 | end | |
13415 | end) | |
13416 | ||
13417 | colorStripInput() | |
13418 | end | |
13419 | end) | |
13420 | ||
13421 | local function updateHue(str) | |
13422 | local num = tonumber(str) | |
13423 | if num then | |
13424 | hue = math.clamp(math.floor(num),0,359)/359 | |
13425 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13426 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13427 | hueInput.Text = tostring(hue*359) | |
13428 | updateColor(1) | |
13429 | end | |
13430 | end | |
13431 | hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue) | |
13432 | ||
13433 | local function updateSat(str) | |
13434 | local num = tonumber(str) | |
13435 | if num then | |
13436 | sat = math.clamp(math.floor(num),0,255)/255 | |
13437 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13438 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13439 | satInput.Text = tostring(sat*255) | |
13440 | updateColor(1) | |
13441 | end | |
13442 | end | |
13443 | satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat) | |
13444 | ||
13445 | local function updateVal(str) | |
13446 | local num = tonumber(str) | |
13447 | if num then | |
13448 | val = math.clamp(math.floor(num),0,255)/255 | |
13449 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13450 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13451 | valInput.Text = tostring(val*255) | |
13452 | updateColor(1) | |
13453 | end | |
13454 | end | |
13455 | valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal) | |
13456 | ||
13457 | local function updateRed(str) | |
13458 | local num = tonumber(str) | |
13459 | if num then | |
13460 | red = math.clamp(math.floor(num),0,255)/255 | |
13461 | local newColor = Color3.new(red,green,blue) | |
13462 | hue,sat,val = Color3.toHSV(newColor) | |
13463 | redInput.Text = tostring(red*255) | |
13464 | updateColor(2) | |
13465 | end | |
13466 | end | |
13467 | redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed) | |
13468 | ||
13469 | local function updateGreen(str) | |
13470 | local num = tonumber(str) | |
13471 | if num then | |
13472 | green = math.clamp(math.floor(num),0,255)/255 | |
13473 | local newColor = Color3.new(red,green,blue) | |
13474 | hue,sat,val = Color3.toHSV(newColor) | |
13475 | greenInput.Text = tostring(green*255) | |
13476 | updateColor(2) | |
13477 | end | |
13478 | end | |
13479 | greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen) | |
13480 | ||
13481 | local function updateBlue(str) | |
13482 | local num = tonumber(str) | |
13483 | if num then | |
13484 | blue = math.clamp(math.floor(num),0,255)/255 | |
13485 | local newColor = Color3.new(red,green,blue) | |
13486 | hue,sat,val = Color3.toHSV(newColor) | |
13487 | blueInput.Text = tostring(blue*255) | |
13488 | updateColor(2) | |
13489 | end | |
13490 | end | |
13491 | blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue) | |
13492 | ||
13493 | local colorChoice = Instance.new("TextButton") | |
13494 | colorChoice.Name = "Choice" | |
13495 | colorChoice.Size = UDim2.new(0,25,0,18) | |
13496 | colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255) | |
13497 | colorChoice.Text = "" | |
13498 | colorChoice.AutoButtonColor = false | |
13499 | ||
13500 | local row = 0 | |
13501 | local column = 0 | |
13502 | for i,v in pairs(basicColors) do | |
13503 | local newColor = colorChoice:Clone() | |
13504 | newColor.BackgroundColor3 = v | |
13505 | newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row) | |
13506 | ||
13507 | newColor.MouseButton1Click:Connect(function() | |
13508 | red,green,blue = v.r,v.g,v.b | |
13509 | local newColor = Color3.new(red,green,blue) | |
13510 | hue,sat,val = Color3.toHSV(newColor) | |
13511 | updateColor() | |
13512 | end) | |
13513 | ||
13514 | newColor.Parent = basicColorsFrame | |
13515 | column = column + 1 | |
13516 | if column == 6 then row = row + 1 column = 0 end | |
13517 | end | |
13518 | ||
13519 | row = 0 | |
13520 | column = 0 | |
13521 | for i = 1,12 do | |
13522 | local color = customColors[i] or Color3.new(0,0,0) | |
13523 | local newColor = colorChoice:Clone() | |
13524 | newColor.BackgroundColor3 = color | |
13525 | newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row) | |
13526 | ||
13527 | newColor.MouseButton1Click:Connect(function() | |
13528 | local curColor = customColors[i] or Color3.new(0,0,0) | |
13529 | red,green,blue = curColor.r,curColor.g,curColor.b | |
13530 | hue,sat,val = Color3.toHSV(curColor) | |
13531 | updateColor() | |
13532 | end) | |
13533 | ||
13534 | newColor.MouseButton2Click:Connect(function() | |
13535 | customColors[i] = chosenColor | |
13536 | newColor.BackgroundColor3 = chosenColor | |
13537 | end) | |
13538 | ||
13539 | newColor.Parent = customColorsFrame | |
13540 | column = column + 1 | |
13541 | if column == 6 then row = row + 1 column = 0 end | |
13542 | end | |
13543 | ||
13544 | pickerTopBar.InputBegan:Connect(function(input) | |
13545 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13546 | local releaseEvent,mouseEvent | |
13547 | local dragOffX,dragOffY = mouse.X-pickerTopBar.AbsolutePosition.X,mouse.Y-pickerTopBar.AbsolutePosition.Y | |
13548 | ||
13549 | releaseEvent = user.InputEnded:Connect(function(input) | |
13550 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13551 | releaseEvent:Disconnect() | |
13552 | mouseEvent:Disconnect() | |
13553 | end) | |
13554 | ||
13555 | mouseEvent = user.InputChanged:Connect(function(input) | |
13556 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13557 | pickerGui.Position = UDim2.new(0,mouse.X-dragOffX,0,mouse.Y-dragOffY) | |
13558 | end | |
13559 | end) | |
13560 | end | |
13561 | end) | |
13562 | ||
13563 | okButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor) end wait(0.6) pickerGui.Visible = false end) | |
13564 | okButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0.4 end end) | |
13565 | okButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0 end end) | |
13566 | ||
13567 | cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end wait(0.6) pickerGui.Visible = false end) | |
13568 | cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end) | |
13569 | cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end) | |
13570 | ||
13571 | defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end wait(0.6) pickerGui.Visible = false end) | |
13572 | defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end) | |
13573 | defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end) | |
13574 | ||
13575 | rainbowButton.MouseButton1Click:Connect(function() if newMt.Rainbow then newMt:Rainbow() end end) | |
13576 | rainbowButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then rainbowButton.BackgroundTransparency = 0.4 end end) | |
13577 | rainbowButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then rainbowButton.BackgroundTransparency = 0 end end) | |
13578 | ||
13579 | updateColor() | |
13580 | ||
13581 | newMt.SetColor = function(self,color) | |
13582 | red,green,blue = color.r,color.g,color.b | |
13583 | hue,sat,val = Color3.toHSV(color) | |
13584 | updateColor() | |
13585 | end | |
13586 | ||
13587 | return newMt | |
13588 | end | |
13589 | end | |
13590 | local rainbowCount = 50 | |
13591 | local rainbowGuiActive = false | |
13592 | local rainbowreset = true | |
13593 | ||
13594 | spawn(function() | |
13595 | local colors = { | |
13596 | BrickColor.Red(), | |
13597 | BrickColor.Yellow(), | |
13598 | BrickColor.new('Lime green'), | |
13599 | BrickColor.new('Cyan'), | |
13600 | BrickColor.new('Dark indigo') | |
13601 | } | |
13602 | while wait() do | |
13603 | for i,v in pairs(colors) do | |
13604 | for num = 1,rainbowCount do | |
13605 | if rainbowGuiActive == true then | |
13606 | local mimic = i-1 | |
13607 | if not colors[mimic] then | |
13608 | mimic = #colors | |
13609 | end | |
13610 | mimic = colors[mimic] | |
13611 | updatecolors(mimic.Color:Lerp(v.Color,num/rainbowCount)) | |
13612 | elseif rainbowreset == false then | |
13613 | updatecolors(SAVEDCOLOR) | |
13614 | rainbowreset = true | |
13615 | end | |
13616 | wait() | |
13617 | end | |
13618 | end | |
13619 | end | |
13620 | end) | |
13621 | local picker = ColorPicker.new() | |
13622 | 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 | |
13623 | picker.Changed = function(self,color) updatecolors(color) end | |
13624 | picker.Rainbow = function(self) | |
13625 | if rainbowGuiActive == false then | |
13626 | rainbowGuiActive = true | |
13627 | rainbowButton.Text = 'Rainbow [Enabled]' | |
13628 | elseif rainbowGuiActive == true then | |
13629 | rainbowGuiActive = false | |
13630 | rainbowreset = false | |
13631 | rainbowButton.Text = 'Rainbow [Disabled]' | |
13632 | end end | |
13633 | picker.Cancel = function(self) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) updatecolors(SAVEDCOLOR) end | |
13634 | 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)) | |
13635 | colorR = 0.121569 colorG = 0.121569 colorB = 0.121569 SAVEDCOLOR = Color3.new(0.121569, 0.121569, 0.121569) updatefile() end | |
13636 | SAVEDCOLOR = Color3.new(colorR, colorG, colorB) | |
13637 | local sugg = Instance.new("ScreenGui") local suggestions = Instance.new("Frame") local Title = Instance.new("TextLabel") | |
13638 | local SUG = Instance.new("ScrollingFrame") sugg.Name = "sugg" sugg.Parent = game.CoreGui | |
13639 | suggestions.Name = "suggestions" suggestions.Parent = sugg suggestions.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13640 | suggestions.BackgroundTransparency = 0.5 suggestions.BorderColor3 = Color3.new(0, 0, 0) suggestions.BorderSizePixel = 0 | |
13641 | suggestions.ClipsDescendants = true suggestions.Position = UDim2.new(-0.000715821981, 1, 1.03197157, -200) suggestions.Size = UDim2.new(0, 300, 0, 182) | |
13642 | Title.Name = "Title" Title.Parent = suggestions Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) Title.BackgroundTransparency = 1 | |
13643 | Title.Size = UDim2.new(1, 0, 0, 30) Title.Font = Enum.Font.SourceSansBold Title.FontSize = Enum.FontSize.Size24 Title.Text = "Suggestions" | |
13644 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) SUG.Name = "SUG" SUG.Parent = suggestions | |
13645 | SUG.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BackgroundTransparency = 1 SUG.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
13646 | 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" | |
13647 | 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" | |
13648 | local CMDsV = CMDsFolder:GetChildren() for i = 1, #CMDsV do local YSize = 25 local Position = ((i * YSize) - YSize) local newcmd = Example:Clone() newcmd.Parent = SUG | |
13649 | 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 | |
13650 | local CSP2 = game.CoreGui.sugg.suggestions | |
13651 | local main2 = CSP2 | |
13652 | local frame2 = CSP2:WaitForChild('SUG') | |
13653 | Match2 = function(name,str) return name:lower():find(str:lower()) and true end | |
13654 | IndexContents2 = function(str,bool) | |
13655 | if suggestionstoggle == true then | |
13656 | if string.find(str, " ") then game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) else | |
13657 | local Index,SizeY = 0,0 | |
13658 | for i,v in next, frame2:GetChildren() do | |
13659 | if bool then | |
13660 | if Match2(v.Text,str) then | |
13661 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quad",0.3,true) | |
13662 | Index = Index + 1 | |
13663 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
13664 | v.Visible = true | |
13665 | SizeY = SizeY + v.AbsoluteSize.Y | |
13666 | frame2.CanvasSize = UDim2.new(0,0,0,SizeY) else v.Visible = false end else | |
13667 | v.Visible = true | |
13668 | SizeY = SizeY + v.AbsoluteSize.Y | |
13669 | frame2.CanvasSize = UDim2.new(0,0,0,SizeY) end end end end end | |
13670 | IndexContents2('',true) | |
13671 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) | |
13672 | Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quart", 0.4, true, nil) wait(1) | |
13673 | repeat wait() until loadedintro == true | |
13674 | logof:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.1) | |
13675 | wait(0.2) | |
13676 | f:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.2) | |
13677 | wait(0.3) g:Destroy() | |
13678 | updatecolors(Color3.new(colorR, colorG, colorB)) | |
13679 | Loading:TweenPosition(UDim2.new(0.25, 0, 1.5, 0), "InOut", "Quart", 0.5, true, nil) wait(0.5) Loading.Parent:Destroy() | |
13680 | if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("Chat") and gPlayers.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and | |
13681 | gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then | |
13682 | 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 | |
13683 | 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) | |
13684 | else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) end end end) end chatboxx() | |
13685 | gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar) | |
13686 | if newbar:FindFirstChild('BoxFrame') then | |
13687 | chatboxx() end end) | |
13688 | LP.PlayerGui.Chat.Frame.ChatChannelParentFrame.Frame_MessageLogDisplay.Scroller.CanvasPosition = Vector2.new(0, 9999999999999999999999999999999999999999999, 0, 0) | |
13689 | coroutine.resume(coroutine.create(function() | |
13690 | if script.ClassName == "LocalScript" then | |
13691 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
13692 | Text = "The prefix is '" .. cmdprefix .. "'"; | |
13693 | Color = Color3.new(255,255,255); | |
13694 | Font = Enum.Font.SourceSans; | |
13695 | FontSize = Enum.FontSize.Size24; | |
13696 | }) wait(0.5) | |
13697 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
13698 | Text = "Click IY on the top left to see more options"; | |
13699 | Color = Color3.new(255,255,255); | |
13700 | Font = Enum.Font.SourceSans; | |
13701 | FontSize = Enum.FontSize.Size24; | |
13702 | }) end end)) | |
13703 | else print('Custom chat detected. Will not provide suggestions for the chat.') end | |
13704 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13705 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13706 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13707 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13708 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13709 | qopen = false quickmenu.MouseButton1Click:connect(function() | |
13710 | if qopen == false then fadelock('off') NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
13711 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13712 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13713 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13714 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) MusicPlayer:Hide() | |
13715 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13716 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = true else | |
13717 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13718 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13719 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13720 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13721 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13722 | if slock == true then fadelock("rbxassetid://1495252742") elseif isagelocked == true then fadelock("rbxassetid://1495252495") end | |
13723 | 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) | |
13724 | quickmenu.sheild.cmds.MouseButton1Click:connect(function() if cmdOpen == true then | |
13725 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
13726 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
13727 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
13728 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
13729 | else runwindow() end end) | |
13730 | quickmenu.sheild.settings.MouseButton1Click:connect(function() hub() end) | |
13731 | infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true | |
13732 | Updates = Instance.new("ScreenGui") | |
13733 | dragg = Instance.new("Frame") | |
13734 | local PromptDialog = Instance.new("Frame") | |
13735 | local ContainerFrame = Instance.new("Frame") | |
13736 | local LOG = Instance.new("TextLabel") | |
13737 | local PopupText3 = Instance.new("TextLabel") | |
13738 | local PopupText4 = Instance.new("TextLabel") | |
13739 | local UTDV = Instance.new("TextLabel") | |
13740 | local PopupText5 = Instance.new("TextLabel") | |
13741 | local shadow = Instance.new("Frame") | |
13742 | Exitt = Instance.new("TextButton") | |
13743 | local PopupText = Instance.new("TextLabel") | |
13744 | local vers = Instance.new("TextLabel") | |
13745 | Updates.Name = "Updates" | |
13746 | Updates.Parent = game.CoreGui | |
13747 | dragg.Name = "drag" | |
13748 | dragg.Parent = Updates | |
13749 | dragg.Active = true | |
13750 | dragg.BackgroundColor3 = Color3.new(1, 1, 1) | |
13751 | dragg.BackgroundTransparency = 1 | |
13752 | dragGUI(dragg) | |
13753 | dragg.Position = UDim2.new(0.5, -225, 0, -600) | |
13754 | dragg.Size = UDim2.new(0, 438, 0, 26) | |
13755 | PromptDialog.Name = "PromptDialog" | |
13756 | PromptDialog.Parent = dragg | |
13757 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
13758 | PromptDialog.BackgroundTransparency = 1 | |
13759 | PromptDialog.BorderSizePixel = 0 | |
13760 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
13761 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
13762 | PromptDialog.ZIndex = 5 | |
13763 | ContainerFrame.Name = "ContainerFrame" | |
13764 | ContainerFrame.Parent = PromptDialog | |
13765 | ContainerFrame.BackgroundColor3 = maincolor | |
13766 | ContainerFrame.BackgroundTransparency = 0.5 | |
13767 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
13768 | ContainerFrame.BorderSizePixel = 0 | |
13769 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
13770 | ContainerFrame.Size = UDim2.new(1, 0, 0.8, 0) -- SIZE | |
13771 | ContainerFrame.ZIndex = 5 | |
13772 | LOG.Name = "LOG" | |
13773 | LOG.Parent = ContainerFrame | |
13774 | LOG.BackgroundTransparency = 1 | |
13775 | LOG.Position = UDim2.new(0, 8, 0, 110) | |
13776 | LOG.Size = UDim2.new(1, -16, 1, 0) | |
13777 | LOG.ZIndex = 10 | |
13778 | LOG.Font = Enum.Font.SourceSansBold | |
13779 | LOG.TextSize = 20 | |
13780 | 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" | |
13781 | LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13782 | LOG.TextStrokeTransparency = 0 | |
13783 | LOG.TextWrapped = true | |
13784 | LOG.TextYAlignment = Enum.TextYAlignment.Top | |
13785 | LOG.TextXAlignment = "Left" | |
13786 | PopupText3.Name = "PopupText3" | |
13787 | PopupText3.Parent = ContainerFrame | |
13788 | PopupText3.BackgroundTransparency = 1 | |
13789 | PopupText3.Position = UDim2.new(0, 8, 0, 35) | |
13790 | PopupText3.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13791 | PopupText3.ZIndex = 10 | |
13792 | PopupText3.Font = Enum.Font.SourceSansBold | |
13793 | PopupText3.TextSize = 20 | |
13794 | PopupText3.Text = "Edge - Moon" | |
13795 | PopupText3.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13796 | PopupText3.TextStrokeTransparency = 0 | |
13797 | PopupText3.TextWrapped = true | |
13798 | PopupText3.TextYAlignment = Enum.TextYAlignment.Top | |
13799 | PopupText4.Name = "PopupText4" | |
13800 | PopupText4.Parent = ContainerFrame | |
13801 | PopupText4.BackgroundTransparency = 1 | |
13802 | PopupText4.Position = UDim2.new(0, 8, 0, 50) | |
13803 | PopupText4.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13804 | PopupText4.ZIndex = 10 | |
13805 | PopupText4.Font = Enum.Font.SourceSansBold | |
13806 | PopupText4.FontSize = Enum.FontSize.Size18 | |
13807 | PopupText4.Text = "infyield.weebly.com - discord.me/infiniteyield" | |
13808 | PopupText4.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13809 | PopupText4.TextStrokeTransparency = 0 | |
13810 | PopupText4.TextWrapped = true | |
13811 | PopupText4.TextYAlignment = Enum.TextYAlignment.Top | |
13812 | UTDV.Name = "UTDV" | |
13813 | UTDV.Parent = ContainerFrame | |
13814 | UTDV.BackgroundTransparency = 1 | |
13815 | UTDV.Position = UDim2.new(0, 8, 0, 5) | |
13816 | UTDV.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13817 | UTDV.ZIndex = 10 | |
13818 | UTDV.Font = Enum.Font.SourceSansBold | |
13819 | UTDV.FontSize = Enum.FontSize.Size28 | |
13820 | UTDV.Text = "Up to date version: N/A" | |
13821 | UTDV.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13822 | UTDV.TextStrokeTransparency = 0 | |
13823 | UTDV.TextWrapped = true | |
13824 | UTDV.TextYAlignment = Enum.TextYAlignment.Top | |
13825 | PopupText5.Name = "PopupText5" | |
13826 | PopupText5.Parent = ContainerFrame | |
13827 | PopupText5.BackgroundTransparency = 1 | |
13828 | PopupText5.Position = UDim2.new(0, 8, 0, 75) | |
13829 | PopupText5.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13830 | PopupText5.ZIndex = 10 | |
13831 | PopupText5.Font = Enum.Font.SourceSansBold | |
13832 | PopupText5.FontSize = Enum.FontSize.Size28 | |
13833 | PopupText5.Text = "Update Log:" | |
13834 | PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13835 | PopupText5.TextStrokeTransparency = 0 | |
13836 | PopupText5.TextWrapped = true | |
13837 | PopupText5.TextYAlignment = Enum.TextYAlignment.Top | |
13838 | shadow.Name = "shadow" | |
13839 | shadow.Parent = PromptDialog | |
13840 | shadow.BackgroundColor3 = maincolor | |
13841 | shadow.BackgroundTransparency = 0.30000001192093 | |
13842 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
13843 | shadow.BorderSizePixel = 0 | |
13844 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
13845 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
13846 | Exitt.Name = "Exit" | |
13847 | Exitt.Parent = shadow | |
13848 | Exitt.BackgroundColor3 = Color3.new(1, 0, 0) | |
13849 | Exitt.BackgroundTransparency = 0.30000001192093 | |
13850 | Exitt.BorderColor3 = Color3.new(1, 0, 0) | |
13851 | Exitt.BorderSizePixel = 0 | |
13852 | Exitt.Position = UDim2.new(0, 415, 0, 3) | |
13853 | Exitt.Size = UDim2.new(0, 20, 0, 20) | |
13854 | Exitt.FontSize = Enum.FontSize.Size14 | |
13855 | Exitt.Text = "" | |
13856 | PopupText.Name = "PopupText" | |
13857 | PopupText.Parent = shadow | |
13858 | PopupText.BackgroundTransparency = 1 | |
13859 | PopupText.Position = UDim2.new(0, 61, 0, -2) | |
13860 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
13861 | PopupText.ZIndex = 110 | |
13862 | PopupText.Font = Enum.Font.SourceSansBold | |
13863 | PopupText.TextSize = 30 | |
13864 | PopupText.Text = "Information" | |
13865 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13866 | PopupText.TextStrokeTransparency = 0 | |
13867 | PopupText.TextWrapped = true | |
13868 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
13869 | vers.Name = "vers" | |
13870 | vers.Parent = shadow | |
13871 | vers.BackgroundTransparency = 1 | |
13872 | vers.Position = UDim2.new(0, 8, 0, 2) | |
13873 | vers.Size = UDim2.new(0.200913236, -16, 1.11538458, 0) | |
13874 | vers.ZIndex = 110 | |
13875 | vers.Font = Enum.Font.SourceSansBold | |
13876 | vers.TextSize = 20 | |
13877 | vers.Text = "v" .. Version | |
13878 | vers.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13879 | vers.TextStrokeTransparency = 0 | |
13880 | vers.TextWrapped = true | |
13881 | vers.TextXAlignment = Enum.TextXAlignment.Left | |
13882 | vers.TextYAlignment = Enum.TextYAlignment.Top | |
13883 | if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end | |
13884 | dragg:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) Exitt.MouseButton1Click:connect(function() | |
13885 | dragg:TweenPosition(UDim2.new(0.5, -225, 0, -600), "InOut", "Quart", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end) | |
13886 | quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end) end | |
13887 | ||
13888 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(01203480675) wait(0.3) | |
13889 | if not game.CoreGui:FindFirstChild('IYrun') then | |
13890 | running = Instance.new("BoolValue") running.Parent = game.CoreGui running.Name = 'IYrun' | |
13891 | if Asset.Name == "Infinite Yield " .. Version then UTD = true wait(0.5) run() else | |
13892 | UTD = false local Updates = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame") local shadow = Instance.new("Frame") local Exit = Instance.new("TextButton") | |
13893 | local title = Instance.new("TextLabel") local ContainerFrame = Instance.new("Frame") local a = Instance.new("TextLabel") local a2 = Instance.new("TextLabel") | |
13894 | local a3 = Instance.new("TextLabel") local a2_2 = Instance.new("TextLabel") local UPDATE = Instance.new("TextButton") local Line = Instance.new("Frame") | |
13895 | Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Updates PromptDialog.Active = true | |
13896 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0 | |
13897 | PromptDialog.Position = UDim2.new(0.5, -219, 0, 100) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8 shadow.Name = "shadow" | |
13898 | 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 | |
13899 | shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093 | |
13900 | 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 | |
13901 | Exit.Text = "" title.Name = "title" title.Parent = shadow title.BackgroundTransparency = 1 title.Position = UDim2.new(0, 8, 0, -4) | |
13902 | title.Size = UDim2.new(1, -16, 0.800000012, 0) title.ZIndex = 110 title.Font = Enum.Font.SourceSansBold title.TextSize = 30 | |
13903 | 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 | |
13904 | ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 31) | |
13905 | ContainerFrame.Size = UDim2.new(1, 0, 0.75, 0) ContainerFrame.ZIndex = 8 ContainerFrame.Style = Enum.FrameStyle.DropShadow a.Name = "a" a.Parent = ContainerFrame | |
13906 | 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 | |
13907 | 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 | |
13908 | 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) | |
13909 | 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." | |
13910 | 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 | |
13911 | 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 | |
13912 | 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 | |
13913 | 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) | |
13914 | 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'" | |
13915 | 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" | |
13916 | UPDATE.Parent = ContainerFrame UPDATE.BackgroundColor3 = Color3.new(0, 0, 0) UPDATE.BackgroundTransparency = 0.80000001192093 UPDATE.BorderColor3 = Color3.new(1, 1, 1) | |
13917 | UPDATE.Position = UDim2.new(0, 148, 0, 153) UPDATE.Size = UDim2.new(0, 126, 0, 40) UPDATE.ZIndex = 9 UPDATE.Font = Enum.Font.SourceSans | |
13918 | UPDATE.FontSize = Enum.FontSize.Size18 UPDATE.Text = "Update" UPDATE.TextColor3 = Color3.new(1, 1, 1) Line.Name = "Line" Line.Parent = PromptDialog | |
13919 | 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) | |
13920 | Line.Size = UDim2.new(0.926999986, 0, 0, 1) Line.ZIndex = 8 function Click(mouse) | |
13921 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4) | |
13922 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5) | |
13923 | Updates:Destroy() run() end Exit.MouseButton1Down:connect(Click) function Click(mouse) | |
13924 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4) | |
13925 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
13926 | for _, child in pairs(game.CoreGui:GetChildren()) do | |
13927 | if child.Name == "IYrun" then child:Destroy() end end wait(0.5) | |
13928 | Updates:Destroy() loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))() end UPDATE.MouseButton1Down:connect(Click) end | |
13929 | else print('Infinite Yield is already running.') end |