SHOW:
|
|
- or go back to the newest paste.
1 | - | --THIS SCRIPT HAS BEEN DISCONTINUED |
1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
2 | - | --Please use Infinite Yield FE |
2 | + | if game:GetService("RunService"):IsClient() then error("Your fucking script is assholic use h/ dumbass") end |
3 | - | --infyield.yolasite.com |
3 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
4 | - | --discord.io/infiniteyield |
4 | + | local RealPlayer = Player |
5 | do print("Execute the c00l Kidd stuff")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 | |
6 | - | local GUI = Instance.new("ScreenGui") |
6 | + | |
7 | - | local AnnGUI = Instance.new("Frame") |
7 | + | |
8 | - | local background = Instance.new("Frame") |
8 | + | |
9 | - | local TextBox = Instance.new("TextLabel") |
9 | + | |
10 | -- |_ _| / _(_) (_) | \ \ / (_) | | | | -- | |
11 | -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | -- | |
12 | -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | -- | |
13 | - | local ExitImage = Instance.new("ImageLabel") |
13 | + | |
14 | -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| -- | |
15 | - | GUI.Parent = game:GetService("CoreGui") |
15 | + | |
16 | --------------------------------------------------------------- | |
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 | colorG = 0.121569; | |
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 | chatsV = false; | |
34 | - | TextBox.Parent = background |
34 | + | |
35 | - | TextBox.BackgroundTransparency = 1 |
35 | + | |
36 | - | TextBox.Position = UDim2.new(0, 5, 0, 5) |
36 | + | |
37 | - | TextBox.Size = UDim2.new(0, 350, 0, 140) |
37 | + | |
38 | - | TextBox.Font = Enum.Font.SourceSans |
38 | + | |
39 | - | TextBox.TextSize = 18 |
39 | + | |
40 | - | TextBox.TextWrapped = true |
40 | + | |
41 | - | TextBox.Text = "This version of Infinite Yield has been discontinued. Please go to our website or discord server to get a currently supported version.\n\ndiscord.io/infiniteyield\n\ninfyield.yolasite.com" |
41 | + | |
42 | - | TextBox.TextColor3 = Color3.new(1, 1, 1) |
42 | + | |
43 | - | TextBox.TextXAlignment = Enum.TextXAlignment.Left |
43 | + | |
44 | - | TextBox.TextYAlignment = Enum.TextYAlignment.Top |
44 | + | |
45 | - | TextBox.ZIndex = 10 |
45 | + | |
46 | wait(1) | |
47 | local newjson = readfile("IY.txt") | |
48 | - | shadow.Parent = AnnGUI |
48 | + | |
49 | - | shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
49 | + | |
50 | colorG = CREATEFILE.colorG | |
51 | - | shadow.Size = UDim2.new(0, 360, 0, 20) |
51 | + | |
52 | - | shadow.ZIndex = 10 |
52 | + | |
53 | suggestionstoggle = CREATEFILE.suggestionstoggle | |
54 | allowfriends = CREATEFILE.allowfriends | |
55 | JLnotify = CREATEFILE.JLnotify | |
56 | Mseconds = CREATEFILE.Mseconds | |
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 | loaded = true end | |
64 | function pcWRITE() | |
65 | local file, err = pcall(writeF) | |
66 | if not file then | |
67 | - | Exit.BackgroundTransparency = 1 |
67 | + | |
68 | - | Exit.Position = UDim2.new(1, -20, 0, 0) |
68 | + | |
69 | function Click(mouse) R_W:Destroy() | |
70 | for _, child in pairs(game.CoreGui:GetChildren()) do | |
71 | - | Exit.ZIndex = 10 |
71 | + | |
72 | child:Destroy() end 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 | if success then | |
81 | local json = readfile("IY.txt") | |
82 | - | AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil) |
82 | + | |
83 | colorR = LOADFILE.colorR | |
84 | colorG = LOADFILE.colorG | |
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 | JLnotify = LOADFILE.JLnotify | |
90 | Mseconds = LOADFILE.Mseconds | |
91 | Nfriends = LOADFILE.Nfriends | |
92 | - | --script start |
92 | + | |
93 | chatsV = LOADFILE.chatsV | |
94 | whispersV = LOADFILE.whispersV | |
95 | commandsV = LOADFILE.commandsV | |
96 | aliasSave = LOADFILE.aliasSave | |
97 | loaded = true else | |
98 | pcWRITE() writeF() end | |
99 | else | |
100 | colorR = 0.121569 | |
101 | colorG = 0.121569 | |
102 | colorB = 0.121569 | |
103 | cmdprefix = ';' | |
104 | suggestionstoggle = true | |
105 | allowfriends = true | |
106 | JLnotify = true | |
107 | Mseconds = '7' | |
108 | Nfriends = true | |
109 | cmdbarbind = ';' | |
110 | chatsV = false | |
111 | whispersV = false | |
112 | commandsV = false | |
113 | aliasSave = {} | |
114 | loaded = true | |
115 | end | |
116 | repeat wait() until loaded == true | |
117 | local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local Player = gPlayers.LocalPlayer | |
118 | 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={} | |
119 | 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 | |
120 | services.events = {} local user = gPlayers.LocalPlayer local bringT = {} agelock = nil isagelocked = false local scriptprefix='\\' | |
121 | local split=" " slock = false | |
122 | function updatefile() | |
123 | if writefileExploit() then | |
124 | local update = { | |
125 | colorR = colorR; | |
126 | colorG = colorG; | |
127 | colorB = colorB; | |
128 | cmdprefix = cmdprefix; | |
129 | suggestionstoggle = suggestionstoggle; | |
130 | allowfriends = allowfriends; | |
131 | JLnotify = JLnotify; | |
132 | Mseconds = Mseconds; | |
133 | Nfriends = Nfriends; | |
134 | cmdbarbind = cmdbarbind; | |
135 | chatsV = chatsV; | |
136 | whispersV = whispersV; | |
137 | commandsV = commandsV; | |
138 | aliasSave = aliasSave | |
139 | } | |
140 | local updated = HttpService:JSONEncode(update) | |
141 | wait(0.1) | |
142 | writefile("IY.txt", updated) end end | |
143 | function isNumber(str) | |
144 | return tonumber(str) ~= nil end | |
145 | function msghook() | |
146 | for _, child in pairs( workspace:GetChildren()) do | |
147 | if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then | |
148 | child.Name = "IYmessage" child.Text = '' MSGhook = true end end | |
149 | if workspace:FindFirstChild("IYmessage") then MSGhook = true | |
150 | else MSGhook = false end end | |
151 | game:GetService("RunService").RenderStepped:Connect(function() | |
152 | game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0) | |
153 | if r15noclip then | |
154 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end end | |
155 | if LP.Character and LP.Character:FindFirstChild('Humanoid') then | |
156 | LP.Character.Humanoid.Died:connect(function() FLYING = false end) | |
157 | if MSGhook == true and workspace:FindFirstChild("IYmessage") then | |
158 | if workspace.IYmessage.Text == '' then | |
159 | for _, child in pairs( LightingService:GetChildren()) do | |
160 | if child.Name == "IYmblur" then | |
161 | child:Destroy() end end end | |
162 | else MSGhook = false end | |
163 | for i,v in pairs(_players:GetPlayers()) do | |
164 | if FindTable(loopkillT, v.Name) then | |
165 | v.Character:BreakJoints() end | |
166 | if FindTable(disabletoolsT, v.Name) and v:FindFirstChild('Backpack') then | |
167 | v.Backpack:Destroy() | |
168 | for i,n in pairs(v.Character:GetChildren()) do | |
169 | if n:IsA('Tool') or n:IsA('HopperBin') then | |
170 | n:destroy() end end end | |
171 | if FindTable(rainbowT, v.Name) then | |
172 | v.Neutral = false | |
173 | v.TeamColor = BrickColor.random() | |
174 | end end end end) | |
175 | LightingService = game:GetService("Lighting") | |
176 | origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time = | |
177 | LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart} | |
178 | function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end | |
179 | function FindTable(Table, Name) | |
180 | for i,v in pairs(Table) do | |
181 | if v == Name then | |
182 | return true | |
183 | end end | |
184 | return false | |
185 | end | |
186 | function GetInTable(Table, Name) | |
187 | for i = 1, #Table do | |
188 | if Table[i] == Name then | |
189 | return i | |
190 | end end | |
191 | return false end | |
192 | _players.PlayerRemoving:connect(function(player) | |
193 | for a,b in pairs(injail) do if b == player.Name then table.remove(injail, a) workspace["JAIL_" .. player.Name]:Destroy() end end | |
194 | for a,b in pairs(hastab) do if b == player.Name then table.remove(hastab, a) workspace[player.Name .. "TAB"]:Destroy() end end | |
195 | if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then | |
196 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
197 | Title = player.Name, | |
198 | Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']', | |
199 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
200 | Duration = 5, | |
201 | }) | |
202 | elseif JLnotify == true and Nfriends == false then | |
203 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
204 | Title = player.Name, | |
205 | Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']', | |
206 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
207 | Duration = 5, | |
208 | }) | |
209 | end | |
210 | end) | |
211 | FLYING = false | |
212 | iyflyspeed = 1 | |
213 | function sFLY() -- from rocky2u cmdscript | |
214 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid') | |
215 | repeat wait() until Mouse | |
216 | ||
217 | local T = LP.Character.HumanoidRootPart | |
218 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
219 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
220 | local SPEED = 0 | |
221 | ||
222 | local function FLY() | |
223 | FLYING = true | |
224 | local BG = Instance.new('BodyGyro', T) | |
225 | local BV = Instance.new('BodyVelocity', T) | |
226 | BG.P = 9e4 | |
227 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
228 | BG.cframe = T.CFrame | |
229 | BV.velocity = Vector3.new(0, 0.1, 0) | |
230 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
231 | spawn(function() | |
232 | repeat wait() | |
233 | LP.Character.Humanoid.PlatformStand = true | |
234 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
235 | SPEED = 50 | |
236 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
237 | SPEED = 0 | |
238 | end | |
239 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
240 | 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 | |
241 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
242 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
243 | 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 | |
244 | else | |
245 | BV.velocity = Vector3.new(0, 0.1, 0) | |
246 | end | |
247 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
248 | until not FLYING | |
249 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
250 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
251 | SPEED = 0 | |
252 | BG:destroy() | |
253 | BV:destroy() | |
254 | LP.Character.Humanoid.PlatformStand = false | |
255 | end) | |
256 | end | |
257 | Mouse.KeyDown:connect(function(KEY) | |
258 | if KEY:lower() == 'w' then | |
259 | CONTROL.F = iyflyspeed | |
260 | elseif KEY:lower() == 's' then | |
261 | CONTROL.B = -iyflyspeed | |
262 | elseif KEY:lower() == 'a' then | |
263 | CONTROL.L = -iyflyspeed | |
264 | elseif KEY:lower() == 'd' then | |
265 | CONTROL.R = iyflyspeed | |
266 | end | |
267 | end) | |
268 | Mouse.KeyUp:connect(function(KEY) | |
269 | if KEY:lower() == 'w' then | |
270 | CONTROL.F = 0 | |
271 | elseif KEY:lower() == 's' then | |
272 | CONTROL.B = 0 | |
273 | elseif KEY:lower() == 'a' then | |
274 | CONTROL.L = 0 | |
275 | elseif KEY:lower() == 'd' then | |
276 | CONTROL.R = 0 | |
277 | end | |
278 | end) | |
279 | FLY() | |
280 | end | |
281 | function NOFLY() | |
282 | FLYING = false | |
283 | LP.Character.Humanoid.PlatformStand = false | |
284 | end | |
285 | HK = { | |
286 | '-HOTKEYS-', | |
287 | 'HOLD F2 - Click TP', | |
288 | 'F4 - Toggle Fly', | |
289 | 'F5 - Toggle Noclip', | |
290 | '-COMMANDS-' | |
291 | } | |
292 | CMDs = { | |
293 | 'addalias [cmd] [alias]', | |
294 | 'addstat [plr] [text]', | |
295 | 'admins', | |
296 | 'admin [plr]', | |
297 | 'agelock [age num]', | |
298 | 'addban [full username]', | |
299 | 'age [plr]', | |
300 | 'aliases', | |
301 | 'alien / ayylmao [plr]', | |
302 | 'ambient [R G B]', | |
303 | 'anchor', | |
304 | 'animation [plr] [anim]', | |
305 | 'arrest [plr]', | |
306 | 'bait', | |
307 | 'ball [plr]', | |
308 | 'bang [plr] [plr] / bang [plr]', | |
309 | 'bans', | |
310 | 'ban [plr]', | |
311 | 'base', | |
312 | 'begone / thot [plr]', | |
313 | 'bgui [plr] [text]', | |
314 | 'blackandwhite', | |
315 | 'bleach [plr]', | |
316 | 'blackify [plr]', | |
317 | 'blind [plr]', | |
318 | 'blur [num]', | |
319 | 'bomb [plr]', | |
320 | 'box [plr]', | |
321 | 'breakloops/break (cmd loops)', | |
322 | 'brightness [num]', | |
323 | 'bring [plr]', | |
324 | 'btools [plr]', | |
325 | 'burn [plr]', | |
326 | 'cape [plr] [R G B]', | |
327 | 'car [plr]', | |
328 | 'change [plr] [stat] [num]', | |
329 | 'charplr / cp [plr] [plr]', | |
330 | 'char [plr] [ID]', | |
331 | 'chat [plr] [msg]', | |
332 | 'chickenarms / chicken [plr]', | |
333 | 'clear', | |
334 | 'clip', | |
335 | 'clone [plr]', | |
336 | 'clraliases', | |
337 | 'clrbans', | |
338 | 'clrterrain', | |
339 | 'cmds', | |
340 | 'confuse [plr]', | |
341 | 'control [plr]', | |
342 | 'copytools / ctools [plr]', | |
343 | 'countdown [num]', | |
344 | 'crash [plr]', | |
345 | 'creeper [plr]', | |
346 | 'cripple [plr]', | |
347 | 'crucify [plr]', | |
348 | 'damage [plr]', | |
349 | 'dance [plr]', | |
350 | 'day', | |
351 | 'decalspam [ID]', | |
352 | 'deleteclass / dc [class name]', | |
353 | 'deletepos / dpos [name]', | |
354 | 'delete [part name]', | |
355 | 'devuzi', | |
356 | 'disablereset [plr]', | |
357 | 'disabletools [plr]', | |
358 | 'disable [plr]', | |
359 | 'disco', | |
360 | 'discomesh [plr]', | |
361 | 'distortsound / distort [num]', | |
362 | 'dog [plr]', | |
363 | 'dong [plr]', | |
364 | 'draw', | |
365 | 'duck [plr]', | |
366 | 'dummy [name]', | |
367 | 'earthquake [power] [intensity]', | |
368 | 'enablereset [plr]', | |
369 | 'enabletools [plr]', | |
370 | 'enable [plr]', | |
371 | 'esp [plr]', | |
372 | 'exit', | |
373 | 'explode [plr]', | |
374 | 'explorer / dex', | |
375 | 'f3x', | |
376 | 'face [plr] [ID]', | |
377 | 'fart [plr]', | |
378 | 'fat [plr]', | |
379 | 'fegod', | |
380 | 'feinvisible / feinvis', | |
381 | 'fekill [plr] (need a tool)', | |
382 | 'ff [plr]', | |
383 | 'filtering', | |
384 | 'fire [plr] [R G B]', | |
385 | 'firstp [plr]', | |
386 | 'fix', | |
387 | 'fixcam', | |
388 | 'fixlighting / fixl', | |
389 | 'flashlight [plr]', | |
390 | 'fling [plr]', | |
391 | 'float [plr]', | |
392 | 'flood', | |
393 | 'fly', | |
394 | 'flyspeed [num]', | |
395 | 'fogcolor [R G B]', | |
396 | 'fogend [num]', | |
397 | 'freecam / fc', | |
398 | 'freecamspeed / fcspeed [num]', | |
399 | 'freeze / fr [plr]', | |
400 | 'ghost [plr]', | |
401 | 'glass [plr]', | |
402 | 'globalshadows / gshadows', | |
403 | 'glowstick [plr] [R G B]', | |
404 | 'god [plr]', | |
405 | 'goto [plr]', | |
406 | 'gravity [num]', | |
407 | 'hang [plr]', | |
408 | 'hatsize [plr] [num]', | |
409 | 'hat [plr] [ID]', | |
410 | 'headshake [plr]', | |
411 | 'headsize [plr] [num]', | |
412 | 'heal [plr]', | |
413 | 'hidename [plr]', | |
414 | 'hideplaylist / hideplayer', | |
415 | 'hipheight / hheight [plr] [num]', | |
416 | 'hub', | |
417 | 'infect [plr]', | |
418 | 'insert [ID/name]', | |
419 | 'invert', | |
420 | 'invisible / invis [plr]', | |
421 | 'invisibleff / invisff [plr]', | |
422 | 'iyspam', | |
423 | 'jail [plr]', | |
424 | 'jumppower / jpower [plr] [num]', | |
425 | 'jump [plr]', | |
426 | 'keeptools / ktools [plr]', | |
427 | 'keybind [key] [cmd]', | |
428 | 'kick [plr]', | |
429 | 'kidnap [plr]', | |
430 | 'kill [plr]', | |
431 | 'knife', | |
432 | 'knuckles [plr]', | |
433 | 'light [plr] [R G B]', | |
434 | 'loadm', | |
435 | 'loadmap [ID]', | |
436 | 'loadpos / lpos [plr] [name]', | |
437 | 'lockws', | |
438 | 'lock [plr]', | |
439 | 'logs', | |
440 | 'longneck [plr]', | |
441 | 'loopbring [plr]', | |
442 | 'loopheal [plr]', | |
443 | 'loopjump / ljump [plr]', | |
444 | 'loopkill [plr]', | |
445 | 'loopname / lname [plr]', | |
446 | 'loopoof', | |
447 | 'loopsit / lsit [plr]', | |
448 | 'mage', | |
449 | 'maxhealth [plr] [num]', | |
450 | 'maxzoom [plr] [num]', | |
451 | 'mesh [plr] [mesh] [texture]', | |
452 | 'message / m [msg]', | |
453 | 'meteor/asteroid [plr]', | |
454 | 'naked [plr]', | |
455 | 'name [plr]', | |
456 | 'neon [plr]', | |
457 | 'nextsong', | |
458 | 'night', | |
459 | 'nil [plr]', | |
460 | 'noarms [plr]', | |
461 | 'nobox [plr]', | |
462 | 'noclip', | |
463 | 'noclones [plr]', | |
464 | 'nodong [plr]', | |
465 | 'nodummies', | |
466 | 'noesp [plr]', | |
467 | 'noglobalshadows / nogshadows', | |
468 | 'nokeeptools / noktools [plr]', | |
469 | 'nolimbs [plr]', | |
470 | 'nooutlines', | |
471 | 'noparticles [plr]', | |
472 | 'noplrsound [plr]', | |
473 | 'norain', | |
474 | 'notools [plr]', | |
475 | 'nuke [plr]', | |
476 | 'os [plr]', | |
477 | 'offset [plr] [coordinate]', | |
478 | 'outlines', | |
479 | 'paper [plr]', | |
480 | 'partdisco', | |
481 | 'particles [plr] [ID]', | |
482 | 'pipetp [plr] [plr]', | |
483 | 'pitch [num]', | |
484 | 'playhash / hash [hash]', | |
485 | 'playlist / player [ID],[ID]...', | |
486 | 'plrsound [plr] [ID]', | |
487 | 'positions / pos', | |
488 | 'prefix [string]', | |
489 | 'prevsong', | |
490 | 'punish [plr]', | |
491 | 'rainbowname [plr]', | |
492 | 'rainbow [plr]', | |
493 | 'rain [mesh] [texture]', | |
494 | 'refresh / re [plr]', | |
495 | 'rejoin', | |
496 | 'remotespy', | |
497 | 'removealias [alias]', | |
498 | 'removebait / nobait', | |
499 | 'rgui', | |
500 | 'removehats / rhats [plr]', | |
501 | 'removespawns', | |
502 | 'respawn [plr]', | |
503 | 'restoremap / rmap', | |
504 | 'rocket [plr]', | |
505 | 'savelighting / slighting', | |
506 | 'savemap / smap', | |
507 | 'savepos / spos [name]', | |
508 | 'script [script]', | |
509 | 'seagull / gull [plr]', | |
510 | 'seizure [plr]', | |
511 | 'serverinfo / info', | |
512 | 'serverlock / slock', | |
513 | 'servermessage / sm [msg]', | |
514 | 'sethealth [plr] [num]', | |
515 | 'setsong [num]', | |
516 | 'settings', | |
517 | 'sgod [plr]', | |
518 | 'shiny [plr]', | |
519 | 'shrek [plr]', | |
520 | 'shutdown', | |
521 | 'sit [plr]', | |
522 | 'size [plr] [num]', | |
523 | 'skydive [plr]', | |
524 | 'skygif [ID],[ID]... [interval]', | |
525 | 'sky [ID]', | |
526 | 'smite [plr]', | |
527 | 'smoke [plr]', | |
528 | 'sound / music [ID/name]', | |
529 | 'sparkles / sp [plr] [R G B]', | |
530 | 'spasm [plr]', | |
531 | 'spawnpoint [plr]', | |
532 | 'spectate / view [plr]', | |
533 | 'speed / ws [plr] [num]', | |
534 | 'sphere [plr]', | |
535 | 'spin [plr]', | |
536 | 'spookyify', | |
537 | 'starman [plr]', | |
538 | 'strength [plr]', | |
539 | 'strobe', | |
540 | 'stun [plr]', | |
541 | 'sun [intense] [spread]', | |
542 | 'sword [plr]', | |
543 | 'tablet', | |
544 | 'team [plr] [team]', | |
545 | 'terrain', | |
546 | 'thaw / unfr [plr]', | |
547 | 'thirdp [plr]', | |
548 | 'time [num]', | |
549 | 'tools [plr]', | |
550 | 'torso [plr]', | |
551 | 'tppos [plr] [coordinate]', | |
552 | 'tp [plr] [plr]', | |
553 | 'trail [plr] [R G B]', | |
554 | 'trip [plr]', | |
555 | 'unadmin [plr]', | |
556 | 'unagelock', | |
557 | 'unanchor', | |
558 | 'unball [plr]', | |
559 | 'unban [plr]', | |
560 | 'unbgui [plr]', | |
561 | 'unblind [plr]', | |
562 | 'unblur', | |
563 | 'uncape [plr]', | |
564 | 'uncar [plr]', | |
565 | 'unchar [plr]', | |
566 | 'unconfuse [plr]', | |
567 | 'uncreeper [plr]', | |
568 | 'uncripple [plr]', | |
569 | 'undecalspam', | |
570 | 'undisco', | |
571 | 'undog [plr]', | |
572 | 'unduck [plr]', | |
573 | 'unff [plr]', | |
574 | 'unfire [plr]', | |
575 | 'unfloat [plr]', | |
576 | 'unfly', | |
577 | 'unfreecam / unfc', | |
578 | 'unghost [plr]', | |
579 | 'ungod [plr]', | |
580 | 'unhidename [plr]', | |
581 | 'uninfect [plr]', | |
582 | 'unjail [plr]', | |
583 | 'unkeybind [key]', | |
584 | 'unlight [plr]', | |
585 | 'unlockws', | |
586 | 'unlock [plr]', | |
587 | 'unlongneck [plr]', | |
588 | 'unloopbring [plr]', | |
589 | 'unloopheal [plr]', | |
590 | 'unloopjump / unljump [plr]', | |
591 | 'unloopkill [plr]', | |
592 | 'unloopname / unlname [plr]', | |
593 | 'unloopoof', | |
594 | 'unloopsit / unlsit [plr]', | |
595 | 'unname [plr]', | |
596 | 'unpartdisco', | |
597 | 'unpunish [plr]', | |
598 | 'unrainbowname [plr]', | |
599 | 'unseizure [plr]', | |
600 | 'unserverlock / unslock', | |
601 | 'unshrek [plr]', | |
602 | 'unskygif', | |
603 | 'unsmoke [plr]', | |
604 | 'unsparkles / unsp [plr]', | |
605 | 'unspectate / unview', | |
606 | 'unsphere [plr]', | |
607 | 'unspin [plr]', | |
608 | 'unstarman [plr]', | |
609 | 'unstrength [plr]', | |
610 | 'unstrobe', | |
611 | 'unstun [plr]', | |
612 | 'untrail [plr]', | |
613 | 'unweaken [plr]', | |
614 | 'version', | |
615 | 'visible / vis [plr]', | |
616 | 'volume / vol [num]', | |
617 | 'weaken [plr]', | |
618 | 'whiteify [plr]', | |
619 | 'zinnia [plr]' | |
620 | } | |
621 | 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 | |
622 | ||
623 | std.inTable=function(tbl,val) | |
624 | if tbl==nil then return false end | |
625 | ||
626 | for _,v in pairs(tbl)do | |
627 | if v==val then return true end | |
628 | end | |
629 | return false | |
630 | end | |
631 | std.out=function(str) | |
632 | print(str) | |
633 | end | |
634 | std.list=function(tbl) | |
635 | local str='' | |
636 | for i,v in pairs(tbl)do | |
637 | str=str..tostring(v) | |
638 | if i~=#tbl then str=str..', ' end | |
639 | end | |
640 | return str | |
641 | end | |
642 | std.endat=function(str,val) | |
643 | local z=str:find(val) | |
644 | if z then | |
645 | return str:sub(0,z-string.len(val)),true | |
646 | else | |
647 | return str,false | |
648 | end | |
649 | end | |
650 | std.first=function(str) return str:sub(1,1) end | |
651 | ||
652 | function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end | |
653 | ||
654 | local exec=function(str) | |
655 | spawn(function() | |
656 | local script, loaderr = loadstring(str) | |
657 | if not script then | |
658 | error(loaderr) | |
659 | else | |
660 | script() | |
661 | end | |
662 | end) | |
663 | end | |
664 | local findCmd=function(cmd_name) | |
665 | for i,v in pairs(cmds)do | |
666 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then | |
667 | return v | |
668 | end | |
669 | end | |
670 | end | |
671 | local getCmd=function(msg) | |
672 | local cmd,hassplit=std.endat(msg:lower(),split) | |
673 | if hassplit then | |
674 | return {cmd,true} | |
675 | else | |
676 | return {cmd,false} | |
677 | end | |
678 | end | |
679 | local getprfx=function(strn) | |
680 | if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1} | |
681 | elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1} | |
682 | end return | |
683 | end | |
684 | function dragGUI(gui) | |
685 | spawn(function() | |
686 | local UserInputService = game:GetService("UserInputService") | |
687 | local dragging | |
688 | local dragInput | |
689 | local dragStart | |
690 | local startPos | |
691 | local function update(input) | |
692 | local delta = input.Position - dragStart | |
693 | 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) | |
694 | end | |
695 | gui.InputBegan:Connect(function(input) | |
696 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
697 | dragging = true | |
698 | dragStart = input.Position | |
699 | startPos = gui.Position | |
700 | ||
701 | input.Changed:Connect(function() | |
702 | if input.UserInputState == Enum.UserInputState.End then | |
703 | dragging = false | |
704 | end | |
705 | end) | |
706 | end | |
707 | end) | |
708 | gui.InputChanged:Connect(function(input) | |
709 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then | |
710 | dragInput = input | |
711 | end | |
712 | end) | |
713 | UserInputService.InputChanged:Connect(function(input) | |
714 | if input == dragInput and dragging then | |
715 | update(input) | |
716 | end | |
717 | end) | |
718 | end) | |
719 | end | |
720 | maincolor = Color3.new(colorR, colorG, colorB) | |
721 | function updatecolors(color) | |
722 | colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b | |
723 | maincolor = color | |
724 | for _, child in pairs( game.CoreGui.RobloxGui:GetChildren()) do | |
725 | if child.Name == "TopBarContainer" then | |
726 | child.BackgroundColor3 = color | |
727 | end end | |
728 | FeedbackMain.BackgroundColor3 = maincolor | |
729 | MAIN.BackgroundColor3 = maincolor | |
730 | bar.BackgroundColor3 = maincolor | |
731 | game.CoreGui.sugg.suggestions.BackgroundColor3 = color | |
732 | if game.CoreGui:FindFirstChild('Updates') then | |
733 | game.CoreGui.Updates.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
734 | game.CoreGui.Updates.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
735 | if game.CoreGui:FindFirstChild('Sinfo') then | |
736 | game.CoreGui.Sinfo.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
737 | game.CoreGui.Sinfo.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
738 | if game.CoreGui:FindFirstChild('cp') then | |
739 | game.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color | |
740 | game.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color | |
741 | game.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color end | |
742 | if game.CoreGui:FindFirstChild('Bans') then | |
743 | game.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
744 | game.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
745 | if game.CoreGui:FindFirstChild('Pos') then | |
746 | game.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
747 | game.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
748 | if game.CoreGui:FindFirstChild('Admins') then | |
749 | game.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
750 | game.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
751 | if game.CoreGui:FindFirstChild('Logs') then | |
752 | game.CoreGui.Logs.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
753 | game.CoreGui.Logs.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
754 | if game.CoreGui:FindFirstChild('Aliases') then | |
755 | game.CoreGui.Aliases.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
756 | game.CoreGui.Aliases.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
757 | for _, child in pairs( game.CoreGui:GetChildren()) do | |
758 | if child.Name == "Models" then | |
759 | game.CoreGui.Models.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
760 | game.CoreGui.Models.drag.PromptDialog.shadow.BackgroundColor3 = color | |
761 | end | |
762 | end | |
763 | for _, child in pairs( game.CoreGui:GetChildren()) do | |
764 | if child.Name == "Audios" then | |
765 | game.CoreGui.Audios.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
766 | game.CoreGui.Audios.drag.PromptDialog.shadow.BackgroundColor3 = color | |
767 | end | |
768 | end | |
769 | end | |
770 | ||
771 | function respawn(plr) | |
772 | local M = Instance.new('Model', workspace) M.Name = 'respawn_iy' | |
773 | local H = Instance.new('Humanoid', M) | |
774 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 | |
775 | plr.Character = M end | |
776 | ||
777 | local dummy = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1498924930") | |
778 | WL = {'IoIman616','Conceptual_Nullifier','Thomasbudge','N3xuI','MoonlightTears','DesiredUsername1233','marie',LP.Name} | |
779 | function kickF(plr) | |
780 | spawn(function() | |
781 | if plr.Parent ~= nil then | |
782 | if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else | |
783 | local newChar = dummy:Clone() newChar.Parent = workspace | |
784 | newChar.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
785 | for i = 1,4 do | |
786 | local Plat = Instance.new('SkateboardPlatform', newChar) | |
787 | Plat.Position = newChar.HumanoidRootPart.Position | |
788 | Plat.Name = 'IYplat' | |
789 | Plat.Size = Vector3.new(10, 1.2, 10) | |
790 | Plat.Transparency = 1 end | |
791 | plr.Character = newChar | |
792 | local PART = Instance.new('Part', newChar) | |
793 | PART.CFrame = newChar.HumanoidRootPart.CFrame - Vector3.new(0, 3, 0) | |
794 | PART.Size = Vector3.new(10, 1.2, 10) | |
795 | PART.Anchored = true | |
796 | PART.Transparency = 1 | |
797 | if newChar:FindFirstChild("SkateboardPlatform") then | |
798 | newChar.SkateboardPlatform.CFrame = newChar.HumanoidRootPart.CFrame end | |
799 | wait(0.4) | |
800 | if newChar then newChar:Destroy() end | |
801 | kickF(plr) end | |
802 | end end) end | |
803 | ||
804 | function refresh(plr) | |
805 | spawn(function() | |
806 | local rpos = plr.Character.HumanoidRootPart.Position | |
807 | wait(0.1) plr.Character:Destroy() respawn(plr) wait(0.1) | |
808 | repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart') | |
809 | plr.Character:MoveTo(rpos) end) end | |
810 | ||
811 | 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 | |
812 | 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 | |
813 | _players.PlayerAdded:connect(function(player) | |
814 | if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then | |
815 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
816 | Title = player.Name, | |
817 | Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']', | |
818 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
819 | Duration = 5, | |
820 | }) | |
821 | elseif JLnotify == true and Nfriends == false then | |
822 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
823 | Title = player.Name, | |
824 | Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']', | |
825 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
826 | Duration = 5, | |
827 | }) | |
828 | end | |
829 | if slock == true and allowfriends == false then player.CharacterAdded:connect(function() | |
830 | spawn(function() | |
831 | repeat wait() until player.Character | |
832 | kickF(player) | |
833 | end) | |
834 | end) | |
835 | elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then | |
836 | spawn(function() | |
837 | repeat wait() until player.Character | |
838 | kickF(player) | |
839 | end) | |
840 | end | |
841 | if FindTable(banT, player.userId) then | |
842 | spawn(function() | |
843 | repeat wait() until player.Character | |
844 | Notify('Banned player, ' .. player.Name .. ' attempted to join') | |
845 | kickF(player) | |
846 | end) | |
847 | end | |
848 | if isagelocked == true and allowfriends == false and player.AccountAge <= agelock then | |
849 | spawn(function() | |
850 | repeat wait() until player.Character | |
851 | kickF(player) | |
852 | end) | |
853 | else | |
854 | if isagelocked == true and allowfriends == true and not player:IsFriendsWith(user.userId) and player.AccountAge <= agelock then | |
855 | spawn(function() | |
856 | repeat wait() until player.Character | |
857 | kickF(player) | |
858 | end) | |
859 | end | |
860 | end | |
861 | end) | |
862 | local customAlias = {} | |
863 | local findCmd=function(cmd_name) | |
864 | for i,v in pairs(cmds)do | |
865 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then | |
866 | return v | |
867 | end | |
868 | end | |
869 | return customAlias[cmd_name:lower()] | |
870 | end | |
871 | local function splitString(str,delim) | |
872 | local broken = {} | |
873 | if delim == nil then delim = "," end | |
874 | for w in string.gmatch(str,"[^"..delim.."]+") do | |
875 | table.insert(broken,w) | |
876 | end | |
877 | return broken | |
878 | end | |
879 | local historyCount = 0 | |
880 | local cmdHistory = {} | |
881 | lastBreakTime = 0 | |
882 | local function execCmd(cmdStr,speaker) | |
883 | local rawCmdStr = cmdStr | |
884 | cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%") | |
885 | local commandsToRun = splitString(cmdStr,"\\") | |
886 | for i,v in pairs(commandsToRun) do | |
887 | v = string.gsub(v,"%%BackSlash%%","\\") | |
888 | local x,y,num = v:find("^(%d+)%^") | |
889 | local cmdDelay = 0 | |
890 | if num then | |
891 | v = v:sub(y+1) | |
892 | local x,y,del = v:find("^([%d%.]+)%^") | |
893 | if del then | |
894 | v = v:sub(y+1) | |
895 | cmdDelay = tonumber(del) or 0 | |
896 | end | |
897 | end | |
898 | num = tonumber(num or 1) | |
899 | local args = splitString(v,split) | |
900 | local cmd = findCmd(args[1]) | |
901 | if cmd then | |
902 | table.remove(args,1) | |
903 | cargs = args | |
904 | if speaker == gPlayers.LocalPlayer then | |
905 | if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end | |
906 | end | |
907 | if #cmdHistory > 20 then table.remove(cmdHistory) end | |
908 | local cmdStartTime = tick() | |
909 | for rep = 1,num do | |
910 | if lastBreakTime > cmdStartTime then break end | |
911 | pcall(function() | |
912 | cmd.FUNC(args, speaker) | |
913 | end) | |
914 | if cmdDelay ~= 0 then wait(cmdDelay) end | |
915 | end | |
916 | end | |
917 | end | |
918 | end | |
919 | logsloaded = false | |
920 | ChatLog = function(plr) | |
921 | plr.Chatted:Connect(function(Message) | |
922 | if logsloaded == true then | |
923 | if whispersV == true and Message:lower():sub(1,2) == '/w' then | |
924 | CreateLabel(plr.Name,Message) | |
925 | elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,1) == cmdprefix then | |
926 | CreateLabel(plr.Name,Message) | |
927 | elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,4) == '/e '..cmdprefix then | |
928 | CreateLabel(plr.Name,Message) | |
929 | 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 | |
930 | CreateLabel(plr.Name,Message) | |
931 | end end end) end | |
932 | 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 | |
933 | for _, plr in pairs(gPlayers:GetChildren()) do | |
934 | if plr.ClassName == "Player" then | |
935 | updateevents(plr) ChatLog(plr) end end | |
936 | _players.PlayerAdded:connect(function(player) | |
937 | updateevents(player) ChatLog(player) | |
938 | end) | |
939 | _G.exec_cmd = execCmd | |
940 | --gPlayers.LocalPlayer.Chatted:connect(doexec) | |
941 | 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 | |
942 | local _char=function(plr_name) | |
943 | for i,v in pairs(gPlayers:GetChildren())do | |
944 | if v:IsA'Player'then | |
945 | if v.Name==plr_name then return v.Character end | |
946 | end | |
947 | end | |
948 | return | |
949 | end | |
950 | local _plr=function(plr_name) | |
951 | for i,v in pairs(gPlayers:GetChildren())do | |
952 | if v:IsA'Player'then | |
953 | if v.Name==plr_name then return v end | |
954 | end | |
955 | end | |
956 | return | |
957 | end | |
958 | function addcmd(name,desc,alias,func) | |
959 | cmds[#cmds+1]= | |
960 | { | |
961 | NAME=name; | |
962 | DESC=desc; | |
963 | ALIAS=alias; | |
964 | FUNC=func; | |
965 | } | |
966 | end | |
967 | SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins','bacons'} | |
968 | local SpecialPlayerCases = { | |
969 | ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end, | |
970 | ["others"] = function(speaker) | |
971 | local plrs = {} | |
972 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
973 | if v ~= speaker then | |
974 | table.insert(plrs,v) | |
975 | end | |
976 | end | |
977 | return plrs | |
978 | end, | |
979 | ["me"] = function(speaker)return {speaker} end, | |
980 | ["#(%d+)"] = function(speaker,args,currentList) | |
981 | local returns = {} | |
982 | local randAmount = tonumber(args[1]) | |
983 | local players = {unpack(currentList)} | |
984 | for i = 1,randAmount do | |
985 | if #players == 0 then break end | |
986 | local randIndex = math.random(1,#players) | |
987 | table.insert(returns,players[randIndex]) | |
988 | table.remove(players,randIndex) | |
989 | end | |
990 | return returns | |
991 | end, | |
992 | ["random"] = function(speaker,args,currentList) | |
993 | local players = currentList | |
994 | return {players[math.random(1,#players)]} | |
995 | end, | |
996 | ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green] | |
997 | local returns = {} | |
998 | local team = args[1] | |
999 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1000 | if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then | |
1001 | table.insert(returns,plr) | |
1002 | end | |
1003 | end | |
1004 | return returns | |
1005 | end, | |
1006 | ["allies"] = function(speaker) | |
1007 | local returns = {} | |
1008 | local team = speaker.Team | |
1009 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1010 | if plr.Team == team then | |
1011 | table.insert(returns,plr) | |
1012 | end | |
1013 | end | |
1014 | return returns | |
1015 | end, | |
1016 | ["enemies"] = function(speaker) | |
1017 | local returns = {} | |
1018 | local team = speaker.Team | |
1019 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1020 | if plr.Team ~= team then | |
1021 | table.insert(returns,plr) | |
1022 | end | |
1023 | end | |
1024 | return returns | |
1025 | end, | |
1026 | ["team"] = function(speaker) | |
1027 | local returns = {} | |
1028 | local team = speaker.Team | |
1029 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1030 | if plr.Team == team then | |
1031 | table.insert(returns,plr) | |
1032 | end | |
1033 | end | |
1034 | return returns | |
1035 | end, | |
1036 | ["nonteam"] = function(speaker) | |
1037 | local returns = {} | |
1038 | local team = speaker.Team | |
1039 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1040 | if plr.Team ~= team then | |
1041 | table.insert(returns,plr) | |
1042 | end | |
1043 | end | |
1044 | return returns | |
1045 | end, | |
1046 | ["friends"] = function(speaker,args) | |
1047 | local returns = {} | |
1048 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1049 | if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
1050 | table.insert(returns,plr) | |
1051 | end | |
1052 | end | |
1053 | return returns | |
1054 | end, | |
1055 | ["nonfriends"] = function(speaker,args) | |
1056 | local returns = {} | |
1057 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1058 | if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
1059 | table.insert(returns,plr) | |
1060 | end | |
1061 | end | |
1062 | return returns | |
1063 | end, | |
1064 | ["guests"] = function(speaker,args) | |
1065 | local returns = {} | |
1066 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1067 | if plr.Guest then | |
1068 | table.insert(returns,plr) | |
1069 | end | |
1070 | end | |
1071 | return returns | |
1072 | end, | |
1073 | ["bacons"] = function(speaker,args) | |
1074 | local returns = {} | |
1075 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1076 | if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then | |
1077 | table.insert(returns,plr) | |
1078 | end | |
1079 | end | |
1080 | return returns | |
1081 | end, | |
1082 | ["admins"] = function(speaker) | |
1083 | local returns = {} | |
1084 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1085 | if isAdmin(plr) then | |
1086 | table.insert(returns,plr) | |
1087 | end | |
1088 | end | |
1089 | return returns | |
1090 | end, | |
1091 | ["nonadmins"] = function(speaker) | |
1092 | local returns = {} | |
1093 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1094 | if not isAdmin(plr) then | |
1095 | table.insert(returns,plr) | |
1096 | end | |
1097 | end | |
1098 | return returns | |
1099 | end, | |
1100 | ["age(%d+)"] = function(speaker,args) | |
1101 | local returns = {} | |
1102 | local age = tonumber(args[1]) | |
1103 | if not age == nil then return end | |
1104 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1105 | if plr.AccountAge <= age then | |
1106 | table.insert(returns,plr) | |
1107 | end | |
1108 | end | |
1109 | return returns | |
1110 | end, | |
1111 | ["rad(%d+)"] = function(speaker,args) | |
1112 | local returns = {} | |
1113 | local radius = tonumber(args[1]) | |
1114 | local speakerChar = speaker.Character | |
1115 | if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end | |
1116 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1117 | if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then | |
1118 | local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude | |
1119 | if magnitude <= radius then table.insert(returns,plr) end | |
1120 | end | |
1121 | end | |
1122 | return returns | |
1123 | end | |
1124 | } | |
1125 | local function toTokens(str) | |
1126 | local tokens = {} | |
1127 | for op,name in string.gmatch(str,"([+-])([^+-]+)") do | |
1128 | table.insert(tokens,{Operator = op,Name = name}) | |
1129 | end | |
1130 | return tokens | |
1131 | end | |
1132 | local function onlyIncludeInTable(tab,matches) | |
1133 | local matchTable = {} | |
1134 | local resultTable = {} | |
1135 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
1136 | for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end | |
1137 | return resultTable | |
1138 | end | |
1139 | local function removeTableMatches(tab,matches) | |
1140 | local matchTable = {} | |
1141 | local resultTable = {} | |
1142 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
1143 | for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end | |
1144 | return resultTable | |
1145 | end | |
1146 | local function getPlayersByName(name) | |
1147 | local found = {} | |
1148 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1149 | if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then | |
1150 | table.insert(found,v) | |
1151 | end | |
1152 | end | |
1153 | return found | |
1154 | end | |
1155 | local function getPlayer(list,speaker) | |
1156 | if list == nil then return {speaker.Name} end | |
1157 | local nameList = splitString(list,",") | |
1158 | ||
1159 | local foundList = {} | |
1160 | ||
1161 | for _,name in pairs(nameList) do | |
1162 | if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end | |
1163 | local tokens = toTokens(name) | |
1164 | local initialPlayers = game:GetService("Players"):GetPlayers() | |
1165 | ||
1166 | for i,v in pairs(tokens) do | |
1167 | if v.Operator == "+" then | |
1168 | local tokenContent = v.Name | |
1169 | local foundCase = false | |
1170 | for regex,case in pairs(SpecialPlayerCases) do | |
1171 | local matches = {string.match(tokenContent,"^"..regex.."$")} | |
1172 | if #matches > 0 then | |
1173 | foundCase = true | |
1174 | initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers)) | |
1175 | end | |
1176 | end | |
1177 | if not foundCase then | |
1178 | initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent)) | |
1179 | end | |
1180 | else | |
1181 | local tokenContent = v.Name | |
1182 | local foundCase = false | |
1183 | for regex,case in pairs(SpecialPlayerCases) do | |
1184 | local matches = {string.match(tokenContent,"^"..regex.."$")} | |
1185 | if #matches > 0 then | |
1186 | foundCase = true | |
1187 | initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers)) | |
1188 | end | |
1189 | end | |
1190 | if not foundCase then | |
1191 | initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent)) | |
1192 | end | |
1193 | end | |
1194 | end | |
1195 | ||
1196 | for i,v in pairs(initialPlayers) do table.insert(foundList,v) end | |
1197 | end | |
1198 | ||
1199 | local foundNames = {} | |
1200 | for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end | |
1201 | ||
1202 | return foundNames | |
1203 | end | |
1204 | function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F) | |
1205 | local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1 | |
1206 | if (zCoco) then | |
1207 | funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
1208 | else | |
1209 | funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
1210 | end | |
1211 | return funcw | |
1212 | end | |
1213 | function _G.msg(txt) | |
1214 | spawn(function() | |
1215 | msghook() | |
1216 | if MSGhook == true then | |
1217 | workspace.IYmessage.Text = '' | |
1218 | wait(0.1) | |
1219 | local b = Instance.new("BlurEffect", LightingService) | |
1220 | b.Name = "IYmblur" | |
1221 | b.Size = 18 | |
1222 | workspace.IYmessage.Text = txt | |
1223 | wait(Mseconds) | |
1224 | b:Destroy() | |
1225 | if workspace.IYmessage.Text == txt then | |
1226 | workspace.IYmessage.Text = '' end | |
1227 | elseif MSGhook == false then | |
1228 | execCmd("loadm") | |
1229 | repeat wait() until workspace:FindFirstChild("IYmessage") | |
1230 | workspace.IYmessage.Text = '' | |
1231 | wait(0.1) | |
1232 | local b = Instance.new("BlurEffect", LightingService) | |
1233 | b.Name = "IYmblur" | |
1234 | b.Size = 18 | |
1235 | workspace.IYmessage.Text = txt | |
1236 | wait(Mseconds) | |
1237 | b:Destroy() | |
1238 | if workspace.IYmessage.Text == txt then | |
1239 | workspace.IYmessage.Text = '' end | |
1240 | end | |
1241 | end) | |
1242 | end | |
1243 | function bleach(plr) | |
1244 | spawn(function() | |
1245 | local char = plr.Character | |
1246 | local hit1 = Instance.new("Sound", workspace) | |
1247 | hit1.SoundId = "http://roblox.com/asset?id=145486953" | |
1248 | local hit = Instance.new("Sound", workspace) | |
1249 | hit.SoundId = "http://roblox.com/asset?id=178646271" | |
1250 | local Bleach = Instance.new("Part", char["Left Arm"]) | |
1251 | Bleach.CanCollide = false | |
1252 | local Mesh = Instance.new("SpecialMesh", Bleach) | |
1253 | Mesh.MeshId = "http://roblox.com/asset?id=483388971" | |
1254 | Mesh.Scale = Vector3.new(0.005, 0.005, 0.005) | |
1255 | Mesh.TextureId = "http://roblox.com/asset?id=520016684" | |
1256 | local Handy = Instance.new("Weld", Bleach) | |
1257 | Handy.Part0 = Bleach | |
1258 | Handy.Part1 = char["Left Arm"] | |
1259 | Handy.C0 = CFrame.new(0.5,1.8,0) | |
1260 | Handy.C1 = CFrame.Angles(0,4,1) | |
1261 | local drink = Instance.new("Sound", char.Head) | |
1262 | drink.SoundId = "http://roblox.com/asset?id=10722059" | |
1263 | wait(3) | |
1264 | game.Chat:Chat(char.Head,"I need to die","Red") | |
1265 | for i = 1,10 do | |
1266 | wait() | |
1267 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.018,0,0) | |
1268 | Handy.C0 = Handy.C0 * CFrame.new(-0.05,-0.07,0.09) | |
1269 | Handy.C0 = Handy.C0 * CFrame.Angles(0.12,0,0) | |
1270 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(0.2,0,-0.1) | |
1271 | end | |
1272 | drink:Play() | |
1273 | wait(3.4) | |
1274 | drink:Stop() | |
1275 | for i = 1,10 do | |
1276 | wait() | |
1277 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,-0.50,0) | |
1278 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.175,0,0) | |
1279 | Handy.C0 = Handy.C0 * CFrame.new(0.05,0.07,-0.09) | |
1280 | Handy.C0 = Handy.C0 * CFrame.Angles(-0.1,0,0) | |
1281 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.15,-0.04,0.2) | |
1282 | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.05,0.03,0) | |
1283 | char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0 * CFrame.Angles(-0.02,0,0) | |
1284 | char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0 * CFrame.Angles(-0.01,0,0) | |
1285 | end | |
1286 | wait(0.01) | |
1287 | char.Torso.Anchored = true | |
1288 | char["Left Arm"].Anchored = true | |
1289 | char["Right Arm"].Anchored = true | |
1290 | char["Left Leg"].Anchored = true | |
1291 | char["Right Leg"].Anchored = true | |
1292 | char.Head.Anchored = true | |
1293 | hit:Play() | |
1294 | hit1:Play() | |
1295 | wait(4) | |
1296 | local bl00d = Instance.new("Part", char.Head) | |
1297 | bl00d.Size = Vector3.new(0.1,0.1,0.1) | |
1298 | bl00d.Rotation = Vector3.new(0,0,-90) | |
1299 | bl00d.CanCollide = false | |
1300 | bl00d.Anchored = true | |
1301 | bl00d.BrickColor = BrickColor.new("Maroon") | |
1302 | bl00d.Position = char.Head.Position | |
1303 | bl00d.CFrame = bl00d.CFrame * CFrame.new(0.43,-0.65,0) | |
1304 | bl00d.Shape = "Cylinder" | |
1305 | bl00d.Material = "Pebble" | |
1306 | for i = 1,100 do | |
1307 | wait() | |
1308 | bl00d.Size = bl00d.Size + Vector3.new(0,0.05,0.05) | |
1309 | end | |
1310 | wait(1) | |
1311 | char.Humanoid.Health = 0 | |
1312 | end) | |
1313 | end | |
1314 | function rape(victim, speaker) -- from rocky2u cmdscript | |
1315 | spawn(function() | |
1316 | local P1 = game:GetService("Players")[speaker].Character.Torso | |
1317 | local V1 = game:GetService("Players")[victim].Character.Torso | |
1318 | V1.Parent.Humanoid.PlatformStand = true | |
1319 | 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' | |
1320 | 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' | |
1321 | 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' | |
1322 | 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' | |
1323 | 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' | |
1324 | 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' | |
1325 | 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) | |
1326 | local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4) | |
1327 | fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0) | |
1328 | local D2 = D:Clone() D2.Parent = P1 | |
1329 | fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0) | |
1330 | 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) | |
1331 | fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0) | |
1332 | local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1 | |
1333 | fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0) | |
1334 | local CM = Instance.new('CylinderMesh', C) | |
1335 | 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) | |
1336 | local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1337 | fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0) | |
1338 | 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) | |
1339 | local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1340 | fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0) | |
1341 | 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) | |
1342 | local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2) | |
1343 | fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0) | |
1344 | 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) | |
1345 | local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2) | |
1346 | fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0) | |
1347 | 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) | |
1348 | 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) | |
1349 | 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) | |
1350 | if P1:FindFirstChild('weldx') then P1.weldx:destroy() end | |
1351 | WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0) | |
1352 | local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0) | |
1353 | end) | |
1354 | 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) | |
1355 | end | |
1356 | ||
1357 | addcmd('addalias','Adds an alias to a command',{}, | |
1358 | function(args,speaker) | |
1359 | if #args < 2 then return end | |
1360 | local cmd = string.lower(args[1]) | |
1361 | local alias = string.lower(args[2]) | |
1362 | for i,v in pairs(cmds) do | |
1363 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
1364 | customAlias[alias] = v | |
1365 | if not aliasSave or aliasSave == nil then aliasSave = {} end | |
1366 | aliasSave[#aliasSave + 1] = {CMD = cmd, ALIAS = alias} | |
1367 | Notify("Added "..alias.." as an alias to "..cmd) | |
1368 | updatefile() | |
1369 | updatealiases() | |
1370 | break | |
1371 | end | |
1372 | end | |
1373 | end) | |
1374 | ||
1375 | addcmd('877241loadalias','dab',{}, | |
1376 | function(args,speaker) | |
1377 | if #args < 2 then return end | |
1378 | local cmd = string.lower(args[1]) | |
1379 | local alias = string.lower(args[2]) | |
1380 | for i,v in pairs(cmds) do | |
1381 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
1382 | customAlias[alias] = v | |
1383 | updatealiases() | |
1384 | break | |
1385 | end | |
1386 | end | |
1387 | end) | |
1388 | ||
1389 | addcmd('removealias','Removes a custom alias',{}, | |
1390 | function(args,speaker) | |
1391 | if #args < 1 then return end | |
1392 | local alias = string.lower(args[1]) | |
1393 | if customAlias[alias] then | |
1394 | local cmd = customAlias[alias].NAME | |
1395 | customAlias[alias] = nil | |
1396 | for i,v in pairs(aliasSave) do | |
1397 | if v.ALIAS == tostring(alias) then | |
1398 | table.remove(aliasSave, i) | |
1399 | end end | |
1400 | Notify("Removed the alias "..alias.." from "..cmd) | |
1401 | updatefile() | |
1402 | updatealiases() | |
1403 | end | |
1404 | end) | |
1405 | ||
1406 | addcmd('clraliases','Removes all custom alias',{}, | |
1407 | function(args,speaker) | |
1408 | customAlias = {} | |
1409 | aliasSave ={} | |
1410 | updatefile() | |
1411 | updatealiases() | |
1412 | Notify('Removed all aliases') | |
1413 | end) | |
1414 | ||
1415 | addcmd('s','runs a script in the chat or cmdbar',{'script'}, | |
1416 | function(args, speaker) | |
1417 | loadstring(tostring(GLS(false, 0)))() | |
1418 | end) | |
1419 | ||
1420 | function hub() | |
1421 | if not game.CoreGui:FindFirstChild('ScriptHub') then | |
1422 | loadstring(game:HttpGet(('https://pastebin.com/raw/VvDQgSZT'),true))() end end | |
1423 | addcmd('hub','opens script hub',{'scripts'}, | |
1424 | function(args, speaker) | |
1425 | if speaker.userId ~= LP.userId then | |
1426 | lponly(speaker) else | |
1427 | hub() | |
1428 | end end) | |
1429 | ||
1430 | addcmd('ff','gives ff to player',{}, | |
1431 | function(args, speaker) | |
1432 | local players = getPlayer(args[1], speaker) | |
1433 | for i,v in pairs(players)do | |
1434 | local pchar=_char(v) | |
1435 | Instance.new("ForceField", pchar) | |
1436 | end | |
1437 | end) | |
1438 | ||
1439 | addcmd('maxhealth','sets a limit of health to player',{}, | |
1440 | function(args, speaker) | |
1441 | local players = getPlayer(args[1], speaker) | |
1442 | for i,v in pairs(players)do | |
1443 | local pchar=_char(v) | |
1444 | pchar.Humanoid.MaxHealth = args[2] | |
1445 | end | |
1446 | end) | |
1447 | ||
1448 | addcmd('sethealth','sets the health of a player',{}, | |
1449 | function(args, speaker) | |
1450 | local players = getPlayer(args[1], speaker) | |
1451 | for i,v in pairs(players)do | |
1452 | local pchar=_char(v) | |
1453 | pchar.Humanoid.Health = args[2] | |
1454 | end | |
1455 | end) | |
1456 | ||
1457 | addcmd('breakloops','stops any cmd loops',{'break'}, | |
1458 | function(args, speaker) | |
1459 | lastBreakTime = tick() | |
1460 | end) | |
1461 | ||
1462 | addcmd('invisibleff','gives invisible ff to player',{'invisff'}, | |
1463 | function(args, speaker) | |
1464 | local players = getPlayer(args[1], speaker) | |
1465 | for i,v in pairs(players)do | |
1466 | local pchar=_char(v) | |
1467 | local invisff = Instance.new("ForceField", pchar) | |
1468 | invisff.Visible = false | |
1469 | end | |
1470 | end) | |
1471 | ||
1472 | addcmd('rocket','attaches a player to a rocket',{'missile'}, | |
1473 | function(args, speaker) | |
1474 | local players = getPlayer(args[1], speaker) | |
1475 | for i,v in pairs(players)do | |
1476 | local pchar=_char(v) | |
1477 | spawn(function() | |
1478 | local m = missile:Clone() | |
1479 | m.Parent = workspace | |
1480 | local W = Instance.new('Weld', m) | |
1481 | W.Part0 = W.Parent | |
1482 | W.Part1 = pchar.HumanoidRootPart | |
1483 | W.C1 = CFrame.new(0, 0.5, 1) | |
1484 | m.force.Force = Vector3.new(0, 15000, 0) | |
1485 | wait(0.01) | |
1486 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0) | |
1487 | wait(5) | |
1488 | Instance.new('Explosion', m).Position = m.Position | |
1489 | wait(0.01) | |
1490 | pchar:BreakJoints() | |
1491 | wait(1) | |
1492 | m:destroy() | |
1493 | end) | |
1494 | end | |
1495 | end) | |
1496 | ||
1497 | addcmd('kidnap', 'Kidnaps the player in a candy van',{}, function(args, speaker) | |
1498 | local players = getPlayer(args[1], speaker) | |
1499 | if not game:GetService("CoreGui"):FindFirstChild('VanEvent') then | |
1500 | loadstring(game:HttpGet(('https://pastebin.com/raw/NbY247zv'),true))() | |
1501 | end | |
1502 | for i,v in pairs(players) do | |
1503 | game:GetService("CoreGui").VanEvent:Fire(gPlayers[v]) | |
1504 | end | |
1505 | end) | |
1506 | ||
1507 | addcmd('rejoin','makes you rejoin the game',{'rj'}, | |
1508 | function(args, speaker) | |
1509 | if speaker.userId ~= LP.userId then | |
1510 | lponly(speaker) | |
1511 | else | |
1512 | game:GetService('TeleportService'):Teleport(game.PlaceId) | |
1513 | end | |
1514 | end) | |
1515 | ||
1516 | addcmd('unff', 'takes away ff from player',{'noff'}, | |
1517 | function(args, speaker) | |
1518 | local players = getPlayer(args[1], speaker) | |
1519 | for i,v in pairs(players)do | |
1520 | local pchar=_char(v) | |
1521 | for j,v1 in pairs(pchar:GetChildren()) do | |
1522 | if v1:IsA("ForceField") then | |
1523 | v1:Destroy() | |
1524 | end | |
1525 | end | |
1526 | end | |
1527 | end) | |
1528 | ||
1529 | addcmd('flashlight', 'gives a player a flashlight',{}, | |
1530 | function(args, speaker) | |
1531 | local players = getPlayer(args[1], speaker) | |
1532 | for i,v in pairs(players)do | |
1533 | spawn(function() | |
1534 | local flashlight = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01679418710") | |
1535 | flashlight.Parent = gPlayers[v].Backpack | |
1536 | flashlight.Name = "IYflashlight" | |
1537 | end) | |
1538 | end | |
1539 | end) | |
1540 | ||
1541 | addcmd('car', 'inserts a car',{'vehicle'}, | |
1542 | function(args, speaker) | |
1543 | local players = getPlayer(args[1], speaker) | |
1544 | for i,v in pairs(players)do | |
1545 | spawn(function() | |
1546 | local pchar=_char(v) | |
1547 | local model = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01172688590") | |
1548 | model.Parent = workspace | |
1549 | model:MakeJoints() | |
1550 | model:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(5, 5, 0)) | |
1551 | model.Name = "IYcar" .. gPlayers[v].Name wait(0.2) | |
1552 | for _, child in pairs( model:GetChildren()) do | |
1553 | if child.ClassName == "Part" then | |
1554 | child.Anchored = true | |
1555 | wait(1) | |
1556 | child.Anchored = false | |
1557 | end end end) end end) | |
1558 | ||
1559 | addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'}, | |
1560 | function(args, speaker) | |
1561 | local players = getPlayer(args[1], speaker) | |
1562 | for i,v in pairs(players)do | |
1563 | for _, child in pairs( workspace:GetChildren()) do | |
1564 | if child.Name == "IYcar" .. gPlayers[v].Name then | |
1565 | child:Destroy() | |
1566 | end | |
1567 | end | |
1568 | end | |
1569 | end) | |
1570 | ||
1571 | addcmd('team','team [plr] [team]',{}, | |
1572 | function(args, speaker) | |
1573 | local players = getPlayer(args[1], speaker) | |
1574 | local teamname = nil | |
1575 | for i,v in pairs(players)do | |
1576 | 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 | |
1577 | _players[v].Team = teamname | |
1578 | end | |
1579 | end) | |
1580 | ||
1581 | addcmd('maxzoom','maximum camera zoom',{}, | |
1582 | function(args, speaker) | |
1583 | local players = getPlayer(args[1], speaker) | |
1584 | for i,v in pairs(players)do | |
1585 | _players[v].CameraMaxZoomDistance = args[2] | |
1586 | end | |
1587 | end) | |
1588 | ||
1589 | function spawnrain(mesh,texture) | |
1590 | spawn(function() | |
1591 | for i,v in pairs(gPlayers:GetChildren()) do | |
1592 | if v.Character ~= nil and v.Character:FindFirstChild('HumanoidRootPart') then | |
1593 | if raining == true then | |
1594 | local rain = Instance.new("Part",workspace) | |
1595 | rain.CanCollide = true | |
1596 | local m = Instance.new("SpecialMesh",rain) | |
1597 | m.MeshId = "http://www.roblox.com/asset/?id="..mesh | |
1598 | m.TextureId = "http://www.roblox.com/asset/?id="..texture | |
1599 | rain.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-250,250),100,math.random(-250,250)) | |
1600 | wait(5) rain:Destroy() | |
1601 | end | |
1602 | end | |
1603 | end | |
1604 | end) | |
1605 | end | |
1606 | ||
1607 | raining = false | |
1608 | addcmd('rain','make it rain a mesh',{}, | |
1609 | function(args, speaker) | |
1610 | raining = true | |
1611 | repeat | |
1612 | wait(0.5) | |
1613 | spawnrain(args[1],args[2]) | |
1614 | until raining == false | |
1615 | end) | |
1616 | ||
1617 | addcmd('norain','make it rain a mesh',{'unrain'}, | |
1618 | function(args, speaker) | |
1619 | raining = false | |
1620 | end) | |
1621 | ||
1622 | local rad = math.rad | |
1623 | addcmd('earthquake','earthquake [power] [intensity]',{}, -- credit to DontAddMeh | |
1624 | function(args, speaker) | |
1625 | for i = 1,args[1] do | |
1626 | wait() | |
1627 | local function ear(instance) | |
1628 | for i,v in pairs(instance:GetChildren())do | |
1629 | if v:IsA("Part") then | |
1630 | if v.Size.x > 1 then | |
1631 | 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]))) | |
1632 | end end ear(v) end end ear(workspace) | |
1633 | end | |
1634 | end) | |
1635 | ||
1636 | addcmd('cape','Gives the target player(s) a cape',{}, | |
1637 | function(args, speaker) | |
1638 | local players = getPlayer(args[1], speaker) | |
1639 | for i,v in pairs(players)do | |
1640 | spawn(function() | |
1641 | if _char(v):FindFirstChild("Humanoid") then | |
1642 | local plr = _players[v] | |
1643 | repeat wait() until plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") | |
1644 | local torso = plr.Character.HumanoidRootPart | |
1645 | local p = Instance.new("Part", torso.Parent) p.Name = "IYcape" p.Anchored = false | |
1646 | p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 | |
1647 | if not args[2] then | |
1648 | p.Color = Color3.new(0,0,0) | |
1649 | p.Color = Color3.new(0,0,0) else | |
1650 | p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1651 | p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end | |
1652 | p.formFactor = "Custom" | |
1653 | p.Size = Vector3.new(.2,.2,.2) | |
1654 | local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5) | |
1655 | local motor1 = Instance.new("Motor", p) | |
1656 | motor1.Part0 = p | |
1657 | motor1.Part1 = torso | |
1658 | motor1.MaxVelocity = .01 | |
1659 | motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0) | |
1660 | motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0) | |
1661 | local wave = false | |
1662 | repeat wait(1/44) | |
1663 | local ang = 0.1 | |
1664 | local oldmag = torso.Velocity.magnitude | |
1665 | local mv = .002 | |
1666 | if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end | |
1667 | ang = ang + math.min(torso.Velocity.magnitude/11, .5) | |
1668 | motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv | |
1669 | motor1.DesiredAngle = -ang | |
1670 | if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end | |
1671 | repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1 | |
1672 | if torso.Velocity.magnitude < .1 then wait(.1) end | |
1673 | until not p or p.Parent ~= torso.Parent | |
1674 | end | |
1675 | end) | |
1676 | end | |
1677 | end) | |
1678 | ||
1679 | addcmd('uncape','Removes cape',{'nocape'}, | |
1680 | function(args, speaker) | |
1681 | local players = getPlayer(args[1], speaker) | |
1682 | for i,v in pairs(players)do | |
1683 | local pchar=_char(v) | |
1684 | for _, child in pairs( pchar:GetChildren()) do | |
1685 | if child.Name == "IYcape" then | |
1686 | child:Destroy() end end | |
1687 | end | |
1688 | end) | |
1689 | ||
1690 | addcmd('spasm','makes someone c r a z y',{}, | |
1691 | function(args, speaker) | |
1692 | local players = getPlayer(args[1], speaker) | |
1693 | for i,v in pairs(players)do | |
1694 | local pchar=_char(v) | |
1695 | local AnimationId = "33796059" | |
1696 | local Anim = Instance.new("Animation") | |
1697 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
1698 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
1699 | k:Play() | |
1700 | k:AdjustSpeed(99) | |
1701 | end | |
1702 | end) | |
1703 | ||
1704 | addcmd('dance','makes someone d a n c e',{}, | |
1705 | function(args, speaker) | |
1706 | local players = getPlayer(args[1], speaker) | |
1707 | for i,v in pairs(players)do | |
1708 | local pchar=_char(v) | |
1709 | local anim = nil | |
1710 | local dance1 = math.random(1,7) | |
1711 | if dance1 == 1 then | |
1712 | anim = '27789359' | |
1713 | end | |
1714 | if dance1 == 2 then | |
1715 | anim = '30196114' | |
1716 | end | |
1717 | if dance1 == 3 then | |
1718 | anim = '248263260' | |
1719 | end | |
1720 | if dance1 == 4 then | |
1721 | anim = '45834924' | |
1722 | end | |
1723 | if dance1 == 5 then | |
1724 | anim = '33796059' | |
1725 | end | |
1726 | if dance1 == 6 then | |
1727 | anim = '28488254' | |
1728 | end | |
1729 | if dance1 == 7 then | |
1730 | anim = '52155728' | |
1731 | end | |
1732 | local animation = Instance.new("Animation") | |
1733 | animation.AnimationId = "rbxassetid://"..anim | |
1734 | local animTrack = pchar.Humanoid:LoadAnimation(animation) | |
1735 | animTrack:Play() | |
1736 | end | |
1737 | end) | |
1738 | ||
1739 | addcmd('plrsound','creates a sound inside of someone',{'playersound'}, | |
1740 | function(args, speaker) | |
1741 | local players = getPlayer(args[1], speaker) | |
1742 | for i,v in pairs(players)do | |
1743 | if not args[1] and args[2] then return end | |
1744 | local pchar=_char(v) | |
1745 | for _, child in pairs( pchar:GetDescendants()) do | |
1746 | if child.ClassName == "Sound" then | |
1747 | child:Destroy() end end | |
1748 | local s = Instance.new("Sound") | |
1749 | s.Name = "IYplrsound" | |
1750 | s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2] | |
1751 | s.Volume = 1 | |
1752 | s.Pitch = 1 | |
1753 | s.Looped = true | |
1754 | s.archivable = true | |
1755 | s.Parent = pchar.HumanoidRootPart | |
1756 | s:Play() | |
1757 | end | |
1758 | end) | |
1759 | ||
1760 | addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'}, | |
1761 | function(args, speaker) | |
1762 | local players = getPlayer(args[1], speaker) | |
1763 | for i,v in pairs(players)do | |
1764 | if not args[1] then return end | |
1765 | local pchar=_char(v) | |
1766 | for _, child in pairs( pchar:GetDescendants()) do | |
1767 | if child.ClassName == "Sound" then | |
1768 | child:Destroy() end end | |
1769 | end | |
1770 | end) | |
1771 | ||
1772 | addcmd('fly','makes you fly',{}, | |
1773 | function(args, speaker) | |
1774 | if speaker.userId ~= LP.userId then | |
1775 | lponly(speaker) | |
1776 | else | |
1777 | sFLY() | |
1778 | end | |
1779 | end) | |
1780 | ||
1781 | addcmd('flyspeed','set the fly speed',{'flysp'}, | |
1782 | function(args, speaker) | |
1783 | if speaker.userId ~= LP.userId then | |
1784 | lponly(speaker) | |
1785 | else | |
1786 | if isNumber(args[1]) then | |
1787 | iyflyspeed = args[1] | |
1788 | end end end) | |
1789 | ||
1790 | addcmd('unfly','takes away fly',{'nofly'}, | |
1791 | function(args, speaker) | |
1792 | if speaker.userId ~= LP.userId then | |
1793 | lponly(speaker) | |
1794 | else | |
1795 | NOFLY() | |
1796 | end | |
1797 | end) | |
1798 | ||
1799 | addcmd('exit','kills roblox process',{}, | |
1800 | function(args, speaker) | |
1801 | if speaker.userId ~= LP.userId then | |
1802 | lponly(speaker) | |
1803 | else | |
1804 | game:shutdown() | |
1805 | end | |
1806 | end) | |
1807 | ||
1808 | addcmd('fire', 'set a player on fire',{}, | |
1809 | function(args, speaker) | |
1810 | local players = getPlayer(args[1], speaker) | |
1811 | for i,v in pairs(players)do | |
1812 | spawn(function() | |
1813 | local pchar=_char(v) | |
1814 | local Fire1 = Instance.new("Fire", pchar.Head) | |
1815 | local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart) | |
1816 | local Fire3 = Instance.new("Fire", pchar["Left Arm"]) | |
1817 | local Fire4 = Instance.new("Fire", pchar["Right Arm"]) | |
1818 | local Fire5 = Instance.new("Fire", pchar["Left Leg"]) | |
1819 | local Fire6 = Instance.new("Fire", pchar["Right Leg"]) | |
1820 | if not args[2] then return end | |
1821 | Fire1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1822 | Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1823 | Fire2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1824 | Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1825 | Fire3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1826 | Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1827 | Fire4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1828 | Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1829 | Fire5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1830 | Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1831 | Fire6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1832 | Fire6.SecondaryColor = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
1833 | end) | |
1834 | end | |
1835 | end) | |
1836 | ||
1837 | addcmd('discomesh', 'body parts get f u n k y',{}, | |
1838 | function(args, speaker) | |
1839 | local players = getPlayer(args[1], speaker) | |
1840 | for i,v in pairs(players)do | |
1841 | spawn(function() | |
1842 | local plr = _players[v] | |
1843 | local meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"} | |
1844 | local h = _players[v].Character.Head.Mesh | |
1845 | local t = Instance.new("SpecialMesh",_players[v].Character.Torso) | |
1846 | local la = Instance.new("SpecialMesh",_players[v].Character["Left Arm"]) | |
1847 | local ra = Instance.new("SpecialMesh",_players[v].Character["Right Arm"]) | |
1848 | local ll = Instance.new("SpecialMesh",_players[v].Character["Left Leg"]) | |
1849 | local rl = Instance.new("SpecialMesh",_players[v].Character["Right Leg"]) | |
1850 | while true do wait() | |
1851 | h.MeshType = meshes[math.random(1,#meshes)] | |
1852 | h.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1853 | h.Parent.BrickColor = BrickColor.Random() | |
1854 | t.MeshType = meshes[math.random(1,#meshes)] | |
1855 | t.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1856 | t.Parent.BrickColor = BrickColor.Random() | |
1857 | la.MeshType = meshes[math.random(1,#meshes)] | |
1858 | la.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1859 | la.Parent.BrickColor = BrickColor.Random() | |
1860 | ra.MeshType = meshes[math.random(1,#meshes)] | |
1861 | ra.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1862 | ra.Parent.BrickColor = BrickColor.Random() | |
1863 | ll.MeshType = meshes[math.random(1,#meshes)] | |
1864 | ll.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1865 | ll.Parent.BrickColor = BrickColor.Random() | |
1866 | rl.MeshType = meshes[math.random(1,#meshes)] | |
1867 | rl.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
1868 | rl.Parent.BrickColor = BrickColor.Random() | |
1869 | end end) end end) | |
1870 | ||
1871 | addcmd('chickenarms', 'I can fly!!1',{'chicken'}, | |
1872 | function(args, speaker) | |
1873 | local players = getPlayer(args[1], speaker) | |
1874 | for i,v in pairs(players)do | |
1875 | spawn(function() | |
1876 | local Chicken = _players[v].Character | |
1877 | 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) | |
1878 | Chicken.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0) | |
1879 | 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) | |
1880 | Chicken.Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0) | |
1881 | end) end end) | |
1882 | ||
1883 | addcmd('esp', 'view a player and a players status',{}, | |
1884 | function(args, speaker) | |
1885 | if speaker.userId ~= LP.userId then | |
1886 | lponly(speaker) | |
1887 | else | |
1888 | local players = getPlayer(args[1], speaker) | |
1889 | for i,v in pairs(players)do | |
1890 | spawn(function() | |
1891 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
1892 | if child.Name == gPlayers[v].Name then | |
1893 | child:Destroy() | |
1894 | end end wait(0.5) | |
1895 | local m = game["Players"].LocalPlayer:GetMouse() | |
1896 | local rs = game:GetService("RunService").RenderStepped | |
1897 | local espplr = gPlayers[v] | |
1898 | if espplr.Character and espplr.Name ~= _players.LocalPlayer.Name then | |
1899 | for b,n in pairs (espplr.Character:GetChildren()) do | |
1900 | if (n:IsA("BasePart")) then | |
1901 | local a = Instance.new("BoxHandleAdornment", game.CoreGui) | |
1902 | a.Name = espplr.Name | |
1903 | a.Adornee = n | |
1904 | a.AlwaysOnTop = true | |
1905 | a.ZIndex = 0 | |
1906 | a.Size = n.Size | |
1907 | a.Transparency = 0.7 | |
1908 | local resetting = false | |
1909 | if espplr.TeamColor == _players.LocalPlayer.TeamColor then | |
1910 | a.Color = BrickColor.new("Lime green") | |
1911 | else | |
1912 | a.Color = BrickColor.new("Really red") | |
1913 | end | |
1914 | if espplr.Character and espplr.Character:FindFirstChild('Head') then | |
1915 | local BillboardGui = Instance.new("BillboardGui", game.CoreGui) | |
1916 | local TextLabel = Instance.new("TextLabel") | |
1917 | BillboardGui.Adornee = espplr.Character.Head | |
1918 | BillboardGui.Name = espplr.Name | |
1919 | BillboardGui.Size = UDim2.new(0, 100, 0, 150) | |
1920 | BillboardGui.StudsOffset = Vector3.new(0, 1, 0) | |
1921 | BillboardGui.AlwaysOnTop = true | |
1922 | TextLabel.Parent = BillboardGui | |
1923 | TextLabel.BackgroundTransparency = 1 | |
1924 | TextLabel.Position = UDim2.new(0, 0, 0, -50) | |
1925 | TextLabel.Size = UDim2.new(0, 100, 0, 100) | |
1926 | TextLabel.Font = Enum.Font.SourceSansSemibold | |
1927 | TextLabel.TextSize = 20 | |
1928 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
1929 | TextLabel.TextStrokeTransparency = 0 | |
1930 | TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom | |
1931 | espplr.Character:WaitForChild("Humanoid").Died:connect(function() | |
1932 | BillboardGui:Destroy() a:Destroy() end) | |
1933 | _players.PlayerRemoving:connect(function(player) | |
1934 | if player.Name == espplr.Name then | |
1935 | BillboardGui:Destroy() a:Destroy() | |
1936 | end end) | |
1937 | game:GetService("RunService").RenderStepped:Connect(function() | |
1938 | 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 | |
1939 | local pos = math.floor((_players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude) | |
1940 | TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos else | |
1941 | BillboardGui:Destroy() a:Destroy() end end) | |
1942 | end | |
1943 | end | |
1944 | end | |
1945 | end | |
1946 | end) | |
1947 | end | |
1948 | end | |
1949 | end) | |
1950 | ||
1951 | addcmd('noesp', 'removes esp',{'unesp'}, | |
1952 | function(args, speaker) | |
1953 | if speaker.userId ~= LP.userId then | |
1954 | lponly(speaker) | |
1955 | else | |
1956 | local players = getPlayer(args[1], speaker) | |
1957 | for i,v in pairs(players)do | |
1958 | spawn(function() | |
1959 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
1960 | if child.Name == gPlayers[v].Name then | |
1961 | child:Destroy() | |
1962 | end | |
1963 | end end) end end end) | |
1964 | ||
1965 | addcmd('nofire', 'extinguish a player',{'unfire'}, | |
1966 | function(args, speaker) | |
1967 | local players = getPlayer(args[1], speaker) | |
1968 | for i,v in pairs(players)do | |
1969 | local pchar=_char(v) | |
1970 | for j,v1 in pairs(pchar:GetDescendants()) do | |
1971 | if v1:IsA("Fire") then | |
1972 | v1:Destroy() | |
1973 | end end end end) | |
1974 | ||
1975 | addcmd('shiny', 'makes a player shine',{}, | |
1976 | function(args, speaker) | |
1977 | local players = getPlayer(args[1], speaker) | |
1978 | for i,v in pairs(players)do | |
1979 | spawn(function() | |
1980 | local pchar=_char(v) | |
1981 | for i,v in pairs(pchar:GetChildren()) do | |
1982 | if v.ClassName == "Decal" or v.ClassName == "Texture" then | |
1983 | v:Destroy() end | |
1984 | if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then | |
1985 | v.Reflectance = 1 | |
1986 | v.Material = "Plastic" | |
1987 | end | |
1988 | end | |
1989 | end) | |
1990 | end | |
1991 | end) | |
1992 | ||
1993 | addcmd('light', 'givs em light',{}, | |
1994 | function(args, speaker) | |
1995 | local players = getPlayer(args[1], speaker) | |
1996 | for i,v in pairs(players)do | |
1997 | spawn(function() | |
1998 | local pchar=_char(v) | |
1999 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
2000 | if v1:IsA("PointLight") then | |
2001 | v1:Destroy() | |
2002 | end | |
2003 | end | |
2004 | local light = Instance.new("PointLight", pchar.HumanoidRootPart) | |
2005 | light.Range = 12 | |
2006 | light.Brightness = 3 | |
2007 | if not args[2] then return end | |
2008 | light.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
2009 | light.Range = 12 | |
2010 | light.Brightness = 3 | |
2011 | end) | |
2012 | end | |
2013 | end) | |
2014 | ||
2015 | addcmd('begone', 'BEGONE THOT',{'thot'}, | |
2016 | function(args, speaker) | |
2017 | local players = getPlayer(args[1], speaker) | |
2018 | for i,v in pairs(players)do | |
2019 | spawn(function() | |
2020 | local thotbottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508") | |
2021 | local pchar=_char(v) | |
2022 | thotbottle.Name = 'THOT BEGONE' | |
2023 | thotbottle.Handle:Destroy() | |
2024 | execCmd('freeze '..gPlayers[v].Name) | |
2025 | execCmd('name '..gPlayers[v].Name..' THOT') | |
2026 | execCmd('spasm '..gPlayers[v].Name) | |
2027 | thotbottle.Parent = pchar | |
2028 | thotbottle:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(0, 0, 7)) | |
2029 | local cf = pchar.HumanoidRootPart.CFrame | |
2030 | local newcf = cf + cf.lookVector * 6 | |
2031 | thotbottle.Head.CFrame = newcf | |
2032 | local s = Instance.new("Sound") | |
2033 | s.Name = "BEGONE" | |
2034 | s.SoundId = "http://www.roblox.com/asset/?id=1095911222" | |
2035 | s.Volume = 10 | |
2036 | s.Parent = thotbottle | |
2037 | s:play() | |
2038 | local d = Instance.new("Sound") | |
2039 | d.Name = "WuOOOH" | |
2040 | d.SoundId = "http://www.roblox.com/asset/?id=253143032" | |
2041 | d.Volume = 5 | |
2042 | d.Parent = pchar | |
2043 | wait(4) | |
2044 | if gPlayers[v] then | |
2045 | execCmd('thaw '..gPlayers[v].Name) | |
2046 | execCmd('fling '..gPlayers[v].Name) | |
2047 | thotbottle:Destroy() | |
2048 | d:play() | |
2049 | end if gPlayers[v] then | |
2050 | wait(3) | |
2051 | execCmd('explode '..gPlayers[v].Name) | |
2052 | pchar:BreakJoints() end | |
2053 | end) | |
2054 | end | |
2055 | end) | |
2056 | ||
2057 | addcmd('glowstick', 'givs em glo stik',{}, | |
2058 | function(args, speaker) | |
2059 | local players = getPlayer(args[1], speaker) | |
2060 | for i,v in pairs(players)do | |
2061 | spawn(function() | |
2062 | System = {} | |
2063 | System.Create = function(a, c) | |
2064 | local e = Instance.new(a) | |
2065 | for d, a in pairs(c) do | |
2066 | local b, a = ypcall(function() | |
2067 | return e[d] | |
2068 | end) | |
2069 | if b then | |
2070 | e[d] = c[d] | |
2071 | end | |
2072 | end | |
2073 | return e | |
2074 | end | |
2075 | function b(d, b) | |
2076 | local c = getfenv(d) | |
2077 | local a = setmetatable({}, { | |
2078 | __index = function(a, a) | |
2079 | if a:lower() == 'script' then | |
2080 | return b | |
2081 | else | |
2082 | return c[a] | |
2083 | end | |
2084 | end | |
2085 | }) | |
2086 | setfenv(d, a) | |
2087 | ypcall(function() | |
2088 | d() | |
2089 | end) | |
2090 | end | |
2091 | c = {} | |
2092 | mas = Instance.new("Model",game:GetService("Lighting")) | |
2093 | mas.Name = "CompiledModel" | |
2094 | o1 = System.Create("Tool",{ | |
2095 | ["Name"] = "Glow Stick", | |
2096 | ["Parent"] = mas, | |
2097 | ["GripPos"] = Vector3.new(0, -0.300000012, 0), | |
2098 | ["CanBeDropped"] = false, | |
2099 | }) | |
2100 | o2 = System.Create("Part",{ | |
2101 | ["Name"] = "Handle", | |
2102 | ["Parent"] = o1, | |
2103 | ["Transparency"] = 0.10000000149012, | |
2104 | ["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056), | |
2105 | ["Rotation"] = Vector3.new(-180, 0, 0), | |
2106 | ["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
2107 | ["FormFactor"] = Enum.FormFactor.Custom, | |
2108 | ["Size"] = Vector3.new(0.200000033, 1.80000019, 1), | |
2109 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
2110 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
2111 | ["Material"] = "Neon", | |
2112 | }) | |
2113 | o3 = System.Create("PointLight",{ | |
2114 | ["Parent"] = o2, | |
2115 | ["Brightness"] = 8, | |
2116 | ["Range"] = 14, | |
2117 | }) | |
2118 | o4 = System.Create("CylinderMesh",{ | |
2119 | ["Parent"] = o2, | |
2120 | }) | |
2121 | if not args[2] then | |
2122 | o2.Color = Color3.new(1,1,1) | |
2123 | o3.Color = Color3.new(1,1,1) else | |
2124 | o2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
2125 | o3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end | |
2126 | mas.Parent = workspace | |
2127 | mas:MakeJoints() | |
2128 | local b = mas:GetChildren() | |
2129 | for a = 1, #b do | |
2130 | b[a].Parent = gPlayers[v].Backpack | |
2131 | ypcall(function() | |
2132 | b[a]:MakeJoints() | |
2133 | end) | |
2134 | end | |
2135 | mas:Destroy() | |
2136 | for a = 1, #c do | |
2137 | coroutine.resume(c[a]) | |
2138 | end | |
2139 | end) | |
2140 | end | |
2141 | end) | |
2142 | ||
2143 | addcmd('keybind','Binds a command to a key',{}, | |
2144 | function(args,speaker) | |
2145 | if speaker.userId ~= LP.userId then | |
2146 | lponly(speaker) else | |
2147 | if #args < 2 then return end | |
2148 | local key = string.lower(args[1]) | |
2149 | if #key > 1 or key == cmdbarbind then return end | |
2150 | local cmdText = GLS(false,1) | |
2151 | local cas = game:GetService("ContextActionService") | |
2152 | cas:BindAction("Keybind"..key,function(action,state,obj) | |
2153 | if state == Enum.UserInputState.Begin then | |
2154 | execCmd(cmdText,speaker) | |
2155 | end | |
2156 | end,false,key) | |
2157 | Notify("Binded "..cmdText.." to "..key) | |
2158 | end | |
2159 | end) | |
2160 | ||
2161 | addcmd('unkeybind','Removes a binded command from a key',{'unbind'}, | |
2162 | function(args,speaker) | |
2163 | if speaker.userId ~= LP.userId then | |
2164 | lponly(speaker) else | |
2165 | if #args < 1 then return end | |
2166 | local key = string.lower(args[1]) | |
2167 | game:GetService("ContextActionService"):UnbindAction("Keybind"..key) | |
2168 | Notify("Unbinded "..key) | |
2169 | end | |
2170 | end) | |
2171 | ||
2172 | ||
2173 | ||
2174 | ||
2175 | ||
2176 | addcmd('trail', 'spawns a trail behind a player',{}, | |
2177 | function(args, speaker) | |
2178 | local players = getPlayer(args[1], speaker) | |
2179 | for i,v in pairs(players)do | |
2180 | spawn(function() | |
2181 | local pchar=_char(v) | |
2182 | for j,v1 in pairs(pchar.Torso:GetChildren()) do | |
2183 | if v1.Name == "TRAIL" then | |
2184 | v1:Destroy() | |
2185 | end | |
2186 | end | |
2187 | if args[2] then | |
2188 | color1 = Color3.fromRGB(args[2],args[3],args[4]) | |
2189 | color2 = Color3.new(0,0,0) else | |
2190 | color1 = Color3.new(1,1,1) | |
2191 | color2 = Color3.new(0,0,0) end | |
2192 | if pchar:FindFirstChild("Torso") then | |
2193 | local e = Instance.new("Trail", pchar.Torso) | |
2194 | e.Name = "TRAIL" | |
2195 | e.FaceCamera = true | |
2196 | e.Color = ColorSequence.new(color1,color2) | |
2197 | e.Attachment0 = pchar.Torso.WaistCenterAttachment | |
2198 | e.Attachment1 = pchar.Torso.NeckAttachment | |
2199 | end | |
2200 | end) | |
2201 | end | |
2202 | end) | |
2203 | ||
2204 | addcmd('untrail', 'deletes the trail behind a player',{'notrail'}, | |
2205 | function(args, speaker) | |
2206 | local players = getPlayer(args[1], speaker) | |
2207 | for i,v in pairs(players)do | |
2208 | spawn(function() | |
2209 | local pchar=_char(v) | |
2210 | for j,v1 in pairs(pchar.Torso:GetChildren()) do | |
2211 | if v1.Name == "TRAIL" then | |
2212 | v1:Destroy() | |
2213 | end | |
2214 | end | |
2215 | end) | |
2216 | end | |
2217 | end) | |
2218 | ||
2219 | local fa = false | |
2220 | local cam = workspace.CurrentCamera | |
2221 | local cam1 = 0 | |
2222 | local cam2 = 0 | |
2223 | local cam3 = 0 | |
2224 | local k1 = false | |
2225 | local k2 = false | |
2226 | local k3 = false | |
2227 | local k4 = false | |
2228 | local k5 = false | |
2229 | local k6 = false | |
2230 | cs = 0.5 | |
2231 | function movecam() | |
2232 | local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') | |
2233 | if fa == false then | |
2234 | repeat | |
2235 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2236 | local fp = fc.Position | |
2237 | fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1) | |
2238 | fa = true | |
2239 | end | |
2240 | game:GetService('RunService').RenderStepped:Wait() | |
2241 | until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') | |
2242 | fa = false | |
2243 | end | |
2244 | end | |
2245 | function kp1(inputObject, gameProcessedEvent) | |
2246 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2247 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
2248 | k1 = true | |
2249 | cam1 = cs end | |
2250 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
2251 | k2 = true | |
2252 | cam1 = (cs*-1) end | |
2253 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
2254 | k3 = true | |
2255 | cam2 = cs end | |
2256 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
2257 | k4 = true | |
2258 | cam2 = (cs*-1) end | |
2259 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
2260 | k5 = true | |
2261 | cam3 = cs end | |
2262 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
2263 | k6 = true | |
2264 | cam3 = (cs*-1) end | |
2265 | end | |
2266 | end | |
2267 | game:GetService("UserInputService").InputBegan:connect(kp1) | |
2268 | function kp2(inputObject, gameProcessedEvent) | |
2269 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2270 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
2271 | k1 = false | |
2272 | if k2 == false then | |
2273 | cam1 = 0 | |
2274 | end | |
2275 | end | |
2276 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
2277 | k2 = false | |
2278 | if k1 == false then | |
2279 | cam1 = 0 | |
2280 | end | |
2281 | end | |
2282 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
2283 | k3= false | |
2284 | if k4== false then | |
2285 | cam2 = 0 | |
2286 | end | |
2287 | end | |
2288 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
2289 | k4 = false | |
2290 | if k3 == false then | |
2291 | cam2 = 0 | |
2292 | end | |
2293 | end | |
2294 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
2295 | k5 = false | |
2296 | if k6 == false then | |
2297 | cam3 = 0 | |
2298 | end | |
2299 | end | |
2300 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
2301 | k6 = false | |
2302 | if k5 == false then | |
2303 | cam3 = 0 | |
2304 | end | |
2305 | end | |
2306 | end | |
2307 | end | |
2308 | game:GetService("UserInputService").InputEnded:connect(kp2) | |
2309 | function FC() | |
2310 | if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2311 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true | |
2312 | local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character) | |
2313 | fc.CanCollide = false | |
2314 | fc.Anchored = true | |
2315 | fc.Transparency = 1 | |
2316 | fc.Size = Vector3.new(1,1,1) | |
2317 | fc.Name = 'xFC' | |
2318 | fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame | |
2319 | local cam = workspace.CurrentCamera | |
2320 | cam.CameraSubject = fc | |
2321 | cam.CameraType = 'Custom' | |
2322 | movecam() | |
2323 | end end | |
2324 | function UFC() | |
2325 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false | |
2326 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2327 | game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy() | |
2328 | local cam = workspace.CurrentCamera | |
2329 | cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid | |
2330 | cam.CameraType = 'Custom' | |
2331 | end end | |
2332 | ||
2333 | addcmd('freecam','freecam',{'fc'}, | |
2334 | function(args, speaker) | |
2335 | if speaker.userId ~= LP.userId then | |
2336 | lponly(speaker) | |
2337 | else | |
2338 | FC() | |
2339 | end | |
2340 | end) | |
2341 | ||
2342 | addcmd('fixcam','fixes camera',{}, | |
2343 | function(args, speaker) | |
2344 | if speaker.userId ~= LP.userId then | |
2345 | lponly(speaker) | |
2346 | else | |
2347 | workspace.CurrentCamera:remove() | |
2348 | wait(.1) | |
2349 | workspace.CurrentCamera.CameraSubject = LP.Character.Humanoid | |
2350 | workspace.CurrentCamera.CameraType = "Custom" | |
2351 | LP.CameraMinZoomDistance = 0.5 | |
2352 | LP.CameraMaxZoomDistance = 400 | |
2353 | LP.CameraMode = "Classic" | |
2354 | end | |
2355 | end) | |
2356 | ||
2357 | addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'}, | |
2358 | function(args, speaker) | |
2359 | local players = getPlayer(args[1], speaker) | |
2360 | for i,v in pairs(players)do | |
2361 | local pchar=_char(v) | |
2362 | local char = pchar | |
2363 | local hum = char.Humanoid | |
2364 | for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end | |
2365 | hum.HealthDisplayDistance = 0 | |
2366 | --execcmd god | |
2367 | local stake = Instance.new("Part",char) | |
2368 | stake.Anchored = true | |
2369 | stake.BrickColor = BrickColor.new("Reddish brown") | |
2370 | stake.Material = "Wood" | |
2371 | stake.Size = Vector3.new(1,7,1) | |
2372 | stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1) | |
2373 | local hay = Instance.new("Part",char) | |
2374 | hay.Anchored = true | |
2375 | hay.Material = "Grass" | |
2376 | hay.BrickColor = BrickColor.new("New Yeller") | |
2377 | hay.Size = Vector3.new(6,1,5) | |
2378 | hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0) | |
2379 | local hay2 = hay:clone() | |
2380 | hay2.Parent = char | |
2381 | hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0) | |
2382 | local fire = Instance.new("Fire",hay) | |
2383 | fire.Enabled = false | |
2384 | fire.Heat = 25 | |
2385 | fire.Size = 2 | |
2386 | fire.Color = Color3.new(170/255,85/255,0) | |
2387 | local smoke = Instance.new("Smoke",hay) | |
2388 | smoke.Enabled = false | |
2389 | smoke.Opacity = 1 | |
2390 | smoke.RiseVelocity = 25 | |
2391 | smoke.Size = 15 | |
2392 | smoke.Color = Color3.new(0,0,0) | |
2393 | local light = Instance.new("PointLight",hay) | |
2394 | light.Color = Color3.new(170/255,85/255,0) | |
2395 | light.Range = 0 | |
2396 | light.Brightness = 1 | |
2397 | light.Enabled = false | |
2398 | --[[]] | |
2399 | local crack = Instance.new("Sound",hay) | |
2400 | crack.SoundId = "rbxassetid://239443642" | |
2401 | crack.Looped = true | |
2402 | crack.Volume = 0 | |
2403 | local scream = Instance.new("Sound",char.Torso) | |
2404 | scream.SoundId = "rbxassetid://264227115" | |
2405 | scream.Looped = true | |
2406 | scream.Volume = 0 | |
2407 | --]] | |
2408 | wait() | |
2409 | char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5) | |
2410 | char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5) | |
2411 | ||
2412 | local bods = char['Body Colors'] | |
2413 | local colors = { | |
2414 | --"Really red"; | |
2415 | "Bright red"; | |
2416 | "Crimson"; | |
2417 | "Maroon"; | |
2418 | "Really black"; | |
2419 | } | |
2420 | ||
2421 | fire.Enabled=true | |
2422 | smoke.Enabled=true | |
2423 | light.Enabled=true | |
2424 | crack:Play() | |
2425 | scream:Play() | |
2426 | scream.Pitch = 0.8 | |
2427 | --scream.Volume = 0.5 | |
2428 | for i=1,30 do | |
2429 | crack.Volume = crack.Volume+(1/30) | |
2430 | scream.Volume = crack.Volume | |
2431 | fire.Size=i | |
2432 | smoke.RiseVelocity=i-5 | |
2433 | smoke.Size=i/2 | |
2434 | light.Range=i*2 | |
2435 | wait(1) | |
2436 | end | |
2437 | ||
2438 | for i=1,#colors do | |
2439 | bods.HeadColor=BrickColor.new(colors[i]) | |
2440 | bods.LeftArmColor=BrickColor.new(colors[i]) | |
2441 | bods.LeftLegColor=BrickColor.new(colors[i]) | |
2442 | bods.RightArmColor=BrickColor.new(colors[i]) | |
2443 | bods.RightLegColor=BrickColor.new(colors[i]) | |
2444 | bods.TorsoColor=BrickColor.new(colors[i]) | |
2445 | hay.BrickColor=BrickColor.new(colors[i]) | |
2446 | hay2.BrickColor=BrickColor.new(colors[i]) | |
2447 | stake.BrickColor=BrickColor.new(colors[i]) | |
2448 | wait(5) | |
2449 | end | |
2450 | wait(10) | |
2451 | scream.Volume = 0.5 | |
2452 | wait(1) | |
2453 | scream:Stop() | |
2454 | char:BreakJoints() | |
2455 | end | |
2456 | end) | |
2457 | ||
2458 | addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'}, | |
2459 | function(args, speaker) | |
2460 | if speaker.userId ~= LP.userId then | |
2461 | lponly(speaker) | |
2462 | else | |
2463 | UFC() | |
2464 | end | |
2465 | end) | |
2466 | ||
2467 | addcmd('freecamspeed','unfreecam',{'fcspeed'}, | |
2468 | function(args, speaker) | |
2469 | if speaker.userId ~= LP.userId then | |
2470 | lponly(speaker) | |
2471 | else | |
2472 | if isNumber(args[1]) then | |
2473 | cs = args[1] | |
2474 | end end end) | |
2475 | ||
2476 | addcmd('nolight', 'no more light',{'unlight'}, | |
2477 | function(args, speaker) | |
2478 | local players = getPlayer(args[1], speaker) | |
2479 | for i,v in pairs(players)do | |
2480 | local pchar=_char(v) | |
2481 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
2482 | if v1:IsA("PointLight") then | |
2483 | v1:Destroy() | |
2484 | end | |
2485 | end | |
2486 | end | |
2487 | end) | |
2488 | ||
2489 | addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'}, | |
2490 | function(args, speaker) | |
2491 | local players = getPlayer(args[1], speaker) | |
2492 | for i,v in pairs(players)do | |
2493 | local pchar=_char(v) | |
2494 | scale = 10 | |
2495 | ||
2496 | function weld(tab) | |
2497 | local last = nil | |
2498 | for i,v in pairs(tab) do | |
2499 | if v:IsA("BasePart") then | |
2500 | if last then | |
2501 | local w = Instance.new("Weld",last) | |
2502 | w.Part0 = w.Parent | |
2503 | w.Part1 = v | |
2504 | local pos = last.CFrame:toObjectSpace(v.CFrame) | |
2505 | w.C0 = pos | |
2506 | end | |
2507 | last = v | |
2508 | end | |
2509 | end | |
2510 | end | |
2511 | ||
2512 | function makeball(pos) | |
2513 | local model = Instance.new("Model",workspace) | |
2514 | model.Name = gPlayers[v].Name .. "ball" | |
2515 | local rand = BrickColor.Random() | |
2516 | pchar.Head.Anchored = true | |
2517 | for i=0,340,20 do | |
2518 | wait() | |
2519 | for z=-90,70,20 do | |
2520 | local p = Instance.new("Part",model) | |
2521 | p.formFactor = "Custom" | |
2522 | p.BrickColor = rand | |
2523 | p.Transparency = 0.5 | |
2524 | p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140) | |
2525 | p.Anchored = true | |
2526 | p.TopSurface = 0 | |
2527 | p.BottomSurface = 0 | |
2528 | p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2) | |
2529 | p:breakJoints() | |
2530 | end | |
2531 | end | |
2532 | weld(model:children()) | |
2533 | for i,v in pairs(model:children()) do v.Anchored = false end | |
2534 | pchar.Head.Anchored = false | |
2535 | model:MakeJoints() | |
2536 | end | |
2537 | ||
2538 | if pchar then | |
2539 | makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0)) | |
2540 | end | |
2541 | end | |
2542 | end) | |
2543 | ||
2544 | addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'}, | |
2545 | function(args, speaker) | |
2546 | local players = getPlayer(args[1], speaker) | |
2547 | for i,v in pairs(players)do | |
2548 | local pchar=_char(v) | |
2549 | for _, child in pairs( workspace:GetChildren()) do | |
2550 | if child.Name == gPlayers[v].Name .. "ball" then | |
2551 | child:Destroy() | |
2552 | end | |
2553 | end | |
2554 | end | |
2555 | end) | |
2556 | ||
2557 | local fastwait = function(time) | |
2558 | local expire = tick()+(time or 0.02999999999999999889) | |
2559 | while game:GetService("RunService").Heartbeat:wait() do | |
2560 | if tick() >= expire then return true end | |
2561 | end | |
2562 | end | |
2563 | ||
2564 | function arrest(name) | |
2565 | spawn(function() | |
2566 | local p = game:GetService("Players"):FindFirstChild(name) | |
2567 | local char = p.Character | |
2568 | local torso = p.Character:FindFirstChild("HumanoidRootPart") | |
2569 | local humanoid = p.Character:FindFirstChild("Humanoid") | |
2570 | if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then | |
2571 | local van = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587") | |
2572 | if van then | |
2573 | local function check() | |
2574 | 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 | |
2575 | return false | |
2576 | else | |
2577 | return true | |
2578 | end | |
2579 | end | |
2580 | ||
2581 | --local driver = van.Driver | |
2582 | --local grabber = van.Clown | |
2583 | local primary = van.Primary | |
2584 | --local door = van.Door | |
2585 | local tPos = torso.CFrame | |
2586 | ||
2587 | local sound = Instance.new("Sound",primary) | |
2588 | sound.SoundId = "rbxassetid://258529216" | |
2589 | sound.Looped = true | |
2590 | sound:Play() | |
2591 | ||
2592 | local chuckle = Instance.new("Sound",primary) | |
2593 | chuckle.SoundId = "rbxassetid://175964948" | |
2594 | chuckle.Looped = true | |
2595 | chuckle.Volume = 0.5 | |
2596 | chuckle:Play() | |
2597 | ||
2598 | van.PrimaryPart = van.Primary | |
2599 | van.Name = "ADONIS_VAN" | |
2600 | van.Parent = workspace | |
2601 | humanoid.Name = "NoResetForYou" | |
2602 | humanoid.WalkSpeed = 0 | |
2603 | sound.Pitch = 1.3 | |
2604 | ||
2605 | local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace) | |
2606 | music.Name = "COPSONG" | |
2607 | music.SoundId = "rbxassetid://132007810" | |
2608 | music.Volume = 1 | |
2609 | music.Looped = true | |
2610 | if not music.Playing then music:Play() end | |
2611 | ||
2612 | spawn(function() | |
2613 | while fastwait(0.2) do | |
2614 | van.Body.Lightbar.Red.PointLight.Enabled = true | |
2615 | van.Body.Lightbar.Blue.PointLight.Enabled = false | |
2616 | fastwait(0.2) | |
2617 | van.Body.Lightbar.Red.PointLight.Enabled = false | |
2618 | van.Body.Lightbar.Blue.PointLight.Enabled = true | |
2619 | end | |
2620 | end) | |
2621 | ||
2622 | for i = 1,200 do | |
2623 | if not check() then | |
2624 | break | |
2625 | else | |
2626 | van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0))) | |
2627 | fastwait(0.001*(i/5)) | |
2628 | end | |
2629 | end | |
2630 | ||
2631 | sound.Pitch = 0.9 | |
2632 | ||
2633 | fastwait(0.5) | |
2634 | if check() then | |
2635 | --door.Transparency = 1 | |
2636 | end | |
2637 | ||
2638 | local freeze = Instance.new("Sound",primary) | |
2639 | freeze.SoundId = "rbxassetid://163732279" | |
2640 | freeze.Volume = 5 | |
2641 | freeze:Play() | |
2642 | ||
2643 | fastwait(3) | |
2644 | ||
2645 | if check() then | |
2646 | torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0)) | |
2647 | end | |
2648 | ||
2649 | fastwait(0.5) | |
2650 | if check() then | |
2651 | --door.Transparency = 0 | |
2652 | end | |
2653 | fastwait(0.5) | |
2654 | ||
2655 | sound.Pitch = 1.3 | |
2656 | local gui = Instance.new("ScreenGui") | |
2657 | local frame = Instance.new("Frame",gui) | |
2658 | frame.BackgroundTransparency = 1 | |
2659 | frame.BackgroundColor3 = Color3.new(0,0,0) | |
2660 | frame.Position = UDim2.new(0,0,0,-36) | |
2661 | frame.Size = UDim2.new(1,0,1,36) | |
2662 | spawn(function() | |
2663 | for i = 1,0,-0.01 do | |
2664 | frame.BackgroundTransparency = i | |
2665 | fastwait(0.1) | |
2666 | end | |
2667 | frame.BackgroundTransparency = 0 | |
2668 | end) | |
2669 | ||
2670 | p.CameraMaxZoomDistance = 0.5 | |
2671 | ||
2672 | torso.Anchored = true | |
2673 | ||
2674 | for i = 1,400 do | |
2675 | if not check() then | |
2676 | break | |
2677 | else | |
2678 | van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0))) | |
2679 | torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0)) | |
2680 | fastwait(0.1/(i*5)) | |
2681 | ||
2682 | if i == 270 then | |
2683 | music.Volume = 5 | |
2684 | end | |
2685 | end | |
2686 | end | |
2687 | ||
2688 | local function KICK(P) | |
2689 | spawn(function() | |
2690 | if not FindTable(WL, P.Name) then | |
2691 | for i = 1,5 do | |
2692 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
2693 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
2694 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
2695 | spawn(function() | |
2696 | repeat fastwait() | |
2697 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
2698 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
2699 | end) | |
2700 | P.Character.HumanoidRootPart.Anchored = true | |
2701 | end | |
2702 | end | |
2703 | end | |
2704 | end) | |
2705 | end | |
2706 | ||
2707 | if p and p.Parent == game:GetService("Players") then | |
2708 | if p == game:GetService("Players").LocalPlayer then | |
2709 | fastwait(5) | |
2710 | end | |
2711 | torso.Anchored = false | |
2712 | p.CharacterAdded:Connect(function() | |
2713 | fastwait() | |
2714 | KICK(p) | |
2715 | end) | |
2716 | KICK(p) | |
2717 | end | |
2718 | fastwait(0.5) | |
2719 | pcall(function() van:Destroy() end) | |
2720 | pcall(function() gui:Destroy() end) | |
2721 | if not workspace:FindFirstChild("ADONIS_VAN") then | |
2722 | music:Destroy() | |
2723 | end | |
2724 | end | |
2725 | end | |
2726 | end) | |
2727 | end | |
2728 | ||
2729 | addcmd('arrest', 'arrests player',{}, | |
2730 | function(args, speaker) | |
2731 | local players = getPlayer(args[1], speaker) | |
2732 | for i,v in pairs(players)do | |
2733 | arrest(gPlayers[v].Name) | |
2734 | end | |
2735 | end) | |
2736 | ||
2737 | addcmd('nodummies', 'clears dummies',{}, | |
2738 | function(args, speaker) | |
2739 | for _, child in pairs( workspace:GetChildren()) do | |
2740 | if child:FindFirstChild('isdummy') then | |
2741 | child:Destroy() | |
2742 | end | |
2743 | end | |
2744 | end) | |
2745 | ||
2746 | addcmd('dummy','Make a dummy(usage: ;dummy name)',{}, | |
2747 | function(args, speaker) | |
2748 | local name = GLS(false, 0) | |
2749 | local lchar = game:GetService('Players').LocalPlayer | |
2750 | local Model0 = Instance.new("Model") | |
2751 | local Part1 = Instance.new("Part") | |
2752 | local SpecialMesh2 = Instance.new("SpecialMesh") | |
2753 | local Decal3 = Instance.new("Decal") | |
2754 | local Part4 = Instance.new("Part") | |
2755 | local Motor5 = Instance.new("Motor") | |
2756 | local Motor6 = Instance.new("Motor") | |
2757 | local Motor7 = Instance.new("Motor") | |
2758 | local Motor8 = Instance.new("Motor") | |
2759 | local Motor9 = Instance.new("Motor") | |
2760 | local Part10 = Instance.new("Part") | |
2761 | local Part11 = Instance.new("Part") | |
2762 | local Part12 = Instance.new("Part") | |
2763 | local Part13 = Instance.new("Part") | |
2764 | local dum = Instance.new("BoolValue") | |
2765 | dum.Name = "isdummy" | |
2766 | dum.Parent = Model0 | |
2767 | local Humanoid14 = Instance.new("Humanoid") | |
2768 | Model0.Name = name | |
2769 | Model0.Parent = workspace | |
2770 | Model0.PrimaryPart = Part1 | |
2771 | Part1.Name = "Head" | |
2772 | Part1.Parent = Model0 | |
2773 | Part1.BrickColor = BrickColor.new("Bright yellow") | |
2774 | Part1.CanCollide = false | |
2775 | Part1.FormFactor = Enum.FormFactor.Symmetric | |
2776 | Part1.Friction = 0 | |
2777 | Part1.Size = Vector3.new(2, 1, 1) | |
2778 | Part1.CFrame = CFrame.new(3.49000192, 4.49999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2779 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
2780 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2781 | Part1.Position = Vector3.new(3.49000192, 4.49999905, 7.75) | |
2782 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2783 | SpecialMesh2.Parent = Part1 | |
2784 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2785 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2786 | Decal3.Name = "face" | |
2787 | Decal3.Parent = Part1 | |
2788 | Decal3.Texture = "rbxasset://textures/face.png" | |
2789 | Part4.Name = "Torso" | |
2790 | Part4.Parent = Model0 | |
2791 | Part4.BrickColor = BrickColor.new("Bright blue") | |
2792 | Part4.CanCollide = false | |
2793 | Part4.FormFactor = Enum.FormFactor.Symmetric | |
2794 | Part4.Friction = 0 | |
2795 | Part4.Size = Vector3.new(2, 2, 1) | |
2796 | Part4.CFrame = CFrame.new(3.49000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2797 | Part4.LeftSurface = Enum.SurfaceType.Weld | |
2798 | Part4.RightSurface = Enum.SurfaceType.Weld | |
2799 | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
2800 | Part4.Position = Vector3.new(3.49000192, 2.99999905, 7.75) | |
2801 | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
2802 | Motor5.Name = "Right Shoulder" | |
2803 | Motor5.Parent = Part4 | |
2804 | Motor5.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2805 | Motor5.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2806 | Motor5.Part0 = Part4 | |
2807 | Motor5.Part1 = Part11 | |
2808 | Motor5.DesiredAngle = 0.083800852298737 | |
2809 | Motor5.MaxVelocity = 0.15000000596046 | |
2810 | Motor6.Name = "Left Shoulder" | |
2811 | Motor6.Parent = Part4 | |
2812 | Motor6.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2813 | Motor6.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2814 | Motor6.Part0 = Part4 | |
2815 | Motor6.Part1 = Part10 | |
2816 | Motor6.DesiredAngle = 0.083800852298737 | |
2817 | Motor6.MaxVelocity = 0.15000000596046 | |
2818 | Motor7.Name = "Left Hip" | |
2819 | Motor7.Parent = Part4 | |
2820 | Motor7.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2821 | Motor7.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
2822 | Motor7.Part0 = Part4 | |
2823 | Motor7.Part1 = Part12 | |
2824 | Motor7.DesiredAngle = -0.083800852298737 | |
2825 | Motor7.MaxVelocity = 0.10000000149012 | |
2826 | Motor8.Name = "Neck" | |
2827 | Motor8.Parent = Part4 | |
2828 | Motor8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
2829 | Motor8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
2830 | Motor8.Part0 = Part4 | |
2831 | Motor8.Part1 = Part1 | |
2832 | Motor8.MaxVelocity = 0.10000000149012 | |
2833 | Motor9.Name = "Right Hip" | |
2834 | Motor9.Parent = Part4 | |
2835 | Motor9.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2836 | Motor9.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2837 | Motor9.Part0 = Part4 | |
2838 | Motor9.Part1 = Part13 | |
2839 | Motor9.DesiredAngle = -0.083800852298737 | |
2840 | Motor9.MaxVelocity = 0.10000000149012 | |
2841 | Part10.Name = "Left Arm" | |
2842 | Part10.Parent = Model0 | |
2843 | Part10.BrickColor = BrickColor.new("Bright yellow") | |
2844 | Part10.CanCollide = false | |
2845 | Part10.FormFactor = Enum.FormFactor.Symmetric | |
2846 | Part10.Size = Vector3.new(1, 2, 1) | |
2847 | Part10.CFrame = CFrame.new(1.99000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2848 | Part10.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2849 | Part10.Position = Vector3.new(1.99000192, 2.99999905, 7.75) | |
2850 | Part10.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2851 | Part11.Name = "Right Arm" | |
2852 | Part11.Parent = Model0 | |
2853 | Part11.BrickColor = BrickColor.new("Bright yellow") | |
2854 | Part11.CanCollide = false | |
2855 | Part11.FormFactor = Enum.FormFactor.Symmetric | |
2856 | Part11.Size = Vector3.new(1, 2, 1) | |
2857 | Part11.CFrame = CFrame.new(4.99000168, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2858 | Part11.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2859 | Part11.Position = Vector3.new(4.99000168, 2.99999905, 7.75) | |
2860 | Part11.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
2861 | Part12.Name = "Left Leg" | |
2862 | Part12.Parent = Model0 | |
2863 | Part12.BrickColor = BrickColor.new("Br. yellowish green") | |
2864 | Part12.CanCollide = false | |
2865 | Part12.FormFactor = Enum.FormFactor.Symmetric | |
2866 | Part12.Size = Vector3.new(1, 2, 1) | |
2867 | Part12.CFrame = CFrame.new(2.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2868 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
2869 | Part12.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2870 | Part12.Position = Vector3.new(2.99000192, 0.999999046, 7.75) | |
2871 | Part12.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2872 | Part13.Name = "Right Leg" | |
2873 | Part13.Parent = Model0 | |
2874 | Part13.BrickColor = BrickColor.new("Br. yellowish green") | |
2875 | Part13.CanCollide = false | |
2876 | Part13.FormFactor = Enum.FormFactor.Symmetric | |
2877 | Part13.Size = Vector3.new(1, 2, 1) | |
2878 | Part13.CFrame = CFrame.new(3.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2879 | Part13.BottomSurface = Enum.SurfaceType.Smooth | |
2880 | Part13.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2881 | Part13.Position = Vector3.new(3.99000192, 0.999999046, 7.75) | |
2882 | Part13.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
2883 | Humanoid14.Parent = Model0 | |
2884 | Humanoid14.RightLeg = Part13 | |
2885 | Humanoid14.LeftLeg = Part12 | |
2886 | Humanoid14.Torso = Part4 | |
2887 | Model0:MoveTo(game:GetService('Players').LocalPlayer.Character:GetModelCFrame().p) | |
2888 | Model0.Parent = game:GetService('Workspace') | |
2889 | end) | |
2890 | ||
2891 | addcmd('loopkill', 'rip person',{'lkill'}, | |
2892 | function(args, speaker) | |
2893 | local players = getPlayer(args[1], speaker) | |
2894 | for i,v in pairs(players)do | |
2895 | if not FindTable(loopkillT, _players[v].Name) then | |
2896 | table.insert(loopkillT, _players[v].Name) | |
2897 | if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else | |
2898 | Notify('Loopkilling player(s)') end end end end) | |
2899 | ||
2900 | addcmd('unloopkill', 'un rip person',{'unlkill'}, | |
2901 | function(args, speaker) | |
2902 | local players = getPlayer(args[1], speaker) | |
2903 | for i,v in pairs(players)do | |
2904 | if FindTable(loopkillT, _players[v].Name) then | |
2905 | table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name)) | |
2906 | if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else | |
2907 | Notify('No longer loopkilling player(s)') end end end end) | |
2908 | ||
2909 | addcmd('disabletools', 'removes their tools',{'loopremovetools'}, | |
2910 | function(args, speaker) | |
2911 | local players = getPlayer(args[1], speaker) | |
2912 | for i,v in pairs(players)do | |
2913 | if not FindTable(disabletoolsT, _players[v].Name) then | |
2914 | table.insert(disabletoolsT, _players[v].Name) | |
2915 | if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else | |
2916 | Notify('Disabled tools for player(s)') end end end end) | |
2917 | ||
2918 | addcmd('enabletools', 'lets them have tools',{}, | |
2919 | function(args, speaker) | |
2920 | local players = getPlayer(args[1], speaker) | |
2921 | for i,v in pairs(players)do | |
2922 | if FindTable(disabletoolsT, _players[v].Name) then | |
2923 | table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) wait(0.1) refresh(_players[v]) | |
2924 | if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else | |
2925 | Notify('Enabled tools for player(s)') end end end end) | |
2926 | ||
2927 | addcmd('refresh', 'refresh their player model',{'re'}, | |
2928 | function(args, speaker) | |
2929 | local players = getPlayer(args[1], speaker) | |
2930 | for i,v in pairs(players)do | |
2931 | refresh(_players[v]) | |
2932 | end end) | |
2933 | ||
2934 | local fastwait = function(time) | |
2935 | local expire = tick()+(time or 0.02999999999999999889) | |
2936 | while game:GetService("RunService").Heartbeat:wait() do | |
2937 | if tick() >= expire then return true end | |
2938 | end | |
2939 | end | |
2940 | ||
2941 | function gull(name) | |
2942 | spawn(function() | |
2943 | local char = game:GetService("Players")[name].Character | |
2944 | char.PrimaryPart = char.HumanoidRootPart | |
2945 | ||
2946 | local tors = game:GetService("Players")[name].Character.HumanoidRootPart | |
2947 | local initCFrame = tors.CFrame | |
2948 | ||
2949 | if char:FindFirstChild("Torso") then | |
2950 | char.Torso.Anchored = true | |
2951 | else | |
2952 | char.UpperTorso.Anchored = true | |
2953 | end | |
2954 | char:FindFirstChildOfClass("Humanoid").Name = "Sad" | |
2955 | ||
2956 | local gull = Instance.new("Part") | |
2957 | gull.Anchored = true | |
2958 | gull.CanCollide = false | |
2959 | gull.Position = Vector3.new(0,100000,0) | |
2960 | local mesh = Instance.new("SpecialMesh",gull) | |
2961 | mesh.MeshId = "http://www.roblox.com/asset/?id=272501436" | |
2962 | mesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
2963 | mesh.Scale = Vector3.new(10,10,10) | |
2964 | ||
2965 | local leftWing = Instance.new("Part",gull) | |
2966 | leftWing.CanCollide = false | |
2967 | local lmesh = Instance.new("SpecialMesh",leftWing) | |
2968 | lmesh.MeshId = "http://www.roblox.com/asset/?id=267684584" | |
2969 | lmesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
2970 | lmesh.Scale = Vector3.new(10,10,10) | |
2971 | local leftMotor = Instance.new("Motor6D",gull) | |
2972 | leftMotor.MaxVelocity = 1 | |
2973 | leftMotor.Part0 = gull | |
2974 | leftMotor.Part1 = leftWing | |
2975 | leftMotor.C0 = CFrame.new(-50.2919998, -0.0920021087, 0.280000001) | |
2976 | ||
2977 | local rightWing = Instance.new("Part",gull) | |
2978 | rightWing.CanCollide = false | |
2979 | local rmesh = Instance.new("SpecialMesh",rightWing) | |
2980 | rmesh.MeshId = "http://www.roblox.com/asset/?id=267684651" | |
2981 | rmesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
2982 | rmesh.Scale = Vector3.new(10,10,10) | |
2983 | local rightMotor = Instance.new("Motor6D",gull) | |
2984 | rightMotor.MaxVelocity = 1 | |
2985 | rightMotor.Part0 = gull | |
2986 | rightMotor.Part1 = rightWing | |
2987 | rightMotor.C0 = CFrame.new(47.1930008, -0.0670021027, 0.280000001) | |
2988 | ||
2989 | local sound = Instance.new("Sound",gull) | |
2990 | sound.SoundId = "rbxassetid://160877039" | |
2991 | sound.Volume = 10 | |
2992 | gull.Parent = workspace | |
2993 | ||
2994 | for i = 400,-1000,-2 do | |
2995 | local der = 0.02*i | |
2996 | local angle = math.atan(der/1) | |
2997 | gull.CFrame = initCFrame*CFrame.Angles(angle,math.pi,0) + initCFrame.lookVector * (i+5) + Vector3.new(0,0.01*i^2+7,0) | |
2998 | if i == 0 then sound:Play() end | |
2999 | if i <= 0 then | |
3000 | char:SetPrimaryPartCFrame(gull.CFrame) | |
3001 | local nextAngle = -0.2*math.sin(0.05*math.pi*(i)) | |
3002 | leftMotor.DesiredAngle = -nextAngle | |
3003 | leftMotor.C0 = CFrame.new(-50.2919998, 47.193*math.tan(nextAngle), 0.280000001) | |
3004 | rightMotor.DesiredAngle = nextAngle | |
3005 | rightMotor.C0 = CFrame.new(47.1930008, 47.193*math.tan(nextAngle), 0.280000001) | |
3006 | end | |
3007 | game:GetService("RunService").RenderStepped:wait() | |
3008 | end | |
3009 | ||
3010 | local function KICK(P) | |
3011 | spawn(function() | |
3012 | if not FindTable(WL, P.Name) then | |
3013 | for i = 1,5 do | |
3014 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
3015 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
3016 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
3017 | spawn(function() | |
3018 | repeat wait() | |
3019 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
3020 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
3021 | end) | |
3022 | P.Character.HumanoidRootPart.Anchored = true | |
3023 | end | |
3024 | end | |
3025 | end | |
3026 | end) | |
3027 | end | |
3028 | ||
3029 | if char:FindFirstChild("Torso") then | |
3030 | char.Torso.Anchored = false | |
3031 | else | |
3032 | char.UpperTorso.Anchored = false | |
3033 | end | |
3034 | ||
3035 | spawn(function() | |
3036 | if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(5) end | |
3037 | game:GetService("Players")[name].CharacterAdded:Connect(function() | |
3038 | wait() | |
3039 | KICK(game:GetService("Players")[name]) | |
3040 | end) | |
3041 | KICK(game:GetService("Players")[name]) | |
3042 | end) | |
3043 | ||
3044 | local go = Instance.new("BodyVelocity",gull) | |
3045 | go.Velocity = Vector3.new(0,1000,0) | |
3046 | go.MaxForce = Vector3.new(1000000,1000000,1000000) | |
3047 | gull.Anchored = false | |
3048 | end) | |
3049 | end | |
3050 | ||
3051 | addcmd('seagull', 'seagulls player',{'gull'}, | |
3052 | function(args, speaker) | |
3053 | local players = getPlayer(args[1], speaker) | |
3054 | for i,v in pairs(players)do | |
3055 | gull(gPlayers[v].Name) | |
3056 | end | |
3057 | end) | |
3058 | ||
3059 | local song = nil | |
3060 | function zinniaKick(name) | |
3061 | spawn(function() | |
3062 | if song == nil or song.Parent == nil then | |
3063 | song = Instance.new("Sound",workspace) | |
3064 | song.SoundId = "rbxassetid://190423831" | |
3065 | song.Volume = 1 | |
3066 | song.Looped = true | |
3067 | song:Play() | |
3068 | end | |
3069 | local zin = Instance.new("Part") | |
3070 | zin.Name = "CuteZinnia" | |
3071 | zin.Anchored = true | |
3072 | zin.CanCollide = false | |
3073 | zin.Locked = true | |
3074 | local mesh = Instance.new("SpecialMesh") | |
3075 | mesh.MeshId = "rbxassetid://1175670539" | |
3076 | mesh.TextureId = "rbxassetid://1175670558" | |
3077 | mesh.Scale = Vector3.new(0.05,0.05,0.05) | |
3078 | mesh.Offset = Vector3.new(0,0.88,0) | |
3079 | mesh.Parent = zin | |
3080 | local char = game:GetService("Players")[name].Character | |
3081 | char.PrimaryPart = char.HumanoidRootPart | |
3082 | if char:FindFirstChild("Torso") then | |
3083 | char.Torso.Anchored = true | |
3084 | else | |
3085 | char.UpperTorso.Anchored = true | |
3086 | end | |
3087 | 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)) | |
3088 | zin.Parent = workspace | |
3089 | 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)}) | |
3090 | tween:Play() | |
3091 | fastwait(3) | |
3092 | for i = 50,1,-1 do | |
3093 | 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)) | |
3094 | fastwait() | |
3095 | end | |
3096 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3097 | fastwait(1) | |
3098 | local turns = 0 | |
3099 | ||
3100 | while turns < 200 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 | turns = turns + 1 | |
3104 | fastwait() | |
3105 | end | |
3106 | for i = 1,10 do | |
3107 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3108 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
3109 | fastwait() | |
3110 | end | |
3111 | local rX,rZ = 0,0 | |
3112 | repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000 | |
3113 | repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000 | |
3114 | local bv = Instance.new("BodyForce",char.HumanoidRootPart) | |
3115 | bv.Force = Vector3.new(rX,10000,rZ) | |
3116 | if char:FindFirstChild("Torso") then | |
3117 | char.Torso.Anchored = false | |
3118 | else | |
3119 | char.UpperTorso.Anchored = false | |
3120 | end | |
3121 | function KICK(P) | |
3122 | spawn(function() | |
3123 | if not FindTable(WL, P.Name) then | |
3124 | for i = 1,5 do | |
3125 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then | |
3126 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
3127 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
3128 | spawn(function() | |
3129 | repeat fastwait() | |
3130 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end | |
3131 | until not game:GetService("Players"):FindFirstChild(P.Name) | |
3132 | end) | |
3133 | P.Character.HumanoidRootPart.Anchored = true | |
3134 | end | |
3135 | end | |
3136 | end | |
3137 | end) | |
3138 | end | |
3139 | spawn(function() | |
3140 | if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end | |
3141 | game:GetService("Players")[name].CharacterAdded:Connect(function() | |
3142 | fastwait() | |
3143 | KICK(game:GetService("Players")[name]) | |
3144 | end) | |
3145 | KICK(game:GetService("Players")[name]) | |
3146 | end) | |
3147 | for i = 1,20 do | |
3148 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3149 | fastwait() | |
3150 | end | |
3151 | while turns > 0 do | |
3152 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
3153 | turns = turns - 5 | |
3154 | fastwait() | |
3155 | end | |
3156 | fastwait(1) | |
3157 | zin.Name = "GoneZinnia" | |
3158 | local go = Instance.new("BodyVelocity",zin) | |
3159 | go.Velocity = zin.CFrame.lookVector * 100 | |
3160 | go.MaxForce = Vector3.new(1000000,1000000,1000000) | |
3161 | zin.Anchored = false | |
3162 | fastwait(20) | |
3163 | if song and not workspace:FindFirstChild("CuteZinnia") then | |
3164 | song:Destroy() | |
3165 | song = nil | |
3166 | end | |
3167 | end) | |
3168 | end | |
3169 | ||
3170 | addcmd('zinnia', 'asdf for moon',{}, | |
3171 | function(args, speaker) | |
3172 | local players = getPlayer(args[1], speaker) | |
3173 | for i,v in pairs(players)do | |
3174 | zinniaKick(gPlayers[v].Name) | |
3175 | end | |
3176 | end) | |
3177 | ||
3178 | addcmd('rainbowname', 'color spam their name tag',{'rname'}, | |
3179 | function(args, speaker) | |
3180 | local players = getPlayer(args[1], speaker) | |
3181 | for i,v in pairs(players)do | |
3182 | if not FindTable(rainbowT, _players[v].Name) then | |
3183 | table.insert(rainbowT, _players[v].Name) | |
3184 | if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else | |
3185 | Notify('Gave player(s) rainbow name') end end end end) | |
3186 | ||
3187 | addcmd('unrainbowname', 'removes their colorful name',{'unrname'}, | |
3188 | function(args, speaker) | |
3189 | local players = getPlayer(args[1], speaker) | |
3190 | for i,v in pairs(players)do | |
3191 | if FindTable(rainbowT, _players[v].Name) then | |
3192 | table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name)) | |
3193 | _players[v].Neutral = true | |
3194 | if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else | |
3195 | Notify('Disabled rainbow name for player(s)') end end end end) | |
3196 | ||
3197 | addcmd('terrain', 'gives you terrain tools',{'tt'}, | |
3198 | function(args, speaker) | |
3199 | if speaker.userId ~= LP.userId then | |
3200 | lponly(speaker) | |
3201 | else | |
3202 | --Terrain Script | |
3203 | --Edge/IoIman616 | |
3204 | ||
3205 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do | |
3206 | if child.Name == "MaterialGui" then | |
3207 | child:Destroy() | |
3208 | end | |
3209 | end | |
3210 | ||
3211 | function sandbox(var,func) | |
3212 | local env = getfenv(func) | |
3213 | local newenv = setmetatable({},{ | |
3214 | __index = function(self,k) | |
3215 | if k=="script" then | |
3216 | return var | |
3217 | else | |
3218 | return env[k] | |
3219 | end | |
3220 | end, | |
3221 | }) | |
3222 | setfenv(func,newenv) | |
3223 | return func | |
3224 | end | |
3225 | cors = {} | |
3226 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3227 | HopperBin0 = Instance.new("HopperBin") | |
3228 | HopperBin0.Name = "Terrain Build" | |
3229 | HopperBin0.Parent = mas | |
3230 | for i,v in pairs(mas:GetChildren()) do | |
3231 | v.Parent = game:GetService("Players").LocalPlayer.Backpack | |
3232 | pcall(function() v:MakeJoints() end) | |
3233 | end | |
3234 | mas:Destroy() | |
3235 | for i,v in pairs(cors) do | |
3236 | spawn(function() | |
3237 | pcall(v) | |
3238 | end) | |
3239 | end | |
3240 | ||
3241 | wait(0.01) | |
3242 | ||
3243 | function sandbox(var,func) | |
3244 | local env = getfenv(func) | |
3245 | local newenv = setmetatable({},{ | |
3246 | __index = function(self,k) | |
3247 | if k=="script" then | |
3248 | return var | |
3249 | else | |
3250 | return env[k] | |
3251 | end | |
3252 | end, | |
3253 | }) | |
3254 | setfenv(func,newenv) | |
3255 | return func | |
3256 | end | |
3257 | cors = {} | |
3258 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3259 | ScreenGui0 = Instance.new("ScreenGui") | |
3260 | ImageLabel1 = Instance.new("ImageLabel") | |
3261 | ImageButton2 = Instance.new("ImageButton") | |
3262 | Frame3 = Instance.new("Frame") | |
3263 | NumberValue4 = Instance.new("NumberValue") | |
3264 | ImageButton5 = Instance.new("ImageButton") | |
3265 | Frame6 = Instance.new("Frame") | |
3266 | NumberValue7 = Instance.new("NumberValue") | |
3267 | ImageButton8 = Instance.new("ImageButton") | |
3268 | Frame9 = Instance.new("Frame") | |
3269 | NumberValue10 = Instance.new("NumberValue") | |
3270 | ImageButton11 = Instance.new("ImageButton") | |
3271 | Frame12 = Instance.new("Frame") | |
3272 | NumberValue13 = Instance.new("NumberValue") | |
3273 | ImageButton14 = Instance.new("ImageButton") | |
3274 | Frame15 = Instance.new("Frame") | |
3275 | NumberValue16 = Instance.new("NumberValue") | |
3276 | ImageButton17 = Instance.new("ImageButton") | |
3277 | Frame18 = Instance.new("Frame") | |
3278 | NumberValue19 = Instance.new("NumberValue") | |
3279 | ImageButton20 = Instance.new("ImageButton") | |
3280 | Frame21 = Instance.new("Frame") | |
3281 | NumberValue22 = Instance.new("NumberValue") | |
3282 | ImageButton23 = Instance.new("ImageButton") | |
3283 | Frame24 = Instance.new("Frame") | |
3284 | NumberValue25 = Instance.new("NumberValue") | |
3285 | ImageButton26 = Instance.new("ImageButton") | |
3286 | Frame27 = Instance.new("Frame") | |
3287 | NumberValue28 = Instance.new("NumberValue") | |
3288 | ImageButton29 = Instance.new("ImageButton") | |
3289 | Frame30 = Instance.new("Frame") | |
3290 | NumberValue31 = Instance.new("NumberValue") | |
3291 | ImageButton32 = Instance.new("ImageButton") | |
3292 | Frame33 = Instance.new("Frame") | |
3293 | NumberValue34 = Instance.new("NumberValue") | |
3294 | ImageButton35 = Instance.new("ImageButton") | |
3295 | Frame36 = Instance.new("Frame") | |
3296 | NumberValue37 = Instance.new("NumberValue") | |
3297 | ImageButton38 = Instance.new("ImageButton") | |
3298 | Frame39 = Instance.new("Frame") | |
3299 | NumberValue40 = Instance.new("NumberValue") | |
3300 | ImageButton41 = Instance.new("ImageButton") | |
3301 | Frame42 = Instance.new("Frame") | |
3302 | NumberValue43 = Instance.new("NumberValue") | |
3303 | ImageButton44 = Instance.new("ImageButton") | |
3304 | Frame45 = Instance.new("Frame") | |
3305 | NumberValue46 = Instance.new("NumberValue") | |
3306 | ImageButton47 = Instance.new("ImageButton") | |
3307 | Frame48 = Instance.new("Frame") | |
3308 | NumberValue49 = Instance.new("NumberValue") | |
3309 | ImageButton50 = Instance.new("ImageButton") | |
3310 | Frame51 = Instance.new("Frame") | |
3311 | NumberValue52 = Instance.new("NumberValue") | |
3312 | ImageButton53 = Instance.new("ImageButton") | |
3313 | Frame54 = Instance.new("Frame") | |
3314 | ScreenGui0.Name = "MaterialGui" | |
3315 | ScreenGui0.Parent = mas | |
3316 | ImageLabel1.Name = "MaterialMenu" | |
3317 | ImageLabel1.Parent = ScreenGui0 | |
3318 | ImageLabel1.Transparency = 1 | |
3319 | ImageLabel1.Size = UDim2.new(0, 100, 0, 450) | |
3320 | ImageLabel1.Position = UDim2.new(0, 0, 1, -550) | |
3321 | ImageLabel1.BackgroundTransparency = 1 | |
3322 | ImageLabel1.ZIndex = 2 | |
3323 | ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png" | |
3324 | ImageButton2.Name = "Grass" | |
3325 | ImageButton2.Parent = ImageLabel1 | |
3326 | ImageButton2.Transparency = 1 | |
3327 | ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3328 | ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0) | |
3329 | ImageButton2.BackgroundTransparency = 1 | |
3330 | ImageButton2.ZIndex = 4 | |
3331 | ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112" | |
3332 | Frame3.Name = "Selection" | |
3333 | Frame3.Parent = ImageButton2 | |
3334 | Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3335 | Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3336 | Frame3.BackgroundColor3 = Color3.new(1, 1, 1) | |
3337 | Frame3.BorderSizePixel = 0 | |
3338 | Frame3.ZIndex = 3 | |
3339 | NumberValue4.Name = "num" | |
3340 | NumberValue4.Parent = ImageButton2 | |
3341 | NumberValue4.Value = 1 | |
3342 | ImageButton5.Name = "Sand" | |
3343 | ImageButton5.Parent = ImageLabel1 | |
3344 | ImageButton5.Transparency = 1 | |
3345 | ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3346 | ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0) | |
3347 | ImageButton5.BackgroundTransparency = 1 | |
3348 | ImageButton5.ZIndex = 4 | |
3349 | ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652" | |
3350 | Frame6.Name = "Selection" | |
3351 | Frame6.Parent = ImageButton5 | |
3352 | Frame6.Transparency = 1 | |
3353 | Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3354 | Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3355 | Frame6.BackgroundColor3 = Color3.new(1, 1, 1) | |
3356 | Frame6.BackgroundTransparency = 1 | |
3357 | Frame6.BorderSizePixel = 0 | |
3358 | Frame6.ZIndex = 3 | |
3359 | NumberValue7.Name = "num" | |
3360 | NumberValue7.Parent = ImageButton5 | |
3361 | NumberValue7.Value = 2 | |
3362 | ImageButton8.Name = "Brick" | |
3363 | ImageButton8.Parent = ImageLabel1 | |
3364 | ImageButton8.Transparency = 1 | |
3365 | ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3366 | ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0) | |
3367 | ImageButton8.BackgroundTransparency = 1 | |
3368 | ImageButton8.ZIndex = 4 | |
3369 | ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537" | |
3370 | Frame9.Name = "Selection" | |
3371 | Frame9.Parent = ImageButton8 | |
3372 | Frame9.Transparency = 1 | |
3373 | Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3374 | Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3375 | Frame9.BackgroundColor3 = Color3.new(1, 1, 1) | |
3376 | Frame9.BackgroundTransparency = 1 | |
3377 | Frame9.BorderSizePixel = 0 | |
3378 | Frame9.ZIndex = 3 | |
3379 | NumberValue10.Name = "num" | |
3380 | NumberValue10.Parent = ImageButton8 | |
3381 | NumberValue10.Value = 3 | |
3382 | ImageButton11.Name = "Granite" | |
3383 | ImageButton11.Parent = ImageLabel1 | |
3384 | ImageButton11.Transparency = 1 | |
3385 | ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3386 | ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0) | |
3387 | ImageButton11.BackgroundTransparency = 1 | |
3388 | ImageButton11.ZIndex = 4 | |
3389 | ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153" | |
3390 | Frame12.Name = "Selection" | |
3391 | Frame12.Parent = ImageButton11 | |
3392 | Frame12.Transparency = 1 | |
3393 | Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3394 | Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3395 | Frame12.BackgroundColor3 = Color3.new(1, 1, 1) | |
3396 | Frame12.BackgroundTransparency = 1 | |
3397 | Frame12.BorderSizePixel = 0 | |
3398 | Frame12.ZIndex = 3 | |
3399 | NumberValue13.Name = "num" | |
3400 | NumberValue13.Parent = ImageButton11 | |
3401 | NumberValue13.Value = 4 | |
3402 | ImageButton14.Name = "Asphalt" | |
3403 | ImageButton14.Parent = ImageLabel1 | |
3404 | ImageButton14.Transparency = 1 | |
3405 | ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3406 | ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0) | |
3407 | ImageButton14.BackgroundTransparency = 1 | |
3408 | ImageButton14.ZIndex = 4 | |
3409 | ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038" | |
3410 | Frame15.Name = "Selection" | |
3411 | Frame15.Parent = ImageButton14 | |
3412 | Frame15.Transparency = 1 | |
3413 | Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3414 | Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3415 | Frame15.BackgroundColor3 = Color3.new(1, 1, 1) | |
3416 | Frame15.BackgroundTransparency = 1 | |
3417 | Frame15.BorderSizePixel = 0 | |
3418 | Frame15.ZIndex = 3 | |
3419 | NumberValue16.Name = "num" | |
3420 | NumberValue16.Parent = ImageButton14 | |
3421 | NumberValue16.Value = 5 | |
3422 | ImageButton17.Name = "Iron" | |
3423 | ImageButton17.Parent = ImageLabel1 | |
3424 | ImageButton17.Transparency = 1 | |
3425 | ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3426 | ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0) | |
3427 | ImageButton17.BackgroundTransparency = 1 | |
3428 | ImageButton17.ZIndex = 4 | |
3429 | ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093" | |
3430 | Frame18.Name = "Selection" | |
3431 | Frame18.Parent = ImageButton17 | |
3432 | Frame18.Transparency = 1 | |
3433 | Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3434 | Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3435 | Frame18.BackgroundColor3 = Color3.new(1, 1, 1) | |
3436 | Frame18.BackgroundTransparency = 1 | |
3437 | Frame18.BorderSizePixel = 0 | |
3438 | Frame18.ZIndex = 3 | |
3439 | NumberValue19.Name = "num" | |
3440 | NumberValue19.Parent = ImageButton17 | |
3441 | NumberValue19.Value = 6 | |
3442 | ImageButton20.Name = "Aluminum" | |
3443 | ImageButton20.Parent = ImageLabel1 | |
3444 | ImageButton20.Transparency = 1 | |
3445 | ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3446 | ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0) | |
3447 | ImageButton20.BackgroundTransparency = 1 | |
3448 | ImageButton20.ZIndex = 4 | |
3449 | ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995" | |
3450 | Frame21.Name = "Selection" | |
3451 | Frame21.Parent = ImageButton20 | |
3452 | Frame21.Transparency = 1 | |
3453 | Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3454 | Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3455 | Frame21.BackgroundColor3 = Color3.new(1, 1, 1) | |
3456 | Frame21.BackgroundTransparency = 1 | |
3457 | Frame21.BorderSizePixel = 0 | |
3458 | Frame21.ZIndex = 3 | |
3459 | NumberValue22.Name = "num" | |
3460 | NumberValue22.Parent = ImageButton20 | |
3461 | NumberValue22.Value = 7 | |
3462 | ImageButton23.Name = "Gold" | |
3463 | ImageButton23.Parent = ImageLabel1 | |
3464 | ImageButton23.Transparency = 1 | |
3465 | ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3466 | ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0) | |
3467 | ImageButton23.BackgroundTransparency = 1 | |
3468 | ImageButton23.ZIndex = 4 | |
3469 | ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118" | |
3470 | Frame24.Name = "Selection" | |
3471 | Frame24.Parent = ImageButton23 | |
3472 | Frame24.Transparency = 1 | |
3473 | Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3474 | Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3475 | Frame24.BackgroundColor3 = Color3.new(1, 1, 1) | |
3476 | Frame24.BackgroundTransparency = 1 | |
3477 | Frame24.BorderSizePixel = 0 | |
3478 | Frame24.ZIndex = 3 | |
3479 | NumberValue25.Name = "num" | |
3480 | NumberValue25.Parent = ImageButton23 | |
3481 | NumberValue25.Value = 8 | |
3482 | ImageButton26.Name = "Plank" | |
3483 | ImageButton26.Parent = ImageLabel1 | |
3484 | ImageButton26.Transparency = 1 | |
3485 | ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3486 | ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0) | |
3487 | ImageButton26.BackgroundTransparency = 1 | |
3488 | ImageButton26.ZIndex = 4 | |
3489 | ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015" | |
3490 | Frame27.Name = "Selection" | |
3491 | Frame27.Parent = ImageButton26 | |
3492 | Frame27.Transparency = 1 | |
3493 | Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3494 | Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3495 | Frame27.BackgroundColor3 = Color3.new(1, 1, 1) | |
3496 | Frame27.BackgroundTransparency = 1 | |
3497 | Frame27.BorderSizePixel = 0 | |
3498 | Frame27.ZIndex = 3 | |
3499 | NumberValue28.Name = "num" | |
3500 | NumberValue28.Parent = ImageButton26 | |
3501 | NumberValue28.Value = 9 | |
3502 | ImageButton29.Name = "Log" | |
3503 | ImageButton29.Parent = ImageLabel1 | |
3504 | ImageButton29.Transparency = 1 | |
3505 | ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3506 | ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0) | |
3507 | ImageButton29.BackgroundTransparency = 1 | |
3508 | ImageButton29.ZIndex = 4 | |
3509 | ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051" | |
3510 | Frame30.Name = "Selection" | |
3511 | Frame30.Parent = ImageButton29 | |
3512 | Frame30.Transparency = 1 | |
3513 | Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3514 | Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3515 | Frame30.BackgroundColor3 = Color3.new(1, 1, 1) | |
3516 | Frame30.BackgroundTransparency = 1 | |
3517 | Frame30.BorderSizePixel = 0 | |
3518 | Frame30.ZIndex = 3 | |
3519 | NumberValue31.Name = "num" | |
3520 | NumberValue31.Parent = ImageButton29 | |
3521 | NumberValue31.Value = 10 | |
3522 | ImageButton32.Name = "Gravel" | |
3523 | ImageButton32.Parent = ImageLabel1 | |
3524 | ImageButton32.Transparency = 1 | |
3525 | ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3526 | ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0) | |
3527 | ImageButton32.BackgroundTransparency = 1 | |
3528 | ImageButton32.ZIndex = 4 | |
3529 | ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206" | |
3530 | Frame33.Name = "Selection" | |
3531 | Frame33.Parent = ImageButton32 | |
3532 | Frame33.Transparency = 1 | |
3533 | Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3534 | Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3535 | Frame33.BackgroundColor3 = Color3.new(1, 1, 1) | |
3536 | Frame33.BackgroundTransparency = 1 | |
3537 | Frame33.BorderSizePixel = 0 | |
3538 | Frame33.ZIndex = 3 | |
3539 | NumberValue34.Name = "num" | |
3540 | NumberValue34.Parent = ImageButton32 | |
3541 | NumberValue34.Value = 11 | |
3542 | ImageButton35.Name = "Cinder" | |
3543 | ImageButton35.Parent = ImageLabel1 | |
3544 | ImageButton35.Transparency = 1 | |
3545 | ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3546 | ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0) | |
3547 | ImageButton35.BackgroundTransparency = 1 | |
3548 | ImageButton35.ZIndex = 4 | |
3549 | ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103" | |
3550 | Frame36.Name = "Selection" | |
3551 | Frame36.Parent = ImageButton35 | |
3552 | Frame36.Transparency = 1 | |
3553 | Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3554 | Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3555 | Frame36.BackgroundColor3 = Color3.new(1, 1, 1) | |
3556 | Frame36.BackgroundTransparency = 1 | |
3557 | Frame36.BorderSizePixel = 0 | |
3558 | Frame36.ZIndex = 3 | |
3559 | NumberValue37.Name = "num" | |
3560 | NumberValue37.Parent = ImageButton35 | |
3561 | NumberValue37.Value = 12 | |
3562 | ImageButton38.Name = "Stone" | |
3563 | ImageButton38.Parent = ImageLabel1 | |
3564 | ImageButton38.Transparency = 1 | |
3565 | ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3566 | ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0) | |
3567 | ImageButton38.BackgroundTransparency = 1 | |
3568 | ImageButton38.ZIndex = 4 | |
3569 | ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804" | |
3570 | Frame39.Name = "Selection" | |
3571 | Frame39.Parent = ImageButton38 | |
3572 | Frame39.Transparency = 1 | |
3573 | Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3574 | Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3575 | Frame39.BackgroundColor3 = Color3.new(1, 1, 1) | |
3576 | Frame39.BackgroundTransparency = 1 | |
3577 | Frame39.BorderSizePixel = 0 | |
3578 | Frame39.ZIndex = 3 | |
3579 | NumberValue40.Name = "num" | |
3580 | NumberValue40.Parent = ImageButton38 | |
3581 | NumberValue40.Value = 13 | |
3582 | ImageButton41.Name = "Cement" | |
3583 | ImageButton41.Parent = ImageLabel1 | |
3584 | ImageButton41.Transparency = 1 | |
3585 | ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3586 | ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0) | |
3587 | ImageButton41.BackgroundTransparency = 1 | |
3588 | ImageButton41.ZIndex = 4 | |
3589 | ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059" | |
3590 | Frame42.Name = "Selection" | |
3591 | Frame42.Parent = ImageButton41 | |
3592 | Frame42.Transparency = 1 | |
3593 | Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3594 | Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3595 | Frame42.BackgroundColor3 = Color3.new(1, 1, 1) | |
3596 | Frame42.BackgroundTransparency = 1 | |
3597 | Frame42.BorderSizePixel = 0 | |
3598 | Frame42.ZIndex = 3 | |
3599 | NumberValue43.Name = "num" | |
3600 | NumberValue43.Parent = ImageButton41 | |
3601 | NumberValue43.Value = 14 | |
3602 | ImageButton44.Name = "Red Plastic" | |
3603 | ImageButton44.Parent = ImageLabel1 | |
3604 | ImageButton44.Transparency = 1 | |
3605 | ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3606 | ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0) | |
3607 | ImageButton44.BackgroundTransparency = 1 | |
3608 | ImageButton44.ZIndex = 4 | |
3609 | ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848" | |
3610 | Frame45.Name = "Selection" | |
3611 | Frame45.Parent = ImageButton44 | |
3612 | Frame45.Transparency = 1 | |
3613 | Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3614 | Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3615 | Frame45.BackgroundColor3 = Color3.new(1, 1, 1) | |
3616 | Frame45.BackgroundTransparency = 1 | |
3617 | Frame45.BorderSizePixel = 0 | |
3618 | Frame45.ZIndex = 3 | |
3619 | NumberValue46.Name = "num" | |
3620 | NumberValue46.Parent = ImageButton44 | |
3621 | NumberValue46.Value = 15 | |
3622 | ImageButton47.Name = "Blue Plastic" | |
3623 | ImageButton47.Parent = ImageLabel1 | |
3624 | ImageButton47.Transparency = 1 | |
3625 | ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3626 | ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0) | |
3627 | ImageButton47.BackgroundTransparency = 1 | |
3628 | ImageButton47.ZIndex = 4 | |
3629 | ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924" | |
3630 | Frame48.Name = "Selection" | |
3631 | Frame48.Parent = ImageButton47 | |
3632 | Frame48.Transparency = 1 | |
3633 | Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3634 | Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3635 | Frame48.BackgroundColor3 = Color3.new(1, 1, 1) | |
3636 | Frame48.BackgroundTransparency = 1 | |
3637 | Frame48.BorderSizePixel = 0 | |
3638 | Frame48.ZIndex = 3 | |
3639 | NumberValue49.Name = "num" | |
3640 | NumberValue49.Parent = ImageButton47 | |
3641 | NumberValue49.Value = 16 | |
3642 | ImageButton50.Name = "Water" | |
3643 | ImageButton50.Parent = ImageLabel1 | |
3644 | ImageButton50.Transparency = 1 | |
3645 | ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3646 | ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0) | |
3647 | ImageButton50.BackgroundTransparency = 1 | |
3648 | ImageButton50.ZIndex = 4 | |
3649 | ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697" | |
3650 | Frame51.Name = "Selection" | |
3651 | Frame51.Parent = ImageButton50 | |
3652 | Frame51.Transparency = 1 | |
3653 | Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3654 | Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3655 | Frame51.BackgroundColor3 = Color3.new(1, 1, 1) | |
3656 | Frame51.BackgroundTransparency = 1 | |
3657 | Frame51.BorderSizePixel = 0 | |
3658 | Frame51.ZIndex = 3 | |
3659 | NumberValue52.Name = "num" | |
3660 | NumberValue52.Parent = ImageButton50 | |
3661 | NumberValue52.Value = 17 | |
3662 | ImageButton53.Name = "Dig" | |
3663 | ImageButton53.Parent = ImageLabel1 | |
3664 | ImageButton53.Transparency = 1 | |
3665 | ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
3666 | ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0) | |
3667 | ImageButton53.BackgroundTransparency = 1 | |
3668 | ImageButton53.ZIndex = 4 | |
3669 | ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201" | |
3670 | Frame54.Name = "Selection" | |
3671 | Frame54.Parent = ImageButton53 | |
3672 | Frame54.Transparency = 1 | |
3673 | Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
3674 | Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
3675 | Frame54.BackgroundColor3 = Color3.new(1, 1, 1) | |
3676 | Frame54.BackgroundTransparency = 1 | |
3677 | Frame54.BorderSizePixel = 0 | |
3678 | Frame54.ZIndex = 3 | |
3679 | for i,v in pairs(mas:GetChildren()) do | |
3680 | v.Parent = gPlayers.LocalPlayer.PlayerGui | |
3681 | pcall(function() v:MakeJoints() end) | |
3682 | end | |
3683 | mas:Destroy() | |
3684 | for i,v in pairs(cors) do | |
3685 | spawn(function() | |
3686 | pcall(v) | |
3687 | end) | |
3688 | end | |
3689 | wait(0.01) | |
3690 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
3691 | material = 1 | |
3692 | local Terrain = workspace.Terrain | |
3693 | local CC = workspace.CurrentCamera | |
3694 | ||
3695 | local SelB = Instance.new("SelectionBox") | |
3696 | SelB.Color = BrickColor.new("Bright green") | |
3697 | ||
3698 | local SelP = Instance.new("Part") | |
3699 | SelP.Anchored = true | |
3700 | SelP.formFactor = Enum.FormFactor.Custom | |
3701 | ||
3702 | HopperBin0.Selected:connect(function(M) | |
3703 | SelB.Parent = gPlayers.LocalPlayer.PlayerGui | |
3704 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true | |
3705 | SelB.Adornee = nil | |
3706 | ||
3707 | local ClickState = "None" | |
3708 | ||
3709 | local ClickType = 1 | |
3710 | ||
3711 | local TerrainClick = 1 | |
3712 | ||
3713 | local P1 = nil | |
3714 | ||
3715 | M.KeyDown:connect(function(K) | |
3716 | if K == "q" then | |
3717 | ClickType = 1 | |
3718 | elseif K == "e" then | |
3719 | ClickType = 2 | |
3720 | elseif K == "z" then | |
3721 | TerrainClick = 0 | |
3722 | elseif K == "x" then | |
3723 | TerrainClick = 1 | |
3724 | elseif K == "c" then | |
3725 | TerrainClick = 2 | |
3726 | elseif K == "v" then | |
3727 | TerrainClick = 3 | |
3728 | elseif K == "b" then | |
3729 | TerrainClick = 4 | |
3730 | end | |
3731 | end) | |
3732 | ||
3733 | M.Button1Down:connect(function() | |
3734 | if not M.Target then return end | |
3735 | local Hit = M.Hit | |
3736 | local cellPos | |
3737 | if ClickType == 1 then | |
3738 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3739 | else | |
3740 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3741 | end | |
3742 | if ClickState == "None" then | |
3743 | ClickState = "Click1" | |
3744 | P1 = cellPos | |
3745 | end | |
3746 | end) | |
3747 | M.Button1Up:connect(function() | |
3748 | if not M.Target then return end | |
3749 | local Hit = M.Hit | |
3750 | local cellPos | |
3751 | if ClickType == 1 then | |
3752 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3753 | else | |
3754 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3755 | end | |
3756 | if ClickState == "Click1" then | |
3757 | ClickState = "None" | |
3758 | local MinX = math.min(P1.x,cellPos.x) | |
3759 | local MaxX = math.max(P1.x,cellPos.x) | |
3760 | local MinY = math.min(P1.y,cellPos.y) | |
3761 | local MaxY = math.max(P1.y,cellPos.y) | |
3762 | local MinZ = math.min(P1.z,cellPos.z) | |
3763 | local MaxZ = math.max(P1.z,cellPos.z) | |
3764 | for y=MinY,MaxY do | |
3765 | for x=MinX,MaxX do | |
3766 | for z=MinZ,MaxZ do | |
3767 | Terrain:SetCell(x, y, z, material, 0, 0) | |
3768 | end | |
3769 | end | |
3770 | wait() | |
3771 | end | |
3772 | SelB.Adornee = nil | |
3773 | end | |
3774 | end) | |
3775 | M.Move:connect(function() | |
3776 | if not M.Target then return end | |
3777 | local Hit = M.Hit | |
3778 | local cellPos | |
3779 | if ClickType == 1 then | |
3780 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3781 | else | |
3782 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
3783 | end | |
3784 | if ClickState == "Click1" then | |
3785 | SelB.Adornee = SelP | |
3786 | local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z) | |
3787 | local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z) | |
3788 | local Size = W1-W2 | |
3789 | Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4) | |
3790 | local Pos = (W1+W2)/2 | |
3791 | SelP.Size = Size | |
3792 | SelP.CFrame = CFrame.new(Pos) | |
3793 | end | |
3794 | end) | |
3795 | end) | |
3796 | ||
3797 | HopperBin0.Deselected:connect(function() | |
3798 | SelB.Parent = nil | |
3799 | SelB.Adornee = nil | |
3800 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
3801 | end) | |
3802 | ||
3803 | game:GetService('RunService').Stepped:connect(function() | |
3804 | if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then | |
3805 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
3806 | if child:FindFirstChild("num") and material ~= child.num.Value then | |
3807 | child.Selection.BackgroundTransparency = 1 | |
3808 | end | |
3809 | end | |
3810 | end | |
3811 | end) | |
3812 | ||
3813 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
3814 | local enterCon = child.MouseButton1Click:connect(function() | |
3815 | if child.ClassName == "ImageButton" and child:FindFirstChild("num") then | |
3816 | material = child.num.Value | |
3817 | if child:FindFirstChild("Selection") then | |
3818 | child.Selection.BackgroundTransparency = 0 | |
3819 | end | |
3820 | end | |
3821 | end) | |
3822 | end | |
3823 | ||
3824 | local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function() | |
3825 | workspace.Terrain:Clear() | |
3826 | end) | |
3827 | ||
3828 | function sandbox(var,func) | |
3829 | local env = getfenv(func) | |
3830 | local newenv = setmetatable({},{ | |
3831 | __index = function(self,k) | |
3832 | if k=="script" then | |
3833 | return var | |
3834 | else | |
3835 | return env[k] | |
3836 | end | |
3837 | end, | |
3838 | }) | |
3839 | setfenv(func,newenv) | |
3840 | return func | |
3841 | end | |
3842 | cors = {} | |
3843 | mas = Instance.new("Model",game:GetService("Lighting")) | |
3844 | HopperBin0 = Instance.new("HopperBin") | |
3845 | HopperBin0.Name = "Terrain Delete" | |
3846 | HopperBin0.Parent = mas | |
3847 | for i,v in pairs(mas:GetChildren()) do | |
3848 | v.Parent = game:GetService("Players").LocalPlayer.Backpack | |
3849 | pcall(function() v:MakeJoints() end) | |
3850 | end | |
3851 | mas:Destroy() | |
3852 | for i,v in pairs(cors) do | |
3853 | spawn(function() | |
3854 | pcall(v) | |
3855 | end) | |
3856 | end | |
3857 | ||
3858 | function onClick(mouse) | |
3859 | p = gPlayers.LocalPlayer | |
3860 | if (p == nil) then return end | |
3861 | if (p.Character == nil) then return end | |
3862 | ||
3863 | if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end | |
3864 | ||
3865 | c = workspace.Terrain | |
3866 | ||
3867 | local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z)) | |
3868 | local x = cellPos.x | |
3869 | local y = cellPos.y | |
3870 | local z = cellPos.z | |
3871 | ||
3872 | c:SetCell(x, y, z, 0, 0, 0) | |
3873 | ||
3874 | end | |
3875 | ||
3876 | ||
3877 | function onSelect(mouse) | |
3878 | mouse.Button1Down:connect(function () onClick(mouse) end) | |
3879 | end | |
3880 | ||
3881 | ||
3882 | ||
3883 | HopperBin0.Selected:connect(onSelect) | |
3884 | end | |
3885 | end) | |
3886 | ||
3887 | addcmd('knife', 'tm knife',{}, | |
3888 | function(args, speaker) | |
3889 | if speaker.userId ~= LP.userId then | |
3890 | lponly(speaker) else | |
3891 | if not game.CoreGui:FindFirstChild('CorePart') then | |
3892 | local data = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01318477872") | |
3893 | local script = data.LocalScript | |
3894 | ||
3895 | local player = gPlayers.LocalPlayer | |
3896 | ||
3897 | if not player:FindFirstChild("TMDATA") then | |
3898 | script.Parent.TMDATA:Clone().Parent = player | |
3899 | end | |
3900 | if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then | |
3901 | script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage | |
3902 | end | |
3903 | ||
3904 | if game.CoreGui:FindFirstChild("CorePart") then | |
3905 | game.CoreGui.CorePart:Destroy() | |
3906 | end | |
3907 | ||
3908 | ||
3909 | if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end | |
3910 | local knife = script.Parent["Knife"]:Clone() | |
3911 | local gun = script.Parent["Gun"]:Clone() | |
3912 | local fastgun = script.Parent["Fast Gun"]:Clone() | |
3913 | local lasergun = script.Parent["Laser Gun"]:Clone() | |
3914 | script.Parent.CorePart:Clone().Parent = game.CoreGui | |
3915 | ||
3916 | local newKnife = knife:Clone() | |
3917 | newKnife.Parent = player.Backpack | |
3918 | _G.tool = newKnife | |
3919 | ||
3920 | local barActive = false | |
3921 | local activeOptions = {} | |
3922 | ||
3923 | function createDDown(callback,but,...) | |
3924 | if barActive then | |
3925 | for i,v in pairs(activeOptions) do | |
3926 | v:Destroy() | |
3927 | end | |
3928 | activeOptions = {} | |
3929 | barActive = false | |
3930 | return | |
3931 | else | |
3932 | barActive = true | |
3933 | end | |
3934 | local slots = {...} | |
3935 | local base = but | |
3936 | for i,v in pairs(slots) do | |
3937 | local newOption = base:Clone() | |
3938 | newOption.ZIndex = 5 | |
3939 | newOption.Name = "Option "..tostring(i) | |
3940 | newOption.Parent = base.Parent | |
3941 | table.insert(activeOptions,newOption) | |
3942 | 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)) | |
3943 | newOption.Text = slots[i] | |
3944 | newOption.MouseButton1Down:connect(function() | |
3945 | but.Text = slots[i] | |
3946 | callback(slots[i]) | |
3947 | for i,v in pairs(activeOptions) do | |
3948 | v:Destroy() | |
3949 | end | |
3950 | activeOptions = {} | |
3951 | barActive = false | |
3952 | end) | |
3953 | end | |
3954 | end | |
3955 | ||
3956 | local butA = game.CoreGui.CorePart.Frame.ability | |
3957 | butA.MouseButton1Down:connect(function() | |
3958 | createDDown(function(sel) | |
3959 | gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat! | |
3960 | 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") | |
3961 | end) | |
3962 | ||
3963 | local butG = game.CoreGui.CorePart.Frame.gamemode | |
3964 | butG.MouseButton1Down:connect(function() | |
3965 | createDDown(function(sel) | |
3966 | game.ReplicatedStorage.GameInProgress.Mode.Value = sel | |
3967 | end,butG,"Classic","Cold Killer") | |
3968 | end) | |
3969 | ||
3970 | local butM = game.CoreGui.CorePart.Frame.mode | |
3971 | butM.MouseButton1Down:connect(function() | |
3972 | createDDown(function(sel) | |
3973 | _G.knifemode = sel | |
3974 | end,butM,"PlayersOnly","Players+Npcs") | |
3975 | end) | |
3976 | ||
3977 | _G.Scripters = {} | |
3978 | ||
3979 | function _G.loadScripts(obj,runall) | |
3980 | for i,v in pairs(obj:GetDescendants()) do | |
3981 | if v:IsA("LocalScript") and (not v.Disabled or runall) then | |
3982 | table.insert(_G.Scripters,v) | |
3983 | local i = #_G.Scripters | |
3984 | local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source) | |
3985 | spawn(loadfunc) | |
3986 | print("LOADED",v:GetFullName()) | |
3987 | end | |
3988 | end | |
3989 | end | |
3990 | ||
3991 | player.CharacterAdded:Connect(function() | |
3992 | newKnife = knife:Clone() | |
3993 | newKnife.Parent = player.Backpack | |
3994 | _G.loadScripts(newKnife) | |
3995 | end) | |
3996 | ||
3997 | _G.knifemode = "PlayersOnly" | |
3998 | _G.loadScripts(newKnife) | |
3999 | --_G.loadScripts(gun) | |
4000 | --_G.loadScripts(fastgun) | |
4001 | --_G.loadScripts(lasergun) | |
4002 | end | |
4003 | end | |
4004 | end) | |
4005 | ||
4006 | addcmd('devuzi', 'op af',{'uzi'}, | |
4007 | function(args, speaker) | |
4008 | if speaker.userId ~= LP.userId then | |
4009 | lponly(speaker) | |
4010 | else | |
4011 | wait(0.25); | |
4012 | ||
4013 | ||
4014 | _clear=function() | |
4015 | local c={char;bag;gui;}; | |
4016 | for i=1,#c do | |
4017 | local c=c[i]:children(); | |
4018 | for i=1,#c do | |
4019 | if(c[i].Name==name)then | |
4020 | c[i].Parent=nil; | |
4021 | end; | |
4022 | end; | |
4023 | end; | |
4024 | local n=name..user.Name; | |
4025 | local c=workspace:children(); | |
4026 | for i=1,#c do | |
4027 | if(c[i].Name==n)then | |
4028 | c[i].Parent=nil; | |
4029 | end; | |
4030 | end; | |
4031 | end; | |
4032 | ||
4033 | _valid_key=function(object,key) | |
4034 | return object[key],key; | |
4035 | end; | |
4036 | ||
4037 | _new=function(class) | |
4038 | return function(props) | |
4039 | if(type(list_base_props)=='table')then | |
4040 | for i,v in next,list_base_props do | |
4041 | if(props[i]==nil)then | |
4042 | props[i]=v; | |
4043 | end; | |
4044 | end; | |
4045 | end; | |
4046 | ||
4047 | local object=class; | |
4048 | ||
4049 | if(type(class)=='string')then | |
4050 | object=Instance.new(class:sub(1,1):upper()..class:sub(2)); | |
4051 | end; | |
4052 | ||
4053 | local parent=props[1]; | |
4054 | props[1]=nil; | |
4055 | ||
4056 | for i,v in next,props do | |
4057 | local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2)); | |
4058 | if(not load)then | |
4059 | load,res,key=pcall(_valid_key,object,i); | |
4060 | end; | |
4061 | ||
4062 | if(key)then | |
4063 | t=type(res); | |
4064 | s=tostring(res); | |
4065 | if(t=='userdata'and s=='Signal '..key)then | |
4066 | if(type(v)=='table')then | |
4067 | for i=1,#v do | |
4068 | res:connect(v[i]); | |
4069 | end; | |
4070 | else | |
4071 | res:connect(v); | |
4072 | end; | |
4073 | else | |
4074 | object[key]=v; | |
4075 | end; | |
4076 | end; | |
4077 | end; | |
4078 | ||
4079 | if(parent)then | |
4080 | object.Parent=parent; | |
4081 | end; | |
4082 | ||
4083 | return object; | |
4084 | end; | |
4085 | end; | |
4086 | ||
4087 | _RGB=function(r,g,b) | |
4088 | return Color3.new(r/255,g/255,b/255); | |
4089 | end; | |
4090 | ||
4091 | _copy=function(o) | |
4092 | local def=o.archivable; | |
4093 | o.archivable=true; | |
4094 | local c=o:clone(); | |
4095 | o.archivable=def; | |
4096 | return c; | |
4097 | end; | |
4098 | ||
4099 | _hum=function(char) | |
4100 | local hum=char:findFirstChild'Humanoid'; | |
4101 | if(not hum or hum.className~='Humanoid')then | |
4102 | local c=char:children(); | |
4103 | for i=1,#c do | |
4104 | if(c[i].className=='Humanoid')then | |
4105 | return c[i]; | |
4106 | end; | |
4107 | end; | |
4108 | else | |
4109 | return hum; | |
4110 | end; | |
4111 | end; | |
4112 | ||
4113 | _hum_tag=function(hum) | |
4114 | local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum); | |
4115 | c.Name='creator'; | |
4116 | c.Value=user; | |
4117 | if(hum.Health==0 and not hum:findFirstChild'killed')then | |
4118 | Instance.new('BoolValue',hum).Name='killed'; | |
4119 | bullets.clip=bullets.clip+10; | |
4120 | end; | |
4121 | end; | |
4122 | ||
4123 | _hum_dam=function(hum,dam,percent) | |
4124 | hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam); | |
4125 | if(hum.Health<=hum.MaxHealth*0.1)then | |
4126 | _hum_tag(hum); | |
4127 | end; | |
4128 | end; | |
4129 | ||
4130 | _ray=function(v0,v1,i) | |
4131 | local mag=(v0-v1).magnitude; | |
4132 | local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag)); | |
4133 | ||
4134 | return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i); | |
4135 | end; | |
4136 | ||
4137 | _must=function(v0,v1,i) | |
4138 | local hit,pos=_ray(v0,v1,i); | |
4139 | return not hit and mouse.target or hit,pos; | |
4140 | end; | |
4141 | ||
4142 | _cframe=function(x,y,z,r0,r1,r2) | |
4143 | return CFrame.Angles( | |
4144 | math.rad(r0 or 0), | |
4145 | math.rad(r1 or 0), | |
4146 | math.rad(r2 or 0) | |
4147 | )*CFrame.new(x,y,z); | |
4148 | end; | |
4149 | ||
4150 | _update=function() | |
4151 | if(bool_active and not screen.Parent)then | |
4152 | screen.Parent=gui; | |
4153 | elseif(not bool_active and screen.Parent)then | |
4154 | screen.Parent=nil; | |
4155 | end; | |
4156 | end; | |
4157 | ||
4158 | _light=function(v0,v1) | |
4159 | local mag=(v0-v1).magnitude; | |
4160 | local len=math.random(2,7); | |
4161 | len=len>mag/2 and mag/2 or len; | |
4162 | ||
4163 | --local light=_new'part'{ | |
4164 | -- cFrame=CFrame.new(v0,v1); | |
4165 | -- size=Vector3.new(1,1,1); | |
4166 | -- color=_RGB(255,255,0); | |
4167 | -- anchored=true; | |
4168 | -- inv; | |
4169 | --}; | |
4170 | _new'blockMesh'{ | |
4171 | scale=Vector3.new(0.2,0.2,len); | |
4172 | offset=Vector3.new(0,0,-len/2); | |
4173 | light; | |
4174 | }; | |
4175 | ||
4176 | local bb=_new'billboardGui'{ | |
4177 | size=UDim2.new(2,0,2,0); | |
4178 | adornee=light; | |
4179 | light; | |
4180 | }; | |
4181 | _new'imageLabel'{ | |
4182 | image=url:format(109101526); | |
4183 | backgroundTransparency=1; | |
4184 | size=UDim2.new(1,0,1,0); | |
4185 | bb; | |
4186 | }; | |
4187 | ||
4188 | -- _rem(light,0.15); | |
4189 | end; | |
4190 | ||
4191 | _rem=function(object,del) | |
4192 | if(del)then | |
4193 | delay(del,function() | |
4194 | if(object.Parent)then | |
4195 | object.Parent=nil; | |
4196 | end; | |
4197 | end); | |
4198 | else | |
4199 | pcall(function() | |
4200 | if(object.Parent)then | |
4201 | object.Parent=nil; | |
4202 | end; | |
4203 | end); | |
4204 | end; | |
4205 | end; | |
4206 | ||
4207 | _blood=function(pos,count) | |
4208 | for i=1,count do | |
4209 | local p=_new'part'{ | |
4210 | rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
4211 | position=pos+Vector3.new(math.random(),math.random(),math.random()); | |
4212 | velocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
4213 | size=Vector3.new(math.random(),math.random(),math.random())/3; | |
4214 | color=_RGB(255,0,0); | |
4215 | transparency=0.5; | |
4216 | canCollide=true; | |
4217 | bottomSurface=0; | |
4218 | topSurface=0; | |
4219 | formFactor=3; | |
4220 | locked=true; | |
4221 | inv; | |
4222 | }; | |
4223 | delay(5,function() | |
4224 | p.Parent=nil; | |
4225 | end); | |
4226 | end; | |
4227 | end; | |
4228 | ||
4229 | _make_hue=function() | |
4230 | h_hue=_new'part'{ | |
4231 | size=Vector3.new(0.25,1.8,0.35); | |
4232 | color=_RGB(100,100,100); | |
4233 | formFactor=3; | |
4234 | name='hue'; | |
4235 | handle; | |
4236 | }; | |
4237 | hh_weld=_new'weld'{ | |
4238 | c1=_cframe(0,0.5,0); | |
4239 | part0=handle; | |
4240 | part1=h_hue; | |
4241 | handle; | |
4242 | }; | |
4243 | end; | |
4244 | ||
4245 | _shot=function(v0,v1) | |
4246 | if(not time_left)then | |
4247 | time_left=0; | |
4248 | end; | |
4249 | if(time_left>time())then | |
4250 | return nil; | |
4251 | else | |
4252 | time_left=time()+math.random(1,10)/100; | |
4253 | end; | |
4254 | ||
4255 | if(bullets.current<1)then | |
4256 | local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{ | |
4257 | soundId='rbxasset://sounds/SWITCH3.wav'; | |
4258 | name='tick_sound'; | |
4259 | volume=0.2; | |
4260 | pitch=2; | |
4261 | head; | |
4262 | }; | |
4263 | tick_sound:play(); | |
4264 | if(bullets.clip>0)then | |
4265 | time_left=time()+2; | |
4266 | h_hue:breakJoints(); | |
4267 | h_hue.CanCollide=true; | |
4268 | h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10; | |
4269 | _rem(h_hue,10); | |
4270 | delay(1.9,function() | |
4271 | _make_hue(); | |
4272 | local got=(bullets.clip>bullets.maximum and | |
4273 | bullets.maximum or | |
4274 | bullets.clip)-bullets.current; | |
4275 | ||
4276 | bullets.clip=bullets.clip-got; | |
4277 | bullets.current=bullets.current+got; | |
4278 | end); | |
4279 | end; | |
4280 | return nil; | |
4281 | else | |
4282 | bullets.current=bullets.current-1; | |
4283 | ||
4284 | h_weld.C1=_cframe(0,0.75,0, | |
4285 | -math.random(1000,1100)/10,180,0); | |
4286 | d_weld.C1=_cframe(0,-0.25,0.3); | |
4287 | ||
4288 | lightstuff.Visible=true; | |
4289 | delay(0.1,function() | |
4290 | lightstuff.Visible=false; | |
4291 | end); | |
4292 | ||
4293 | _rem(_new'part'{ | |
4294 | velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10; | |
4295 | cFrame=drag.CFrame*CFrame.new(-0.5,0,0); | |
4296 | size=Vector3.new(0.1,0.1,0.4); | |
4297 | color=_RGB(200,200,0); | |
4298 | material='Slate'; | |
4299 | canCollide=true; | |
4300 | formFactor=3; | |
4301 | inv; | |
4302 | },5); | |
4303 | ||
4304 | delay(0.1,function() | |
4305 | d_weld.C1=_cframe(0,-0.25,0); | |
4306 | if(bool_active)then | |
4307 | h_weld.C1=h_weld_cf_active; | |
4308 | end; | |
4309 | end) | |
4310 | end; | |
4311 | ||
4312 | local hit,pos=_must(v0,v1,char); | |
4313 | ||
4314 | shot_sound:play(); | |
4315 | ||
4316 | ||
4317 | _rem(_new'part'{ | |
4318 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
4319 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
4320 | color=_RGB(255,255,0); | |
4321 | transparency=0.6; | |
4322 | reflectance=0.5; | |
4323 | canCollide=false; | |
4324 | bottomSurface=0; | |
4325 | anchored=true; | |
4326 | formFactor=3; | |
4327 | topSurface=0; | |
4328 | inv; | |
4329 | },.15); | |
4330 | _light(v0,v1); | |
4331 | ||
4332 | if(not hit)then return nil;end; | |
4333 | ||
4334 | if(hit.Parent.className=='Hat')then | |
4335 | hit:breakJoints(); | |
4336 | hit.CanCollide=true; | |
4337 | hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50); | |
4338 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90)); | |
4339 | else | |
4340 | local hum=_hum(hit.Parent); | |
4341 | if(not hum)then | |
4342 | if(hit.Anchored==false and hit.Size.magnitude<4)then | |
4343 | hit:breakJoints(); | |
4344 | hit.CanCollide=true; | |
4345 | end; | |
4346 | else | |
4347 | _hum_dam(hum,math.random(4,6)); | |
4348 | _blood(pos,math.random(3,6)); | |
4349 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6; | |
4350 | if(hit.Name=='Head')then | |
4351 | hum.Health=0; | |
4352 | _blood(pos,math.random(3,6)); | |
4353 | delay(0.001,function() | |
4354 | _new(workspace:FindFirstChild'head_shot'or'sound'){ | |
4355 | pitch=math.random(70,100)*0.01; | |
4356 | soundId=url:format(1876552); | |
4357 | name='head_shot'; | |
4358 | workspace; | |
4359 | }:play(); | |
4360 | end); | |
4361 | _hum_tag(hum); | |
4362 | _rem(_new'part'{ | |
4363 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
4364 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
4365 | color=torso.Color; | |
4366 | transparency=0.5; | |
4367 | canCollide=false; | |
4368 | bottomSurface=0; | |
4369 | anchored=true; | |
4370 | formFactor=3; | |
4371 | topSurface=0; | |
4372 | inv; | |
4373 | },30); | |
4374 | hit.Parent=nil; | |
4375 | for b=0,1 do | |
4376 | for a=0,1 do | |
4377 | for i=0,1 do | |
4378 | _rem(_new'part'{ | |
4379 | velocity=CFrame.new(v0,pos).lookVector*20; | |
4380 | cFrame=hit.CFrame*CFrame.new(i,-b,a); | |
4381 | size=Vector3.new(0.5,0.5,0.5); | |
4382 | color=_RGB(255,255,255); | |
4383 | bottomSurface=0; | |
4384 | canCollide=true; | |
4385 | transparency=0; | |
4386 | formFactor=3; | |
4387 | topSurface=0; | |
4388 | hum; | |
4389 | },30); | |
4390 | end; | |
4391 | end; | |
4392 | end; | |
4393 | end; | |
4394 | end; | |
4395 | end; | |
4396 | end; | |
4397 | ||
4398 | ||
4399 | ||
4400 | _cf_select=function(mouse) | |
4401 | mouse.Icon=url:format(109111387);--108999296 | |
4402 | bool_active=true; | |
4403 | ||
4404 | local arm=char:findFirstChild'Right Arm'; | |
4405 | local weld=torso:findFirstChild'Right Shoulder'; | |
4406 | if(arm and weld)then | |
4407 | h_weld.Part0=arm; | |
4408 | h_weld.C1=h_weld_cf_active; | |
4409 | ||
4410 | weld.Part1=nil; | |
4411 | weld.Part0=nil; | |
4412 | ||
4413 | weld=_new(torso:findFirstChild'right_arml'or'weld'){ | |
4414 | name='right_arml'; | |
4415 | part0=torso; | |
4416 | part1=arm; | |
4417 | torso; | |
4418 | }; | |
4419 | ||
4420 | arml=(arml or 0)+1; | |
4421 | local alv=arml; | |
4422 | local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso); | |
4423 | gyro.maxTorque=Vector3.new(5e5,5e5,5e5); | |
4424 | gyro.P=30000; | |
4425 | gyro.D=1000; | |
4426 | gyro.Name='p_gyro'; | |
4427 | repeat | |
4428 | local pos=mouse.hit.p; | |
4429 | local val,valp,p0,p1,p2,hitpos,cj,c0,c1; | |
4430 | ||
4431 | val=-math.pi*0.5; | |
4432 | valp=val*-1; | |
4433 | p0=torso.CFrame; | |
4434 | p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector; | |
4435 | p1=p0+((p0.p-pos).unit*-2); | |
4436 | p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0); | |
4437 | hitpos=torso.Position; | |
4438 | cj=CFrame.new(hitpos); | |
4439 | c0=torso.CFrame:inverse()*cj; | |
4440 | c1=p2:inverse()*cj; | |
4441 | weld.C0=c0; | |
4442 | weld.C1=c1; | |
4443 | ||
4444 | gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z)); | |
4445 | ||
4446 | wait(0.001); | |
4447 | until arml~=alv; | |
4448 | gyro.Parent=nil; | |
4449 | end; | |
4450 | end; | |
4451 | ||
4452 | _cf_deselect=function() | |
4453 | bool_active=false; | |
4454 | arml=(arml or 0)+1; | |
4455 | loop_shot=(loop_shot or 0)+1; | |
4456 | ||
4457 | h_weld.Part0=torso; | |
4458 | h_weld.C1=h_weld_cf_inactive; | |
4459 | ||
4460 | local weld=torso:findFirstChild'right_arml'; | |
4461 | if(weld)then | |
4462 | weld.Part1=nil; | |
4463 | weld.Part0=nil; | |
4464 | end; | |
4465 | local arm=char:findFirstChild'Right Arm'; | |
4466 | local weld=torso:findFirstChild'Right Shoulder'; | |
4467 | if(arm and weld)then | |
4468 | weld.Part0=torso; | |
4469 | weld.Part1=arm; | |
4470 | end; | |
4471 | end; | |
4472 | ||
4473 | _cf_mouse=function(event,fun) | |
4474 | mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...) | |
4475 | if(bool_active)then | |
4476 | fun(...); | |
4477 | end; | |
4478 | end); | |
4479 | end; | |
4480 | ||
4481 | ||
4482 | do | |
4483 | local main=getfenv(0); | |
4484 | local c=game:children(); | |
4485 | local check=function(v) | |
4486 | if(v.className~=''and v.className~='Instance'and game:service(v.className))then | |
4487 | main[v.className:sub(1,1):lower()..v.className:sub(2)]=v; | |
4488 | end; | |
4489 | end; | |
4490 | for i=1,#c do | |
4491 | pcall(check,c[i]); | |
4492 | end; | |
4493 | end; | |
4494 | ||
4495 | ||
4496 | bullets={ | |
4497 | maximum=51111111111111111111111111110; | |
4498 | current=511111111111111111111111111111110; | |
4499 | clip=501111111111111111111111111111111*4; | |
4500 | }; | |
4501 | ||
4502 | list_base_props={ | |
4503 | backgroundColor3=_RGB(0,0,0); | |
4504 | textColor3=_RGB(200,200,200); | |
4505 | borderSizePixel=0; | |
4506 | color=_RGB(0,0,0); | |
4507 | archivable=false; | |
4508 | canCollide=false; | |
4509 | bottomSurface=0; | |
4510 | topSurface=0; | |
4511 | formFactor=0; | |
4512 | locked=true; | |
4513 | }; | |
4514 | ||
4515 | ||
4516 | ||
4517 | user=players.localPlayer; | |
4518 | mouse=user:getMouse(); | |
4519 | char=user.Character; | |
4520 | gui=user.PlayerGui; | |
4521 | bag=user.Backpack; | |
4522 | torso=char.Torso; | |
4523 | head=char.Head; | |
4524 | hum=_hum(char); | |
4525 | ||
4526 | url='rbxassetid://%d'; | |
4527 | name='dev-uzi'; | |
4528 | ||
4529 | h_weld_cf_inactive=_cframe(0.35,0.5,0.5, | |
4530 | 0,90,-70); | |
4531 | h_weld_cf_active=_cframe(0,0.75,0, | |
4532 | -110,180,0); | |
4533 | ||
4534 | assert(hum,'humanoid is not found'); | |
4535 | ||
4536 | ||
4537 | ||
4538 | _clear(); | |
4539 | ||
4540 | ||
4541 | _cf_mouse('button1Down',function() | |
4542 | loop_shot=(loop_shot or 0)+1; | |
4543 | local vers=loop_shot; | |
4544 | local step=runService.Stepped; | |
4545 | repeat | |
4546 | _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p); | |
4547 | step:wait();--wait(0.001); | |
4548 | until vers~=loop_shot; | |
4549 | end); | |
4550 | ||
4551 | _cf_mouse('button1Up',function() | |
4552 | loop_shot=(loop_shot or 0)+1; | |
4553 | end); | |
4554 | ||
4555 | _cf_mouse('move',function() | |
4556 | cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11); | |
4557 | end); | |
4558 | ||
4559 | _cf_mouse('keyDown',function(k) | |
4560 | if(k=='r')then | |
4561 | if(bullets.clip>0 and time_left<=time())then | |
4562 | local got=(bullets.clip>bullets.maximum and | |
4563 | bullets.maximum or | |
4564 | bullets.clip)-bullets.current; | |
4565 | ||
4566 | bullets.clip=bullets.clip-got; | |
4567 | bullets.current=bullets.current+got; | |
4568 | if(got~=0)then | |
4569 | time_left=time()+2; | |
4570 | end; | |
4571 | end; | |
4572 | end; | |
4573 | end); | |
4574 | ||
4575 | ||
4576 | screen=_new'screenGui'{ | |
4577 | name=name; | |
4578 | }; | |
4579 | ||
4580 | cross_f=_new'frame'{ | |
4581 | size=UDim2.new(0,21,0,21); | |
4582 | backgroundTransparency=1; | |
4583 | screen; | |
4584 | }; | |
4585 | ||
4586 | for i=0,1 do | |
4587 | _new'frame'{ | |
4588 | position=UDim2.new(0,13*i,0,11); | |
4589 | size=UDim2.new(0,10,0,1); | |
4590 | cross_f; | |
4591 | }; | |
4592 | end; | |
4593 | ||
4594 | for i=0,1 do | |
4595 | _new'frame'{ | |
4596 | position=UDim2.new(0,11,0,13*i); | |
4597 | size=UDim2.new(0,1,0,10); | |
4598 | cross_f; | |
4599 | }; | |
4600 | end; | |
4601 | ||
4602 | ||
4603 | ||
4604 | shot_sound=_new(head:findFirstChild'2920959'or'sound'){ | |
4605 | soundId=url:format(2920959); | |
4606 | pitch=1.4; | |
4607 | head; | |
4608 | }; | |
4609 | if(shot_sound.Name~='2920959')then | |
4610 | shot_sound.Name='2920959'; | |
4611 | shot_sound:play(); | |
4612 | end; | |
4613 | ||
4614 | bin=_new'hopperBin'{ | |
4615 | deselected=_cf_deselect; | |
4616 | selected=_cf_select; | |
4617 | name=name; | |
4618 | bag; | |
4619 | }; | |
4620 | ||
4621 | inv=_new'model'{ | |
4622 | name=name; | |
4623 | char; | |
4624 | }; | |
4625 | ||
4626 | handle=_new'part'{ | |
4627 | size=Vector3.new(0.3,1.3,0.4); | |
4628 | color=_RGB(140,140,140); | |
4629 | name='handle'; | |
4630 | formFactor=3; | |
4631 | inv; | |
4632 | touched=function(hit) | |
4633 | if(hit.Parent.className=='Model')then | |
4634 | local hum=_hum(hit.Parent); | |
4635 | if(hum~=nil)then | |
4636 | _hum_dam(hum,handle.Velocity.magnitude); | |
4637 | end; | |
4638 | end; | |
4639 | end; | |
4640 | }; | |
4641 | h_weld=_new'weld'{ | |
4642 | c1=h_weld_cf_inactive; | |
4643 | part1=handle; | |
4644 | part0=torso; | |
4645 | handle; | |
4646 | }; | |
4647 | _make_hue(); | |
4648 | ||
4649 | h_part=_new'part'{ | |
4650 | size=Vector3.new(0.4,0.4,1.4); | |
4651 | color=_RGB(140,140,140); | |
4652 | name='handle'; | |
4653 | formFactor=3; | |
4654 | handle; | |
4655 | }; | |
4656 | hp_weld=_new'weld'{ | |
4657 | c1=_cframe(0,-1.3/2,-0.3, | |
4658 | 20,0,0); | |
4659 | part0=handle; | |
4660 | part1=h_part; | |
4661 | handle; | |
4662 | }; | |
4663 | ||
4664 | drag=_new'part'{ | |
4665 | size=Vector3.new(0.5,0.45,1.5); | |
4666 | color=_RGB(100,100,100); | |
4667 | name='handle'; | |
4668 | formFactor=3; | |
4669 | handle; | |
4670 | }; | |
4671 | d_weld=_new'weld'{ | |
4672 | c1=_cframe(0,-0.25,0); | |
4673 | part0=h_part; | |
4674 | part1=drag; | |
4675 | handle; | |
4676 | }; | |
4677 | ||
4678 | tube=_new'part'{ | |
4679 | size=Vector3.new(0.2,0.2,1.5); | |
4680 | color=_RGB(0,0,0); | |
4681 | name='handle'; | |
4682 | formFactor=3; | |
4683 | handle; | |
4684 | }; | |
4685 | t_weld=_new'weld'{ | |
4686 | c1=_cframe(0,-0.3,-0.1); | |
4687 | part0=h_part; | |
4688 | part1=tube; | |
4689 | handle; | |
4690 | }; | |
4691 | ||
4692 | bullets_label=_new'textLabel'{ | |
4693 | textStrokeColor3=_RGB(0,0,0); | |
4694 | textColor3=_RGB(200,200,200); | |
4695 | textStrokeTransparency=0; | |
4696 | backgroundTransparency=1; | |
4697 | fontSize=5; | |
4698 | screen; | |
4699 | }; | |
4700 | ||
4701 | lightstuff=_new'frame'{ | |
4702 | backgroundColor3=_RGB(255,255,255); | |
4703 | position=UDim2.new(0,0,0,-1); | |
4704 | backgroundTransparency=0.5; | |
4705 | size=UDim2.new(1,0,1,1); | |
4706 | borderSizePixel=0; | |
4707 | visible=false; | |
4708 | screen; | |
4709 | }; | |
4710 | ||
4711 | coroutine.wrap(function() | |
4712 | local red,white,green; | |
4713 | repeat | |
4714 | if(screen.Parent)then | |
4715 | if(not green and bullets.current==bullets.maximum)then | |
4716 | green=true; | |
4717 | bullets_label.TextColor3=_RGB(0,200,0); | |
4718 | elseif(not red and bullets.current==0)then | |
4719 | red=true; | |
4720 | bullets_label.TextColor3=_RGB(200,0,0); | |
4721 | elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then | |
4722 | bullets_label.TextColor3=_RGB(200,200,200); | |
4723 | green=false; | |
4724 | red=false; | |
4725 | end; | |
4726 | bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip); | |
4727 | bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y); | |
4728 | bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6); | |
4729 | end; | |
4730 | wait(0.001); | |
4731 | until nil; | |
4732 | end)(); | |
4733 | ||
4734 | ||
4735 | _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1; | |
4736 | local vers=_G.dev_pistol_version; | |
4737 | repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0; | |
4738 | if(hum.Health==0)then | |
4739 | _clear(); | |
4740 | end; | |
4741 | end | |
4742 | end) | |
4743 | ||
4744 | addcmd('nil', 'removes the player',{}, | |
4745 | function(args, speaker) | |
4746 | local players = getPlayer(args[1], speaker) | |
4747 | for i,v in pairs(players)do | |
4748 | pcall(function() gPlayers[v].Character:Remove() end) | |
4749 | gPlayers[v].Character = nil | |
4750 | if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else | |
4751 | Notify('Made player(s) nil') end end end) | |
4752 | ||
4753 | ||
4754 | addcmd('addban', 'Adds a ban to the banlist if the player is offline.', {}, | |
4755 | function(args, speaker) | |
4756 | local player = args[1] | |
4757 | local playerid = game:GetService("Players"):GetUserIdFromNameAsync(args[1]) | |
4758 | if player ~= nil then | |
4759 | if FindTable(WL, player) then Notify('Error: '..player..' is whitelisted') elseif not FindTable(banname, player) then | |
4760 | table.insert(banT, playerid) | |
4761 | banname[#banname + 1] = {NAME = tostring(player), ID = tonumber(playerid), AGE = "-"} | |
4762 | updatebans() | |
4763 | Notify("Added ban for: "..player) | |
4764 | end | |
4765 | end | |
4766 | end) | |
4767 | ||
4768 | addcmd('ban', 'goodbye ;)',{}, | |
4769 | function(args, speaker) | |
4770 | local players = getPlayer(args[1], speaker) | |
4771 | for i,v in pairs(players)do | |
4772 | if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else | |
4773 | Notify('Banned player(s)') end | |
4774 | spawn(function() | |
4775 | if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else | |
4776 | if not FindTable(banname, gPlayers[v].Name) then | |
4777 | table.insert(banT, _players[v].userId) | |
4778 | banname[#banname + 1] = {NAME = tostring(gPlayers[v].Name), ID = tonumber(gPlayers[v].userId), AGE = tonumber(gPlayers[v].AccountAge)} | |
4779 | updatebans() | |
4780 | kickF(gPlayers[v]) | |
4781 | end | |
4782 | end | |
4783 | end) | |
4784 | end | |
4785 | end) | |
4786 | ||
4787 | addcmd('clearbans', 'welcome back!',{'clrbans'}, | |
4788 | function(args, speaker) | |
4789 | banT = {} | |
4790 | banname = {} | |
4791 | Notify('Removed all bans') | |
4792 | updatebans() | |
4793 | end) | |
4794 | ||
4795 | addcmd('unban','unbans a player',{}, | |
4796 | function(args, speaker) | |
4797 | if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then | |
4798 | table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1]))) | |
4799 | for i,v in pairs(banname) do | |
4800 | if v.NAME == tostring(args[1]) then | |
4801 | table.remove(banname, i) | |
4802 | updatebans() | |
4803 | end end | |
4804 | Notify('Unbanned ' .. args[1]) | |
4805 | end | |
4806 | end) | |
4807 | ||
4808 | addcmd('dismiss', 'dismiss',{'verify'}, | |
4809 | function(args, speaker) | |
4810 | for _, child in pairs( workspace:GetChildren()) do | |
4811 | if child.Name == speaker.Name .. "TAB" then | |
4812 | child:Destroy() end end | |
4813 | for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end | |
4814 | end) | |
4815 | ||
4816 | addcmd('admin', 'ur an admin now ;o',{}, | |
4817 | function(args, speaker) | |
4818 | if speaker.userId ~= LP.userId then | |
4819 | lponly(speaker) else | |
4820 | local players = getPlayer(args[1], speaker) | |
4821 | for i,v in pairs(players)do | |
4822 | spawn(function() | |
4823 | if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then | |
4824 | table.insert(adminT, _players[v].userId) | |
4825 | adminname[#adminname + 1] = {NAME = tostring(gPlayers[v].Name)} | |
4826 | updateadmins() | |
4827 | if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else | |
4828 | Notify('Gave player(s) admin') end | |
4829 | game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1) | |
4830 | end end) end end end) | |
4831 | ||
4832 | addcmd('unadmin', 'removes the admin',{'noadmin'}, | |
4833 | function(args, speaker) | |
4834 | if speaker.userId ~= LP.userId then | |
4835 | lponly(speaker) else | |
4836 | local players = getPlayer(args[1], speaker) | |
4837 | for i,v in pairs(players)do | |
4838 | local radmin = tostring(_players[v].Name) | |
4839 | if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then | |
4840 | table.remove(adminT, GetInTable(adminT, _players[v].userId)) | |
4841 | for a,b in pairs(adminname) do | |
4842 | if b.NAME == radmin then | |
4843 | table.remove(adminname, a) | |
4844 | updateadmins() | |
4845 | end end | |
4846 | game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2) | |
4847 | if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else | |
4848 | Notify('Removed admin from player(s)') end | |
4849 | end | |
4850 | end | |
4851 | end | |
4852 | end) | |
4853 | ||
4854 | addcmd('bang', 'owo',{'rape'}, | |
4855 | function(args, speaker) | |
4856 | local players = getPlayer(args[1], speaker) | |
4857 | local target = getPlayer(args[2], speaker)[1] | |
4858 | for i,v in pairs(players)do | |
4859 | if args[2] then | |
4860 | rape(target, v) | |
4861 | else | |
4862 | rape(v, speaker.Name) | |
4863 | end | |
4864 | end | |
4865 | end) | |
4866 | ||
4867 | addcmd('bgui', 'gives player billboard gui presenting text',{}, | |
4868 | function(args, speaker) | |
4869 | local players = getPlayer(args[1], speaker) | |
4870 | for i,v in pairs(players)do | |
4871 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
4872 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy() | |
4873 | end | |
4874 | ||
4875 | y = Instance.new("BillboardGui") | |
4876 | y.Size = UDim2.new(0,100,0,150) | |
4877 | y.StudsOffset = Vector3.new(0,1,0) | |
4878 | y.Parent = gPlayers[v].Character.Head | |
4879 | y.Adornee = gPlayers[v].Character.Head | |
4880 | f = Instance.new("TextLabel") | |
4881 | f.Parent = y | |
4882 | f.BackgroundTransparency = 1 | |
4883 | f.Position = UDim2.new(0,0,0,-50) | |
4884 | f.Size = UDim2.new(0,100,0,100) | |
4885 | f.Font = "Highway" | |
4886 | f.FontSize = "Size48" | |
4887 | f.Text = GLS(false, 1) | |
4888 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
4889 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
4890 | f.TextStrokeTransparency = 0 | |
4891 | f.TextYAlignment = "Bottom" | |
4892 | end | |
4893 | end) | |
4894 | ||
4895 | addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'}, | |
4896 | function(args, speaker) | |
4897 | local players = getPlayer(args[1], speaker) | |
4898 | for i,v in pairs(players)do | |
4899 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
4900 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy() | |
4901 | end | |
4902 | end | |
4903 | end) | |
4904 | ||
4905 | function pipeTp(name,target) | |
4906 | spawn(function() | |
4907 | local pipe = Instance.new("Part") | |
4908 | pipe.Name = "Pipe" | |
4909 | pipe.Color = Color3.new(52/255,142/255,64/255) | |
4910 | pipe.Size = Vector3.new(8,8,8) | |
4911 | pipe.Anchored = true | |
4912 | local mesh = Instance.new("SpecialMesh",pipe) | |
4913 | mesh.MeshId = "rbxassetid://856736661" | |
4914 | mesh.Scale = Vector3.new(0.15, 0.15, 0.15) | |
4915 | local sound = Instance.new("Sound",pipe) | |
4916 | sound.SoundId = "rbxassetid://864352897" | |
4917 | sound.Volume = 1 | |
4918 | ||
4919 | local targetpos = game:GetService("Players")[target].Character.HumanoidRootPart.CFrame | |
4920 | ||
4921 | local char = game:GetService("Players")[name].Character | |
4922 | char.PrimaryPart = char.HumanoidRootPart | |
4923 | if char:FindFirstChild("Torso") then | |
4924 | char.Torso.Anchored = true | |
4925 | else | |
4926 | char.UpperTorso.Anchored = true | |
4927 | end | |
4928 | ||
4929 | local torso = char.HumanoidRootPart | |
4930 | local initPos = torso.CFrame | |
4931 | ||
4932 | pipe.Parent = workspace | |
4933 | pipe.CFrame = initPos - Vector3.new(0,8,0) | |
4934 | ||
4935 | for i = 0,8,0.2 do | |
4936 | pipe.CFrame = initPos - Vector3.new(0,8-i,0) | |
4937 | if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end | |
4938 | game:GetService("RunService").RenderStepped:wait() | |
4939 | end | |
4940 | ||
4941 | sound:Play() | |
4942 | for i = 7,-8,-0.2 do | |
4943 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0)) | |
4944 | game:GetService("RunService").RenderStepped:wait() | |
4945 | end | |
4946 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,-8,0)) | |
4947 | ||
4948 | for i = 8,0,-0.2 do | |
4949 | pipe.CFrame = initPos - Vector3.new(0,8-i,0) | |
4950 | game:GetService("RunService").RenderStepped:wait() | |
4951 | end | |
4952 | ||
4953 | pipe.CFrame = targetpos - Vector3.new(0,8,0) | |
4954 | char:SetPrimaryPartCFrame(pipe.CFrame) | |
4955 | ||
4956 | for i = 0,8,0.2 do | |
4957 | pipe.CFrame = targetpos - Vector3.new(0,8-i,0) | |
4958 | game:GetService("RunService").RenderStepped:wait() | |
4959 | end | |
4960 | ||
4961 | local played = false | |
4962 | for i = -8,7,0.2 do | |
4963 | if i >= 0 and not played then played = true sound:Play() end | |
4964 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0)) | |
4965 | game:GetService("RunService").RenderStepped:wait() | |
4966 | end | |
4967 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) | |
4968 | ||
4969 | for i = 8,0,-0.2 do | |
4970 | pipe.CFrame = targetpos - Vector3.new(0,8-i,0) | |
4971 | if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end | |
4972 | game:GetService("RunService").RenderStepped:wait() | |
4973 | end | |
4974 | ||
4975 | pipe:Destroy() | |
4976 | ||
4977 | if char:FindFirstChild("Torso") then | |
4978 | char.Torso.Anchored = false | |
4979 | else | |
4980 | char.UpperTorso.Anchored = false | |
4981 | end | |
4982 | end) | |
4983 | end | |
4984 | ||
4985 | addcmd('pipetp', 'uses pipe to tp plr to plr',{}, | |
4986 | function(args, speaker) | |
4987 | local players = getPlayer(args[1], speaker) | |
4988 | local target = getPlayer(args[2], speaker)[1] | |
4989 | for i,v in pairs(players)do | |
4990 | pipeTp(v,target) | |
4991 | end | |
4992 | end) | |
4993 | ||
4994 | addcmd('rhats', 'no more hats',{'removehats'}, | |
4995 | function(args, speaker) | |
4996 | local players = getPlayer(args[1], speaker) | |
4997 | for i,v in pairs(players) do | |
4998 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
4999 | if v:IsA('Accessory') then | |
5000 | v:destroy() | |
5001 | end | |
5002 | end | |
5003 | end | |
5004 | end) | |
5005 | ||
5006 | addcmd('naked', 'no more clothing',{}, | |
5007 | function(args, speaker) | |
5008 | local players = getPlayer(args[1], speaker) | |
5009 | for i,v in pairs(players) do | |
5010 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
5011 | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then | |
5012 | v:destroy() | |
5013 | end | |
5014 | end | |
5015 | end | |
5016 | end) | |
5017 | ||
5018 | addcmd('rainbow', 'makes a players parts change colors',{}, | |
5019 | function(args, speaker) | |
5020 | local players = getPlayer(args[1], speaker) | |
5021 | for i,v in pairs(players) do | |
5022 | local Parts={} | |
5023 | local function GetDiscoColor(hue) | |
5024 | local section = hue % 1 * 3 | |
5025 | local secondary = 0.5 * math.pi * (section % 1) | |
5026 | if section < 1 then | |
5027 | return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary)) | |
5028 | elseif section < 2 then | |
5029 | return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary)) | |
5030 | else | |
5031 | return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1) | |
5032 | end | |
5033 | end | |
5034 | local Part = function(x,y,z,color,tr,cc,an,parent) | |
5035 | local p = Instance.new('Part',parent) | |
5036 | p.formFactor = 'Custom' | |
5037 | p.Size = Vector3.new(x,y,z) | |
5038 | p.BrickColor = BrickColor.new(color) | |
5039 | p.CanCollide = cc | |
5040 | p.Transparency = tr | |
5041 | p.Anchored = an | |
5042 | p.TopSurface,p.BottomSurface = 0,0 | |
5043 | p:BreakJoints'' | |
5044 | table.insert(Parts,p) | |
5045 | return p | |
5046 | end | |
5047 | local Weld = function(p0,p1) | |
5048 | local w = Instance.new('Motor',p0) | |
5049 | w.Part0 = p0 | |
5050 | w.Part1 = p1 | |
5051 | return w | |
5052 | end | |
5053 | local Mesh = function(par,num,x,y,z) | |
5054 | local msh = 0 | |
5055 | if num == 1 then | |
5056 | msh = Instance.new("SpecialMesh",par) | |
5057 | msh.MeshId='rbxasset://fonts/torso.mesh' | |
5058 | msh.TextureId='rbxasset://25701026' | |
5059 | end | |
5060 | if num == 2 then | |
5061 | msh = Instance.new("SpecialMesh",par) | |
5062 | msh.MeshId='rbxasset://fonts/head.mesh' | |
5063 | msh.TextureId='rbxassetid://25701026' | |
5064 | end | |
5065 | msh.Scale = Vector3.new(x,y,z) | |
5066 | return msh | |
5067 | end | |
5068 | local char=gPlayers[v].Character | |
5069 | for _,v in pairs(char:GetChildren()) do | |
5070 | if v.ClassName=="Part" then | |
5071 | v.Transparency=1 | |
5072 | elseif v.ClassName=="Hat" then | |
5073 | v.Handle.Mesh.TextureId='rbxassetid://25701026' | |
5074 | table.insert(Parts,v.Handle) | |
5075 | end | |
5076 | end | |
5077 | local t=Part(1,1,1,'',0,false,false,char) | |
5078 | Mesh(t,1,1,1,1) | |
5079 | Weld(char.Torso,t) | |
5080 | local a=Part(1,1,1,'',0,false,false,char) | |
5081 | Mesh(a,1,.5,1,1) | |
5082 | Weld(char['Right Arm'],a) | |
5083 | local a=Part(1,1,1,'',0,false,false,char) | |
5084 | Mesh(a,1,.5,1,1) | |
5085 | Weld(char['Left Arm'],a) | |
5086 | local l=Part(1,1,1,'',0,false,false,char) | |
5087 | Mesh(l,1,.5,1,1) | |
5088 | Weld(char['Right Leg'],l) | |
5089 | local l=Part(1,1,1,'',0,false,false,char) | |
5090 | Mesh(l,1,.5,1,1) | |
5091 | Weld(char['Left Leg'],l) | |
5092 | local h=Part(1,1,1,'',0,false,false,char) | |
5093 | Mesh(h,2,1,1,1) | |
5094 | Weld(char.Head,h) | |
5095 | spawn(function() | |
5096 | while(coroutine.yield())do | |
5097 | for i=1,#Parts do | |
5098 | Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5) | |
5099 | end | |
5100 | end; | |
5101 | end); | |
5102 | end | |
5103 | end) | |
5104 | ||
5105 | addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'}, | |
5106 | function(args, speaker) | |
5107 | local players = getPlayer(args[1], speaker) | |
5108 | for i,v in pairs(players) do | |
5109 | for i,v in pairs(gPlayers[v].Backpack:GetDescendants()) do | |
5110 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
5111 | v:destroy() end | |
5112 | for i,v in pairs(players) do | |
5113 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
5114 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
5115 | v:destroy() end end end | |
5116 | end | |
5117 | end | |
5118 | end) | |
5119 | ||
5120 | addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'}, | |
5121 | function(args, speaker) | |
5122 | local players = getPlayer(args[1], speaker) | |
5123 | for i,v in pairs(players)do | |
5124 | local function copy(instance) | |
5125 | for i,c in pairs(instance:GetChildren())do | |
5126 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5127 | c:Clone().Parent = gPlayers[v].StarterGear end | |
5128 | copy(c) | |
5129 | end | |
5130 | end | |
5131 | copy(gPlayers[v].Backpack) | |
5132 | end | |
5133 | for i,v in pairs(players)do | |
5134 | local function copy(instance) | |
5135 | for i,c in pairs(instance:GetChildren())do | |
5136 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5137 | c:Clone().Parent = gPlayers[v].StarterGear end | |
5138 | copy(c) | |
5139 | end | |
5140 | end | |
5141 | copy(gPlayers[v].Character) | |
5142 | end | |
5143 | Notify('Copied tools to StarterGear') | |
5144 | end) | |
5145 | ||
5146 | addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'}, | |
5147 | function(args, speaker) | |
5148 | local players = getPlayer(args[1], speaker) | |
5149 | for i,v in pairs(players)do | |
5150 | for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do | |
5151 | if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy() | |
5152 | end end end | |
5153 | Notify('Cleared tools from StarterGear') | |
5154 | end) | |
5155 | ||
5156 | addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'}, | |
5157 | function(args, speaker) | |
5158 | local players = getPlayer(args[1], speaker) | |
5159 | for i,v in pairs(players)do | |
5160 | local function copy(instance) | |
5161 | for i,c in pairs(instance:GetChildren())do | |
5162 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5163 | c:Clone().Parent = gPlayers[v].Backpack end | |
5164 | copy(c) | |
5165 | end | |
5166 | end | |
5167 | copy(LightingService) | |
5168 | end | |
5169 | for i,v in pairs(players)do | |
5170 | local function copy(instance) | |
5171 | for i,c in pairs(instance:GetChildren())do | |
5172 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
5173 | c:Clone().Parent = gPlayers[v].Backpack end | |
5174 | copy(c) | |
5175 | end | |
5176 | end | |
5177 | copy(game.ReplicatedStorage) | |
5178 | end | |
5179 | end) | |
5180 | ||
5181 | wdisco = false | |
5182 | addcmd('partdisco', 'color spams the workspace',{'pdisco'}, | |
5183 | function(args, speaker) | |
5184 | if wdisco == false then | |
5185 | wdisco = true | |
5186 | presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"} | |
5187 | repeat wait(1) | |
5188 | if wdisco == true then | |
5189 | local function color(instance) | |
5190 | for i,v in pairs(instance:GetChildren())do | |
5191 | if v.className == "Part" then | |
5192 | v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end | |
5193 | color(v) | |
5194 | end | |
5195 | end | |
5196 | color(workspace) | |
5197 | end | |
5198 | until wdisco == false | |
5199 | end | |
5200 | end) | |
5201 | ||
5202 | addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'}, | |
5203 | function(args, speaker) | |
5204 | wdisco = false | |
5205 | end) | |
5206 | ||
5207 | addcmd('gravity', 'workspace gravity',{''}, | |
5208 | function(args, speaker) | |
5209 | workspace.Gravity = args[1] | |
5210 | Notify('Gravity set to ' .. args[1]) | |
5211 | end) | |
5212 | ||
5213 | SINFOGUIopen = false | |
5214 | function serverinfogui() | |
5215 | if SINFOGUIopen == false then | |
5216 | local Sinfo = Instance.new("ScreenGui") | |
5217 | local drag = Instance.new("Frame") | |
5218 | local PromptDialog = Instance.new("Frame") | |
5219 | local shadow = Instance.new("Frame") | |
5220 | local PopupText = Instance.new("TextLabel") | |
5221 | local Exit = Instance.new("TextButton") | |
5222 | local ContainerFrame = Instance.new("Frame") | |
5223 | local TextLabel = Instance.new("TextLabel") | |
5224 | local TextLabel2 = Instance.new("TextLabel") | |
5225 | local TextLabel3 = Instance.new("TextLabel") | |
5226 | local Time = Instance.new("TextLabel") | |
5227 | local appearance = Instance.new("TextLabel") | |
5228 | local fe = Instance.new("TextLabel") | |
5229 | local maxplayers = Instance.new("TextLabel") | |
5230 | local name = Instance.new("TextLabel") | |
5231 | local placeid = Instance.new("TextLabel") | |
5232 | local playerid = Instance.new("TextLabel") | |
5233 | local players = Instance.new("TextLabel") | |
5234 | Sinfo.Name = "Sinfo" | |
5235 | Sinfo.Parent = game.CoreGui | |
5236 | drag.Name = "drag" | |
5237 | drag.Parent = Sinfo | |
5238 | drag.Active = true | |
5239 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
5240 | drag.BackgroundTransparency = 1 | |
5241 | dragGUI(drag) | |
5242 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
5243 | drag.Size = UDim2.new(0, 290, 0, 30) | |
5244 | PromptDialog.Name = "PromptDialog" | |
5245 | PromptDialog.Parent = drag | |
5246 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
5247 | PromptDialog.BackgroundTransparency = 1 | |
5248 | PromptDialog.BorderSizePixel = 0 | |
5249 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
5250 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
5251 | PromptDialog.ZIndex = 8 | |
5252 | shadow.Name = "shadow" | |
5253 | shadow.Parent = PromptDialog | |
5254 | shadow.BackgroundColor3 = maincolor | |
5255 | shadow.BackgroundTransparency = 0.30000001192093 | |
5256 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
5257 | shadow.BorderSizePixel = 0 | |
5258 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
5259 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
5260 | PopupText.Name = "PopupText" | |
5261 | PopupText.Parent = shadow | |
5262 | PopupText.BackgroundTransparency = 1 | |
5263 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
5264 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
5265 | PopupText.ZIndex = 110 | |
5266 | PopupText.Font = Enum.Font.SourceSansBold | |
5267 | PopupText.FontSize = Enum.FontSize.Size28 | |
5268 | PopupText.Text = "Server" | |
5269 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
5270 | PopupText.TextStrokeTransparency = 0 | |
5271 | PopupText.TextWrapped = true | |
5272 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
5273 | Exit.Name = "Exit" | |
5274 | Exit.Parent = shadow | |
5275 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
5276 | Exit.BackgroundTransparency = 0.30000001192093 | |
5277 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
5278 | Exit.BorderSizePixel = 0 | |
5279 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
5280 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
5281 | Exit.FontSize = Enum.FontSize.Size14 | |
5282 | Exit.Text = "" | |
5283 | ContainerFrame.Name = "ContainerFrame" | |
5284 | ContainerFrame.Parent = PromptDialog | |
5285 | ContainerFrame.BackgroundColor3 = maincolor | |
5286 | ContainerFrame.BackgroundTransparency = 0.5 | |
5287 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
5288 | ContainerFrame.BorderSizePixel = 0 | |
5289 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
5290 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
5291 | ContainerFrame.ZIndex = 5 | |
5292 | TextLabel.Name = "Text Label" | |
5293 | TextLabel.Parent = ContainerFrame | |
5294 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
5295 | TextLabel.BackgroundTransparency = 1 | |
5296 | TextLabel.BorderColor3 = Color3.new(0, 0, 0) | |
5297 | TextLabel.Position = UDim2.new(0, 10, 0, 70) | |
5298 | TextLabel.Size = UDim2.new(0, 100, 0, 20) | |
5299 | TextLabel.ZIndex = 10 | |
5300 | TextLabel.Font = Enum.Font.SourceSans | |
5301 | TextLabel.FontSize = Enum.FontSize.Size24 | |
5302 | TextLabel.Text = "Run Time:" | |
5303 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
5304 | TextLabel.TextStrokeTransparency = 0 | |
5305 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
5306 | TextLabel2.Name = "Text Label2" | |
5307 | TextLabel2.Parent = ContainerFrame | |
5308 | TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
5309 | TextLabel2.BackgroundTransparency = 1 | |
5310 | TextLabel2.BorderColor3 = Color3.new(0, 0, 0) | |
5311 | TextLabel2.Position = UDim2.new(0, 10, 0, 120) | |
5312 | TextLabel2.Size = UDim2.new(0, 100, 0, 20) | |
5313 | TextLabel2.ZIndex = 10 | |
5314 | TextLabel2.Font = Enum.Font.SourceSans | |
5315 | TextLabel2.FontSize = Enum.FontSize.Size24 | |
5316 | TextLabel2.Text = "Statistics:" | |
5317 | TextLabel2.TextColor3 = Color3.new(1, 1, 1) | |
5318 | TextLabel2.TextStrokeTransparency = 0 | |
5319 | TextLabel2.TextXAlignment = Enum.TextXAlignment.Left | |
5320 | TextLabel3.Name = "Text Label3" | |
5321 | TextLabel3.Parent = ContainerFrame | |
5322 | TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) | |
5323 | TextLabel3.BackgroundTransparency = 1 | |
5324 | TextLabel3.BorderColor3 = Color3.new(0, 0, 0) | |
5325 | TextLabel3.Position = UDim2.new(0, 10, 0, 0) | |
5326 | TextLabel3.Size = UDim2.new(0, 100, 0, 20) | |
5327 | TextLabel3.ZIndex = 10 | |
5328 | TextLabel3.Font = Enum.Font.SourceSans | |
5329 | TextLabel3.FontSize = Enum.FontSize.Size24 | |
5330 | TextLabel3.Text = "Local Player:" | |
5331 | TextLabel3.TextColor3 = Color3.new(1, 1, 1) | |
5332 | TextLabel3.TextStrokeTransparency = 0 | |
5333 | TextLabel3.TextXAlignment = Enum.TextXAlignment.Left | |
5334 | Time.Name = "Time" | |
5335 | Time.Parent = ContainerFrame | |
5336 | Time.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5337 | Time.BackgroundTransparency = 1 | |
5338 | Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5339 | Time.Position = UDim2.new(0, 10, 0, 90) | |
5340 | Time.Size = UDim2.new(0, 100, 0, 20) | |
5341 | Time.ZIndex = 100 | |
5342 | Time.Font = Enum.Font.ArialBold | |
5343 | Time.FontSize = Enum.FontSize.Size14 | |
5344 | Time.Text = "Loading..." | |
5345 | Time.TextColor3 = Color3.new(1, 1, 1) | |
5346 | Time.TextStrokeTransparency = 0 | |
5347 | Time.TextXAlignment = Enum.TextXAlignment.Left | |
5348 | appearance.Name = "appearance" | |
5349 | appearance.Parent = ContainerFrame | |
5350 | appearance.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5351 | appearance.BackgroundTransparency = 1 | |
5352 | appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5353 | appearance.Position = UDim2.new(0, 10, 0, 40) | |
5354 | appearance.Size = UDim2.new(0, 100, 0, 20) | |
5355 | appearance.ZIndex = 10 | |
5356 | appearance.Font = Enum.Font.ArialBold | |
5357 | appearance.FontSize = Enum.FontSize.Size14 | |
5358 | appearance.Text = "Appearance: Loading..." | |
5359 | appearance.TextColor3 = Color3.new(1, 1, 1) | |
5360 | appearance.TextStrokeTransparency = 0 | |
5361 | appearance.TextXAlignment = Enum.TextXAlignment.Left | |
5362 | fe.Name = "fe" | |
5363 | fe.Parent = ContainerFrame | |
5364 | fe.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5365 | fe.BackgroundTransparency = 1 | |
5366 | fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5367 | fe.Position = UDim2.new(0, 10, 0, 200) | |
5368 | fe.Size = UDim2.new(0, 100, 0, 20) | |
5369 | fe.ZIndex = 10 | |
5370 | fe.Font = Enum.Font.ArialBold | |
5371 | fe.FontSize = Enum.FontSize.Size14 | |
5372 | fe.Text = "Loading..." | |
5373 | fe.TextColor3 = Color3.new(1, 1, 1) | |
5374 | fe.TextStrokeTransparency = 0 | |
5375 | fe.TextXAlignment = Enum.TextXAlignment.Left | |
5376 | maxplayers.Name = "maxplayers" | |
5377 | maxplayers.Parent = ContainerFrame | |
5378 | maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5379 | maxplayers.BackgroundTransparency = 1 | |
5380 | maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5381 | maxplayers.Position = UDim2.new(0, 10, 0, 160) | |
5382 | maxplayers.Size = UDim2.new(0, 100, 0, 20) | |
5383 | maxplayers.ZIndex = 10 | |
5384 | maxplayers.Font = Enum.Font.ArialBold | |
5385 | maxplayers.FontSize = Enum.FontSize.Size14 | |
5386 | maxplayers.Text = "Loading..." | |
5387 | maxplayers.TextColor3 = Color3.new(1, 1, 1) | |
5388 | maxplayers.TextStrokeTransparency = 0 | |
5389 | maxplayers.TextXAlignment = Enum.TextXAlignment.Left | |
5390 | name.Name = "name" | |
5391 | name.Parent = ContainerFrame | |
5392 | name.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5393 | name.BackgroundTransparency = 1 | |
5394 | name.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5395 | name.Position = UDim2.new(0, 10, 0, 180) | |
5396 | name.Size = UDim2.new(0, 100, 0, 20) | |
5397 | name.ZIndex = 10 | |
5398 | name.Font = Enum.Font.ArialBold | |
5399 | name.FontSize = Enum.FontSize.Size14 | |
5400 | name.Text = "Place: Loading..." | |
5401 | name.TextColor3 = Color3.new(1, 1, 1) | |
5402 | name.TextStrokeTransparency = 0 | |
5403 | name.TextXAlignment = Enum.TextXAlignment.Left | |
5404 | placeid.Name = "placeid" | |
5405 | placeid.Parent = ContainerFrame | |
5406 | placeid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5407 | placeid.BackgroundTransparency = 1 | |
5408 | placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5409 | placeid.Position = UDim2.new(0, 10, 0, 220) | |
5410 | placeid.Size = UDim2.new(0, 100, 0, 20) | |
5411 | placeid.ZIndex = 10 | |
5412 | placeid.Font = Enum.Font.ArialBold | |
5413 | placeid.FontSize = Enum.FontSize.Size14 | |
5414 | placeid.Text = "Place ID: Loading..." | |
5415 | placeid.TextColor3 = Color3.new(1, 1, 1) | |
5416 | placeid.TextStrokeTransparency = 0 | |
5417 | placeid.TextXAlignment = Enum.TextXAlignment.Left | |
5418 | playerid.Name = "playerid" | |
5419 | playerid.Parent = ContainerFrame | |
5420 | playerid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5421 | playerid.BackgroundTransparency = 1 | |
5422 | playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5423 | playerid.Position = UDim2.new(0, 10, 0, 20) | |
5424 | playerid.Size = UDim2.new(0, 100, 0, 20) | |
5425 | playerid.ZIndex = 10 | |
5426 | playerid.Font = Enum.Font.ArialBold | |
5427 | playerid.FontSize = Enum.FontSize.Size14 | |
5428 | playerid.Text = "Player ID: Loading..." | |
5429 | playerid.TextColor3 = Color3.new(1, 1, 1) | |
5430 | playerid.TextStrokeTransparency = 0 | |
5431 | playerid.TextXAlignment = Enum.TextXAlignment.Left | |
5432 | players.Name = "players" | |
5433 | players.Parent = ContainerFrame | |
5434 | players.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
5435 | players.BackgroundTransparency = 1 | |
5436 | players.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
5437 | players.Position = UDim2.new(0, 10, 0, 140) | |
5438 | players.Size = UDim2.new(0, 100, 0, 20) | |
5439 | players.ZIndex = 100 | |
5440 | players.Font = Enum.Font.ArialBold | |
5441 | players.FontSize = Enum.FontSize.Size14 | |
5442 | players.Text = "Loading..." | |
5443 | players.TextColor3 = Color3.new(1, 1, 1) | |
5444 | players.TextStrokeTransparency = 0 | |
5445 | players.TextXAlignment = Enum.TextXAlignment.Left | |
5446 | local SINFOGUI = ContainerFrame | |
5447 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
5448 | SINFOGUIopen = true wait(0.5) | |
5449 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId) | |
5450 | SINFOGUI.name.Text = "Place: " .. Asset.Name | |
5451 | Exit.MouseButton1Click:Connect(function() | |
5452 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
5453 | wait(0.6) SINFOGUIopen = false Sinfo:Destroy() end) | |
5454 | SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId | |
5455 | if workspace.FilteringEnabled == true then | |
5456 | SINFOGUI.fe.Text = "Filtering Enabled" | |
5457 | elseif workspace.FilteringEnabled == false then | |
5458 | SINFOGUI.fe.Text = "Filtering Disabled" end | |
5459 | SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max" | |
5460 | SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat | |
5461 | players = gPlayers:getPlayers() | |
5462 | SINFOGUI.players.Text = #players.. " Player(s)" | |
5463 | SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId | |
5464 | local seconds = math.floor(workspace.DistributedGameTime) | |
5465 | local minutes = math.floor(workspace.DistributedGameTime / 60) | |
5466 | local hours = math.floor(workspace.DistributedGameTime / 60 / 60) | |
5467 | local seconds = seconds - (minutes * 60) | |
5468 | local minutes = minutes - (hours * 60) | |
5469 | if hours < 1 then if minutes < 1 then | |
5470 | SINFOGUI.Time.Text = seconds .. " Second(s)" else | |
5471 | SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else | |
5472 | SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
5473 | end wait(1) until SINFOGUIopen == false end end | |
5474 | addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'}, | |
5475 | function(args, speaker) | |
5476 | if speaker.userId ~= LP.userId then | |
5477 | lponly(speaker) | |
5478 | else | |
5479 | serverinfogui() | |
5480 | end | |
5481 | end) | |
5482 | ||
5483 | addcmd('sparkles', 'give a player sparkles',{'sp'}, | |
5484 | function(args, speaker) | |
5485 | local players = getPlayer(args[1], speaker) | |
5486 | for i,v in pairs(players)do | |
5487 | spawn(function() | |
5488 | local pchar=_char(v) | |
5489 | local Sparkles1 = Instance.new("Sparkles", pchar.Head) | |
5490 | local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart) | |
5491 | local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"]) | |
5492 | local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"]) | |
5493 | local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"]) | |
5494 | local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"]) | |
5495 | if not args[2] then return end | |
5496 | Sparkles1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5497 | Sparkles2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5498 | Sparkles3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5499 | Sparkles4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5500 | Sparkles5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5501 | Sparkles6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
5502 | end) | |
5503 | end | |
5504 | end) | |
5505 | ||
5506 | addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'}, | |
5507 | function(args, speaker) | |
5508 | local players = getPlayer(args[1], speaker) | |
5509 | for i,v in pairs(players)do | |
5510 | local pchar=_char(v) | |
5511 | for j,v1 in pairs(pchar:GetDescendants()) do | |
5512 | if v1:IsA("Sparkles") then | |
5513 | v1:Destroy() | |
5514 | end end end | |
5515 | end) | |
5516 | ||
5517 | addcmd('smoke', 'give a player smoke',{}, | |
5518 | function(args, speaker) | |
5519 | local players = getPlayer(args[1], speaker) | |
5520 | for i,v in pairs(players)do | |
5521 | local pchar=_char(v) | |
5522 | Instance.new("Smoke", pchar.HumanoidRootPart) | |
5523 | end | |
5524 | end) | |
5525 | ||
5526 | addcmd('addstat', 'give a player a stat',{}, | |
5527 | function(args, speaker) | |
5528 | local players = getPlayer(args[1], speaker) | |
5529 | for i,v in pairs(players)do | |
5530 | spawn(function() | |
5531 | if gPlayers[v]:FindFirstChild("leaderstats") then | |
5532 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
5533 | if child.Name == "STAT" then | |
5534 | child:Destroy() | |
5535 | end | |
5536 | end | |
5537 | local score = Instance.new("StringValue") | |
5538 | score.Name = "STAT" | |
5539 | score.Value = GLS(false, 1) | |
5540 | score.Parent = gPlayers[v].leaderstats | |
5541 | else | |
5542 | local stats = Instance.new("IntValue") | |
5543 | stats.Name = "leaderstats" | |
5544 | stats.Parent = gPlayers[v] | |
5545 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
5546 | if child.Name == "STAT" then | |
5547 | child:Destroy() | |
5548 | end | |
5549 | end | |
5550 | local score = Instance.new("StringValue") | |
5551 | score.Name = "STAT" | |
5552 | score.Value = GLS(false, 1) | |
5553 | score.Parent = gPlayers[v].leaderstats | |
5554 | end | |
5555 | end) | |
5556 | end | |
5557 | end) | |
5558 | ||
5559 | addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'}, | |
5560 | function(args, speaker) | |
5561 | local players = getPlayer(args[1], speaker) | |
5562 | for i,v in pairs(players)do | |
5563 | local pchar=_char(v) | |
5564 | for j,v1 in pairs(pchar:GetDescendants()) do | |
5565 | if v1:IsA("Smoke") then | |
5566 | v1:Destroy() | |
5567 | end | |
5568 | end | |
5569 | end | |
5570 | end) | |
5571 | ||
5572 | addcmd('longneck', 'makes a player have a really long neck',{'giraffe'}, | |
5573 | function(args, speaker) | |
5574 | local players = getPlayer(args[1], speaker) | |
5575 | for i,v in pairs(players)do | |
5576 | local pchar=_char(v) | |
5577 | for i,v in pairs(pchar:GetChildren()) do | |
5578 | if pchar.Torso:FindFirstChild("Neck") then | |
5579 | pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
5580 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end | |
5581 | Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1) | |
5582 | Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true | |
5583 | local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7) | |
5584 | local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0) | |
5585 | end | |
5586 | end | |
5587 | end | |
5588 | end) | |
5589 | ||
5590 | addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'}, | |
5591 | function(args, speaker) | |
5592 | local players = getPlayer(args[1], speaker) | |
5593 | for i,v in pairs(players)do | |
5594 | local pchar=_char(v) | |
5595 | for i,v in pairs(pchar:GetChildren()) do | |
5596 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
5597 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end | |
5598 | end | |
5599 | end | |
5600 | end) | |
5601 | ||
5602 | addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'}, | |
5603 | function(args, speaker) | |
5604 | workspace.Terrain:Clear() | |
5605 | end) | |
5606 | ||
5607 | addcmd('smite','get hit by lightning',{}, | |
5608 | function(args, speaker) | |
5609 | local players = getPlayer(args[1], speaker) | |
5610 | for i,v in pairs(players)do | |
5611 | local pchar=_char(v) | |
5612 | spawn(function() | |
5613 | local char = pchar | |
5614 | local zeus = Instance.new("Model",char) | |
5615 | local cloud = Instance.new("Part",zeus) | |
5616 | cloud.Anchored = true | |
5617 | cloud.CanCollide = false | |
5618 | cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0) | |
5619 | local sound = Instance.new("Sound",cloud) | |
5620 | sound.SoundId = "rbxassetid://133426162" | |
5621 | local mesh = Instance.new("SpecialMesh",cloud) | |
5622 | mesh.MeshId = "http://www.roblox.com/asset/?id=1095708" | |
5623 | mesh.TextureId = "http://www.roblox.com/asset/?id=1095709" | |
5624 | mesh.Scale = Vector3.new(30,30,40) | |
5625 | mesh.VertexColor = Vector3.new(0.3,0.3,0.3) | |
5626 | local light = Instance.new("PointLight",cloud) | |
5627 | light.Color = Color3.new(0,85/255,1) | |
5628 | light.Brightness = 10 | |
5629 | light.Range = 30 | |
5630 | light.Enabled = false | |
5631 | wait(0.2) | |
5632 | sound.Volume = 0.5 | |
5633 | sound.Pitch = 0.8 | |
5634 | sound:Play() | |
5635 | light.Enabled = true | |
5636 | wait(1/100) | |
5637 | light.Enabled = false | |
5638 | wait(0.2) | |
5639 | light.Enabled = true | |
5640 | light.Brightness = 1 | |
5641 | wait(0.05) | |
5642 | light.Brightness = 3 | |
5643 | wait(0.02) | |
5644 | light.Brightness = 1 | |
5645 | wait(0.07) | |
5646 | light.Brightness = 10 | |
5647 | wait(0.09) | |
5648 | light.Brightness = 0 | |
5649 | wait(0.01) | |
5650 | light.Brightness = 7 | |
5651 | light.Enabled = false | |
5652 | wait(1.5) | |
5653 | local part1 = Instance.new("Part",zeus) | |
5654 | part1.Anchored = true | |
5655 | part1.CanCollide = false | |
5656 | part1.Size = Vector3.new(2, 9.2, 1) | |
5657 | part1.BrickColor = BrickColor.new("New Yeller") | |
5658 | part1.Transparency = 0.6 | |
5659 | part1.BottomSurface = "Smooth" | |
5660 | part1.TopSurface = "Smooth" | |
5661 | part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0) | |
5662 | part1.Rotation = Vector3.new(0.359, 1.4, -14.361) | |
5663 | wait() | |
5664 | local part2 = part1:clone() | |
5665 | part2.Parent = zeus | |
5666 | part2.Size = Vector3.new(1, 7.48, 2) | |
5667 | part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0) | |
5668 | part2.Rotation = Vector3.new(77.514, -75.232, 78.051) | |
5669 | wait() | |
5670 | local part3 = part1:clone() | |
5671 | part3.Parent = zeus | |
5672 | part3.Size = Vector3.new(1.86, 7.56, 1) | |
5673 | part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0) | |
5674 | part3.Rotation = Vector3.new(0, 0, -11.128) | |
5675 | sound.SoundId = "rbxassetid://130818250" | |
5676 | sound.Volume = 1 | |
5677 | sound.Pitch = 1 | |
5678 | sound:Play() | |
5679 | wait() | |
5680 | part1.Transparency = 1 | |
5681 | part2.Transparency = 1 | |
5682 | part3.Transparency = 1 | |
5683 | Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0) | |
5684 | char:BreakJoints() | |
5685 | end) | |
5686 | end | |
5687 | end) | |
5688 | ||
5689 | addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'}, | |
5690 | function(args, speaker) | |
5691 | local players = getPlayer(args[1], speaker) | |
5692 | for i,v in pairs(players)do | |
5693 | spawn(function() | |
5694 | local pchar=_char(v) | |
5695 | 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) | |
5696 | local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030" | |
5697 | local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30 | |
5698 | local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10 | |
5699 | local f = Instance.new("Sound") | |
5700 | f.Name = "fly" | |
5701 | f.SoundId = "rbxassetid://179438534" | |
5702 | f.Volume = 3 | |
5703 | f.Pitch = 1 | |
5704 | f.Looped = true | |
5705 | f.archivable = true | |
5706 | f.Parent = Ast | |
5707 | f:play() | |
5708 | local Touched = false | |
5709 | coroutine.wrap(function() | |
5710 | repeat wait(0.1) | |
5711 | Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z) | |
5712 | until not Ast or Ast.Parent == nil or Touched == true | |
5713 | end)() | |
5714 | Ast.Touched:connect(function(Part) | |
5715 | if Touched == false then | |
5716 | Touched = true | |
5717 | Part:BreakJoints() | |
5718 | local Boom = Instance.new("Explosion", workspace) | |
5719 | Boom.Position = Ast.Position | |
5720 | Boom.BlastPressure = 1000000 | |
5721 | Boom.BlastRadius = 30 | |
5722 | Fire.Heat = 0 | |
5723 | Smoke.RiseVelocity = 0 | |
5724 | f:Destroy() | |
5725 | local s = Instance.new("Sound") | |
5726 | s.Name = "boom" | |
5727 | s.SoundId = "rbxassetid://188590169" | |
5728 | s.Volume = 3 | |
5729 | s.Pitch = 1 | |
5730 | s.Looped = true | |
5731 | s.archivable = true | |
5732 | s.Parent = Ast | |
5733 | s:play() | |
5734 | coroutine.wrap(function() | |
5735 | wait(10) | |
5736 | s:Destroy() | |
5737 | if Ast and Ast.Parent ~= nil then | |
5738 | Ast:Destroy() | |
5739 | end | |
5740 | end)() | |
5741 | end | |
5742 | end) | |
5743 | end) | |
5744 | end | |
5745 | end) | |
5746 | ||
5747 | addcmd('bomb','gives you a bomb vest',{'terrorist'}, | |
5748 | function(args, speaker) | |
5749 | local players = getPlayer(args[1], speaker) | |
5750 | for i,v in pairs(players)do | |
5751 | spawn(function() | |
5752 | local Char=_char(v) | |
5753 | local HumanoidRootPart = Char.HumanoidRootPart | |
5754 | local TickWait = 1 | |
5755 | local Dead = false | |
5756 | ||
5757 | local Position = Vector3.new(0,100,0) | |
5758 | function NewPart(Parent) | |
5759 | local Part = Instance.new("Part", Parent) | |
5760 | Part.CanCollide = false | |
5761 | Part.Position = Position | |
5762 | Part.TopSurface = "Smooth" | |
5763 | Part.BottomSurface = "Smooth" | |
5764 | Position = Position + Vector3.new(0,10,0) | |
5765 | return Part | |
5766 | end | |
5767 | ||
5768 | local Model = Char:FindFirstChild("Bomb") | |
5769 | if Model then Model:Destroy() end | |
5770 | ||
5771 | local Model = Instance.new("Model", Char) | |
5772 | Model.Name = "Bomb" | |
5773 | ||
5774 | local Belt = NewPart(Model) | |
5775 | Belt.Size = Vector3.new(2.2,0.5,1.2) | |
5776 | local Weld = Instance.new("Weld", Belt) | |
5777 | Weld.Part0 = Belt | |
5778 | Weld.Part1 = HumanoidRootPart | |
5779 | Weld.C0 = CFrame.new(0,1.1,0) | |
5780 | local Light = Instance.new("PointLight", Belt) | |
5781 | Light.Range = 15 | |
5782 | Light.Brightness = 5 | |
5783 | Light.Color = Color3.new(1,0,0) | |
5784 | local Beep = Instance.new("Sound", Belt) | |
5785 | Beep.SoundId = "http://www.roblox.com/asset/?id=188588790" | |
5786 | local ExplodeSound = Instance.new("Sound", Belt) | |
5787 | ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 | |
5788 | ExplodeSound.Pitch = 2.8 | |
5789 | ExplodeSound.Volume = 3 | |
5790 | ||
5791 | local Back = NewPart(Model) | |
5792 | Back.Size = Vector3.new(1.5,1.5,0.5) | |
5793 | local Weld = Instance.new("Weld", Back) | |
5794 | Weld.Part0 = Back | |
5795 | Weld.Part1 = HumanoidRootPart | |
5796 | Weld.C0 = CFrame.new(0,0.1,-0.75) | |
5797 | ||
5798 | local StrapLeft = NewPart(Model) | |
5799 | StrapLeft.Size = Vector3.new(0.2,0.5,1.6) | |
5800 | local Weld = Instance.new("Weld", StrapLeft) | |
5801 | Weld.Part0 = StrapLeft | |
5802 | Weld.Part1 = HumanoidRootPart | |
5803 | Weld.C0 = CFrame.new(0.65,-0.9,-0.2) | |
5804 | ||
5805 | local BuckleLeft = NewPart(Model) | |
5806 | BuckleLeft.Size = Vector3.new(0.2,1.5,0.2) | |
5807 | local Weld = Instance.new("Weld", BuckleLeft) | |
5808 | Weld.Part0 = BuckleLeft | |
5809 | Weld.Part1 = HumanoidRootPart | |
5810 | Weld.C0 = CFrame.new(0.65,0.1,0.5) | |
5811 | ||
5812 | local StrapRight = NewPart(Model) | |
5813 | StrapRight.Size = Vector3.new(0.2,0.5,1.6) | |
5814 | local Weld = Instance.new("Weld", StrapRight) | |
5815 | Weld.Part0 = StrapRight | |
5816 | Weld.Part1 = HumanoidRootPart | |
5817 | Weld.C0 = CFrame.new(-0.65,-0.9,-0.2) | |
5818 | ||
5819 | local BuckleRight = NewPart(Model) | |
5820 | BuckleRight.Size = Vector3.new(0.2,1.5,0.2) | |
5821 | local Weld = Instance.new("Weld", BuckleRight) | |
5822 | Weld.Part0 = BuckleRight | |
5823 | Weld.Part1 = HumanoidRootPart | |
5824 | Weld.C0 = CFrame.new(-0.65,0.1,0.5) | |
5825 | ||
5826 | LightEnabled = true | |
5827 | coroutine.wrap(function() | |
5828 | repeat | |
5829 | wait(TickWait) | |
5830 | LightEnabled = not LightEnabled | |
5831 | Light.Enabled = LightEnabled | |
5832 | Beep:Play() | |
5833 | until Dead == true or Char:FindFirstChild("Bomb") == nil | |
5834 | end)() | |
5835 | ||
5836 | wait(10) | |
5837 | if Dead == false then | |
5838 | Dead = true | |
5839 | ExplodeSound:Play(); wait(1.4) | |
5840 | local Explosion = Instance.new("Explosion") | |
5841 | Explosion.Position = Belt.Position | |
5842 | Explosion.BlastPressure = 100000 | |
5843 | Explosion.DestroyJointRadiusPercent = 0.7 | |
5844 | Explosion.ExplosionType = "CratersAndDebris" | |
5845 | Explosion.BlastRadius = 50 | |
5846 | Explosion.Parent = workspace | |
5847 | end | |
5848 | end) | |
5849 | end | |
5850 | end) | |
5851 | ||
5852 | addcmd('btools', 'gives a player btools',{}, | |
5853 | function(args, speaker) | |
5854 | local players = getPlayer(args[1], speaker) | |
5855 | if players ~= nil then | |
5856 | for i, v in pairs(players) do | |
5857 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 1 -- Model Grab Tool | |
5858 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 -- Part Grab Tool | |
5859 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 -- Clone Tool | |
5860 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 -- Hammer Tool | |
5861 | if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else | |
5862 | Notify('Gave btools to player(s)') end end end end) | |
5863 | ||
5864 | addcmd('sword', 'gives a player a sword',{}, | |
5865 | function(args, speaker) | |
5866 | local players = getPlayer(args[1], speaker) | |
5867 | if players ~= nil then | |
5868 | for i, v in pairs(players) do | |
5869 | coroutine.resume(coroutine.create(function() | |
5870 | if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then | |
5871 | local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png" | |
5872 | sword.GripForward = Vector3.new(-1,0,0) | |
5873 | sword.GripPos = Vector3.new(0,0,-1.5) | |
5874 | sword.GripRight = Vector3.new(0,1,0) | |
5875 | sword.GripUp = Vector3.new(0,0,1) | |
5876 | 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 | |
5877 | local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png" | |
5878 | repeat wait() until gPlayers[v] and gPlayers[v].Character and gPlayers[v].Character:findFirstChild("Humanoid") | |
5879 | local Damage = 15 | |
5880 | local SlashSound = Instance.new("Sound", handle) | |
5881 | SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
5882 | SlashSound.Volume = 1 | |
5883 | local LungeSound = Instance.new("Sound", handle) | |
5884 | LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" | |
5885 | LungeSound.Volume = 1 | |
5886 | local UnsheathSound = Instance.new("Sound", handle) | |
5887 | UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" | |
5888 | UnsheathSound.Volume = 1 | |
5889 | handle.Touched:connect(function(hit) | |
5890 | 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 | |
5891 | local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = speaker tag.Name = "creator" game:service("Debris"):AddItem(tag, 3) | |
5892 | hit.Parent.Humanoid:TakeDamage(Damage) | |
5893 | if not sword.Enabled or gPlayers[v].Character.Humanoid.Health <= 0 then return end | |
5894 | sword.Enabled = false | |
5895 | SlashSound:play() | |
5896 | local slash = Instance.new("StringValue", sword) slash.Name = "toolanim" slash.Value = "Slash" | |
5897 | wait(0.5) | |
5898 | sword.Enabled = true | |
5899 | end | |
5900 | end) | |
5901 | sword.Equipped:connect(function(hit) | |
5902 | UnsheathSound:play() | |
5903 | sword.Enabled = true | |
5904 | end) | |
5905 | end | |
5906 | end)) | |
5907 | end | |
5908 | end | |
5909 | end) | |
5910 | ||
5911 | addcmd('hatsize', 'changes players hat size',{''}, | |
5912 | function(args, speaker) | |
5913 | local players = getPlayer(args[1], speaker) | |
5914 | for i,v in pairs(players) do | |
5915 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
5916 | if v:IsA('Accessory') then | |
5917 | for a,b in pairs(v.Handle:GetChildren()) do | |
5918 | if b:IsA('SpecialMesh') then | |
5919 | b.Scale = args[2] * Vector3.new(1, 1, 1) | |
5920 | end | |
5921 | end | |
5922 | end | |
5923 | end | |
5924 | end | |
5925 | end) | |
5926 | ||
5927 | addcmd('headsize', 'changes players head size',{''}, | |
5928 | function(args, speaker) | |
5929 | local players = getPlayer(args[1], speaker) | |
5930 | for i,v in pairs(players) do | |
5931 | local plrchar = _players[v].Character | |
5932 | if not plrchar.Humanoid:FindFirstChild('HeadScale') then | |
5933 | if args[2] == 1 then | |
5934 | plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
5935 | plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
5936 | else | |
5937 | plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25) | |
5938 | end | |
5939 | else plrchar.Humanoid.HeadScale.Value = args[2] | |
5940 | end | |
5941 | end | |
5942 | end) | |
5943 | ||
5944 | addcmd('change', 'changes a players stat',{'stat'}, | |
5945 | function(args, speaker) | |
5946 | local players = getPlayer(args[1], speaker) | |
5947 | for i,v in pairs(players) do | |
5948 | if _players[v]:FindFirstChild('leaderstats') then | |
5949 | for i,v in pairs(_players[v].leaderstats:GetChildren()) do | |
5950 | if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then | |
5951 | if args[3] then v.Value = tonumber(args[3]) end | |
5952 | elseif string.lower(v.Name) == string.lower(args[2]) and v:IsA('StringValue') then | |
5953 | v.Value = GLS(false, 2) | |
5954 | end | |
5955 | end | |
5956 | end | |
5957 | end | |
5958 | end) | |
5959 | ||
5960 | addcmd('draw', 'drawing tool',{}, | |
5961 | function(args, speaker) | |
5962 | if speaker.userId ~= LP.userId then | |
5963 | lponly(speaker) | |
5964 | else | |
5965 | for i,v in next,game:children()do | |
5966 | pcall(function() | |
5967 | local c=v.className; | |
5968 | rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c)); | |
5969 | end); | |
5970 | end; | |
5971 | ||
5972 | ||
5973 | user=players.LocalPlayer; | |
5974 | uname=user.Name; | |
5975 | guis=user.PlayerGui; | |
5976 | pack=user.Backpack; | |
5977 | ||
5978 | keyDowns={}; | |
5979 | freeKeys={}; | |
5980 | shortcuts={}; | |
5981 | ||
5982 | _G.mine=_G.mine or{}; | |
5983 | ||
5984 | name='Draw3D'; | |
5985 | url='http://www.roblox.com/asset/?id=%d'; | |
5986 | ||
5987 | iconNormal=url:format(96578285); | |
5988 | iconOnDown=url:format(96584484); | |
5989 | ||
5990 | ver=0; | |
5991 | drawPixel=0.10; | |
5992 | _G.drawLimit=_G.drawLimit or 1000; | |
5993 | ||
5994 | _G.drawColor=_G.drawColor or Color3.new(); | |
5995 | ||
5996 | ||
5997 | ||
5998 | ||
5999 | ||
6000 | destroy=game.remove; | |
6001 | find=game.findFirstChild; | |
6002 | new=Instance.new; | |
6003 | with=function(c) | |
6004 | return function(p) | |
6005 | local o=type(c)=='string'and new(c)or c; | |
6006 | local x=p.Parent;p.Parent=nil; | |
6007 | for i,v in next,p do | |
6008 | o[i]=v; | |
6009 | end; | |
6010 | if(x)then | |
6011 | o.Parent=x; | |
6012 | end; | |
6013 | return o; | |
6014 | end; | |
6015 | end; | |
6016 | getPlace=function() | |
6017 | if(find(workspace,'draw')==nil)then | |
6018 | new('Model',workspace).Name='draw'; | |
6019 | end; | |
6020 | if(find(workspace.draw,uname)==nil)then | |
6021 | new('Model',workspace.draw).Name=uname; | |
6022 | end; | |
6023 | return workspace.draw[uname]; | |
6024 | end; | |
6025 | drawLine=function(start,target) | |
6026 | local gui=with'BlockMesh'{ | |
6027 | Parent=with'Part'{ | |
6028 | CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2); | |
6029 | Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel); | |
6030 | Parent=getPlace(); | |
6031 | Color=_G.drawColor; | |
6032 | BottomSurface=0; | |
6033 | Anchored=true; | |
6034 | TopSurface=0; | |
6035 | formFactor=3; | |
6036 | Name=name; | |
6037 | }}.Parent; | |
6038 | table.insert(_G.mine,gui); | |
6039 | return gui; | |
6040 | end; | |
6041 | onDown=function() | |
6042 | if(drawing)then | |
6043 | return nil; | |
6044 | end; | |
6045 | if(selectGui.Adornee)then | |
6046 | destroy(selectGui.Adornee); | |
6047 | end; | |
6048 | ||
6049 | drawing=true; | |
6050 | ||
6051 | mouse.Icon=iconOnDown; | |
6052 | ver=ver+1; | |
6053 | ||
6054 | ||
6055 | local cVer,start,target=ver,mouse.hit.p; | |
6056 | ||
6057 | local group={}; | |
6058 | repeat | |
6059 | Wait(0.02); | |
6060 | ||
6061 | if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then | |
6062 | ||
6063 | target=mouse.hit.p; | |
6064 | ||
6065 | table.insert(group,drawLine(start,target)); | |
6066 | ||
6067 | start=target; | |
6068 | end; | |
6069 | until ver~=cVer; | |
6070 | drawing=false; | |
6071 | ||
6072 | local groupM=new('Model',getPlace()); | |
6073 | for i,v in next,group do | |
6074 | if(v:IsDescendantOf(Workspace))then | |
6075 | v.Parent=groupM; | |
6076 | end; | |
6077 | end; | |
6078 | if(next(groupM:children())==nil)then | |
6079 | destroy(groupM); | |
6080 | end; | |
6081 | end; | |
6082 | onUp=function() | |
6083 | mouse.Icon=iconNormal; | |
6084 | ver=ver+1; | |
6085 | end; | |
6086 | onKeyDown=function(k) | |
6087 | if(freeKeys[k]==false)then | |
6088 | return false; | |
6089 | end; | |
6090 | freeKeys[k]=false; | |
6091 | Wait(0.01); | |
6092 | if(keyDowns[k])then | |
6093 | keyDowns[k](); | |
6094 | elseif(shortcuts[k])then | |
6095 | shortcuts[k](); | |
6096 | end; | |
6097 | end; | |
6098 | onKeyUp=function(k) | |
6099 | freeKeys[k]=true; | |
6100 | end; | |
6101 | onMove=function() | |
6102 | ||
6103 | end; | |
6104 | onSelect=function(lmouse) | |
6105 | frame.Visible=true; | |
6106 | ||
6107 | mouse=lmouse; | |
6108 | ||
6109 | mouse.Icon=iconNormal; | |
6110 | ||
6111 | mouse.Button1Down:connect(onDown); | |
6112 | mouse.KeyDown:connect(onKeyDown); | |
6113 | mouse.Button1Up:connect(onUp); | |
6114 | mouse.KeyUp:connect(onKeyUp); | |
6115 | mouse.Move:connect(onMove); | |
6116 | end; | |
6117 | onDeselect=function() | |
6118 | ver=ver+1; | |
6119 | frame.Visible=false; | |
6120 | selectGui.Adornee=nil; | |
6121 | mouse.Icon=iconNormal; | |
6122 | for i,v in next,freeKeys do | |
6123 | freeKeys[i]=true; | |
6124 | end; | |
6125 | end; | |
6126 | addButton=function(title,shortcut,fun) | |
6127 | with'TextButton'{ | |
6128 | Text=string.format(' %s (%s)',title,shortcut); | |
6129 | TextXAlignment=0; | |
6130 | Parent=frame; | |
6131 | }.MouseButton1Up:connect(fun); | |
6132 | ||
6133 | shortcuts[shortcut]=fun; | |
6134 | ||
6135 | local c=#frame:children(); | |
6136 | for i,v in next,frame:children()do | |
6137 | v.Position=UDim2.new(0,0,0,20*(i-1)); | |
6138 | v.Size=UDim2.new(1,0,0,20); | |
6139 | end; | |
6140 | ||
6141 | frame.Position=UDim2.new(1,-152,.5,-c*10); | |
6142 | frame.Size=UDim2.new(0,150,0,c*20); | |
6143 | end; | |
6144 | ||
6145 | ||
6146 | ||
6147 | ||
6148 | ||
6149 | ||
6150 | ||
6151 | ||
6152 | for i,v in next,{guis;pack;}do | |
6153 | pcall(function() | |
6154 | repeat until destroy(v[name]); | |
6155 | end); | |
6156 | end; | |
6157 | ||
6158 | ||
6159 | ||
6160 | tool=with'HopperBin'{ | |
6161 | Parent=pack; | |
6162 | Name=name; | |
6163 | }; | |
6164 | tool.Deselected:connect(onDeselect); | |
6165 | tool.Selected:connect(onSelect); | |
6166 | ||
6167 | ||
6168 | ||
6169 | ||
6170 | screen=with'ScreenGui'{ | |
6171 | Parent=guis; | |
6172 | Name=name; | |
6173 | }; | |
6174 | frame=with'Frame'{ | |
6175 | Parent=screen; | |
6176 | Visible=false; | |
6177 | }; | |
6178 | clframe=with'Frame'{ | |
6179 | Position=UDim2.new(.5,-50,.5,-50); | |
6180 | Size=UDim2.new(0,100,0,100); | |
6181 | Visible=false; | |
6182 | Parent=screen; | |
6183 | }; | |
6184 | selectGui=with'SelectionBox'{ | |
6185 | Parent=screen; | |
6186 | }; | |
6187 | ||
6188 | local c=0; | |
6189 | for y=0,7 do | |
6190 | for x=0,7 do | |
6191 | local color=BrickColor.palette(c).Color; | |
6192 | ||
6193 | with'ImageButton'{ | |
6194 | Position=UDim2.new(.125*x,0,.125*y); | |
6195 | Size=UDim2.new(.125,0,.125); | |
6196 | BackgroundColor3=color; | |
6197 | Parent=clframe; | |
6198 | }.MouseButton1Up:connect(function() | |
6199 | clframe.Visible=false; | |
6200 | _G.drawColor=color; | |
6201 | end); | |
6202 | ||
6203 | c=c+1; | |
6204 | end; | |
6205 | end; | |
6206 | ||
6207 | addButton('Color','c',function() | |
6208 | clframe.Visible=true; | |
6209 | end); | |
6210 | addButton('Remove your draws','r',function() | |
6211 | repeat | |
6212 | destroy(_G.mine[1]); | |
6213 | table.remove(_G.mine,1); | |
6214 | Wait(0.01); | |
6215 | until nil; | |
6216 | end); | |
6217 | addButton('Remove global draws','k',function() | |
6218 | destroy(workspace.draw); | |
6219 | while(_G.mine[1])do | |
6220 | destroy(_G.mine[1]); | |
6221 | table.remove(_G.mine,1); | |
6222 | end; | |
6223 | end); | |
6224 | addButton('Remove selected','x',function() | |
6225 | repeat | |
6226 | if(find(workspace,'draw'))then | |
6227 | local dt=mouse.target; | |
6228 | if(dt and dt:IsDescendantOf(workspace.draw))then | |
6229 | selectGui.Adornee=dt.Parent; | |
6230 | else | |
6231 | selectGui.Adornee=nil; | |
6232 | end; | |
6233 | else | |
6234 | selectGui.Adornee=nil; | |
6235 | end; | |
6236 | Wait(0.01); | |
6237 | until freeKeys.x; | |
6238 | selectGui.Adornee=nil; | |
6239 | end); | |
6240 | ||
6241 | ||
6242 | ||
6243 | ||
6244 | repeat | |
6245 | Wait(0.01); | |
6246 | if(next(_G.mine)and _G.mine[_G.drawLimit])then | |
6247 | destroy(_G.mine[1]); | |
6248 | table.remove(_G.mine,1); | |
6249 | end; | |
6250 | until script.Parent==nil or tool.Parent==nil; | |
6251 | script.Disabled=true; | |
6252 | destroy(screen); | |
6253 | end | |
6254 | end) | |
6255 | ||
6256 | addcmd('god', 'gods player',{}, | |
6257 | function(args, speaker) | |
6258 | local players = getPlayer(args[1], speaker) | |
6259 | for i,v in pairs(players)do | |
6260 | local pchar=_char(v) | |
6261 | if pchar then pchar.Humanoid.MaxHealth=math.huge end | |
6262 | end | |
6263 | end) | |
6264 | ||
6265 | addcmd('sgod', 'silently gods player',{}, | |
6266 | function(args, speaker) | |
6267 | local players = getPlayer(args[1], speaker) | |
6268 | for i,v in pairs(players)do | |
6269 | local pchar=_char(v) | |
6270 | spawn(function() | |
6271 | pchar.Humanoid.MaxHealth = 10000000 | |
6272 | wait() | |
6273 | pchar.Humanoid.Health = 10000000 | |
6274 | if FindTable(SPC, args[1]) then Notify('Silent godded ' ..args[1]) else | |
6275 | Notify('Silent godded player(s)') end | |
6276 | end) | |
6277 | end | |
6278 | end) | |
6279 | ||
6280 | addcmd('ungod', 'removes god from a player',{}, | |
6281 | function(args, speaker) | |
6282 | local players = getPlayer(args[1], speaker) | |
6283 | for i,v in pairs(players)do | |
6284 | local pchar=_char(v) | |
6285 | if pchar then | |
6286 | pchar.Humanoid.MaxHealth=100 | |
6287 | pchar.Humanoid.Health=100 | |
6288 | end | |
6289 | end | |
6290 | end) | |
6291 | ||
6292 | addcmd('heal', 'resets a players health',{}, | |
6293 | function(args, speaker) | |
6294 | local players = getPlayer(args[1], speaker) | |
6295 | for i,v in pairs(players)do spawn(function() | |
6296 | local pchar=_char(v) | |
6297 | if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end end) end end) | |
6298 | ||
6299 | addcmd('fart', 'makes u fart',{}, | |
6300 | function(args, speaker) | |
6301 | local players = getPlayer(args[1], speaker) | |
6302 | for i,v in pairs(players)do | |
6303 | spawn(function() | |
6304 | local pchar=_char(v) | |
6305 | fart = Instance.new("Smoke") | |
6306 | fart.Parent = pchar.HumanoidRootPart | |
6307 | fart.Color = Color3.new(255/255, 255/255, 0) | |
6308 | fart.Opacity = 0.4 | |
6309 | fart.Size = 1.0 | |
6310 | fart.RiseVelocity = 8 | |
6311 | fartsound = Instance.new("Sound", workspace) | |
6312 | fsound = "http://www.roblox.com/asset?id=251309043" | |
6313 | fartsound.SoundId = fsound | |
6314 | fartsound.Volume = 1.0 | |
6315 | fartsound:Play() | |
6316 | wait(9.0) | |
6317 | fartsound:Destroy() | |
6318 | pchar.HumanoidRootPart.Smoke:Destroy() | |
6319 | end) | |
6320 | end | |
6321 | end) | |
6322 | ||
6323 | addcmd('decalspam', 'you can already guess...',{}, | |
6324 | function(args, speaker) | |
6325 | Notify('Decal Spammed ID: ' ..args[1]) | |
6326 | wait(4) | |
6327 | decalID = args[1] | |
6328 | function exPro(root) | |
6329 | for _, v in pairs(root:GetChildren()) do | |
6330 | if v:IsA("BasePart") then | |
6331 | local One = Instance.new("Decal", v) | |
6332 | local Two = Instance.new("Decal", v) | |
6333 | local Three = Instance.new("Decal", v) | |
6334 | local Four = Instance.new("Decal", v) | |
6335 | local Five = Instance.new("Decal", v) | |
6336 | local Six = Instance.new("Decal", v) | |
6337 | One.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6338 | Two.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6339 | Three.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6340 | Four.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6341 | Five.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6342 | Six.Texture = "http://www.roblox.com/asset/?id="..decalID | |
6343 | One.Face = "Front" | |
6344 | Two.Face = "Back" | |
6345 | Three.Face = "Right" | |
6346 | Four.Face = "Left" | |
6347 | Five.Face = "Top" | |
6348 | Six.Face = "Bottom" | |
6349 | One.Name = "IYdecal" | |
6350 | Two.Name = "IYdecal" | |
6351 | Three.Name = "IYdecal" | |
6352 | Four.Name = "IYdecal" | |
6353 | Five.Name = "IYdecal" | |
6354 | Six.Name = "IYdecal" | |
6355 | end | |
6356 | exPro(v) | |
6357 | end | |
6358 | end | |
6359 | function asdf(root) | |
6360 | for _, v in pairs(root:GetChildren()) do | |
6361 | asdf(v) | |
6362 | end | |
6363 | end | |
6364 | exPro(workspace) | |
6365 | asdf(workspace) | |
6366 | end) | |
6367 | ||
6368 | addcmd('undecalspam', 'removes the mess',{}, | |
6369 | function(args, speaker) | |
6370 | Notify('Removing Decal Spam...') | |
6371 | wait(4) | |
6372 | function exPro(root) | |
6373 | for _, v in pairs(root:GetChildren()) do | |
6374 | if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then | |
6375 | v.Parent = nil | |
6376 | end | |
6377 | exPro(v) | |
6378 | end | |
6379 | end | |
6380 | function asdf(root) | |
6381 | for _, v in pairs(root:GetChildren()) do | |
6382 | asdf(v) | |
6383 | end | |
6384 | end | |
6385 | exPro(workspace) | |
6386 | asdf(workspace) | |
6387 | end) | |
6388 | ||
6389 | addcmd('sky', 'sets the sky',{'skybox'}, | |
6390 | function(args, speaker) | |
6391 | playinggif = false | |
6392 | for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end | |
6393 | s = Instance.new("Sky") | |
6394 | s.Name = "Sky" | |
6395 | s.Parent = LightingService | |
6396 | local skyboxID = args[1] | |
6397 | s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID | |
6398 | s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID | |
6399 | s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID | |
6400 | s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID | |
6401 | s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID | |
6402 | s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID | |
6403 | LightingService.TimeOfDay = 12 | |
6404 | end) | |
6405 | ||
6406 | addcmd('skygif', 'makes the sky play the IDs you feed it',{}, | |
6407 | function(args, speaker) | |
6408 | if args[2] then skyinterval = tonumber(args[2]) else skyinterval = 0.05 end | |
6409 | playinggif = false | |
6410 | wait(0.5) | |
6411 | local GIF = splitString(args[1]) | |
6412 | for _, child in pairs( gLighting:GetChildren()) do | |
6413 | if child.ClassName == "Sky" then | |
6414 | child:Destroy() | |
6415 | end | |
6416 | end | |
6417 | Sky = Instance.new("Sky",game.Lighting) | |
6418 | Notify('Loading...') | |
6419 | playinggif = true | |
6420 | for N,F in ipairs(GIF) do | |
6421 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..F) | |
6422 | end | |
6423 | gLighting.TimeOfDay = 12 | |
6424 | Notify('Playing skybox') | |
6425 | playinggif = true | |
6426 | wait(0.5) | |
6427 | repeat | |
6428 | for N,F in ipairs(GIF) do | |
6429 | Sky.SkyboxBk = "http://www.roblox.com/asset/?id="..F- 1 | |
6430 | Sky.SkyboxDn = "http://www.roblox.com/asset/?id="..F- 1 | |
6431 | Sky.SkyboxFt = "http://www.roblox.com/asset/?id="..F- 1 | |
6432 | Sky.SkyboxLf = "http://www.roblox.com/asset/?id="..F- 1 | |
6433 | Sky.SkyboxRt = "http://www.roblox.com/asset/?id="..F- 1 | |
6434 | Sky.SkyboxUp = "http://www.roblox.com/asset/?id="..F- 1 | |
6435 | wait(skyinterval) | |
6436 | end | |
6437 | until playinggif == false | |
6438 | end) | |
6439 | ||
6440 | addcmd('unskygif', 'removes the sky animation',{'noskygif'}, | |
6441 | function(args, speaker) | |
6442 | playinggif = false | |
6443 | wait(0.5) | |
6444 | Notify('Stopped sky gif') | |
6445 | for _, child in pairs( gLighting:GetChildren()) do | |
6446 | if child.ClassName == "Sky" then | |
6447 | child:Destroy() | |
6448 | end | |
6449 | end | |
6450 | end) | |
6451 | ||
6452 | addcmd('freeze', 'freezes a player',{'fr'}, | |
6453 | function(args, speaker) | |
6454 | local players = getPlayer(args[1], speaker) | |
6455 | if players ~= nil then | |
6456 | for i, v in pairs(players) do | |
6457 | spawn(function() | |
6458 | for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and not x.Anchored then x.Anchored = true end | |
6459 | end | |
6460 | end) | |
6461 | end | |
6462 | end | |
6463 | end) | |
6464 | ||
6465 | addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'}, | |
6466 | function(args, speaker) | |
6467 | local players = getPlayer(args[1], speaker) | |
6468 | if players ~= nil then | |
6469 | for i, v in pairs(players) do | |
6470 | spawn(function() | |
6471 | for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and x.Anchored then x.Anchored = false end | |
6472 | end | |
6473 | end) | |
6474 | end | |
6475 | end | |
6476 | end) | |
6477 | ||
6478 | addcmd('spawn', 'places a spawn',{'spawnpoint'}, | |
6479 | function(args, speaker) | |
6480 | local players = getPlayer(args[1], speaker) | |
6481 | if players ~= nil then | |
6482 | for i, v in pairs(players) do | |
6483 | local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn' | |
6484 | M.CFrame = _char(v).HumanoidRootPart.CFrame | |
6485 | M.Color = maincolor M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6) | |
6486 | M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0) | |
6487 | M.Anchored = true | |
6488 | end | |
6489 | end | |
6490 | end) | |
6491 | ||
6492 | addcmd('deletespawns', 'places a spawn',{'removespawns'}, | |
6493 | function(args, speaker) | |
6494 | for i,v in pairs(workspace:GetDescendants()) do | |
6495 | if v:IsA("SpawnLocation") then | |
6496 | v:Destroy() | |
6497 | end | |
6498 | end | |
6499 | end) | |
6500 | ||
6501 | addcmd('neon', 'makes a player neon',{}, | |
6502 | function(args, speaker) | |
6503 | local players = getPlayer(args[1], speaker) | |
6504 | if players ~= nil then | |
6505 | for i, v in pairs(players) do | |
6506 | for _, child in pairs( _char(v):GetChildren()) do | |
6507 | if child.ClassName == "CharacterMesh" then | |
6508 | child:Destroy() | |
6509 | end | |
6510 | end | |
6511 | for _, child in pairs( _char(v):GetChildren()) do | |
6512 | if child.ClassName == "Shirt" then | |
6513 | child:Destroy() | |
6514 | end | |
6515 | end | |
6516 | for _, child in pairs( _char(v):GetChildren()) do | |
6517 | if child.ClassName == "Pants" then | |
6518 | child:Destroy() | |
6519 | end | |
6520 | end | |
6521 | for _, child in pairs( _char(v):GetDescendants()) do | |
6522 | if child.ClassName == "Part" then | |
6523 | child.Material = "Neon" | |
6524 | end | |
6525 | end | |
6526 | end | |
6527 | end | |
6528 | end) | |
6529 | ||
6530 | addcmd('glass', 'makes a player glass',{}, | |
6531 | function(args, speaker) | |
6532 | local players = getPlayer(args[1], speaker) | |
6533 | if players ~= nil then | |
6534 | for i, v in pairs(players) do | |
6535 | for _, child in pairs( _char(v):GetChildren()) do | |
6536 | if child.ClassName == "CharacterMesh" then | |
6537 | child:Destroy() | |
6538 | end | |
6539 | end | |
6540 | for _, child in pairs( _char(v):GetChildren()) do | |
6541 | if child.ClassName == "Shirt" then | |
6542 | child:Destroy() | |
6543 | end | |
6544 | end | |
6545 | for _, child in pairs( _char(v):GetChildren()) do | |
6546 | if child.ClassName == "Pants" then | |
6547 | child:Destroy() | |
6548 | end | |
6549 | end | |
6550 | for _, child in pairs( _char(v):GetDescendants()) do | |
6551 | if child.ClassName == "Part" then | |
6552 | child.Material = "Glass" | |
6553 | child.Transparency = 0.3 | |
6554 | end | |
6555 | end | |
6556 | end | |
6557 | end | |
6558 | end) | |
6559 | ||
6560 | ||
6561 | addcmd('os', 'Shows the targets platform.', {'platform', 'device'}, | |
6562 | function(args, speaker) | |
6563 | local players = getPlayer(args[1], speaker) | |
6564 | local platforms = {} | |
6565 | for i,v in pairs(players) do | |
6566 | local p = game:GetService("Players")[v] | |
6567 | table.insert(platforms, p.Name.."'s platform is: "..p.OsPlatform) | |
6568 | end | |
6569 | Notify(table.concat(platforms, ', ')) | |
6570 | end) | |
6571 | ||
6572 | addcmd('whiteify', 'Turns the target white.', {'white'}, | |
6573 | function(args, speaker) | |
6574 | local players = getPlayer(args[1], speaker) | |
6575 | ||
6576 | for i,v in pairs(players) do | |
6577 | local lplr = game:GetService("Players")[v] | |
6578 | local bodyc = lplr.Character["Body Colors"] | |
6579 | local color = "Institutional white" | |
6580 | ||
6581 | bodyc.HeadColor = BrickColor.new(color) | |
6582 | bodyc.LeftArmColor = BrickColor.new(color) | |
6583 | bodyc.LeftLegColor = BrickColor.new(color) | |
6584 | bodyc.RightArmColor = BrickColor.new(color) | |
6585 | bodyc.RightLegColor = BrickColor.new(color) | |
6586 | bodyc.TorsoColor = BrickColor.new(color) | |
6587 | end | |
6588 | end) | |
6589 | ||
6590 | addcmd('blackify', 'Turns the target black.', {'black'}, | |
6591 | function(args, speaker) | |
6592 | local players = getPlayer(args[1], speaker) | |
6593 | ||
6594 | for i,v in pairs(players) do | |
6595 | local lplr = game:GetService("Players")[v] | |
6596 | local bodyc = lplr.Character["Body Colors"] | |
6597 | local color = "Black" | |
6598 | ||
6599 | bodyc.HeadColor = BrickColor.new(color) | |
6600 | bodyc.LeftArmColor = BrickColor.new(color) | |
6601 | bodyc.LeftLegColor = BrickColor.new(color) | |
6602 | bodyc.RightArmColor = BrickColor.new(color) | |
6603 | bodyc.RightLegColor = BrickColor.new(color) | |
6604 | bodyc.TorsoColor = BrickColor.new(color) | |
6605 | end | |
6606 | end) | |
6607 | ||
6608 | addcmd('kill', 'kills a player',{}, | |
6609 | function(args, speaker) | |
6610 | local players = getPlayer(args[1], speaker) | |
6611 | for i,v in pairs(players)do | |
6612 | local pchar=_char(v) | |
6613 | pchar:BreakJoints() | |
6614 | end | |
6615 | end) | |
6616 | ||
6617 | addcmd('knuckles', 'that dead meme',{'ugandaknuckles'}, | |
6618 | function(args, speaker) | |
6619 | local players = getPlayer(args[1], speaker) | |
6620 | for i,v in pairs(players)do | |
6621 | spawn(function() | |
6622 | local plr = gPlayers[v] | |
6623 | local char = plr.Character | |
6624 | char.Humanoid.WalkSpeed = 100 | |
6625 | char.Humanoid.JumpPower = 70 | |
6626 | spawn(function() | |
6627 | for i,v in pairs(char:GetChildren()) do | |
6628 | if v:IsA("BasePart") then | |
6629 | coroutine.wrap(function() | |
6630 | for i=0,1,.1 do | |
6631 | wait() | |
6632 | v.Transparency = v.Transparency +i | |
6633 | end | |
6634 | end)() | |
6635 | end | |
6636 | end | |
6637 | for i,v in pairs(char:GetChildren()) do | |
6638 | if v:IsA("Accessory") then | |
6639 | coroutine.wrap(function() | |
6640 | for i=0,1,.1 do | |
6641 | wait() | |
6642 | v.Handle.Transparency = v.Handle.Transparency +i | |
6643 | end | |
6644 | end)() | |
6645 | end | |
6646 | end | |
6647 | end) | |
6648 | char.Head.face:Destroy() | |
6649 | wait(1) | |
6650 | local s = Instance.new("Sound") | |
6651 | s.Name = "wae" | |
6652 | s.SoundId = "http://www.roblox.com/asset/?id=1308281913" | |
6653 | s.Volume = 1 | |
6654 | s.Pitch = 1 | |
6655 | s.Looped = true | |
6656 | s.archivable = true | |
6657 | s.Parent = gPlayers.LocalPlayer.Character.Head | |
6658 | s:play() | |
6659 | local daqueen = Instance.new("Part",char) | |
6660 | daqueen.Name = "asd" | |
6661 | daqueen.CanCollide = false | |
6662 | local mesh = Instance.new("SpecialMesh",daqueen) | |
6663 | mesh.Scale = Vector3.new(0.1,0.1,0.1) | |
6664 | mesh.MeshId = "rbxassetid://1300136843" | |
6665 | local text = Instance.new("Decal",daqueen) | |
6666 | text.Name = "asd" | |
6667 | text.Texture = "rbxassetid://1300137893" | |
6668 | local knowdawey = Instance.new("Weld",char) | |
6669 | knowdawey.Part0 = char.HumanoidRootPart | |
6670 | knowdawey.Part1 = daqueen | |
6671 | local eye1 = Instance.new("Part") | |
6672 | eye1.CanCollide = false | |
6673 | eye1.Parent = char | |
6674 | local mesh1 = Instance.new("SpecialMesh",eye1) | |
6675 | mesh1.MeshId = "rbxassetid://1300138314" | |
6676 | mesh1.Scale = Vector3.new(0.1,0.1,0.2) | |
6677 | local eyetext = Instance.new("Decal",eye1) | |
6678 | eyetext.Texture = "rbxassetid://1300129774" | |
6679 | local eye1w = Instance.new("Weld",char) | |
6680 | eye1w.Part0 = char.HumanoidRootPart | |
6681 | eye1w.Part1 = eye1 | |
6682 | eye1w.C1 = CFrame.new(0,-1.3,0.7) | |
6683 | end) | |
6684 | end | |
6685 | end) | |
6686 | ||
6687 | addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'}, | |
6688 | function(args, speaker) | |
6689 | part = GLS(false, 0) | |
6690 | local function dels(instance) | |
6691 | for i,v in pairs(instance:GetChildren())do | |
6692 | if v.Name:lower() == part:lower() then v:Destroy() end | |
6693 | dels(v) | |
6694 | end | |
6695 | end | |
6696 | dels(workspace) | |
6697 | Notify('Deleted ' ..GLS(false, 0)) | |
6698 | end) | |
6699 | ||
6700 | addcmd('deleteclass', 'removes any part with a certain classname from the workspace',{'removeclass','deleteclassname','removeclassname','dc'}, | |
6701 | function(args, speaker) | |
6702 | part = GLS(false, 0) | |
6703 | local function dels(instance) | |
6704 | for i,v in pairs(instance:GetChildren())do | |
6705 | if v.ClassName:lower() == part:lower() then v:Destroy() end | |
6706 | dels(v) | |
6707 | end | |
6708 | end | |
6709 | dels(workspace) | |
6710 | Notify('Deleted items with ClassName ' ..GLS(false, 0)) | |
6711 | end) | |
6712 | ||
6713 | addcmd('blur', 'adjusts blur',{}, | |
6714 | function(args, speaker) | |
6715 | local function dels(instance) | |
6716 | for i,v in pairs(instance:GetChildren())do | |
6717 | if v:IsA'BlurEffect'then v:Destroy()end | |
6718 | dels(v) | |
6719 | end | |
6720 | end | |
6721 | dels(LightingService) | |
6722 | ||
6723 | local b = Instance.new("BlurEffect", LightingService) | |
6724 | b.Name = "IYblur" | |
6725 | b.Size = args[1] | |
6726 | end) | |
6727 | ||
6728 | addcmd('distortsound','changes volume of sound',{'distort'}, | |
6729 | function(args, speaker) | |
6730 | for i,v in pairs(workspace:GetChildren())do | |
6731 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6732 | v:ClearAllChildren () | |
6733 | local d = Instance.new('DistortionSoundEffect') | |
6734 | d.Parent = v | |
6735 | d.Level = args[1] | |
6736 | Notify('Changed distortion to ' .. args[1]) | |
6737 | end | |
6738 | end | |
6739 | end) | |
6740 | ||
6741 | addcmd('volume','changes volume of sound',{'vol'}, | |
6742 | function(args, speaker) | |
6743 | for i,v in pairs(workspace:GetChildren())do | |
6744 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6745 | v.Volume = args[1] | |
6746 | Notify('Changed volume to ' .. args[1]) | |
6747 | end | |
6748 | end | |
6749 | end) | |
6750 | ||
6751 | addcmd('pitch','changes pitch of sound',{}, | |
6752 | function(args, speaker) | |
6753 | for i,v in pairs(workspace:GetChildren())do | |
6754 | if v:IsA("Sound") and v.Name == "IYsound" then | |
6755 | v.Pitch = args[1] | |
6756 | Notify('Changed pitch to ' .. args[1]) | |
6757 | end | |
6758 | end | |
6759 | end) | |
6760 | ||
6761 | addcmd('loadmap', 'spawns a map',{}, | |
6762 | function(args, speaker) | |
6763 | local m = args[1] | |
6764 | for _,v in pairs(workspace:GetChildren()) do | |
6765 | if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then | |
6766 | v:Destroy() elseif v:IsA("Terrain") then v:Clear() end end | |
6767 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end | |
6768 | wait(1) | |
6769 | local map = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. m) | |
6770 | map.Parent = workspace | |
6771 | end) | |
6772 | ||
6773 | addcmd('loadm','loads global messaging',{}, -- global message method by HARKINIAN @ V3RMILLION | |
6774 | function(args, speaker) | |
6775 | msghook() | |
6776 | if MSGhook == false then | |
6777 | local localp = game:GetService'Players'.LocalPlayer | |
6778 | localp.CharacterAppearanceId = 20018 | |
6779 | localp.Character:BreakJoints() | |
6780 | repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice' | |
6781 | Instance.new("ForceField", localp.Character) | |
6782 | repeat wait() until localp.Character.BunnyEarsOfCaprice.Handle:FindFirstChild'BunnyTools' | |
6783 | _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone() | |
6784 | localp.CharacterAppearanceId = 0 | |
6785 | localp.Character:BreakJoints() | |
6786 | if _G.mainhat ~= nil then | |
6787 | local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone() | |
6788 | local part = Instance.new('Part') | |
6789 | part.Anchored = true | |
6790 | part.Transparency = 1 | |
6791 | main.Disabled = false | |
6792 | main.Parent = part | |
6793 | _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part | |
6794 | part.Parent = localp.Character | |
6795 | part.CFrame = localp.Character.HumanoidRootPart.CFrame | |
6796 | repeat wait() until localp:FindFirstChild'ChessMsg' | |
6797 | part:Destroy() | |
6798 | local message = localp:FindFirstChild'ChessMsg' | |
6799 | message.Text = '' | |
6800 | message.Parent = workspace | |
6801 | message.Name = "IYmessage" | |
6802 | if part ~= nil then part:Destroy() end | |
6803 | localp.Character.HumanoidRootPart.Anchored = false | |
6804 | for _, child in pairs( workspace:GetChildren()) do | |
6805 | if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then | |
6806 | child:Destroy() | |
6807 | end | |
6808 | end | |
6809 | if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Destroy() end | |
6810 | if _G.msg ~= nil then | |
6811 | Notify('Loaded global message bypass') | |
6812 | else | |
6813 | execCmd("loadm") | |
6814 | end | |
6815 | end | |
6816 | elseif MSGhook == true then | |
6817 | Notify('Messages already loaded!') | |
6818 | end | |
6819 | end) | |
6820 | ||
6821 | addcmd('countdown', 'makes a countdown', {}, | |
6822 | function(args, speaker) | |
6823 | local players = getPlayer(args[1], speaker) | |
6824 | if args[1] ~= string then | |
6825 | local time = args[1] | |
6826 | msghook() | |
6827 | if MSGhook == true then | |
6828 | local h = workspace.IYmessage | |
6829 | for i = time, 1, -1 do | |
6830 | wait(1) | |
6831 | h.Text = "Countdown: "..i.."" | |
6832 | end | |
6833 | wait(1) | |
6834 | h.Text = "Times Up!" | |
6835 | wait(2) | |
6836 | h.Text = '' | |
6837 | elseif MSGhook == false then | |
6838 | execCmd("loadm") | |
6839 | repeat wait() until workspace:FindFirstChild("IYmessage") | |
6840 | local h = workspace.IYmessage | |
6841 | for i = time, 1, -1 do | |
6842 | wait(1) | |
6843 | h.Text = "Countdown: "..i.."" | |
6844 | end | |
6845 | wait(1) | |
6846 | h.Text = "Times Up!" | |
6847 | wait(2) | |
6848 | h.Text = '' | |
6849 | end | |
6850 | end | |
6851 | end) | |
6852 | ||
6853 | addcmd('explode', 'explode a player', {}, | |
6854 | function(args, speaker) | |
6855 | local players = getPlayer(args[1], speaker) | |
6856 | for i, v in pairs(players) do | |
6857 | local char = _char(v) | |
6858 | if char:FindFirstChild("HumanoidRootPart") then | |
6859 | Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position | |
6860 | end | |
6861 | end | |
6862 | end) | |
6863 | ||
6864 | addcmd('flood', 'makes a flood e.e', {}, | |
6865 | function(args, speaker) | |
6866 | workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") | |
6867 | end) | |
6868 | ||
6869 | addcmd('spookyify', 'makes it sp00ky', {}, | |
6870 | function(args, speaker) | |
6871 | local music = Instance.new("Sound", workspace) | |
6872 | music.SoundId = "http://www.roblox.com/asset/?id=257569267" | |
6873 | music.Volume = 20 | |
6874 | music.Looped = true | |
6875 | music:Play() | |
6876 | ||
6877 | tex1 = "http://www.roblox.com/asset/?id=185495987" | |
6878 | tex2 = "http://www.roblox.com/asset/?id=260858020" | |
6879 | tex3 = "http://www.roblox.com/asset/?id=149213919" | |
6880 | tex4 = "http://www.roblox.com/asset/?id=171905673" | |
6881 | ||
6882 | local w = workspace:GetChildren() | |
6883 | ||
6884 | for i= 1,#w do | |
6885 | if w[i]:isA("BasePart") then | |
6886 | pe = Instance.new("ParticleEmitter", w[i]) | |
6887 | pe.Texture = tex4 | |
6888 | pe.VelocitySpread = 5 | |
6889 | end | |
6890 | end | |
6891 | ||
6892 | local playerLeaderstats = {} | |
6893 | for i, v in pairs(gPlayers:GetChildren()) do | |
6894 | table.insert(playerLeaderstats, v) | |
6895 | end | |
6896 | for i, v in pairs(playerLeaderstats) do | |
6897 | pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart) | |
6898 | pe.Texture = "http://www.roblox.com/asset/?id=171905673" | |
6899 | pe.VelocitySpread = 50 | |
6900 | end | |
6901 | ||
6902 | texture = "http://www.roblox.com/asset/?id=185495987" | |
6903 | ||
6904 | local A = workspace:GetChildren() | |
6905 | local B = workspace:GetChildren() | |
6906 | local C = workspace:GetChildren() | |
6907 | local D = workspace:GetChildren() | |
6908 | local E = workspace:GetChildren() | |
6909 | local F = workspace:GetChildren() | |
6910 | for i,v in pairs(A) do | |
6911 | if v:IsA("Part") then | |
6912 | local d = Instance.new("Decal",v) | |
6913 | v.Decal.Face = "Top" | |
6914 | v.Decal.Texture = texture | |
6915 | v.Anchored = true | |
6916 | end | |
6917 | end | |
6918 | ||
6919 | for i,v in pairs(B) do | |
6920 | if v:IsA("Part") then | |
6921 | local s = Instance.new("Decal",v) | |
6922 | s.Face = "Front" | |
6923 | s.Texture = texture | |
6924 | end | |
6925 | end | |
6926 | ||
6927 | for i,v in pairs(C) do | |
6928 | if v:IsA("Part") then | |
6929 | local h = Instance.new("Decal",v) | |
6930 | h.Face = "Back" | |
6931 | h.Texture = texture | |
6932 | end | |
6933 | end | |
6934 | ||
6935 | for i,v in pairs(D) do | |
6936 | if v:IsA("Part") then | |
6937 | local j = Instance.new("Decal",v) | |
6938 | j.Face = "Left" | |
6939 | j.Texture = texture | |
6940 | end | |
6941 | end | |
6942 | ||
6943 | for i,v in pairs(E) do | |
6944 | if v:IsA("Part") then | |
6945 | local k = Instance.new("Decal",v) | |
6946 | k.Face = "Right" | |
6947 | k.Texture = texture | |
6948 | end | |
6949 | end | |
6950 | ||
6951 | for i,v in pairs(F) do | |
6952 | if v:IsA("Part") then | |
6953 | local l = Instance.new("Decal",v) | |
6954 | l.Face = "Bottom" | |
6955 | l.Texture = texture | |
6956 | end | |
6957 | ||
6958 | imageOne = "http://www.roblox.com/asset/?id=169585459" | |
6959 | imageTwo = "http://www.roblox.com/asset/?id=169585475" | |
6960 | imageThree = "http://www.roblox.com/asset/?id=169585485" | |
6961 | imageFour = "http://www.roblox.com/asset/?id=169585502" | |
6962 | imageFive = "http://www.roblox.com/asset/?id=169585515" | |
6963 | imageSix = "http://www.roblox.com/asset/?id=169585502" | |
6964 | imageSeven = "http://www.roblox.com/asset/?id=169585485" | |
6965 | imageEight = "http://www.roblox.com/asset/?id=169585475" | |
6966 | ||
6967 | Spooky = Instance.new("Sound", workspace) | |
6968 | Spooky.Name = "Spooky" | |
6969 | Spooky.SoundId = "rbxassetid://174270407" | |
6970 | Spooky.Volume = 15 | |
6971 | Spooky.Looped = true | |
6972 | Spooky:Play() | |
6973 | ||
6974 | Sky = Instance.new("Sky", LightingService) | |
6975 | Sky.SkyboxBk = imageOne | |
6976 | Sky.SkyboxDn = imageOne | |
6977 | Sky.SkyboxFt = imageOne | |
6978 | Sky.SkyboxLf = imageOne | |
6979 | Sky.SkyboxRt = imageOne | |
6980 | Sky.SkyboxUp = imageOne | |
6981 | ||
6982 | ||
6983 | while true do | |
6984 | Sky.SkyboxBk = imageOne | |
6985 | Sky.SkyboxDn = imageOne | |
6986 | Sky.SkyboxFt = imageOne | |
6987 | Sky.SkyboxLf = imageOne | |
6988 | Sky.SkyboxRt = imageOne | |
6989 | Sky.SkyboxUp = imageOne | |
6990 | wait(0.15) | |
6991 | Sky.SkyboxBk = imageTwo | |
6992 | Sky.SkyboxDn = imageTwo | |
6993 | Sky.SkyboxFt = imageTwo | |
6994 | Sky.SkyboxLf = imageTwo | |
6995 | Sky.SkyboxRt = imageTwo | |
6996 | Sky.SkyboxUp = imageTwo | |
6997 | wait(0.15) | |
6998 | Sky.SkyboxBk = imageThree | |
6999 | Sky.SkyboxDn = imageThree | |
7000 | Sky.SkyboxFt = imageThree | |
7001 | Sky.SkyboxLf = imageThree | |
7002 | Sky.SkyboxRt = imageThree | |
7003 | Sky.SkyboxUp = imageThree | |
7004 | wait(0.15) | |
7005 | Sky.SkyboxBk = imageFour | |
7006 | Sky.SkyboxDn = imageFour | |
7007 | Sky.SkyboxFt = imageFour | |
7008 | Sky.SkyboxLf = imageFour | |
7009 | Sky.SkyboxRt = imageFour | |
7010 | Sky.SkyboxUp = imageFour | |
7011 | wait(0.15) | |
7012 | Sky.SkyboxBk = imageFive | |
7013 | Sky.SkyboxDn = imageFive | |
7014 | Sky.SkyboxFt = imageFive | |
7015 | Sky.SkyboxLf = imageFive | |
7016 | Sky.SkyboxRt = imageFive | |
7017 | Sky.SkyboxUp = imageFive | |
7018 | wait(0.15) | |
7019 | Sky.SkyboxBk = imageSix | |
7020 | Sky.SkyboxDn = imageSix | |
7021 | Sky.SkyboxFt = imageSix | |
7022 | Sky.SkyboxLf = imageSix | |
7023 | Sky.SkyboxRt = imageSix | |
7024 | Sky.SkyboxUp = imageSix | |
7025 | wait(0.15) | |
7026 | Sky.SkyboxBk = imageSeven | |
7027 | Sky.SkyboxDn = imageSeven | |
7028 | Sky.SkyboxFt = imageSeven | |
7029 | Sky.SkyboxLf = imageSeven | |
7030 | Sky.SkyboxRt = imageSeven | |
7031 | Sky.SkyboxUp = imageSeven | |
7032 | wait(0.15) | |
7033 | Sky.SkyboxBk = imageEight | |
7034 | Sky.SkyboxDn = imageEight | |
7035 | Sky.SkyboxFt = imageEight | |
7036 | Sky.SkyboxLf = imageEight | |
7037 | Sky.SkyboxRt = imageEight | |
7038 | Sky.SkyboxUp = imageEight | |
7039 | wait(0.15) | |
7040 | ||
7041 | end | |
7042 | end | |
7043 | end) | |
7044 | ||
7045 | addcmd('invisible', 'make a player invisible',{'invis'}, | |
7046 | function(args, speaker) | |
7047 | local players = getPlayer(args[1], speaker) | |
7048 | for i, v in pairs(players) do | |
7049 | for k, v2 in pairs(_char(v):GetChildren()) do | |
7050 | if v2.className == "Part" then | |
7051 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end | |
7052 | elseif v2.className == "Accessory" then | |
7053 | if v2:FindFirstChild("Handle") then | |
7054 | v2.Handle.Transparency = 1 | |
7055 | end | |
7056 | end | |
7057 | if v2:FindFirstChild("face") then | |
7058 | v2.face.Transparency = 1 | |
7059 | end | |
7060 | end | |
7061 | end | |
7062 | end) | |
7063 | ||
7064 | addcmd('visible', 'make a player visible',{'vis'}, | |
7065 | function(args, speaker) | |
7066 | local players = getPlayer(args[1], speaker) | |
7067 | for i, v in pairs(players) do | |
7068 | for k, v2 in pairs(_char(v):GetChildren()) do | |
7069 | if v2.className == "Part" then | |
7070 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then | |
7071 | if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end | |
7072 | end | |
7073 | if v2:FindFirstChild("face") then | |
7074 | v2.face.Transparency = 0 | |
7075 | end | |
7076 | end | |
7077 | end | |
7078 | end) | |
7079 | ||
7080 | addcmd('goto', 'go to a player',{'to'}, | |
7081 | function(args, speaker) | |
7082 | local players = getPlayer(args[1], speaker) | |
7083 | if _char(players[1]) ~= nil then | |
7084 | if speaker.Character:FindFirstChild("Humanoid") then | |
7085 | speaker.Character.Humanoid.Jump = true | |
7086 | end | |
7087 | speaker.Character:MoveTo(_char(players[1]).HumanoidRootPart.Position) | |
7088 | end | |
7089 | end) | |
7090 | ||
7091 | addcmd('bring', 'bring a player to you',{}, | |
7092 | function(args, speaker) | |
7093 | local players = getPlayer(args[1], speaker) | |
7094 | for i,v in pairs(players) do | |
7095 | if _char(v) ~= nil then | |
7096 | if _char(v):FindFirstChild("Humanoid") then | |
7097 | _char(v).Humanoid.Jump = true | |
7098 | _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position) | |
7099 | end | |
7100 | wait(0.1) | |
7101 | _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position) | |
7102 | end | |
7103 | end | |
7104 | end) | |
7105 | ||
7106 | addcmd('tp', 'teleport player 1 to player 2',{}, | |
7107 | function(args, speaker) | |
7108 | local players1=getPlayer(args[1], speaker) | |
7109 | local players2=getPlayer(args[2], speaker) | |
7110 | if not players2[1] then return end | |
7111 | for i,v in pairs(players1) do | |
7112 | if _char(v) ~= nil and _char(players2[1]) ~= nil then | |
7113 | if _char(v):FindFirstChild("Humanoid") then | |
7114 | _char(v).Humanoid.Jump = true | |
7115 | _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position) | |
7116 | end | |
7117 | wait(0.1) | |
7118 | _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position) | |
7119 | end | |
7120 | end | |
7121 | end) | |
7122 | ||
7123 | local WayPoints = {} | |
7124 | addcmd("savepos","sets a waypoint at the speaker's position",{'spos'}, | |
7125 | function(args, speaker) | |
7126 | local WPName = tostring(GLS(false, 0)) | |
7127 | if speaker.Character:findFirstChild("HumanoidRootPart") then | |
7128 | Notify("Created waypoint: "..GLS(false, 0)) | |
7129 | local torso = speaker.Character:findFirstChild("HumanoidRootPart") | |
7130 | WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}} | |
7131 | updatepositions() | |
7132 | end | |
7133 | end) | |
7134 | ||
7135 | addcmd("deletepos","sets a waypoint at the speaker's position",{'dpos'}, | |
7136 | function(args, speaker) | |
7137 | for i,v in pairs(WayPoints) do | |
7138 | if v.NAME == tostring(GLS(false, 0)) then | |
7139 | Notify("Deleted waypoint: " .. v.NAME) | |
7140 | table.remove(WayPoints, i) | |
7141 | updatepositions() | |
7142 | end end | |
7143 | end) | |
7144 | ||
7145 | ||
7146 | addcmd("loadpos","teleports a player to a waypoint",{'lpos'}, | |
7147 | function(args, speaker) | |
7148 | local players = getPlayer(args[1], speaker) | |
7149 | local WPName = tostring(GLS(false, 1)) | |
7150 | for i,v in pairs(players) do | |
7151 | if gPlayers[v] and gPlayers[v].Character then | |
7152 | for i,_ in pairs(WayPoints) do | |
7153 | local x = WayPoints[i].COORD[1] | |
7154 | local y = WayPoints[i].COORD[2] | |
7155 | local z = WayPoints[i].COORD[3] | |
7156 | if tostring(WayPoints[i].NAME) == tostring(WPName) then | |
7157 | gPlayers[v].Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z) | |
7158 | end | |
7159 | end | |
7160 | end | |
7161 | end | |
7162 | end) | |
7163 | ||
7164 | addcmd('charplr','charplr [plr] [plr]',{'cp'}, | |
7165 | function(args, speaker) | |
7166 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
7167 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
7168 | if _players[v].Character and _players[b].Character then | |
7169 | _players[v].CharacterAppearanceId = _players[b].userId | |
7170 | refresh(_players[v]) | |
7171 | end | |
7172 | end | |
7173 | end | |
7174 | end) | |
7175 | ||
7176 | addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'}, | |
7177 | function(args, speaker) | |
7178 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
7179 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
7180 | spawn(function() | |
7181 | for i,v in pairs(_players[v].Backpack:GetChildren()) do | |
7182 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
7183 | if not _players[b] then | |
7184 | v:Clone().Parent = speaker.Backpack | |
7185 | else v:Clone().Parent = _players[b].Backpack | |
7186 | end | |
7187 | end | |
7188 | end | |
7189 | end) | |
7190 | end | |
7191 | end | |
7192 | end) | |
7193 | ||
7194 | addcmd('char', 'change a players appearance',{}, | |
7195 | function(args, speaker) | |
7196 | local players = getPlayer(args[1], speaker) | |
7197 | if not args[1]or not args[2]then return end | |
7198 | local id=args[2] | |
7199 | if players ~= nil then | |
7200 | for i,v in pairs(players) do | |
7201 | gPlayers[v].CharacterAppearanceId = id | |
7202 | refresh(gPlayers[v]) | |
7203 | end | |
7204 | end | |
7205 | end) | |
7206 | ||
7207 | addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'}, | |
7208 | function(args, speaker) | |
7209 | local players = getPlayer(args[1], speaker) | |
7210 | if players ~= nil then | |
7211 | for i,v in pairs(players) do | |
7212 | gPlayers[v].CharacterAppearanceId = 0 | |
7213 | refresh(gPlayers[v]) | |
7214 | end | |
7215 | end | |
7216 | end) | |
7217 | ||
7218 | addcmd('speed', 'change a players walkspeed',{'ws'}, | |
7219 | function(args, speaker) | |
7220 | local players = getPlayer(args[1], speaker) | |
7221 | if not args[1]or not args[2]then return end | |
7222 | local num=args[2] | |
7223 | for i,v in pairs(players) do | |
7224 | if _char(v):FindFirstChild("Humanoid") then | |
7225 | _char(v).Humanoid.WalkSpeed=tonumber(num) | |
7226 | end | |
7227 | end | |
7228 | end) | |
7229 | ||
7230 | addcmd('jump', 'forces a player to jump',{}, | |
7231 | function(args, speaker) | |
7232 | local players = getPlayer(args[1], speaker) | |
7233 | for i,v in pairs(players) do | |
7234 | if _char(v):FindFirstChild("Humanoid") then | |
7235 | _char(v).Humanoid.Jump = true | |
7236 | end | |
7237 | end | |
7238 | end) | |
7239 | ||
7240 | jumping = {} | |
7241 | addcmd('loopjump','like a bunny :)',{'ljump'}, | |
7242 | function(args, speaker) | |
7243 | local players = getPlayer(args[1], speaker) | |
7244 | for i,v in pairs(players)do | |
7245 | spawn(function() | |
7246 | if FindTable(jumping, _players[v].Name) then return end | |
7247 | table.insert(jumping, _players[v].Name) | |
7248 | repeat wait(0.01) | |
7249 | if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then | |
7250 | if _players[v].Character.Humanoid.Jump ~= true then | |
7251 | _players[v].Character.Humanoid.Jump = true end end | |
7252 | until not FindTable(jumping, _players[v].Name) | |
7253 | end) | |
7254 | end | |
7255 | end) | |
7256 | ||
7257 | addcmd('unljump','unjails player',{'noljump','unloopjump','noloopjump'}, | |
7258 | function(args, speaker) | |
7259 | local players = getPlayer(args[1], speaker) | |
7260 | for i,v in pairs(players)do | |
7261 | spawn(function() | |
7262 | for a,b in pairs(jumping) do if b == _players[v].Name then table.remove(jumping, a) end end | |
7263 | end) | |
7264 | end | |
7265 | end) | |
7266 | ||
7267 | addcmd('sit', 'sit a player',{}, | |
7268 | function(args, speaker) | |
7269 | local players = getPlayer(args[1], speaker) | |
7270 | for i,v in pairs(players) do | |
7271 | if _char(v):FindFirstChild("Humanoid") then | |
7272 | _char(v).Humanoid.Sit = true | |
7273 | end | |
7274 | end | |
7275 | end) | |
7276 | ||
7277 | sitting = {} | |
7278 | addcmd('loopsit','very annoying',{'lsit'}, | |
7279 | function(args, speaker) | |
7280 | local players = getPlayer(args[1], speaker) | |
7281 | for i,v in pairs(players)do | |
7282 | spawn(function() | |
7283 | if FindTable(sitting, _players[v].Name) then return end | |
7284 | table.insert(sitting, _players[v].Name) | |
7285 | repeat wait(0.01) | |
7286 | if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then | |
7287 | if _players[v].Character.Humanoid.Sit ~= true then | |
7288 | _players[v].Character.Humanoid.Sit = true end end | |
7289 | until not FindTable(sitting, _players[v].Name) | |
7290 | end) | |
7291 | end | |
7292 | end) | |
7293 | ||
7294 | addcmd('unlsit','unjails player',{'nolsit','unloopsit','noloopsit'}, | |
7295 | function(args, speaker) | |
7296 | local players = getPlayer(args[1], speaker) | |
7297 | for i,v in pairs(players)do | |
7298 | spawn(function() | |
7299 | for a,b in pairs(sitting) do if b == _players[v].Name then table.remove(sitting, a) end end | |
7300 | end) | |
7301 | end | |
7302 | end) | |
7303 | ||
7304 | addcmd('strength',' strong',{}, | |
7305 | function(args, speaker) | |
7306 | local players = getPlayer(args[1], speaker) | |
7307 | for i,v in pairs(players)do | |
7308 | spawn(function() | |
7309 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7310 | if child.ClassName == "Part" then | |
7311 | child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5) | |
7312 | end | |
7313 | end | |
7314 | end) | |
7315 | end | |
7316 | end) | |
7317 | ||
7318 | addcmd('weaken',' weak',{}, | |
7319 | function(args, speaker) | |
7320 | local players = getPlayer(args[1], speaker) | |
7321 | for i,v in pairs(players)do | |
7322 | spawn(function() | |
7323 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7324 | if child.ClassName == "Part" then | |
7325 | child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5) | |
7326 | end | |
7327 | end | |
7328 | end) | |
7329 | end | |
7330 | end) | |
7331 | ||
7332 | addcmd('unweaken',' undoes strength and weaken',{'unstrength'}, | |
7333 | function(args, speaker) | |
7334 | local players = getPlayer(args[1], speaker) | |
7335 | for i,v in pairs(players)do | |
7336 | spawn(function() | |
7337 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
7338 | if child.ClassName == "Part" then | |
7339 | child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5) | |
7340 | end | |
7341 | end | |
7342 | end) | |
7343 | end | |
7344 | end) | |
7345 | ||
7346 | addcmd('trip','makes a player trip',{}, | |
7347 | function(args, speaker) | |
7348 | local players = getPlayer(args[1], speaker) | |
7349 | for i,v in pairs(players)do | |
7350 | spawn(function() | |
7351 | if _players[v].Character:findFirstChild("Right Leg") then -- credz to Zwolf#3762 | |
7352 | local dir = _players[v].Character:findFirstChild("Right Leg") | |
7353 | dir.Anchored = true | |
7354 | if dir.Anchored == true then | |
7355 | wait(.5) | |
7356 | _players[v].Character.Humanoid.Sit = true | |
7357 | wait(1) | |
7358 | _players[v].Character.Humanoid.Sit = false | |
7359 | dir.Anchored = false | |
7360 | end | |
7361 | end | |
7362 | end) | |
7363 | end | |
7364 | end) | |
7365 | ||
7366 | oofing = false | |
7367 | addcmd('loopoof','very VERY annoying',{}, | |
7368 | function(args, speaker) | |
7369 | oofing = true | |
7370 | repeat wait(0.01) | |
7371 | for i,v in pairs(game:GetService'Players':GetPlayers()) do | |
7372 | if v.Character ~= nil and v.Character:FindFirstChild'Head' then | |
7373 | for _,x in pairs(v.Character.Head:GetChildren()) do | |
7374 | if x:IsA'Sound' then x.Playing = true end | |
7375 | end | |
7376 | end | |
7377 | end | |
7378 | until oofing == false | |
7379 | end) | |
7380 | ||
7381 | addcmd('unloopoof','stops the oof chaos',{}, | |
7382 | function(args, speaker) | |
7383 | oofing = false | |
7384 | end) | |
7385 | ||
7386 | addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'}, | |
7387 | function(args, speaker) | |
7388 | local players = getPlayer(args[1], speaker) | |
7389 | if not args[1]or not args[2]then return end | |
7390 | local num=args[2] | |
7391 | for i,v in pairs(players) do | |
7392 | if _char(v):FindFirstChild("Humanoid") then | |
7393 | _char(v).Humanoid.JumpPower=tonumber(num) | |
7394 | end | |
7395 | end | |
7396 | end) | |
7397 | ||
7398 | addcmd('confuse', 'confusing...',{}, | |
7399 | function(args, speaker) | |
7400 | local players = getPlayer(args[1], speaker) | |
7401 | for i,v in pairs(players) do | |
7402 | spawn(function() | |
7403 | if _char(v):FindFirstChild("Humanoid") then | |
7404 | _char(v).Humanoid.Name = "ConfusedNigga" | |
7405 | while true do | |
7406 | _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6) | |
7407 | _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100)) | |
7408 | wait(0.1) | |
7409 | end | |
7410 | ||
7411 | end | |
7412 | end) | |
7413 | end | |
7414 | end) | |
7415 | ||
7416 | addcmd('unconfuse', 'not confusing...',{}, | |
7417 | function(args, speaker) | |
7418 | local players = getPlayer(args[1], speaker) | |
7419 | for i,v in pairs(players) do | |
7420 | spawn(function() | |
7421 | if _char(v):FindFirstChild("ConfusedNigga") then | |
7422 | _char(v).ConfusedNigga.Name = "Humanoid" | |
7423 | wait(0.3) | |
7424 | _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
7425 | ||
7426 | end | |
7427 | end) | |
7428 | end | |
7429 | end) | |
7430 | ||
7431 | addcmd('cripple', 'cripples a player xddd',{'stun'}, | |
7432 | function(args, speaker) | |
7433 | local players = getPlayer(args[1], speaker) | |
7434 | for i,v in pairs(players) do | |
7435 | if _char(v):FindFirstChild("Humanoid") then | |
7436 | _char(v).Humanoid.PlatformStand = true | |
7437 | end | |
7438 | end | |
7439 | end) | |
7440 | ||
7441 | addcmd('uncripple', 'un cripples a player xddd',{'unstun'}, | |
7442 | function(args, speaker) | |
7443 | local players = getPlayer(args[1], speaker) | |
7444 | for i,v in pairs(players) do | |
7445 | if _char(v):FindFirstChild("Humanoid") then | |
7446 | _char(v).Humanoid.PlatformStand = false | |
7447 | end | |
7448 | end | |
7449 | end) | |
7450 | ||
7451 | addcmd('hipheight', 'adjusts hip height',{'hheight'}, | |
7452 | function(args, speaker) | |
7453 | local players = getPlayer(args[1], speaker) | |
7454 | for i,v in pairs(players) do | |
7455 | if _char(v):FindFirstChild("Humanoid") then | |
7456 | _char(v).Humanoid.HipHeight = args[2] | |
7457 | end | |
7458 | end | |
7459 | end) | |
7460 | ||
7461 | addcmd('face', 'change a players face',{}, | |
7462 | function(args, speaker) | |
7463 | local players = getPlayer(args[1], speaker) | |
7464 | for i,v in pairs(players) do | |
7465 | if _char(v).Head:FindFirstChild("face") then | |
7466 | _char(v).Head.face.Texture = "rbxassetid://" .. args[2] | |
7467 | end | |
7468 | end | |
7469 | end) | |
7470 | ||
7471 | addcmd('time', 'change the time of day',{}, | |
7472 | function(args, speaker) | |
7473 | if not args[1]then return end | |
7474 | Notify('Time set to ' .. args[1]) | |
7475 | LightingService.ClockTime = args[1] | |
7476 | end) | |
7477 | ||
7478 | addcmd('day', 'change the time to day',{}, | |
7479 | function(args, speaker) | |
7480 | LightingService.ClockTime = 15 | |
7481 | end) | |
7482 | ||
7483 | addcmd('night', 'change the time of night',{}, | |
7484 | function(args, speaker) | |
7485 | LightingService.ClockTime = 0 | |
7486 | end) | |
7487 | ||
7488 | addcmd('globalshadows', 'changes the lighting property',{'gshadows'}, | |
7489 | function(args, speaker) | |
7490 | Notify('Turned on global shadows') | |
7491 | LightingService.GlobalShadows = true | |
7492 | end) | |
7493 | ||
7494 | addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'}, | |
7495 | function(args, speaker) | |
7496 | Notify('Turned off global shadows') | |
7497 | LightingService.GlobalShadows = false | |
7498 | end) | |
7499 | ||
7500 | addcmd('outlines', 'changes the lighting property',{}, | |
7501 | function(args, speaker) | |
7502 | Notify('Turned on outlines') | |
7503 | LightingService.Outlines = true | |
7504 | end) | |
7505 | ||
7506 | addcmd('unoutlines', 'changes the lighting property',{'nooutlines'}, | |
7507 | function(args, speaker) | |
7508 | Notify('Turned off outlines') | |
7509 | LightingService.Outlines = false | |
7510 | end) | |
7511 | ||
7512 | addcmd('brightness', 'changes the lighting property',{}, | |
7513 | function(args, speaker) | |
7514 | Notify('Set brightness to ' .. args[1]) | |
7515 | LightingService.Brightness = args[1] | |
7516 | end) | |
7517 | ||
7518 | addcmd('age','tells you the age of a player',{}, | |
7519 | function(args, speaker) | |
7520 | local players = getPlayer(args[1], speaker) | |
7521 | if speaker.userId ~= LP.userId then | |
7522 | lponly(speaker) | |
7523 | else | |
7524 | for i,v in pairs(players) do | |
7525 | game:FindService('StarterGui'):SetCore('SendNotification', { | |
7526 | Title = _players[v].Name, | |
7527 | Text = 'Age: '.._players[v].AccountAge, | |
7528 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]].._players[v].Name..[[&RAND]] .. math.random(1,100000000), | |
7529 | Duration = 5, | |
7530 | }) | |
7531 | end | |
7532 | end | |
7533 | end) | |
7534 | ||
7535 | addcmd('remotespy', 'prints remotes',{'remotes'}, | |
7536 | function(args, speaker) | |
7537 | if speaker.userId ~= LP.userId then | |
7538 | lponly(speaker) | |
7539 | else | |
7540 | Notify('Printing remotes') | |
7541 | function getem(o) | |
7542 | for i,v in pairs(o:children())do | |
7543 | if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then | |
7544 | print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName()) | |
7545 | end | |
7546 | getem(v) | |
7547 | end | |
7548 | end | |
7549 | pcall(getem,game) | |
7550 | end | |
7551 | end) | |
7552 | ||
7553 | addcmd('f3x', 'loads f3x tools',{'fex'}, | |
7554 | function(args, speaker) | |
7555 | if speaker.userId ~= LP.userId then | |
7556 | lponly(speaker) | |
7557 | else | |
7558 | loadstring(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1059691823").Source)() | |
7559 | end | |
7560 | end) | |
7561 | ||
7562 | addcmd('kick', 'kick a player',{}, | |
7563 | function(args, speaker) | |
7564 | local players = getPlayer(args[1], speaker) | |
7565 | for i,v in pairs(players) do | |
7566 | spawn(function() | |
7567 | if FindTable(SPC, args[1]) then Notify('Kicked ' ..args[1]) else | |
7568 | Notify('Kicked player(s)') end | |
7569 | kickF(gPlayers[v]) | |
7570 | end) end end) | |
7571 | ||
7572 | function fadelock(id) | |
7573 | if lockic.ImageTransparency ~= 1 then | |
7574 | for i=1, 10 do | |
7575 | lockic.ImageTransparency = lockic.ImageTransparency + 0.1 | |
7576 | wait(0.01) | |
7577 | end | |
7578 | lockic.ImageTransparency = 1 | |
7579 | end | |
7580 | if id ~= 'off' then | |
7581 | lockic.Image = id | |
7582 | wait(0.2) | |
7583 | for i=1, 10 do | |
7584 | lockic.ImageTransparency = lockic.ImageTransparency - 0.1 | |
7585 | wait(0.01) | |
7586 | end | |
7587 | lockic.ImageTransparency = 0 | |
7588 | end end | |
7589 | ||
7590 | addcmd('serverlock', 'lock teh server',{'slock'}, | |
7591 | function(args, speaker) | |
7592 | slock = true | |
7593 | agelock = false | |
7594 | Notify('Locked Server') | |
7595 | fadelock("rbxassetid://1495252742") | |
7596 | end) | |
7597 | ||
7598 | addcmd('unserverlock', 'unlock teh server',{'unslock'}, | |
7599 | function(args, speaker) | |
7600 | slock = false | |
7601 | Notify('Unlocked Server') | |
7602 | if lockic.Image == "rbxassetid://1495252742" then | |
7603 | fadelock('off') | |
7604 | end | |
7605 | end) | |
7606 | ||
7607 | addcmd('agelock', 'lock teh server for a certain age',{'alock'}, | |
7608 | function(args, speaker) | |
7609 | if isNumber(args[1]) then | |
7610 | Notify('Set the age lock to age ' .. args[1]) | |
7611 | isagelocked = true | |
7612 | slock = false | |
7613 | agelock = tonumber(args[1]) | |
7614 | fadelock("rbxassetid://1495252495") | |
7615 | end | |
7616 | end) | |
7617 | ||
7618 | addcmd('unagelock', 'lock teh server for a certain age',{'unalock','noagelock','noalock'}, | |
7619 | function(args, speaker) | |
7620 | Notify('Disabled age lock') | |
7621 | isagelocked = false | |
7622 | if lockic.Image == "rbxassetid://1495252495" then | |
7623 | fadelock('off') | |
7624 | end | |
7625 | end) | |
7626 | ||
7627 | addcmd('unlockws', 'unlock the whole workspace',{}, | |
7628 | function(args, speaker) | |
7629 | Notify('Workspace unlocked') | |
7630 | wait(1) | |
7631 | local function unlock(instance) | |
7632 | for i,v in pairs(instance:GetChildren()) do | |
7633 | if v:IsA("BasePart") then | |
7634 | v.Locked = false | |
7635 | end | |
7636 | unlock(v) | |
7637 | end | |
7638 | end | |
7639 | unlock(workspace) | |
7640 | end) | |
7641 | ||
7642 | addcmd('lockws', 'lock the whole workspace',{}, | |
7643 | function(args, speaker) | |
7644 | Notify('Workspace locked') | |
7645 | wait(1) | |
7646 | local function lock(instance) | |
7647 | for i,v in pairs(instance:GetChildren()) do | |
7648 | if v:IsA("BasePart") then | |
7649 | v.Locked = true | |
7650 | end | |
7651 | lock(v) | |
7652 | end | |
7653 | end | |
7654 | lock(workspace) | |
7655 | end) | |
7656 | ||
7657 | addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'}, | |
7658 | function(args, speaker) | |
7659 | local function unanchor(instance) | |
7660 | for i,v in pairs(instance:GetChildren()) do | |
7661 | if v:IsA("BasePart") then | |
7662 | v.Anchored=false | |
7663 | end | |
7664 | unanchor(v) | |
7665 | end | |
7666 | end | |
7667 | unanchor(workspace) | |
7668 | end) | |
7669 | ||
7670 | addcmd('anchorws', 'anchor the whole workspace',{'anchor'}, | |
7671 | function(args, speaker) | |
7672 | local function anchor(instance) | |
7673 | for i,v in pairs(instance:GetChildren()) do | |
7674 | if v:IsA("BasePart") then | |
7675 | v.Anchored=true | |
7676 | end | |
7677 | anchor(v) | |
7678 | end | |
7679 | end | |
7680 | anchor(workspace) | |
7681 | end) | |
7682 | ||
7683 | addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'}, | |
7684 | function() | |
7685 | for _,v in pairs(workspace:GetChildren()) do | |
7686 | if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then | |
7687 | v:Destroy() | |
7688 | elseif v:IsA("Terrain") then | |
7689 | v:Clear() | |
7690 | end | |
7691 | end | |
7692 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end | |
7693 | local p = Instance.new("Part", workspace) | |
7694 | p.Anchored = true | |
7695 | p.FormFactor = "Symmetric" | |
7696 | p.Size = Vector3.new(1000,1,1000) | |
7697 | p.Position = Vector3.new(0,0,0) | |
7698 | p.BrickColor = BrickColor.new("Bright green") | |
7699 | p.Material = "Grass" | |
7700 | p.Locked = true | |
7701 | end) | |
7702 | ||
7703 | addcmd('headshake', 'shakes a players head',{}, | |
7704 | function(args, speaker) | |
7705 | local players = getPlayer(args[1], speaker) | |
7706 | for i,v in pairs(players) do | |
7707 | spawn(function() | |
7708 | local shaken = gPlayers[v].Character | |
7709 | for X = 1, math.huge, 0.2 do | |
7710 | wait() | |
7711 | shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0) | |
7712 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
7713 | end | |
7714 | for X = 1, math.huge, 0.1 do | |
7715 | wait() | |
7716 | shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) | |
7717 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
7718 | end | |
7719 | for _,c in pairs(gPlayers:GetChildren()) do | |
7720 | c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100) | |
7721 | end | |
7722 | for _,c in pairs(gPlayers:GetChildren()) do | |
7723 | c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
7724 | end | |
7725 | end) | |
7726 | end | |
7727 | end) | |
7728 | ||
7729 | addcmd('explorer', 'opens DEX',{'dex'}, | |
7730 | function(args, speaker) | |
7731 | if speaker.userId ~= LP.userId then | |
7732 | lponly(speaker) | |
7733 | else | |
7734 | loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)() | |
7735 | end | |
7736 | end) | |
7737 | ||
7738 | addcmd('iyspam', '/shrug',{}, | |
7739 | function(args, speaker) | |
7740 | loadstring(game:HttpGet(('https://pastebin.com/raw/aJ15LAbN'),true))() | |
7741 | end) | |
7742 | ||
7743 | addcmd('firstp', 'forces player to go into first person',{}, | |
7744 | function(args, speaker) | |
7745 | local players = getPlayer(args[1], speaker) | |
7746 | for i,v in pairs(players)do | |
7747 | gPlayers[v].CameraMode = "LockFirstPerson" | |
7748 | end | |
7749 | end) | |
7750 | ||
7751 | addcmd('lock', 'locks a players body parts',{}, | |
7752 | function(args, speaker) | |
7753 | local players = getPlayer(args[1], speaker) | |
7754 | for i,v in pairs(players)do | |
7755 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
7756 | if v:IsA("Part") then | |
7757 | v.Locked = true | |
7758 | end end end | |
7759 | end) | |
7760 | ||
7761 | addcmd('unlock', 'locks a players body parts',{}, | |
7762 | function(args, speaker) | |
7763 | local players = getPlayer(args[1], speaker) | |
7764 | for i,v in pairs(players)do | |
7765 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
7766 | if v:IsA("Part") then | |
7767 | v.Locked = false | |
7768 | end end end | |
7769 | end) | |
7770 | ||
7771 | addcmd('disablereset', 'makes a player unable to reset',{'noreset'}, | |
7772 | function(args, speaker) | |
7773 | local players = getPlayer(args[1], speaker) | |
7774 | for i,v in pairs(players)do | |
7775 | spawn(function() | |
7776 | gPlayers[v].Character.Humanoid.Name = "HumanoidIY" | |
7777 | if FindTable(SPC, args[1]) then Notify('Disabled reset for ' .. args[1]) else | |
7778 | Notify('Disabled reset for player(s)') end | |
7779 | end) | |
7780 | end | |
7781 | end) | |
7782 | ||
7783 | addcmd('enablereset', 'makes a player unable to reset',{'reset'}, | |
7784 | function(args, speaker) | |
7785 | local players = getPlayer(args[1], speaker) | |
7786 | for i,v in pairs(players)do | |
7787 | spawn(function() | |
7788 | gPlayers[v].Character.HumanoidIY.Name = "Humanoid" | |
7789 | if FindTable(SPC, args[1]) then Notify('Enabled reset for ' .. args[1]) else | |
7790 | Notify('Enabled reset for player(s)') end | |
7791 | end) | |
7792 | end | |
7793 | end) | |
7794 | ||
7795 | addcmd("fixlighting","Removes effects from lighting",{'fixl'}, | |
7796 | function(args,speaker) | |
7797 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
7798 | if v:IsA("PostEffect") then | |
7799 | v:Destroy() | |
7800 | end | |
7801 | end | |
7802 | LightingService.Ambient = origsettings.abt | |
7803 | LightingService.OutdoorAmbient = origsettings.oabt | |
7804 | LightingService.Brightness = origsettings.brt | |
7805 | LightingService.TimeOfDay = origsettings.time | |
7806 | LightingService.FogColor = origsettings.fclr | |
7807 | LightingService.FogEnd = origsettings.fe | |
7808 | LightingService.FogStart = origsettings.fs | |
7809 | end) | |
7810 | ||
7811 | addcmd("savelighting","Removes effects from lighting",{'slighting'}, | |
7812 | function(args,speaker) | |
7813 | origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time = | |
7814 | LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart} | |
7815 | Notify('Saved lighting settings') | |
7816 | end) | |
7817 | ||
7818 | addcmd("blackandwhite","Makes the game black and white",{}, | |
7819 | function(args,speaker) | |
7820 | local lighting = game:GetService("Lighting") | |
7821 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7822 | effect.Saturation = -1 | |
7823 | end) | |
7824 | ||
7825 | addcmd("invert","Makes the game inverted",{}, | |
7826 | function(args,speaker) | |
7827 | local lighting = game:GetService("Lighting") | |
7828 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7829 | effect.Saturation = -1 | |
7830 | local effect = Instance.new("ColorCorrectionEffect",lighting) | |
7831 | effect.Saturation = -1 | |
7832 | end) | |
7833 | ||
7834 | addcmd("sun","Intensifys the sun",{}, | |
7835 | function(args,speaker) | |
7836 | local intense = args[1] or 0.25 | |
7837 | local spread = args[2] or 1 | |
7838 | local lighting = game:GetService("Lighting") | |
7839 | local effect = Instance.new("SunRaysEffect",lighting) | |
7840 | effect.Name = "IYsun" | |
7841 | effect.Intensity = tonumber(intense) | |
7842 | effect.Spread = tonumber(spread) | |
7843 | end) | |
7844 | ||
7845 | addcmd('base', 'spawns a base',{}, | |
7846 | function(args, speaker) | |
7847 | local pt = Instance.new("Part") | |
7848 | pt.BrickColor = BrickColor.new("Silver") | |
7849 | pt.Anchored = true | |
7850 | pt.CanCollide = true | |
7851 | pt.BottomSurface = "Weld" | |
7852 | pt.Parent = workspace | |
7853 | pt.Name = (math.random(1,1000000)) | |
7854 | pt.Size = Vector3.new(1000, 1, 1000) | |
7855 | pt.Locked = true | |
7856 | Notify('Created new base') | |
7857 | end) | |
7858 | ||
7859 | addcmd('unblur', 'removes all blur instances',{'noblur'}, | |
7860 | function(args, speaker) | |
7861 | for i,v in pairs(LightingService:GetChildren()) do | |
7862 | if v:IsA('BlurEffect') then | |
7863 | v:Destroy() | |
7864 | end | |
7865 | end | |
7866 | end) | |
7867 | ||
7868 | addcmd('thirdp', 'allows player to go into third person',{}, | |
7869 | function(args, speaker) | |
7870 | local players = getPlayer(args[1], speaker) | |
7871 | for i,v in pairs(players)do | |
7872 | gPlayers[v].CameraMode = "Classic" | |
7873 | end | |
7874 | end) | |
7875 | ||
7876 | addcmd('chat', 'forces player to chat what you input',{}, | |
7877 | function(args, speaker) | |
7878 | local players = getPlayer(args[1], speaker) | |
7879 | for i,v in pairs(players)do | |
7880 | game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3) | |
7881 | end | |
7882 | end) | |
7883 | ||
7884 | addcmd('name', 'names player',{}, | |
7885 | function(args, speaker) | |
7886 | local players = getPlayer(args[1], speaker) | |
7887 | if not args[1] then return end | |
7888 | for i,v in pairs(players) do | |
7889 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7890 | if mod:FindFirstChild("TAG") then | |
7891 | gPlayers[v].Character.Head.Transparency = 0 | |
7892 | mod:Destroy() | |
7893 | end | |
7894 | end | |
7895 | ||
7896 | local char = gPlayers[v].Character | |
7897 | local model = Instance.new("Model", char) | |
7898 | local clone = char.Head:Clone() | |
7899 | local hum = Instance.new("Humanoid", model) | |
7900 | local weld = Instance.new("Weld", clone) | |
7901 | model.Name = GLS(false, 1) | |
7902 | clone.Parent = model | |
7903 | hum.Name = "TAG" | |
7904 | hum.MaxHealth = 100 | |
7905 | hum.Health = 100 | |
7906 | weld.Part0 = clone | |
7907 | weld.Part1 = char.Head | |
7908 | char.Head.Transparency = 1 | |
7909 | end | |
7910 | end) | |
7911 | ||
7912 | addcmd('unname', 'unnames player',{'unhidename'}, | |
7913 | function(args, speaker) | |
7914 | local players = getPlayer(args[1], speaker) | |
7915 | local name = (args[2]) | |
7916 | for i,v in pairs(players) do | |
7917 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7918 | if mod:FindFirstChild("TAG") then | |
7919 | gPlayers[v].Character.Head.Transparency = 0 | |
7920 | mod:Destroy() | |
7921 | end | |
7922 | end | |
7923 | end | |
7924 | end) | |
7925 | ||
7926 | addcmd('noname', 'hides the players name',{'hidename'}, | |
7927 | function(args, speaker) | |
7928 | local players = getPlayer(args[1], speaker) | |
7929 | for i,v in pairs(players) do | |
7930 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
7931 | if mod:FindFirstChild("TAG") then | |
7932 | gPlayers[v].Character.Head.Transparency = 0 | |
7933 | mod:Destroy() | |
7934 | end | |
7935 | end | |
7936 | ||
7937 | local char = gPlayers[v].Character | |
7938 | local model = Instance.new("Model", char) | |
7939 | local clone = char.Head:Clone() | |
7940 | local hum = Instance.new("Humanoid", model) | |
7941 | local weld = Instance.new("Weld", clone) | |
7942 | model.Name = "" | |
7943 | clone.Parent = model | |
7944 | hum.Name = "TAG" | |
7945 | hum.MaxHealth = 100 | |
7946 | hum.Health = 100 | |
7947 | weld.Part0 = clone | |
7948 | weld.Part1 = char.Head | |
7949 | char.Head.Transparency = 1 | |
7950 | end | |
7951 | end) | |
7952 | ||
7953 | addcmd('damage', 'damages a player',{}, | |
7954 | function(args, speaker) | |
7955 | local players = getPlayer(args[1], speaker) | |
7956 | for i,v in pairs(players) do | |
7957 | gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25 | |
7958 | end | |
7959 | end) | |
7960 | ||
7961 | addcmd('view', 'views player',{'spectate'}, | |
7962 | function(args, speaker) | |
7963 | local players = getPlayer(args[1], speaker) | |
7964 | for i,v in pairs(players) do | |
7965 | workspace.CurrentCamera.CameraSubject = gPlayers[v].Character | |
7966 | Notify('Viewing ' .. gPlayers[v].Name) | |
7967 | end | |
7968 | end) | |
7969 | ||
7970 | addcmd('unview', 'stops viewing player',{'unspectate'}, | |
7971 | function() | |
7972 | workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
7973 | Notify('View turned off') | |
7974 | end) | |
7975 | ||
7976 | addcmd('nolimbs', 'removes limbs from player',{'rlimbs'}, | |
7977 | function(args, speaker) | |
7978 | local players = getPlayer(args[1], speaker) | |
7979 | for i,v in pairs(players) do | |
7980 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
7981 | if v:IsA("BasePart") and | |
7982 | v.Name == "Right Leg" or | |
7983 | v.Name == "Left Leg" or | |
7984 | v.Name == "Right Arm" or | |
7985 | v.Name == "Left Arm" then | |
7986 | v:Destroy() | |
7987 | end | |
7988 | end | |
7989 | end | |
7990 | end) | |
7991 | ||
7992 | addcmd('noarms', 'removes arms from player',{'rarms'}, | |
7993 | function(args, speaker) | |
7994 | local players = getPlayer(args[1], speaker) | |
7995 | for i,v in pairs(players) do | |
7996 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
7997 | if v:IsA("BasePart") and | |
7998 | v.Name == "Right Arm" or | |
7999 | v.Name == "Left Arm" then | |
8000 | v:Destroy() | |
8001 | end | |
8002 | end | |
8003 | end | |
8004 | end) | |
8005 | ||
8006 | addcmd('torso', 'just a torso....',{}, | |
8007 | function(args, speaker) | |
8008 | local players = getPlayer(args[1], speaker) | |
8009 | for i,v in pairs(players) do | |
8010 | spawn(function() | |
8011 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
8012 | if v:IsA("BasePart") and | |
8013 | v.Name == "Right Leg" or | |
8014 | v.Name == "Left Leg" or | |
8015 | v.Name == "Right Arm" or | |
8016 | v.Name == "Left Arm" or | |
8017 | v:IsA('Decal') or v:IsA('Texture') or | |
8018 | v:IsA('Accessory') then | |
8019 | v:Destroy() | |
8020 | end | |
8021 | end | |
8022 | gPlayers[v].Character.Head.Transparency = 1 | |
8023 | end) | |
8024 | end | |
8025 | end) | |
8026 | ||
8027 | addcmd('box', 'creates a box around player',{}, | |
8028 | function(args, speaker) | |
8029 | local players = getPlayer(args[1], speaker) | |
8030 | for i,v in pairs(players)do | |
8031 | local pchar=_char(v) | |
8032 | local SB = Instance.new("SelectionBox", pchar) | |
8033 | SB.Adornee = SB.Parent | |
8034 | end | |
8035 | end) | |
8036 | ||
8037 | addcmd('nobox', 'takes away box from player',{'unbox'}, | |
8038 | function(args, speaker) | |
8039 | local players = getPlayer(args[1], speaker) | |
8040 | for i,v in pairs(players)do | |
8041 | local pchar=_char(v) | |
8042 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
8043 | if v:IsA("SelectionBox") then | |
8044 | v:Destroy() | |
8045 | end | |
8046 | end | |
8047 | end | |
8048 | end) | |
8049 | ||
8050 | addcmd('ghost', 'ghostifys player',{}, | |
8051 | function(args, speaker) | |
8052 | local players = getPlayer(args[1], speaker) | |
8053 | for i,v in pairs(players)do | |
8054 | local pchar=gPlayers[v].Character | |
8055 | pchar.Head.Transparency = 0.5 | |
8056 | pchar.Torso.Transparency = 0.5 | |
8057 | pchar["Left Arm"].Transparency = 0.5 | |
8058 | pchar["Right Arm"].Transparency = 0.5 | |
8059 | pchar["Left Leg"].Transparency = 0.5 | |
8060 | pchar["Right Leg"].Transparency = 0.5 | |
8061 | pchar.Head.face.Transparency = 0.5 | |
8062 | end | |
8063 | end) | |
8064 | ||
8065 | addcmd('unghost', 'unghostifys player',{'noghost'}, | |
8066 | function(args, speaker) | |
8067 | local players = getPlayer(args[1], speaker) | |
8068 | for i,v in pairs(players)do | |
8069 | local pchar=gPlayers[v].Character | |
8070 | pchar.Head.Transparency = 0 | |
8071 | pchar.Torso.Transparency = 0 | |
8072 | pchar["Left Arm"].Transparency = 0 | |
8073 | pchar["Right Arm"].Transparency = 0 | |
8074 | pchar["Left Leg"].Transparency = 0 | |
8075 | pchar["Right Leg"].Transparency = 0 | |
8076 | pchar.Head.face.Transparency = 0 | |
8077 | end | |
8078 | end) | |
8079 | ||
8080 | addcmd('sphere', 'puts sphere around player',{}, | |
8081 | function(args, speaker) | |
8082 | local players = getPlayer(args[1], speaker) | |
8083 | for i,v in pairs(players)do | |
8084 | local pchar=gPlayers[v].Character | |
8085 | local SS = Instance.new("SelectionSphere", pchar) | |
8086 | SS.Adornee = SS.Parent | |
8087 | end | |
8088 | end) | |
8089 | ||
8090 | addcmd('unsphere', 'removes sphere around player',{}, | |
8091 | function(args, speaker) | |
8092 | local players = getPlayer(args[1], speaker) | |
8093 | for i,v in pairs(players)do | |
8094 | local pchar=_char(v) | |
8095 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
8096 | if v:IsA("SelectionSphere") then | |
8097 | v:Destroy() | |
8098 | end | |
8099 | end | |
8100 | end | |
8101 | end) | |
8102 | ||
8103 | addcmd('ambient','changes ambient',{}, | |
8104 | function(args, speaker) | |
8105 | LightingService.Ambient = Color3.fromRGB(args[1],args[2],args[3]) | |
8106 | LightingService.OutdoorAmbient = Color3.fromRGB(args[1],args[2],args[3]) | |
8107 | end) | |
8108 | ||
8109 | addcmd('fogend','changes the fogend',{}, | |
8110 | function(args, speaker) | |
8111 | LightingService.FogEnd = args[1] | |
8112 | end) | |
8113 | ||
8114 | addcmd('fogcolor','changes the fogs color',{}, | |
8115 | function(args, speaker) | |
8116 | LightingService.FogColor = Color3.fromRGB(args[1],args[2],args[3]) | |
8117 | end) | |
8118 | ||
8119 | injail = {} | |
8120 | addcmd('jail','jails player',{}, | |
8121 | function(args, speaker) | |
8122 | local players = getPlayer(args[1], speaker) | |
8123 | for i,v in pairs(players)do | |
8124 | spawn(function() | |
8125 | if FindTable(injail, _players[v].Name) then return end | |
8126 | table.insert(injail, _players[v].Name) | |
8127 | local pchar=gPlayers[v].Character | |
8128 | local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name | |
8129 | repeat wait(0.5) | |
8130 | 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 | |
8131 | until not FindTable(injail, _players[v].Name) | |
8132 | end) | |
8133 | end | |
8134 | end) | |
8135 | ||
8136 | addcmd('unjail','unjails player',{}, | |
8137 | function(args, speaker) | |
8138 | local players = getPlayer(args[1], speaker) | |
8139 | for i,v in pairs(players)do | |
8140 | spawn(function() | |
8141 | for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end | |
8142 | workspace["JAIL_" .. _players[v].Name]:Destroy() | |
8143 | end) | |
8144 | end | |
8145 | end) | |
8146 | ||
8147 | loopn = {} | |
8148 | addcmd('loopname','loops a players name',{'lname'}, | |
8149 | function(args, speaker) | |
8150 | local players = getPlayer(args[1], speaker) | |
8151 | for i,v in pairs(players)do | |
8152 | spawn(function() | |
8153 | if FindTable(loopn, _players[v].Name) then return end | |
8154 | table.insert(loopn, _players[v].Name) | |
8155 | local Lname = GLS(false, 1) | |
8156 | local pchar=gPlayers[v].Character | |
8157 | pchar.Name = Lname | |
8158 | if FindTable(SPC, args[1]) then Notify('Looping name for ' .. args[1] .. ' (only visible to others)') else | |
8159 | Notify('Looping name for player(s) (only visible to others)') end | |
8160 | repeat wait(0.01) | |
8161 | repeat wait() until _players[v].Character | |
8162 | gPlayers[v].Character.Name = Lname | |
8163 | until not FindTable(loopn, _players[v].Name) | |
8164 | end) | |
8165 | end | |
8166 | end) | |
8167 | ||
8168 | addcmd('unloopname','unjails player',{'noloopname','unlname','nolname'}, | |
8169 | function(args, speaker) | |
8170 | local players = getPlayer(args[1], speaker) | |
8171 | for i,v in pairs(players)do | |
8172 | spawn(function() | |
8173 | local pchar=gPlayers[v].Character | |
8174 | for a,b in pairs(loopn) do if b == _players[v].Name then table.remove(loopn, a) end end | |
8175 | wait(0.5) | |
8176 | if FindTable(SPC, args[1]) then Notify('Stopped looping name for ' .. args[1]) else | |
8177 | Notify('Stopped looping name for player(s)') end | |
8178 | pchar.Name = gPlayers[v].Name | |
8179 | end) | |
8180 | end | |
8181 | end) | |
8182 | ||
8183 | addcmd('loopbring','loop brings a player lol',{}, | |
8184 | function(args, speaker) | |
8185 | local players = getPlayer(args[1], speaker) | |
8186 | for i,v in pairs(players)do | |
8187 | spawn(function() | |
8188 | if FindTable(bringT, _players[v].Name) then return end | |
8189 | table.insert(bringT, _players[v].Name) | |
8190 | local pchar=gPlayers[v].Character | |
8191 | pchar.Humanoid.Jump = true | |
8192 | repeat wait(0.5) | |
8193 | pchar = _players[v].Character | |
8194 | for i,c in pairs(players) do | |
8195 | if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then | |
8196 | pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0) | |
8197 | end | |
8198 | end | |
8199 | until not FindTable(bringT, _players[v].Name) | |
8200 | end) | |
8201 | end | |
8202 | end) | |
8203 | ||
8204 | addcmd('feinvisible','fe invisible',{'feinvis'}, | |
8205 | function(args, speaker) | |
8206 | -- Elite1337#9377 & Timeless#4044 | |
8207 | local function CheckRig() | |
8208 | if Player.Character then | |
8209 | local Humanoid = Player.Character:WaitForChild('Humanoid') | |
8210 | if Humanoid.RigType == Enum.HumanoidRigType.R15 then | |
8211 | return 'R15' | |
8212 | else | |
8213 | return 'R6' | |
8214 | end | |
8215 | end | |
8216 | end | |
8217 | local function InitiateInvis() | |
8218 | local Character = Player.Character | |
8219 | local StoredCF = Character.PrimaryPart.CFrame | |
8220 | local Part = Instance.new('Part',workspace) | |
8221 | Part.Size = Vector3.new(5,0,5) | |
8222 | Part.Anchored = true | |
8223 | Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999)) | |
8224 | Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0) | |
8225 | spawn(function() | |
8226 | wait(3) | |
8227 | Part:Destroy() | |
8228 | end) | |
8229 | if CheckRig() == 'R6' then | |
8230 | local Clone = Character.HumanoidRootPart:Clone() | |
8231 | Character.HumanoidRootPart:Destroy() | |
8232 | Clone.Parent = Character | |
8233 | else | |
8234 | local Clone = Character.LowerTorso.Root:Clone() | |
8235 | Character.LowerTorso.Root:Destroy() | |
8236 | Clone.Parent = Character.LowerTorso | |
8237 | end | |
8238 | end | |
8239 | InitiateInvis() | |
8240 | end) | |
8241 | ||
8242 | addcmd('unloopbring','unjails player',{'noloopbring'}, | |
8243 | function(args, speaker) | |
8244 | local players = getPlayer(args[1], speaker) | |
8245 | for i,v in pairs(players)do | |
8246 | spawn(function() | |
8247 | for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end | |
8248 | end) | |
8249 | end | |
8250 | end) | |
8251 | ||
8252 | strobe = false | |
8253 | addcmd('strobe','makes the server flash',{'flash'}, | |
8254 | function(args, speaker) | |
8255 | if strobe == false then | |
8256 | strobep = Instance.new("ColorCorrectionEffect") | |
8257 | strobep.Brightness = 1 | |
8258 | strobep.Parent = LightingService | |
8259 | strobe = true | |
8260 | repeat wait(0.01) | |
8261 | strobep.Enabled = true | |
8262 | wait(0.01) | |
8263 | strobep.Enabled = false | |
8264 | until strobe == false | |
8265 | end | |
8266 | end) | |
8267 | ||
8268 | addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'}, | |
8269 | function(args, speaker) | |
8270 | strobe = false | |
8271 | strobep:Destroy() | |
8272 | end) | |
8273 | ||
8274 | addcmd('shutdown', 'shuts the server down',{}, | |
8275 | function(args, speaker) | |
8276 | Notify('Broken atm :(') | |
8277 | end) | |
8278 | ||
8279 | addcmd('fekill','oof?',{}, | |
8280 | function(args, speaker) | |
8281 | local players = getPlayer(args[1], speaker) | |
8282 | for i,v in pairs(players)do | |
8283 | -- illremember's cool fe kill script | |
8284 | local Target = gPlayers[v].Name | |
8285 | game:GetService("Players").LocalPlayer.Character.Humanoid.Name = 1 | |
8286 | local l = game:GetService("Players").LocalPlayer.Character["1"]:Clone() | |
8287 | l.Parent = game:GetService("Players").LocalPlayer.Character | |
8288 | l.Name = "Humanoid" | |
8289 | wait(0.1) | |
8290 | game:GetService("Players").LocalPlayer.Character["1"]:Destroy() | |
8291 | game.Workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character | |
8292 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = true | |
8293 | wait(0.1) | |
8294 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = false | |
8295 | game:GetService("Players").LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
8296 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
8297 | game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(v) | |
8298 | v.CanBeDropped = true | |
8299 | end | |
8300 | wait(0.1) | |
8301 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame | |
8302 | wait(0.1) | |
8303 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame | |
8304 | wait(0.2) | |
8305 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000)) | |
8306 | end | |
8307 | end) | |
8308 | ||
8309 | addcmd('animation','makes player animate',{'anim'}, | |
8310 | function(args, speaker) | |
8311 | local players = getPlayer(args[1], speaker) | |
8312 | for i,v in pairs(players)do | |
8313 | local pchar=_char(v) | |
8314 | local AnimationId = tostring(args[2]) | |
8315 | local Anim = Instance.new("Animation") | |
8316 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
8317 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
8318 | k:Play() | |
8319 | end | |
8320 | end) | |
8321 | ||
8322 | addcmd('creeper','make the player a creeper',{'crpr'}, | |
8323 | function(args, speaker) | |
8324 | local players = getPlayer(args[1], speaker) | |
8325 | for i,v in pairs(players)do | |
8326 | local pchar = gPlayers[v].Character | |
8327 | if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then | |
8328 | if pchar:FindFirstChild("Shirt") then | |
8329 | pchar.Shirt.Parent = pchar.Torso | |
8330 | end | |
8331 | if pchar:FindFirstChild("Pants") then | |
8332 | pchar.Pants.Parent = pchar.Torso | |
8333 | end | |
8334 | if pchar:FindFirstChild("Shirt Graphic") then | |
8335 | pchar["Shirt Graphic"].Graphic = "" | |
8336 | end | |
8337 | for i,v in pairs(pchar:GetChildren()) do | |
8338 | if v:IsA("Accessory") then | |
8339 | v:Destroy() | |
8340 | end | |
8341 | end | |
8342 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
8343 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0) | |
8344 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0) | |
8345 | pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0) | |
8346 | pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0) | |
8347 | pchar["Body Colors"].HeadColor = BrickColor.new("Bright green") | |
8348 | pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green") | |
8349 | pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green") | |
8350 | pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green") | |
8351 | pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green") | |
8352 | pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green") | |
8353 | end | |
8354 | end | |
8355 | end) | |
8356 | ||
8357 | addcmd('uncreeper','makes player back to normal',{}, | |
8358 | function(args, speaker) | |
8359 | local players = getPlayer(args[1], speaker) | |
8360 | for i,v in pairs(players)do | |
8361 | refresh(gPlayers[v]) | |
8362 | end | |
8363 | end) | |
8364 | ||
8365 | addcmd('crash','crashes a player',{}, | |
8366 | function(args, speaker) | |
8367 | local players = getPlayer(args[1], speaker) | |
8368 | for i,v in pairs(players)do | |
8369 | if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else | |
8370 | if FindTable(SPC, args[1]) then Notify('Crashed ' .. args[1]) else | |
8371 | Notify('Crashed player(s)') end | |
8372 | wait(4) | |
8373 | if gPlayers[v] ~= nil then | |
8374 | for i=1,3600 do | |
8375 | Instance.new("Tool",gPlayers[v].Backpack).Name = "-" | |
8376 | end | |
8377 | wait() | |
8378 | for i=1,3600 do | |
8379 | Instance.new("Tool",gPlayers[v].Backpack).Name = "-" | |
8380 | end | |
8381 | wait() | |
8382 | end | |
8383 | end | |
8384 | end | |
8385 | end) | |
8386 | ||
8387 | addcmd('shrek', 'makes player shrek',{}, | |
8388 | function(args, speaker) | |
8389 | local players = getPlayer(args[1], speaker) | |
8390 | for i,v in pairs(players) do | |
8391 | local pchar = gPlayers[v].Character | |
8392 | for i,v in pairs(pchar:GetChildren()) do | |
8393 | if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") | |
8394 | then | |
8395 | v:Destroy() | |
8396 | end | |
8397 | end | |
8398 | for i,v in pairs(pchar.Head:GetChildren()) do | |
8399 | if v:IsA("Decal") or v:IsA("SpecialMesh") then | |
8400 | v:Destroy() | |
8401 | end | |
8402 | end | |
8403 | ||
8404 | local mesh = Instance.new("SpecialMesh", pchar.Head) | |
8405 | mesh.MeshType = "FileMesh" | |
8406 | pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257" | |
8407 | pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0) | |
8408 | pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869" | |
8409 | ||
8410 | local Shirt = Instance.new("Shirt", gPlayers[v].Character) | |
8411 | local Pants = Instance.new("Pants", gPlayers[v].Character) | |
8412 | ||
8413 | Shirt.ShirtTemplate = "rbxassetid://133078194" | |
8414 | Pants.PantsTemplate = "rbxassetid://133078204" | |
8415 | end | |
8416 | end) | |
8417 | ||
8418 | addcmd('unshrek','makes player back to normal',{}, | |
8419 | function(args, speaker) | |
8420 | local players = getPlayer(args[1], speaker) | |
8421 | for i,v in pairs(players)do | |
8422 | refresh(gPlayers[v]) | |
8423 | end | |
8424 | end) | |
8425 | ||
8426 | addcmd('oof','good things happen',{}, | |
8427 | function(args, speaker) | |
8428 | local players = getPlayer(args[1], speaker) | |
8429 | for i,v in pairs(players)do | |
8430 | spawn(function() | |
8431 | 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 | |
8432 | gPlayers[v].Character.Head.Died.Volume = 10 | |
8433 | gPlayers[v].Character.Head.Died.Pitch = 0.5 | |
8434 | end | |
8435 | execCmd("size " .. gPlayers[v].Name .. ' -1') | |
8436 | execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000') | |
8437 | wait(5) | |
8438 | execCmd("explode " .. gPlayers[v].Name) | |
8439 | wait(0.1) | |
8440 | gPlayers[v].Character.Humanoid.Health = 0 | |
8441 | end) | |
8442 | end | |
8443 | end) | |
8444 | ||
8445 | addcmd('control','controls player',{}, | |
8446 | function(args, speaker) | |
8447 | local players = getPlayer(args[1], speaker) | |
8448 | for i,v in pairs(players)do | |
8449 | spawn(function() | |
8450 | local pchar = gPlayers[v].Character | |
8451 | if gPlayers[v] and pchar then | |
8452 | execCmd("invisible " .. speaker.Name) | |
8453 | pchar.Humanoid.PlatformStand = true | |
8454 | local w = Instance.new("Weld", speaker.Character.Torso) | |
8455 | w.Part0 = speaker.Character.Torso | |
8456 | w.Part1 = pchar.Torso | |
8457 | local w2 = Instance.new("Weld", speaker.Character.Head) | |
8458 | w2.Part0 = speaker.Character.Head | |
8459 | w2.Part1 = pchar.Head | |
8460 | local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm")) | |
8461 | w3.Part0 = speaker.Character:findFirstChild("Right Arm") | |
8462 | w3.Part1 = pchar:findFirstChild("Right Arm") | |
8463 | local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm")) | |
8464 | w4.Part0 = speaker.Character:findFirstChild("Left Arm") | |
8465 | w4.Part1 = pchar:findFirstChild("Left Arm") | |
8466 | local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg")) | |
8467 | w5.Part0 = speaker.Character:findFirstChild("Right Leg") | |
8468 | w5.Part1 = pchar:findFirstChild("Right Leg") | |
8469 | local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg")) | |
8470 | w6.Part0 = speaker.Character:findFirstChild("Left Leg") | |
8471 | w6.Part1 = pchar:findFirstChild("Left Leg") | |
8472 | char.Head.face:Destroy() | |
8473 | for i,v in pairs(pchar:GetChildren()) do | |
8474 | if v:IsA("BasePart") then | |
8475 | v.CanCollide = false | |
8476 | end | |
8477 | end | |
8478 | for i,v in pairs(char:GetChildren()) do | |
8479 | if v:IsA("BasePart") then | |
8480 | v.Transparency = 1 | |
8481 | elseif v:IsA("Accessory") then | |
8482 | v:Destroy() | |
8483 | end | |
8484 | end | |
8485 | pchar.Parent = char | |
8486 | pchar.Humanoid.Changed:connect(function() | |
8487 | pchar.Humanoid.PlatformStand = true | |
8488 | end) | |
8489 | end | |
8490 | end) | |
8491 | end | |
8492 | end) | |
8493 | ||
8494 | addcmd('nuke','nukes player',{}, -- from MML | |
8495 | function(args, speaker) | |
8496 | local players = getPlayer(args[1], speaker) | |
8497 | for i,v in pairs(players)do | |
8498 | spawn(function() | |
8499 | local pchar = gPlayers[v].Character | |
8500 | local Pos = CFrame.new(0,1,0) | |
8501 | if pchar and pchar:FindFirstChild("HumanoidRootPart") then Pos = pchar.HumanoidRootPart.CFrame * CFrame.new(0,1,0) end | |
8502 | 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 | |
8503 | local BlastMesh = Instance.new("SpecialMesh", Blast) BlastMesh.MeshId = "rbxassetid://1290033" BlastMesh.TextureId = "rbxassetid://33145325" BlastMesh.Scale = Vector3.new(0,0,0) | |
8504 | 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) | |
8505 | local WaveMesh = Instance.new("SpecialMesh", Wave) WaveMesh.MeshId = "rbxassetid://3270017" | |
8506 | local Light = Instance.new("PointLight", Blast) Light.Brightness = 1000 Light.Range = 10000 Light.Color = Color3.new(1,0.2,0.2) | |
8507 | ||
8508 | 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) | |
8509 | ||
8510 | gLighting.Brightness = 5 | |
8511 | gLighting.Ambient = Color3.new(1,0.5,0.5) | |
8512 | gLighting.OutdoorAmbient = Color3.new(1,1,1) | |
8513 | ||
8514 | local Exp = Instance.new("Explosion", workspace) | |
8515 | Exp.Position = Pos.p | |
8516 | Exp.BlastPressure = 10000000 | |
8517 | Exp.BlastRadius = 1000000 | |
8518 | Exp.Hit:connect(function(Part) | |
8519 | if Part.Name ~= "Base" and Part.Name ~= "BasePlate" and Part ~= Blast and Part ~= Wave and Part.Name ~= "BlastEx" and Part.Name ~= "WaveEx" then | |
8520 | ypcall(function() | |
8521 | Part.Anchored = false | |
8522 | Part.BrickColor = BrickColor.new("Black") | |
8523 | Part.Material = "Slate" | |
8524 | Part:BreakJoints() | |
8525 | end) | |
8526 | end | |
8527 | end) | |
8528 | ||
8529 | local BoomSound = Instance.new('Sound') BoomSound.Parent = workspace | |
8530 | BoomSound.SoundId = 'rbxassetid://212389494' | |
8531 | BoomSound:Play() | |
8532 | for i = 0,100,0.5 do | |
8533 | Blast.Anchored = true | |
8534 | Wave.Anchored = true | |
8535 | BlastMesh.Scale = Vector3.new(i,i,i) | |
8536 | WaveMesh.Scale = Vector3.new(i^1.3,i^1.3,5) | |
8537 | Blast.CFrame = Pos | |
8538 | wait() | |
8539 | end | |
8540 | BoomSound:Stop() | |
8541 | Blast:Destroy() | |
8542 | Wave:Destroy() | |
8543 | wait() | |
8544 | BoomSound:Destroy() | |
8545 | Effect:Destroy() | |
8546 | for i = 10,5,-1 do | |
8547 | gLighting.Brightness = (i-5) + 1 | |
8548 | gLighting.Ambient = Color3.new(i/10,0.5,0.5) | |
8549 | gLighting.OutdoorAmbient = Color3.new(i/10,i/10,i/10) | |
8550 | wait(0.05) | |
8551 | end | |
8552 | end) | |
8553 | end | |
8554 | end) | |
8555 | ||
8556 | addcmd('dong','gives a player a penis',{'penis'}, | |
8557 | function(args, speaker) | |
8558 | local players = getPlayer(args[1], speaker) | |
8559 | for i,v in pairs(players)do | |
8560 | spawn(function() | |
8561 | if gPlayers[v].Character:FindFirstChild('wang') then | |
8562 | gPlayers[v].Character.wang:destroy() | |
8563 | end | |
8564 | local D = Instance.new('Model', gPlayers[v].Character) | |
8565 | D.Name = 'DONG' | |
8566 | local BG = Instance.new('BodyGyro', gPlayers[v].Character.Torso) | |
8567 | local MAIN = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8568 | local M1 = Instance.new('CylinderMesh', MAIN) | |
8569 | local W1 = Instance.new('Weld', gPlayers[v].Character.Head) | |
8570 | local P1 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8571 | local M2 = Instance.new('SpecialMesh', P1) | |
8572 | local W2 = Instance.new('Weld', P1) | |
8573 | local B1 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8574 | local M3 = Instance.new('SpecialMesh', B1) | |
8575 | local W3 = Instance.new('Weld', B1) | |
8576 | local B2 = Instance.new('Part', gPlayers[v].Character['DONG']) | |
8577 | local M4 = Instance.new('SpecialMesh', B2) | |
8578 | local W4 = Instance.new('Weld', B2) | |
8579 | 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 | |
8580 | 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) | |
8581 | 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 | |
8582 | M2.MeshType = 'Sphere' | |
8583 | W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0) | |
8584 | 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') | |
8585 | M3.Parent = B1 M3.MeshType = 'Sphere' | |
8586 | W3.Part0 = gPlayers[v].Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5) | |
8587 | 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') | |
8588 | M4.MeshType = 'Sphere' | |
8589 | W4.Part0 = gPlayers[v].Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5) | |
8590 | end) | |
8591 | end | |
8592 | end) | |
8593 | ||
8594 | addcmd('undong','gives a player a penis',{'unpenis','nopenis','nodong'}, | |
8595 | function(args, speaker) | |
8596 | local players = getPlayer(args[1], speaker) | |
8597 | for i,v in pairs(players)do | |
8598 | if gPlayers[v].Character:FindFirstChild('DONG') then | |
8599 | gPlayers[v].Character.DONG:destroy() | |
8600 | end end | |
8601 | end) | |
8602 | ||
8603 | addcmd('infect','infects player',{}, | |
8604 | function(args, speaker) | |
8605 | local players = getPlayer(args[1], speaker) | |
8606 | for i,v in pairs(players)do | |
8607 | function infect(rip) | |
8608 | local pchar = gPlayers[v].Character | |
8609 | for i,v in pairs(pchar:GetChildren()) do | |
8610 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then | |
8611 | v:Destroy() | |
8612 | end | |
8613 | end | |
8614 | if pchar.Torso:FindFirstChild("roblox") then | |
8615 | pchar.Torso.roblox:Destroy() | |
8616 | end | |
8617 | if pchar.Head:FindFirstChild("face") then | |
8618 | pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491" | |
8619 | end | |
8620 | if pchar:FindFirstChild("Body Colors") then | |
8621 | local Colors = pchar["Body Colors"] | |
8622 | local Skin = BrickColor.new("Pastel green") | |
8623 | local Clothes = BrickColor.new("Reddish brown") | |
8624 | Colors.HeadColor = Skin | |
8625 | Colors.LeftArmColor = Skin | |
8626 | Colors.RightArmColor = Skin | |
8627 | Colors.LeftLegColor = Clothes | |
8628 | Colors.RightLegColor = Clothes | |
8629 | Colors.TorsoColor = Clothes | |
8630 | end | |
8631 | local w1 = Instance.new("Weld", pchar) | |
8632 | w1.Part0 = pchar["Right Arm"] | |
8633 | w1.Part1 = pchar.Torso | |
8634 | w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
8635 | local w2 = Instance.new("Weld", pchar) | |
8636 | w2.Part0 = pchar["Left Arm"] | |
8637 | w2.Part1 = pchar.Torso | |
8638 | w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
8639 | local rip = false | |
8640 | local connect1 = pchar["Left Arm"].Touched:connect(function(hit) | |
8641 | if connect1 == false then | |
8642 | connect1 = true | |
8643 | if gPlayers:FindFirstChild(hit.Parent.Name) then | |
8644 | infect(gPlayers[hit.Parent.Name]) | |
8645 | end | |
8646 | wait(0.5) | |
8647 | connect1 = true | |
8648 | end | |
8649 | end) | |
8650 | local connect2 = pchar["Right Arm"].Touched:connect(function(hit) | |
8651 | if connect2 == false then | |
8652 | connect2 = true | |
8653 | if gPlayers:FindFirstChild(hit.Parent.Name) then | |
8654 | infect(gPlayers[hit.Parent.Name]) | |
8655 | end | |
8656 | wait(0.5) | |
8657 | connect2 = true | |
8658 | end | |
8659 | end) | |
8660 | local IV = Instance.new("IntValue", pchar) | |
8661 | IV.Name = "Infected" | |
8662 | IV.Value = 0 | |
8663 | IV.Changed:connect(function() | |
8664 | connect1:disconnect() | |
8665 | connect2:disconnect() | |
8666 | end) | |
8667 | end | |
8668 | infect(v) | |
8669 | end | |
8670 | end) | |
8671 | ||
8672 | addcmd('uninfect','makes player back to normal',{}, | |
8673 | function(args, speaker) | |
8674 | local players = getPlayer(args[1], speaker) | |
8675 | for i,v in pairs(players)do | |
8676 | refresh(gPlayers[v]) | |
8677 | end | |
8678 | end) | |
8679 | ||
8680 | addcmd('duck','makes players head a duck',{}, | |
8681 | function(args, speaker) | |
8682 | local players = getPlayer(args[1], speaker) | |
8683 | for i,v in pairs(players)do | |
8684 | local pchar = gPlayers[v].Character | |
8685 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
8686 | if v:IsA("Decal") then | |
8687 | v:Destroy() | |
8688 | end | |
8689 | end | |
8690 | for i,v in pairs(pchar:GetChildren()) do | |
8691 | if v:IsA("Accessory") then | |
8692 | v:Destroy() | |
8693 | end | |
8694 | end | |
8695 | local duck = Instance.new("SpecialMesh", pchar.Torso) | |
8696 | duck.MeshType = "FileMesh" | |
8697 | duck.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
8698 | duck.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
8699 | duck.Scale = Vector3.new(5, 5, 5) | |
8700 | pchar.Head.Transparency = 1 | |
8701 | pchar["Left Arm"].Transparency = 1 | |
8702 | pchar["Right Arm"].Transparency = 1 | |
8703 | pchar["Left Leg"].Transparency = 1 | |
8704 | pchar["Right Leg"].Transparency = 1 | |
8705 | pchar.Head.face.Transparency = 1 | |
8706 | end | |
8707 | end) | |
8708 | ||
8709 | addcmd('mage', 'mage',{}, | |
8710 | function(args, speaker) | |
8711 | if speaker.userId ~= LP.userId then | |
8712 | lponly(speaker) else | |
8713 | if not LP.PlayerGui:FindFirstChild('ChangeArc') then | |
8714 | local arcPackage = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01337781430") | |
8715 | local fakeLighting = arcPackage.Lighting | |
8716 | ||
8717 | local oldgame = game | |
8718 | local oldlighting = oldgame:GetService("Lighting") | |
8719 | ||
8720 | local proLighting = newproxy(true) | |
8721 | local mtL = getmetatable(proLighting) | |
8722 | mtL.__index = function(self,ind) | |
8723 | if fakeLighting:FindFirstChild(ind) then return fakeLighting[ind] end | |
8724 | return oldlighting[ind] | |
8725 | end | |
8726 | mtL.__newindex = function(self,ind,val) | |
8727 | oldlighting[ind] = val | |
8728 | end | |
8729 | mtL.__namecall = function(self,...) | |
8730 | local args = {...} | |
8731 | local method = table.remove(args) | |
8732 | return oldlighting(method,unpack(args)) | |
8733 | end | |
8734 | ||
8735 | local proGame = newproxy(true) | |
8736 | local mt = getmetatable(proGame) | |
8737 | mt.__index = function(self,ind) | |
8738 | if ind == "Lighting" then return proLighting end | |
8739 | return oldgame[ind] | |
8740 | end | |
8741 | mt.__namecall = function(self,...) | |
8742 | local args = {...} | |
8743 | local method = table.remove(args) | |
8744 | if method:lower() == "getservice" and args[1] == "Lighting" then return fakeLighting end | |
8745 | return oldgame(method,unpack(args)) | |
8746 | end | |
8747 | ||
8748 | wait() | |
8749 | local destructAnchored = false | |
8750 | local maxMass = 1000 | |
8751 | ||
8752 | function newCESS(scr) | |
8753 | local newFunc = loadstring(scr.Source) | |
8754 | if type(newFunc) ~= "function" then return end | |
8755 | setfenv(newFunc,setmetatable({script = scr},{ | |
8756 | __index = function(self,ind) | |
8757 | if ind == "game" then return proGame end | |
8758 | return getfenv()[ind] | |
8759 | end, | |
8760 | __newindex = function(self,ind,val) | |
8761 | rawset(self,ind,val) | |
8762 | end | |
8763 | })) | |
8764 | pcall(function()spawn(newFunc)end) | |
8765 | end | |
8766 | ||
8767 | gPlayers.LocalPlayer.Character.Humanoid.MaxHealth = 999999999 | |
8768 | gPlayers.LocalPlayer.Character.Humanoid.Health = 999999999 | |
8769 | ||
8770 | function destroyHook(obj,replacement,par) | |
8771 | obj:GetPropertyChangedSignal("Parent"):Connect(function() | |
8772 | local newObj = replacement:Clone() | |
8773 | if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end | |
8774 | newObj.Parent = par | |
8775 | destroyHook(newObj,replacement,par) | |
8776 | end) | |
8777 | end | |
8778 | ||
8779 | for i,v in pairs(arcPackage.PlayerGui:GetChildren()) do | |
8780 | local newObj = v:Clone() | |
8781 | if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end | |
8782 | newObj.Parent = gPlayers.LocalPlayer.PlayerGui | |
8783 | destroyHook(newObj,v,gPlayers.LocalPlayer.PlayerGui) | |
8784 | end | |
8785 | ||
8786 | function replaceScripts(root) | |
8787 | for i,v in pairs(root:GetChildren()) do | |
8788 | if v:IsA("Script") and not v:IsA("LocalScript") then | |
8789 | local tempStore = {} | |
8790 | for i2,v2 in pairs(v:GetChildren()) do | |
8791 | table.insert(tempStore,v2:Clone()) | |
8792 | end | |
8793 | local newScript = Instance.new("LocalScript",v.Parent) | |
8794 | newScript.Name = v.Name | |
8795 | for i2,v2 in pairs(tempStore) do | |
8796 | v2.Parent = newScript | |
8797 | end | |
8798 | v:Destroy() | |
8799 | end | |
8800 | replaceScripts(v) | |
8801 | end | |
8802 | end | |
8803 | ||
8804 | local player = gPlayers.LocalPlayer | |
8805 | ||
8806 | if not gPlayers.LocalPlayer:FindFirstChild("leaderstats1") then | |
8807 | gPlayers.LocalPlayer.PlayerGui.leaderstats1.Parent = gPlayers.LocalPlayer | |
8808 | end | |
8809 | ||
8810 | if not game.ReplicatedStorage:FindFirstChild("RankScript") then | |
8811 | gPlayers.LocalPlayer.PlayerGui.RankScript.Parent = game.ReplicatedStorage | |
8812 | end | |
8813 | ||
8814 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Element") then | |
8815 | local eTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Element | |
8816 | eTemplate.Name = gPlayers.LocalPlayer.Name.."Element" | |
8817 | eTemplate.Parent = game.ReplicatedStorage | |
8818 | end | |
8819 | ||
8820 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."FakeName") then | |
8821 | local fTemplate = gPlayers.LocalPlayer.PlayerGui.Player1FakeName | |
8822 | fTemplate.Name = gPlayers.LocalPlayer.Name.."FakeName" | |
8823 | fTemplate.Parent = game.ReplicatedStorage | |
8824 | end | |
8825 | ||
8826 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Level") then | |
8827 | local lTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Level | |
8828 | lTemplate.Name = gPlayers.LocalPlayer.Name.."Level" | |
8829 | lTemplate.Parent = game.ReplicatedStorage | |
8830 | end | |
8831 | ||
8832 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Membership") then | |
8833 | local mTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Membership | |
8834 | mTemplate.Name = gPlayers.LocalPlayer.Name.."Membership" | |
8835 | mTemplate.Parent = game.ReplicatedStorage | |
8836 | end | |
8837 | ||
8838 | function getMyPlayerArea() | |
8839 | for i,v in pairs(game.Workspace.BuildingAreas:GetChildren()) do | |
8840 | if v.Player.Value == player.Name then | |
8841 | return v.PlayerArea | |
8842 | end | |
8843 | end | |
8844 | end | |
8845 | ||
8846 | local whitelistedParts = { | |
8847 | ["DamagePart"] = true, | |
8848 | ["Explosion"] = true, | |
8849 | ["Explosion2"] = true, | |
8850 | ["SuperExplosion"] = true, | |
8851 | } | |
8852 | ||
8853 | workspace.DescendantAdded:connect(function(desc) | |
8854 | if desc:IsA("Script") and desc:IsDescendantOf(gPlayers.LocalPlayer.Character) then | |
8855 | newCESS(desc) | |
8856 | elseif whitelistedParts[desc.Parent.Name] and desc:IsA("Script") then | |
8857 | newCESS(desc) | |
8858 | elseif desc:IsA("BodyGyro") then | |
8859 | desc:GetPropertyChangedSignal("MaxTorque"):Connect(function() | |
8860 | desc.MaxTorque = Vector3.new(100000,100000,100000) | |
8861 | end) | |
8862 | --elseif desc:IsA("BodyPosition") then | |
8863 | -- desc:GetPropertyChangedSignal("MaxForce"):Connect(function() | |
8864 | -- desc.MaxForce = Vector3.new(10000,10000,10000) | |
8865 | -- end) | |
8866 | end | |
8867 | end) | |
8868 | ||
8869 | player.Character.Humanoid.MaxHealth = (100+(player.leaderstats1.Level.Value*25)) | |
8870 | player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth | |
8871 | player.PlayerGui.HealthGui.MaxMana.Value = (150+(player.leaderstats1.Level.Value*25)) | |
8872 | player.PlayerGui.HealthGui.MaxXP.Value = (player.leaderstats1.Level.Value*50) | |
8873 | player.PlayerGui.HealthGui.Mana.Value = player.PlayerGui.HealthGui.MaxMana.Value | |
8874 | ||
8875 | wait(1) | |
8876 | ||
8877 | local player = gPlayers.LocalPlayer | |
8878 | ||
8879 | local arcList = player.PlayerGui.ChangeArc.Stuff.ScrollingFrame | |
8880 | local arcTemplate = player.PlayerGui.ChangeArc.Stuff.ChangeTemplate | |
8881 | ||
8882 | local arcToggler = player.PlayerGui.ChangeArc.ArcToggler.Toggle | |
8883 | local arcMoves = player.PlayerGui.ChangeArc.ArcMoves | |
8884 | local arcMovesList = arcMoves.ScrollingFrame | |
8885 | local moveTemplate = player.PlayerGui.ChangeArc.MoveTemplate | |
8886 | ||
8887 | local arcs = {} | |
8888 | ||
8889 | local currentArc = "" | |
8890 | ||
8891 | function getMove(root) | |
8892 | for i,v in pairs(root:GetChildren()) do | |
8893 | if v.Name ~= "Requirement" then | |
8894 | return v | |
8895 | end | |
8896 | end | |
8897 | return nil | |
8898 | end | |
8899 | ||
8900 | for i,v in pairs(fakeLighting.SkillFrames:GetChildren()) do | |
8901 | table.insert(arcs,v) | |
8902 | end | |
8903 | ||
8904 | for i,v in pairs(fakeLighting.Customs:GetChildren()) do | |
8905 | table.insert(arcs,v) | |
8906 | end | |
8907 | ||
8908 | for i,v in pairs(arcs) do | |
8909 | local newTemplate = arcTemplate:Clone() | |
8910 | newTemplate.ArcName.Text = v.Name | |
8911 | newTemplate.Change.MouseButton1Down:connect(function() | |
8912 | currentArc = v.Name | |
8913 | arcToggler.Parent.Visible = true | |
8914 | if fakeLighting.SkillFrames:FindFirstChild(currentArc) then | |
8915 | arcMovesList:ClearAllChildren() | |
8916 | arcToggler.Text = currentArc | |
8917 | arcMoves.Title.Text = currentArc .. " Arc" | |
8918 | for i5,v5 in pairs(fakeLighting.SkillFrames:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do | |
8919 | local myMove = getMove(v5.Learn) | |
8920 | if myMove ~= nil then | |
8921 | local newTemplate = moveTemplate:Clone() | |
8922 | newTemplate.Attack.Text = v5.Name | |
8923 | newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8924 | newTemplate.Parent = arcMovesList | |
8925 | arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8926 | newTemplate.Learn.MouseButton1Down:connect(function() | |
8927 | local learnMove = myMove:Clone() | |
8928 | learnMove.Parent = player.Backpack | |
8929 | if learnMove:IsA("LocalScript") then | |
8930 | learnMove.Disabled = false | |
8931 | newTemplate.Learn.Text = "Activated" | |
8932 | newCESS(learnMove) | |
8933 | else | |
8934 | newTemplate.Learn.Text = "Learned" | |
8935 | newCESS(learnMove.LocalScript) | |
8936 | end | |
8937 | wait(5) | |
8938 | newTemplate.Learn.Text = "Learn" | |
8939 | end) | |
8940 | newTemplate.Visible = true | |
8941 | end | |
8942 | end | |
8943 | end | |
8944 | if fakeLighting.Customs:FindFirstChild(currentArc) then | |
8945 | arcMovesList:ClearAllChildren() | |
8946 | arcToggler.Text = currentArc | |
8947 | arcMoves.Title.Text = currentArc .. " Arc" | |
8948 | for i,v in pairs(fakeLighting.Customs:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do | |
8949 | local myMove = getMove(v.Learn) | |
8950 | if myMove ~= nil then | |
8951 | local newTemplate = moveTemplate:Clone() | |
8952 | newTemplate.Attack.Text = v.Name | |
8953 | newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8954 | newTemplate.Parent = arcMovesList | |
8955 | arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
8956 | newTemplate.Learn.MouseButton1Down:connect(function() | |
8957 | local learnMove = myMove:Clone() | |
8958 | learnMove.Parent = player.Backpack | |
8959 | if learnMove:IsA("LocalScript") then | |
8960 | learnMove.Disabled = false | |
8961 | newTemplate.Learn.Text = "Activated" | |
8962 | newCESS(learnMove) | |
8963 | else | |
8964 | newTemplate.Learn.Text = "Learned" | |
8965 | newCESS(learnMove.LocalScript) | |
8966 | end | |
8967 | wait(5) | |
8968 | newTemplate.Learn.Text = "Learn" | |
8969 | end) | |
8970 | newTemplate.Visible = true | |
8971 | end | |
8972 | end | |
8973 | end | |
8974 | end) | |
8975 | newTemplate.Position = UDim2.new(0,0,0,#arcList:GetChildren()*47+5) | |
8976 | newTemplate.Visible = true | |
8977 | newTemplate.Parent = arcList | |
8978 | arcList.CanvasSize = UDim2.new(0,0,0,#arcList:GetChildren()*47+5) | |
8979 | end | |
8980 | ||
8981 | Open = false | |
8982 | MouseClick = function() | |
8983 | if Open == false then | |
8984 | Open = true | |
8985 | player.PlayerGui.ChangeArc.Stuff.Visible = true | |
8986 | else | |
8987 | if Open == true then | |
8988 | Open = false | |
8989 | player.PlayerGui.ChangeArc.Stuff.Visible = false | |
8990 | end | |
8991 | end | |
8992 | end | |
8993 | ||
8994 | player.PlayerGui.ChangeArc.Frame.Toggle.MouseButton1Down:connect(MouseClick) | |
8995 | ||
8996 | Open2 = false | |
8997 | MouseClick2 = function() | |
8998 | if Open2 == false then | |
8999 | Open2 = true | |
9000 | arcMoves.Visible = true | |
9001 | else | |
9002 | if Open2 == true then | |
9003 | Open2 = false | |
9004 | arcMoves.Visible = false | |
9005 | end | |
9006 | end | |
9007 | end | |
9008 | ||
9009 | arcToggler.MouseButton1Down:connect(MouseClick2) | |
9010 | ||
9011 | newCESS(player.PlayerGui.ArcMusicPlayer["Music Player Module"]) | |
9012 | ||
9013 | for i,v in pairs(player.PlayerGui.HealthGui:GetDescendants()) do | |
9014 | if v:IsA("Script") then | |
9015 | newCESS(v) | |
9016 | end | |
9017 | end | |
9018 | end | |
9019 | end | |
9020 | end) | |
9021 | ||
9022 | addcmd('unduck','makes player back to normal',{}, | |
9023 | function(args, speaker) | |
9024 | local players = getPlayer(args[1], speaker) | |
9025 | for i,v in pairs(players)do | |
9026 | refresh(gPlayers[v]) | |
9027 | end | |
9028 | end) | |
9029 | ||
9030 | addcmd('mesh','makes a player into a mesh',{}, | |
9031 | function(args, speaker) | |
9032 | local players = getPlayer(args[1], speaker) | |
9033 | for i,v in pairs(players)do | |
9034 | local pchar = gPlayers[v].Character | |
9035 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9036 | if v:IsA("Decal") then | |
9037 | v:Destroy() | |
9038 | end | |
9039 | end | |
9040 | for i,v in pairs(pchar:GetChildren()) do | |
9041 | if v:IsA("Accessory") then | |
9042 | v:Destroy() | |
9043 | end | |
9044 | end | |
9045 | pchar.Head.Transparency = 1 | |
9046 | pchar["Left Arm"].Transparency = 1 | |
9047 | pchar["Right Arm"].Transparency = 1 | |
9048 | pchar["Left Leg"].Transparency = 1 | |
9049 | pchar["Right Leg"].Transparency = 1 | |
9050 | pchar.Head.face.Transparency = 1 | |
9051 | local msh = Instance.new("SpecialMesh", pchar.Torso) | |
9052 | msh.MeshType = "FileMesh" | |
9053 | msh.Scale = Vector3.new(3, 3, 3) | |
9054 | msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2] | |
9055 | msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3] | |
9056 | msh.Scale = Vector3.new(3, 3, 3) | |
9057 | end | |
9058 | end) | |
9059 | ||
9060 | addcmd('disable','removes players humanoid',{}, | |
9061 | function(args, speaker) | |
9062 | local players = getPlayer(args[1], speaker) | |
9063 | for i,v in pairs(players)do | |
9064 | local pchar = gPlayers[v].Character | |
9065 | if pchar:FindFirstChild("Humanoid") then | |
9066 | pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name | |
9067 | local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name] | |
9068 | humanoid.Parent = game.ContextActionService | |
9069 | if FindTable(SPC, args[1]) then Notify('Disabled ' .. args[1]) else | |
9070 | Notify('Disabled player(s)') end | |
9071 | end end end) | |
9072 | ||
9073 | addcmd('enable','gives player humanoid',{}, | |
9074 | function(args, speaker) | |
9075 | local players = getPlayer(args[1], speaker) | |
9076 | for i,v in pairs(players)do | |
9077 | local pchar = gPlayers[v].Character | |
9078 | if pchar:FindFirstChild("Humanoid") then | |
9079 | return | |
9080 | else | |
9081 | local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name] | |
9082 | humanoid.Parent = pchar | |
9083 | humanoid.Name = "Humanoid" | |
9084 | if FindTable(SPC, args[1]) then Notify('Enabled ' .. args[1]) else | |
9085 | Notify('Enabled player(s)') end | |
9086 | end end end) | |
9087 | ||
9088 | addcmd('size','changes size of player',{}, | |
9089 | function(args, speaker) | |
9090 | local players = getPlayer(args[1], speaker) | |
9091 | for i,v in pairs(players)do | |
9092 | local pchar = gPlayers[v].Character | |
9093 | local function scale(chr,scl) | |
9094 | for _,v in pairs(pchar:GetChildren()) do | |
9095 | if v:IsA("Accessory") then | |
9096 | v:Clone() | |
9097 | v.Parent = LightingService | |
9098 | end end | |
9099 | local Head = chr['Head'] | |
9100 | local Torso = chr['Torso'] | |
9101 | local LA = chr['Left Arm'] | |
9102 | local RA = chr['Right Arm'] | |
9103 | local LL = chr['Left Leg'] | |
9104 | local RL = chr['Right Leg'] | |
9105 | local HRP = chr['HumanoidRootPart'] | |
9106 | wait(0.1) | |
9107 | Head.formFactor = 3 | |
9108 | Torso.formFactor = 3 | |
9109 | LA.formFactor = 3 | |
9110 | RA.formFactor = 3 | |
9111 | LL.formFactor = 3 | |
9112 | RL.formFactor = 3 | |
9113 | HRP.formFactor = 3 | |
9114 | Head.Size = Vector3.new(scl * 2, scl, scl) | |
9115 | Torso.Size = Vector3.new(scl * 2, scl * 2, scl) | |
9116 | LA.Size = Vector3.new(scl, scl * 2, scl) | |
9117 | RA.Size = Vector3.new(scl, scl * 2, scl) | |
9118 | LL.Size = Vector3.new(scl, scl * 2, scl) | |
9119 | RL.Size = Vector3.new(scl, scl * 2, scl) | |
9120 | HRP.Size = Vector3.new(scl * 2, scl * 2, scl) | |
9121 | local Motor1 = Instance.new('Motor6D', Torso) | |
9122 | Motor1.Part0 = Torso | |
9123 | Motor1.Part1 = Head | |
9124 | Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
9125 | Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
9126 | Motor1.Name = "Neck" | |
9127 | local Motor2 = Instance.new('Motor6D', Torso) | |
9128 | Motor2.Part0 = Torso | |
9129 | Motor2.Part1 = LA | |
9130 | Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9131 | Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9132 | Motor2.Name = "Left Shoulder" | |
9133 | local Motor3 = Instance.new('Motor6D', Torso) | |
9134 | Motor3.Part0 = Torso | |
9135 | Motor3.Part1 = RA | |
9136 | Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9137 | Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9138 | Motor3.Name = "Right Shoulder" | |
9139 | local Motor4 = Instance.new('Motor6D', Torso) | |
9140 | Motor4.Part0 = Torso | |
9141 | Motor4.Part1 = LL | |
9142 | Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9143 | Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
9144 | Motor4.Name = "Left Hip" | |
9145 | local Motor5 = Instance.new('Motor6D', Torso) | |
9146 | Motor5.Part0 = Torso | |
9147 | Motor5.Part1 = RL | |
9148 | Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9149 | Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
9150 | Motor5.Name = "Right Hip" | |
9151 | local Motor6 = Instance.new('Motor6D', HRP) | |
9152 | Motor6.Part0 = HRP | |
9153 | Motor6.Part1 = Torso | |
9154 | Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
9155 | Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) end | |
9156 | scale(pchar, args[2]) | |
9157 | for _,v in pairs(LightingService:GetChildren()) do | |
9158 | if v:IsA("Accessory") then | |
9159 | v.Parent = pchar | |
9160 | end end end end) | |
9161 | ||
9162 | addcmd('clone','clones player',{}, | |
9163 | function(args, speaker) | |
9164 | local players = getPlayer(args[1], speaker) | |
9165 | for i,v in pairs(players)do | |
9166 | local pchar = gPlayers[v].Character | |
9167 | spawn(function() | |
9168 | pchar.Archivable = true | |
9169 | local clone = pchar:Clone() | |
9170 | clone.Parent = workspace | |
9171 | local cloneV = Instance.new("BoolValue") | |
9172 | cloneV.Name = "isclone" | |
9173 | cloneV.Parent = clone | |
9174 | clone:MoveTo(pchar:GetModelCFrame().p) | |
9175 | clone:MakeJoints() | |
9176 | pchar.Archivable = false | |
9177 | end) | |
9178 | end | |
9179 | end) | |
9180 | ||
9181 | addcmd('noclones', 'clears clones',{}, | |
9182 | function(args, speaker) | |
9183 | local players = getPlayer(args[1], speaker) | |
9184 | for i,v in pairs(players)do | |
9185 | for _, child in pairs( workspace:GetChildren()) do | |
9186 | if child.Name == gPlayers[v].Name and child:FindFirstChild('isclone') then | |
9187 | child:Destroy() | |
9188 | end | |
9189 | end | |
9190 | end | |
9191 | end) | |
9192 | ||
9193 | addcmd('spin','spins player',{}, | |
9194 | function(args, speaker) | |
9195 | local players = getPlayer(args[1], speaker) | |
9196 | for i,v in pairs(players)do | |
9197 | spawn(function() | |
9198 | local pchar = gPlayers[v].Character | |
9199 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9200 | if v.Name == "Spinning" then | |
9201 | v:Destroy() | |
9202 | end | |
9203 | end | |
9204 | local Torso = pchar.Torso | |
9205 | local BG = Instance.new("BodyGyro", Torso) | |
9206 | BG.Name = "Spinning" | |
9207 | BG.maxTorque = Vector3.new(0, math.huge, 0) | |
9208 | BG.P = 11111 | |
9209 | BG.cframe = Torso.CFrame | |
9210 | repeat wait(1/44) | |
9211 | BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0) | |
9212 | until not BG or BG.Parent ~= Torso | |
9213 | end) | |
9214 | end | |
9215 | end) | |
9216 | ||
9217 | addcmd('unspin','stops spinning player',{}, | |
9218 | function(args, speaker) | |
9219 | local players = getPlayer(args[1], speaker) | |
9220 | for i,v in pairs(players)do | |
9221 | local pchar = gPlayers[v].Character | |
9222 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
9223 | if v.Name == "Spinning" then | |
9224 | v:Destroy() | |
9225 | end | |
9226 | end | |
9227 | end | |
9228 | end) | |
9229 | ||
9230 | addcmd('dog','makes player a dog',{}, | |
9231 | function(args, speaker) | |
9232 | local players = getPlayer(args[1], speaker) | |
9233 | for i,v in pairs(players)do | |
9234 | local pchar = gPlayers[v].Character | |
9235 | if pchar:FindFirstChild("Shirt") then | |
9236 | pchar.Shirt:Destroy() | |
9237 | end | |
9238 | if pchar:FindFirstChild("Pants") then | |
9239 | pchar.Pants:Destroy() | |
9240 | end | |
9241 | if pchar:FindFirstChild("Shirt Graphic") then | |
9242 | pchar["Shirt Graphic"].Graphic = "" | |
9243 | end | |
9244 | pchar.Torso.Transparency = 1 | |
9245 | pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
9246 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0) | |
9247 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0) | |
9248 | pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0) | |
9249 | pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0) | |
9250 | local FakeTorso = Instance.new("Seat", pchar) | |
9251 | FakeTorso.Name = "FakeTorso" | |
9252 | FakeTorso.FormFactor = "Symmetric" | |
9253 | FakeTorso.TopSurface = 0 | |
9254 | FakeTorso.BottomSurface = 0 | |
9255 | FakeTorso.Size = Vector3.new(3,1,4) | |
9256 | FakeTorso.BrickColor = BrickColor.new("Brown") | |
9257 | FakeTorso.CFrame = pchar.Torso.CFrame | |
9258 | local BF = Instance.new("BodyForce", FakeTorso) | |
9259 | BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0) | |
9260 | local W = Instance.new("Weld", pchar.Torso) | |
9261 | W.Part0 = pchar.Torso | |
9262 | W.Part1 = FakeTorso | |
9263 | W.C0 = CFrame.new(0,-.5,0) | |
9264 | local BC = pchar["Body Colors"] | |
9265 | BC.HeadColor = BrickColor.new("Brown") | |
9266 | BC.LeftArmColor = BrickColor.new("Brown") | |
9267 | BC.LeftLegColor = BrickColor.new("Brown") | |
9268 | BC.RightArmColor = BrickColor.new("Brown") | |
9269 | BC.RightLegColor = BrickColor.new("Brown") | |
9270 | BC.TorsoColor = BrickColor.new("Brown") | |
9271 | end | |
9272 | end) | |
9273 | ||
9274 | addcmd('undog','makes player back to normal',{}, | |
9275 | function(args, speaker) | |
9276 | local players = getPlayer(args[1], speaker) | |
9277 | for i,v in pairs(players)do | |
9278 | refresh(gPlayers[v]) | |
9279 | end | |
9280 | end) | |
9281 | ||
9282 | addcmd('loopheal','loop heals player',{}, | |
9283 | function(args, speaker) | |
9284 | local players = getPlayer(args[1], speaker) | |
9285 | for i,v in pairs(players)do | |
9286 | spawn(function() | |
9287 | local pchar = gPlayers[v].Character | |
9288 | if pchar:FindFirstChild("LoopHeal") then | |
9289 | pchar.LoopHeal.Name = "NotLoopHeal" | |
9290 | wait(0.1) | |
9291 | pchar.NotLoopHeal:Destroy() | |
9292 | end | |
9293 | local LoopHeal = Instance.new("StringValue", pchar) | |
9294 | LoopHeal.Name = "LoopHeal" | |
9295 | repeat wait(0.1) | |
9296 | pchar.Humanoid.Health = pchar.Humanoid.MaxHealth | |
9297 | until LoopHeal.Name == "NotLoopHeal" | |
9298 | end) | |
9299 | end | |
9300 | end) | |
9301 | ||
9302 | addcmd('unloopheal','stops loop heal on player',{'noloopheal'}, | |
9303 | function(args, speaker) | |
9304 | local players = getPlayer(args[1], speaker) | |
9305 | for i,v in pairs(players)do | |
9306 | local pchar = gPlayers[v].Character | |
9307 | if pchar:FindFirstChild("LoopHeal") then | |
9308 | pchar.LoopHeal.Name = "NotLoopHeal" | |
9309 | wait(0.1) | |
9310 | pchar.NotLoopHeal:Destroy() | |
9311 | end | |
9312 | end | |
9313 | end) | |
9314 | ||
9315 | addcmd('fling','flings player',{}, | |
9316 | function(args, speaker) | |
9317 | local players = getPlayer(args[1], speaker) | |
9318 | for i,v in pairs(players)do | |
9319 | local pchar = gPlayers[v].Character | |
9320 | if pchar:FindFirstChild("Humanoid") then | |
9321 | local xran | |
9322 | local zran | |
9323 | repeat | |
9324 | xran = math.random(-9999,9999) | |
9325 | until math.abs(xran) >= 5555 | |
9326 | repeat | |
9327 | zran = math.random(-9999,9999) | |
9328 | until math.abs(zran) >= 5555 | |
9329 | pchar.Humanoid.Sit = true | |
9330 | pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0) | |
9331 | local BF = Instance.new("BodyForce", pchar.HumanoidRootPart) | |
9332 | BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4) | |
9333 | end | |
9334 | end | |
9335 | end) | |
9336 | ||
9337 | addcmd('skydive','self explanatory',{}, | |
9338 | function(args, speaker) | |
9339 | local players = getPlayer(args[1], speaker) | |
9340 | for i,v in pairs(players)do | |
9341 | local pchar = gPlayers[v].Character | |
9342 | if pchar:FindFirstChild("HumanoidRootPart") then | |
9343 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame + Vector3.new(0,10000,0) | |
9344 | end | |
9345 | end | |
9346 | end) | |
9347 | ||
9348 | addcmd('bleach','drink bleach',{''}, | |
9349 | function(args, speaker) | |
9350 | local players = getPlayer(args[1], speaker) | |
9351 | for i,v in pairs(players)do | |
9352 | bleach(gPlayers[v]) | |
9353 | end | |
9354 | end) | |
9355 | ||
9356 | addcmd('seizure','makes player have a seizure',{''}, | |
9357 | function(args, speaker) | |
9358 | local players = getPlayer(args[1], speaker) | |
9359 | for i,v in pairs(players)do | |
9360 | local pchar = gPlayers[v].Character | |
9361 | if pchar:FindFirstChild("Seizure") then | |
9362 | ||
9363 | end | |
9364 | local Seizure = Instance.new("StringValue", pchar) | |
9365 | Seizure.Name = "Seizure" | |
9366 | pchar.Humanoid.PlatformStand = true | |
9367 | repeat wait() | |
9368 | pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) | |
9369 | pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
9370 | until Seizure.Name == "NotSeizure" | |
9371 | end | |
9372 | end) | |
9373 | ||
9374 | addcmd('fegod','gods you in fe games',{''}, | |
9375 | function(args, speaker) | |
9376 | if speaker.userId ~= LP.userId then | |
9377 | lponly(speaker) | |
9378 | else | |
9379 | gPlayers.LocalPlayer.Character.Humanoid.Name = 1 | |
9380 | local l = gPlayers.LocalPlayer.Character["1"]:Clone() | |
9381 | l.Parent = gPlayers.LocalPlayer.Character | |
9382 | l.Name = "Humanoid" | |
9383 | wait(0.1) | |
9384 | gPlayers.LocalPlayer.Character["1"]:Destroy() | |
9385 | workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
9386 | gPlayers.LocalPlayer.Character.Animate.Disabled = true | |
9387 | wait(0.1) | |
9388 | gPlayers.LocalPlayer.Character.Animate.Disabled = false | |
9389 | gPlayers.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
9390 | end | |
9391 | end) | |
9392 | ||
9393 | addcmd('unseizure','makes player stop having a seizure',{''}, | |
9394 | function(args, speaker) | |
9395 | local players = getPlayer(args[1], speaker) | |
9396 | for i,v in pairs(players)do | |
9397 | local pchar = gPlayers[v].Character | |
9398 | if pchar:FindFirstChild("Seizure") then | |
9399 | pchar.Humanoid.PlatformStand = false | |
9400 | pchar.Seizure.Name = "NotSeizure" | |
9401 | wait(0.1) | |
9402 | pchar.NotSeizure:Destroy() | |
9403 | end | |
9404 | end | |
9405 | end) | |
9406 | ||
9407 | addcmd('m','makes a global message',{'message'}, | |
9408 | function(args, speaker) | |
9409 | local MSG = '['..speaker.Name..']: '..GLS(false, 0) | |
9410 | local newMSG = '['..speaker.Name..']: '..GLS(false, 0) | |
9411 | _G.msg(MSG) | |
9412 | end) | |
9413 | ||
9414 | addcmd('sm','makes a global message',{'servermessage'}, | |
9415 | function(args, speaker) | |
9416 | local MSG = GLS(false, 0) | |
9417 | local newMSG = GLS(false, 0) | |
9418 | _G.msg(MSG) | |
9419 | end) | |
9420 | ||
9421 | addcmd('fe','checks filtering status',{'filtering'}, | |
9422 | function(args, speaker) | |
9423 | if workspace.FilteringEnabled == true then | |
9424 | Notify('Filtering ENABLED') | |
9425 | elseif workspace.FilteringEnabled == false then | |
9426 | Notify('Filtering Disabled') | |
9427 | end | |
9428 | end) | |
9429 | ||
9430 | addcmd('paper','makes player thin as paper',{''}, | |
9431 | function(args, speaker) | |
9432 | local players = getPlayer(args[1], speaker) | |
9433 | for i,v in pairs(players)do | |
9434 | local pchar = gPlayers[v].Character | |
9435 | for _, child in pairs( pchar:GetChildren()) do | |
9436 | if child.ClassName == "CharacterMesh" then | |
9437 | child:Destroy() | |
9438 | end | |
9439 | end | |
9440 | local LA = DATA.Paper:Clone() | |
9441 | LA.Parent = pchar["Left Arm"] | |
9442 | local RA = DATA.Paper:Clone() | |
9443 | RA.Parent = pchar["Right Arm"] | |
9444 | local LL = DATA.Paper:Clone() | |
9445 | LL.Parent = pchar["Left Leg"] | |
9446 | local RL = DATA.Paper:Clone() | |
9447 | RL.Parent = pchar["Right Leg"] | |
9448 | local T = DATA.Paper:Clone() | |
9449 | T.Parent = pchar.Torso | |
9450 | local H = DATA.Paper:Clone() | |
9451 | H.Parent = pchar.Head | |
9452 | pchar.Head.face:Destroy() | |
9453 | end | |
9454 | end) | |
9455 | ||
9456 | addcmd('particles','gives a player particles',{''}, | |
9457 | function(args, speaker) | |
9458 | local players = getPlayer(args[1], speaker) | |
9459 | for i,v in pairs(players)do | |
9460 | local char = gPlayers[v].Character | |
9461 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
9462 | if v:IsA('ParticleEmitter') then | |
9463 | v:destroy() | |
9464 | end | |
9465 | end | |
9466 | local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart) | |
9467 | prt.Texture = 'rbxassetid://' .. args[2] | |
9468 | prt.Rate = 10 | |
9469 | prt.SpreadAngle = Vector2.new(50, 50) | |
9470 | end | |
9471 | end) | |
9472 | ||
9473 | addcmd('unparticles','gives a player particles',{'noparticles'}, | |
9474 | function(args, speaker) | |
9475 | local players = getPlayer(args[1], speaker) | |
9476 | for i,v in pairs(players)do | |
9477 | local char = gPlayers[v].Character | |
9478 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
9479 | if v:IsA('ParticleEmitter') then | |
9480 | v:destroy() | |
9481 | end | |
9482 | end | |
9483 | end | |
9484 | end) | |
9485 | ||
9486 | blindT = {} | |
9487 | addcmd('blind','blinds a player',{}, | |
9488 | function(args, speaker) | |
9489 | local players = getPlayer(args[1], speaker) | |
9490 | for i,v in pairs(players)do | |
9491 | spawn(function() | |
9492 | if FindTable(blindT, _players[v].Name) then return end | |
9493 | local blind = gPlayers[v].Name | |
9494 | local victim = gPlayers:FindFirstChild(blind) | |
9495 | if victim ~= nil then | |
9496 | victim.CameraMaxZoomDistance = 0.5 | |
9497 | blnd = Instance.new("Part",workspace) | |
9498 | blnd.Name = "IYblind" .. gPlayers[v].Name | |
9499 | blnd.Size = Vector3.new(1,1,1) | |
9500 | blnd.CanCollide = false | |
9501 | blnd.BrickColor = BrickColor.new("Really black") | |
9502 | blnd.Material = "Neon" | |
9503 | local m = Instance.new("SpecialMesh",blnd) | |
9504 | m.Scale = Vector3.new(-1.5,-1.5,-1.5) | |
9505 | m.MeshId = "http://www.roblox.com/asset/?id=10061232" | |
9506 | local w = Instance.new("Weld",blnd) | |
9507 | w.Part0 = blnd | |
9508 | w.Part1 = victim.Character.Head | |
9509 | if FindTable(blindT, _players[v].Name) then return end | |
9510 | table.insert(blindT, _players[v].Name) | |
9511 | repeat if not workspace:FindFirstChild('IYblind' .. gPlayers[v].Name) then | |
9512 | local blind = gPlayers[v].Name | |
9513 | local victim = gPlayers:FindFirstChild(blind) | |
9514 | if victim ~= nil then | |
9515 | victim.CameraMaxZoomDistance = 0.5 | |
9516 | blnd = Instance.new("Part",workspace) | |
9517 | blnd.Name = "IYblind" .. gPlayers[v].Name | |
9518 | blnd.Size = Vector3.new(1,1,1) | |
9519 | blnd.CanCollide = false | |
9520 | blnd.BrickColor = BrickColor.new("Really black") | |
9521 | blnd.Material = "Neon" | |
9522 | local m = Instance.new("SpecialMesh",blnd) | |
9523 | m.Scale = Vector3.new(-1.5,-1.5,-1.5) | |
9524 | m.MeshId = "http://www.roblox.com/asset/?id=10061232" | |
9525 | local w = Instance.new("Weld",blnd) | |
9526 | w.Part0 = blnd | |
9527 | w.Part1 = victim.Character.Head | |
9528 | end end wait(1) | |
9529 | until not FindTable(blindT, _players[v].Name) | |
9530 | end end) end end) | |
9531 | ||
9532 | addcmd('unblind','blinds a player',{'noblind'}, | |
9533 | function(args, speaker) | |
9534 | local players = getPlayer(args[1], speaker) | |
9535 | for i,v in pairs(players)do | |
9536 | spawn(function() | |
9537 | for a,b in pairs(blindT) do if b == _players[v].Name then table.remove(blindT, a) end end | |
9538 | local blind = gPlayers[v].Name | |
9539 | local victim = gPlayers:FindFirstChild(blind) | |
9540 | if victim ~= nil then | |
9541 | victim.CameraMaxZoomDistance = 400 wait(0.5) | |
9542 | for _, child in pairs( workspace:GetChildren()) do | |
9543 | if child.Name == "IYblind" .. gPlayers[v].Name then | |
9544 | child:Destroy() | |
9545 | end end end end) end end) | |
9546 | ||
9547 | addcmd('punish','punishs player',{''}, | |
9548 | function(args, speaker) | |
9549 | local players = getPlayer(args[1], speaker) | |
9550 | for i,v in pairs(players)do | |
9551 | local pchar = gPlayers[v].Character | |
9552 | pchar.Parent = LightingService | |
9553 | end | |
9554 | end) | |
9555 | ||
9556 | addcmd('unpunish','unpunishs player',{''}, | |
9557 | function(args, speaker) | |
9558 | local players = getPlayer(args[1], speaker) | |
9559 | for i,v in pairs(players)do | |
9560 | if LightingService:FindFirstChild("" .. gPlayers[v].Name) then | |
9561 | LightingService:FindFirstChild("" .. gPlayers[v].Name).Parent = workspace | |
9562 | end | |
9563 | end | |
9564 | end) | |
9565 | ||
9566 | local starmanPlayers = {} | |
9567 | local starmanLastColor = nil | |
9568 | local starmanEvents = {} | |
9569 | ||
9570 | addcmd("starman","Turns [plr] into starman",{}, | |
9571 | function(args,speaker) | |
9572 | local function starman(plr) | |
9573 | local char = plr.Character | |
9574 | local lastColor = "" | |
9575 | local newColor = "" | |
9576 | ||
9577 | local powerupSound = Instance.new("Sound",char.HumanoidRootPart) | |
9578 | powerupSound.Name = "PowerUp" | |
9579 | powerupSound.Volume = 10 | |
9580 | powerupSound.SoundId = "rbxassetid://182755256" | |
9581 | wait() | |
9582 | powerupSound:Play() | |
9583 | ||
9584 | game:GetService("Debris"):AddItem(powerupSound,2) | |
9585 | ||
9586 | while char.HumanoidRootPart:FindFirstChild("Starman") do char.HumanoidRootPart.Starman:Destroy() end | |
9587 | ||
9588 | local starmanMusic = Instance.new("Sound",char.HumanoidRootPart) | |
9589 | starmanMusic.Name = "Starman" | |
9590 | starmanMusic.Volume = 1 | |
9591 | starmanMusic.Looped = true | |
9592 | starmanMusic.SoundId = "rbxassetid://530596723" | |
9593 | wait() | |
9594 | starmanMusic:Play() | |
9595 | ||
9596 | if char:FindFirstChild("Shirt") then char.Shirt:Destroy() end | |
9597 | if char:FindFirstChild("Pants") then char.Pants:Destroy() end | |
9598 | ||
9599 | char.Humanoid.WalkSpeed = 32 | |
9600 | char.Humanoid.MaxHealth = math.huge | |
9601 | char.Humanoid.Health = math.huge | |
9602 | ||
9603 | local invisff = Instance.new("ForceField", char) | |
9604 | invisff.Visible = false invisff.Name = 'smff' | |
9605 | ||
9606 | while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do char.HumanoidRootPart.StarmanFlash:Destroy() end | |
9607 | ||
9608 | local light = Instance.new("PointLight",char.HumanoidRootPart) | |
9609 | light.Name = "StarmanFlash" | |
9610 | light.Brightness = 100 | |
9611 | light.Range = 20 | |
9612 | light.Shadows = true | |
9613 | ||
9614 | local function stardestroy(part) | |
9615 | if part.Parent:FindFirstChild("Humanoid") and part.Parent ~= char then | |
9616 | for i,v in pairs(part.Parent:GetChildren()) do | |
9617 | if v:IsA("BasePart") then | |
9618 | local force = Instance.new("BodyForce",v) | |
9619 | force.Force = char.HumanoidRootPart.CFrame.lookVector * 50 | |
9620 | v:BreakJoints() | |
9621 | end | |
9622 | end | |
9623 | ||
9624 | local tadaas = {} | |
9625 | ||
9626 | for i = 1,1 do | |
9627 | local tadaa = Instance.new("Sound",part.Parent.HumanoidRootPart) | |
9628 | tadaa.Volume = 10 | |
9629 | tadaa.SoundId = "rbxassetid://551195499" | |
9630 | table.insert(tadaas,tadaa) | |
9631 | end | |
9632 | ||
9633 | wait() | |
9634 | ||
9635 | for i,v in pairs(tadaas) do | |
9636 | v:Play() | |
9637 | end | |
9638 | end | |
9639 | end | |
9640 | ||
9641 | local events = {} | |
9642 | for i,v in pairs(char:GetChildren()) do | |
9643 | if v:IsA("BasePart") then v.Material = Enum.Material.Neon table.insert(events,v.Touched:Connect(stardestroy)) end | |
9644 | end | |
9645 | if starmanEvents[plr.Name] then for i,v in pairs(starmanEvents[plr.Name]) do v:Disconnect() end starmanEvents[plr.Name] = nil end | |
9646 | starmanEvents[plr.Name] = events | |
9647 | starmanPlayers[plr.Name] = char | |
9648 | end | |
9649 | ||
9650 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9651 | spawn(function()starman(gPlayers[plr])end) | |
9652 | end | |
9653 | end) | |
9654 | ||
9655 | addcmd("unstarman","Removes starman from [plr]",{}, | |
9656 | function(args,speaker) | |
9657 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9658 | pcall(function() | |
9659 | if starmanPlayers[plr] then starmanPlayers[plr] = nil end | |
9660 | if starmanEvents[plr] then for i,v in pairs(starmanEvents[plr]) do v:Disconnect() end starmanEvents[plr] = nil end | |
9661 | local char = gPlayers[plr].Character | |
9662 | while char.HumanoidRootPart:FindFirstChild("Starman") do | |
9663 | char.HumanoidRootPart.Starman:Destroy() | |
9664 | end | |
9665 | while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do | |
9666 | char.HumanoidRootPart.StarmanFlash:Destroy() | |
9667 | end | |
9668 | while char.HumanoidRootPart:FindFirstChild("smff") do | |
9669 | char.HumanoidRootPart.smff:Destroy() | |
9670 | end | |
9671 | end) | |
9672 | end | |
9673 | end) | |
9674 | ||
9675 | local Timers = {} | |
9676 | function checkTimer(n,t,res) | |
9677 | if not Timers[n] then Timers[n] = 0 end | |
9678 | ||
9679 | if tick() >= Timers[n] + t then | |
9680 | if res then Timers[n] = tick() end | |
9681 | return true | |
9682 | else | |
9683 | return false | |
9684 | end | |
9685 | end | |
9686 | ||
9687 | function nonEmpty(t) | |
9688 | for i,v in pairs(t) do | |
9689 | return true | |
9690 | end | |
9691 | return false | |
9692 | end | |
9693 | ||
9694 | game:GetService("RunService").RenderStepped:Connect(function() | |
9695 | if nonEmpty(starmanPlayers) then | |
9696 | if checkTimer("Starman",0.05,true) then | |
9697 | for name,plrchar in pairs(starmanPlayers) do | |
9698 | ypcall(function() | |
9699 | local colors = {"Bright red","Bright blue","Bright green","Bright yellow","Bright violet"} | |
9700 | if not gPlayers:FindFirstChild(name) then starmanPlayers[name] = nil end | |
9701 | ||
9702 | local plr = gPlayers:FindFirstChild(name) | |
9703 | ||
9704 | if plr then | |
9705 | local char = plrchar | |
9706 | local light = char.HumanoidRootPart:FindFirstChild("StarmanFlash") | |
9707 | ||
9708 | local meshMap = {} | |
9709 | ||
9710 | for i,v in pairs(char:GetChildren()) do | |
9711 | if v:IsA("CharacterMesh") then | |
9712 | if v.BodyPart.Name == "Torso" then meshMap["Torso"] = "rbxassetid://"..v.MeshId end | |
9713 | if v.BodyPart.Name == "LeftArm" then meshMap["Left Arm"] = "rbxassetid://"..v.MeshId end | |
9714 | if v.BodyPart.Name == "RightArm" then meshMap["Right Arm"] = "rbxassetid://"..v.MeshId end | |
9715 | if v.BodyPart.Name == "LeftLeg" then meshMap["Left Leg"] = "rbxassetid://"..v.MeshId end | |
9716 | if v.BodyPart.Name == "RightLeg" then meshMap["Right Leg"] = "rbxassetid://"..v.MeshId end | |
9717 | end | |
9718 | end | |
9719 | ||
9720 | if char.Head:FindFirstChild("Mesh") then meshMap["Head"] = char.Head.Mesh.MeshId end | |
9721 | ||
9722 | if not char or char.Parent == nil then starmanPlayers[plr.Name] = nil end | |
9723 | local newColor = BrickColor.new(colors[math.random(1,#colors)]) | |
9724 | while starmanLastColor == newColor do newColor = BrickColor.new(colors[math.random(1,#colors)]) end | |
9725 | starmanLastColor = newColor | |
9726 | for i,v in pairs(char:GetChildren()) do | |
9727 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
9728 | v.BrickColor = newColor | |
9729 | local fade = v:Clone() | |
9730 | if meshMap[v.Name] then | |
9731 | local newMesh = Instance.new("SpecialMesh",fade) | |
9732 | newMesh.MeshId = meshMap[v.Name] | |
9733 | end | |
9734 | fade.Name = "StarFade" | |
9735 | fade.Anchored = true | |
9736 | fade.CanCollide = false | |
9737 | 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 | |
9738 | fade.Parent = workspace.Terrain | |
9739 | game:GetService("TweenService"):Create(fade,TweenInfo.new(0.5),{Transparency = 1}):Play() | |
9740 | game:GetService("Debris"):AddItem(fade,0.5) | |
9741 | end | |
9742 | end | |
9743 | light.Color = newColor.Color | |
9744 | end | |
9745 | end) | |
9746 | end | |
9747 | end | |
9748 | end | |
9749 | end) | |
9750 | ||
9751 | addcmd("tppos","Teleports a player to a coordinate",{}, | |
9752 | function(args,speaker) | |
9753 | if #args < 4 then return end | |
9754 | local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4]) | |
9755 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9756 | local char = gPlayers[plr].Character | |
9757 | if char and char:FindFirstChild("HumanoidRootPart") then | |
9758 | char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ) | |
9759 | end | |
9760 | end | |
9761 | end) | |
9762 | ||
9763 | addcmd("offset","Offsets a player by a coordinate",{}, | |
9764 | function(args,speaker) | |
9765 | if #args < 4 then return end | |
9766 | local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4]) | |
9767 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
9768 | local char = gPlayers[plr].Character | |
9769 | if char and char:FindFirstChild("HumanoidRootPart") then | |
9770 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ) | |
9771 | end | |
9772 | end | |
9773 | end) | |
9774 | ||
9775 | addcmd('bait',';)',{'troll'}, | |
9776 | function(args, speaker) | |
9777 | spawn(function() | |
9778 | local M = Instance.new('Model', workspace) M.Name = 'IYbait' | |
9779 | 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) | |
9780 | y = Instance.new("BillboardGui") | |
9781 | y.Size = UDim2.new(0,100,0,150) | |
9782 | y.StudsOffset = Vector3.new(0,1,0) | |
9783 | y.Parent = P | |
9784 | y.Adornee = P | |
9785 | f = Instance.new("TextLabel") | |
9786 | f.Parent = y | |
9787 | f.BackgroundTransparency = 1 | |
9788 | f.Position = UDim2.new(0,0,0,-50) | |
9789 | f.Size = UDim2.new(0,100,0,100) | |
9790 | f.Font = "Highway" | |
9791 | f.FontSize = "Size48" | |
9792 | f.Text = "Touch for admin!" | |
9793 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
9794 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
9795 | f.TextStrokeTransparency = 0 | |
9796 | f.TextYAlignment = "Bottom" | |
9797 | 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) | |
9798 | end) | |
9799 | end) | |
9800 | ||
9801 | addcmd('removebait','clears bait parts',{'nobait'}, | |
9802 | function(args, speaker) | |
9803 | local function dels(instance) | |
9804 | for i,v in pairs(instance:GetChildren())do | |
9805 | if v.name == "IYbait"then v:Destroy()end | |
9806 | dels(v) | |
9807 | end | |
9808 | end | |
9809 | dels(workspace) | |
9810 | end) | |
9811 | ||
9812 | function CreateInstance(cls,props) | |
9813 | local inst = Instance.new(cls) | |
9814 | for i,v in pairs(props) do | |
9815 | inst[i] = v | |
9816 | end | |
9817 | return inst end | |
9818 | local function createSoundFrame() | |
9819 | 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) | |
9820 | 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 | |
9821 | 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) | |
9822 | 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}) | |
9823 | 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}) | |
9824 | 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) | |
9825 | 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) | |
9826 | 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}) | |
9827 | 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 | |
9828 | 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 | |
9829 | 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) | |
9830 | 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}) | |
9831 | 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}) | |
9832 | 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) | |
9833 | 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}) | |
9834 | 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}) | |
9835 | 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 | |
9836 | 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) | |
9837 | return soundFrame end | |
9838 | local soundFrame = createSoundFrame() | |
9839 | soundFrame.Visible = true | |
9840 | local MusicPlayer do | |
9841 | MusicPlayer = {} | |
9842 | local playlist = {} | |
9843 | local currentSong = 1 | |
9844 | local playlistHook = nil | |
9845 | --local soundFrame = script.Parent:WaitForChild("Sound") | |
9846 | local soundLine = soundFrame:WaitForChild("Pos") | |
9847 | local soundTouch = soundLine:WaitForChild("Touch") | |
9848 | local soundPlayStop = soundFrame:WaitForChild("PlayStop") | |
9849 | local soundPause = soundFrame:WaitForChild("Pause") | |
9850 | local soundNext = soundFrame:WaitForChild("NextSong") | |
9851 | local soundPrev = soundFrame:WaitForChild("PrevSong") | |
9852 | local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev} | |
9853 | local mouseDrag = false | |
9854 | local mouse = gPlayers.LocalPlayer:GetMouse() | |
9855 | local lineBar = soundFrame:WaitForChild("Pos") | |
9856 | adminSound = Instance.new("Sound",nil) | |
9857 | local function timeConvert(num) | |
9858 | local mins = math.floor(num/60) | |
9859 | local secs = math.floor(num % 60) | |
9860 | return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs) | |
9861 | end | |
9862 | local function updateSongLine() | |
9863 | local linePos = mouse.X - soundLine.AbsolutePosition.X | |
9864 | if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then | |
9865 | local movePos = linePos/soundLine.AbsoluteSize.X | |
9866 | soundTouch.Position = UDim2.new(movePos,0,0,0) | |
9867 | elseif linePos < 0 then | |
9868 | soundTouch.Position = UDim2.new(0,0,0,0) | |
9869 | else | |
9870 | soundTouch.Position = UDim2.new(1,0,0,0) | |
9871 | end | |
9872 | local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength | |
9873 | adminSound.TimePosition = newTimePos | |
9874 | soundFrame.TimeStart.Text = timeConvert(newTimePos) | |
9875 | soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength) | |
9876 | end | |
9877 | local function updateDetails(id) | |
9878 | local info = game:GetService("MarketplaceService"):GetProductInfo(id) | |
9879 | soundFrame.SName.Text = info.Name | |
9880 | end | |
9881 | local function setPlaylistHook() | |
9882 | if playlistHook then playlistHook:Disconnect() playlistHook = nil end | |
9883 | if #playlist == 0 then return end | |
9884 | playlistHook = adminSound.DidLoop:connect(function() | |
9885 | if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end | |
9886 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
9887 | MusicPlayer:Play(playlist[currentSong],true) | |
9888 | end) | |
9889 | end | |
9890 | local function disconnectPlaylistHook() | |
9891 | if playlistHook then playlistHook:disconnect() playlistHook = nil end | |
9892 | end | |
9893 | game:GetService("RunService").RenderStepped:Connect(function() | |
9894 | if adminSound.Playing then | |
9895 | soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0) | |
9896 | soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition) | |
9897 | soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength) | |
9898 | end | |
9899 | end) | |
9900 | lineBar.InputBegan:connect(function(input) | |
9901 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
9902 | mouseDrag = true | |
9903 | updateSongLine() | |
9904 | end | |
9905 | end) | |
9906 | lineBar.InputEnded:connect(function(input) | |
9907 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
9908 | mouseDrag = false | |
9909 | end | |
9910 | end) | |
9911 | mouse.Move:connect(function(prop) | |
9912 | if mouseDrag then | |
9913 | updateSongLine() | |
9914 | end | |
9915 | end) | |
9916 | function MusicPlayer:Play(id,plist) | |
9917 | if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end | |
9918 | adminSound:Stop() | |
9919 | if adminSound.Parent == nil then | |
9920 | adminSound = Instance.new("Sound",workspace) | |
9921 | adminSound.Name = "IYsound" | |
9922 | adminSound.Looped = true | |
9923 | if plist then setPlaylistHook() end | |
9924 | end | |
9925 | adminSound.SoundId = "rbxassetid://"..tostring(id) | |
9926 | adminSound.TimePosition = 0 | |
9927 | --repeat wait() until adminSound.IsLoaded | |
9928 | adminSound:Play() | |
9929 | soundPlayStop.BackgroundTransparency = 0 | |
9930 | soundPlayStop.ImageTransparency = 1 | |
9931 | updateDetails(id) | |
9932 | end | |
9933 | function MusicPlayer:Playlist(list) | |
9934 | playlist = list | |
9935 | soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true | |
9936 | currentSong = 1 | |
9937 | if adminSound.Parent == nil then | |
9938 | adminSound = Instance.new("Sound",workspace) | |
9939 | adminSound.Name = "IYsound" | |
9940 | adminSound.Looped = true | |
9941 | end | |
9942 | soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist) | |
9943 | MusicPlayer:Play(playlist[1],true) | |
9944 | setPlaylistHook() | |
9945 | end | |
9946 | function MusicPlayer:Stop() | |
9947 | adminSound:Stop() | |
9948 | adminSound.TimePosition = 0 | |
9949 | soundTouch.Position = UDim2.new(0,0,0,0) | |
9950 | soundFrame.TimeStart.Text = "0:00" | |
9951 | soundPlayStop.BackgroundTransparency = 1 | |
9952 | soundPlayStop.ImageTransparency = 0 | |
9953 | end | |
9954 | function MusicPlayer:Pause() | |
9955 | adminSound:Pause() | |
9956 | soundPlayStop.BackgroundTransparency = 1 | |
9957 | soundPlayStop.ImageTransparency = 0 | |
9958 | end | |
9959 | function MusicPlayer:Resume() | |
9960 | adminSound:Resume() | |
9961 | soundPlayStop.BackgroundTransparency = 0 | |
9962 | soundPlayStop.ImageTransparency = 1 | |
9963 | setPlaylistHook() | |
9964 | end | |
9965 | function MusicPlayer:NextSong() | |
9966 | if #playlist == 0 then return end | |
9967 | if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end | |
9968 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
9969 | MusicPlayer:Play(playlist[currentSong],true) | |
9970 | end | |
9971 | function MusicPlayer:PrevSong() | |
9972 | if #playlist == 0 then return end | |
9973 | if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end | |
9974 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
9975 | MusicPlayer:Play(playlist[currentSong],true) | |
9976 | end | |
9977 | function MusicPlayer:SetSong(ind) | |
9978 | if ind > #playlist or ind <= 0 then return end | |
9979 | soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist) | |
9980 | MusicPlayer:Play(playlist[ind],true) | |
9981 | end | |
9982 | playerenabled = false | |
9983 | function MusicPlayer:Show() | |
9984 | soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
9985 | end | |
9986 | function MusicPlayer:Hide() | |
9987 | soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
9988 | end | |
9989 | function colorFrames(obj,col) | |
9990 | for i,v in pairs(obj:GetChildren()) do | |
9991 | if v:IsA("ImageLabel") then | |
9992 | v.ImageColor3 = col | |
9993 | end | |
9994 | v.BackgroundColor3 = col | |
9995 | end | |
9996 | end | |
9997 | for i,v in pairs(soundButtons) do | |
9998 | v.MouseEnter:connect(function() | |
9999 | if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end | |
10000 | if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end | |
10001 | v.BackgroundColor3 = Color3.new(1,1,1) | |
10002 | colorFrames(v,Color3.new(1,1,1)) | |
10003 | end) | |
10004 | v.MouseLeave:connect(function() | |
10005 | if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end | |
10006 | if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end | |
10007 | v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255) | |
10008 | colorFrames(v,Color3.new(230/255, 230/255, 230/255)) | |
10009 | end) | |
10010 | end | |
10011 | soundPlayStop.MouseButton1Click:connect(function() | |
10012 | if adminSound.Playing then | |
10013 | MusicPlayer:Stop() | |
10014 | else | |
10015 | MusicPlayer:Resume() | |
10016 | end | |
10017 | end) | |
10018 | soundPause.MouseButton1Click:connect(function() | |
10019 | MusicPlayer:Pause() | |
10020 | end) | |
10021 | soundNext.MouseButton1Click:connect(MusicPlayer.NextSong) | |
10022 | soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong) | |
10023 | end | |
10024 | local testgui = Instance.new("ScreenGui",game.CoreGui) | |
10025 | soundFrame.Parent = testgui | |
10026 | addcmd('playlist','makes a noice playlist',{'ids','player'}, | |
10027 | function(args, speaker) | |
10028 | playerenabled = true | |
10029 | if #args > 0 then | |
10030 | for i,v in pairs(game:GetDescendants()) do | |
10031 | if v:IsA'Sound'then v:Destroy() end end wait(0.1) | |
10032 | if adminSound.Parent == nil then | |
10033 | adminSound = Instance.new("Sound",workspace) | |
10034 | adminSound.Name = "IYsound" | |
10035 | adminSound.Looped = true | |
10036 | end | |
10037 | local idlist = splitString(args[1]) | |
10038 | local workingIds = {} | |
10039 | for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end | |
10040 | if #workingIds > 0 then | |
10041 | playerenabled = true | |
10042 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
10043 | MusicPlayer:Playlist(workingIds) | |
10044 | 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) | |
10045 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10046 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10047 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10048 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end | |
10049 | 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) | |
10050 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10051 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) playerenabled = true | |
10052 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
10053 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end end) | |
10054 | addcmd('setsong','goto a song',{'tosong'}, | |
10055 | function(args, speaker) | |
10056 | MusicPlayer:SetSong(tonumber(args[1])) | |
10057 | end) | |
10058 | addcmd('nextsong','forward a song',{'nxtsong'}, | |
10059 | function(args, speaker) | |
10060 | MusicPlayer:NextSong() | |
10061 | end) | |
10062 | addcmd('prevsong','back a song',{'previoussong'}, | |
10063 | function(args, speaker) | |
10064 | MusicPlayer:PrevSong() | |
10065 | end) | |
10066 | addcmd('hideplaylist','back a song',{'unplayer','noplayer','hideplayer'}, | |
10067 | function(args, speaker) | |
10068 | playerenabled = false | |
10069 | MusicPlayer:Hide() | |
10070 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
10071 | end) | |
10072 | ||
10073 | addcmd('playhash', 'plays a hash instead of soundid',{'hash'}, | |
10074 | function(args, speaker) | |
10075 | for i,v in pairs(game:GetDescendants()) do | |
10076 | if v:IsA'Sound'then v:Destroy() end end | |
10077 | local c = args[1] or 'stop' | |
10078 | if std.inTable({'stop'}, c:lower()) then return end | |
10079 | local s = Instance.new("Sound", workspace) | |
10080 | s.Name = "IYsound" | |
10081 | s.Looped = true | |
10082 | s.SoundId = c | |
10083 | s.Volume = 1 | |
10084 | s:Play() | |
10085 | playerenabled = false | |
10086 | Notify('Playing hash') | |
10087 | end) | |
10088 | ||
10089 | addcmd('disco','disco party',{''}, | |
10090 | function(args, speaker) | |
10091 | _G.nodisco = nil | |
10092 | coroutine.resume(coroutine.create(function() | |
10093 | repeat | |
10094 | game:GetService('Lighting').GlobalShadows = true | |
10095 | game:GetService('Lighting').FogEnd = 200 | |
10096 | game:GetService('Lighting').TimeOfDay = 0 | |
10097 | local r = 255 | |
10098 | local g = 0 | |
10099 | local b = 0 | |
10100 | for i = 0,255,5 do | |
10101 | if _G.nodisco ~=nil then return end | |
10102 | r = r - 5 | |
10103 | b = b + 5 | |
10104 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10105 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10106 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10107 | wait() | |
10108 | end | |
10109 | for i = 0,255,5 do | |
10110 | if _G.nodisco ~=nil then return end | |
10111 | g = g + 5 | |
10112 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10113 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10114 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10115 | wait() | |
10116 | end | |
10117 | for i = 0,255,5 do | |
10118 | if _G.nodisco ~=nil then return end | |
10119 | b = b - 5 | |
10120 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10121 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10122 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10123 | wait() | |
10124 | end | |
10125 | for i = 0,255,5 do | |
10126 | if _G.nodisco ~=nil then return end | |
10127 | r = r + 5 | |
10128 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10129 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10130 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10131 | wait() | |
10132 | end | |
10133 | for i = 0,255,5 do | |
10134 | if _G.nodisco ~=nil then return end | |
10135 | g = g - 5 | |
10136 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b) | |
10137 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b) | |
10138 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b) | |
10139 | wait() | |
10140 | end | |
10141 | until _G.nodisco | |
10142 | end)) | |
10143 | end) | |
10144 | ||
10145 | addcmd('undisco','rip disco party',{''}, | |
10146 | function(args, speaker) | |
10147 | _G.nodisco = true | |
10148 | execCmd('fixl') | |
10149 | end) | |
10150 | ||
10151 | addcmd('hat','give a hat to a player',{''}, | |
10152 | function(args, speaker) | |
10153 | local players = getPlayer(args[1], speaker) | |
10154 | for i,v in pairs(players)do | |
10155 | local char = gPlayers[v].Character | |
10156 | local Hat = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. args[2]) | |
10157 | Hat.Parent = char | |
10158 | end end) | |
10159 | ||
10160 | fm = Instance.new('BlockMesh', DATA) | |
10161 | fm.Scale = Vector3.new(1, 1, 2) | |
10162 | fm.Name = "FAT" | |
10163 | addcmd('fat','makes a plr fat',{''}, | |
10164 | function(args, speaker) | |
10165 | local players = getPlayer(args[1], speaker) | |
10166 | for i,v in pairs(players)do | |
10167 | local char = gPlayers[v].Character | |
10168 | for _, child in pairs( char:GetChildren()) do | |
10169 | if child.ClassName == "CharacterMesh" then | |
10170 | child:Destroy() end end | |
10171 | for i,v in pairs(char:GetChildren()) do | |
10172 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then | |
10173 | fm:Clone().Parent = v | |
10174 | end end end end) | |
10175 | ||
10176 | addcmd('crucify','crucifies a player',{'cruci'}, | |
10177 | function(args, speaker) | |
10178 | local players = getPlayer(args[1], speaker) | |
10179 | for i,v in pairs(players)do | |
10180 | local char = gPlayers[v].Character | |
10181 | local torso=char['Torso'] | |
10182 | local larm=char['Left Arm'] | |
10183 | local rarm=char['Right Arm'] | |
10184 | local lleg=char['Left Leg'] | |
10185 | local rleg=char['Right Leg'] | |
10186 | local head=char['Head'] | |
10187 | if torso and larm and rarm and lleg and rleg and head and not char:FindFirstChild(char.Name..'epixcrusify') then | |
10188 | local cru=Instance.new('Model',char) | |
10189 | cru.Name=char.Name..'epixcrusify' -- Leave it like that so it bypasses epixcommands ;) | |
10190 | local c1=Instance.new('Part',cru) | |
10191 | c1.BrickColor=BrickColor.new('Reddish brown') | |
10192 | c1.Material='Wood' | |
10193 | c1.CFrame=(char.Torso.CFrame-char.Torso.CFrame.lookVector)*CFrame.new(0,0,2) | |
10194 | c1.Size=Vector3.new(2,18.4,1) | |
10195 | c1.Anchored=true | |
10196 | local c2=c1:Clone() | |
10197 | c2.Parent=cru | |
10198 | c2.Size=Vector3.new(11,1.6,1) | |
10199 | c2.CFrame=c1.CFrame+Vector3.new(0,5,0) | |
10200 | torso.Anchored=true;wait(0.5) | |
10201 | torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0);wait(0.5) | |
10202 | larm.Anchored=true | |
10203 | rarm.Anchored=true | |
10204 | lleg.Anchored=true | |
10205 | rleg.Anchored=true | |
10206 | head.Anchored=true;wait() | |
10207 | larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0) | |
10208 | rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0) | |
10209 | lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0) | |
10210 | rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0) | |
10211 | larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140) | |
10212 | rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140) | |
10213 | lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6) | |
10214 | rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6) | |
10215 | --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3) | |
10216 | local n1=Instance.new('Part',cru) | |
10217 | n1.BrickColor=BrickColor.new('Dark stone grey') | |
10218 | n1.Material='DiamondPlate' | |
10219 | n1.Size=Vector3.new(0.2,0.2,2) | |
10220 | n1.Anchored=true | |
10221 | local m=Instance.new('BlockMesh',n1) | |
10222 | m.Scale=Vector3.new(0.2,0.2,0.7) | |
10223 | local n2=n1:Clone() | |
10224 | n2.Parent=cru | |
10225 | local n3=n1:Clone() | |
10226 | n3.Parent=cru | |
10227 | n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0) | |
10228 | n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0) | |
10229 | n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0) | |
10230 | spawn(function() | |
10231 | repeat | |
10232 | wait(0.1) | |
10233 | char.Humanoid.Health=char.Humanoid.Health-0.6 | |
10234 | until (not cru) or (not cru.Parent) or (not v) or (not char) or (not char:FindFirstChild('Head')) or char.Humanoid.Health<=0 | |
10235 | char:BreakJoints() | |
10236 | end) | |
10237 | end | |
10238 | end | |
10239 | end) | |
10240 | ||
10241 | addcmd('hang','hangs a player',{}, | |
10242 | function(args, speaker) | |
10243 | local players = getPlayer(args[1], speaker) | |
10244 | for i,v in pairs(players)do | |
10245 | local plr = gPlayers[v].Character | |
10246 | plr.HumanoidRootPart.Anchored = true | |
10247 | function sandbox(var,func) | |
10248 | local env = getfenv(func) | |
10249 | local newenv = setmetatable({},{ | |
10250 | __index = function(self,k) | |
10251 | if k=="script" then | |
10252 | return var | |
10253 | else | |
10254 | return env[k] | |
10255 | end | |
10256 | end, | |
10257 | }) | |
10258 | setfenv(func,newenv) | |
10259 | return func | |
10260 | end | |
10261 | cors = {} | |
10262 | mas = Instance.new("Model",game:GetService("Lighting")) | |
10263 | local Model0 = Instance.new("Model") | |
10264 | local Part1 = Instance.new("Part") | |
10265 | local Part2 = Instance.new("Part") | |
10266 | local Part3 = Instance.new("Part") | |
10267 | local Part4 = Instance.new("Part") | |
10268 | local Part5 = Instance.new("Part") | |
10269 | local Motor6D6 = Instance.new("Motor6D") | |
10270 | local Part7 = Instance.new("Part") | |
10271 | local Part8 = Instance.new("Part") | |
10272 | local Part9 = Instance.new("Part") | |
10273 | local Part10 = Instance.new("Part") | |
10274 | local Part11 = Instance.new("Part") | |
10275 | local Part12 = Instance.new("Part") | |
10276 | local Part13 = Instance.new("Part") | |
10277 | local Part14 = Instance.new("Part") | |
10278 | local Part15 = Instance.new("Part") | |
10279 | Model0.Name = "hang" | |
10280 | Model0.Parent = mas | |
10281 | Part1.Parent = Model0 | |
10282 | Part1.Material = Enum.Material.SmoothPlastic | |
10283 | Part1.BrickColor = BrickColor.new("Reddish brown") | |
10284 | Part1.Anchored = true | |
10285 | Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024) | |
10286 | Part1.CFrame = CFrame.new(1.539994, 9.29992199, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10287 | Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10288 | Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10289 | Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10290 | Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10291 | Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10292 | Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10293 | Part1.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10294 | Part1.Position = Vector3.new(1.539994, 9.29992199, 12.6999884) | |
10295 | Part1.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10296 | Part2.Parent = Model0 | |
10297 | Part2.Material = Enum.Material.Wood | |
10298 | Part2.BrickColor = BrickColor.new("Pine Cone") | |
10299 | Part2.Anchored = true | |
10300 | Part2.Size = Vector3.new(0.49999997, 0.200000003, 0.200000003) | |
10301 | Part2.CFrame = CFrame.new(1.44999003, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10302 | Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10303 | Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10304 | Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10305 | Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10306 | Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10307 | Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10308 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10309 | Part2.Position = Vector3.new(1.44999003, 9.09992599, 12.6999884) | |
10310 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10311 | Part3.Parent = Model0 | |
10312 | Part3.Material = Enum.Material.Wood | |
10313 | Part3.BrickColor = BrickColor.new("Pine Cone") | |
10314 | Part3.Anchored = true | |
10315 | Part3.Size = Vector3.new(1, 9.39999962, 0.599999964) | |
10316 | Part3.CFrame = CFrame.new(-0.100001998, 4.70001078, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10317 | Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10318 | Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10319 | Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10320 | Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10321 | Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10322 | Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10323 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10324 | Part3.Position = Vector3.new(-0.100001998, 4.70001078, 12.6999884) | |
10325 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10326 | Part4.Parent = Model0 | |
10327 | Part4.Material = Enum.Material.Wood | |
10328 | Part4.BrickColor = BrickColor.new("Pine Cone") | |
10329 | Part4.Anchored = true | |
10330 | Part4.Size = Vector3.new(1, 0.599999845, 0.599999964) | |
10331 | Part4.CFrame = CFrame.new(0.899998009, 9.09995365, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10332 | Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10333 | Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10334 | Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10335 | Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10336 | Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10337 | Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10338 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10339 | Part4.Position = Vector3.new(0.899998009, 9.09995365, 12.6999884) | |
10340 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10341 | Part5.Name = "main" | |
10342 | Part5.Parent = Model0 | |
10343 | Part5.BrickColor = BrickColor.new("Bright blue") | |
10344 | Part5.Transparency = 1 | |
10345 | Part5.Rotation = Vector3.new(0, -90, 0) | |
10346 | Part5.Anchored = true | |
10347 | Part5.CanCollide = false | |
10348 | Part5.FormFactor = Enum.FormFactor.Symmetric | |
10349 | Part5.Size = Vector3.new(2, 2, 1) | |
10350 | Part5.CFrame = CFrame.new(1.98998594, 6.33001804, 12.7000237, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10351 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
10352 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
10353 | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
10354 | Part5.Position = Vector3.new(1.98998594, 6.33001804, 12.7000237) | |
10355 | Part5.Orientation = Vector3.new(0, -90, 0) | |
10356 | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
10357 | Motor6D6.Name = "RootJoint" | |
10358 | Motor6D6.Parent = Part5 | |
10359 | Motor6D6.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
10360 | Motor6D6.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
10361 | Motor6D6.Part0 = Part5 | |
10362 | Motor6D6.MaxVelocity = 0.10000000149012 | |
10363 | Part7.Parent = Model0 | |
10364 | Part7.Material = Enum.Material.SmoothPlastic | |
10365 | Part7.BrickColor = BrickColor.new("Reddish brown") | |
10366 | Part7.Rotation = Vector3.new(90, 75, -180) | |
10367 | Part7.Anchored = true | |
10368 | Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
10369 | Part7.CFrame = CFrame.new(2.02295995, 7.37058878, 12.1000061, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10370 | Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10371 | Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10372 | Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10373 | Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10374 | Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10375 | Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10376 | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10377 | Part7.Position = Vector3.new(2.02295995, 7.37058878, 12.1000061) | |
10378 | Part7.Orientation = Vector3.new(15, 90, -90) | |
10379 | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10380 | Part8.Parent = Model0 | |
10381 | Part8.Material = Enum.Material.Wood | |
10382 | Part8.BrickColor = BrickColor.new("Pine Cone") | |
10383 | Part8.Anchored = true | |
10384 | Part8.Size = Vector3.new(0.200000003, 0.599999785, 0.599999964) | |
10385 | Part8.CFrame = CFrame.new(1.77999604, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10386 | Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10387 | Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10388 | Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10389 | Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10390 | Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10391 | Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10392 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10393 | Part8.Position = Vector3.new(1.77999604, 9.09992599, 12.6999884) | |
10394 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
10395 | Part9.Parent = Model0 | |
10396 | Part9.Material = Enum.Material.SmoothPlastic | |
10397 | Part9.BrickColor = BrickColor.new("Reddish brown") | |
10398 | Part9.Rotation = Vector3.new(90, 75, -180) | |
10399 | Part9.Anchored = true | |
10400 | Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
10401 | Part9.CFrame = CFrame.new(2.02295995, 7.37058878, 13.299984, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10402 | Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10403 | Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10404 | Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10405 | Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10406 | Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10407 | Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10408 | Part9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10409 | Part9.Position = Vector3.new(2.02295995, 7.37058878, 13.299984) | |
10410 | Part9.Orientation = Vector3.new(15, 90, -90) | |
10411 | Part9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10412 | Part10.Parent = Model0 | |
10413 | Part10.Material = Enum.Material.SmoothPlastic | |
10414 | Part10.BrickColor = BrickColor.new("Reddish brown") | |
10415 | Part10.Anchored = true | |
10416 | Part10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
10417 | Part10.CFrame = CFrame.new(1.539994, 9.09992599, 12.8999901, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10418 | Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10419 | Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10420 | Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10421 | Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10422 | Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10423 | Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10424 | Part10.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10425 | Part10.Position = Vector3.new(1.539994, 9.09992599, 12.8999901) | |
10426 | Part10.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10427 | Part11.Parent = Model0 | |
10428 | Part11.Material = Enum.Material.SmoothPlastic | |
10429 | Part11.BrickColor = BrickColor.new("Reddish brown") | |
10430 | Part11.Anchored = true | |
10431 | Part11.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10432 | Part11.CFrame = CFrame.new(1.539994, 8.09998417, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10433 | Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10434 | Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10435 | Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10436 | Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10437 | Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10438 | Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10439 | Part11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10440 | Part11.Position = Vector3.new(1.539994, 8.09998417, 12.6999884) | |
10441 | Part11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10442 | Part12.Parent = Model0 | |
10443 | Part12.Material = Enum.Material.SmoothPlastic | |
10444 | Part12.BrickColor = BrickColor.new("Reddish brown") | |
10445 | Part12.Rotation = Vector3.new(90, 75, -180) | |
10446 | Part12.Anchored = true | |
10447 | Part12.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10448 | Part12.CFrame = CFrame.new(2.50592208, 7.24118423, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10449 | Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10450 | Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10451 | Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10452 | Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10453 | Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10454 | Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10455 | Part12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10456 | Part12.Position = Vector3.new(2.50592208, 7.24118423, 12.6999884) | |
10457 | Part12.Orientation = Vector3.new(15, 90, -90) | |
10458 | Part12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10459 | Part13.Parent = Model0 | |
10460 | Part13.Material = Enum.Material.SmoothPlastic | |
10461 | Part13.BrickColor = BrickColor.new("Reddish brown") | |
10462 | Part13.Anchored = true | |
10463 | Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
10464 | Part13.CFrame = CFrame.new(1.539994, 9.09992599, 12.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10465 | Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10466 | Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10467 | Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10468 | Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10469 | Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10470 | Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10471 | Part13.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10472 | Part13.Position = Vector3.new(1.539994, 9.09992599, 12.4999962) | |
10473 | Part13.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10474 | Part14.Parent = Model0 | |
10475 | Part14.Material = Enum.Material.SmoothPlastic | |
10476 | Part14.BrickColor = BrickColor.new("Reddish brown") | |
10477 | Part14.Rotation = Vector3.new(90, 75, -180) | |
10478 | Part14.Anchored = true | |
10479 | Part14.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
10480 | Part14.CFrame = CFrame.new(1.539994, 7.49999714, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
10481 | Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10482 | Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10483 | Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10484 | Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10485 | Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10486 | Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10487 | Part14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10488 | Part14.Position = Vector3.new(1.539994, 7.49999714, 12.6999884) | |
10489 | Part14.Orientation = Vector3.new(15, 90, -90) | |
10490 | Part14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10491 | Part15.Parent = Model0 | |
10492 | Part15.Material = Enum.Material.SmoothPlastic | |
10493 | Part15.BrickColor = BrickColor.new("Reddish brown") | |
10494 | Part15.Anchored = true | |
10495 | Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024) | |
10496 | Part15.CFrame = CFrame.new(1.539994, 8.89993, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
10497 | Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
10498 | Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
10499 | Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
10500 | Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
10501 | Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
10502 | Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
10503 | Part15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10504 | Part15.Position = Vector3.new(1.539994, 8.89993, 12.6999884) | |
10505 | Part15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
10506 | for i,v in pairs(mas:GetChildren()) do | |
10507 | v.Parent = workspace | |
10508 | pcall(function() v:MakeJoints() end) | |
10509 | end | |
10510 | mas:Destroy() | |
10511 | for i,v in pairs(cors) do | |
10512 | spawn(function() | |
10513 | pcall(v) | |
10514 | end) | |
10515 | end | |
10516 | hang = Model0 | |
10517 | hang.Parent = plr | |
10518 | hang:MoveTo(plr.Torso.Position-Vector3.new(0,0,5)) | |
10519 | pcall(function() | |
10520 | plr.HumanoidRootPart.CFrame = hang.main.CFrame | |
10521 | function weld(p, cf) | |
10522 | local weld1 = Instance.new("Weld") | |
10523 | weld1.Part0 = p | |
10524 | weld1.Part1 = plr.Torso | |
10525 | weld1.C0 = CFrame.new() | |
10526 | weld1.C1 = cf | |
10527 | weld1.Parent = p | |
10528 | end | |
10529 | weld(plr["Right Arm"], CFrame.new(0.8,0.3,-0.6) * CFrame.Angles(0, 0.5, 4)) | |
10530 | weld(plr["Left Arm"], CFrame.new(-0.8,0.3,-0.6) * CFrame.Angles(0, -0.5, -4)) | |
10531 | spawn(function() | |
10532 | repeat | |
10533 | wait(0.1) | |
10534 | plr.Humanoid.Health=plr.Humanoid.Health-0.6 | |
10535 | until (not hang) or (not hang.Parent) or (not v) or (not plr) or (not plr:FindFirstChild('Head')) or plr.Humanoid.Health<=0 | |
10536 | plr:BreakJoints() | |
10537 | end) | |
10538 | end) | |
10539 | end | |
10540 | end) | |
10541 | ||
10542 | addcmd('fix', 'restores lighting and what not',{}, | |
10543 | function(args, speaker) | |
10544 | LightingService.Ambient = origsettings.abt | |
10545 | LightingService.OutdoorAmbient = origsettings.oabt | |
10546 | LightingService.Brightness = origsettings.brt | |
10547 | LightingService.TimeOfDay = origsettings.time | |
10548 | LightingService.FogColor = origsettings.fclr | |
10549 | LightingService.FogEnd = origsettings.fe | |
10550 | LightingService.FogStart = origsettings.fs | |
10551 | playinggif = false | |
10552 | workspace.Gravity = 200 | |
10553 | 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) | |
10554 | for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end | |
10555 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
10556 | if v:IsA("PostEffect") then v:Destroy() end end | |
10557 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() Notify('Reset') end end) | |
10558 | ||
10559 | Floating = false | |
10560 | ||
10561 | addcmd('float', 'makes player float',{}, | |
10562 | function(args,speaker) | |
10563 | Floating = true | |
10564 | local players = getPlayer(args[1], speaker) | |
10565 | for _,v in pairs(players) do | |
10566 | local pchar = gPlayers[v].Character | |
10567 | if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then | |
10568 | spawn(function() | |
10569 | local float = DATA.Float:Clone() | |
10570 | float.Parent = pchar | |
10571 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
10572 | spawn(function() | |
10573 | while wait(0.1) do | |
10574 | if pchar:FindFirstChild("Float") then | |
10575 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
10576 | else | |
10577 | break | |
10578 | end | |
10579 | end | |
10580 | end) | |
10581 | end) | |
10582 | end | |
10583 | end | |
10584 | end) | |
10585 | ||
10586 | addcmd('unfloat','disables floating',{}, | |
10587 | function(args, speaker) | |
10588 | Floating = false | |
10589 | local players = getPlayer(args[1], speaker) | |
10590 | for i,v in pairs(players)do | |
10591 | local pchar = gPlayers[v].Character | |
10592 | if pchar:FindFirstChild("Float") then | |
10593 | pchar.Float:Destroy() | |
10594 | end | |
10595 | end | |
10596 | end) | |
10597 | ||
10598 | runningnoclip = false | |
10599 | Clip = true | |
10600 | addcmd('noclip','noclip',{}, | |
10601 | function(args, speaker) | |
10602 | if speaker.userId ~= LP.userId then | |
10603 | lponly(speaker) | |
10604 | else | |
10605 | Notify('Noclip enabled') | |
10606 | Clip = false | |
10607 | if LP.Character:FindFirstChild('Torso') then | |
10608 | wait(0.1) | |
10609 | if runningnoclip == false then runningnoclip = true | |
10610 | game:GetService('RunService').Stepped:connect(function () | |
10611 | if Clip == false and LP.Character ~= nil then | |
10612 | for _, child in pairs( LP.Character:GetDescendants()) do | |
10613 | if child.ClassName == 'Part' and child.CanCollide == true then | |
10614 | child.CanCollide = false | |
10615 | end end end end) end | |
10616 | else | |
10617 | r15noclip = true | |
10618 | end | |
10619 | end | |
10620 | end) | |
10621 | ||
10622 | addcmd('clip','clip',{}, | |
10623 | function(args, speaker) | |
10624 | if speaker.userId ~= LP.userId then | |
10625 | lponly(speaker) | |
10626 | else | |
10627 | Notify('Noclip disabled') | |
10628 | Clip = true | |
10629 | r15noclip = false | |
10630 | wait(0.1) | |
10631 | if LP.Character ~= nil then | |
10632 | LP.Character.Torso.CanCollide = true | |
10633 | LP.Character.Head.CanCollide = true | |
10634 | end end end) | |
10635 | ||
10636 | addcmd('prefix','changes prefix',{}, | |
10637 | function(args, speaker) | |
10638 | cmdprefix = args[1] | |
10639 | Notify('Set prefix to "' .. args[1] .. '"') | |
10640 | updatefile() | |
10641 | end) | |
10642 | ||
10643 | logsopen = false | |
10644 | addcmd('logs','shows logs',{}, | |
10645 | function(args, speaker) | |
10646 | if speaker.userId ~= LP.userId then | |
10647 | lponly(speaker) else | |
10648 | if logsopen == false then logsopen = true | |
10649 | logdrag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
10650 | end | |
10651 | end | |
10652 | end) | |
10653 | ||
10654 | local Saved = {} | |
10655 | ||
10656 | RestorePoint = function() | |
10657 | Saved = {} | |
10658 | for i, v in pairs(game:GetService("Workspace"):GetDescendants()) do | |
10659 | v.Archivable = true; | |
10660 | end | |
10661 | for i, v in pairs(game:GetService("Workspace"):GetChildren()) do | |
10662 | if not v:IsA("Terrain") and not v:IsA("Camera") then | |
10663 | if not game:GetService("Players"):FindFirstChild(v.Name) then | |
10664 | table.insert(Saved, v:Clone()); | |
10665 | end | |
10666 | elseif v:IsA("Terrain") then | |
10667 | Saved.Terrain = game:GetService("Workspace").Terrain:CopyRegion(game:GetService("Workspace").Terrain.MaxExtents); | |
10668 | end | |
10669 | end | |
10670 | return Saved; | |
10671 | end | |
10672 | ||
10673 | InsertPoint = function() | |
10674 | if #Saved == 0 and not Saved.Terrain then | |
10675 | return false; | |
10676 | end | |
10677 | for i, v in pairs(game:GetService("Workspace"):GetChildren()) do | |
10678 | if not v:IsA("Camera") and not v:IsA("Terrain") then | |
10679 | if not game:GetService("Players"):FindFirstChild(v.Name) then | |
10680 | pcall(function() | |
10681 | v:Destroy() | |
10682 | end) | |
10683 | end | |
10684 | elseif v:IsA("Terrain") then | |
10685 | v:Clear() | |
10686 | end | |
10687 | end | |
10688 | for i, v in ipairs(Saved) do | |
10689 | v:Clone().Parent = workspace; | |
10690 | end | |
10691 | game:GetService("Workspace").Terrain:PasteRegion(Saved.Terrain, game:GetService("Workspace").Terrain.MaxExtents.Min, true); | |
10692 | end | |
10693 | ||
10694 | addcmd('savemap','saves current map',{'smap'}, | |
10695 | function(args, speaker) | |
10696 | RestorePoint() | |
10697 | Notify('Saved current map') | |
10698 | end) | |
10699 | ||
10700 | addcmd('restoremap','saves current map',{'rmap'}, | |
10701 | function(args, speaker) | |
10702 | InsertPoint() | |
10703 | Notify('Loaded last saved map') | |
10704 | end) | |
10705 | ||
10706 | addcmd('respawn','respawns',{}, | |
10707 | function(args, speaker) | |
10708 | local players = getPlayer(args[1], speaker) | |
10709 | for i,v in pairs(players) do | |
10710 | respawn(gPlayers[v]) | |
10711 | end | |
10712 | end) | |
10713 | ||
10714 | addcmd('version','shows version',{''}, | |
10715 | function(args, speaker) | |
10716 | if speaker.userId ~= LP.userId then | |
10717 | lponly(speaker) | |
10718 | else | |
10719 | Notify("Version is " .. Version) | |
10720 | end | |
10721 | end) | |
10722 | local CTPenabled = false | |
10723 | Mouse.KeyDown:connect(function (Key) | |
10724 | if Key:byte() == 29 then | |
10725 | if FLYING == false then | |
10726 | execCmd("fly me", Player) | |
10727 | elseif FLYING == true then | |
10728 | execCmd("unfly me", Player) | |
10729 | end | |
10730 | end | |
10731 | if Key:byte() == 30 then | |
10732 | if Clip == true then | |
10733 | execCmd("noclip", Player) | |
10734 | elseif Clip == false then | |
10735 | execCmd("clip", Player) | |
10736 | end | |
10737 | end | |
10738 | Key = Key:lower() | |
10739 | if Key:byte() == 27 then | |
10740 | CTPenabled = true | |
10741 | end | |
10742 | end) | |
10743 | Mouse.KeyUp:connect(function(Key) | |
10744 | Key = Key:lower() | |
10745 | if Key:byte() == 27 then | |
10746 | CTPenabled = false | |
10747 | end | |
10748 | end) | |
10749 | Mouse.Button1Down:connect(function() | |
10750 | local charx = gPlayers.LocalPlayer.Character | |
10751 | if charx and CTPenabled == true then | |
10752 | charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0) | |
10753 | end | |
10754 | end) | |
10755 | ||
10756 | CMDbar = Instance.new('ScreenGui', game.CoreGui) | |
10757 | CMDbar.Name = 'GUI' | |
10758 | CMDbar.DisplayOrder = 2 | |
10759 | cont = Instance.new("Frame") | |
10760 | cmdBAR = Instance.new('TextBox', cont) | |
10761 | cont.Name = "cont" | |
10762 | cont.BackgroundTransparency = 1 | |
10763 | cont.Position = UDim2.new(1, -265, 0, -75) | |
10764 | cont.Size = UDim2.new(0, 270, 0, 45) | |
10765 | cont.Parent = CMDbar | |
10766 | cont.ZIndex = 5 | |
10767 | cont.Active = true | |
10768 | dragGUI(cont) | |
10769 | cmdBAR.Name = "CMDbar" | |
10770 | cmdBAR.Parent = cont | |
10771 | cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
10772 | cmdBAR.BackgroundTransparency = 0.7 | |
10773 | cmdBAR.BorderColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
10774 | cmdBAR.BorderSizePixel = 0 | |
10775 | cmdBAR.Position = UDim2.new(0, 10, 1, -35) | |
10776 | cmdBAR.Size = UDim2.new(0, 250, 0, 25) | |
10777 | cmdBAR.Font = Enum.Font.SourceSans | |
10778 | cmdBAR.FontSize = Enum.FontSize.Size18 | |
10779 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
10780 | cmdBAR.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
10781 | cmdBAR.ZIndex = 5 | |
10782 | DATA = Instance.new('Folder', game.ContextActionService) | |
10783 | DATA.Name = 'Data' | |
10784 | Paper = Instance.new('BlockMesh', DATA) | |
10785 | Paper.Name = 'Paper' | |
10786 | Paper.Scale = Vector3.new(1,1,0.1) | |
10787 | ayylmao = Instance.new('Hat', DATA) | |
10788 | ayylmao.Name = 'ayylmao' | |
10789 | ayyHandle = Instance.new('Part', ayylmao) | |
10790 | ayyHandle.Name = 'Handle' | |
10791 | ayyHandle.Size = Vector3.new(2,2.4,2) | |
10792 | ayyHandle.FormFactor = 'Plate' | |
10793 | ayyMesh = Instance.new('SpecialMesh', ayyHandle) | |
10794 | ayyMesh.Scale = Vector3.new(1,1.02,1) | |
10795 | ayyMesh.MeshType = 'FileMesh' | |
10796 | ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689' | |
10797 | ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796' | |
10798 | Float = Instance.new('Part', DATA) | |
10799 | Float.Name = 'Float' | |
10800 | Float.Transparency = 1 | |
10801 | Float.Size = Vector3.new(6,1,6) | |
10802 | Float.Anchored = true | |
10803 | function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end | |
10804 | missile = Instance.new('Part', DATA) | |
10805 | missile.Name = 'IY_missile' | |
10806 | missile.CanCollide = false | |
10807 | missile.Size = Vector3.new(2, 5, 2) | |
10808 | Instance.new('CylinderMesh', missile) | |
10809 | local F = Instance.new('Part', missile) | |
10810 | F.BrickColor = BrickColor.new('Black') | |
10811 | F.CanCollide = false | |
10812 | F.Size = Vector3.new(2, 0.2, 2) | |
10813 | Instance.new('CylinderMesh', F) | |
10814 | local fire = Instance.new('Fire', F) | |
10815 | fire.Size = "15" | |
10816 | fire.Heat = "25" | |
10817 | local head = Instance.new('Part', missile) | |
10818 | head.CanCollide = false | |
10819 | head.Shape = 'Ball' | |
10820 | head.Size = Vector3.new(2, 2, 2) | |
10821 | head.TopSurface = 'Smooth' | |
10822 | head.BottomSurface = 'Smooth' | |
10823 | local BF = Instance.new('BodyForce', missile) | |
10824 | BF.Name = 'force' | |
10825 | BF.Force = Vector3.new(0, 0, 0) | |
10826 | local W1 = Instance.new('Weld', missile) | |
10827 | W1.Part0 = missile | |
10828 | W1.Part1 = F | |
10829 | W1.C1 = CFrame.new(0, 2.6, 0) | |
10830 | local W2 = Instance.new('Weld', missile) | |
10831 | W2.Part0 = missile | |
10832 | W2.Part1 = head | |
10833 | W2.C1 = CFrame.new(0, -2.6, 0) | |
10834 | jail = Instance.new('Model', DATA) | |
10835 | jail.Name = 'JAIL' | |
10836 | local B = Instance.new('Part', jail) | |
10837 | B.Name = 'BUTTOM' | |
10838 | B.BrickColor = BrickColor.new('Black') | |
10839 | B.Transparency = 0.5 | |
10840 | B.Anchored = true | |
10841 | B.Locked = true | |
10842 | B.Size = Vector3.new(6, 1, 6) | |
10843 | B.TopSurface = 'Smooth' | |
10844 | B.BottomSurface = 'Smooth' | |
10845 | local M = Instance.new('Part', jail) | |
10846 | M.Name = 'MAIN' | |
10847 | M.BrickColor = BrickColor.new('Black') | |
10848 | M.Transparency = 1 | |
10849 | M.Anchored = true | |
10850 | M.CanCollide = false | |
10851 | M.Locked = true | |
10852 | M.Position = B.Position + Vector3.new(0, 3, 0) | |
10853 | M.Size = Vector3.new(1, 1, 1) | |
10854 | local P1 = Instance.new('Part', jail) | |
10855 | P1.BrickColor = BrickColor.new('Black') | |
10856 | P1.Transparency = 0.5 | |
10857 | P1.Position = B.Position + Vector3.new(0, 3.5, -2.5) | |
10858 | P1.Rotation = Vector3.new(0, 90, 0) | |
10859 | P1.Anchored = true | |
10860 | P1.Locked = true | |
10861 | P1.Size = Vector3.new(1, 6, 6) | |
10862 | local P2 = Instance.new('Part', jail) | |
10863 | P2.BrickColor = BrickColor.new('Black') | |
10864 | P2.Transparency = 0.5 | |
10865 | P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0) | |
10866 | P2.Rotation = Vector3.new(-180, 0, -180) | |
10867 | P2.Anchored = true | |
10868 | P2.Locked = true | |
10869 | P2.Size = Vector3.new(1, 6, 4) | |
10870 | local P3 = Instance.new('Part', jail) | |
10871 | P3.BrickColor = BrickColor.new('Black') | |
10872 | P3.Transparency = 0.5 | |
10873 | P3.Position = B.Position + Vector3.new(2.5, 3.5, 0) | |
10874 | P3.Rotation = Vector3.new(0, 0, 0) | |
10875 | P3.Anchored = true | |
10876 | P3.Locked = true | |
10877 | P3.Size = Vector3.new(1, 6, 4) | |
10878 | local P4 = Instance.new('Part', jail) | |
10879 | P4.BrickColor = BrickColor.new('Black') | |
10880 | P4.Transparency = 0.5 | |
10881 | P4.Position = B.Position + Vector3.new(0, 3.5, 2.5) | |
10882 | P4.Rotation = Vector3.new(0, 90, 0) | |
10883 | P4.Anchored = true | |
10884 | P4.Locked = true | |
10885 | P4.Size = Vector3.new(1, 6, 6) | |
10886 | local TOP = Instance.new('Part', jail) | |
10887 | TOP.BrickColor = BrickColor.new('Black') | |
10888 | TOP.Transparency = 0.5 | |
10889 | TOP.Position = B.Position + Vector3.new(0, 7, 0) | |
10890 | TOP.Rotation = Vector3.new(0, 0, 0) | |
10891 | TOP.Anchored = true | |
10892 | TOP.Locked = true | |
10893 | TOP.Size = Vector3.new(6, 1, 6) | |
10894 | TOP.TopSurface = 'Smooth' | |
10895 | TOP.BottomSurface = 'Smooth' | |
10896 | cp = Instance.new("ScreenGui") | |
10897 | local Frame = Instance.new("Frame") | |
10898 | local holder = Instance.new("Frame") | |
10899 | bar = Instance.new("Frame") | |
10900 | local cmds = Instance.new("TextButton") | |
10901 | local settings = Instance.new("TextButton") | |
10902 | local Hide = Instance.new("TextButton") | |
10903 | local Exit = Instance.new("TextButton") | |
10904 | FeedbackMain = Instance.new("Frame") | |
10905 | local Title = Instance.new("TextLabel") | |
10906 | local checkboxText = Instance.new("TextLabel") | |
10907 | local CheckBox = Instance.new("ImageButton") | |
10908 | local bindInput = Instance.new("TextButton") | |
10909 | Input = Instance.new("TextBox") | |
10910 | local preText = Instance.new("TextLabel") | |
10911 | local setpre = Instance.new("TextButton") | |
10912 | local everyone = Instance.new("TextButton") | |
10913 | local JLtext = Instance.new("TextLabel") | |
10914 | local CheckBoxJL = Instance.new("ImageButton") | |
10915 | local friends = Instance.new("TextButton") | |
10916 | local InputBox = Instance.new("TextButton") | |
10917 | Input_2 = Instance.new("TextBox") | |
10918 | local MTText = Instance.new("TextLabel") | |
10919 | local setMT = Instance.new("TextButton") | |
10920 | local CheckBoxS = Instance.new("ImageButton") | |
10921 | local slocktext = Instance.new("TextLabel") | |
10922 | local barBind = Instance.new("TextLabel") | |
10923 | local setBind = Instance.new("TextButton") | |
10924 | local MtimeInput = Instance.new("TextButton") | |
10925 | Input_3 = Instance.new("TextBox") | |
10926 | local size = Instance.new("Frame") | |
10927 | MAIN = Instance.new("Frame") | |
10928 | local Title_2 = Instance.new("TextLabel") | |
10929 | local Example = Instance.new("TextLabel") | |
10930 | local Search = Instance.new("TextBox") | |
10931 | local CMDss = Instance.new("ScrollingFrame") | |
10932 | local uicolortext = Instance.new("TextLabel") | |
10933 | local openC = Instance.new("TextButton") | |
10934 | cp.Name = "cp" | |
10935 | cp.Parent = DATA | |
10936 | Frame.Parent = cp | |
10937 | Frame.Active = true | |
10938 | Frame.BackgroundColor3 = Color3.new(1, 1, 1) | |
10939 | Frame.BackgroundTransparency = 1 | |
10940 | Frame.Position = UDim2.new(1, -300, 1, -330) | |
10941 | Frame.Size = UDim2.new(0, 300, 0, 40) | |
10942 | holder.Name = "holder" | |
10943 | holder.Parent = Frame | |
10944 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
10945 | holder.BackgroundTransparency = 1 | |
10946 | holder.BorderSizePixel = 2 | |
10947 | holder.ClipsDescendants = true | |
10948 | holder.Size = UDim2.new(0, 300, 0, 330) | |
10949 | holder.ZIndex = 2 | |
10950 | bar.Name = "bar" | |
10951 | bar.Parent = holder | |
10952 | bar.BackgroundColor3 = maincolor | |
10953 | bar.BackgroundTransparency = 0.30000001192093 | |
10954 | bar.BorderColor3 = Color3.new(0, 0, 0) | |
10955 | bar.BorderSizePixel = 0 | |
10956 | bar.Position = UDim2.new(1, -295, 1, -330) | |
10957 | bar.Size = UDim2.new(0, 290, 0, 26) | |
10958 | cmds.Name = "cmds" | |
10959 | cmds.Parent = bar | |
10960 | cmds.BackgroundColor3 = Color3.new(0, 0, 0) | |
10961 | cmds.BackgroundTransparency = 0.80000001192093 | |
10962 | cmds.BorderColor3 = Color3.new(1, 1, 1) | |
10963 | cmds.Position = UDim2.new(0, 3, 0, 3) | |
10964 | cmds.Size = UDim2.new(0, 70, 0, 20) | |
10965 | cmds.Font = Enum.Font.SourceSans | |
10966 | cmds.FontSize = Enum.FontSize.Size14 | |
10967 | cmds.Text = "Commands" | |
10968 | cmds.TextColor3 = Color3.new(1, 1, 1) | |
10969 | settings.Name = "settings" | |
10970 | settings.Parent = bar | |
10971 | settings.BackgroundColor3 = Color3.new(0, 0, 0) | |
10972 | settings.BackgroundTransparency = 0.80000001192093 | |
10973 | settings.BorderColor3 = Color3.new(1, 1, 1) | |
10974 | settings.Position = UDim2.new(0, 77, 0, 3) | |
10975 | settings.Size = UDim2.new(0, 70, 0, 20) | |
10976 | settings.Font = Enum.Font.SourceSans | |
10977 | settings.FontSize = Enum.FontSize.Size14 | |
10978 | settings.Text = "Settings" | |
10979 | settings.TextColor3 = Color3.new(1, 1, 1) | |
10980 | Hide.Name = "Hide" | |
10981 | Hide.Parent = bar | |
10982 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
10983 | Hide.BackgroundTransparency = 0.30000001192093 | |
10984 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
10985 | Hide.BorderSizePixel = 0 | |
10986 | Hide.Position = UDim2.new(0, 243, 0, 3) | |
10987 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
10988 | Hide.FontSize = Enum.FontSize.Size14 | |
10989 | Hide.Text = "" | |
10990 | Exit.Name = "Exit" | |
10991 | Exit.Parent = bar | |
10992 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
10993 | Exit.BackgroundTransparency = 0.30000001192093 | |
10994 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
10995 | Exit.BorderSizePixel = 0 | |
10996 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
10997 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
10998 | Exit.FontSize = Enum.FontSize.Size14 | |
10999 | Exit.Text = "" | |
11000 | FeedbackMain.Name = "FeedbackMain" | |
11001 | FeedbackMain.Parent = holder | |
11002 | FeedbackMain.BackgroundColor3 = maincolor | |
11003 | FeedbackMain.BackgroundTransparency = 0.5 | |
11004 | FeedbackMain.BorderColor3 = Color3.new(0, 0, 0) | |
11005 | FeedbackMain.BorderSizePixel = 0 | |
11006 | FeedbackMain.Position = UDim2.new(1.01999998, -301, 1.01800001, -310) | |
11007 | FeedbackMain.Size = UDim2.new(0, 290, 0, 300) | |
11008 | Title.Name = "Title" | |
11009 | Title.Parent = FeedbackMain | |
11010 | Title.BackgroundColor3 = Color3.new(1, 1, 1) | |
11011 | Title.BackgroundTransparency = 1 | |
11012 | Title.Size = UDim2.new(1, 0, 0, 30) | |
11013 | Title.Font = Enum.Font.SourceSansBold | |
11014 | Title.FontSize = Enum.FontSize.Size24 | |
11015 | Title.Text = "Settings" | |
11016 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11017 | Title.TextStrokeTransparency = 0 | |
11018 | checkboxText.Name = "checkboxText" | |
11019 | checkboxText.Parent = FeedbackMain | |
11020 | checkboxText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11021 | checkboxText.BackgroundTransparency = 1 | |
11022 | checkboxText.Position = UDim2.new(0, 0, 0, 60) | |
11023 | checkboxText.Size = UDim2.new(1, 0, 0, 30) | |
11024 | checkboxText.Font = Enum.Font.SourceSansBold | |
11025 | checkboxText.FontSize = Enum.FontSize.Size18 | |
11026 | checkboxText.Text = " Suggestions" | |
11027 | checkboxText.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471) | |
11028 | checkboxText.TextStrokeTransparency = 0 | |
11029 | checkboxText.TextXAlignment = Enum.TextXAlignment.Left | |
11030 | CheckBox.Name = "CheckBox" | |
11031 | CheckBox.Parent = FeedbackMain | |
11032 | CheckBox.BackgroundTransparency = 1 | |
11033 | CheckBox.Position = UDim2.new(0, 240, 0, 60) | |
11034 | CheckBox.Size = UDim2.new(0, 30, 0, 30) | |
11035 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
11036 | bindInput.Name = "bindInput" | |
11037 | bindInput.Parent = FeedbackMain | |
11038 | bindInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
11039 | bindInput.Position = UDim2.new(0, 187, 0, 260) | |
11040 | bindInput.Size = UDim2.new(0, 30, 0, 30) | |
11041 | bindInput.AutoButtonColor = false | |
11042 | bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11043 | bindInput.Font = Enum.Font.SourceSans | |
11044 | bindInput.FontSize = Enum.FontSize.Size14 | |
11045 | bindInput.Text = "" | |
11046 | Input.Name = "Input" | |
11047 | Input.Parent = bindInput | |
11048 | Input.BackgroundColor3 = Color3.new(1, 1, 1) | |
11049 | Input.BackgroundTransparency = 1 | |
11050 | Input.Position = UDim2.new(0, -8, 0, -8) | |
11051 | Input.Size = UDim2.new(0, 20, 0, 20) | |
11052 | Input.Font = Enum.Font.SourceSansBold | |
11053 | Input.FontSize = Enum.FontSize.Size18 | |
11054 | Input.MultiLine = true | |
11055 | Input.Text = ";" | |
11056 | Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11057 | Input.TextWrapped = true | |
11058 | Input.TextYAlignment = Enum.TextYAlignment.Top | |
11059 | preText.Name = "preText" | |
11060 | preText.Parent = FeedbackMain | |
11061 | preText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11062 | preText.BackgroundTransparency = 1 | |
11063 | preText.Position = UDim2.new(0, 0, 0, 140) | |
11064 | preText.Size = UDim2.new(1, 0, 0, 30) | |
11065 | preText.Font = Enum.Font.SourceSansBold | |
11066 | preText.FontSize = Enum.FontSize.Size18 | |
11067 | preText.Text = " Prefix" | |
11068 | preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11069 | preText.TextStrokeTransparency = 0 | |
11070 | preText.TextXAlignment = Enum.TextXAlignment.Left | |
11071 | setpre.Name = "setpre" | |
11072 | setpre.Parent = FeedbackMain | |
11073 | setpre.BackgroundColor3 = Color3.new(1, 1, 1) | |
11074 | setpre.BorderSizePixel = 5 | |
11075 | setpre.Position = UDim2.new(0, 235, 0, 142) | |
11076 | setpre.Size = UDim2.new(0, 40, 0, 25) | |
11077 | setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11078 | setpre.Font = Enum.Font.ArialBold | |
11079 | setpre.FontSize = Enum.FontSize.Size18 | |
11080 | setpre.Text = "Set" | |
11081 | everyone.Name = "everyone" | |
11082 | everyone.Parent = FeedbackMain | |
11083 | everyone.BackgroundColor3 = Color3.new(0, 0, 0) | |
11084 | everyone.BackgroundTransparency = 0.80000001192093 | |
11085 | everyone.BorderColor3 = Color3.new(0, 0, 0) | |
11086 | everyone.Position = UDim2.new(0, 230, 0, 237) | |
11087 | everyone.Size = UDim2.new(0, 50, 0, 20) | |
11088 | everyone.Font = Enum.Font.SourceSans | |
11089 | everyone.FontSize = Enum.FontSize.Size14 | |
11090 | everyone.Text = "Everyone" | |
11091 | everyone.TextColor3 = Color3.new(1, 1, 1) | |
11092 | JLtext.Name = "JLtext" | |
11093 | JLtext.Parent = FeedbackMain | |
11094 | JLtext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11095 | JLtext.BackgroundTransparency = 1 | |
11096 | JLtext.Position = UDim2.new(0, 0, 0, 220) | |
11097 | JLtext.Size = UDim2.new(1, 0, 0, 30) | |
11098 | JLtext.Font = Enum.Font.SourceSansBold | |
11099 | JLtext.FontSize = Enum.FontSize.Size18 | |
11100 | JLtext.Text = " Joined/Left Notifications" | |
11101 | JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11102 | JLtext.TextStrokeTransparency = 0 | |
11103 | JLtext.TextXAlignment = Enum.TextXAlignment.Left | |
11104 | CheckBoxJL.Name = "CheckBoxJL" | |
11105 | CheckBoxJL.Parent = FeedbackMain | |
11106 | CheckBoxJL.BackgroundTransparency = 1 | |
11107 | CheckBoxJL.Position = UDim2.new(0, 187, 0, 220) | |
11108 | CheckBoxJL.Size = UDim2.new(0, 30, 0, 30) | |
11109 | CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641" | |
11110 | friends.Name = "friends" | |
11111 | friends.Parent = FeedbackMain | |
11112 | friends.BackgroundColor3 = Color3.new(0, 0, 0) | |
11113 | friends.BackgroundTransparency = 0.80000001192093 | |
11114 | friends.BorderColor3 = Color3.new(1, 1, 1) | |
11115 | friends.Position = UDim2.new(0, 230, 0, 215) | |
11116 | friends.Size = UDim2.new(0, 50, 0, 20) | |
11117 | friends.Font = Enum.Font.SourceSans | |
11118 | friends.FontSize = Enum.FontSize.Size14 | |
11119 | friends.Text = "Friends" | |
11120 | friends.TextColor3 = Color3.new(1, 1, 1) | |
11121 | InputBox.Name = "InputBox" | |
11122 | InputBox.Parent = FeedbackMain | |
11123 | InputBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
11124 | InputBox.Position = UDim2.new(0, 187, 0, 140) | |
11125 | InputBox.Size = UDim2.new(0, 30, 0, 30) | |
11126 | InputBox.AutoButtonColor = false | |
11127 | InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11128 | InputBox.Font = Enum.Font.SourceSans | |
11129 | InputBox.FontSize = Enum.FontSize.Size14 | |
11130 | InputBox.Text = "" | |
11131 | Input_2.Name = "Input" | |
11132 | Input_2.Parent = InputBox | |
11133 | Input_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
11134 | Input_2.BackgroundTransparency = 1 | |
11135 | Input_2.Position = UDim2.new(0, -8, 0, -8) | |
11136 | Input_2.Size = UDim2.new(0, 20, 0, 20) | |
11137 | Input_2.Font = Enum.Font.SourceSansBold | |
11138 | Input_2.FontSize = Enum.FontSize.Size18 | |
11139 | Input_2.MultiLine = true | |
11140 | Input_2.Text = ";" | |
11141 | Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11142 | Input_2.TextWrapped = true | |
11143 | Input_2.TextYAlignment = Enum.TextYAlignment.Top | |
11144 | MTText.Name = "MTText" | |
11145 | MTText.Parent = FeedbackMain | |
11146 | MTText.BackgroundColor3 = Color3.new(1, 1, 1) | |
11147 | MTText.BackgroundTransparency = 1 | |
11148 | MTText.Position = UDim2.new(0, 0, 0, 180) | |
11149 | MTText.Size = UDim2.new(1, 0, 0, 30) | |
11150 | MTText.Font = Enum.Font.SourceSansBold | |
11151 | MTText.FontSize = Enum.FontSize.Size18 | |
11152 | MTText.Text = " Message Seconds" | |
11153 | MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11154 | MTText.TextStrokeTransparency = 0 | |
11155 | MTText.TextXAlignment = Enum.TextXAlignment.Left | |
11156 | setMT.Name = "setMT" | |
11157 | setMT.Parent = FeedbackMain | |
11158 | setMT.BackgroundColor3 = Color3.new(1, 1, 1) | |
11159 | setMT.BorderSizePixel = 5 | |
11160 | setMT.Position = UDim2.new(0, 235, 0, 183) | |
11161 | setMT.Size = UDim2.new(0, 40, 0, 25) | |
11162 | setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11163 | setMT.Font = Enum.Font.ArialBold | |
11164 | setMT.FontSize = Enum.FontSize.Size18 | |
11165 | setMT.Text = "Set" | |
11166 | CheckBoxS.Name = "CheckBoxS" | |
11167 | CheckBoxS.Parent = FeedbackMain | |
11168 | CheckBoxS.BackgroundTransparency = 1 | |
11169 | CheckBoxS.Position = UDim2.new(0, 240, 0, 100) | |
11170 | CheckBoxS.Size = UDim2.new(0, 30, 0, 30) | |
11171 | CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641" | |
11172 | slocktext.Name = "slocktext" | |
11173 | slocktext.Parent = FeedbackMain | |
11174 | slocktext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11175 | slocktext.BackgroundTransparency = 1 | |
11176 | slocktext.Position = UDim2.new(0, 0, 0, 100) | |
11177 | slocktext.Size = UDim2.new(1, 0, 0, 30) | |
11178 | slocktext.Font = Enum.Font.SourceSansBold | |
11179 | slocktext.FontSize = Enum.FontSize.Size18 | |
11180 | slocktext.Text = " Allow Friends On Serverlock" | |
11181 | slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11182 | slocktext.TextStrokeTransparency = 0 | |
11183 | slocktext.TextXAlignment = Enum.TextXAlignment.Left | |
11184 | barBind.Name = "barBind" | |
11185 | barBind.Parent = FeedbackMain | |
11186 | barBind.BackgroundColor3 = Color3.new(1, 1, 1) | |
11187 | barBind.BackgroundTransparency = 1 | |
11188 | barBind.Position = UDim2.new(0, 0, 0, 260) | |
11189 | barBind.Size = UDim2.new(1, 0, 0, 30) | |
11190 | barBind.Font = Enum.Font.SourceSansBold | |
11191 | barBind.FontSize = Enum.FontSize.Size18 | |
11192 | barBind.Text = " Command Bar Keybind" | |
11193 | barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11194 | barBind.TextStrokeTransparency = 0 | |
11195 | barBind.TextXAlignment = Enum.TextXAlignment.Left | |
11196 | setBind.Name = "setBind" | |
11197 | setBind.Parent = FeedbackMain | |
11198 | setBind.BackgroundColor3 = Color3.new(1, 1, 1) | |
11199 | setBind.BorderSizePixel = 5 | |
11200 | setBind.Position = UDim2.new(0, 235, 0, 262) | |
11201 | setBind.Size = UDim2.new(0, 40, 0, 25) | |
11202 | setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11203 | setBind.Font = Enum.Font.ArialBold | |
11204 | setBind.FontSize = Enum.FontSize.Size18 | |
11205 | setBind.Text = "Set" | |
11206 | MtimeInput.Name = "MtimeInput" | |
11207 | MtimeInput.Parent = FeedbackMain | |
11208 | MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
11209 | MtimeInput.Position = UDim2.new(0, 187, 0, 180) | |
11210 | MtimeInput.Size = UDim2.new(0, 30, 0, 30) | |
11211 | MtimeInput.AutoButtonColor = false | |
11212 | MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11213 | MtimeInput.Font = Enum.Font.SourceSans | |
11214 | MtimeInput.FontSize = Enum.FontSize.Size14 | |
11215 | MtimeInput.Text = "" | |
11216 | Input_3.Name = "Input" | |
11217 | Input_3.Parent = MtimeInput | |
11218 | Input_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
11219 | Input_3.BackgroundTransparency = 1 | |
11220 | Input_3.Position = UDim2.new(0, -8, 0, -8) | |
11221 | Input_3.Size = UDim2.new(0, 20, 0, 20) | |
11222 | Input_3.Font = Enum.Font.SourceSansBold | |
11223 | Input_3.FontSize = Enum.FontSize.Size18 | |
11224 | Input_3.MultiLine = true | |
11225 | Input_3.Text = "7" | |
11226 | Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
11227 | Input_3.TextWrapped = true | |
11228 | Input_3.TextYAlignment = Enum.TextYAlignment.Top | |
11229 | uicolortext.Name = "uicolortext" | |
11230 | uicolortext.Parent = FeedbackMain | |
11231 | uicolortext.BackgroundColor3 = Color3.new(1, 1, 1) | |
11232 | uicolortext.BackgroundTransparency = 1 | |
11233 | uicolortext.Position = UDim2.new(0, 0, 0, 30) | |
11234 | uicolortext.Size = UDim2.new(1, 0, 0, 30) | |
11235 | uicolortext.Font = Enum.Font.SourceSansBold | |
11236 | uicolortext.FontSize = Enum.FontSize.Size18 | |
11237 | uicolortext.Text = " UI Color" | |
11238 | uicolortext.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471) | |
11239 | uicolortext.TextStrokeTransparency = 0 | |
11240 | uicolortext.TextXAlignment = Enum.TextXAlignment.Left | |
11241 | openC.Name = "openC" | |
11242 | openC.Parent = FeedbackMain | |
11243 | openC.BackgroundColor3 = Color3.new(1, 1, 1) | |
11244 | openC.BorderSizePixel = 5 | |
11245 | openC.Position = UDim2.new(0, 235, 0, 32) | |
11246 | openC.Size = UDim2.new(0, 40, 0, 25) | |
11247 | openC.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
11248 | openC.Font = Enum.Font.ArialBold | |
11249 | openC.FontSize = Enum.FontSize.Size18 | |
11250 | openC.Text = "Set" | |
11251 | size.Name = "size" | |
11252 | size.Parent = holder | |
11253 | size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11254 | size.BackgroundTransparency = 1 | |
11255 | size.Position = UDim2.new(1, -301, 1, -300) | |
11256 | size.Size = UDim2.new(0, 275, 0, 300) | |
11257 | size.ZIndex = 2 | |
11258 | MAIN.Name = "MAIN" | |
11259 | MAIN.Parent = size | |
11260 | MAIN.BackgroundColor3 = maincolor | |
11261 | MAIN.BackgroundTransparency = 0.5 | |
11262 | MAIN.BorderColor3 = Color3.new(0, 0, 0) | |
11263 | MAIN.BorderSizePixel = 0 | |
11264 | MAIN.Position = UDim2.new(0.0181818176, 1, 1.00333333, -305) | |
11265 | MAIN.Size = UDim2.new(0, 290, 0, 300) | |
11266 | Title_2.Name = "Title" | |
11267 | Title_2.Parent = MAIN | |
11268 | Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11269 | Title_2.BackgroundTransparency = 1 | |
11270 | Title_2.Size = UDim2.new(1, 0, 0, 30) | |
11271 | Title_2.Font = Enum.Font.SourceSansBold | |
11272 | Title_2.FontSize = Enum.FontSize.Size24 | |
11273 | Title_2.Text = "Commands" | |
11274 | Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11275 | Title_2.TextStrokeTransparency = 0 | |
11276 | Example.Name = "Example" | |
11277 | Example.Parent = MAIN | |
11278 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11279 | Example.BackgroundTransparency = 1 | |
11280 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11281 | Example.BorderSizePixel = 0 | |
11282 | Example.Size = UDim2.new(0, 190, 0, 20) | |
11283 | Example.Visible = false | |
11284 | Example.Font = Enum.Font.SourceSansBold | |
11285 | Example.TextSize = 20 | |
11286 | Example.Text = "txt" | |
11287 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
11288 | Example.TextStrokeTransparency = 0 | |
11289 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
11290 | Example.ZIndex = 6 | |
11291 | Search.Name = "Search" | |
11292 | Search.Parent = MAIN | |
11293 | Search.BackgroundColor3 = Color3.new(0, 0, 0) | |
11294 | Search.BackgroundTransparency = 0.69999998807907 | |
11295 | Search.BorderColor3 = Color3.new(1, 1, 1) | |
11296 | Search.Position = UDim2.new(0.5, -127, 0.200000003, -25) | |
11297 | Search.Size = UDim2.new(0, 250, 0, 20) | |
11298 | Search.ClearTextOnFocus = false | |
11299 | Search.Font = Enum.Font.SourceSansBold | |
11300 | Search.FontSize = Enum.FontSize.Size18 | |
11301 | Search.Text = "Search" | |
11302 | Search.TextColor3 = Color3.new(1, 1, 1) | |
11303 | Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824) | |
11304 | Search.TextStrokeTransparency = 0 | |
11305 | CMDss.Name = "CMDs" | |
11306 | CMDss.Parent = MAIN | |
11307 | CMDss.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11308 | CMDss.BackgroundTransparency = 1 | |
11309 | CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11310 | CMDss.BorderSizePixel = 0 | |
11311 | CMDss.Position = UDim2.new(0, 10, 0, 65) | |
11312 | CMDss.Size = UDim2.new(0, 280, 0, 230) | |
11313 | CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11314 | CMDss.CanvasSize = UDim2.new(0, 0, 0, 5260) | |
11315 | CMDss.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11316 | CMDss.ScrollBarThickness = 8 | |
11317 | CMDss.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11318 | notifyMAIN = Instance.new('ScreenGui', DATA) | |
11319 | notifyMAIN.Name = 'Notification' | |
11320 | notifyNOT = Instance.new('Frame', notifyMAIN) | |
11321 | notifyNOT.Name = 'NOTIFY' | |
11322 | notifyNOT.BackgroundColor = BrickColor.new(0,0,0) | |
11323 | notifyNOT.BackgroundTransparency = 1 | |
11324 | notifyNOT.BorderColor = BrickColor.new(0,0,0) | |
11325 | notifyNOT.BorderSizePixel = 2 | |
11326 | notifyNOT.Position = UDim2.new(0,0,-0.06,0) | |
11327 | notifyNOT.Size = UDim2.new(1,0,0,-40) | |
11328 | notifyNOTE = Instance.new('TextLabel', notifyNOT) | |
11329 | notifyNOTE.Name = 'NOTE' | |
11330 | notifyNOTE.BackgroundColor = BrickColor.new(255,255,255) | |
11331 | notifyNOTE.BackgroundTransparency = 1 | |
11332 | notifyNOTE.BorderColor = BrickColor.new(255,255,255) | |
11333 | notifyNOTE.BorderSizePixel = 0 | |
11334 | notifyNOTE.Size = UDim2.new(1,0,1,0) | |
11335 | notifyNOTE.ZIndex = 4 | |
11336 | notifyNOTE.FontSize = 'Size18' | |
11337 | notifyNOTE.Font = 'SourceSansBold' | |
11338 | notifyNOTE.Text = 'NOTIFY' | |
11339 | notifyNOTE.TextColor = BrickColor.new(255,255,255) | |
11340 | notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0) | |
11341 | notifyNOTE.TextStrokeTransparency = 0.8 | |
11342 | ||
11343 | addcmd('ayylmao','ayy lmao',{'alien'}, | |
11344 | function(args, speaker) | |
11345 | local players = getPlayer(args[1], speaker) | |
11346 | for i,v in pairs(players)do | |
11347 | local pchar = gPlayers[v].Character | |
11348 | if pchar:FindFirstChild("Shirt") then | |
11349 | pchar.Shirt:Destroy() | |
11350 | end | |
11351 | if pchar:FindFirstChild("Pants") then | |
11352 | pchar.Pants:Destroy() | |
11353 | end | |
11354 | if pchar:FindFirstChild("Shirt Graphic") then | |
11355 | pchar["Shirt Graphic"].Graphic = "" | |
11356 | end | |
11357 | for i,v in pairs(pchar:GetChildren()) do | |
11358 | if v:IsA("Accessory") then | |
11359 | v:Destroy() | |
11360 | end | |
11361 | end | |
11362 | local ayylmao = DATA.ayylmao:Clone() | |
11363 | ayylmao.Parent = pchar | |
11364 | local BC = pchar["Body Colors"] | |
11365 | BC.HeadColor = BrickColor.new("Fossil") | |
11366 | BC.LeftArmColor = BrickColor.new("Fossil") | |
11367 | BC.LeftLegColor = BrickColor.new("Fossil") | |
11368 | BC.RightArmColor = BrickColor.new("Fossil") | |
11369 | BC.RightLegColor = BrickColor.new("Fossil") | |
11370 | BC.TorsoColor = BrickColor.new("Fossil") | |
11371 | end | |
11372 | end) | |
11373 | HKFolder = Instance.new("Folder", game.CoreGui) | |
11374 | for i,v in pairs(HK) do | |
11375 | local HKValue = Instance.new("StringValue", HKFolder) | |
11376 | HKValue.Value = v | |
11377 | HKValue.RobloxLocked = true | |
11378 | end | |
11379 | CMDsFolder = Instance.new("Folder", game.CoreGui) | |
11380 | for i,v in pairs(CMDs) do | |
11381 | local CMDsValue = Instance.new("StringValue", CMDsFolder) | |
11382 | CMDsValue.Value = v | |
11383 | CMDsValue.RobloxLocked = true | |
11384 | end | |
11385 | cmdOpen = false | |
11386 | function commands() | |
11387 | if cmdOpen == false then | |
11388 | cmdOpen = true | |
11389 | local cmds = cp:Clone() | |
11390 | cmds.Parent = game.CoreGui | |
11391 | local HKV = HKFolder:GetChildren() | |
11392 | local CMDsV = CMDsFolder:GetChildren() | |
11393 | dragGUI(cmds.Frame) | |
11394 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.01,true) wait(0.01) | |
11395 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11396 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) | |
11397 | SettingsGUI = game.CoreGui.cp.Frame.holder if Nfriends == true then | |
11398 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11399 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif Nfriends == false then | |
11400 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
11401 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
11402 | end | |
11403 | --joined/left friend option | |
11404 | SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() | |
11405 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11406 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) | |
11407 | Nfriends = true updatefile() | |
11408 | end) | |
11409 | SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() | |
11410 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
11411 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
11412 | Nfriends = false updatefile() | |
11413 | end) | |
11414 | -- Color mixer | |
11415 | SettingsGUI.FeedbackMain.openC.MouseButton1Click:Connect(function() | |
11416 | picker.ColorPicker.Visible = true picker.ColorPicker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11417 | end) | |
11418 | --Message time | |
11419 | SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function() | |
11420 | wait() | |
11421 | Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text | |
11422 | Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)') | |
11423 | updatefile() | |
11424 | end) | |
11425 | --CMDBAR keybind | |
11426 | SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function() | |
11427 | wait() | |
11428 | cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text | |
11429 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
11430 | Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' ) | |
11431 | updatefile() | |
11432 | end) | |
11433 | --Change prefix | |
11434 | SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function() | |
11435 | wait() | |
11436 | cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text | |
11437 | Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"') | |
11438 | updatefile() | |
11439 | end) | |
11440 | --Check Box for notify | |
11441 | checked = "http://www.roblox.com/asset/?id=65492641" | |
11442 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
11443 | if suggestionstoggle == true then | |
11444 | SettingsGUI.FeedbackMain.CheckBox.Image = checked else | |
11445 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end | |
11446 | SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function() | |
11447 | if suggestionstoggle == true then suggestionstoggle = false updatefile() | |
11448 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else | |
11449 | suggestionstoggle = true | |
11450 | updatefile() | |
11451 | SettingsGUI.FeedbackMain.CheckBox.Image = checked end end) | |
11452 | --Check Box for allow friends on serverlock | |
11453 | checked2 = "http://www.roblox.com/asset/?id=65492641" | |
11454 | unchecked2 = "http://www.roblox.com/asset/?id=65492651" | |
11455 | if allowfriends == true then | |
11456 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else | |
11457 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end | |
11458 | SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function() | |
11459 | if allowfriends == true then allowfriends = false updatefile() | |
11460 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else | |
11461 | allowfriends = true updatefile() | |
11462 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end) | |
11463 | --Check Box for JoinedLeft notifications | |
11464 | checked3 = "http://www.roblox.com/asset/?id=65492641" | |
11465 | unchecked3 = "http://www.roblox.com/asset/?id=65492651" | |
11466 | if JLnotify == true then | |
11467 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else | |
11468 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end | |
11469 | SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function() | |
11470 | if JLnotify == true then JLnotify = false updatefile() | |
11471 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 else JLnotify = true | |
11472 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 updatefile() | |
11473 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
11474 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end) | |
11475 | cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function() | |
11476 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11477 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
11478 | cmds.Frame.holder.bar.Hide.Visible = true | |
11479 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end) | |
11480 | cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function() | |
11481 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) wait(0.1) | |
11482 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) wait(0.2) | |
11483 | cmds.Frame.holder.bar.Hide.Visible = true | |
11484 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end) | |
11485 | cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function() | |
11486 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quad",0.2,true) | |
11487 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,0.018,-310),"Out","Quad",0.2,true) wait(0.2) | |
11488 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quad",0.2,true) wait(0.2) | |
11489 | cmds.Frame.holder.bar.Hide.Visible = false end) | |
11490 | cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function() | |
11491 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11492 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.2,true) wait(0.3) | |
11493 | cmds:Destroy() cmdOpen = false end) | |
11494 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quad",0.2,true) | |
11495 | searchbar() | |
11496 | for i = 1, #HKV do | |
11497 | local YSize = 25 | |
11498 | local Position = ((i * YSize) - YSize) | |
11499 | local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone() | |
11500 | newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs | |
11501 | newcmd.Visible = true | |
11502 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11503 | newcmd.Text = "" .. HKV[i].Value | |
11504 | CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11505 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11506 | end | |
11507 | for i = 1, #CMDsV do | |
11508 | local YSize = 25 | |
11509 | local Position = ((i * YSize) - YSize) | |
11510 | local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone() | |
11511 | newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs | |
11512 | newcmd.Visible = true | |
11513 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11514 | newcmd.Text = "" .. CMDsV[i].Value | |
11515 | CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11516 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
11517 | end | |
11518 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
11519 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
11520 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
11521 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end end | |
11522 | ||
11523 | function searchbar() | |
11524 | local CSP = game.CoreGui.cp.Frame.holder.size.MAIN | |
11525 | local main = CSP | |
11526 | local frame = CSP:WaitForChild('CMDs') | |
11527 | local gui = CSP:WaitForChild('Search') | |
11528 | local focused = false | |
11529 | Match = function(name,str) | |
11530 | return name:lower():find(str:lower()) and true | |
11531 | end | |
11532 | gui.FocusLost:connect(function(enterpressed) | |
11533 | gui.Text = "Search" | |
11534 | end) | |
11535 | IndexContents = function(str,bool) | |
11536 | local Index,SizeY = 0,0 | |
11537 | for i,v in next, frame:GetChildren() do | |
11538 | if bool then | |
11539 | if Match(v.Text,str) then | |
11540 | Index = Index + 1 | |
11541 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
11542 | v.Visible = true | |
11543 | SizeY = SizeY + v.AbsoluteSize.Y | |
11544 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
11545 | else | |
11546 | v.Visible = false | |
11547 | end | |
11548 | else | |
11549 | v.Visible = true | |
11550 | SizeY = SizeY + v.AbsoluteSize.Y | |
11551 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
11552 | end | |
11553 | end | |
11554 | end | |
11555 | game:GetService('RunService').Stepped:connect(function() | |
11556 | if gui:IsFocused() and gui.Text == "Search" then | |
11557 | gui.Text = '' | |
11558 | end | |
11559 | end) | |
11560 | gui.Changed:connect(function() | |
11561 | if gui:IsFocused() then IndexContents(gui.Text,true) end | |
11562 | end) | |
11563 | ||
11564 | IndexContents('',true) | |
11565 | end | |
11566 | ||
11567 | function runwindow() | |
11568 | commands() | |
11569 | searchbar() | |
11570 | end | |
11571 | ||
11572 | addcmd('settings','opens settings window',{'toggles'}, | |
11573 | function(args, speaker) | |
11574 | if speaker.userId ~= LP.userId then | |
11575 | lponly(speaker) | |
11576 | else | |
11577 | runwindow() | |
11578 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) | |
11579 | wait(0.1) | |
11580 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) | |
11581 | wait(0.1) | |
11582 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
11583 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
11584 | end | |
11585 | end) | |
11586 | ||
11587 | function movetab(speaker,PART) | |
11588 | game:GetService('RunService').Stepped:connect(function() | |
11589 | if PART ~= nil and speaker ~= nil and speaker.Character:FindFirstChild('HumanoidRootPart') then | |
11590 | PART.Locked = true | |
11591 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
11592 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
11593 | PART.CFrame = newcf end end) end | |
11594 | ||
11595 | hastab = {} | |
11596 | addcmd('tablet','opens tablet gui',{}, | |
11597 | function(args, speaker) | |
11598 | for _, child in pairs( workspace:GetChildren()) do | |
11599 | if child.Name == speaker.Name .. "TAB" then | |
11600 | child:Destroy() end end | |
11601 | game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1) | |
11602 | local GUI = Instance.new("SurfaceGui") | |
11603 | local holder = Instance.new("Frame") | |
11604 | local bar = Instance.new("Frame") | |
11605 | local Title = Instance.new("TextLabel") | |
11606 | local MAIN = Instance.new("Frame") | |
11607 | local Example = Instance.new("TextLabel") | |
11608 | local CMDs = Instance.new("ScrollingFrame") | |
11609 | local PART = Instance.new("Part") | |
11610 | PART.Name = speaker.Name .. 'TAB' | |
11611 | PART.Color = maincolor | |
11612 | PART.Size = Vector3.new(7, 7.8, 0.2) | |
11613 | PART.Transparency = 0 | |
11614 | PART.Locked = true | |
11615 | PART.CanCollide = false | |
11616 | PART.Parent = workspace | |
11617 | PART.Anchored = true | |
11618 | PART.Material = "Neon" | |
11619 | local GUI = Instance.new("SurfaceGui") | |
11620 | local holder = Instance.new("Frame") | |
11621 | local bar = Instance.new("Frame") | |
11622 | local Title = Instance.new("TextLabel") | |
11623 | local MAIN = Instance.new("Frame") | |
11624 | local Example = Instance.new("TextLabel") | |
11625 | local CMDs = Instance.new("ScrollingFrame") | |
11626 | GUI.Name = "GUI" | |
11627 | GUI.Parent = PART | |
11628 | GUI.CanvasSize = Vector2.new(500, 600) | |
11629 | GUI.Face = Enum.NormalId.Back | |
11630 | holder.Name = "holder" | |
11631 | holder.Parent = GUI | |
11632 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
11633 | holder.BackgroundTransparency = 1 | |
11634 | holder.BorderSizePixel = 2 | |
11635 | holder.Position = UDim2.new(0, 0, 0, 10) | |
11636 | holder.Size = UDim2.new(0, 300, 0, 330) | |
11637 | holder.ZIndex = 2 | |
11638 | bar.Name = "bar" | |
11639 | bar.Parent = holder | |
11640 | bar.BackgroundColor3 = Color3.new(0, 0, 0) | |
11641 | bar.BackgroundTransparency = 0.89999997615814 | |
11642 | bar.BorderSizePixel = 0 | |
11643 | bar.Position = UDim2.new(0, 10, 1, -330) | |
11644 | bar.Size = UDim2.new(0, 480, 0, 33) | |
11645 | Title.Name = "Title" | |
11646 | Title.Parent = bar | |
11647 | Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
11648 | Title.BackgroundTransparency = 1 | |
11649 | Title.Size = UDim2.new(1, 0, 0, 30) | |
11650 | Title.Font = Enum.Font.SourceSansBold | |
11651 | Title.FontSize = Enum.FontSize.Size24 | |
11652 | Title.Text = "[Infinite Yield] Command List" | |
11653 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
11654 | MAIN.Name = "MAIN" | |
11655 | MAIN.Parent = holder | |
11656 | MAIN.BackgroundColor3 = Color3.new(0, 0, 0) | |
11657 | MAIN.BackgroundTransparency = 0.89999997615814 | |
11658 | MAIN.BorderSizePixel = 0 | |
11659 | MAIN.Position = UDim2.new(0, 10, 1, -300) | |
11660 | MAIN.Size = UDim2.new(0, 480, 0, 550) | |
11661 | Example.Name = "Example" | |
11662 | Example.Parent = MAIN | |
11663 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11664 | Example.BackgroundTransparency = 1 | |
11665 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11666 | Example.BorderSizePixel = 0 | |
11667 | Example.Size = UDim2.new(0, 190, 0, 40) | |
11668 | Example.Visible = false | |
11669 | Example.Font = Enum.Font.SourceSansBold | |
11670 | Example.FontSize = Enum.FontSize.Size36 | |
11671 | Example.Text = "txt" | |
11672 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
11673 | Example.TextStrokeTransparency = 0 | |
11674 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
11675 | Example.ZIndex = 6 | |
11676 | CMDs.Name = "CMDs" | |
11677 | CMDs.Parent = MAIN | |
11678 | CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11679 | CMDs.BackgroundTransparency = 1 | |
11680 | CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11681 | CMDs.BorderSizePixel = 0 | |
11682 | CMDs.Size = UDim2.new(0, 480, 0, 550) | |
11683 | CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11684 | CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880) | |
11685 | CMDs.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11686 | CMDs.ScrollBarThickness = 15 | |
11687 | CMDs.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11688 | local CMDsV = CMDsFolder:GetChildren() | |
11689 | for i = 1, #CMDsV do | |
11690 | local YSize = 35 | |
11691 | local Position = ((i * YSize) - YSize) | |
11692 | local newcmd = Example:Clone() | |
11693 | newcmd.Parent = CMDs | |
11694 | newcmd.Visible = true | |
11695 | newcmd.Position = UDim2.new(0,10,0, Position + 1) | |
11696 | newcmd.Text = "" .. CMDsV[i].Value | |
11697 | CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end | |
11698 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
11699 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
11700 | PART.CFrame = newcf | |
11701 | speaker.Character.Humanoid.Died:connect(function() | |
11702 | PART:Destroy() end) | |
11703 | wait(1) | |
11704 | PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05) | |
11705 | PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05) | |
11706 | PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05) | |
11707 | if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end | |
11708 | table.insert(hastab, speaker.Name) movetab(speaker,PART) | |
11709 | end) | |
11710 | ||
11711 | function updatepositions() | |
11712 | if PList then | |
11713 | PList:ClearAllChildren() | |
11714 | PList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11715 | for i = 1, #WayPoints do | |
11716 | local YSize = 25 | |
11717 | local Position = ((i * YSize) - YSize) | |
11718 | local newcmd = Example:Clone() | |
11719 | newcmd.Parent = PList | |
11720 | newcmd.Visible = true | |
11721 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11722 | newcmd.Text = " " .. WayPoints[i].NAME .. ": " .. WayPoints[i].COORD[1] .. ", " .. WayPoints[i].COORD[2] .. ", " .. WayPoints[i].COORD[3] | |
11723 | PList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11724 | local goto = Instance.new("TextButton") | |
11725 | goto.Name = "goto" | |
11726 | goto.Parent = PList | |
11727 | goto.BackgroundColor3 = Color3.new(255, 255, 255) | |
11728 | goto.BackgroundTransparency = 0.30000001192093 | |
11729 | goto.BorderColor3 = Color3.new(1, 0, 0) | |
11730 | goto.BorderSizePixel = 0 | |
11731 | goto.Position = UDim2.new(0,-10,0, Position + 5) | |
11732 | goto.Size = UDim2.new(0, 20, 0, 20) | |
11733 | goto.FontSize = Enum.FontSize.Size14 | |
11734 | goto.Text = "" | |
11735 | goto.ZIndex = 6 | |
11736 | goto.MouseButton1Click:Connect(function() | |
11737 | execCmd("loadpos "..LP.Name.." "..WayPoints[i].NAME) | |
11738 | end) | |
11739 | end | |
11740 | end | |
11741 | end | |
11742 | ||
11743 | posopen = false | |
11744 | addcmd("positions","lists waypoints",{'pos'}, | |
11745 | function(args, speaker) | |
11746 | if posopen == false then | |
11747 | posopen = true | |
11748 | local Pos = Instance.new("ScreenGui") | |
11749 | local drag = Instance.new("Frame") | |
11750 | local PromptDialog = Instance.new("Frame") | |
11751 | local shadow = Instance.new("Frame") | |
11752 | local PopupText = Instance.new("TextLabel") | |
11753 | local Exit = Instance.new("TextButton") | |
11754 | local ContainerFrame = Instance.new("Frame") | |
11755 | PList = Instance.new("ScrollingFrame") | |
11756 | Pos.Name = "Pos" | |
11757 | Pos.Parent = game.CoreGui | |
11758 | drag.Name = "drag" | |
11759 | drag.Parent = Pos | |
11760 | drag.Active = true | |
11761 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
11762 | drag.BackgroundTransparency = 1 | |
11763 | dragGUI(drag) | |
11764 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
11765 | drag.Size = UDim2.new(0, 290, 0, 30) | |
11766 | PromptDialog.Name = "PromptDialog" | |
11767 | PromptDialog.Parent = drag | |
11768 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
11769 | PromptDialog.BackgroundTransparency = 1 | |
11770 | PromptDialog.BorderSizePixel = 0 | |
11771 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
11772 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
11773 | PromptDialog.ZIndex = 8 | |
11774 | shadow.Name = "shadow" | |
11775 | shadow.Parent = PromptDialog | |
11776 | shadow.BackgroundColor3 = maincolor | |
11777 | shadow.BackgroundTransparency = 0.30000001192093 | |
11778 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
11779 | shadow.BorderSizePixel = 0 | |
11780 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
11781 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
11782 | PopupText.Name = "PopupText" | |
11783 | PopupText.Parent = shadow | |
11784 | PopupText.BackgroundTransparency = 1 | |
11785 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
11786 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
11787 | PopupText.ZIndex = 110 | |
11788 | PopupText.Font = Enum.Font.SourceSansBold | |
11789 | PopupText.FontSize = Enum.FontSize.Size28 | |
11790 | PopupText.Text = "Positions" | |
11791 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
11792 | PopupText.TextStrokeTransparency = 0 | |
11793 | PopupText.TextWrapped = true | |
11794 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
11795 | Exit.Name = "Exit" | |
11796 | Exit.Parent = shadow | |
11797 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
11798 | Exit.BackgroundTransparency = 0.30000001192093 | |
11799 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
11800 | Exit.BorderSizePixel = 0 | |
11801 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
11802 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
11803 | Exit.FontSize = Enum.FontSize.Size14 | |
11804 | Exit.Text = "" | |
11805 | ContainerFrame.Name = "ContainerFrame" | |
11806 | ContainerFrame.Parent = PromptDialog | |
11807 | ContainerFrame.BackgroundColor3 = maincolor | |
11808 | ContainerFrame.BackgroundTransparency = 0.5 | |
11809 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
11810 | ContainerFrame.BorderSizePixel = 0 | |
11811 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
11812 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
11813 | ContainerFrame.ZIndex = 5 | |
11814 | PList.Name = "List" | |
11815 | PList.Parent = ContainerFrame | |
11816 | PList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11817 | PList.BackgroundTransparency = 1 | |
11818 | PList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11819 | PList.BorderSizePixel = 0 | |
11820 | PList.Position = UDim2.new(0, 10, 0, 5) | |
11821 | PList.Size = UDim2.new(0, 280, 0, 230) | |
11822 | PList.ZIndex = 6 | |
11823 | PList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11824 | PList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11825 | PList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11826 | PList.ScrollBarThickness = 8 | |
11827 | PList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11828 | updatepositions() | |
11829 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11830 | Exit.MouseButton1Click:Connect(function() | |
11831 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
11832 | wait(0.6) posopen = false Pos:Destroy() end) end | |
11833 | end) | |
11834 | ||
11835 | function updateadmins() | |
11836 | if AList then | |
11837 | AList:ClearAllChildren() | |
11838 | AList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11839 | for i = 1, #adminname do | |
11840 | local YSize = 25 | |
11841 | local Position = ((i * YSize) - YSize) | |
11842 | local newcmd = Example:Clone() | |
11843 | newcmd.Parent = AList | |
11844 | newcmd.Visible = true | |
11845 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11846 | newcmd.Text = adminname[i].NAME | |
11847 | AList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11848 | end | |
11849 | end | |
11850 | end | |
11851 | ||
11852 | adminsopen = false | |
11853 | adminname = {} | |
11854 | addcmd('admins','displays admins',{'adminlist'}, | |
11855 | function(args, speaker) | |
11856 | if speaker.userId ~= LP.userId then | |
11857 | lponly(speaker) else | |
11858 | if adminsopen == false then | |
11859 | adminsopen = true | |
11860 | local admins = Instance.new("ScreenGui") | |
11861 | local drag = Instance.new("Frame") | |
11862 | local PromptDialog = Instance.new("Frame") | |
11863 | local shadow = Instance.new("Frame") | |
11864 | local PopupText = Instance.new("TextLabel") | |
11865 | local Exit = Instance.new("TextButton") | |
11866 | local ContainerFrame = Instance.new("Frame") | |
11867 | AList = Instance.new("ScrollingFrame") | |
11868 | admins.Name = "Admins" | |
11869 | admins.Parent = game.CoreGui | |
11870 | drag.Name = "drag" | |
11871 | drag.Parent = admins | |
11872 | drag.Active = true | |
11873 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
11874 | drag.BackgroundTransparency = 1 | |
11875 | dragGUI(drag) | |
11876 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
11877 | drag.Size = UDim2.new(0, 290, 0, 30) | |
11878 | PromptDialog.Name = "PromptDialog" | |
11879 | PromptDialog.Parent = drag | |
11880 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
11881 | PromptDialog.BackgroundTransparency = 1 | |
11882 | PromptDialog.BorderSizePixel = 0 | |
11883 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
11884 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
11885 | PromptDialog.ZIndex = 8 | |
11886 | shadow.Name = "shadow" | |
11887 | shadow.Parent = PromptDialog | |
11888 | shadow.BackgroundColor3 = maincolor | |
11889 | shadow.BackgroundTransparency = 0.30000001192093 | |
11890 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
11891 | shadow.BorderSizePixel = 0 | |
11892 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
11893 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
11894 | PopupText.Name = "PopupText" | |
11895 | PopupText.Parent = shadow | |
11896 | PopupText.BackgroundTransparency = 1 | |
11897 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
11898 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
11899 | PopupText.ZIndex = 110 | |
11900 | PopupText.Font = Enum.Font.SourceSansBold | |
11901 | PopupText.FontSize = Enum.FontSize.Size28 | |
11902 | PopupText.Text = "Admins" | |
11903 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
11904 | PopupText.TextStrokeTransparency = 0 | |
11905 | PopupText.TextWrapped = true | |
11906 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
11907 | Exit.Name = "Exit" | |
11908 | Exit.Parent = shadow | |
11909 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
11910 | Exit.BackgroundTransparency = 0.30000001192093 | |
11911 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
11912 | Exit.BorderSizePixel = 0 | |
11913 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
11914 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
11915 | Exit.FontSize = Enum.FontSize.Size14 | |
11916 | Exit.Text = "" | |
11917 | ContainerFrame.Name = "ContainerFrame" | |
11918 | ContainerFrame.Parent = PromptDialog | |
11919 | ContainerFrame.BackgroundColor3 = maincolor | |
11920 | ContainerFrame.BackgroundTransparency = 0.5 | |
11921 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
11922 | ContainerFrame.BorderSizePixel = 0 | |
11923 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
11924 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
11925 | ContainerFrame.ZIndex = 5 | |
11926 | AList.Name = "List" | |
11927 | AList.Parent = ContainerFrame | |
11928 | AList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11929 | AList.BackgroundTransparency = 1 | |
11930 | AList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
11931 | AList.BorderSizePixel = 0 | |
11932 | AList.Position = UDim2.new(0, 10, 0, 5) | |
11933 | AList.Size = UDim2.new(0, 280, 0, 230) | |
11934 | AList.ZIndex = 6 | |
11935 | AList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
11936 | AList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11937 | AList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
11938 | AList.ScrollBarThickness = 8 | |
11939 | AList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
11940 | updateadmins() | |
11941 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
11942 | Exit.MouseButton1Click:Connect(function() | |
11943 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
11944 | wait(0.6) adminsopen = false admins:Destroy() end) end end | |
11945 | end) | |
11946 | ||
11947 | function updatebans() | |
11948 | if BList then | |
11949 | BList:ClearAllChildren() | |
11950 | BList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
11951 | for i = 1, #banname do | |
11952 | local YSize = 25 | |
11953 | local Position = ((i * YSize) - YSize) | |
11954 | local newcmd = Example:Clone() | |
11955 | newcmd.Parent = BList | |
11956 | newcmd.Visible = true | |
11957 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
11958 | newcmd.Text = " Name: " .. banname[i].NAME .. " | ID: " .. banname[i].ID .. " | Age: " .. banname[i].AGE | |
11959 | newcmd.TextSize = 20 | |
11960 | BList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
11961 | local delet = Instance.new("TextButton") | |
11962 | delet.Name = "delet" | |
11963 | delet.Parent = BList | |
11964 | delet.BackgroundColor3 = Color3.new(1, 0, 0) | |
11965 | delet.BackgroundTransparency = 0.30000001192093 | |
11966 | delet.BorderColor3 = Color3.new(1, 0, 0) | |
11967 | delet.BorderSizePixel = 0 | |
11968 | delet.Position = UDim2.new(0,-10,0, Position + 5) | |
11969 | delet.Size = UDim2.new(0, 20, 0, 20) | |
11970 | delet.FontSize = Enum.FontSize.Size14 | |
11971 | delet.Text = "" | |
11972 | delet.ZIndex = 6 | |
11973 | delet.MouseButton1Click:Connect(function() | |
11974 | execCmd("unban "..banname[i].NAME) | |
11975 | end) | |
11976 | end | |
11977 | end | |
11978 | end | |
11979 | ||
11980 | banname = {} | |
11981 | bansopen = false | |
11982 | addcmd('bans','displays bans',{'banlist'}, | |
11983 | function(args, speaker) | |
11984 | if speaker.userId ~= LP.userId then | |
11985 | lponly(speaker) else | |
11986 | if bansopen == false then | |
11987 | bansopen = true | |
11988 | local Bans = Instance.new("ScreenGui") | |
11989 | local drag = Instance.new("Frame") | |
11990 | local PromptDialog = Instance.new("Frame") | |
11991 | local ContainerFrame = Instance.new("Frame") | |
11992 | BList = Instance.new("ScrollingFrame") | |
11993 | local shadow = Instance.new("Frame") | |
11994 | local Exit = Instance.new("TextButton") | |
11995 | local PopupText = Instance.new("TextLabel") | |
11996 | Bans.Name = "Bans" | |
11997 | Bans.Parent = game.CoreGui | |
11998 | drag.Name = "drag" | |
11999 | drag.Parent = Bans | |
12000 | drag.Active = true | |
12001 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12002 | drag.BackgroundTransparency = 1 | |
12003 | dragGUI(drag) | |
12004 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12005 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12006 | PromptDialog.Name = "PromptDialog" | |
12007 | PromptDialog.Parent = drag | |
12008 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12009 | PromptDialog.BackgroundTransparency = 1 | |
12010 | PromptDialog.BorderSizePixel = 0 | |
12011 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12012 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12013 | PromptDialog.ZIndex = 5 | |
12014 | ContainerFrame.Name = "ContainerFrame" | |
12015 | ContainerFrame.Parent = PromptDialog | |
12016 | ContainerFrame.BackgroundColor3 = maincolor | |
12017 | ContainerFrame.BackgroundTransparency = 0.5 | |
12018 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12019 | ContainerFrame.BorderSizePixel = 0 | |
12020 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12021 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12022 | ContainerFrame.ZIndex = 5 | |
12023 | BList.Name = "List" | |
12024 | BList.Parent = ContainerFrame | |
12025 | BList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12026 | BList.BackgroundTransparency = 1 | |
12027 | BList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12028 | BList.BorderSizePixel = 0 | |
12029 | BList.Position = UDim2.new(0, 10, 0, 9) | |
12030 | BList.Size = UDim2.new(0, 428, 0, 230) | |
12031 | BList.ZIndex = 5 | |
12032 | BList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12033 | BList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12034 | BList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12035 | BList.ScrollBarThickness = 8 | |
12036 | BList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12037 | shadow.Name = "shadow" | |
12038 | shadow.Parent = PromptDialog | |
12039 | shadow.BackgroundColor3 = maincolor | |
12040 | shadow.BackgroundTransparency = 0.30000001192093 | |
12041 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12042 | shadow.BorderSizePixel = 0 | |
12043 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12044 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12045 | Exit.Name = "Exit" | |
12046 | Exit.Parent = shadow | |
12047 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12048 | Exit.BackgroundTransparency = 0.30000001192093 | |
12049 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12050 | Exit.BorderSizePixel = 0 | |
12051 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12052 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12053 | Exit.FontSize = Enum.FontSize.Size14 | |
12054 | Exit.Text = "" | |
12055 | PopupText.Name = "PopupText" | |
12056 | PopupText.Parent = shadow | |
12057 | PopupText.BackgroundTransparency = 1 | |
12058 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12059 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12060 | PopupText.ZIndex = 6 | |
12061 | PopupText.Font = Enum.Font.SourceSansBold | |
12062 | PopupText.FontSize = Enum.FontSize.Size32 | |
12063 | PopupText.Text = "Bans" | |
12064 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12065 | PopupText.TextStrokeTransparency = 0 | |
12066 | PopupText.TextWrapped = true | |
12067 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
12068 | updatebans() | |
12069 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12070 | Exit.MouseButton1Click:Connect(function() | |
12071 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12072 | wait(0.6) bansopen = false Bans:Destroy() end) end end | |
12073 | end) | |
12074 | ||
12075 | function updatealiases() | |
12076 | if AlList then | |
12077 | AlList:ClearAllChildren() | |
12078 | AlList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12079 | for i = 1, #aliasSave do | |
12080 | local YSize = 25 | |
12081 | local Position = ((i * YSize) - YSize) | |
12082 | local newcmd = Example:Clone() | |
12083 | newcmd.Parent = AlList | |
12084 | newcmd.Visible = true | |
12085 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
12086 | newcmd.Text = ' Command: ['..aliasSave[i].CMD..'] Alias: ['..aliasSave[i].ALIAS..']' | |
12087 | newcmd.TextSize = 20 | |
12088 | AlList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
12089 | local delet = Instance.new("TextButton") | |
12090 | delet.Name = "delet" | |
12091 | delet.Parent = AlList | |
12092 | delet.BackgroundColor3 = Color3.new(1, 0, 0) | |
12093 | delet.BackgroundTransparency = 0.30000001192093 | |
12094 | delet.BorderColor3 = Color3.new(1, 0, 0) | |
12095 | delet.BorderSizePixel = 0 | |
12096 | delet.Position = UDim2.new(0,-10,0, Position + 5) | |
12097 | delet.Size = UDim2.new(0, 20, 0, 20) | |
12098 | delet.FontSize = Enum.FontSize.Size14 | |
12099 | delet.Text = "" | |
12100 | delet.ZIndex = 6 | |
12101 | delet.MouseButton1Click:Connect(function() | |
12102 | execCmd("removealias "..aliasSave[i].ALIAS) | |
12103 | end) | |
12104 | end | |
12105 | end | |
12106 | end | |
12107 | ||
12108 | aliasesopen = false | |
12109 | addcmd('aliases','displays aliases',{}, | |
12110 | function(args, speaker) | |
12111 | if speaker.userId ~= LP.userId then | |
12112 | lponly(speaker) else | |
12113 | if aliasesopen == false then | |
12114 | aliasesopen = true | |
12115 | local aliases = Instance.new("ScreenGui") | |
12116 | local drag = Instance.new("Frame") | |
12117 | local PromptDialog = Instance.new("Frame") | |
12118 | local ContainerFrame = Instance.new("Frame") | |
12119 | AlList = Instance.new("ScrollingFrame") | |
12120 | local shadow = Instance.new("Frame") | |
12121 | local Exit = Instance.new("TextButton") | |
12122 | local PopupText = Instance.new("TextLabel") | |
12123 | aliases.Name = "Aliases" | |
12124 | aliases.Parent = game.CoreGui | |
12125 | drag.Name = "drag" | |
12126 | drag.Parent = aliases | |
12127 | drag.Active = true | |
12128 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12129 | drag.BackgroundTransparency = 1 | |
12130 | dragGUI(drag) | |
12131 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12132 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12133 | PromptDialog.Name = "PromptDialog" | |
12134 | PromptDialog.Parent = drag | |
12135 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12136 | PromptDialog.BackgroundTransparency = 1 | |
12137 | PromptDialog.BorderSizePixel = 0 | |
12138 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12139 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12140 | PromptDialog.ZIndex = 5 | |
12141 | ContainerFrame.Name = "ContainerFrame" | |
12142 | ContainerFrame.Parent = PromptDialog | |
12143 | ContainerFrame.BackgroundColor3 = maincolor | |
12144 | ContainerFrame.BackgroundTransparency = 0.5 | |
12145 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12146 | ContainerFrame.BorderSizePixel = 0 | |
12147 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12148 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12149 | ContainerFrame.ZIndex = 5 | |
12150 | AlList.Name = "List" | |
12151 | AlList.Parent = ContainerFrame | |
12152 | AlList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12153 | AlList.BackgroundTransparency = 1 | |
12154 | AlList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12155 | AlList.BorderSizePixel = 0 | |
12156 | AlList.Position = UDim2.new(0, 10, 0, 9) | |
12157 | AlList.Size = UDim2.new(0, 428, 0, 230) | |
12158 | AlList.ZIndex = 5 | |
12159 | AlList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12160 | AlList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12161 | AlList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12162 | AlList.ScrollBarThickness = 8 | |
12163 | AlList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12164 | shadow.Name = "shadow" | |
12165 | shadow.Parent = PromptDialog | |
12166 | shadow.BackgroundColor3 = maincolor | |
12167 | shadow.BackgroundTransparency = 0.30000001192093 | |
12168 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12169 | shadow.BorderSizePixel = 0 | |
12170 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12171 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12172 | Exit.Name = "Exit" | |
12173 | Exit.Parent = shadow | |
12174 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12175 | Exit.BackgroundTransparency = 0.30000001192093 | |
12176 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12177 | Exit.BorderSizePixel = 0 | |
12178 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12179 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12180 | Exit.FontSize = Enum.FontSize.Size14 | |
12181 | Exit.Text = "" | |
12182 | PopupText.Name = "PopupText" | |
12183 | PopupText.Parent = shadow | |
12184 | PopupText.BackgroundTransparency = 1 | |
12185 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12186 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12187 | PopupText.ZIndex = 6 | |
12188 | PopupText.Font = Enum.Font.SourceSansBold | |
12189 | PopupText.FontSize = Enum.FontSize.Size32 | |
12190 | PopupText.Text = "Aliases" | |
12191 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12192 | PopupText.TextStrokeTransparency = 0 | |
12193 | PopupText.TextWrapped = true | |
12194 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
12195 | updatealiases() | |
12196 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12197 | Exit.MouseButton1Click:Connect(function() | |
12198 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12199 | wait(0.6) aliasesopen = false aliases:Destroy() end) end end | |
12200 | end) | |
12201 | ||
12202 | addcmd('sound', 'plays a sound',{'music','play'}, | |
12203 | function(args, speaker) | |
12204 | if isNumber(args[1]) then | |
12205 | for i,v in pairs(game:GetDescendants()) do | |
12206 | if v:IsA'Sound'then v:Destroy() end end | |
12207 | local c = args[1] or 'stop' | |
12208 | if std.inTable({'stop'}, c:lower()) then return end | |
12209 | local s = Instance.new("Sound", workspace) | |
12210 | s.Name = "IYsound" | |
12211 | s.Looped = true | |
12212 | s.SoundId = "rbxassetid://" .. c | |
12213 | s.Volume = 1 | |
12214 | s:Play() | |
12215 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(c) | |
12216 | playerenabled = false | |
12217 | Notify('Playing: '..Asset.Name..' ('..c..')') | |
12218 | else | |
12219 | local name = GLS(false, 0) | |
12220 | if GLS(false, 0) == "stop" or GLS(false, 0) == "off" then | |
12221 | Notify('Stopped audio') | |
12222 | for i,v in pairs(game:GetDescendants()) do | |
12223 | if v:IsA'Sound'then v:Destroy() end end | |
12224 | return | |
12225 | end | |
12226 | Notify('Loading list...') | |
12227 | local Audios = Instance.new("ScreenGui") | |
12228 | local drag = Instance.new("Frame") | |
12229 | local PromptDialog = Instance.new("Frame") | |
12230 | local ContainerFrame = Instance.new("Frame") | |
12231 | local AudList = Instance.new("ScrollingFrame") | |
12232 | local shadow = Instance.new("Frame") | |
12233 | local Exit = Instance.new("TextButton") | |
12234 | local PopupText = Instance.new("TextLabel") | |
12235 | local Hide = Instance.new("TextButton") | |
12236 | Audios.Name = "Audios" | |
12237 | Audios.Parent = game.CoreGui | |
12238 | drag.Name = "drag" | |
12239 | drag.Parent = Audios | |
12240 | drag.Active = true | |
12241 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12242 | drag.BackgroundTransparency = 1 | |
12243 | dragGUI(drag) | |
12244 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12245 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12246 | PromptDialog.Name = "PromptDialog" | |
12247 | PromptDialog.Parent = drag | |
12248 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12249 | PromptDialog.BackgroundTransparency = 1 | |
12250 | PromptDialog.BorderSizePixel = 0 | |
12251 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12252 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12253 | PromptDialog.ZIndex = 5 | |
12254 | PromptDialog.ClipsDescendants = true | |
12255 | ContainerFrame.Name = "ContainerFrame" | |
12256 | ContainerFrame.Parent = PromptDialog | |
12257 | ContainerFrame.BackgroundColor3 = maincolor | |
12258 | ContainerFrame.BackgroundTransparency = 0.5 | |
12259 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12260 | ContainerFrame.BorderSizePixel = 0 | |
12261 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12262 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12263 | ContainerFrame.ZIndex = 5 | |
12264 | AudList.Name = "List" | |
12265 | AudList.Parent = ContainerFrame | |
12266 | AudList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12267 | AudList.BackgroundTransparency = 1 | |
12268 | AudList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12269 | AudList.BorderSizePixel = 0 | |
12270 | AudList.Position = UDim2.new(0, 10, 0, 9) | |
12271 | AudList.Size = UDim2.new(0, 428, 0, 230) | |
12272 | AudList.ZIndex = 5 | |
12273 | AudList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12274 | AudList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12275 | AudList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12276 | AudList.ScrollBarThickness = 8 | |
12277 | AudList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12278 | shadow.Name = "shadow" | |
12279 | shadow.Parent = PromptDialog | |
12280 | shadow.BackgroundColor3 = maincolor | |
12281 | shadow.BackgroundTransparency = 0.30000001192093 | |
12282 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12283 | shadow.BorderSizePixel = 0 | |
12284 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12285 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12286 | Exit.Name = "Exit" | |
12287 | Exit.Parent = shadow | |
12288 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12289 | Exit.BackgroundTransparency = 0.30000001192093 | |
12290 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12291 | Exit.BorderSizePixel = 0 | |
12292 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12293 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12294 | Exit.FontSize = Enum.FontSize.Size14 | |
12295 | Exit.Text = "" | |
12296 | PopupText.Name = "PopupText" | |
12297 | PopupText.Parent = shadow | |
12298 | PopupText.BackgroundTransparency = 1 | |
12299 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12300 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12301 | PopupText.ZIndex = 6 | |
12302 | PopupText.Font = Enum.Font.SourceSansBold | |
12303 | PopupText.FontSize = Enum.FontSize.Size32 | |
12304 | PopupText.Text = GLS(false, 0).." [Audio]" | |
12305 | PopupText.TextScaled = true | |
12306 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12307 | PopupText.TextStrokeTransparency = 0 | |
12308 | PopupText.TextWrapped = true | |
12309 | PopupText.TextYAlignment = Enum.TextYAlignment.Center | |
12310 | Hide.Name = "Hide" | |
12311 | Hide.Parent = shadow | |
12312 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
12313 | Hide.BackgroundTransparency = 0.30000001192093 | |
12314 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
12315 | Hide.BorderSizePixel = 0 | |
12316 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
12317 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
12318 | Hide.FontSize = Enum.FontSize.Size14 | |
12319 | Hide.Text = "" | |
12320 | local hidden = false | |
12321 | Hide.MouseButton1Down:connect(function() | |
12322 | if hidden == false then hidden = true | |
12323 | ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12324 | else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
12325 | end end) | |
12326 | local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Audio&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true) | |
12327 | local results = HttpService:JSONDecode(json) | |
12328 | if #results == 0 then | |
12329 | Notify('No audio found :(') | |
12330 | Audios:Destroy() | |
12331 | return | |
12332 | end | |
12333 | for i,v in pairs(results) do | |
12334 | local YSize = 25 | |
12335 | local Position = ((i * YSize) - YSize) | |
12336 | local newcmd = Example:Clone() | |
12337 | newcmd.Parent = AudList | |
12338 | newcmd.Visible = true | |
12339 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
12340 | newcmd.Text = " "..v.Name | |
12341 | newcmd.TextSize = 20 | |
12342 | AudList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
12343 | local play = Instance.new("TextButton") | |
12344 | play.Name = "play" | |
12345 | play.Parent = AudList | |
12346 | play.BackgroundColor3 = Color3.new(255, 255, 255) | |
12347 | play.BackgroundTransparency = 0.30000001192093 | |
12348 | play.BorderColor3 = Color3.new(1, 0, 0) | |
12349 | play.BorderSizePixel = 0 | |
12350 | play.Position = UDim2.new(0,-10,0, Position + 5) | |
12351 | play.Size = UDim2.new(0, 20, 0, 20) | |
12352 | play.FontSize = Enum.FontSize.Size14 | |
12353 | play.Text = "" | |
12354 | play.ZIndex = 6 | |
12355 | play.MouseButton1Click:Connect(function() | |
12356 | playerenabled = false | |
12357 | for i,v in pairs(game:GetDescendants()) do | |
12358 | if v:IsA'Sound'then v:Destroy() end end | |
12359 | wait(0.1) | |
12360 | Notify('Playing: '..v.Name ..' ('..v.AssetId..')') | |
12361 | local s = Instance.new("Sound", workspace) | |
12362 | s.Name = "IYsound" | |
12363 | s.Looped = true | |
12364 | s.SoundId = "rbxassetid://" .. v.AssetId | |
12365 | s.Volume = 1 | |
12366 | s:Play() | |
12367 | end) | |
12368 | Notify('Select an audio to play') | |
12369 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12370 | Exit.MouseButton1Click:Connect(function() | |
12371 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12372 | wait(0.6) Audios:Destroy() end) end end | |
12373 | end) | |
12374 | ||
12375 | function dragmodel(model, window, frame, name) | |
12376 | local Dragger = Instance.new("Dragger") local dragging = false local drag = model drag.Parent = workspace local parts = {} | |
12377 | drag:MakeJoints() drag.Name = name | |
12378 | local mouse = game:GetService("Players").LocalPlayer:GetMouse() | |
12379 | function collectParts(object, baseParts) | |
12380 | if object:IsA("BasePart") then | |
12381 | baseParts[#baseParts+1] = object end | |
12382 | for index,child in pairs(object:GetChildren()) do | |
12383 | collectParts(child, baseParts) end end | |
12384 | collectParts(drag, parts) | |
12385 | Dragger:MouseDown(parts[1], Vector3.new(0,0,0), parts) | |
12386 | dragging = true | |
12387 | mouse.Move:connect(function() | |
12388 | if dragging then | |
12389 | Dragger:MouseMove(mouse.UnitRay) | |
12390 | end end) | |
12391 | mouse.KeyDown:connect(function(Key) | |
12392 | if dragging then | |
12393 | if Key == "r" then | |
12394 | Dragger:AxisRotate("Y") | |
12395 | elseif Key == "t" then | |
12396 | Dragger:AxisRotate("X") | |
12397 | elseif Key == "e" then | |
12398 | if window == true then | |
12399 | frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) | |
12400 | end | |
12401 | drag:Destroy() | |
12402 | dragging = false | |
12403 | Dragger:MouseUp() | |
12404 | end end end) | |
12405 | mouse.Button1Down:connect(function() | |
12406 | if dragging then | |
12407 | if window == true then | |
12408 | frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) | |
12409 | end | |
12410 | dragging = false | |
12411 | Dragger:MouseUp() | |
12412 | end end) end | |
12413 | ||
12414 | addcmd('insert', 'inserts a model',{'ins'}, | |
12415 | function(args, speaker) | |
12416 | if isNumber(args[1]) then | |
12417 | local window = false | |
12418 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(args[1]) | |
12419 | dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. Asset.AssetId), window, nil, Asset.Name) | |
12420 | Notify('Inserted ' .. Asset.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt') | |
12421 | else | |
12422 | local name = GLS(false, 0) | |
12423 | Notify('Loading list...') | |
12424 | local Models = Instance.new("ScreenGui") | |
12425 | local drag = Instance.new("Frame") | |
12426 | local PromptDialog = Instance.new("Frame") | |
12427 | local ModelContainerFrame = Instance.new("Frame") | |
12428 | local ModList = Instance.new("ScrollingFrame") | |
12429 | local shadow = Instance.new("Frame") | |
12430 | local Exit = Instance.new("TextButton") | |
12431 | local PopupText = Instance.new("TextLabel") | |
12432 | local Hide = Instance.new("TextButton") | |
12433 | Models.Name = "Models" | |
12434 | Models.Parent = game.CoreGui | |
12435 | drag.Name = "drag" | |
12436 | drag.Parent = Models | |
12437 | drag.Active = true | |
12438 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12439 | drag.BackgroundTransparency = 1 | |
12440 | dragGUI(drag) | |
12441 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
12442 | drag.Size = UDim2.new(0, 438, 0, 26) | |
12443 | PromptDialog.Name = "PromptDialog" | |
12444 | PromptDialog.Parent = drag | |
12445 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12446 | PromptDialog.BackgroundTransparency = 1 | |
12447 | PromptDialog.BorderSizePixel = 0 | |
12448 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12449 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12450 | PromptDialog.ClipsDescendants = true | |
12451 | PromptDialog.ZIndex = 5 | |
12452 | ModelContainerFrame.Name = "ContainerFrame" | |
12453 | ModelContainerFrame.Parent = PromptDialog | |
12454 | ModelContainerFrame.BackgroundColor3 = maincolor | |
12455 | ModelContainerFrame.BackgroundTransparency = 0.5 | |
12456 | ModelContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12457 | ModelContainerFrame.BorderSizePixel = 0 | |
12458 | ModelContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12459 | ModelContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12460 | ModelContainerFrame.ZIndex = 5 | |
12461 | ModList.Name = "List" | |
12462 | ModList.Parent = ModelContainerFrame | |
12463 | ModList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12464 | ModList.BackgroundTransparency = 1 | |
12465 | ModList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12466 | ModList.BorderSizePixel = 0 | |
12467 | ModList.Position = UDim2.new(0, 10, 0, 9) | |
12468 | ModList.Size = UDim2.new(0, 428, 0, 230) | |
12469 | ModList.ZIndex = 5 | |
12470 | ModList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12471 | ModList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12472 | ModList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12473 | ModList.ScrollBarThickness = 8 | |
12474 | ModList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12475 | shadow.Name = "shadow" | |
12476 | shadow.Parent = PromptDialog | |
12477 | shadow.BackgroundColor3 = maincolor | |
12478 | shadow.BackgroundTransparency = 0.30000001192093 | |
12479 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12480 | shadow.BorderSizePixel = 0 | |
12481 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12482 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12483 | Exit.Name = "Exit" | |
12484 | Exit.Parent = shadow | |
12485 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
12486 | Exit.BackgroundTransparency = 0.30000001192093 | |
12487 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
12488 | Exit.BorderSizePixel = 0 | |
12489 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
12490 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
12491 | Exit.FontSize = Enum.FontSize.Size14 | |
12492 | Exit.Text = "" | |
12493 | PopupText.Name = "PopupText" | |
12494 | PopupText.Parent = shadow | |
12495 | PopupText.BackgroundTransparency = 1 | |
12496 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
12497 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
12498 | PopupText.ZIndex = 6 | |
12499 | PopupText.Font = Enum.Font.SourceSansBold | |
12500 | PopupText.FontSize = Enum.FontSize.Size32 | |
12501 | PopupText.Text = GLS(false, 0).." [Models]" | |
12502 | PopupText.TextScaled = true | |
12503 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
12504 | PopupText.TextStrokeTransparency = 0 | |
12505 | PopupText.TextWrapped = true | |
12506 | PopupText.TextYAlignment = Enum.TextYAlignment.Center | |
12507 | Hide.Name = "Hide" | |
12508 | Hide.Parent = shadow | |
12509 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
12510 | Hide.BackgroundTransparency = 0.30000001192093 | |
12511 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
12512 | Hide.BorderSizePixel = 0 | |
12513 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
12514 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
12515 | Hide.FontSize = Enum.FontSize.Size14 | |
12516 | Hide.Text = "" | |
12517 | local hidden = false | |
12518 | Hide.MouseButton1Down:connect(function() | |
12519 | if hidden == false then hidden = true | |
12520 | ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12521 | else ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
12522 | end end) | |
12523 | local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Models&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true) | |
12524 | local results = HttpService:JSONDecode(json) | |
12525 | if #results == 0 then | |
12526 | Notify('No models found :(') | |
12527 | Models:Destroy() | |
12528 | return | |
12529 | end | |
12530 | for i,v in pairs(results) do | |
12531 | local YSize = 100 | |
12532 | local Position = ((i * YSize) - YSize) | |
12533 | local newcmd = Example:Clone() | |
12534 | newcmd.Parent = ModList | |
12535 | newcmd.Visible = true | |
12536 | newcmd.Position = UDim2.new(0,5,0, Position + 40) | |
12537 | newcmd.Text = " "..v.Name | |
12538 | newcmd.TextSize = 20 | |
12539 | ModList.CanvasSize = UDim2.new(0,0,0, Position + 100) | |
12540 | local ins = Instance.new("TextButton") | |
12541 | ins.Name = "ins" | |
12542 | ins.Parent = ModList | |
12543 | ins.BackgroundColor3 = Color3.new(255, 255, 255) | |
12544 | ins.BackgroundTransparency = 0.30000001192093 | |
12545 | ins.BorderColor3 = Color3.new(1, 0, 0) | |
12546 | ins.BorderSizePixel = 0 | |
12547 | ins.Position = UDim2.new(0,-10,0, Position + 40) | |
12548 | ins.Size = UDim2.new(0, 20, 0, 20) | |
12549 | ins.FontSize = Enum.FontSize.Size14 | |
12550 | ins.Text = "" | |
12551 | ins.ZIndex = 6 | |
12552 | local img = Instance.new("ImageLabel") | |
12553 | img.Parent = ModList | |
12554 | img.Position = UDim2.new(0,300,0, Position + 5) | |
12555 | img.Size = UDim2.new(0,100,0,100) | |
12556 | img.ZIndex = 6 | |
12557 | img.BackgroundColor3 = Color3.new(255, 255, 255) | |
12558 | img.BackgroundTransparency = 1 | |
12559 | img.Image = 'https://www.roblox.com/Thumbs/Asset.ashx?width=110&height=110&assetId='..v.AssetId | |
12560 | ins.MouseButton1Click:Connect(function() | |
12561 | local window = true | |
12562 | dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. v.AssetId), window, ModelContainerFrame, v.Name) | |
12563 | Notify('Inserted ' .. v.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt') | |
12564 | ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
12565 | end) | |
12566 | Notify('Select a model to insert') | |
12567 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
12568 | Exit.MouseButton1Click:Connect(function() | |
12569 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
12570 | wait(0.6) Models:Destroy() end) end end | |
12571 | end) | |
12572 | ||
12573 | addcmd('cmds','opens cmds window',{'commands'}, | |
12574 | function(args, speaker) | |
12575 | if speaker.userId ~= LP.userId then | |
12576 | for _, child in pairs( workspace:GetChildren()) do | |
12577 | if child.Name == speaker.Name .. "TAB" then | |
12578 | child:Destroy() end end | |
12579 | game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1) | |
12580 | local GUI = Instance.new("SurfaceGui") | |
12581 | local holder = Instance.new("Frame") | |
12582 | local bar = Instance.new("Frame") | |
12583 | local Title = Instance.new("TextLabel") | |
12584 | local MAIN = Instance.new("Frame") | |
12585 | local Example = Instance.new("TextLabel") | |
12586 | local CMDs = Instance.new("ScrollingFrame") | |
12587 | local PART = Instance.new("Part") | |
12588 | PART.Name = speaker.Name .. 'TAB' | |
12589 | PART.Color = maincolor | |
12590 | PART.Size = Vector3.new(7, 7.8, 0.2) | |
12591 | PART.Transparency = 0 | |
12592 | PART.Locked = true | |
12593 | PART.CanCollide = false | |
12594 | PART.Parent = workspace | |
12595 | PART.Anchored = true | |
12596 | PART.Material = "Neon" | |
12597 | local GUI = Instance.new("SurfaceGui") | |
12598 | local holder = Instance.new("Frame") | |
12599 | local bar = Instance.new("Frame") | |
12600 | local Title = Instance.new("TextLabel") | |
12601 | local MAIN = Instance.new("Frame") | |
12602 | local Example = Instance.new("TextLabel") | |
12603 | local CMDs = Instance.new("ScrollingFrame") | |
12604 | GUI.Name = "GUI" | |
12605 | GUI.Parent = PART | |
12606 | GUI.CanvasSize = Vector2.new(500, 600) | |
12607 | GUI.Face = Enum.NormalId.Back | |
12608 | holder.Name = "holder" | |
12609 | holder.Parent = GUI | |
12610 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
12611 | holder.BackgroundTransparency = 1 | |
12612 | holder.BorderSizePixel = 2 | |
12613 | holder.Position = UDim2.new(0, 0, 0, 10) | |
12614 | holder.Size = UDim2.new(0, 300, 0, 330) | |
12615 | holder.ZIndex = 2 | |
12616 | bar.Name = "bar" | |
12617 | bar.Parent = holder | |
12618 | bar.BackgroundColor3 = Color3.new(0, 0, 0) | |
12619 | bar.BackgroundTransparency = 0.89999997615814 | |
12620 | bar.BorderSizePixel = 0 | |
12621 | bar.Position = UDim2.new(0, 10, 1, -330) | |
12622 | bar.Size = UDim2.new(0, 480, 0, 33) | |
12623 | Title.Name = "Title" | |
12624 | Title.Parent = bar | |
12625 | Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
12626 | Title.BackgroundTransparency = 1 | |
12627 | Title.Size = UDim2.new(1, 0, 0, 30) | |
12628 | Title.Font = Enum.Font.SourceSansBold | |
12629 | Title.FontSize = Enum.FontSize.Size24 | |
12630 | Title.Text = "[Infinite Yield] Command List" | |
12631 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12632 | MAIN.Name = "MAIN" | |
12633 | MAIN.Parent = holder | |
12634 | MAIN.BackgroundColor3 = Color3.new(0, 0, 0) | |
12635 | MAIN.BackgroundTransparency = 0.89999997615814 | |
12636 | MAIN.BorderSizePixel = 0 | |
12637 | MAIN.Position = UDim2.new(0, 10, 1, -300) | |
12638 | MAIN.Size = UDim2.new(0, 480, 0, 550) | |
12639 | Example.Name = "Example" | |
12640 | Example.Parent = MAIN | |
12641 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12642 | Example.BackgroundTransparency = 1 | |
12643 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12644 | Example.BorderSizePixel = 0 | |
12645 | Example.Size = UDim2.new(0, 190, 0, 40) | |
12646 | Example.Visible = false | |
12647 | Example.Font = Enum.Font.SourceSansBold | |
12648 | Example.FontSize = Enum.FontSize.Size36 | |
12649 | Example.Text = "txt" | |
12650 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
12651 | Example.TextStrokeTransparency = 0 | |
12652 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
12653 | Example.ZIndex = 6 | |
12654 | CMDs.Name = "CMDs" | |
12655 | CMDs.Parent = MAIN | |
12656 | CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12657 | CMDs.BackgroundTransparency = 1 | |
12658 | CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12659 | CMDs.BorderSizePixel = 0 | |
12660 | CMDs.Size = UDim2.new(0, 480, 0, 550) | |
12661 | CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12662 | CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880) | |
12663 | CMDs.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12664 | CMDs.ScrollBarThickness = 15 | |
12665 | CMDs.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12666 | local CMDsV = CMDsFolder:GetChildren() | |
12667 | for i = 1, #CMDsV do | |
12668 | local YSize = 35 | |
12669 | local Position = ((i * YSize) - YSize) | |
12670 | local newcmd = Example:Clone() | |
12671 | newcmd.Parent = CMDs | |
12672 | newcmd.Visible = true | |
12673 | newcmd.Position = UDim2.new(0,10,0, Position + 1) | |
12674 | newcmd.Text = "" .. CMDsV[i].Value | |
12675 | CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end | |
12676 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
12677 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
12678 | PART.CFrame = newcf | |
12679 | speaker.Character.Humanoid.Died:connect(function() | |
12680 | PART:Destroy() end) | |
12681 | wait(1) | |
12682 | PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05) | |
12683 | PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05) | |
12684 | PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05) | |
12685 | if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end | |
12686 | table.insert(hastab, speaker.Name) movetab(speaker,PART) | |
12687 | else | |
12688 | if cmdOpen == true then | |
12689 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
12690 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
12691 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
12692 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
12693 | else | |
12694 | commands() searchbar() | |
12695 | end end | |
12696 | end) | |
12697 | cmdBAR.FocusLost:connect(function(enterpressed) | |
12698 | if enterpressed and cmdBAR.Text ~= "" then | |
12699 | spawn(function () | |
12700 | execCmd(cmdBAR.Text, Player) | |
12701 | end) | |
12702 | end | |
12703 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) | |
12704 | cmdBAR.BorderSizePixel = 1 | |
12705 | wait(0.1) | |
12706 | cmdBAR.BorderSizePixel = 0 | |
12707 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
12708 | end) | |
12709 | Mouse.KeyDown:connect(function(Key) | |
12710 | if (Key==cmdbarbind) then | |
12711 | cmdBAR:CaptureFocus() | |
12712 | cmdBAR.BorderSizePixel = 1 | |
12713 | wait(0.1) | |
12714 | cmdBAR.BorderSizePixel = 2 | |
12715 | end | |
12716 | end) | |
12717 | cmdBAR.Changed:connect(function (property) | |
12718 | if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) end | |
12719 | end) | |
12720 | cmdBAR:GetPropertyChangedSignal("Text"):Connect(function() | |
12721 | local diff = cmdBAR.TextBounds.X-250 | |
12722 | 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) | |
12723 | end) | |
12724 | cmdBAR.Focused:Connect(function() historyCount = 0 end) | |
12725 | game:GetService("UserInputService").InputBegan:Connect(function(input) | |
12726 | if not cmdBAR:IsFocused() then return end | |
12727 | if input.KeyCode == Enum.KeyCode.Up then | |
12728 | historyCount = historyCount + 1 | |
12729 | if historyCount > #cmdHistory then historyCount = #cmdHistory end | |
12730 | cmdBAR.Text = cmdHistory[historyCount] or "" | |
12731 | elseif input.KeyCode == Enum.KeyCode.Down then | |
12732 | historyCount = historyCount - 1 | |
12733 | if historyCount < 1 then historyCount = 1 end | |
12734 | cmdBAR.Text = cmdHistory[historyCount] or "" | |
12735 | end | |
12736 | end) | |
12737 | NOTIFY = DATA.Notification | |
12738 | NOTIFY.Parent = game.CoreGui | |
12739 | local usingNOTE = false | |
12740 | function Notify(msg) | |
12741 | spawn(function() | |
12742 | if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then | |
12743 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12744 | wait(0.5) | |
12745 | MusicPlayer:Hide() | |
12746 | if qopen == true then | |
12747 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12748 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12749 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12750 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
12751 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false | |
12752 | NOTIFY.NOTIFY.NOTE.Text = msg | |
12753 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
12754 | if playerenabled == true then | |
12755 | wait(4) | |
12756 | if playerenabled == true then | |
12757 | MusicPlayer:Show() | |
12758 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12759 | end | |
12760 | end | |
12761 | else | |
12762 | NOTIFY.NOTIFY.NOTE.Text = msg | |
12763 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
12764 | if playerenabled == true then | |
12765 | wait(4) | |
12766 | if playerenabled == true then | |
12767 | MusicPlayer:Show() | |
12768 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
12769 | end | |
12770 | end | |
12771 | end end end) end | |
12772 | 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 | |
12773 | 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) | |
12774 | 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 | |
12775 | 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 | |
12776 | 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) | |
12777 | ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0) | |
12778 | if aliasSave then | |
12779 | for i = 1, #aliasSave do | |
12780 | execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS) | |
12781 | end else | |
12782 | aliasSave = {} wait(0.1) updatefile() | |
12783 | for i = 1, #aliasSave do | |
12784 | execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS) | |
12785 | end end | |
12786 | Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quart", 1, true, nil) | |
12787 | commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false | |
12788 | local Logs = Instance.new("ScreenGui") | |
12789 | logdrag = Instance.new("Frame") | |
12790 | local PromptDialog = Instance.new("Frame") | |
12791 | local ContainerFrame = Instance.new("Frame") | |
12792 | local pos = Instance.new("Frame") | |
12793 | local clear = Instance.new("TextButton") | |
12794 | local scroll = Instance.new("ScrollingFrame") | |
12795 | local hl = Instance.new("Frame") | |
12796 | local whispers = Instance.new("Frame") | |
12797 | local CheckBox = Instance.new("ImageButton") | |
12798 | local box = Instance.new("TextButton") | |
12799 | local whispers_2 = Instance.new("TextLabel") | |
12800 | local chats = Instance.new("Frame") | |
12801 | local CheckBox_2 = Instance.new("ImageButton") | |
12802 | local box_2 = Instance.new("TextButton") | |
12803 | local chats_2 = Instance.new("TextLabel") | |
12804 | local commands = Instance.new("Frame") | |
12805 | local CheckBox_3 = Instance.new("ImageButton") | |
12806 | local box_3 = Instance.new("TextButton") | |
12807 | local commands_2 = Instance.new("TextLabel") | |
12808 | local shadow = Instance.new("Frame") | |
12809 | local Exit = Instance.new("TextButton") | |
12810 | local PopupText = Instance.new("TextLabel") | |
12811 | local Hide = Instance.new("TextButton") | |
12812 | Logs.Name = "Logs" | |
12813 | Logs.Parent = game.CoreGui | |
12814 | logdrag.Name = "drag" | |
12815 | logdrag.Parent = Logs | |
12816 | logdrag.Active = true | |
12817 | logdrag.BackgroundColor3 = Color3.new(1, 1, 1) | |
12818 | logdrag.BackgroundTransparency = 1 | |
12819 | dragGUI(logdrag) | |
12820 | logdrag.Position = UDim2.new(0.5, -225, 0, -400) | |
12821 | logdrag.Size = UDim2.new(0, 438, 0, 26) | |
12822 | PromptDialog.Name = "PromptDialog" | |
12823 | PromptDialog.Parent = logdrag | |
12824 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
12825 | PromptDialog.BackgroundTransparency = 1 | |
12826 | PromptDialog.BorderSizePixel = 0 | |
12827 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
12828 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
12829 | PromptDialog.ZIndex = 5 | |
12830 | PromptDialog.ClipsDescendants = true | |
12831 | ContainerFrame.Name = "ContainerFrame" | |
12832 | ContainerFrame.Parent = PromptDialog | |
12833 | ContainerFrame.BackgroundColor3 = maincolor | |
12834 | ContainerFrame.BackgroundTransparency = 0.5 | |
12835 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
12836 | ContainerFrame.BorderSizePixel = 0 | |
12837 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
12838 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
12839 | ContainerFrame.ZIndex = 5 | |
12840 | pos.Name = "pos" | |
12841 | pos.Parent = ContainerFrame | |
12842 | pos.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
12843 | pos.BackgroundTransparency = 1 | |
12844 | pos.BorderColor3 = Color3.new(0, 0, 0) | |
12845 | pos.BorderSizePixel = 0 | |
12846 | pos.Position = UDim2.new(0, 10, 0, 9) | |
12847 | pos.Size = UDim2.new(0, 428, 0, 230) | |
12848 | pos.ZIndex = 5 | |
12849 | clear.Name = "clear" | |
12850 | clear.Parent = pos | |
12851 | clear.BackgroundColor3 = Color3.new(0, 0, 0) | |
12852 | clear.BackgroundTransparency = 0.80000001192093 | |
12853 | clear.BorderColor3 = Color3.new(1, 1, 1) | |
12854 | clear.Position = UDim2.new(0, 3, 0, 3) | |
12855 | clear.Size = UDim2.new(0, 70, 0, 20) | |
12856 | clear.ZIndex = 5 | |
12857 | clear.Font = Enum.Font.SourceSans | |
12858 | clear.FontSize = Enum.FontSize.Size14 | |
12859 | clear.Text = "Clear" | |
12860 | clear.TextColor3 = Color3.new(1, 1, 1) | |
12861 | scroll.Name = "scroll" | |
12862 | scroll.Parent = pos | |
12863 | scroll.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12864 | scroll.BackgroundTransparency = 1 | |
12865 | scroll.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
12866 | scroll.BorderSizePixel = 0 | |
12867 | scroll.Size = UDim2.new(0, 413, 0, 193) | |
12868 | scroll.Position = UDim2.new(0.007, 0, 0.152, 0) | |
12869 | scroll.ZIndex = 5 | |
12870 | scroll.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
12871 | scroll.CanvasSize = UDim2.new(0, 0, 0, 10) | |
12872 | scroll.MidImage = "rbxasset://textures/blackBkg_square.png" | |
12873 | scroll.ScrollBarThickness = 8 | |
12874 | scroll.TopImage = "rbxasset://textures/blackBkg_square.png" | |
12875 | hl.Name = "hl" | |
12876 | hl.Parent = pos | |
12877 | hl.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
12878 | hl.BackgroundTransparency = 0.5 | |
12879 | hl.BorderColor3 = Color3.new(0, 0, 0) | |
12880 | hl.BorderSizePixel = 0 | |
12881 | hl.Position = UDim2.new(0, 2, 0, 35) | |
12882 | hl.Size = UDim2.new(0.799065411, 72, 0.839130461, 0) | |
12883 | hl.ZIndex = 5 | |
12884 | whispers.Name = "whispers" | |
12885 | whispers.Parent = pos | |
12886 | whispers.BackgroundColor3 = Color3.new(1, 1, 1) | |
12887 | whispers.BackgroundTransparency = 1 | |
12888 | whispers.Size = UDim2.new(0, 428, 0, 230) | |
12889 | CheckBox.Name = "CheckBox" | |
12890 | CheckBox.Parent = whispers | |
12891 | CheckBox.BackgroundTransparency = 1 | |
12892 | CheckBox.Position = UDim2.new(0.574635506, 0, 0, 2) | |
12893 | CheckBox.Size = UDim2.new(0, 20, 0, 20) | |
12894 | CheckBox.ZIndex = 6 | |
12895 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
12896 | box.Name = "box" | |
12897 | box.Parent = whispers | |
12898 | box.BackgroundColor3 = Color3.new(0, 0, 0) | |
12899 | box.BackgroundTransparency = 0.80000001192093 | |
12900 | box.BorderColor3 = Color3.new(1, 1, 1) | |
12901 | box.Position = UDim2.new(0, 172, 0, 3) | |
12902 | box.Size = UDim2.new(0, 94, 0, 20) | |
12903 | box.ZIndex = 5 | |
12904 | box.Font = Enum.Font.SourceSans | |
12905 | box.FontSize = Enum.FontSize.Size14 | |
12906 | box.Text = "" | |
12907 | box.TextColor3 = Color3.new(1, 1, 1) | |
12908 | whispers_2.Name = "whispers" | |
12909 | whispers_2.Parent = whispers | |
12910 | whispers_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
12911 | whispers_2.BackgroundTransparency = 1 | |
12912 | whispers_2.Position = UDim2.new(0, 172, 0, 3) | |
12913 | whispers_2.Size = UDim2.new(0.126168221, 20, -0.0434782617, 30) | |
12914 | whispers_2.ZIndex = 6 | |
12915 | whispers_2.Font = Enum.Font.SourceSansBold | |
12916 | whispers_2.FontSize = Enum.FontSize.Size14 | |
12917 | whispers_2.Text = "Whispers" | |
12918 | whispers_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12919 | chats.Name = "chats" | |
12920 | chats.Parent = pos | |
12921 | chats.BackgroundColor3 = Color3.new(1, 1, 1) | |
12922 | chats.BackgroundTransparency = 1 | |
12923 | chats.Size = UDim2.new(0, 428, 0, 230) | |
12924 | CheckBox_2.Name = "CheckBox" | |
12925 | CheckBox_2.Parent = chats | |
12926 | CheckBox_2.BackgroundTransparency = 1 | |
12927 | CheckBox_2.Position = UDim2.new(0.324635506, 0, 3.49245965e-08, 2) | |
12928 | CheckBox_2.Size = UDim2.new(0, 20, 0, 20) | |
12929 | CheckBox_2.ZIndex = 6 | |
12930 | CheckBox_2.Image = "http://www.roblox.com/asset/?id=65492641" | |
12931 | box_2.Name = "box" | |
12932 | box_2.Parent = chats | |
12933 | box_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
12934 | box_2.BackgroundTransparency = 0.80000001192093 | |
12935 | box_2.BorderColor3 = Color3.new(1, 1, 1) | |
12936 | box_2.Position = UDim2.new(0, 86, 0, 3) | |
12937 | box_2.Size = UDim2.new(0, 73, 0, 20) | |
12938 | box_2.ZIndex = 5 | |
12939 | box_2.Font = Enum.Font.SourceSans | |
12940 | box_2.FontSize = Enum.FontSize.Size14 | |
12941 | box_2.Text = "" | |
12942 | box_2.TextColor3 = Color3.new(1, 1, 1) | |
12943 | chats_2.Name = "chats" | |
12944 | chats_2.Parent = chats | |
12945 | chats_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
12946 | chats_2.BackgroundTransparency = 1 | |
12947 | chats_2.Position = UDim2.new(0, 86, 0, 2) | |
12948 | chats_2.Size = UDim2.new(0.0771028027, 20, -0.0434782617, 30) | |
12949 | chats_2.ZIndex = 6 | |
12950 | chats_2.Font = Enum.Font.SourceSansBold | |
12951 | chats_2.FontSize = Enum.FontSize.Size14 | |
12952 | chats_2.Text = "Chats" | |
12953 | chats_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12954 | commands.Name = "commands" | |
12955 | commands.Parent = pos | |
12956 | commands.BackgroundColor3 = Color3.new(1, 1, 1) | |
12957 | commands.BackgroundTransparency = 1 | |
12958 | commands.Size = UDim2.new(0, 428, 0, 230) | |
12959 | CheckBox_3.Name = "CheckBox" | |
12960 | CheckBox_3.Parent = commands | |
12961 | CheckBox_3.BackgroundTransparency = 1 | |
12962 | CheckBox_3.Position = UDim2.new(0.844495356, 0, 0, 2) | |
12963 | CheckBox_3.Size = UDim2.new(0, 20, 0, 20) | |
12964 | CheckBox_3.ZIndex = 6 | |
12965 | CheckBox_3.Image = "http://www.roblox.com/asset/?id=65492641" | |
12966 | box_3.Name = "box" | |
12967 | box_3.Parent = commands | |
12968 | box_3.BackgroundColor3 = Color3.new(0, 0, 0) | |
12969 | box_3.BackgroundTransparency = 0.80000001192093 | |
12970 | box_3.BorderColor3 = Color3.new(1, 1, 1) | |
12971 | box_3.Position = UDim2.new(0, 279, 0, 3) | |
12972 | box_3.Size = UDim2.new(0, 102, 0, 20) | |
12973 | box_3.ZIndex = 5 | |
12974 | box_3.Font = Enum.Font.SourceSans | |
12975 | box_3.FontSize = Enum.FontSize.Size14 | |
12976 | box_3.Text = "" | |
12977 | box_3.TextColor3 = Color3.new(1, 1, 1) | |
12978 | commands_2.Name = "commands" | |
12979 | commands_2.Parent = commands | |
12980 | commands_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
12981 | commands_2.BackgroundTransparency = 1 | |
12982 | commands_2.Position = UDim2.new(0, 279, 0, 3) | |
12983 | commands_2.Size = UDim2.new(0.144859806, 20, -0.0434782617, 30) | |
12984 | commands_2.ZIndex = 6 | |
12985 | commands_2.Font = Enum.Font.SourceSansBold | |
12986 | commands_2.FontSize = Enum.FontSize.Size14 | |
12987 | commands_2.Text = "Commands" | |
12988 | commands_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
12989 | shadow.Name = "shadow" | |
12990 | shadow.Parent = PromptDialog | |
12991 | shadow.BackgroundColor3 = maincolor | |
12992 | shadow.BackgroundTransparency = 0.30000001192093 | |
12993 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
12994 | shadow.BorderSizePixel = 0 | |
12995 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
12996 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
12997 | Exit.Name = "Exit" | |
12998 | Exit.Parent = shadow | |
12999 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
13000 | Exit.BackgroundTransparency = 0.30000001192093 | |
13001 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
13002 | Exit.BorderSizePixel = 0 | |
13003 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
13004 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
13005 | Exit.FontSize = Enum.FontSize.Size14 | |
13006 | Exit.Text = "" | |
13007 | PopupText.Name = "PopupText" | |
13008 | PopupText.Parent = shadow | |
13009 | PopupText.BackgroundTransparency = 1 | |
13010 | PopupText.Position = UDim2.new(0, 61, 0, -5) | |
13011 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
13012 | PopupText.ZIndex = 6 | |
13013 | PopupText.Font = Enum.Font.SourceSansBold | |
13014 | PopupText.TextSize = 31 | |
13015 | PopupText.Text = "Logs" | |
13016 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13017 | PopupText.TextStrokeTransparency = 0 | |
13018 | PopupText.TextWrapped = true | |
13019 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
13020 | Hide.Name = "Hide" | |
13021 | Hide.Parent = shadow | |
13022 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
13023 | Hide.BackgroundTransparency = 0.30000001192093 | |
13024 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
13025 | Hide.BorderSizePixel = 0 | |
13026 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
13027 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
13028 | Hide.FontSize = Enum.FontSize.Size14 | |
13029 | Hide.Text = "" | |
13030 | checked = "http://www.roblox.com/asset/?id=65492641" | |
13031 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
13032 | if chatsV == true then | |
13033 | CheckBox_2.Image = checked else | |
13034 | CheckBox_2.Image = unchecked end | |
13035 | box_2.MouseButton1Down:connect(function() | |
13036 | if chatsV == true then chatsV = false | |
13037 | CheckBox_2.Image = unchecked updatefile() else | |
13038 | chatsV = true | |
13039 | CheckBox_2.Image = checked updatefile() end end) | |
13040 | if whispersV == true then | |
13041 | CheckBox.Image = checked else | |
13042 | CheckBox.Image = unchecked end | |
13043 | box.MouseButton1Down:connect(function() | |
13044 | if whispersV == true then whispersV = false | |
13045 | CheckBox.Image = unchecked updatefile() else | |
13046 | whispersV = true | |
13047 | CheckBox.Image = checked updatefile() end end) | |
13048 | if commandsV == true then | |
13049 | CheckBox_3.Image = checked else | |
13050 | CheckBox_3.Image = unchecked end | |
13051 | box_3.MouseButton1Down:connect(function() | |
13052 | if commandsV == true then commandsV = false | |
13053 | CheckBox_3.Image = unchecked updatefile() else | |
13054 | commandsV = true | |
13055 | CheckBox_3.Image = checked updatefile() end end) | |
13056 | clear.MouseButton1Down:connect(function() | |
13057 | for _, child in pairs( scroll:GetChildren()) do | |
13058 | child:Destroy() end | |
13059 | scroll.CanvasSize = UDim2.new(0, 0, 0, 10) | |
13060 | end) | |
13061 | Exit.MouseButton1Down:connect(function() | |
13062 | logdrag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
13063 | logsopen = false | |
13064 | end) | |
13065 | local hidden = false | |
13066 | Hide.MouseButton1Down:connect(function() | |
13067 | if hidden == false then hidden = true | |
13068 | ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
13069 | else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
13070 | end end) | |
13071 | function logtime() -- time function from aperture | |
13072 | local HOUR = math.floor((tick() % 86400) / 3600) | |
13073 | local MINUTE = math.floor((tick() % 3600) / 60) | |
13074 | local SECOND = math.floor(tick() % 60) | |
13075 | local AP = HOUR > 11 and 'PM' or 'AM' | |
13076 | HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12) | |
13077 | HOUR = HOUR < 10 and '0' .. HOUR or HOUR | |
13078 | MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE | |
13079 | SECOND = SECOND < 10 and '0' .. SECOND or SECOND | |
13080 | return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP end | |
13081 | function CreateLabel(Name, Text) | |
13082 | local sf = scroll | |
13083 | if #sf:GetChildren() >= 2546 then | |
13084 | sf:ClearAllChildren() | |
13085 | end | |
13086 | local alls = 0 | |
13087 | for i,v in pairs(sf:GetChildren()) do | |
13088 | if v then | |
13089 | alls = v.Size.Y.Offset + alls | |
13090 | end | |
13091 | if not v then | |
13092 | alls = 0 | |
13093 | end | |
13094 | end | |
13095 | local tl = Instance.new('TextLabel', sf) | |
13096 | local il = Instance.new('Frame', tl) | |
13097 | tl.Name = Name | |
13098 | tl.ZIndex = 6 | |
13099 | tl.Text = logtime().." - ["..Name.."]: "..Text | |
13100 | tl.Size = UDim2.new(0,410,0,84) | |
13101 | tl.BackgroundTransparency = 1 | |
13102 | tl.BorderSizePixel = 0 | |
13103 | tl.Font = "SourceSansBold" | |
13104 | tl.Position = UDim2.new(-1,0,0,alls) | |
13105 | tl.TextTransparency = 1 | |
13106 | tl.TextScaled = false | |
13107 | tl.TextSize = 14 | |
13108 | tl.TextWrapped = true | |
13109 | tl.TextXAlignment = "Left" | |
13110 | tl.TextYAlignment = "Top" | |
13111 | il.BackgroundTransparency = 1 | |
13112 | il.BorderSizePixel = 0 | |
13113 | il.Size = UDim2.new(0,12,1,0) | |
13114 | il.Position = UDim2.new(0,410,0,0) | |
13115 | tl.TextColor3 = Color3.fromRGB(255,255,255) | |
13116 | tl.Size = UDim2.new(0,410,0,tl.TextBounds.Y) | |
13117 | sf.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y) | |
13118 | sf.CanvasPosition = Vector2.new(0,sf.CanvasPosition.Y+tl.TextBounds.Y) | |
13119 | local size2 = sf.CanvasSize.Y.Offset | |
13120 | tl:TweenPosition(UDim2.new(0,0,0,alls), 'In', 'Quint', 0.5) | |
13121 | for i = 0,50 do wait(0.05) | |
13122 | tl.TextTransparency = tl.TextTransparency - 0.05 | |
13123 | end | |
13124 | tl.TextTransparency = 0 | |
13125 | end logsloaded = true | |
13126 | local intro = Instance.new("ScreenGui") | |
13127 | local Frame = Instance.new("Frame") | |
13128 | local Circle = Instance.new("ImageLabel") | |
13129 | local ImageLabel = Instance.new("ImageLabel") | |
13130 | intro.Name = "intro" | |
13131 | intro.Parent = game.CoreGui | |
13132 | Frame.Parent = intro | |
13133 | Frame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13134 | Frame.BackgroundTransparency = 1 | |
13135 | Frame.BorderSizePixel = 0 | |
13136 | Frame.ClipsDescendants = true | |
13137 | Frame.Position = UDim2.new(0.5, -125, 0.5, -125) | |
13138 | Frame.Size = UDim2.new(0, 250, 0, 250) | |
13139 | Circle.Name = "Circle" | |
13140 | Circle.Parent = Frame | |
13141 | Circle.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
13142 | Circle.BackgroundTransparency = 1 | |
13143 | Circle.BorderSizePixel = 0 | |
13144 | Circle.Position = UDim2.new(0.5, 0, 0.5, 0) | |
13145 | Circle.Image = "rbxassetid://631172870" | |
13146 | Circle.ImageColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13147 | ImageLabel.Parent = Frame | |
13148 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
13149 | ImageLabel.BackgroundTransparency = 1 | |
13150 | ImageLabel.BorderSizePixel = 0 | |
13151 | ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0) | |
13152 | ImageLabel.Image = "rbxassetid://1352543873" | |
13153 | Loading.ba:TweenSize(UDim2.new(0.35, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) | |
13154 | local g = intro | |
13155 | local f = Frame | |
13156 | local imagef = Circle | |
13157 | local logof = ImageLabel | |
13158 | loadedintro = false | |
13159 | local function tween2() | |
13160 | f:TweenSizeAndPosition(UDim2.new(0,250,0,250),UDim2.new(0.5,-125,0.5,-125), "Out", "Quart", 0.4) | |
13161 | wait(0.6) loadedintro = true end | |
13162 | local function tween1() | |
13163 | f:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150), "In", "Quart", 0.4, false, tween2) end | |
13164 | imagef:TweenSizeAndPosition(UDim2.new(3,0,3,0),UDim2.new(-1,0,-1,0), "Out", "Linear", 0.4) | |
13165 | logof:TweenSizeAndPosition(UDim2.new(1,0,1,0),UDim2.new(0,0,0,0), "Out", "Linear", 0.4, false, tween1) | |
13166 | if pcall(function() loadstring(game:HttpGet(('https://pastebin.com/raw/wcEw3rW9'),true))() end) then | |
13167 | if workspace.FilteringEnabled == true then | |
13168 | Notify('Filtering ENABLED '..ServerMessage) | |
13169 | elseif workspace.FilteringEnabled == false then | |
13170 | Notify('Filtering Disabled '..ServerMessage) | |
13171 | end | |
13172 | else | |
13173 | if workspace.FilteringEnabled == true then | |
13174 | Notify('Filtering ENABLED') | |
13175 | elseif | |
13176 | workspace.FilteringEnabled == false then | |
13177 | Notify('Filtering Disabled') | |
13178 | end | |
13179 | end | |
13180 | Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quart", 0.4, true, nil) | |
13181 | local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel") | |
13182 | local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel") | |
13183 | 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 | |
13184 | 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) | |
13185 | 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) | |
13186 | 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) | |
13187 | 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 | |
13188 | 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 | |
13189 | 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) | |
13190 | 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) | |
13191 | settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 220, 0, 0) | |
13192 | 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 | |
13193 | 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 | |
13194 | 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) | |
13195 | 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) | |
13196 | 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) | |
13197 | mix.Name = "mix" mix.Parent = sheild mix.BackgroundTransparency = 1 mix.Position = UDim2.new(0, 340, 0, 0) | |
13198 | 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) | |
13199 | 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 | |
13200 | lockic = Instance.new("ImageLabel") | |
13201 | lockic.Name = "lock" | |
13202 | lockic.Parent = iy | |
13203 | lockic.BackgroundColor3 = Color3.new(1, 1, 1) | |
13204 | lockic.BackgroundTransparency = 1 | |
13205 | lockic.ImageTransparency = 1 | |
13206 | lockic.BorderSizePixel = 0 | |
13207 | lockic.Position = UDim2.new(0, 53, 0, -3) | |
13208 | lockic.Size = UDim2.new(0, 40, 0, 40) | |
13209 | lockic.Image = "rbxassetid://1495252742" | |
13210 | 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) | |
13211 | 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 | |
13212 | Loading.ba:TweenSize(UDim2.new(0.7, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) quickmenu = game.CoreGui.RobloxGui.TopBarContainer.iy | |
13213 | 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) | |
13214 | 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 | |
13215 | 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) | |
13216 | 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) | |
13217 | PKR = picker.ColorPicker | |
13218 | local ColorPicker do | |
13219 | ColorPicker = {} | |
13220 | ||
13221 | ColorPicker.new = function() | |
13222 | local newMt = setmetatable({},{}) | |
13223 | ||
13224 | local pickerGui = picker.ColorPicker | |
13225 | local pickerTopBar = pickerGui.TopBar | |
13226 | local pickerFrame = pickerGui.Content | |
13227 | local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace | |
13228 | local colorStrip = pickerFrame.ColorStrip | |
13229 | local previewFrame = pickerFrame.Preview | |
13230 | local basicColorsFrame = pickerFrame.BasicColors | |
13231 | local customColorsFrame = pickerFrame.CustomColors | |
13232 | local okButton = pickerFrame.Ok | |
13233 | local cancelButton = pickerFrame.Cancel | |
13234 | local defaultButton = pickerFrame.Default | |
13235 | rainbowButton = pickerFrame.Rainbow | |
13236 | ||
13237 | local colorScope = colorSpace.Scope | |
13238 | local colorArrow = pickerFrame.ArrowFrame.Arrow | |
13239 | ||
13240 | local hueInput = pickerFrame.Hue.Input | |
13241 | local satInput = pickerFrame.Sat.Input | |
13242 | local valInput = pickerFrame.Val.Input | |
13243 | ||
13244 | local redInput = pickerFrame.Red.Input | |
13245 | local greenInput = pickerFrame.Green.Input | |
13246 | local blueInput = pickerFrame.Blue.Input | |
13247 | ||
13248 | local user = game:GetService("UserInputService") | |
13249 | local mouse = game:GetService("Players").LocalPlayer:GetMouse() | |
13250 | ||
13251 | local hue,sat,val = 0,0,1 | |
13252 | local red,green,blue = 1,1,1 | |
13253 | local chosenColor = Color3.new(0,0,0) | |
13254 | ||
13255 | 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)} | |
13256 | local customColors = {} | |
13257 | ||
13258 | local function updateColor(noupdate) | |
13259 | local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199 | |
13260 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13261 | ||
13262 | if noupdate == 2 or not noupdate then | |
13263 | hueInput.Text = tostring(math.ceil(359*hue)) | |
13264 | satInput.Text = tostring(math.ceil(255*sat)) | |
13265 | valInput.Text = tostring(math.floor(255*val)) | |
13266 | end | |
13267 | if noupdate == 1 or not noupdate then | |
13268 | redInput.Text = tostring(math.floor(255*red)) | |
13269 | greenInput.Text = tostring(math.floor(255*green)) | |
13270 | blueInput.Text = tostring(math.floor(255*blue)) | |
13271 | end | |
13272 | ||
13273 | chosenColor = Color3.new(red,green,blue) | |
13274 | ||
13275 | colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9) | |
13276 | colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1) | |
13277 | colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4) | |
13278 | previewFrame.BackgroundColor3 = chosenColor | |
13279 | ||
13280 | newMt.Color = chosenColor | |
13281 | if newMt.Changed then newMt:Changed(chosenColor) end | |
13282 | end | |
13283 | ||
13284 | local function colorSpaceInput() | |
13285 | local relativeX = mouse.X - colorSpace.AbsolutePosition.X | |
13286 | local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y | |
13287 | ||
13288 | if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end | |
13289 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end | |
13290 | ||
13291 | hue = (219 - relativeX)/219 | |
13292 | sat = (199 - relativeY)/199 | |
13293 | ||
13294 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13295 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13296 | ||
13297 | updateColor() | |
13298 | end | |
13299 | ||
13300 | local function colorStripInput() | |
13301 | local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y | |
13302 | ||
13303 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end | |
13304 | ||
13305 | val = (199 - relativeY)/199 | |
13306 | ||
13307 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13308 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13309 | ||
13310 | updateColor() | |
13311 | end | |
13312 | ||
13313 | local function hookButtons(frame,func) | |
13314 | frame.ArrowFrame.Up.InputBegan:Connect(function(input) | |
13315 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13316 | frame.ArrowFrame.Up.BackgroundTransparency = 0.5 | |
13317 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13318 | local releaseEvent,runEvent | |
13319 | ||
13320 | local startTime = tick() | |
13321 | local pressing = true | |
13322 | local startNum = tonumber(frame.Text) | |
13323 | ||
13324 | if not startNum then return end | |
13325 | ||
13326 | releaseEvent = user.InputEnded:Connect(function(input) | |
13327 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13328 | releaseEvent:Disconnect() | |
13329 | pressing = false | |
13330 | end) | |
13331 | ||
13332 | startNum = startNum + 1 | |
13333 | func(startNum) | |
13334 | while pressing do | |
13335 | if tick()-startTime > 0.3 then | |
13336 | startNum = startNum + 1 | |
13337 | func(startNum) | |
13338 | end | |
13339 | wait(0.1) | |
13340 | end | |
13341 | end | |
13342 | end) | |
13343 | ||
13344 | frame.ArrowFrame.Up.InputEnded:Connect(function(input) | |
13345 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13346 | frame.ArrowFrame.Up.BackgroundTransparency = 1 | |
13347 | end | |
13348 | end) | |
13349 | ||
13350 | frame.ArrowFrame.Down.InputBegan:Connect(function(input) | |
13351 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13352 | frame.ArrowFrame.Down.BackgroundTransparency = 0.5 | |
13353 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13354 | local releaseEvent,runEvent | |
13355 | ||
13356 | local startTime = tick() | |
13357 | local pressing = true | |
13358 | local startNum = tonumber(frame.Text) | |
13359 | ||
13360 | if not startNum then return end | |
13361 | ||
13362 | releaseEvent = user.InputEnded:Connect(function(input) | |
13363 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13364 | releaseEvent:Disconnect() | |
13365 | pressing = false | |
13366 | end) | |
13367 | ||
13368 | startNum = startNum - 1 | |
13369 | func(startNum) | |
13370 | while pressing do | |
13371 | if tick()-startTime > 0.3 then | |
13372 | startNum = startNum - 1 | |
13373 | func(startNum) | |
13374 | end | |
13375 | wait(0.1) | |
13376 | end | |
13377 | end | |
13378 | end) | |
13379 | ||
13380 | frame.ArrowFrame.Down.InputEnded:Connect(function(input) | |
13381 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13382 | frame.ArrowFrame.Down.BackgroundTransparency = 1 | |
13383 | end | |
13384 | end) | |
13385 | end | |
13386 | ||
13387 | colorSpace.InputBegan:Connect(function(input) | |
13388 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13389 | local releaseEvent,mouseEvent | |
13390 | ||
13391 | releaseEvent = user.InputEnded:Connect(function(input) | |
13392 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13393 | releaseEvent:Disconnect() | |
13394 | mouseEvent:Disconnect() | |
13395 | end) | |
13396 | ||
13397 | mouseEvent = user.InputChanged:Connect(function(input) | |
13398 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13399 | colorSpaceInput() | |
13400 | end | |
13401 | end) | |
13402 | ||
13403 | colorSpaceInput() | |
13404 | end | |
13405 | end) | |
13406 | ||
13407 | colorStrip.InputBegan:Connect(function(input) | |
13408 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13409 | local releaseEvent,mouseEvent | |
13410 | ||
13411 | releaseEvent = user.InputEnded:Connect(function(input) | |
13412 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13413 | releaseEvent:Disconnect() | |
13414 | mouseEvent:Disconnect() | |
13415 | end) | |
13416 | ||
13417 | mouseEvent = user.InputChanged:Connect(function(input) | |
13418 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13419 | colorStripInput() | |
13420 | end | |
13421 | end) | |
13422 | ||
13423 | colorStripInput() | |
13424 | end | |
13425 | end) | |
13426 | ||
13427 | local function updateHue(str) | |
13428 | local num = tonumber(str) | |
13429 | if num then | |
13430 | hue = math.clamp(math.floor(num),0,359)/359 | |
13431 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13432 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13433 | hueInput.Text = tostring(hue*359) | |
13434 | updateColor(1) | |
13435 | end | |
13436 | end | |
13437 | hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue) | |
13438 | ||
13439 | local function updateSat(str) | |
13440 | local num = tonumber(str) | |
13441 | if num then | |
13442 | sat = math.clamp(math.floor(num),0,255)/255 | |
13443 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13444 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13445 | satInput.Text = tostring(sat*255) | |
13446 | updateColor(1) | |
13447 | end | |
13448 | end | |
13449 | satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat) | |
13450 | ||
13451 | local function updateVal(str) | |
13452 | local num = tonumber(str) | |
13453 | if num then | |
13454 | val = math.clamp(math.floor(num),0,255)/255 | |
13455 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
13456 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
13457 | valInput.Text = tostring(val*255) | |
13458 | updateColor(1) | |
13459 | end | |
13460 | end | |
13461 | valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal) | |
13462 | ||
13463 | local function updateRed(str) | |
13464 | local num = tonumber(str) | |
13465 | if num then | |
13466 | red = math.clamp(math.floor(num),0,255)/255 | |
13467 | local newColor = Color3.new(red,green,blue) | |
13468 | hue,sat,val = Color3.toHSV(newColor) | |
13469 | redInput.Text = tostring(red*255) | |
13470 | updateColor(2) | |
13471 | end | |
13472 | end | |
13473 | redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed) | |
13474 | ||
13475 | local function updateGreen(str) | |
13476 | local num = tonumber(str) | |
13477 | if num then | |
13478 | green = math.clamp(math.floor(num),0,255)/255 | |
13479 | local newColor = Color3.new(red,green,blue) | |
13480 | hue,sat,val = Color3.toHSV(newColor) | |
13481 | greenInput.Text = tostring(green*255) | |
13482 | updateColor(2) | |
13483 | end | |
13484 | end | |
13485 | greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen) | |
13486 | ||
13487 | local function updateBlue(str) | |
13488 | local num = tonumber(str) | |
13489 | if num then | |
13490 | blue = math.clamp(math.floor(num),0,255)/255 | |
13491 | local newColor = Color3.new(red,green,blue) | |
13492 | hue,sat,val = Color3.toHSV(newColor) | |
13493 | blueInput.Text = tostring(blue*255) | |
13494 | updateColor(2) | |
13495 | end | |
13496 | end | |
13497 | blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue) | |
13498 | ||
13499 | local colorChoice = Instance.new("TextButton") | |
13500 | colorChoice.Name = "Choice" | |
13501 | colorChoice.Size = UDim2.new(0,25,0,18) | |
13502 | colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255) | |
13503 | colorChoice.Text = "" | |
13504 | colorChoice.AutoButtonColor = false | |
13505 | ||
13506 | local row = 0 | |
13507 | local column = 0 | |
13508 | for i,v in pairs(basicColors) do | |
13509 | local newColor = colorChoice:Clone() | |
13510 | newColor.BackgroundColor3 = v | |
13511 | newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row) | |
13512 | ||
13513 | newColor.MouseButton1Click:Connect(function() | |
13514 | red,green,blue = v.r,v.g,v.b | |
13515 | local newColor = Color3.new(red,green,blue) | |
13516 | hue,sat,val = Color3.toHSV(newColor) | |
13517 | updateColor() | |
13518 | end) | |
13519 | ||
13520 | newColor.Parent = basicColorsFrame | |
13521 | column = column + 1 | |
13522 | if column == 6 then row = row + 1 column = 0 end | |
13523 | end | |
13524 | ||
13525 | row = 0 | |
13526 | column = 0 | |
13527 | for i = 1,12 do | |
13528 | local color = customColors[i] or Color3.new(0,0,0) | |
13529 | local newColor = colorChoice:Clone() | |
13530 | newColor.BackgroundColor3 = color | |
13531 | newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row) | |
13532 | ||
13533 | newColor.MouseButton1Click:Connect(function() | |
13534 | local curColor = customColors[i] or Color3.new(0,0,0) | |
13535 | red,green,blue = curColor.r,curColor.g,curColor.b | |
13536 | hue,sat,val = Color3.toHSV(curColor) | |
13537 | updateColor() | |
13538 | end) | |
13539 | ||
13540 | newColor.MouseButton2Click:Connect(function() | |
13541 | customColors[i] = chosenColor | |
13542 | newColor.BackgroundColor3 = chosenColor | |
13543 | end) | |
13544 | ||
13545 | newColor.Parent = customColorsFrame | |
13546 | column = column + 1 | |
13547 | if column == 6 then row = row + 1 column = 0 end | |
13548 | end | |
13549 | ||
13550 | pickerTopBar.InputBegan:Connect(function(input) | |
13551 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
13552 | local releaseEvent,mouseEvent | |
13553 | local dragOffX,dragOffY = mouse.X-pickerTopBar.AbsolutePosition.X,mouse.Y-pickerTopBar.AbsolutePosition.Y | |
13554 | ||
13555 | releaseEvent = user.InputEnded:Connect(function(input) | |
13556 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
13557 | releaseEvent:Disconnect() | |
13558 | mouseEvent:Disconnect() | |
13559 | end) | |
13560 | ||
13561 | mouseEvent = user.InputChanged:Connect(function(input) | |
13562 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
13563 | pickerGui.Position = UDim2.new(0,mouse.X-dragOffX,0,mouse.Y-dragOffY) | |
13564 | end | |
13565 | end) | |
13566 | end | |
13567 | end) | |
13568 | ||
13569 | okButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor) end wait(0.6) pickerGui.Visible = false end) | |
13570 | okButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0.4 end end) | |
13571 | okButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0 end end) | |
13572 | ||
13573 | cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end wait(0.6) pickerGui.Visible = false end) | |
13574 | cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end) | |
13575 | cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end) | |
13576 | ||
13577 | defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end wait(0.6) pickerGui.Visible = false end) | |
13578 | defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end) | |
13579 | defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end) | |
13580 | ||
13581 | rainbowButton.MouseButton1Click:Connect(function() if newMt.Rainbow then newMt:Rainbow() end end) | |
13582 | rainbowButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then rainbowButton.BackgroundTransparency = 0.4 end end) | |
13583 | rainbowButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then rainbowButton.BackgroundTransparency = 0 end end) | |
13584 | ||
13585 | updateColor() | |
13586 | ||
13587 | newMt.SetColor = function(self,color) | |
13588 | red,green,blue = color.r,color.g,color.b | |
13589 | hue,sat,val = Color3.toHSV(color) | |
13590 | updateColor() | |
13591 | end | |
13592 | ||
13593 | return newMt | |
13594 | end | |
13595 | end | |
13596 | local rainbowCount = 50 | |
13597 | local rainbowGuiActive = false | |
13598 | local rainbowreset = true | |
13599 | ||
13600 | spawn(function() | |
13601 | local colors = { | |
13602 | BrickColor.Red(), | |
13603 | BrickColor.Yellow(), | |
13604 | BrickColor.new('Lime green'), | |
13605 | BrickColor.new('Cyan'), | |
13606 | BrickColor.new('Dark indigo') | |
13607 | } | |
13608 | while wait() do | |
13609 | for i,v in pairs(colors) do | |
13610 | for num = 1,rainbowCount do | |
13611 | if rainbowGuiActive == true then | |
13612 | local mimic = i-1 | |
13613 | if not colors[mimic] then | |
13614 | mimic = #colors | |
13615 | end | |
13616 | mimic = colors[mimic] | |
13617 | updatecolors(mimic.Color:Lerp(v.Color,num/rainbowCount)) | |
13618 | elseif rainbowreset == false then | |
13619 | updatecolors(SAVEDCOLOR) | |
13620 | rainbowreset = true | |
13621 | end | |
13622 | wait() | |
13623 | end | |
13624 | end | |
13625 | end | |
13626 | end) | |
13627 | local picker = ColorPicker.new() | |
13628 | 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 | |
13629 | picker.Changed = function(self,color) updatecolors(color) end | |
13630 | picker.Rainbow = function(self) | |
13631 | if rainbowGuiActive == false then | |
13632 | rainbowGuiActive = true | |
13633 | rainbowButton.Text = 'Rainbow [Enabled]' | |
13634 | elseif rainbowGuiActive == true then | |
13635 | rainbowGuiActive = false | |
13636 | rainbowreset = false | |
13637 | rainbowButton.Text = 'Rainbow [Disabled]' | |
13638 | end end | |
13639 | picker.Cancel = function(self) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) updatecolors(SAVEDCOLOR) end | |
13640 | 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)) | |
13641 | colorR = 0.121569 colorG = 0.121569 colorB = 0.121569 SAVEDCOLOR = Color3.new(0.121569, 0.121569, 0.121569) updatefile() end | |
13642 | SAVEDCOLOR = Color3.new(colorR, colorG, colorB) | |
13643 | local sugg = Instance.new("ScreenGui") local suggestions = Instance.new("Frame") local Title = Instance.new("TextLabel") | |
13644 | local SUG = Instance.new("ScrollingFrame") sugg.Name = "sugg" sugg.Parent = game.CoreGui | |
13645 | suggestions.Name = "suggestions" suggestions.Parent = sugg suggestions.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
13646 | suggestions.BackgroundTransparency = 0.5 suggestions.BorderColor3 = Color3.new(0, 0, 0) suggestions.BorderSizePixel = 0 | |
13647 | suggestions.ClipsDescendants = true suggestions.Position = UDim2.new(-0.000715821981, 1, 1.03197157, -200) suggestions.Size = UDim2.new(0, 300, 0, 182) | |
13648 | Title.Name = "Title" Title.Parent = suggestions Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) Title.BackgroundTransparency = 1 | |
13649 | Title.Size = UDim2.new(1, 0, 0, 30) Title.Font = Enum.Font.SourceSansBold Title.FontSize = Enum.FontSize.Size24 Title.Text = "Suggestions" | |
13650 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) SUG.Name = "SUG" SUG.Parent = suggestions | |
13651 | SUG.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BackgroundTransparency = 1 SUG.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
13652 | 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" | |
13653 | 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" | |
13654 | local CMDsV = CMDsFolder:GetChildren() for i = 1, #CMDsV do local YSize = 25 local Position = ((i * YSize) - YSize) local newcmd = Example:Clone() newcmd.Parent = SUG | |
13655 | 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 | |
13656 | local CSP2 = game.CoreGui.sugg.suggestions | |
13657 | local main2 = CSP2 | |
13658 | local frame2 = CSP2:WaitForChild('SUG') | |
13659 | Match2 = function(name,str) return name:lower():find(str:lower()) and true end | |
13660 | IndexContents2 = function(str,bool) | |
13661 | if suggestionstoggle == true then | |
13662 | if string.find(str, " ") then game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) else | |
13663 | local Index,SizeY = 0,0 | |
13664 | for i,v in next, frame2:GetChildren() do | |
13665 | if bool then | |
13666 | if Match2(v.Text,str) then | |
13667 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quad",0.3,true) | |
13668 | Index = Index + 1 | |
13669 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
13670 | v.Visible = true | |
13671 | SizeY = SizeY + v.AbsoluteSize.Y | |
13672 | frame2.CanvasSize = UDim2.new(0,0,0,SizeY) else v.Visible = false end else | |
13673 | v.Visible = true | |
13674 | SizeY = SizeY + v.AbsoluteSize.Y | |
13675 | frame2.CanvasSize = UDim2.new(0,0,0,SizeY) end end end end end | |
13676 | IndexContents2('',true) | |
13677 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) | |
13678 | Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quart", 0.4, true, nil) wait(1) | |
13679 | repeat wait() until loadedintro == true | |
13680 | logof:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.1) | |
13681 | wait(0.2) | |
13682 | f:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.2) | |
13683 | wait(0.3) g:Destroy() | |
13684 | updatecolors(Color3.new(colorR, colorG, colorB)) | |
13685 | Loading:TweenPosition(UDim2.new(0.25, 0, 1.5, 0), "InOut", "Quart", 0.5, true, nil) wait(0.5) Loading.Parent:Destroy() | |
13686 | if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("Chat") and gPlayers.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and | |
13687 | gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then | |
13688 | 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 | |
13689 | 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) | |
13690 | else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) end end end) end chatboxx() | |
13691 | gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar) | |
13692 | if newbar:FindFirstChild('BoxFrame') then | |
13693 | chatboxx() end end) | |
13694 | LP.PlayerGui.Chat.Frame.ChatChannelParentFrame.Frame_MessageLogDisplay.Scroller.CanvasPosition = Vector2.new(0, 9999999999999999999999999999999999999999999, 0, 0) | |
13695 | coroutine.resume(coroutine.create(function() | |
13696 | if script.ClassName == "LocalScript" then | |
13697 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
13698 | Text = "The prefix is '" .. cmdprefix .. "'"; | |
13699 | Color = Color3.new(255,255,255); | |
13700 | Font = Enum.Font.SourceSans; | |
13701 | FontSize = Enum.FontSize.Size24; | |
13702 | }) wait(0.5) | |
13703 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
13704 | Text = "Click IY on the top left to see more options"; | |
13705 | Color = Color3.new(255,255,255); | |
13706 | Font = Enum.Font.SourceSans; | |
13707 | FontSize = Enum.FontSize.Size24; | |
13708 | }) end end)) | |
13709 | else print('Custom chat detected. Will not provide suggestions for the chat.') end | |
13710 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13711 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13712 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13713 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13714 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13715 | qopen = false quickmenu.MouseButton1Click:connect(function() | |
13716 | if qopen == false then fadelock('off') NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
13717 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13718 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13719 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13720 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) MusicPlayer:Hide() | |
13721 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13722 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = true else | |
13723 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13724 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13725 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13726 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13727 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
13728 | if slock == true then fadelock("rbxassetid://1495252742") elseif isagelocked == true then fadelock("rbxassetid://1495252495") end | |
13729 | 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) | |
13730 | quickmenu.sheild.cmds.MouseButton1Click:connect(function() if cmdOpen == true then | |
13731 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
13732 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
13733 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
13734 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
13735 | else runwindow() end end) | |
13736 | quickmenu.sheild.settings.MouseButton1Click:connect(function() hub() end) | |
13737 | infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true | |
13738 | Updates = Instance.new("ScreenGui") | |
13739 | dragg = Instance.new("Frame") | |
13740 | local PromptDialog = Instance.new("Frame") | |
13741 | local ContainerFrame = Instance.new("Frame") | |
13742 | local LOG = Instance.new("TextLabel") | |
13743 | local PopupText3 = Instance.new("TextLabel") | |
13744 | local PopupText4 = Instance.new("TextLabel") | |
13745 | local UTDV = Instance.new("TextLabel") | |
13746 | local PopupText5 = Instance.new("TextLabel") | |
13747 | local shadow = Instance.new("Frame") | |
13748 | Exitt = Instance.new("TextButton") | |
13749 | local PopupText = Instance.new("TextLabel") | |
13750 | local vers = Instance.new("TextLabel") | |
13751 | Updates.Name = "Updates" | |
13752 | Updates.Parent = game.CoreGui | |
13753 | dragg.Name = "drag" | |
13754 | dragg.Parent = Updates | |
13755 | dragg.Active = true | |
13756 | dragg.BackgroundColor3 = Color3.new(1, 1, 1) | |
13757 | dragg.BackgroundTransparency = 1 | |
13758 | dragGUI(dragg) | |
13759 | dragg.Position = UDim2.new(0.5, -225, 0, -600) | |
13760 | dragg.Size = UDim2.new(0, 438, 0, 26) | |
13761 | PromptDialog.Name = "PromptDialog" | |
13762 | PromptDialog.Parent = dragg | |
13763 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
13764 | PromptDialog.BackgroundTransparency = 1 | |
13765 | PromptDialog.BorderSizePixel = 0 | |
13766 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
13767 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
13768 | PromptDialog.ZIndex = 5 | |
13769 | ContainerFrame.Name = "ContainerFrame" | |
13770 | ContainerFrame.Parent = PromptDialog | |
13771 | ContainerFrame.BackgroundColor3 = maincolor | |
13772 | ContainerFrame.BackgroundTransparency = 0.5 | |
13773 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
13774 | ContainerFrame.BorderSizePixel = 0 | |
13775 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
13776 | ContainerFrame.Size = UDim2.new(1, 0, 0.8, 0) -- SIZE | |
13777 | ContainerFrame.ZIndex = 5 | |
13778 | LOG.Name = "LOG" | |
13779 | LOG.Parent = ContainerFrame | |
13780 | LOG.BackgroundTransparency = 1 | |
13781 | LOG.Position = UDim2.new(0, 8, 0, 110) | |
13782 | LOG.Size = UDim2.new(1, -16, 1, 0) | |
13783 | LOG.ZIndex = 10 | |
13784 | LOG.Font = Enum.Font.SourceSansBold | |
13785 | LOG.TextSize = 20 | |
13786 | 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" | |
13787 | LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13788 | LOG.TextStrokeTransparency = 0 | |
13789 | LOG.TextWrapped = true | |
13790 | LOG.TextYAlignment = Enum.TextYAlignment.Top | |
13791 | LOG.TextXAlignment = "Left" | |
13792 | PopupText3.Name = "PopupText3" | |
13793 | PopupText3.Parent = ContainerFrame | |
13794 | PopupText3.BackgroundTransparency = 1 | |
13795 | PopupText3.Position = UDim2.new(0, 8, 0, 35) | |
13796 | PopupText3.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13797 | PopupText3.ZIndex = 10 | |
13798 | PopupText3.Font = Enum.Font.SourceSansBold | |
13799 | PopupText3.TextSize = 20 | |
13800 | PopupText3.Text = "Edge - Moon" | |
13801 | PopupText3.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13802 | PopupText3.TextStrokeTransparency = 0 | |
13803 | PopupText3.TextWrapped = true | |
13804 | PopupText3.TextYAlignment = Enum.TextYAlignment.Top | |
13805 | PopupText4.Name = "PopupText4" | |
13806 | PopupText4.Parent = ContainerFrame | |
13807 | PopupText4.BackgroundTransparency = 1 | |
13808 | PopupText4.Position = UDim2.new(0, 8, 0, 50) | |
13809 | PopupText4.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13810 | PopupText4.ZIndex = 10 | |
13811 | PopupText4.Font = Enum.Font.SourceSansBold | |
13812 | PopupText4.FontSize = Enum.FontSize.Size18 | |
13813 | PopupText4.Text = "infyield.weebly.com - discord.me/infiniteyield" | |
13814 | PopupText4.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13815 | PopupText4.TextStrokeTransparency = 0 | |
13816 | PopupText4.TextWrapped = true | |
13817 | PopupText4.TextYAlignment = Enum.TextYAlignment.Top | |
13818 | UTDV.Name = "UTDV" | |
13819 | UTDV.Parent = ContainerFrame | |
13820 | UTDV.BackgroundTransparency = 1 | |
13821 | UTDV.Position = UDim2.new(0, 8, 0, 5) | |
13822 | UTDV.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13823 | UTDV.ZIndex = 10 | |
13824 | UTDV.Font = Enum.Font.SourceSansBold | |
13825 | UTDV.FontSize = Enum.FontSize.Size28 | |
13826 | UTDV.Text = "Up to date version: N/A" | |
13827 | UTDV.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13828 | UTDV.TextStrokeTransparency = 0 | |
13829 | UTDV.TextWrapped = true | |
13830 | UTDV.TextYAlignment = Enum.TextYAlignment.Top | |
13831 | PopupText5.Name = "PopupText5" | |
13832 | PopupText5.Parent = ContainerFrame | |
13833 | PopupText5.BackgroundTransparency = 1 | |
13834 | PopupText5.Position = UDim2.new(0, 8, 0, 75) | |
13835 | PopupText5.Size = UDim2.new(1, -16, 0.100000001, 0) | |
13836 | PopupText5.ZIndex = 10 | |
13837 | PopupText5.Font = Enum.Font.SourceSansBold | |
13838 | PopupText5.FontSize = Enum.FontSize.Size28 | |
13839 | PopupText5.Text = "Update Log:" | |
13840 | PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13841 | PopupText5.TextStrokeTransparency = 0 | |
13842 | PopupText5.TextWrapped = true | |
13843 | PopupText5.TextYAlignment = Enum.TextYAlignment.Top | |
13844 | shadow.Name = "shadow" | |
13845 | shadow.Parent = PromptDialog | |
13846 | shadow.BackgroundColor3 = maincolor | |
13847 | shadow.BackgroundTransparency = 0.30000001192093 | |
13848 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
13849 | shadow.BorderSizePixel = 0 | |
13850 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
13851 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
13852 | Exitt.Name = "Exit" | |
13853 | Exitt.Parent = shadow | |
13854 | Exitt.BackgroundColor3 = Color3.new(1, 0, 0) | |
13855 | Exitt.BackgroundTransparency = 0.30000001192093 | |
13856 | Exitt.BorderColor3 = Color3.new(1, 0, 0) | |
13857 | Exitt.BorderSizePixel = 0 | |
13858 | Exitt.Position = UDim2.new(0, 415, 0, 3) | |
13859 | Exitt.Size = UDim2.new(0, 20, 0, 20) | |
13860 | Exitt.FontSize = Enum.FontSize.Size14 | |
13861 | Exitt.Text = "" | |
13862 | PopupText.Name = "PopupText" | |
13863 | PopupText.Parent = shadow | |
13864 | PopupText.BackgroundTransparency = 1 | |
13865 | PopupText.Position = UDim2.new(0, 61, 0, -2) | |
13866 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
13867 | PopupText.ZIndex = 110 | |
13868 | PopupText.Font = Enum.Font.SourceSansBold | |
13869 | PopupText.TextSize = 30 | |
13870 | PopupText.Text = "Information" | |
13871 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13872 | PopupText.TextStrokeTransparency = 0 | |
13873 | PopupText.TextWrapped = true | |
13874 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
13875 | vers.Name = "vers" | |
13876 | vers.Parent = shadow | |
13877 | vers.BackgroundTransparency = 1 | |
13878 | vers.Position = UDim2.new(0, 8, 0, 2) | |
13879 | vers.Size = UDim2.new(0.200913236, -16, 1.11538458, 0) | |
13880 | vers.ZIndex = 110 | |
13881 | vers.Font = Enum.Font.SourceSansBold | |
13882 | vers.TextSize = 20 | |
13883 | vers.Text = "v" .. Version | |
13884 | vers.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
13885 | vers.TextStrokeTransparency = 0 | |
13886 | vers.TextWrapped = true | |
13887 | vers.TextXAlignment = Enum.TextXAlignment.Left | |
13888 | vers.TextYAlignment = Enum.TextYAlignment.Top | |
13889 | if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end | |
13890 | dragg:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) Exitt.MouseButton1Click:connect(function() | |
13891 | dragg:TweenPosition(UDim2.new(0.5, -225, 0, -600), "InOut", "Quart", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end) | |
13892 | quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end) end | |
13893 | ||
13894 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(01203480675) wait(0.3) | |
13895 | if not game.CoreGui:FindFirstChild('IYrun') then | |
13896 | running = Instance.new("BoolValue") running.Parent = game.CoreGui running.Name = 'IYrun' | |
13897 | if Asset.Name == "Infinite Yield " .. Version then UTD = true wait(0.5) run() else | |
13898 | UTD = false local Updates = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame") local shadow = Instance.new("Frame") local Exit = Instance.new("TextButton") | |
13899 | local title = Instance.new("TextLabel") local ContainerFrame = Instance.new("Frame") local a = Instance.new("TextLabel") local a2 = Instance.new("TextLabel") | |
13900 | local a3 = Instance.new("TextLabel") local a2_2 = Instance.new("TextLabel") local UPDATE = Instance.new("TextButton") local Line = Instance.new("Frame") | |
13901 | Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Updates PromptDialog.Active = true | |
13902 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0 | |
13903 | PromptDialog.Position = UDim2.new(0.5, -219, 0, 100) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8 shadow.Name = "shadow" | |
13904 | 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 | |
13905 | shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093 | |
13906 | 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 | |
13907 | Exit.Text = "" title.Name = "title" title.Parent = shadow title.BackgroundTransparency = 1 title.Position = UDim2.new(0, 8, 0, -4) | |
13908 | title.Size = UDim2.new(1, -16, 0.800000012, 0) title.ZIndex = 110 title.Font = Enum.Font.SourceSansBold title.TextSize = 30 | |
13909 | 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 | |
13910 | ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 31) | |
13911 | ContainerFrame.Size = UDim2.new(1, 0, 0.75, 0) ContainerFrame.ZIndex = 8 ContainerFrame.Style = Enum.FrameStyle.DropShadow a.Name = "a" a.Parent = ContainerFrame | |
13912 | 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 | |
13913 | 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 | |
13914 | 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) | |
13915 | 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." | |
13916 | 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 | |
13917 | 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 | |
13918 | 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 | |
13919 | 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) | |
13920 | 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'" | |
13921 | 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" | |
13922 | UPDATE.Parent = ContainerFrame UPDATE.BackgroundColor3 = Color3.new(0, 0, 0) UPDATE.BackgroundTransparency = 0.80000001192093 UPDATE.BorderColor3 = Color3.new(1, 1, 1) | |
13923 | UPDATE.Position = UDim2.new(0, 148, 0, 153) UPDATE.Size = UDim2.new(0, 126, 0, 40) UPDATE.ZIndex = 9 UPDATE.Font = Enum.Font.SourceSans | |
13924 | UPDATE.FontSize = Enum.FontSize.Size18 UPDATE.Text = "Update" UPDATE.TextColor3 = Color3.new(1, 1, 1) Line.Name = "Line" Line.Parent = PromptDialog | |
13925 | 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) | |
13926 | Line.Size = UDim2.new(0.926999986, 0, 0, 1) Line.ZIndex = 8 function Click(mouse) | |
13927 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4) | |
13928 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5) | |
13929 | Updates:Destroy() run() end Exit.MouseButton1Down:connect(Click) function Click(mouse) | |
13930 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4) | |
13931 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
13932 | for _, child in pairs(game.CoreGui:GetChildren()) do | |
13933 | if child.Name == "IYrun" then child:Destroy() end end wait(0.5) | |
13934 | Updates:Destroy() loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))() end UPDATE.MouseButton1Down:connect(Click) end | |
13935 | else print('Infinite Yield is already running.') end |