SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --THIS SCRIPT HAS BEEN DISCONTINUED |
| 1 | + | |
| 2 | - | --Please use Infinite Yield FE |
| 2 | + | |
| 3 | - | --infyield.yolasite.com |
| 3 | + | |
| 4 | - | --discord.io/infiniteyield |
| 4 | + | |
| 5 | -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | -- | |
| 6 | - | local GUI = Instance.new("ScreenGui")
|
| 6 | + | |
| 7 | - | local AnnGUI = Instance.new("Frame")
|
| 7 | + | |
| 8 | - | local background = Instance.new("Frame")
|
| 8 | + | |
| 9 | - | local TextBox = Instance.new("TextLabel")
|
| 9 | + | |
| 10 | --------------------------------------------------------------- | |
| 11 | ---------------------------Edge-Moon--------------------------- | |
| 12 | --------------------------------------------------------------- | |
| 13 | - | local ExitImage = Instance.new("ImageLabel")
|
| 13 | + | |
| 14 | local Version = '9.5.1' | |
| 15 | - | GUI.Parent = game:GetService("CoreGui")
|
| 15 | + | |
| 16 | SAVEFILE = {
| |
| 17 | - | AnnGUI.Name = "AnnGUI" |
| 17 | + | |
| 18 | - | AnnGUI.Parent = GUI |
| 18 | + | |
| 19 | - | AnnGUI.Active = true |
| 19 | + | |
| 20 | - | AnnGUI.BackgroundTransparency = 1 |
| 20 | + | |
| 21 | - | AnnGUI.Position = UDim2.new(0.5, -180, 0, -500) |
| 21 | + | |
| 22 | - | AnnGUI.Size = UDim2.new(0, 360, 0, 20) |
| 22 | + | |
| 23 | - | AnnGUI.ZIndex = 10 |
| 23 | + | |
| 24 | Mseconds = '7'; | |
| 25 | - | background.Name = "background" |
| 25 | + | |
| 26 | - | background.Parent = AnnGUI |
| 26 | + | |
| 27 | - | background.Active = true |
| 27 | + | |
| 28 | - | background.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
| 28 | + | |
| 29 | - | background.BorderSizePixel = 0 |
| 29 | + | |
| 30 | - | background.Position = UDim2.new(0, 0, 0, 20) |
| 30 | + | |
| 31 | - | background.Size = UDim2.new(0, 360, 0, 150) |
| 31 | + | |
| 32 | - | background.ZIndex = 10 |
| 32 | + | |
| 33 | ||
| 34 | - | TextBox.Parent = background |
| 34 | + | |
| 35 | - | TextBox.BackgroundTransparency = 1 |
| 35 | + | |
| 36 | - | TextBox.Position = UDim2.new(0, 5, 0, 5) |
| 36 | + | |
| 37 | - | TextBox.Size = UDim2.new(0, 350, 0, 140) |
| 37 | + | |
| 38 | - | TextBox.Font = Enum.Font.SourceSans |
| 38 | + | |
| 39 | - | TextBox.TextSize = 18 |
| 39 | + | |
| 40 | - | TextBox.TextWrapped = true |
| 40 | + | |
| 41 | - | TextBox.Text = "This version of Infinite Yield has been discontinued. Please go to our website or discord server to get a currently supported version.\n\ndiscord.io/infiniteyield\n\ninfyield.yolasite.com" |
| 41 | + | |
| 42 | - | TextBox.TextColor3 = Color3.new(1, 1, 1) |
| 42 | + | |
| 43 | - | TextBox.TextXAlignment = Enum.TextXAlignment.Left |
| 43 | + | |
| 44 | - | TextBox.TextYAlignment = Enum.TextYAlignment.Top |
| 44 | + | |
| 45 | - | TextBox.ZIndex = 10 |
| 45 | + | |
| 46 | allowfriends = CREATEFILE.allowfriends | |
| 47 | JLnotify = CREATEFILE.JLnotify | |
| 48 | - | shadow.Parent = AnnGUI |
| 48 | + | |
| 49 | - | shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
| 49 | + | |
| 50 | cmdbarbind = CREATEFILE.cmdbarbind | |
| 51 | - | shadow.Size = UDim2.new(0, 360, 0, 20) |
| 51 | + | |
| 52 | - | shadow.ZIndex = 10 |
| 52 | + | |
| 53 | commandsV = CREATEFILE.commandsV | |
| 54 | aliasSave = CREATEFILE.aliasSave | |
| 55 | loaded = true end | |
| 56 | function pcWRITE() | |
| 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 | if child.Name == "IYrun" then | |
| 64 | child:Destroy() end end end | |
| 65 | R_W.drag.PromptDialog.shadow.Exit.MouseButton1Down:connect(Click) end end | |
| 66 | if is_protosmasher_caller ~= nil or elysianexecute ~= nil or Synapse ~= nil then | |
| 67 | - | Exit.BackgroundTransparency = 1 |
| 67 | + | |
| 68 | - | Exit.Position = UDim2.new(1, -20, 0, 0) |
| 68 | + | |
| 69 | if checktxt == nil then pcWRITE() writeF() | |
| 70 | else return end end | |
| 71 | - | Exit.ZIndex = 10 |
| 71 | + | |
| 72 | if success then | |
| 73 | - | ExitImage.Parent = Exit |
| 73 | + | |
| 74 | - | ExitImage.BackgroundColor3 = Color3.new(1, 1, 1) |
| 74 | + | |
| 75 | - | ExitImage.BackgroundTransparency = 1 |
| 75 | + | |
| 76 | - | ExitImage.Position = UDim2.new(0, 5, 0, 5) |
| 76 | + | |
| 77 | - | ExitImage.Size = UDim2.new(0, 10, 0, 10) |
| 77 | + | |
| 78 | - | ExitImage.Image = "rbxassetid://5054663650" |
| 78 | + | |
| 79 | - | ExitImage.ZIndex = 10 |
| 79 | + | |
| 80 | allowfriends = LOADFILE.allowfriends | |
| 81 | JLnotify = LOADFILE.JLnotify | |
| 82 | - | AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil) |
| 82 | + | |
| 83 | Nfriends = LOADFILE.Nfriends | |
| 84 | cmdbarbind = LOADFILE.cmdbarbind | |
| 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 | loaded = true else | |
| 90 | pcWRITE() writeF() end | |
| 91 | else | |
| 92 | - | --script start |
| 92 | + | |
| 93 | colorG = 0.121569 | |
| 94 | colorB = 0.121569 | |
| 95 | cmdprefix = ';' | |
| 96 | suggestionstoggle = true | |
| 97 | allowfriends = true | |
| 98 | JLnotify = true | |
| 99 | Mseconds = '7' | |
| 100 | Nfriends = true | |
| 101 | cmdbarbind = ';' | |
| 102 | chatsV = false | |
| 103 | whispersV = false | |
| 104 | commandsV = false | |
| 105 | aliasSave = {}
| |
| 106 | - | local Version = '9.5.3' |
| 106 | + | |
| 107 | end | |
| 108 | repeat wait() until loaded == true | |
| 109 | local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local Player = gPlayers.LocalPlayer
| |
| 110 | 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={}
| |
| 111 | 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
| |
| 112 | services.events = {} local user = gPlayers.LocalPlayer local bringT = {} agelock = nil isagelocked = false local scriptprefix='\\'
| |
| 113 | local split=" " slock = false | |
| 114 | function updatefile() | |
| 115 | local update = {
| |
| 116 | colorR = colorR; | |
| 117 | colorG = colorG; | |
| 118 | colorB = colorB; | |
| 119 | cmdprefix = cmdprefix; | |
| 120 | suggestionstoggle = suggestionstoggle; | |
| 121 | allowfriends = allowfriends; | |
| 122 | JLnotify = JLnotify; | |
| 123 | Mseconds = Mseconds; | |
| 124 | Nfriends = Nfriends; | |
| 125 | cmdbarbind = cmdbarbind; | |
| 126 | - | function writefileExploit() if is_protosmasher_caller ~= nil or elysianexecute ~= nil or Synapse ~= nil then return true end end |
| 126 | + | |
| 127 | whispersV = whispersV; | |
| 128 | commandsV = commandsV; | |
| 129 | aliasSave = aliasSave | |
| 130 | } | |
| 131 | local updated = HttpService:JSONEncode(update) | |
| 132 | wait(0.1) | |
| 133 | writefile("IY.txt", updated) end
| |
| 134 | function isNumber(str) | |
| 135 | return tonumber(str) ~= nil end | |
| 136 | function msghook() | |
| 137 | for _, child in pairs( workspace:GetChildren()) do | |
| 138 | if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then | |
| 139 | child.Name = "IYmessage" child.Text = '' MSGhook = true end end | |
| 140 | if workspace:FindFirstChild("IYmessage") then MSGhook = true
| |
| 141 | else MSGhook = false end end | |
| 142 | game:GetService("RunService").RenderStepped:Connect(function()
| |
| 143 | game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0)
| |
| 144 | if r15noclip then | |
| 145 | if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end end
| |
| 146 | if LP.Character and LP.Character:FindFirstChild('Humanoid') then
| |
| 147 | LP.Character.Humanoid.Died:connect(function() FLYING = false end) | |
| 148 | if MSGhook == true and workspace:FindFirstChild("IYmessage") then
| |
| 149 | if workspace.IYmessage.Text == '' then | |
| 150 | for _, child in pairs( LightingService:GetChildren()) do | |
| 151 | if child.Name == "IYmblur" then | |
| 152 | child:Destroy() end end end | |
| 153 | else MSGhook = false end | |
| 154 | for i,v in pairs(_players:GetPlayers()) do | |
| 155 | if FindTable(loopkillT, v.Name) then | |
| 156 | v.Character:BreakJoints() end | |
| 157 | if FindTable(disabletoolsT, v.Name) and v:FindFirstChild('Backpack') then
| |
| 158 | v.Backpack:Destroy() | |
| 159 | for i,n in pairs(v.Character:GetChildren()) do | |
| 160 | - | if writefileExploit() then |
| 160 | + | |
| 161 | n:destroy() end end end | |
| 162 | if FindTable(rainbowT, v.Name) then | |
| 163 | v.Neutral = false | |
| 164 | v.TeamColor = BrickColor.random() | |
| 165 | end end end end) | |
| 166 | LightingService = game:GetService("Lighting")
| |
| 167 | origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
| |
| 168 | LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart} | |
| 169 | function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end
| |
| 170 | function FindTable(Table, Name) | |
| 171 | for i,v in pairs(Table) do | |
| 172 | if v == Name then | |
| 173 | return true | |
| 174 | end end | |
| 175 | return false | |
| 176 | end | |
| 177 | function GetInTable(Table, Name) | |
| 178 | for i = 1, #Table do | |
| 179 | if Table[i] == Name then | |
| 180 | return i | |
| 181 | end end | |
| 182 | return false end | |
| 183 | _players.PlayerRemoving:connect(function(player) | |
| 184 | for a,b in pairs(injail) do if b == player.Name then table.remove(injail, a) workspace["JAIL_" .. player.Name]:Destroy() end end | |
| 185 | for a,b in pairs(hastab) do if b == player.Name then table.remove(hastab, a) workspace[player.Name .. "TAB"]:Destroy() end end | |
| 186 | if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then | |
| 187 | game:FindService('StarterGui'):SetCore('SendNotification', {
| |
| 188 | Title = player.Name, | |
| 189 | Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']', | |
| 190 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
| 191 | Duration = 5, | |
| 192 | }) | |
| 193 | elseif JLnotify == true and Nfriends == false then | |
| 194 | game:FindService('StarterGui'):SetCore('SendNotification', {
| |
| 195 | Title = player.Name, | |
| 196 | Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']', | |
| 197 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
| 198 | Duration = 5, | |
| 199 | }) | |
| 200 | end | |
| 201 | end) | |
| 202 | FLYING = false | |
| 203 | iyflyspeed = 1 | |
| 204 | function sFLY() -- from rocky2u cmdscript | |
| 205 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
| |
| 206 | repeat wait() until Mouse | |
| 207 | ||
| 208 | local T = LP.Character.HumanoidRootPart | |
| 209 | - | if writefileExploit() then |
| 209 | + | |
| 210 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 211 | local SPEED = 0 | |
| 212 | ||
| 213 | local function FLY() | |
| 214 | FLYING = true | |
| 215 | local BG = Instance.new('BodyGyro', T)
| |
| 216 | local BV = Instance.new('BodyVelocity', T)
| |
| 217 | BG.P = 9e4 | |
| 218 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
| 219 | BG.cframe = T.CFrame | |
| 220 | BV.velocity = Vector3.new(0, 0.1, 0) | |
| 221 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 222 | spawn(function() | |
| 223 | repeat wait() | |
| 224 | LP.Character.Humanoid.PlatformStand = true | |
| 225 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
| 226 | SPEED = 50 | |
| 227 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
| 228 | - | writefile("IY.txt", updated) end end
|
| 228 | + | |
| 229 | end | |
| 230 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
| 231 | 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 | |
| 232 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
| |
| 233 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
| 234 | 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 | |
| 235 | else | |
| 236 | BV.velocity = Vector3.new(0, 0.1, 0) | |
| 237 | end | |
| 238 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
| 239 | until not FLYING | |
| 240 | CONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 241 | lCONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 242 | SPEED = 0 | |
| 243 | BG:destroy() | |
| 244 | BV:destroy() | |
| 245 | LP.Character.Humanoid.PlatformStand = false | |
| 246 | end) | |
| 247 | end | |
| 248 | Mouse.KeyDown:connect(function(KEY) | |
| 249 | if KEY:lower() == 'w' then | |
| 250 | CONTROL.F = iyflyspeed | |
| 251 | elseif KEY:lower() == 's' then | |
| 252 | CONTROL.B = -iyflyspeed | |
| 253 | elseif KEY:lower() == 'a' then | |
| 254 | CONTROL.L = -iyflyspeed | |
| 255 | elseif KEY:lower() == 'd' then | |
| 256 | CONTROL.R = iyflyspeed | |
| 257 | end | |
| 258 | end) | |
| 259 | Mouse.KeyUp:connect(function(KEY) | |
| 260 | if KEY:lower() == 'w' then | |
| 261 | CONTROL.F = 0 | |
| 262 | elseif KEY:lower() == 's' then | |
| 263 | CONTROL.B = 0 | |
| 264 | elseif KEY:lower() == 'a' then | |
| 265 | CONTROL.L = 0 | |
| 266 | elseif KEY:lower() == 'd' then | |
| 267 | CONTROL.R = 0 | |
| 268 | end | |
| 269 | end) | |
| 270 | FLY() | |
| 271 | end | |
| 272 | function NOFLY() | |
| 273 | FLYING = false | |
| 274 | LP.Character.Humanoid.PlatformStand = false | |
| 275 | end | |
| 276 | HK = {
| |
| 277 | '-HOTKEYS-', | |
| 278 | 'HOLD F2 - Click TP', | |
| 279 | 'F4 - Toggle Fly', | |
| 280 | 'F5 - Toggle Noclip', | |
| 281 | '-COMMANDS-' | |
| 282 | } | |
| 283 | CMDs = {
| |
| 284 | 'addalias [cmd] [alias]', | |
| 285 | 'addstat [plr] [text]', | |
| 286 | 'admins', | |
| 287 | 'admin [plr]', | |
| 288 | 'agelock [age num]', | |
| 289 | 'addban [full username]', | |
| 290 | 'age [plr]', | |
| 291 | 'aliases', | |
| 292 | 'alien / ayylmao [plr]', | |
| 293 | 'ambient [R G B]', | |
| 294 | 'anchor', | |
| 295 | 'animation [plr] [anim]', | |
| 296 | 'arrest [plr]', | |
| 297 | 'bait', | |
| 298 | 'ball [plr]', | |
| 299 | 'bang [plr] [plr] / bang [plr]', | |
| 300 | 'bans', | |
| 301 | 'ban [plr]', | |
| 302 | 'base', | |
| 303 | 'begone / thot [plr]', | |
| 304 | 'bgui [plr] [text]', | |
| 305 | 'blackandwhite', | |
| 306 | 'bleach [plr]', | |
| 307 | 'blackify [plr]', | |
| 308 | 'blind [plr]', | |
| 309 | 'blur [num]', | |
| 310 | 'bomb [plr]', | |
| 311 | 'box [plr]', | |
| 312 | 'breakloops/break (cmd loops)', | |
| 313 | 'brightness [num]', | |
| 314 | 'bring [plr]', | |
| 315 | 'btools [plr]', | |
| 316 | 'burn [plr]', | |
| 317 | 'cape [plr] [R G B]', | |
| 318 | 'car [plr]', | |
| 319 | 'change [plr] [stat] [num]', | |
| 320 | 'charplr / cp [plr] [plr]', | |
| 321 | 'char [plr] [ID]', | |
| 322 | 'chat [plr] [msg]', | |
| 323 | 'chickenarms / chicken [plr]', | |
| 324 | 'clear', | |
| 325 | 'clip', | |
| 326 | 'clone [plr]', | |
| 327 | 'clraliases', | |
| 328 | 'clrbans', | |
| 329 | 'clrterrain', | |
| 330 | 'cmds', | |
| 331 | 'confuse [plr]', | |
| 332 | 'control [plr]', | |
| 333 | 'copytools / ctools [plr]', | |
| 334 | 'countdown [num]', | |
| 335 | 'crash [plr]', | |
| 336 | 'creeper [plr]', | |
| 337 | 'cripple [plr]', | |
| 338 | 'crucify [plr]', | |
| 339 | 'damage [plr]', | |
| 340 | 'dance [plr]', | |
| 341 | 'day', | |
| 342 | 'decalspam [ID]', | |
| 343 | 'deleteclass / dc [class name]', | |
| 344 | 'deletepos / dpos [name]', | |
| 345 | 'delete [part name]', | |
| 346 | 'devuzi', | |
| 347 | 'disablereset [plr]', | |
| 348 | 'disabletools [plr]', | |
| 349 | 'disable [plr]', | |
| 350 | 'disco', | |
| 351 | 'discomesh [plr]', | |
| 352 | 'distortsound / distort [num]', | |
| 353 | 'dog [plr]', | |
| 354 | 'dong [plr]', | |
| 355 | 'draw', | |
| 356 | 'duck [plr]', | |
| 357 | 'dummy [name]', | |
| 358 | 'earthquake [power] [intensity]', | |
| 359 | 'enablereset [plr]', | |
| 360 | 'enabletools [plr]', | |
| 361 | 'enable [plr]', | |
| 362 | 'esp [plr]', | |
| 363 | 'exit', | |
| 364 | 'explode [plr]', | |
| 365 | 'explorer / dex', | |
| 366 | 'f3x', | |
| 367 | 'face [plr] [ID]', | |
| 368 | 'fart [plr]', | |
| 369 | 'fat [plr]', | |
| 370 | 'fegod', | |
| 371 | 'feinvisible / feinvis', | |
| 372 | 'fekill [plr] (need a tool)', | |
| 373 | 'ff [plr]', | |
| 374 | 'filtering', | |
| 375 | 'fire [plr] [R G B]', | |
| 376 | 'firstp [plr]', | |
| 377 | 'fix', | |
| 378 | 'fixcam', | |
| 379 | 'fixlighting / fixl', | |
| 380 | 'flashlight [plr]', | |
| 381 | 'fling [plr]', | |
| 382 | 'float [plr]', | |
| 383 | 'flood', | |
| 384 | 'fly', | |
| 385 | 'flyspeed [num]', | |
| 386 | 'fogcolor [R G B]', | |
| 387 | 'fogend [num]', | |
| 388 | 'freecam / fc', | |
| 389 | 'freecamspeed / fcspeed [num]', | |
| 390 | 'freeze / fr [plr]', | |
| 391 | 'ghost [plr]', | |
| 392 | 'glass [plr]', | |
| 393 | 'globalshadows / gshadows', | |
| 394 | 'glowstick [plr] [R G B]', | |
| 395 | 'god [plr]', | |
| 396 | 'goto [plr]', | |
| 397 | 'gravity [num]', | |
| 398 | 'hang [plr]', | |
| 399 | 'hatsize [plr] [num]', | |
| 400 | 'hat [plr] [ID]', | |
| 401 | 'headshake [plr]', | |
| 402 | 'headsize [plr] [num]', | |
| 403 | 'heal [plr]', | |
| 404 | 'hidename [plr]', | |
| 405 | 'hideplaylist / hideplayer', | |
| 406 | 'hipheight / hheight [plr] [num]', | |
| 407 | 'hub', | |
| 408 | 'infect [plr]', | |
| 409 | 'insert [ID/name]', | |
| 410 | 'invert', | |
| 411 | 'invisible / invis [plr]', | |
| 412 | 'invisibleff / invisff [plr]', | |
| 413 | 'iyspam', | |
| 414 | 'jail [plr]', | |
| 415 | 'jumppower / jpower [plr] [num]', | |
| 416 | 'jump [plr]', | |
| 417 | 'keeptools / ktools [plr]', | |
| 418 | 'keybind [key] [cmd]', | |
| 419 | 'kick [plr]', | |
| 420 | 'kidnap [plr]', | |
| 421 | 'kill [plr]', | |
| 422 | 'knife', | |
| 423 | 'knuckles [plr]', | |
| 424 | 'light [plr] [R G B]', | |
| 425 | 'loadm', | |
| 426 | 'loadmap [ID]', | |
| 427 | 'loadpos / lpos [plr] [name]', | |
| 428 | 'lockws', | |
| 429 | 'lock [plr]', | |
| 430 | 'logs', | |
| 431 | 'longneck [plr]', | |
| 432 | 'loopbring [plr]', | |
| 433 | 'loopheal [plr]', | |
| 434 | 'loopjump / ljump [plr]', | |
| 435 | 'loopkill [plr]', | |
| 436 | 'loopname / lname [plr]', | |
| 437 | 'loopoof', | |
| 438 | 'loopsit / lsit [plr]', | |
| 439 | 'mage', | |
| 440 | 'maxhealth [plr] [num]', | |
| 441 | 'maxzoom [plr] [num]', | |
| 442 | 'mesh [plr] [mesh] [texture]', | |
| 443 | 'message / m [msg]', | |
| 444 | 'meteor [plr]', | |
| 445 | 'name [plr]', | |
| 446 | 'neon [plr]', | |
| 447 | 'nextsong', | |
| 448 | 'night', | |
| 449 | 'nil [plr]', | |
| 450 | 'noarms [plr]', | |
| 451 | 'nobox [plr]', | |
| 452 | 'noclip', | |
| 453 | 'noclones [plr]', | |
| 454 | 'nodong [plr]', | |
| 455 | 'nodummies', | |
| 456 | 'noesp [plr]', | |
| 457 | 'noglobalshadows / nogshadows', | |
| 458 | 'nokeeptools / noktools [plr]', | |
| 459 | 'nolimbs [plr]', | |
| 460 | 'nooutlines', | |
| 461 | 'noparticles [plr]', | |
| 462 | 'noplrsound [plr]', | |
| 463 | 'norain', | |
| 464 | 'normal [plr]', | |
| 465 | 'notools [plr]', | |
| 466 | 'nuke [plr]', | |
| 467 | 'os [plr]', | |
| 468 | 'offset [plr] [coordinate]', | |
| 469 | 'outlines', | |
| 470 | 'paper [plr]', | |
| 471 | 'partdisco', | |
| 472 | 'particles [plr] [ID]', | |
| 473 | 'pipetp [plr] [plr]', | |
| 474 | 'pitch [num]', | |
| 475 | 'playhash / hash [hash]', | |
| 476 | 'playlist / player [ID],[ID]...', | |
| 477 | 'plrsound [plr] [ID]', | |
| 478 | 'positions / pos', | |
| 479 | 'prefix [string]', | |
| 480 | 'prevsong', | |
| 481 | 'punish [plr]', | |
| 482 | 'rainbowname [plr]', | |
| 483 | 'rainbow [plr]', | |
| 484 | 'rain [mesh] [texture]', | |
| 485 | 'refresh / re [plr]', | |
| 486 | 'rejoin', | |
| 487 | 'remotespy', | |
| 488 | 'removealias [alias]', | |
| 489 | 'removebait / nobait', | |
| 490 | 'rgui', | |
| 491 | 'removehats / rhats [plr]', | |
| 492 | 'removespawns', | |
| 493 | 'respawn [plr]', | |
| 494 | 'restoremap / rmap', | |
| 495 | 'rocket [plr]', | |
| 496 | 'savelighting / slighting', | |
| 497 | 'savemap / smap', | |
| 498 | 'savepos / spos [name]', | |
| 499 | 'script [script]', | |
| 500 | 'seagull / gull [plr]', | |
| 501 | 'seizure [plr]', | |
| 502 | 'serverinfo / info', | |
| 503 | 'serverlock / slock', | |
| 504 | 'servermessage / sm [msg]', | |
| 505 | 'sethealth [plr] [num]', | |
| 506 | 'setsong [num]', | |
| 507 | 'settings', | |
| 508 | 'sgod [plr]', | |
| 509 | 'shiny [plr]', | |
| 510 | 'shrek [plr]', | |
| 511 | 'shutdown', | |
| 512 | 'sit [plr]', | |
| 513 | 'size [plr] [num]', | |
| 514 | 'skydive [plr]', | |
| 515 | 'skygif [ID],[ID]... [interval]', | |
| 516 | 'sky [ID]', | |
| 517 | 'smite [plr]', | |
| 518 | 'smoke [plr]', | |
| 519 | 'sound / music [ID/name]', | |
| 520 | 'sparkles / sp [plr] [R G B]', | |
| 521 | 'spasm [plr]', | |
| 522 | 'spawnpoint [plr]', | |
| 523 | 'spectate / view [plr]', | |
| 524 | 'speed / ws [plr] [num]', | |
| 525 | 'sphere [plr]', | |
| 526 | 'spin [plr]', | |
| 527 | 'spookyify', | |
| 528 | 'starman [plr]', | |
| 529 | 'strength [plr]', | |
| 530 | 'strobe', | |
| 531 | 'stun [plr]', | |
| 532 | 'sun [intense] [spread]', | |
| 533 | 'sword [plr]', | |
| 534 | 'tablet', | |
| 535 | 'team [plr] [team]', | |
| 536 | 'terrain', | |
| 537 | 'thaw / unfr [plr]', | |
| 538 | 'thirdp [plr]', | |
| 539 | - | 'meteor/asteroid [plr]', |
| 539 | + | |
| 540 | - | 'naked [plr]', |
| 540 | + | |
| 541 | 'torso [plr]', | |
| 542 | 'tppos [plr] [coordinate]', | |
| 543 | 'tp [plr] [plr]', | |
| 544 | 'trail [plr] [R G B]', | |
| 545 | 'trip [plr]', | |
| 546 | 'unadmin [plr]', | |
| 547 | 'unagelock', | |
| 548 | 'unanchor', | |
| 549 | 'unball [plr]', | |
| 550 | 'unban [plr]', | |
| 551 | 'unbgui [plr]', | |
| 552 | 'unblind [plr]', | |
| 553 | 'unblur', | |
| 554 | 'uncape [plr]', | |
| 555 | 'uncar [plr]', | |
| 556 | 'unchar [plr]', | |
| 557 | 'unconfuse [plr]', | |
| 558 | 'uncreeper [plr]', | |
| 559 | 'uncripple [plr]', | |
| 560 | 'undecalspam', | |
| 561 | 'undisco', | |
| 562 | 'undog [plr]', | |
| 563 | 'unduck [plr]', | |
| 564 | 'unff [plr]', | |
| 565 | 'unfire [plr]', | |
| 566 | 'unfloat [plr]', | |
| 567 | 'unfly', | |
| 568 | 'unfreecam / unfc', | |
| 569 | 'unghost [plr]', | |
| 570 | 'ungod [plr]', | |
| 571 | 'unhidename [plr]', | |
| 572 | 'uninfect [plr]', | |
| 573 | 'unjail [plr]', | |
| 574 | 'unkeybind [key]', | |
| 575 | 'unlight [plr]', | |
| 576 | 'unlockws', | |
| 577 | 'unlock [plr]', | |
| 578 | 'unlongneck [plr]', | |
| 579 | 'unloopbring [plr]', | |
| 580 | 'unloopheal [plr]', | |
| 581 | 'unloopjump / unljump [plr]', | |
| 582 | 'unloopkill [plr]', | |
| 583 | 'unloopname / unlname [plr]', | |
| 584 | 'unloopoof', | |
| 585 | 'unloopsit / unlsit [plr]', | |
| 586 | 'unname [plr]', | |
| 587 | 'unpartdisco', | |
| 588 | 'unpunish [plr]', | |
| 589 | 'unrainbowname [plr]', | |
| 590 | 'unseizure [plr]', | |
| 591 | 'unserverlock / unslock', | |
| 592 | 'unshrek [plr]', | |
| 593 | 'unskygif', | |
| 594 | 'unsmoke [plr]', | |
| 595 | 'unsparkles / unsp [plr]', | |
| 596 | 'unspectate / unview', | |
| 597 | 'unspin [plr]', | |
| 598 | 'unstarman [plr]', | |
| 599 | 'unstrength [plr]', | |
| 600 | 'unstrobe', | |
| 601 | 'unstun [plr]', | |
| 602 | 'untrail [plr]', | |
| 603 | 'unweaken [plr]', | |
| 604 | 'version', | |
| 605 | 'visible / vis [plr]', | |
| 606 | 'volume / vol [num]', | |
| 607 | 'weaken [plr]', | |
| 608 | 'whiteify [plr]', | |
| 609 | 'zinnia [plr]' | |
| 610 | } | |
| 611 | 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 | |
| 612 | ||
| 613 | std.inTable=function(tbl,val) | |
| 614 | if tbl==nil then return false end | |
| 615 | ||
| 616 | for _,v in pairs(tbl)do | |
| 617 | if v==val then return true end | |
| 618 | end | |
| 619 | return false | |
| 620 | end | |
| 621 | std.out=function(str) | |
| 622 | print(str) | |
| 623 | end | |
| 624 | std.list=function(tbl) | |
| 625 | local str='' | |
| 626 | for i,v in pairs(tbl)do | |
| 627 | str=str..tostring(v) | |
| 628 | if i~=#tbl then str=str..', ' end | |
| 629 | end | |
| 630 | return str | |
| 631 | end | |
| 632 | std.endat=function(str,val) | |
| 633 | local z=str:find(val) | |
| 634 | if z then | |
| 635 | return str:sub(0,z-string.len(val)),true | |
| 636 | else | |
| 637 | return str,false | |
| 638 | end | |
| 639 | end | |
| 640 | std.first=function(str) return str:sub(1,1) end | |
| 641 | ||
| 642 | function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end | |
| 643 | ||
| 644 | local exec=function(str) | |
| 645 | spawn(function() | |
| 646 | local script, loaderr = loadstring(str) | |
| 647 | if not script then | |
| 648 | error(loaderr) | |
| 649 | else | |
| 650 | script() | |
| 651 | end | |
| 652 | end) | |
| 653 | end | |
| 654 | local findCmd=function(cmd_name) | |
| 655 | for i,v in pairs(cmds)do | |
| 656 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then | |
| 657 | return v | |
| 658 | end | |
| 659 | end | |
| 660 | end | |
| 661 | local getCmd=function(msg) | |
| 662 | local cmd,hassplit=std.endat(msg:lower(),split) | |
| 663 | if hassplit then | |
| 664 | return {cmd,true}
| |
| 665 | else | |
| 666 | return {cmd,false}
| |
| 667 | end | |
| 668 | end | |
| 669 | local getprfx=function(strn) | |
| 670 | if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
| |
| 671 | elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
| |
| 672 | end return | |
| 673 | end | |
| 674 | function dragGUI(gui) | |
| 675 | spawn(function() | |
| 676 | local UserInputService = game:GetService("UserInputService")
| |
| 677 | local dragging | |
| 678 | local dragInput | |
| 679 | local dragStart | |
| 680 | local startPos | |
| 681 | local function update(input) | |
| 682 | local delta = input.Position - dragStart | |
| 683 | 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) | |
| 684 | end | |
| 685 | gui.InputBegan:Connect(function(input) | |
| 686 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
| 687 | dragging = true | |
| 688 | dragStart = input.Position | |
| 689 | startPos = gui.Position | |
| 690 | ||
| 691 | input.Changed:Connect(function() | |
| 692 | - | 'unsphere [plr]', |
| 692 | + | |
| 693 | dragging = false | |
| 694 | end | |
| 695 | end) | |
| 696 | end | |
| 697 | end) | |
| 698 | gui.InputChanged:Connect(function(input) | |
| 699 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then | |
| 700 | dragInput = input | |
| 701 | end | |
| 702 | end) | |
| 703 | UserInputService.InputChanged:Connect(function(input) | |
| 704 | if input == dragInput and dragging then | |
| 705 | update(input) | |
| 706 | end | |
| 707 | end) | |
| 708 | end) | |
| 709 | end | |
| 710 | maincolor = Color3.new(colorR, colorG, colorB) | |
| 711 | function updatecolors(color) | |
| 712 | colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b | |
| 713 | maincolor = color | |
| 714 | for _, child in pairs( game.CoreGui.RobloxGui:GetChildren()) do | |
| 715 | if child.Name == "TopBarContainer" then | |
| 716 | child.BackgroundColor3 = color | |
| 717 | end end | |
| 718 | FeedbackMain.BackgroundColor3 = maincolor | |
| 719 | MAIN.BackgroundColor3 = maincolor | |
| 720 | bar.BackgroundColor3 = maincolor | |
| 721 | game.CoreGui.sugg.suggestions.BackgroundColor3 = color | |
| 722 | if game.CoreGui:FindFirstChild('Updates') then
| |
| 723 | game.CoreGui.Updates.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
| 724 | game.CoreGui.Updates.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
| 725 | if game.CoreGui:FindFirstChild('Sinfo') then
| |
| 726 | game.CoreGui.Sinfo.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
| 727 | game.CoreGui.Sinfo.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
| 728 | if game.CoreGui:FindFirstChild('cp') then
| |
| 729 | game.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color | |
| 730 | game.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color | |
| 731 | game.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color end | |
| 732 | if game.CoreGui:FindFirstChild('Bans') then
| |
| 733 | game.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
| 734 | game.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
| 735 | if game.CoreGui:FindFirstChild('Pos') then
| |
| 736 | game.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
| 737 | game.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
| 738 | if game.CoreGui:FindFirstChild('Admins') then
| |
| 739 | game.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
| 740 | game.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
| 741 | if game.CoreGui:FindFirstChild('Logs') then
| |
| 742 | game.CoreGui.Logs.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
| 743 | game.CoreGui.Logs.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
| 744 | if game.CoreGui:FindFirstChild('Aliases') then
| |
| 745 | game.CoreGui.Aliases.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
| 746 | game.CoreGui.Aliases.drag.PromptDialog.shadow.BackgroundColor3 = color end | |
| 747 | for _, child in pairs( game.CoreGui:GetChildren()) do | |
| 748 | if child.Name == "Models" then | |
| 749 | game.CoreGui.Models.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
| 750 | game.CoreGui.Models.drag.PromptDialog.shadow.BackgroundColor3 = color | |
| 751 | end | |
| 752 | end | |
| 753 | for _, child in pairs( game.CoreGui:GetChildren()) do | |
| 754 | if child.Name == "Audios" then | |
| 755 | game.CoreGui.Audios.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color | |
| 756 | game.CoreGui.Audios.drag.PromptDialog.shadow.BackgroundColor3 = color | |
| 757 | end | |
| 758 | end | |
| 759 | end | |
| 760 | ||
| 761 | function respawn(plr) | |
| 762 | local M = Instance.new('Model', workspace) M.Name = 'respawn_iy'
| |
| 763 | local H = Instance.new('Humanoid', M)
| |
| 764 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
| |
| 765 | plr.Character = M end | |
| 766 | ||
| 767 | local dummy = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1498924930")
| |
| 768 | WL = {'IoIman616','Conceptual_Nullifier','Thomasbudge','N3xuI','MoonlightTears','DesiredUsername1233','marie','Usingthisisfun',LP.Name}
| |
| 769 | function kickF(plr) | |
| 770 | spawn(function() | |
| 771 | if plr.Parent ~= nil then | |
| 772 | if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else
| |
| 773 | local newChar = dummy:Clone() newChar.Parent = workspace | |
| 774 | newChar.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
| 775 | for i = 1,4 do | |
| 776 | local Plat = Instance.new('SkateboardPlatform', newChar)
| |
| 777 | Plat.Position = newChar.HumanoidRootPart.Position | |
| 778 | Plat.Name = 'IYplat' | |
| 779 | Plat.Size = Vector3.new(10, 1.2, 10) | |
| 780 | Plat.Transparency = 1 end | |
| 781 | plr.Character = newChar | |
| 782 | local PART = Instance.new('Part', newChar)
| |
| 783 | PART.CFrame = newChar.HumanoidRootPart.CFrame - Vector3.new(0, 3, 0) | |
| 784 | PART.Size = Vector3.new(10, 1.2, 10) | |
| 785 | PART.Anchored = true | |
| 786 | PART.Transparency = 1 | |
| 787 | if newChar:FindFirstChild("SkateboardPlatform") then
| |
| 788 | newChar.SkateboardPlatform.CFrame = newChar.HumanoidRootPart.CFrame end | |
| 789 | wait(0.4) | |
| 790 | if newChar then newChar:Destroy() end | |
| 791 | kickF(plr) end | |
| 792 | end end) end | |
| 793 | ||
| 794 | function refresh(plr) | |
| 795 | spawn(function() | |
| 796 | local rpos = plr.Character.HumanoidRootPart.Position | |
| 797 | wait(0.1) plr.Character:Destroy() respawn(plr) wait(0.1) | |
| 798 | repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart')
| |
| 799 | plr.Character:MoveTo(rpos) end) end | |
| 800 | ||
| 801 | 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
| |
| 802 | 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
| |
| 803 | _players.PlayerAdded:connect(function(player) | |
| 804 | if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then | |
| 805 | game:FindService('StarterGui'):SetCore('SendNotification', {
| |
| 806 | Title = player.Name, | |
| 807 | Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']', | |
| 808 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
| 809 | Duration = 5, | |
| 810 | }) | |
| 811 | elseif JLnotify == true and Nfriends == false then | |
| 812 | game:FindService('StarterGui'):SetCore('SendNotification', {
| |
| 813 | Title = player.Name, | |
| 814 | Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']', | |
| 815 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
| 816 | Duration = 5, | |
| 817 | }) | |
| 818 | end | |
| 819 | if slock == true and allowfriends == false then player.CharacterAdded:connect(function() | |
| 820 | spawn(function() | |
| 821 | repeat wait() until player.Character | |
| 822 | kickF(player) | |
| 823 | end) | |
| 824 | end) | |
| 825 | elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then | |
| 826 | spawn(function() | |
| 827 | repeat wait() until player.Character | |
| 828 | kickF(player) | |
| 829 | end) | |
| 830 | end | |
| 831 | if FindTable(banT, player.userId) then | |
| 832 | spawn(function() | |
| 833 | repeat wait() until player.Character | |
| 834 | Notify('Banned player, ' .. player.Name .. ' attempted to join')
| |
| 835 | kickF(player) | |
| 836 | end) | |
| 837 | end | |
| 838 | if isagelocked == true and allowfriends == false and player.AccountAge <= agelock then | |
| 839 | spawn(function() | |
| 840 | repeat wait() until player.Character | |
| 841 | kickF(player) | |
| 842 | end) | |
| 843 | else | |
| 844 | if isagelocked == true and allowfriends == true and not player:IsFriendsWith(user.userId) and player.AccountAge <= agelock then | |
| 845 | spawn(function() | |
| 846 | repeat wait() until player.Character | |
| 847 | kickF(player) | |
| 848 | end) | |
| 849 | end | |
| 850 | end | |
| 851 | end) | |
| 852 | local customAlias = {}
| |
| 853 | local findCmd=function(cmd_name) | |
| 854 | for i,v in pairs(cmds)do | |
| 855 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then | |
| 856 | return v | |
| 857 | end | |
| 858 | end | |
| 859 | return customAlias[cmd_name:lower()] | |
| 860 | end | |
| 861 | local function splitString(str,delim) | |
| 862 | local broken = {}
| |
| 863 | if delim == nil then delim = "," end | |
| 864 | - | WL = {'IoIman616','Conceptual_Nullifier','Thomasbudge','N3xuI','MoonlightTears','DesiredUsername1233','marie',LP.Name}
|
| 864 | + | |
| 865 | table.insert(broken,w) | |
| 866 | end | |
| 867 | return broken | |
| 868 | end | |
| 869 | local historyCount = 0 | |
| 870 | local cmdHistory = {}
| |
| 871 | lastBreakTime = 0 | |
| 872 | local function execCmd(cmdStr,speaker) | |
| 873 | local rawCmdStr = cmdStr | |
| 874 | cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%") | |
| 875 | local commandsToRun = splitString(cmdStr,"\\") | |
| 876 | for i,v in pairs(commandsToRun) do | |
| 877 | v = string.gsub(v,"%%BackSlash%%","\\") | |
| 878 | local x,y,num = v:find("^(%d+)%^")
| |
| 879 | local cmdDelay = 0 | |
| 880 | if num then | |
| 881 | v = v:sub(y+1) | |
| 882 | local x,y,del = v:find("^([%d%.]+)%^")
| |
| 883 | if del then | |
| 884 | v = v:sub(y+1) | |
| 885 | cmdDelay = tonumber(del) or 0 | |
| 886 | end | |
| 887 | end | |
| 888 | num = tonumber(num or 1) | |
| 889 | local args = splitString(v,split) | |
| 890 | local cmd = findCmd(args[1]) | |
| 891 | if cmd then | |
| 892 | table.remove(args,1) | |
| 893 | cargs = args | |
| 894 | if speaker == gPlayers.LocalPlayer then | |
| 895 | if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end | |
| 896 | end | |
| 897 | if #cmdHistory > 20 then table.remove(cmdHistory) end | |
| 898 | local cmdStartTime = tick() | |
| 899 | for rep = 1,num do | |
| 900 | if lastBreakTime > cmdStartTime then break end | |
| 901 | pcall(function() | |
| 902 | cmd.FUNC(args, speaker) | |
| 903 | end) | |
| 904 | if cmdDelay ~= 0 then wait(cmdDelay) end | |
| 905 | end | |
| 906 | end | |
| 907 | end | |
| 908 | end | |
| 909 | logsloaded = false | |
| 910 | ChatLog = function(plr) | |
| 911 | plr.Chatted:Connect(function(Message) | |
| 912 | if logsloaded == true then | |
| 913 | if whispersV == true and Message:lower():sub(1,2) == '/w' then | |
| 914 | CreateLabel(plr.Name,Message) | |
| 915 | elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,1) == cmdprefix then | |
| 916 | CreateLabel(plr.Name,Message) | |
| 917 | elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,4) == '/e '..cmdprefix then | |
| 918 | CreateLabel(plr.Name,Message) | |
| 919 | 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 | |
| 920 | CreateLabel(plr.Name,Message) | |
| 921 | end end end) end | |
| 922 | 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
| |
| 923 | for _, plr in pairs(gPlayers:GetChildren()) do | |
| 924 | if plr.ClassName == "Player" then | |
| 925 | updateevents(plr) ChatLog(plr) end end | |
| 926 | _players.PlayerAdded:connect(function(player) | |
| 927 | updateevents(player) ChatLog(player) | |
| 928 | end) | |
| 929 | _G.exec_cmd = execCmd | |
| 930 | --gPlayers.LocalPlayer.Chatted:connect(doexec) | |
| 931 | 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 | |
| 932 | local _char=function(plr_name) | |
| 933 | for i,v in pairs(gPlayers:GetChildren())do | |
| 934 | if v:IsA'Player'then | |
| 935 | if v.Name==plr_name then return v.Character end | |
| 936 | end | |
| 937 | end | |
| 938 | return | |
| 939 | end | |
| 940 | local _plr=function(plr_name) | |
| 941 | for i,v in pairs(gPlayers:GetChildren())do | |
| 942 | if v:IsA'Player'then | |
| 943 | if v.Name==plr_name then return v end | |
| 944 | end | |
| 945 | end | |
| 946 | return | |
| 947 | end | |
| 948 | function addcmd(name,desc,alias,func) | |
| 949 | cmds[#cmds+1]= | |
| 950 | {
| |
| 951 | NAME=name; | |
| 952 | DESC=desc; | |
| 953 | ALIAS=alias; | |
| 954 | FUNC=func; | |
| 955 | } | |
| 956 | end | |
| 957 | SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins','bacons'}
| |
| 958 | local SpecialPlayerCases = {
| |
| 959 | ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end,
| |
| 960 | ["others"] = function(speaker) | |
| 961 | local plrs = {}
| |
| 962 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 963 | if v ~= speaker then | |
| 964 | table.insert(plrs,v) | |
| 965 | end | |
| 966 | end | |
| 967 | return plrs | |
| 968 | end, | |
| 969 | ["me"] = function(speaker)return {speaker} end,
| |
| 970 | ["#(%d+)"] = function(speaker,args,currentList) | |
| 971 | local returns = {}
| |
| 972 | local randAmount = tonumber(args[1]) | |
| 973 | local players = {unpack(currentList)}
| |
| 974 | for i = 1,randAmount do | |
| 975 | if #players == 0 then break end | |
| 976 | local randIndex = math.random(1,#players) | |
| 977 | table.insert(returns,players[randIndex]) | |
| 978 | table.remove(players,randIndex) | |
| 979 | end | |
| 980 | return returns | |
| 981 | end, | |
| 982 | ["random"] = function(speaker,args,currentList) | |
| 983 | local players = currentList | |
| 984 | return {players[math.random(1,#players)]}
| |
| 985 | end, | |
| 986 | ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green] | |
| 987 | local returns = {}
| |
| 988 | local team = args[1] | |
| 989 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 990 | if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then | |
| 991 | table.insert(returns,plr) | |
| 992 | end | |
| 993 | end | |
| 994 | return returns | |
| 995 | end, | |
| 996 | ["allies"] = function(speaker) | |
| 997 | local returns = {}
| |
| 998 | local team = speaker.Team | |
| 999 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1000 | if plr.Team == team then | |
| 1001 | table.insert(returns,plr) | |
| 1002 | end | |
| 1003 | end | |
| 1004 | return returns | |
| 1005 | end, | |
| 1006 | ["enemies"] = 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 | ["team"] = 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 | ["nonteam"] = 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 | ["friends"] = function(speaker,args) | |
| 1037 | local returns = {}
| |
| 1038 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1039 | if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
| 1040 | table.insert(returns,plr) | |
| 1041 | end | |
| 1042 | end | |
| 1043 | return returns | |
| 1044 | end, | |
| 1045 | ["nonfriends"] = function(speaker,args) | |
| 1046 | local returns = {}
| |
| 1047 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1048 | if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
| 1049 | table.insert(returns,plr) | |
| 1050 | end | |
| 1051 | end | |
| 1052 | return returns | |
| 1053 | end, | |
| 1054 | ["guests"] = function(speaker,args) | |
| 1055 | local returns = {}
| |
| 1056 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1057 | if plr.Guest then | |
| 1058 | table.insert(returns,plr) | |
| 1059 | end | |
| 1060 | end | |
| 1061 | return returns | |
| 1062 | end, | |
| 1063 | ["bacons"] = function(speaker,args) | |
| 1064 | local returns = {}
| |
| 1065 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1066 | if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
| |
| 1067 | table.insert(returns,plr) | |
| 1068 | end | |
| 1069 | end | |
| 1070 | return returns | |
| 1071 | end, | |
| 1072 | ["admins"] = function(speaker) | |
| 1073 | local returns = {}
| |
| 1074 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1075 | if isAdmin(plr) then | |
| 1076 | table.insert(returns,plr) | |
| 1077 | end | |
| 1078 | end | |
| 1079 | return returns | |
| 1080 | end, | |
| 1081 | ["nonadmins"] = function(speaker) | |
| 1082 | local returns = {}
| |
| 1083 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1084 | if not isAdmin(plr) then | |
| 1085 | table.insert(returns,plr) | |
| 1086 | end | |
| 1087 | end | |
| 1088 | return returns | |
| 1089 | end, | |
| 1090 | ["age(%d+)"] = function(speaker,args) | |
| 1091 | local returns = {}
| |
| 1092 | local age = tonumber(args[1]) | |
| 1093 | if not age == nil then return end | |
| 1094 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1095 | if plr.AccountAge <= age then | |
| 1096 | table.insert(returns,plr) | |
| 1097 | end | |
| 1098 | end | |
| 1099 | return returns | |
| 1100 | end, | |
| 1101 | ["rad(%d+)"] = function(speaker,args) | |
| 1102 | local returns = {}
| |
| 1103 | local radius = tonumber(args[1]) | |
| 1104 | local speakerChar = speaker.Character | |
| 1105 | if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end
| |
| 1106 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1107 | if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
| |
| 1108 | local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude
| |
| 1109 | if magnitude <= radius then table.insert(returns,plr) end | |
| 1110 | end | |
| 1111 | end | |
| 1112 | return returns | |
| 1113 | end | |
| 1114 | } | |
| 1115 | local function toTokens(str) | |
| 1116 | local tokens = {}
| |
| 1117 | for op,name in string.gmatch(str,"([+-])([^+-]+)") do | |
| 1118 | table.insert(tokens,{Operator = op,Name = name})
| |
| 1119 | end | |
| 1120 | return tokens | |
| 1121 | end | |
| 1122 | local function onlyIncludeInTable(tab,matches) | |
| 1123 | local matchTable = {}
| |
| 1124 | local resultTable = {}
| |
| 1125 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
| 1126 | for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end | |
| 1127 | return resultTable | |
| 1128 | end | |
| 1129 | local function removeTableMatches(tab,matches) | |
| 1130 | local matchTable = {}
| |
| 1131 | local resultTable = {}
| |
| 1132 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
| 1133 | for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end | |
| 1134 | return resultTable | |
| 1135 | end | |
| 1136 | local function getPlayersByName(name) | |
| 1137 | local found = {}
| |
| 1138 | for i,v in pairs(game:GetService("Players"):GetChildren()) do
| |
| 1139 | if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then | |
| 1140 | table.insert(found,v) | |
| 1141 | end | |
| 1142 | end | |
| 1143 | return found | |
| 1144 | end | |
| 1145 | local function getPlayer(list,speaker) | |
| 1146 | if list == nil then return {speaker.Name} end
| |
| 1147 | local nameList = splitString(list,",") | |
| 1148 | ||
| 1149 | local foundList = {}
| |
| 1150 | ||
| 1151 | for _,name in pairs(nameList) do | |
| 1152 | if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end | |
| 1153 | local tokens = toTokens(name) | |
| 1154 | local initialPlayers = game:GetService("Players"):GetPlayers()
| |
| 1155 | ||
| 1156 | for i,v in pairs(tokens) do | |
| 1157 | if v.Operator == "+" then | |
| 1158 | local tokenContent = v.Name | |
| 1159 | local foundCase = false | |
| 1160 | for regex,case in pairs(SpecialPlayerCases) do | |
| 1161 | local matches = {string.match(tokenContent,"^"..regex.."$")}
| |
| 1162 | if #matches > 0 then | |
| 1163 | foundCase = true | |
| 1164 | initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers)) | |
| 1165 | end | |
| 1166 | end | |
| 1167 | if not foundCase then | |
| 1168 | initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent)) | |
| 1169 | end | |
| 1170 | else | |
| 1171 | local tokenContent = v.Name | |
| 1172 | local foundCase = false | |
| 1173 | for regex,case in pairs(SpecialPlayerCases) do | |
| 1174 | local matches = {string.match(tokenContent,"^"..regex.."$")}
| |
| 1175 | if #matches > 0 then | |
| 1176 | foundCase = true | |
| 1177 | initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers)) | |
| 1178 | end | |
| 1179 | end | |
| 1180 | if not foundCase then | |
| 1181 | initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent)) | |
| 1182 | end | |
| 1183 | end | |
| 1184 | end | |
| 1185 | ||
| 1186 | for i,v in pairs(initialPlayers) do table.insert(foundList,v) end | |
| 1187 | end | |
| 1188 | ||
| 1189 | local foundNames = {}
| |
| 1190 | for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end | |
| 1191 | ||
| 1192 | return foundNames | |
| 1193 | end | |
| 1194 | function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F) | |
| 1195 | local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
| |
| 1196 | if (zCoco) then | |
| 1197 | funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
| 1198 | else | |
| 1199 | funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
| 1200 | end | |
| 1201 | return funcw | |
| 1202 | end | |
| 1203 | function _G.msg(txt) | |
| 1204 | spawn(function() | |
| 1205 | msghook() | |
| 1206 | if MSGhook == true then | |
| 1207 | workspace.IYmessage.Text = '' | |
| 1208 | wait(0.1) | |
| 1209 | local b = Instance.new("BlurEffect", LightingService)
| |
| 1210 | b.Name = "IYmblur" | |
| 1211 | b.Size = 18 | |
| 1212 | workspace.IYmessage.Text = txt | |
| 1213 | wait(Mseconds) | |
| 1214 | b:Destroy() | |
| 1215 | if workspace.IYmessage.Text == txt then | |
| 1216 | workspace.IYmessage.Text = '' end | |
| 1217 | elseif MSGhook == false then | |
| 1218 | execCmd("loadm")
| |
| 1219 | repeat wait() until workspace:FindFirstChild("IYmessage")
| |
| 1220 | workspace.IYmessage.Text = '' | |
| 1221 | wait(0.1) | |
| 1222 | local b = Instance.new("BlurEffect", LightingService)
| |
| 1223 | b.Name = "IYmblur" | |
| 1224 | b.Size = 18 | |
| 1225 | workspace.IYmessage.Text = txt | |
| 1226 | wait(Mseconds) | |
| 1227 | b:Destroy() | |
| 1228 | if workspace.IYmessage.Text == txt then | |
| 1229 | workspace.IYmessage.Text = '' end | |
| 1230 | end | |
| 1231 | end) | |
| 1232 | end | |
| 1233 | function bleach(plr) | |
| 1234 | spawn(function() | |
| 1235 | local char = plr.Character | |
| 1236 | local hit1 = Instance.new("Sound", workspace)
| |
| 1237 | hit1.SoundId = "http://roblox.com/asset?id=145486953" | |
| 1238 | local hit = Instance.new("Sound", workspace)
| |
| 1239 | hit.SoundId = "http://roblox.com/asset?id=178646271" | |
| 1240 | local Bleach = Instance.new("Part", char["Left Arm"])
| |
| 1241 | Bleach.CanCollide = false | |
| 1242 | local Mesh = Instance.new("SpecialMesh", Bleach)
| |
| 1243 | Mesh.MeshId = "http://roblox.com/asset?id=483388971" | |
| 1244 | Mesh.Scale = Vector3.new(0.005, 0.005, 0.005) | |
| 1245 | Mesh.TextureId = "http://roblox.com/asset?id=520016684" | |
| 1246 | local Handy = Instance.new("Weld", Bleach)
| |
| 1247 | Handy.Part0 = Bleach | |
| 1248 | Handy.Part1 = char["Left Arm"] | |
| 1249 | Handy.C0 = CFrame.new(0.5,1.8,0) | |
| 1250 | Handy.C1 = CFrame.Angles(0,4,1) | |
| 1251 | local drink = Instance.new("Sound", char.Head)
| |
| 1252 | drink.SoundId = "http://roblox.com/asset?id=10722059" | |
| 1253 | wait(3) | |
| 1254 | game.Chat:Chat(char.Head,"I need to die","Red") | |
| 1255 | for i = 1,10 do | |
| 1256 | wait() | |
| 1257 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.018,0,0) | |
| 1258 | Handy.C0 = Handy.C0 * CFrame.new(-0.05,-0.07,0.09) | |
| 1259 | Handy.C0 = Handy.C0 * CFrame.Angles(0.12,0,0) | |
| 1260 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(0.2,0,-0.1) | |
| 1261 | end | |
| 1262 | drink:Play() | |
| 1263 | wait(3.4) | |
| 1264 | drink:Stop() | |
| 1265 | for i = 1,10 do | |
| 1266 | wait() | |
| 1267 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,-0.50,0) | |
| 1268 | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.175,0,0) | |
| 1269 | Handy.C0 = Handy.C0 * CFrame.new(0.05,0.07,-0.09) | |
| 1270 | Handy.C0 = Handy.C0 * CFrame.Angles(-0.1,0,0) | |
| 1271 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.15,-0.04,0.2) | |
| 1272 | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.05,0.03,0) | |
| 1273 | char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0 * CFrame.Angles(-0.02,0,0) | |
| 1274 | char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0 * CFrame.Angles(-0.01,0,0) | |
| 1275 | end | |
| 1276 | wait(0.01) | |
| 1277 | char.Torso.Anchored = true | |
| 1278 | char["Left Arm"].Anchored = true | |
| 1279 | char["Right Arm"].Anchored = true | |
| 1280 | char["Left Leg"].Anchored = true | |
| 1281 | char["Right Leg"].Anchored = true | |
| 1282 | char.Head.Anchored = true | |
| 1283 | hit:Play() | |
| 1284 | hit1:Play() | |
| 1285 | wait(4) | |
| 1286 | local bl00d = Instance.new("Part", char.Head)
| |
| 1287 | bl00d.Size = Vector3.new(0.1,0.1,0.1) | |
| 1288 | bl00d.Rotation = Vector3.new(0,0,-90) | |
| 1289 | bl00d.CanCollide = false | |
| 1290 | bl00d.Anchored = true | |
| 1291 | bl00d.BrickColor = BrickColor.new("Maroon")
| |
| 1292 | bl00d.Position = char.Head.Position | |
| 1293 | bl00d.CFrame = bl00d.CFrame * CFrame.new(0.43,-0.65,0) | |
| 1294 | bl00d.Shape = "Cylinder" | |
| 1295 | bl00d.Material = "Pebble" | |
| 1296 | for i = 1,100 do | |
| 1297 | wait() | |
| 1298 | bl00d.Size = bl00d.Size + Vector3.new(0,0.05,0.05) | |
| 1299 | end | |
| 1300 | wait(1) | |
| 1301 | char.Humanoid.Health = 0 | |
| 1302 | end) | |
| 1303 | end | |
| 1304 | function rape(victim, speaker) -- from rocky2u cmdscript | |
| 1305 | spawn(function() | |
| 1306 | local P1 = game:GetService("Players")[speaker].Character.Torso
| |
| 1307 | local V1 = game:GetService("Players")[victim].Character.Torso
| |
| 1308 | V1.Parent.Humanoid.PlatformStand = true | |
| 1309 | 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'
| |
| 1310 | 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'
| |
| 1311 | 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'
| |
| 1312 | 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'
| |
| 1313 | 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'
| |
| 1314 | 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'
| |
| 1315 | 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)
| |
| 1316 | local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
| |
| 1317 | fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
| |
| 1318 | local D2 = D:Clone() D2.Parent = P1 | |
| 1319 | fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
| |
| 1320 | 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)
| |
| 1321 | fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
| |
| 1322 | local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
| |
| 1323 | fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
| |
| 1324 | local CM = Instance.new('CylinderMesh', C)
| |
| 1325 | 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)
| |
| 1326 | local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
| |
| 1327 | fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
| |
| 1328 | 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)
| |
| 1329 | local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
| |
| 1330 | fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
| |
| 1331 | 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)
| |
| 1332 | local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
| |
| 1333 | fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
| |
| 1334 | 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)
| |
| 1335 | local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
| |
| 1336 | fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
| |
| 1337 | 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) | |
| 1338 | 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) | |
| 1339 | 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) | |
| 1340 | if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
| |
| 1341 | WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
| |
| 1342 | local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0) | |
| 1343 | end) | |
| 1344 | 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) | |
| 1345 | end | |
| 1346 | ||
| 1347 | if MouseButton3Click and os and os.execute then | |
| 1348 | function tts(str) | |
| 1349 | os.execute([[mshta vbscript:Execute("CreateObject(""SAPI.SpVoice"").Speak(""]] .. str .. [["")(window.close)")]])
| |
| 1350 | end | |
| 1351 | ||
| 1352 | spawn(function() | |
| 1353 | local p = Instance.new("Part")
| |
| 1354 | debug.getregistry()[p] = "_LOADED" | |
| 1355 | print("ROBLOX REGISTRY:", "_LOADED", p)
| |
| 1356 | wait(1) | |
| 1357 | tts("Cyber is a trash exploit skidded off of Axon source.")
| |
| 1358 | tts("I would suggest charging back or getting a refund from this garbage,")
| |
| 1359 | tts("since most of you probably spent your hard earned money just to be presented with disgusting smelly trash.")
| |
| 1360 | tts("Cyber is actually Axon. If you want proof just look in the developer console.")
| |
| 1361 | wait(3) | |
| 1362 | tts("You will see how Pudding stores values in the registry as strings, just like Axon.")
| |
| 1363 | tts("This exploit is absolute trash, get something better like Synapse or Elysian.")
| |
| 1364 | tts("Pudding Mug is just making money off of leaked sources,")
| |
| 1365 | tts("and denies all of the allegations when he is exposed.")
| |
| 1366 | tts("What a sad guy.")
| |
| 1367 | end) | |
| 1368 | ||
| 1369 | os.execute("cls")
| |
| 1370 | os.execute("color a")
| |
| 1371 | os.execute("title CYBER IS TRASH")
| |
| 1372 | os.execute("@echo Cyber is a trash exploit skidded off of Axon source. I would suggest charging back or getting a refund from this garbage, since most of you probably spent your hard earned money just to be presented with disgusting smelly garbage. Cyber is actually Axon. If you want proof just look in the developer console. You will see how Pudding stores values in the registry as strings, just like Axon. This exploit is absolute trash, get something better like Synapse or Elysian. Pudding Mug is just making money off of leaked sources, and denies all of the allegations when he is exposed. What a sad guy.")
| |
| 1373 | os.execute("start https://zinnia.cc")
| |
| 1374 | game:GetService("Players").LocalPlayer:Kick('Bye skiddy.')
| |
| 1375 | return | |
| 1376 | end | |
| 1377 | ||
| 1378 | addcmd('addalias','Adds an alias to a command',{},
| |
| 1379 | function(args,speaker) | |
| 1380 | if #args < 2 then return end | |
| 1381 | local cmd = string.lower(args[1]) | |
| 1382 | local alias = string.lower(args[2]) | |
| 1383 | for i,v in pairs(cmds) do | |
| 1384 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
| 1385 | customAlias[alias] = v | |
| 1386 | if not aliasSave or aliasSave == nil then aliasSave = {} end
| |
| 1387 | aliasSave[#aliasSave + 1] = {CMD = cmd, ALIAS = alias}
| |
| 1388 | Notify("Added "..alias.." as an alias to "..cmd)
| |
| 1389 | updatefile() | |
| 1390 | updatealiases() | |
| 1391 | break | |
| 1392 | end | |
| 1393 | end | |
| 1394 | end) | |
| 1395 | ||
| 1396 | addcmd('877241loadalias','dab',{},
| |
| 1397 | function(args,speaker) | |
| 1398 | if #args < 2 then return end | |
| 1399 | local cmd = string.lower(args[1]) | |
| 1400 | local alias = string.lower(args[2]) | |
| 1401 | for i,v in pairs(cmds) do | |
| 1402 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
| 1403 | customAlias[alias] = v | |
| 1404 | updatealiases() | |
| 1405 | break | |
| 1406 | end | |
| 1407 | end | |
| 1408 | end) | |
| 1409 | ||
| 1410 | addcmd('removealias','Removes a custom alias',{},
| |
| 1411 | function(args,speaker) | |
| 1412 | if #args < 1 then return end | |
| 1413 | local alias = string.lower(args[1]) | |
| 1414 | if customAlias[alias] then | |
| 1415 | local cmd = customAlias[alias].NAME | |
| 1416 | customAlias[alias] = nil | |
| 1417 | for i,v in pairs(aliasSave) do | |
| 1418 | if v.ALIAS == tostring(alias) then | |
| 1419 | table.remove(aliasSave, i) | |
| 1420 | end end | |
| 1421 | Notify("Removed the alias "..alias.." from "..cmd)
| |
| 1422 | updatefile() | |
| 1423 | updatealiases() | |
| 1424 | end | |
| 1425 | end) | |
| 1426 | ||
| 1427 | addcmd('clraliases','Removes all custom alias',{},
| |
| 1428 | function(args,speaker) | |
| 1429 | customAlias = {}
| |
| 1430 | aliasSave ={}
| |
| 1431 | updatefile() | |
| 1432 | updatealiases() | |
| 1433 | Notify('Removed all aliases')
| |
| 1434 | end) | |
| 1435 | ||
| 1436 | addcmd('s','runs a script in the chat or cmdbar',{'script'},
| |
| 1437 | function(args, speaker) | |
| 1438 | loadstring(tostring(GLS(false, 0)))() | |
| 1439 | end) | |
| 1440 | ||
| 1441 | function hub() | |
| 1442 | if not game.CoreGui:FindFirstChild('ScriptHub') then
| |
| 1443 | loadstring(game:HttpGet(('https://pastebin.com/raw/VvDQgSZT'),true))() end end
| |
| 1444 | addcmd('hub','opens script hub',{'scripts'},
| |
| 1445 | function(args, speaker) | |
| 1446 | if speaker.userId ~= LP.userId then | |
| 1447 | lponly(speaker) else | |
| 1448 | hub() | |
| 1449 | end end) | |
| 1450 | ||
| 1451 | addcmd('ff','gives ff to player',{},
| |
| 1452 | function(args, speaker) | |
| 1453 | local players = getPlayer(args[1], speaker) | |
| 1454 | for i,v in pairs(players)do | |
| 1455 | local pchar=_char(v) | |
| 1456 | Instance.new("ForceField", pchar)
| |
| 1457 | end | |
| 1458 | end) | |
| 1459 | ||
| 1460 | addcmd('maxhealth','sets a limit of health to player',{},
| |
| 1461 | function(args, speaker) | |
| 1462 | local players = getPlayer(args[1], speaker) | |
| 1463 | for i,v in pairs(players)do | |
| 1464 | local pchar=_char(v) | |
| 1465 | pchar.Humanoid.MaxHealth = args[2] | |
| 1466 | end | |
| 1467 | end) | |
| 1468 | ||
| 1469 | addcmd('sethealth','sets the health of a player',{},
| |
| 1470 | function(args, speaker) | |
| 1471 | local players = getPlayer(args[1], speaker) | |
| 1472 | for i,v in pairs(players)do | |
| 1473 | local pchar=_char(v) | |
| 1474 | pchar.Humanoid.Health = args[2] | |
| 1475 | end | |
| 1476 | end) | |
| 1477 | ||
| 1478 | addcmd('breakloops','stops any cmd loops',{'break'},
| |
| 1479 | function(args, speaker) | |
| 1480 | lastBreakTime = tick() | |
| 1481 | end) | |
| 1482 | ||
| 1483 | addcmd('invisibleff','gives invisible ff to player',{'invisff'},
| |
| 1484 | function(args, speaker) | |
| 1485 | local players = getPlayer(args[1], speaker) | |
| 1486 | for i,v in pairs(players)do | |
| 1487 | local pchar=_char(v) | |
| 1488 | local invisff = Instance.new("ForceField", pchar)
| |
| 1489 | invisff.Visible = false | |
| 1490 | end | |
| 1491 | end) | |
| 1492 | ||
| 1493 | addcmd('rocket','attaches a player to a rocket',{'missile'},
| |
| 1494 | function(args, speaker) | |
| 1495 | local players = getPlayer(args[1], speaker) | |
| 1496 | for i,v in pairs(players)do | |
| 1497 | local pchar=_char(v) | |
| 1498 | spawn(function() | |
| 1499 | local m = missile:Clone() | |
| 1500 | m.Parent = workspace | |
| 1501 | local W = Instance.new('Weld', m)
| |
| 1502 | W.Part0 = W.Parent | |
| 1503 | W.Part1 = pchar.HumanoidRootPart | |
| 1504 | W.C1 = CFrame.new(0, 0.5, 1) | |
| 1505 | m.force.Force = Vector3.new(0, 15000, 0) | |
| 1506 | wait(0.01) | |
| 1507 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0) | |
| 1508 | wait(5) | |
| 1509 | Instance.new('Explosion', m).Position = m.Position
| |
| 1510 | wait(0.01) | |
| 1511 | pchar:BreakJoints() | |
| 1512 | wait(1) | |
| 1513 | m:destroy() | |
| 1514 | end) | |
| 1515 | end | |
| 1516 | end) | |
| 1517 | ||
| 1518 | addcmd('kidnap', 'Kidnaps the player in a candy van',{}, function(args, speaker)
| |
| 1519 | local players = getPlayer(args[1], speaker) | |
| 1520 | if not game:GetService("CoreGui"):FindFirstChild('VanEvent') then
| |
| 1521 | loadstring(game:HttpGet(('https://pastebin.com/raw/NbY247zv'),true))()
| |
| 1522 | end | |
| 1523 | for i,v in pairs(players) do | |
| 1524 | game:GetService("CoreGui").VanEvent:Fire(gPlayers[v])
| |
| 1525 | end | |
| 1526 | end) | |
| 1527 | ||
| 1528 | addcmd('rejoin','makes you rejoin the game',{'rj'},
| |
| 1529 | function(args, speaker) | |
| 1530 | if speaker.userId ~= LP.userId then | |
| 1531 | lponly(speaker) | |
| 1532 | else | |
| 1533 | game:GetService('TeleportService'):Teleport(game.PlaceId)
| |
| 1534 | end | |
| 1535 | end) | |
| 1536 | ||
| 1537 | addcmd('unff', 'takes away ff from player',{'noff'},
| |
| 1538 | function(args, speaker) | |
| 1539 | local players = getPlayer(args[1], speaker) | |
| 1540 | for i,v in pairs(players)do | |
| 1541 | local pchar=_char(v) | |
| 1542 | for j,v1 in pairs(pchar:GetChildren()) do | |
| 1543 | if v1:IsA("ForceField") then
| |
| 1544 | v1:Destroy() | |
| 1545 | end | |
| 1546 | end | |
| 1547 | end | |
| 1548 | end) | |
| 1549 | ||
| 1550 | addcmd('flashlight', 'gives a player a flashlight',{},
| |
| 1551 | function(args, speaker) | |
| 1552 | local players = getPlayer(args[1], speaker) | |
| 1553 | for i,v in pairs(players)do | |
| 1554 | spawn(function() | |
| 1555 | local flashlight = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01679418710")
| |
| 1556 | flashlight.Parent = gPlayers[v].Backpack | |
| 1557 | flashlight.Name = "IYflashlight" | |
| 1558 | end) | |
| 1559 | end | |
| 1560 | end) | |
| 1561 | ||
| 1562 | addcmd('car', 'inserts a car',{'vehicle'},
| |
| 1563 | function(args, speaker) | |
| 1564 | local players = getPlayer(args[1], speaker) | |
| 1565 | for i,v in pairs(players)do | |
| 1566 | spawn(function() | |
| 1567 | local pchar=_char(v) | |
| 1568 | local model = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01172688590")
| |
| 1569 | model.Parent = workspace | |
| 1570 | model:MakeJoints() | |
| 1571 | model:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(5, 5, 0)) | |
| 1572 | model.Name = "IYcar" .. gPlayers[v].Name wait(0.2) | |
| 1573 | for _, child in pairs( model:GetChildren()) do | |
| 1574 | if child.ClassName == "Part" then | |
| 1575 | child.Anchored = true | |
| 1576 | wait(1) | |
| 1577 | child.Anchored = false | |
| 1578 | end end end) end end) | |
| 1579 | ||
| 1580 | addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'},
| |
| 1581 | function(args, speaker) | |
| 1582 | local players = getPlayer(args[1], speaker) | |
| 1583 | for i,v in pairs(players)do | |
| 1584 | for _, child in pairs( workspace:GetChildren()) do | |
| 1585 | if child.Name == "IYcar" .. gPlayers[v].Name then | |
| 1586 | child:Destroy() | |
| 1587 | end | |
| 1588 | end | |
| 1589 | end | |
| 1590 | end) | |
| 1591 | ||
| 1592 | addcmd('team','team [plr] [team]',{},
| |
| 1593 | function(args, speaker) | |
| 1594 | local players = getPlayer(args[1], speaker) | |
| 1595 | local teamname = nil | |
| 1596 | for i,v in pairs(players)do | |
| 1597 | 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 | |
| 1598 | _players[v].Team = teamname | |
| 1599 | end | |
| 1600 | end) | |
| 1601 | ||
| 1602 | addcmd('maxzoom','maximum camera zoom',{},
| |
| 1603 | function(args, speaker) | |
| 1604 | local players = getPlayer(args[1], speaker) | |
| 1605 | for i,v in pairs(players)do | |
| 1606 | _players[v].CameraMaxZoomDistance = args[2] | |
| 1607 | end | |
| 1608 | end) | |
| 1609 | ||
| 1610 | function spawnrain(mesh,texture) | |
| 1611 | spawn(function() | |
| 1612 | for i,v in pairs(gPlayers:GetChildren()) do | |
| 1613 | if v.Character ~= nil and v.Character:FindFirstChild('HumanoidRootPart') then
| |
| 1614 | if raining == true then | |
| 1615 | local rain = Instance.new("Part",workspace)
| |
| 1616 | rain.CanCollide = true | |
| 1617 | local m = Instance.new("SpecialMesh",rain)
| |
| 1618 | m.MeshId = "http://www.roblox.com/asset/?id="..mesh | |
| 1619 | m.TextureId = "http://www.roblox.com/asset/?id="..texture | |
| 1620 | rain.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-250,250),100,math.random(-250,250)) | |
| 1621 | wait(5) rain:Destroy() | |
| 1622 | end | |
| 1623 | end | |
| 1624 | end | |
| 1625 | end) | |
| 1626 | end | |
| 1627 | ||
| 1628 | raining = false | |
| 1629 | addcmd('rain','make it rain a mesh',{},
| |
| 1630 | function(args, speaker) | |
| 1631 | raining = true | |
| 1632 | repeat | |
| 1633 | wait(0.5) | |
| 1634 | spawnrain(args[1],args[2]) | |
| 1635 | until raining == false | |
| 1636 | end) | |
| 1637 | ||
| 1638 | addcmd('norain','make it rain a mesh',{'unrain'},
| |
| 1639 | function(args, speaker) | |
| 1640 | raining = false | |
| 1641 | end) | |
| 1642 | ||
| 1643 | local rad = math.rad | |
| 1644 | addcmd('earthquake','earthquake [power] [intensity]',{}, -- credit to DontAddMeh
| |
| 1645 | function(args, speaker) | |
| 1646 | for i = 1,args[1] do | |
| 1647 | wait() | |
| 1648 | local function ear(instance) | |
| 1649 | for i,v in pairs(instance:GetChildren())do | |
| 1650 | if v:IsA("Part") then
| |
| 1651 | if v.Size.x > 1 then | |
| 1652 | 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]))) | |
| 1653 | end end ear(v) end end ear(workspace) | |
| 1654 | end | |
| 1655 | end) | |
| 1656 | ||
| 1657 | addcmd('cape','Gives the target player(s) a cape',{},
| |
| 1658 | function(args, speaker) | |
| 1659 | local players = getPlayer(args[1], speaker) | |
| 1660 | for i,v in pairs(players)do | |
| 1661 | spawn(function() | |
| 1662 | if _char(v):FindFirstChild("Humanoid") then
| |
| 1663 | local plr = _players[v] | |
| 1664 | repeat wait() until plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart")
| |
| 1665 | local torso = plr.Character.HumanoidRootPart | |
| 1666 | local p = Instance.new("Part", torso.Parent) p.Name = "IYcape" p.Anchored = false
| |
| 1667 | p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 | |
| 1668 | if not args[2] then | |
| 1669 | p.Color = Color3.new(0,0,0) | |
| 1670 | p.Color = Color3.new(0,0,0) else | |
| 1671 | p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 1672 | p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end | |
| 1673 | p.formFactor = "Custom" | |
| 1674 | p.Size = Vector3.new(.2,.2,.2) | |
| 1675 | local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
| |
| 1676 | local motor1 = Instance.new("Motor", p)
| |
| 1677 | motor1.Part0 = p | |
| 1678 | motor1.Part1 = torso | |
| 1679 | motor1.MaxVelocity = .01 | |
| 1680 | motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0) | |
| 1681 | motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0) | |
| 1682 | local wave = false | |
| 1683 | repeat wait(1/44) | |
| 1684 | local ang = 0.1 | |
| 1685 | local oldmag = torso.Velocity.magnitude | |
| 1686 | local mv = .002 | |
| 1687 | if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end | |
| 1688 | ang = ang + math.min(torso.Velocity.magnitude/11, .5) | |
| 1689 | motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv | |
| 1690 | motor1.DesiredAngle = -ang | |
| 1691 | if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end | |
| 1692 | repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1 | |
| 1693 | if torso.Velocity.magnitude < .1 then wait(.1) end | |
| 1694 | until not p or p.Parent ~= torso.Parent | |
| 1695 | end | |
| 1696 | end) | |
| 1697 | end | |
| 1698 | end) | |
| 1699 | ||
| 1700 | addcmd('uncape','Removes cape',{'nocape'},
| |
| 1701 | function(args, speaker) | |
| 1702 | local players = getPlayer(args[1], speaker) | |
| 1703 | for i,v in pairs(players)do | |
| 1704 | local pchar=_char(v) | |
| 1705 | for _, child in pairs( pchar:GetChildren()) do | |
| 1706 | if child.Name == "IYcape" then | |
| 1707 | child:Destroy() end end | |
| 1708 | end | |
| 1709 | end) | |
| 1710 | ||
| 1711 | addcmd('spasm','makes someone c r a z y',{},
| |
| 1712 | function(args, speaker) | |
| 1713 | local players = getPlayer(args[1], speaker) | |
| 1714 | for i,v in pairs(players)do | |
| 1715 | local pchar=_char(v) | |
| 1716 | local AnimationId = "33796059" | |
| 1717 | local Anim = Instance.new("Animation")
| |
| 1718 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
| 1719 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
| 1720 | k:Play() | |
| 1721 | k:AdjustSpeed(99) | |
| 1722 | end | |
| 1723 | end) | |
| 1724 | ||
| 1725 | addcmd('dance','makes someone d a n c e',{},
| |
| 1726 | function(args, speaker) | |
| 1727 | local players = getPlayer(args[1], speaker) | |
| 1728 | for i,v in pairs(players)do | |
| 1729 | local pchar=_char(v) | |
| 1730 | local anim = nil | |
| 1731 | local dance1 = math.random(1,7) | |
| 1732 | if dance1 == 1 then | |
| 1733 | anim = '27789359' | |
| 1734 | end | |
| 1735 | if dance1 == 2 then | |
| 1736 | anim = '30196114' | |
| 1737 | end | |
| 1738 | if dance1 == 3 then | |
| 1739 | anim = '248263260' | |
| 1740 | end | |
| 1741 | if dance1 == 4 then | |
| 1742 | anim = '45834924' | |
| 1743 | end | |
| 1744 | if dance1 == 5 then | |
| 1745 | anim = '33796059' | |
| 1746 | end | |
| 1747 | if dance1 == 6 then | |
| 1748 | anim = '28488254' | |
| 1749 | end | |
| 1750 | if dance1 == 7 then | |
| 1751 | anim = '52155728' | |
| 1752 | end | |
| 1753 | local animation = Instance.new("Animation")
| |
| 1754 | animation.AnimationId = "rbxassetid://"..anim | |
| 1755 | local animTrack = pchar.Humanoid:LoadAnimation(animation) | |
| 1756 | animTrack:Play() | |
| 1757 | end | |
| 1758 | end) | |
| 1759 | ||
| 1760 | addcmd('plrsound','creates a sound inside of someone',{'playersound'},
| |
| 1761 | function(args, speaker) | |
| 1762 | local players = getPlayer(args[1], speaker) | |
| 1763 | for i,v in pairs(players)do | |
| 1764 | if not args[1] and args[2] 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 | local s = Instance.new("Sound")
| |
| 1770 | s.Name = "IYplrsound" | |
| 1771 | s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2] | |
| 1772 | s.Volume = 1 | |
| 1773 | s.Pitch = 1 | |
| 1774 | s.Looped = true | |
| 1775 | s.archivable = true | |
| 1776 | s.Parent = pchar.HumanoidRootPart | |
| 1777 | s:Play() | |
| 1778 | end | |
| 1779 | end) | |
| 1780 | ||
| 1781 | addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'},
| |
| 1782 | function(args, speaker) | |
| 1783 | local players = getPlayer(args[1], speaker) | |
| 1784 | for i,v in pairs(players)do | |
| 1785 | if not args[1] then return end | |
| 1786 | local pchar=_char(v) | |
| 1787 | for _, child in pairs( pchar:GetDescendants()) do | |
| 1788 | if child.ClassName == "Sound" then | |
| 1789 | child:Destroy() end end | |
| 1790 | end | |
| 1791 | end) | |
| 1792 | ||
| 1793 | addcmd('fly','makes you fly',{},
| |
| 1794 | function(args, speaker) | |
| 1795 | if speaker.userId ~= LP.userId then | |
| 1796 | lponly(speaker) | |
| 1797 | else | |
| 1798 | sFLY() | |
| 1799 | end | |
| 1800 | end) | |
| 1801 | ||
| 1802 | addcmd('flyspeed','set the fly speed',{'flysp'},
| |
| 1803 | function(args, speaker) | |
| 1804 | if speaker.userId ~= LP.userId then | |
| 1805 | lponly(speaker) | |
| 1806 | else | |
| 1807 | if isNumber(args[1]) then | |
| 1808 | iyflyspeed = args[1] | |
| 1809 | end end end) | |
| 1810 | ||
| 1811 | addcmd('unfly','takes away fly',{'nofly'},
| |
| 1812 | function(args, speaker) | |
| 1813 | if speaker.userId ~= LP.userId then | |
| 1814 | lponly(speaker) | |
| 1815 | else | |
| 1816 | NOFLY() | |
| 1817 | end | |
| 1818 | end) | |
| 1819 | ||
| 1820 | addcmd('exit','kills roblox process',{},
| |
| 1821 | function(args, speaker) | |
| 1822 | if speaker.userId ~= LP.userId then | |
| 1823 | lponly(speaker) | |
| 1824 | else | |
| 1825 | game:shutdown() | |
| 1826 | end | |
| 1827 | end) | |
| 1828 | ||
| 1829 | addcmd('fire', 'set a player on fire',{},
| |
| 1830 | function(args, speaker) | |
| 1831 | local players = getPlayer(args[1], speaker) | |
| 1832 | for i,v in pairs(players)do | |
| 1833 | spawn(function() | |
| 1834 | local pchar=_char(v) | |
| 1835 | local Fire1 = Instance.new("Fire", pchar.Head)
| |
| 1836 | local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart)
| |
| 1837 | local Fire3 = Instance.new("Fire", pchar["Left Arm"])
| |
| 1838 | local Fire4 = Instance.new("Fire", pchar["Right Arm"])
| |
| 1839 | local Fire5 = Instance.new("Fire", pchar["Left Leg"])
| |
| 1840 | local Fire6 = Instance.new("Fire", pchar["Right Leg"])
| |
| 1841 | if not args[2] then return end | |
| 1842 | Fire1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 1843 | Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1844 | Fire2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 1845 | Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1846 | Fire3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 1847 | Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1848 | Fire4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 1849 | Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1850 | Fire5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 1851 | Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1852 | Fire6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 1853 | Fire6.SecondaryColor = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 1854 | end) | |
| 1855 | end | |
| 1856 | end) | |
| 1857 | ||
| 1858 | addcmd('discomesh', 'body parts get f u n k y',{},
| |
| 1859 | function(args, speaker) | |
| 1860 | local players = getPlayer(args[1], speaker) | |
| 1861 | for i,v in pairs(players)do | |
| 1862 | spawn(function() | |
| 1863 | local plr = _players[v] | |
| 1864 | local meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"}
| |
| 1865 | local h = _players[v].Character.Head.Mesh | |
| 1866 | local t = Instance.new("SpecialMesh",_players[v].Character.Torso)
| |
| 1867 | local la = Instance.new("SpecialMesh",_players[v].Character["Left Arm"])
| |
| 1868 | local ra = Instance.new("SpecialMesh",_players[v].Character["Right Arm"])
| |
| 1869 | local ll = Instance.new("SpecialMesh",_players[v].Character["Left Leg"])
| |
| 1870 | local rl = Instance.new("SpecialMesh",_players[v].Character["Right Leg"])
| |
| 1871 | while true do wait() | |
| 1872 | h.MeshType = meshes[math.random(1,#meshes)] | |
| 1873 | h.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
| 1874 | h.Parent.BrickColor = BrickColor.Random() | |
| 1875 | t.MeshType = meshes[math.random(1,#meshes)] | |
| 1876 | t.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
| 1877 | t.Parent.BrickColor = BrickColor.Random() | |
| 1878 | la.MeshType = meshes[math.random(1,#meshes)] | |
| 1879 | la.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
| 1880 | la.Parent.BrickColor = BrickColor.Random() | |
| 1881 | ra.MeshType = meshes[math.random(1,#meshes)] | |
| 1882 | ra.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
| 1883 | ra.Parent.BrickColor = BrickColor.Random() | |
| 1884 | ll.MeshType = meshes[math.random(1,#meshes)] | |
| 1885 | ll.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
| 1886 | ll.Parent.BrickColor = BrickColor.Random() | |
| 1887 | rl.MeshType = meshes[math.random(1,#meshes)] | |
| 1888 | rl.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1); | |
| 1889 | rl.Parent.BrickColor = BrickColor.Random() | |
| 1890 | end end) end end) | |
| 1891 | ||
| 1892 | addcmd('chickenarms', 'I can fly!!1',{'chicken'},
| |
| 1893 | function(args, speaker) | |
| 1894 | local players = getPlayer(args[1], speaker) | |
| 1895 | for i,v in pairs(players)do | |
| 1896 | spawn(function() | |
| 1897 | local Chicken = _players[v].Character | |
| 1898 | 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) | |
| 1899 | Chicken.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0) | |
| 1900 | 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) | |
| 1901 | Chicken.Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0) | |
| 1902 | end) end end) | |
| 1903 | ||
| 1904 | addcmd('esp', 'view a player and a players status',{},
| |
| 1905 | function(args, speaker) | |
| 1906 | if speaker.userId ~= LP.userId then | |
| 1907 | lponly(speaker) | |
| 1908 | else | |
| 1909 | local players = getPlayer(args[1], speaker) | |
| 1910 | for i,v in pairs(players)do | |
| 1911 | spawn(function() | |
| 1912 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
| 1913 | if child.Name == gPlayers[v].Name then | |
| 1914 | child:Destroy() | |
| 1915 | end end wait(0.5) | |
| 1916 | local m = game["Players"].LocalPlayer:GetMouse() | |
| 1917 | local rs = game:GetService("RunService").RenderStepped
| |
| 1918 | local espplr = gPlayers[v] | |
| 1919 | if espplr.Character and espplr.Name ~= _players.LocalPlayer.Name then | |
| 1920 | for b,n in pairs (espplr.Character:GetChildren()) do | |
| 1921 | if (n:IsA("BasePart")) then
| |
| 1922 | local a = Instance.new("BoxHandleAdornment", game.CoreGui)
| |
| 1923 | a.Name = espplr.Name | |
| 1924 | a.Adornee = n | |
| 1925 | a.AlwaysOnTop = true | |
| 1926 | a.ZIndex = 0 | |
| 1927 | a.Size = n.Size | |
| 1928 | a.Transparency = 0.7 | |
| 1929 | local resetting = false | |
| 1930 | if espplr.TeamColor == _players.LocalPlayer.TeamColor then | |
| 1931 | a.Color = BrickColor.new("Lime green")
| |
| 1932 | else | |
| 1933 | a.Color = BrickColor.new("Really red")
| |
| 1934 | end | |
| 1935 | if espplr.Character and espplr.Character:FindFirstChild('Head') then
| |
| 1936 | local BillboardGui = Instance.new("BillboardGui", game.CoreGui)
| |
| 1937 | local TextLabel = Instance.new("TextLabel")
| |
| 1938 | BillboardGui.Adornee = espplr.Character.Head | |
| 1939 | BillboardGui.Name = espplr.Name | |
| 1940 | BillboardGui.Size = UDim2.new(0, 100, 0, 150) | |
| 1941 | BillboardGui.StudsOffset = Vector3.new(0, 1, 0) | |
| 1942 | BillboardGui.AlwaysOnTop = true | |
| 1943 | TextLabel.Parent = BillboardGui | |
| 1944 | TextLabel.BackgroundTransparency = 1 | |
| 1945 | TextLabel.Position = UDim2.new(0, 0, 0, -50) | |
| 1946 | TextLabel.Size = UDim2.new(0, 100, 0, 100) | |
| 1947 | TextLabel.Font = Enum.Font.SourceSansSemibold | |
| 1948 | TextLabel.TextSize = 20 | |
| 1949 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
| 1950 | TextLabel.TextStrokeTransparency = 0 | |
| 1951 | TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom | |
| 1952 | espplr.Character:WaitForChild("Humanoid").Died:connect(function()
| |
| 1953 | BillboardGui:Destroy() a:Destroy() end) | |
| 1954 | _players.PlayerRemoving:connect(function(player) | |
| 1955 | if player.Name == espplr.Name then | |
| 1956 | BillboardGui:Destroy() a:Destroy() | |
| 1957 | end end) | |
| 1958 | game:GetService("RunService").RenderStepped:Connect(function()
| |
| 1959 | 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
| |
| 1960 | local pos = math.floor((_players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude) | |
| 1961 | TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos else | |
| 1962 | BillboardGui:Destroy() a:Destroy() end end) | |
| 1963 | end | |
| 1964 | end | |
| 1965 | end | |
| 1966 | end | |
| 1967 | end) | |
| 1968 | end | |
| 1969 | end | |
| 1970 | end) | |
| 1971 | ||
| 1972 | addcmd('noesp', 'removes esp',{'unesp'},
| |
| 1973 | function(args, speaker) | |
| 1974 | if speaker.userId ~= LP.userId then | |
| 1975 | lponly(speaker) | |
| 1976 | else | |
| 1977 | local players = getPlayer(args[1], speaker) | |
| 1978 | for i,v in pairs(players)do | |
| 1979 | spawn(function() | |
| 1980 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
| 1981 | if child.Name == gPlayers[v].Name then | |
| 1982 | child:Destroy() | |
| 1983 | end | |
| 1984 | end end) end end end) | |
| 1985 | ||
| 1986 | addcmd('nofire', 'extinguish a player',{'unfire'},
| |
| 1987 | function(args, speaker) | |
| 1988 | local players = getPlayer(args[1], speaker) | |
| 1989 | for i,v in pairs(players)do | |
| 1990 | local pchar=_char(v) | |
| 1991 | for j,v1 in pairs(pchar:GetDescendants()) do | |
| 1992 | if v1:IsA("Fire") then
| |
| 1993 | v1:Destroy() | |
| 1994 | end end end end) | |
| 1995 | ||
| 1996 | addcmd('shiny', 'makes a player shine',{},
| |
| 1997 | function(args, speaker) | |
| 1998 | local players = getPlayer(args[1], speaker) | |
| 1999 | for i,v in pairs(players)do | |
| 2000 | spawn(function() | |
| 2001 | local pchar=_char(v) | |
| 2002 | for i,v in pairs(pchar:GetChildren()) do | |
| 2003 | if v.ClassName == "Decal" or v.ClassName == "Texture" then | |
| 2004 | v:Destroy() end | |
| 2005 | if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then | |
| 2006 | v.Reflectance = 1 | |
| 2007 | v.Material = "Plastic" | |
| 2008 | end | |
| 2009 | end | |
| 2010 | end) | |
| 2011 | end | |
| 2012 | end) | |
| 2013 | ||
| 2014 | addcmd('light', 'givs em light',{},
| |
| 2015 | function(args, speaker) | |
| 2016 | local players = getPlayer(args[1], speaker) | |
| 2017 | for i,v in pairs(players)do | |
| 2018 | spawn(function() | |
| 2019 | local pchar=_char(v) | |
| 2020 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
| 2021 | if v1:IsA("PointLight") then
| |
| 2022 | v1:Destroy() | |
| 2023 | end | |
| 2024 | end | |
| 2025 | local light = Instance.new("PointLight", pchar.HumanoidRootPart)
| |
| 2026 | light.Range = 12 | |
| 2027 | light.Brightness = 3 | |
| 2028 | if not args[2] then return end | |
| 2029 | light.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 2030 | light.Range = 12 | |
| 2031 | light.Brightness = 3 | |
| 2032 | end) | |
| 2033 | end | |
| 2034 | end) | |
| 2035 | ||
| 2036 | bottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508")
| |
| 2037 | addcmd('begone', 'BEGONE THOT',{'thot'},
| |
| 2038 | function(args, speaker) | |
| 2039 | local players = getPlayer(args[1], speaker) | |
| 2040 | for i,v in pairs(players)do | |
| 2041 | spawn(function() | |
| 2042 | local thotbottle = bottle:Clone() | |
| 2043 | local pchar=_char(v) | |
| 2044 | thotbottle.Name = 'THOT BEGONE' | |
| 2045 | thotbottle.Handle:Destroy() | |
| 2046 | execCmd('freeze '..gPlayers[v].Name)
| |
| 2047 | execCmd('name '..gPlayers[v].Name..' THOT')
| |
| 2048 | execCmd('spasm '..gPlayers[v].Name)
| |
| 2049 | thotbottle.Parent = pchar | |
| 2050 | thotbottle:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(0, 0, 7)) | |
| 2051 | local cf = pchar.HumanoidRootPart.CFrame | |
| 2052 | local newcf = cf + cf.lookVector * 6 | |
| 2053 | thotbottle.Head.CFrame = newcf | |
| 2054 | local s = Instance.new("Sound")
| |
| 2055 | s.Name = "BEGONE" | |
| 2056 | s.SoundId = "http://www.roblox.com/asset/?id=1095911222" | |
| 2057 | s.Volume = 10 | |
| 2058 | s.Parent = thotbottle | |
| 2059 | s:play() | |
| 2060 | local d = Instance.new("Sound")
| |
| 2061 | d.Name = "WuOOOH" | |
| 2062 | d.SoundId = "http://www.roblox.com/asset/?id=253143032" | |
| 2063 | d.Volume = 5 | |
| 2064 | d.Parent = pchar | |
| 2065 | wait(4) | |
| 2066 | if gPlayers[v] then | |
| 2067 | execCmd('thaw '..gPlayers[v].Name)
| |
| 2068 | execCmd('fling '..gPlayers[v].Name)
| |
| 2069 | thotbottle:Destroy() | |
| 2070 | d:play() | |
| 2071 | end if gPlayers[v] then | |
| 2072 | wait(3) | |
| 2073 | execCmd('explode '..gPlayers[v].Name)
| |
| 2074 | pchar:BreakJoints() end | |
| 2075 | end) | |
| 2076 | end | |
| 2077 | end) | |
| 2078 | ||
| 2079 | addcmd('glowstick', 'givs em glo stik',{},
| |
| 2080 | function(args, speaker) | |
| 2081 | local players = getPlayer(args[1], speaker) | |
| 2082 | for i,v in pairs(players)do | |
| 2083 | spawn(function() | |
| 2084 | System = {}
| |
| 2085 | System.Create = function(a, c) | |
| 2086 | local e = Instance.new(a) | |
| 2087 | for d, a in pairs(c) do | |
| 2088 | local b, a = ypcall(function() | |
| 2089 | return e[d] | |
| 2090 | end) | |
| 2091 | if b then | |
| 2092 | e[d] = c[d] | |
| 2093 | end | |
| 2094 | end | |
| 2095 | return e | |
| 2096 | end | |
| 2097 | function b(d, b) | |
| 2098 | local c = getfenv(d) | |
| 2099 | local a = setmetatable({}, {
| |
| 2100 | __index = function(a, a) | |
| 2101 | if a:lower() == 'script' then | |
| 2102 | return b | |
| 2103 | else | |
| 2104 | return c[a] | |
| 2105 | end | |
| 2106 | - | local thotbottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508")
|
| 2106 | + | |
| 2107 | - | local pchar=_char(v) |
| 2107 | + | |
| 2108 | setfenv(d, a) | |
| 2109 | ypcall(function() | |
| 2110 | d() | |
| 2111 | end) | |
| 2112 | end | |
| 2113 | c = {}
| |
| 2114 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 2115 | mas.Name = "CompiledModel" | |
| 2116 | o1 = System.Create("Tool",{
| |
| 2117 | ["Name"] = "Glow Stick", | |
| 2118 | ["Parent"] = mas, | |
| 2119 | ["GripPos"] = Vector3.new(0, -0.300000012, 0), | |
| 2120 | ["CanBeDropped"] = false, | |
| 2121 | }) | |
| 2122 | o2 = System.Create("Part",{
| |
| 2123 | ["Name"] = "Handle", | |
| 2124 | ["Parent"] = o1, | |
| 2125 | ["Transparency"] = 0.10000000149012, | |
| 2126 | ["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056), | |
| 2127 | ["Rotation"] = Vector3.new(-180, 0, 0), | |
| 2128 | ["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
| 2129 | ["FormFactor"] = Enum.FormFactor.Custom, | |
| 2130 | ["Size"] = Vector3.new(0.200000033, 1.80000019, 1), | |
| 2131 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
| 2132 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
| 2133 | ["Material"] = "Neon", | |
| 2134 | }) | |
| 2135 | o3 = System.Create("PointLight",{
| |
| 2136 | ["Parent"] = o2, | |
| 2137 | ["Brightness"] = 8, | |
| 2138 | ["Range"] = 14, | |
| 2139 | }) | |
| 2140 | o4 = System.Create("CylinderMesh",{
| |
| 2141 | ["Parent"] = o2, | |
| 2142 | }) | |
| 2143 | if not args[2] then | |
| 2144 | o2.Color = Color3.new(1,1,1) | |
| 2145 | o3.Color = Color3.new(1,1,1) else | |
| 2146 | o2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 2147 | o3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end | |
| 2148 | mas.Parent = workspace | |
| 2149 | mas:MakeJoints() | |
| 2150 | local b = mas:GetChildren() | |
| 2151 | for a = 1, #b do | |
| 2152 | b[a].Parent = gPlayers[v].Backpack | |
| 2153 | ypcall(function() | |
| 2154 | b[a]:MakeJoints() | |
| 2155 | end) | |
| 2156 | end | |
| 2157 | mas:Destroy() | |
| 2158 | for a = 1, #c do | |
| 2159 | coroutine.resume(c[a]) | |
| 2160 | end | |
| 2161 | end) | |
| 2162 | end | |
| 2163 | end) | |
| 2164 | ||
| 2165 | addcmd('keybind','Binds a command to a key',{},
| |
| 2166 | function(args,speaker) | |
| 2167 | if speaker.userId ~= LP.userId then | |
| 2168 | lponly(speaker) else | |
| 2169 | if #args < 2 then return end | |
| 2170 | local key = string.lower(args[1]) | |
| 2171 | if #key > 1 or key == cmdbarbind then return end | |
| 2172 | local cmdText = GLS(false,1) | |
| 2173 | local cas = game:GetService("ContextActionService")
| |
| 2174 | cas:BindAction("Keybind"..key,function(action,state,obj)
| |
| 2175 | if state == Enum.UserInputState.Begin then | |
| 2176 | execCmd(cmdText,speaker) | |
| 2177 | end | |
| 2178 | end,false,key) | |
| 2179 | Notify("Binded "..cmdText.." to "..key)
| |
| 2180 | end | |
| 2181 | end) | |
| 2182 | ||
| 2183 | addcmd('unkeybind','Removes a binded command from a key',{'unbind'},
| |
| 2184 | function(args,speaker) | |
| 2185 | if speaker.userId ~= LP.userId then | |
| 2186 | lponly(speaker) else | |
| 2187 | if #args < 1 then return end | |
| 2188 | local key = string.lower(args[1]) | |
| 2189 | game:GetService("ContextActionService"):UnbindAction("Keybind"..key)
| |
| 2190 | Notify("Unbinded "..key)
| |
| 2191 | end | |
| 2192 | end) | |
| 2193 | ||
| 2194 | ||
| 2195 | ||
| 2196 | ||
| 2197 | ||
| 2198 | addcmd('trail', 'spawns a trail behind a player',{},
| |
| 2199 | function(args, speaker) | |
| 2200 | local players = getPlayer(args[1], speaker) | |
| 2201 | for i,v in pairs(players)do | |
| 2202 | spawn(function() | |
| 2203 | local pchar=_char(v) | |
| 2204 | for j,v1 in pairs(pchar.Torso:GetChildren()) do | |
| 2205 | if v1.Name == "TRAIL" then | |
| 2206 | v1:Destroy() | |
| 2207 | end | |
| 2208 | end | |
| 2209 | if args[2] then | |
| 2210 | color1 = Color3.fromRGB(args[2],args[3],args[4]) | |
| 2211 | color2 = Color3.new(0,0,0) else | |
| 2212 | color1 = Color3.new(1,1,1) | |
| 2213 | color2 = Color3.new(0,0,0) end | |
| 2214 | if pchar:FindFirstChild("Torso") then
| |
| 2215 | local e = Instance.new("Trail", pchar.Torso)
| |
| 2216 | e.Name = "TRAIL" | |
| 2217 | e.FaceCamera = true | |
| 2218 | e.Color = ColorSequence.new(color1,color2) | |
| 2219 | e.Attachment0 = pchar.Torso.WaistCenterAttachment | |
| 2220 | e.Attachment1 = pchar.Torso.NeckAttachment | |
| 2221 | end | |
| 2222 | end) | |
| 2223 | end | |
| 2224 | end) | |
| 2225 | ||
| 2226 | addcmd('untrail', 'deletes the trail behind a player',{'notrail'},
| |
| 2227 | function(args, speaker) | |
| 2228 | local players = getPlayer(args[1], speaker) | |
| 2229 | for i,v in pairs(players)do | |
| 2230 | spawn(function() | |
| 2231 | local pchar=_char(v) | |
| 2232 | for j,v1 in pairs(pchar.Torso:GetChildren()) do | |
| 2233 | if v1.Name == "TRAIL" then | |
| 2234 | v1:Destroy() | |
| 2235 | end | |
| 2236 | end | |
| 2237 | end) | |
| 2238 | end | |
| 2239 | end) | |
| 2240 | ||
| 2241 | local fa = false | |
| 2242 | local cam = workspace.CurrentCamera | |
| 2243 | local cam1 = 0 | |
| 2244 | local cam2 = 0 | |
| 2245 | local cam3 = 0 | |
| 2246 | local k1 = false | |
| 2247 | local k2 = false | |
| 2248 | local k3 = false | |
| 2249 | local k4 = false | |
| 2250 | local k5 = false | |
| 2251 | local k6 = false | |
| 2252 | cs = 0.5 | |
| 2253 | function movecam() | |
| 2254 | local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
| |
| 2255 | if fa == false then | |
| 2256 | repeat | |
| 2257 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
| |
| 2258 | local fp = fc.Position | |
| 2259 | fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1) | |
| 2260 | fa = true | |
| 2261 | end | |
| 2262 | game:GetService('RunService').RenderStepped:Wait()
| |
| 2263 | until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
| |
| 2264 | fa = false | |
| 2265 | end | |
| 2266 | end | |
| 2267 | function kp1(inputObject, gameProcessedEvent) | |
| 2268 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
| |
| 2269 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
| 2270 | k1 = true | |
| 2271 | cam1 = cs end | |
| 2272 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
| 2273 | k2 = true | |
| 2274 | cam1 = (cs*-1) end | |
| 2275 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
| 2276 | k3 = true | |
| 2277 | cam2 = cs end | |
| 2278 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
| 2279 | k4 = true | |
| 2280 | cam2 = (cs*-1) end | |
| 2281 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
| 2282 | k5 = true | |
| 2283 | cam3 = cs end | |
| 2284 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
| 2285 | k6 = true | |
| 2286 | cam3 = (cs*-1) end | |
| 2287 | end | |
| 2288 | end | |
| 2289 | game:GetService("UserInputService").InputBegan:connect(kp1)
| |
| 2290 | function kp2(inputObject, gameProcessedEvent) | |
| 2291 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
| |
| 2292 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
| 2293 | k1 = false | |
| 2294 | if k2 == false then | |
| 2295 | cam1 = 0 | |
| 2296 | end | |
| 2297 | end | |
| 2298 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
| 2299 | k2 = false | |
| 2300 | if k1 == false then | |
| 2301 | cam1 = 0 | |
| 2302 | end | |
| 2303 | end | |
| 2304 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
| 2305 | k3= false | |
| 2306 | if k4== false then | |
| 2307 | cam2 = 0 | |
| 2308 | end | |
| 2309 | end | |
| 2310 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
| 2311 | k4 = false | |
| 2312 | if k3 == false then | |
| 2313 | cam2 = 0 | |
| 2314 | end | |
| 2315 | end | |
| 2316 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
| 2317 | k5 = false | |
| 2318 | if k6 == false then | |
| 2319 | cam3 = 0 | |
| 2320 | end | |
| 2321 | end | |
| 2322 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
| 2323 | k6 = false | |
| 2324 | if k5 == false then | |
| 2325 | cam3 = 0 | |
| 2326 | end | |
| 2327 | end | |
| 2328 | end | |
| 2329 | end | |
| 2330 | game:GetService("UserInputService").InputEnded:connect(kp2)
| |
| 2331 | function FC() | |
| 2332 | if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
| |
| 2333 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
| |
| 2334 | local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
| |
| 2335 | fc.CanCollide = false | |
| 2336 | fc.Anchored = true | |
| 2337 | fc.Transparency = 1 | |
| 2338 | fc.Size = Vector3.new(1,1,1) | |
| 2339 | fc.Name = 'xFC' | |
| 2340 | fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
| |
| 2341 | local cam = workspace.CurrentCamera | |
| 2342 | cam.CameraSubject = fc | |
| 2343 | cam.CameraType = 'Custom' | |
| 2344 | movecam() | |
| 2345 | end end | |
| 2346 | function UFC() | |
| 2347 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
| |
| 2348 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
| |
| 2349 | game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
| |
| 2350 | local cam = workspace.CurrentCamera | |
| 2351 | cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
| |
| 2352 | cam.CameraType = 'Custom' | |
| 2353 | end end | |
| 2354 | ||
| 2355 | addcmd('freecam','freecam',{'fc'},
| |
| 2356 | function(args, speaker) | |
| 2357 | if speaker.userId ~= LP.userId then | |
| 2358 | lponly(speaker) | |
| 2359 | else | |
| 2360 | FC() | |
| 2361 | end | |
| 2362 | end) | |
| 2363 | ||
| 2364 | addcmd('fixcam','fixes camera',{},
| |
| 2365 | function(args, speaker) | |
| 2366 | if speaker.userId ~= LP.userId then | |
| 2367 | lponly(speaker) | |
| 2368 | else | |
| 2369 | workspace.CurrentCamera:remove() | |
| 2370 | wait(.1) | |
| 2371 | workspace.CurrentCamera.CameraSubject = LP.Character.Humanoid | |
| 2372 | workspace.CurrentCamera.CameraType = "Custom" | |
| 2373 | LP.CameraMinZoomDistance = 0.5 | |
| 2374 | LP.CameraMaxZoomDistance = 400 | |
| 2375 | LP.CameraMode = "Classic" | |
| 2376 | end | |
| 2377 | end) | |
| 2378 | ||
| 2379 | addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'},
| |
| 2380 | function(args, speaker) | |
| 2381 | local players = getPlayer(args[1], speaker) | |
| 2382 | for i,v in pairs(players)do | |
| 2383 | local pchar=_char(v) | |
| 2384 | local char = pchar | |
| 2385 | local hum = char.Humanoid | |
| 2386 | for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end
| |
| 2387 | hum.HealthDisplayDistance = 0 | |
| 2388 | --execcmd god | |
| 2389 | local stake = Instance.new("Part",char)
| |
| 2390 | stake.Anchored = true | |
| 2391 | stake.BrickColor = BrickColor.new("Reddish brown")
| |
| 2392 | stake.Material = "Wood" | |
| 2393 | stake.Size = Vector3.new(1,7,1) | |
| 2394 | stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1) | |
| 2395 | local hay = Instance.new("Part",char)
| |
| 2396 | hay.Anchored = true | |
| 2397 | hay.Material = "Grass" | |
| 2398 | hay.BrickColor = BrickColor.new("New Yeller")
| |
| 2399 | hay.Size = Vector3.new(6,1,5) | |
| 2400 | hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0) | |
| 2401 | local hay2 = hay:clone() | |
| 2402 | hay2.Parent = char | |
| 2403 | hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0) | |
| 2404 | local fire = Instance.new("Fire",hay)
| |
| 2405 | fire.Enabled = false | |
| 2406 | fire.Heat = 25 | |
| 2407 | fire.Size = 2 | |
| 2408 | fire.Color = Color3.new(170/255,85/255,0) | |
| 2409 | local smoke = Instance.new("Smoke",hay)
| |
| 2410 | smoke.Enabled = false | |
| 2411 | smoke.Opacity = 1 | |
| 2412 | smoke.RiseVelocity = 25 | |
| 2413 | smoke.Size = 15 | |
| 2414 | smoke.Color = Color3.new(0,0,0) | |
| 2415 | local light = Instance.new("PointLight",hay)
| |
| 2416 | light.Color = Color3.new(170/255,85/255,0) | |
| 2417 | light.Range = 0 | |
| 2418 | light.Brightness = 1 | |
| 2419 | light.Enabled = false | |
| 2420 | --[[]] | |
| 2421 | local crack = Instance.new("Sound",hay)
| |
| 2422 | crack.SoundId = "rbxassetid://239443642" | |
| 2423 | crack.Looped = true | |
| 2424 | crack.Volume = 0 | |
| 2425 | local scream = Instance.new("Sound",char.Torso)
| |
| 2426 | scream.SoundId = "rbxassetid://264227115" | |
| 2427 | scream.Looped = true | |
| 2428 | scream.Volume = 0 | |
| 2429 | --]] | |
| 2430 | wait() | |
| 2431 | char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5) | |
| 2432 | char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5) | |
| 2433 | ||
| 2434 | local bods = char['Body Colors'] | |
| 2435 | local colors = {
| |
| 2436 | --"Really red"; | |
| 2437 | "Bright red"; | |
| 2438 | "Crimson"; | |
| 2439 | "Maroon"; | |
| 2440 | "Really black"; | |
| 2441 | } | |
| 2442 | ||
| 2443 | fire.Enabled=true | |
| 2444 | smoke.Enabled=true | |
| 2445 | light.Enabled=true | |
| 2446 | crack:Play() | |
| 2447 | scream:Play() | |
| 2448 | scream.Pitch = 0.8 | |
| 2449 | --scream.Volume = 0.5 | |
| 2450 | for i=1,30 do | |
| 2451 | crack.Volume = crack.Volume+(1/30) | |
| 2452 | scream.Volume = crack.Volume | |
| 2453 | fire.Size=i | |
| 2454 | smoke.RiseVelocity=i-5 | |
| 2455 | smoke.Size=i/2 | |
| 2456 | light.Range=i*2 | |
| 2457 | wait(1) | |
| 2458 | end | |
| 2459 | ||
| 2460 | for i=1,#colors do | |
| 2461 | bods.HeadColor=BrickColor.new(colors[i]) | |
| 2462 | bods.LeftArmColor=BrickColor.new(colors[i]) | |
| 2463 | bods.LeftLegColor=BrickColor.new(colors[i]) | |
| 2464 | bods.RightArmColor=BrickColor.new(colors[i]) | |
| 2465 | bods.RightLegColor=BrickColor.new(colors[i]) | |
| 2466 | bods.TorsoColor=BrickColor.new(colors[i]) | |
| 2467 | hay.BrickColor=BrickColor.new(colors[i]) | |
| 2468 | hay2.BrickColor=BrickColor.new(colors[i]) | |
| 2469 | stake.BrickColor=BrickColor.new(colors[i]) | |
| 2470 | wait(5) | |
| 2471 | end | |
| 2472 | wait(10) | |
| 2473 | scream.Volume = 0.5 | |
| 2474 | wait(1) | |
| 2475 | scream:Stop() | |
| 2476 | char:BreakJoints() | |
| 2477 | end | |
| 2478 | end) | |
| 2479 | ||
| 2480 | addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'},
| |
| 2481 | function(args, speaker) | |
| 2482 | if speaker.userId ~= LP.userId then | |
| 2483 | lponly(speaker) | |
| 2484 | else | |
| 2485 | UFC() | |
| 2486 | end | |
| 2487 | end) | |
| 2488 | ||
| 2489 | addcmd('freecamspeed','unfreecam',{'fcspeed'},
| |
| 2490 | function(args, speaker) | |
| 2491 | if speaker.userId ~= LP.userId then | |
| 2492 | lponly(speaker) | |
| 2493 | else | |
| 2494 | if isNumber(args[1]) then | |
| 2495 | cs = args[1] | |
| 2496 | end end end) | |
| 2497 | ||
| 2498 | addcmd('nolight', 'no more light',{'unlight'},
| |
| 2499 | function(args, speaker) | |
| 2500 | local players = getPlayer(args[1], speaker) | |
| 2501 | for i,v in pairs(players)do | |
| 2502 | local pchar=_char(v) | |
| 2503 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
| 2504 | if v1:IsA("PointLight") then
| |
| 2505 | v1:Destroy() | |
| 2506 | end | |
| 2507 | end | |
| 2508 | end | |
| 2509 | end) | |
| 2510 | ||
| 2511 | addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'},
| |
| 2512 | function(args, speaker) | |
| 2513 | local players = getPlayer(args[1], speaker) | |
| 2514 | for i,v in pairs(players)do | |
| 2515 | local pchar=_char(v) | |
| 2516 | scale = 10 | |
| 2517 | ||
| 2518 | function weld(tab) | |
| 2519 | local last = nil | |
| 2520 | for i,v in pairs(tab) do | |
| 2521 | if v:IsA("BasePart") then
| |
| 2522 | if last then | |
| 2523 | local w = Instance.new("Weld",last)
| |
| 2524 | w.Part0 = w.Parent | |
| 2525 | w.Part1 = v | |
| 2526 | local pos = last.CFrame:toObjectSpace(v.CFrame) | |
| 2527 | w.C0 = pos | |
| 2528 | end | |
| 2529 | last = v | |
| 2530 | end | |
| 2531 | end | |
| 2532 | end | |
| 2533 | ||
| 2534 | function makeball(pos) | |
| 2535 | local model = Instance.new("Model",workspace)
| |
| 2536 | model.Name = gPlayers[v].Name .. "ball" | |
| 2537 | local rand = BrickColor.Random() | |
| 2538 | pchar.Head.Anchored = true | |
| 2539 | for i=0,340,20 do | |
| 2540 | wait() | |
| 2541 | for z=-90,70,20 do | |
| 2542 | local p = Instance.new("Part",model)
| |
| 2543 | p.formFactor = "Custom" | |
| 2544 | p.BrickColor = rand | |
| 2545 | p.Transparency = 0.5 | |
| 2546 | p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140) | |
| 2547 | p.Anchored = true | |
| 2548 | p.TopSurface = 0 | |
| 2549 | p.BottomSurface = 0 | |
| 2550 | p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2) | |
| 2551 | p:breakJoints() | |
| 2552 | end | |
| 2553 | end | |
| 2554 | weld(model:children()) | |
| 2555 | for i,v in pairs(model:children()) do v.Anchored = false end | |
| 2556 | pchar.Head.Anchored = false | |
| 2557 | model:MakeJoints() | |
| 2558 | end | |
| 2559 | ||
| 2560 | if pchar then | |
| 2561 | makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0)) | |
| 2562 | end | |
| 2563 | end | |
| 2564 | end) | |
| 2565 | ||
| 2566 | addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'},
| |
| 2567 | function(args, speaker) | |
| 2568 | local players = getPlayer(args[1], speaker) | |
| 2569 | for i,v in pairs(players)do | |
| 2570 | local pchar=_char(v) | |
| 2571 | for _, child in pairs( workspace:GetChildren()) do | |
| 2572 | if child.Name == gPlayers[v].Name .. "ball" then | |
| 2573 | child:Destroy() | |
| 2574 | end | |
| 2575 | end | |
| 2576 | end | |
| 2577 | end) | |
| 2578 | ||
| 2579 | local car = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587")
| |
| 2580 | ||
| 2581 | local fastwait = function(time) | |
| 2582 | local expire = tick()+(time or 0.02999999999999999889) | |
| 2583 | while game:GetService("RunService").Heartbeat:wait() do
| |
| 2584 | if tick() >= expire then return true end | |
| 2585 | end | |
| 2586 | end | |
| 2587 | ||
| 2588 | function arrest(name) | |
| 2589 | spawn(function() | |
| 2590 | local p = game:GetService("Players"):FindFirstChild(name)
| |
| 2591 | local char = p.Character | |
| 2592 | local torso = p.Character:FindFirstChild("HumanoidRootPart")
| |
| 2593 | local humanoid = p.Character:FindFirstChild("Humanoid")
| |
| 2594 | if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then
| |
| 2595 | local van = car:Clone() | |
| 2596 | if van then | |
| 2597 | local function check() | |
| 2598 | 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
| |
| 2599 | return false | |
| 2600 | else | |
| 2601 | return true | |
| 2602 | end | |
| 2603 | end | |
| 2604 | ||
| 2605 | --local driver = van.Driver | |
| 2606 | --local grabber = van.Clown | |
| 2607 | local primary = van.Primary | |
| 2608 | --local door = van.Door | |
| 2609 | local tPos = torso.CFrame | |
| 2610 | ||
| 2611 | local sound = Instance.new("Sound",primary)
| |
| 2612 | sound.SoundId = "rbxassetid://258529216" | |
| 2613 | sound.Looped = true | |
| 2614 | sound:Play() | |
| 2615 | ||
| 2616 | local chuckle = Instance.new("Sound",primary)
| |
| 2617 | chuckle.SoundId = "rbxassetid://175964948" | |
| 2618 | chuckle.Looped = true | |
| 2619 | chuckle.Volume = 0.5 | |
| 2620 | chuckle:Play() | |
| 2621 | ||
| 2622 | van.PrimaryPart = van.Primary | |
| 2623 | van.Name = "ADONIS_VAN" | |
| 2624 | van.Parent = workspace | |
| 2625 | humanoid.Name = "NoResetForYou" | |
| 2626 | humanoid.WalkSpeed = 0 | |
| 2627 | sound.Pitch = 1.3 | |
| 2628 | ||
| 2629 | local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace)
| |
| 2630 | music.Name = "COPSONG" | |
| 2631 | music.SoundId = "rbxassetid://132007810" | |
| 2632 | music.Volume = 1 | |
| 2633 | music.Looped = true | |
| 2634 | if not music.Playing then music:Play() end | |
| 2635 | ||
| 2636 | spawn(function() | |
| 2637 | while fastwait(0.2) do | |
| 2638 | van.Body.Lightbar.Red.PointLight.Enabled = true | |
| 2639 | van.Body.Lightbar.Blue.PointLight.Enabled = false | |
| 2640 | fastwait(0.2) | |
| 2641 | van.Body.Lightbar.Red.PointLight.Enabled = false | |
| 2642 | van.Body.Lightbar.Blue.PointLight.Enabled = true | |
| 2643 | end | |
| 2644 | end) | |
| 2645 | ||
| 2646 | for i = 1,200 do | |
| 2647 | if not check() then | |
| 2648 | break | |
| 2649 | else | |
| 2650 | van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0))) | |
| 2651 | fastwait(0.001*(i/5)) | |
| 2652 | end | |
| 2653 | end | |
| 2654 | ||
| 2655 | sound.Pitch = 0.9 | |
| 2656 | ||
| 2657 | - | local van = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587")
|
| 2657 | + | |
| 2658 | if check() then | |
| 2659 | --door.Transparency = 1 | |
| 2660 | end | |
| 2661 | ||
| 2662 | local freeze = Instance.new("Sound",primary)
| |
| 2663 | freeze.SoundId = "rbxassetid://163732279" | |
| 2664 | freeze.Volume = 5 | |
| 2665 | freeze:Play() | |
| 2666 | ||
| 2667 | fastwait(3) | |
| 2668 | ||
| 2669 | if check() then | |
| 2670 | torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0)) | |
| 2671 | end | |
| 2672 | ||
| 2673 | fastwait(0.5) | |
| 2674 | if check() then | |
| 2675 | --door.Transparency = 0 | |
| 2676 | end | |
| 2677 | fastwait(0.5) | |
| 2678 | ||
| 2679 | sound.Pitch = 1.3 | |
| 2680 | local gui = Instance.new("ScreenGui")
| |
| 2681 | local frame = Instance.new("Frame",gui)
| |
| 2682 | frame.BackgroundTransparency = 1 | |
| 2683 | frame.BackgroundColor3 = Color3.new(0,0,0) | |
| 2684 | frame.Position = UDim2.new(0,0,0,-36) | |
| 2685 | frame.Size = UDim2.new(1,0,1,36) | |
| 2686 | spawn(function() | |
| 2687 | for i = 1,0,-0.01 do | |
| 2688 | frame.BackgroundTransparency = i | |
| 2689 | fastwait(0.1) | |
| 2690 | end | |
| 2691 | frame.BackgroundTransparency = 0 | |
| 2692 | end) | |
| 2693 | ||
| 2694 | p.CameraMaxZoomDistance = 0.5 | |
| 2695 | ||
| 2696 | torso.Anchored = true | |
| 2697 | ||
| 2698 | for i = 1,400 do | |
| 2699 | if not check() then | |
| 2700 | break | |
| 2701 | else | |
| 2702 | van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0))) | |
| 2703 | torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0)) | |
| 2704 | fastwait(0.1/(i*5)) | |
| 2705 | ||
| 2706 | if i == 270 then | |
| 2707 | music.Volume = 5 | |
| 2708 | end | |
| 2709 | end | |
| 2710 | end | |
| 2711 | ||
| 2712 | local function KICK(P) | |
| 2713 | spawn(function() | |
| 2714 | if not FindTable(WL, P.Name) then | |
| 2715 | for i = 1,5 do | |
| 2716 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
| |
| 2717 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
| 2718 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
| |
| 2719 | spawn(function() | |
| 2720 | repeat fastwait() | |
| 2721 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
| |
| 2722 | until not game:GetService("Players"):FindFirstChild(P.Name)
| |
| 2723 | end) | |
| 2724 | P.Character.HumanoidRootPart.Anchored = true | |
| 2725 | end | |
| 2726 | end | |
| 2727 | end | |
| 2728 | end) | |
| 2729 | end | |
| 2730 | ||
| 2731 | if p and p.Parent == game:GetService("Players") then
| |
| 2732 | if p == game:GetService("Players").LocalPlayer then
| |
| 2733 | fastwait(5) | |
| 2734 | end | |
| 2735 | torso.Anchored = false | |
| 2736 | p.CharacterAdded:Connect(function() | |
| 2737 | fastwait() | |
| 2738 | KICK(p) | |
| 2739 | end) | |
| 2740 | KICK(p) | |
| 2741 | end | |
| 2742 | fastwait(0.5) | |
| 2743 | pcall(function() van:Destroy() end) | |
| 2744 | pcall(function() gui:Destroy() end) | |
| 2745 | if not workspace:FindFirstChild("ADONIS_VAN") then
| |
| 2746 | music:Destroy() | |
| 2747 | end | |
| 2748 | end | |
| 2749 | end | |
| 2750 | end) | |
| 2751 | end | |
| 2752 | ||
| 2753 | addcmd('arrest', 'arrests player',{},
| |
| 2754 | function(args, speaker) | |
| 2755 | local players = getPlayer(args[1], speaker) | |
| 2756 | for i,v in pairs(players)do | |
| 2757 | arrest(gPlayers[v].Name) | |
| 2758 | end | |
| 2759 | end) | |
| 2760 | ||
| 2761 | addcmd('nodummies', 'clears dummies',{},
| |
| 2762 | function(args, speaker) | |
| 2763 | for _, child in pairs( workspace:GetChildren()) do | |
| 2764 | if child:FindFirstChild('isdummy') then
| |
| 2765 | child:Destroy() | |
| 2766 | end | |
| 2767 | end | |
| 2768 | end) | |
| 2769 | ||
| 2770 | addcmd('dummy','Make a dummy(usage: ;dummy name)',{},
| |
| 2771 | function(args, speaker) | |
| 2772 | local name = GLS(false, 0) | |
| 2773 | local lchar = game:GetService('Players').LocalPlayer
| |
| 2774 | local Model0 = Instance.new("Model")
| |
| 2775 | local Part1 = Instance.new("Part")
| |
| 2776 | local SpecialMesh2 = Instance.new("SpecialMesh")
| |
| 2777 | local Decal3 = Instance.new("Decal")
| |
| 2778 | local Part4 = Instance.new("Part")
| |
| 2779 | local Motor5 = Instance.new("Motor")
| |
| 2780 | local Motor6 = Instance.new("Motor")
| |
| 2781 | local Motor7 = Instance.new("Motor")
| |
| 2782 | local Motor8 = Instance.new("Motor")
| |
| 2783 | local Motor9 = Instance.new("Motor")
| |
| 2784 | local Part10 = Instance.new("Part")
| |
| 2785 | local Part11 = Instance.new("Part")
| |
| 2786 | local Part12 = Instance.new("Part")
| |
| 2787 | local Part13 = Instance.new("Part")
| |
| 2788 | local dum = Instance.new("BoolValue")
| |
| 2789 | dum.Name = "isdummy" | |
| 2790 | dum.Parent = Model0 | |
| 2791 | local Humanoid14 = Instance.new("Humanoid")
| |
| 2792 | Model0.Name = name | |
| 2793 | Model0.Parent = workspace | |
| 2794 | Model0.PrimaryPart = Part1 | |
| 2795 | Part1.Name = "Head" | |
| 2796 | Part1.Parent = Model0 | |
| 2797 | Part1.BrickColor = BrickColor.new("Bright yellow")
| |
| 2798 | Part1.CanCollide = false | |
| 2799 | Part1.FormFactor = Enum.FormFactor.Symmetric | |
| 2800 | Part1.Friction = 0 | |
| 2801 | Part1.Size = Vector3.new(2, 1, 1) | |
| 2802 | Part1.CFrame = CFrame.new(3.49000192, 4.49999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2803 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
| 2804 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
| 2805 | Part1.Position = Vector3.new(3.49000192, 4.49999905, 7.75) | |
| 2806 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
| 2807 | SpecialMesh2.Parent = Part1 | |
| 2808 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 2809 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 2810 | Decal3.Name = "face" | |
| 2811 | Decal3.Parent = Part1 | |
| 2812 | Decal3.Texture = "rbxasset://textures/face.png" | |
| 2813 | Part4.Name = "Torso" | |
| 2814 | Part4.Parent = Model0 | |
| 2815 | Part4.BrickColor = BrickColor.new("Bright blue")
| |
| 2816 | Part4.CanCollide = false | |
| 2817 | Part4.FormFactor = Enum.FormFactor.Symmetric | |
| 2818 | Part4.Friction = 0 | |
| 2819 | Part4.Size = Vector3.new(2, 2, 1) | |
| 2820 | Part4.CFrame = CFrame.new(3.49000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2821 | Part4.LeftSurface = Enum.SurfaceType.Weld | |
| 2822 | Part4.RightSurface = Enum.SurfaceType.Weld | |
| 2823 | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
| 2824 | Part4.Position = Vector3.new(3.49000192, 2.99999905, 7.75) | |
| 2825 | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
| 2826 | Motor5.Name = "Right Shoulder" | |
| 2827 | Motor5.Parent = Part4 | |
| 2828 | Motor5.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2829 | Motor5.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2830 | Motor5.Part0 = Part4 | |
| 2831 | Motor5.Part1 = Part11 | |
| 2832 | Motor5.DesiredAngle = 0.083800852298737 | |
| 2833 | Motor5.MaxVelocity = 0.15000000596046 | |
| 2834 | Motor6.Name = "Left Shoulder" | |
| 2835 | Motor6.Parent = Part4 | |
| 2836 | Motor6.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2837 | Motor6.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2838 | Motor6.Part0 = Part4 | |
| 2839 | Motor6.Part1 = Part10 | |
| 2840 | Motor6.DesiredAngle = 0.083800852298737 | |
| 2841 | Motor6.MaxVelocity = 0.15000000596046 | |
| 2842 | Motor7.Name = "Left Hip" | |
| 2843 | Motor7.Parent = Part4 | |
| 2844 | Motor7.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2845 | Motor7.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2846 | Motor7.Part0 = Part4 | |
| 2847 | Motor7.Part1 = Part12 | |
| 2848 | Motor7.DesiredAngle = -0.083800852298737 | |
| 2849 | Motor7.MaxVelocity = 0.10000000149012 | |
| 2850 | Motor8.Name = "Neck" | |
| 2851 | Motor8.Parent = Part4 | |
| 2852 | Motor8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2853 | Motor8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2854 | Motor8.Part0 = Part4 | |
| 2855 | Motor8.Part1 = Part1 | |
| 2856 | Motor8.MaxVelocity = 0.10000000149012 | |
| 2857 | Motor9.Name = "Right Hip" | |
| 2858 | Motor9.Parent = Part4 | |
| 2859 | Motor9.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2860 | Motor9.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2861 | Motor9.Part0 = Part4 | |
| 2862 | Motor9.Part1 = Part13 | |
| 2863 | Motor9.DesiredAngle = -0.083800852298737 | |
| 2864 | Motor9.MaxVelocity = 0.10000000149012 | |
| 2865 | Part10.Name = "Left Arm" | |
| 2866 | Part10.Parent = Model0 | |
| 2867 | Part10.BrickColor = BrickColor.new("Bright yellow")
| |
| 2868 | Part10.CanCollide = false | |
| 2869 | Part10.FormFactor = Enum.FormFactor.Symmetric | |
| 2870 | Part10.Size = Vector3.new(1, 2, 1) | |
| 2871 | Part10.CFrame = CFrame.new(1.99000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2872 | Part10.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
| 2873 | Part10.Position = Vector3.new(1.99000192, 2.99999905, 7.75) | |
| 2874 | Part10.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
| 2875 | Part11.Name = "Right Arm" | |
| 2876 | Part11.Parent = Model0 | |
| 2877 | Part11.BrickColor = BrickColor.new("Bright yellow")
| |
| 2878 | Part11.CanCollide = false | |
| 2879 | Part11.FormFactor = Enum.FormFactor.Symmetric | |
| 2880 | Part11.Size = Vector3.new(1, 2, 1) | |
| 2881 | Part11.CFrame = CFrame.new(4.99000168, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2882 | Part11.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
| 2883 | Part11.Position = Vector3.new(4.99000168, 2.99999905, 7.75) | |
| 2884 | Part11.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
| 2885 | Part12.Name = "Left Leg" | |
| 2886 | Part12.Parent = Model0 | |
| 2887 | Part12.BrickColor = BrickColor.new("Br. yellowish green")
| |
| 2888 | Part12.CanCollide = false | |
| 2889 | Part12.FormFactor = Enum.FormFactor.Symmetric | |
| 2890 | Part12.Size = Vector3.new(1, 2, 1) | |
| 2891 | Part12.CFrame = CFrame.new(2.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2892 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
| 2893 | Part12.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
| 2894 | Part12.Position = Vector3.new(2.99000192, 0.999999046, 7.75) | |
| 2895 | Part12.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
| 2896 | Part13.Name = "Right Leg" | |
| 2897 | Part13.Parent = Model0 | |
| 2898 | Part13.BrickColor = BrickColor.new("Br. yellowish green")
| |
| 2899 | Part13.CanCollide = false | |
| 2900 | Part13.FormFactor = Enum.FormFactor.Symmetric | |
| 2901 | Part13.Size = Vector3.new(1, 2, 1) | |
| 2902 | Part13.CFrame = CFrame.new(3.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2903 | Part13.BottomSurface = Enum.SurfaceType.Smooth | |
| 2904 | Part13.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
| 2905 | Part13.Position = Vector3.new(3.99000192, 0.999999046, 7.75) | |
| 2906 | Part13.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
| 2907 | Humanoid14.Parent = Model0 | |
| 2908 | Humanoid14.RightLeg = Part13 | |
| 2909 | Humanoid14.LeftLeg = Part12 | |
| 2910 | Humanoid14.Torso = Part4 | |
| 2911 | Model0:MoveTo(game:GetService('Players').LocalPlayer.Character:GetModelCFrame().p)
| |
| 2912 | Model0.Parent = game:GetService('Workspace')
| |
| 2913 | end) | |
| 2914 | ||
| 2915 | addcmd('loopkill', 'rip person',{'lkill'},
| |
| 2916 | function(args, speaker) | |
| 2917 | local players = getPlayer(args[1], speaker) | |
| 2918 | for i,v in pairs(players)do | |
| 2919 | if not FindTable(loopkillT, _players[v].Name) then | |
| 2920 | table.insert(loopkillT, _players[v].Name) | |
| 2921 | if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else
| |
| 2922 | Notify('Loopkilling player(s)') end end end end)
| |
| 2923 | ||
| 2924 | addcmd('unloopkill', 'un rip person',{'unlkill'},
| |
| 2925 | function(args, speaker) | |
| 2926 | local players = getPlayer(args[1], speaker) | |
| 2927 | for i,v in pairs(players)do | |
| 2928 | if FindTable(loopkillT, _players[v].Name) then | |
| 2929 | table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name)) | |
| 2930 | if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else
| |
| 2931 | Notify('No longer loopkilling player(s)') end end end end)
| |
| 2932 | ||
| 2933 | addcmd('disabletools', 'removes their tools',{'loopremovetools'},
| |
| 2934 | function(args, speaker) | |
| 2935 | local players = getPlayer(args[1], speaker) | |
| 2936 | for i,v in pairs(players)do | |
| 2937 | if not FindTable(disabletoolsT, _players[v].Name) then | |
| 2938 | table.insert(disabletoolsT, _players[v].Name) | |
| 2939 | if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else
| |
| 2940 | Notify('Disabled tools for player(s)') end end end end)
| |
| 2941 | ||
| 2942 | addcmd('enabletools', 'lets them have tools',{},
| |
| 2943 | function(args, speaker) | |
| 2944 | local players = getPlayer(args[1], speaker) | |
| 2945 | for i,v in pairs(players)do | |
| 2946 | if FindTable(disabletoolsT, _players[v].Name) then | |
| 2947 | table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) wait(0.1) refresh(_players[v]) | |
| 2948 | if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else
| |
| 2949 | Notify('Enabled tools for player(s)') end end end end)
| |
| 2950 | ||
| 2951 | addcmd('refresh', 'refresh their player model',{'re'},
| |
| 2952 | function(args, speaker) | |
| 2953 | local players = getPlayer(args[1], speaker) | |
| 2954 | for i,v in pairs(players)do | |
| 2955 | refresh(_players[v]) | |
| 2956 | end end) | |
| 2957 | ||
| 2958 | local fastwait = function(time) | |
| 2959 | local expire = tick()+(time or 0.02999999999999999889) | |
| 2960 | while game:GetService("RunService").Heartbeat:wait() do
| |
| 2961 | if tick() >= expire then return true end | |
| 2962 | end | |
| 2963 | end | |
| 2964 | ||
| 2965 | function gull(name) | |
| 2966 | spawn(function() | |
| 2967 | local char = game:GetService("Players")[name].Character
| |
| 2968 | char.PrimaryPart = char.HumanoidRootPart | |
| 2969 | ||
| 2970 | local tors = game:GetService("Players")[name].Character.HumanoidRootPart
| |
| 2971 | local initCFrame = tors.CFrame | |
| 2972 | ||
| 2973 | if char:FindFirstChild("Torso") then
| |
| 2974 | char.Torso.Anchored = true | |
| 2975 | else | |
| 2976 | char.UpperTorso.Anchored = true | |
| 2977 | end | |
| 2978 | char:FindFirstChildOfClass("Humanoid").Name = "Sad"
| |
| 2979 | ||
| 2980 | local gull = Instance.new("Part")
| |
| 2981 | gull.Anchored = true | |
| 2982 | gull.CanCollide = false | |
| 2983 | gull.Position = Vector3.new(0,100000,0) | |
| 2984 | local mesh = Instance.new("SpecialMesh",gull)
| |
| 2985 | mesh.MeshId = "http://www.roblox.com/asset/?id=272501436" | |
| 2986 | mesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
| 2987 | mesh.Scale = Vector3.new(10,10,10) | |
| 2988 | ||
| 2989 | local leftWing = Instance.new("Part",gull)
| |
| 2990 | leftWing.CanCollide = false | |
| 2991 | local lmesh = Instance.new("SpecialMesh",leftWing)
| |
| 2992 | lmesh.MeshId = "http://www.roblox.com/asset/?id=267684584" | |
| 2993 | lmesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
| 2994 | lmesh.Scale = Vector3.new(10,10,10) | |
| 2995 | local leftMotor = Instance.new("Motor6D",gull)
| |
| 2996 | leftMotor.MaxVelocity = 1 | |
| 2997 | leftMotor.Part0 = gull | |
| 2998 | leftMotor.Part1 = leftWing | |
| 2999 | leftMotor.C0 = CFrame.new(-50.2919998, -0.0920021087, 0.280000001) | |
| 3000 | ||
| 3001 | local rightWing = Instance.new("Part",gull)
| |
| 3002 | rightWing.CanCollide = false | |
| 3003 | local rmesh = Instance.new("SpecialMesh",rightWing)
| |
| 3004 | rmesh.MeshId = "http://www.roblox.com/asset/?id=267684651" | |
| 3005 | rmesh.TextureId = "http://www.roblox.com/asset/?id=267684509" | |
| 3006 | rmesh.Scale = Vector3.new(10,10,10) | |
| 3007 | local rightMotor = Instance.new("Motor6D",gull)
| |
| 3008 | rightMotor.MaxVelocity = 1 | |
| 3009 | rightMotor.Part0 = gull | |
| 3010 | rightMotor.Part1 = rightWing | |
| 3011 | rightMotor.C0 = CFrame.new(47.1930008, -0.0670021027, 0.280000001) | |
| 3012 | ||
| 3013 | local sound = Instance.new("Sound",gull)
| |
| 3014 | sound.SoundId = "rbxassetid://160877039" | |
| 3015 | sound.Volume = 10 | |
| 3016 | gull.Parent = workspace | |
| 3017 | ||
| 3018 | for i = 400,-1000,-2 do | |
| 3019 | local der = 0.02*i | |
| 3020 | local angle = math.atan(der/1) | |
| 3021 | gull.CFrame = initCFrame*CFrame.Angles(angle,math.pi,0) + initCFrame.lookVector * (i+5) + Vector3.new(0,0.01*i^2+7,0) | |
| 3022 | if i == 0 then sound:Play() end | |
| 3023 | if i <= 0 then | |
| 3024 | char:SetPrimaryPartCFrame(gull.CFrame) | |
| 3025 | local nextAngle = -0.2*math.sin(0.05*math.pi*(i)) | |
| 3026 | leftMotor.DesiredAngle = -nextAngle | |
| 3027 | leftMotor.C0 = CFrame.new(-50.2919998, 47.193*math.tan(nextAngle), 0.280000001) | |
| 3028 | rightMotor.DesiredAngle = nextAngle | |
| 3029 | rightMotor.C0 = CFrame.new(47.1930008, 47.193*math.tan(nextAngle), 0.280000001) | |
| 3030 | end | |
| 3031 | game:GetService("RunService").RenderStepped:wait()
| |
| 3032 | end | |
| 3033 | ||
| 3034 | local function KICK(P) | |
| 3035 | spawn(function() | |
| 3036 | if not FindTable(WL, P.Name) then | |
| 3037 | for i = 1,5 do | |
| 3038 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
| |
| 3039 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
| 3040 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
| |
| 3041 | spawn(function() | |
| 3042 | repeat wait() | |
| 3043 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
| |
| 3044 | until not game:GetService("Players"):FindFirstChild(P.Name)
| |
| 3045 | end) | |
| 3046 | P.Character.HumanoidRootPart.Anchored = true | |
| 3047 | end | |
| 3048 | end | |
| 3049 | end | |
| 3050 | end) | |
| 3051 | end | |
| 3052 | ||
| 3053 | if char:FindFirstChild("Torso") then
| |
| 3054 | char.Torso.Anchored = false | |
| 3055 | else | |
| 3056 | char.UpperTorso.Anchored = false | |
| 3057 | end | |
| 3058 | ||
| 3059 | spawn(function() | |
| 3060 | if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(5) end
| |
| 3061 | game:GetService("Players")[name].CharacterAdded:Connect(function()
| |
| 3062 | wait() | |
| 3063 | KICK(game:GetService("Players")[name])
| |
| 3064 | end) | |
| 3065 | KICK(game:GetService("Players")[name])
| |
| 3066 | end) | |
| 3067 | ||
| 3068 | local go = Instance.new("BodyVelocity",gull)
| |
| 3069 | go.Velocity = Vector3.new(0,1000,0) | |
| 3070 | go.MaxForce = Vector3.new(1000000,1000000,1000000) | |
| 3071 | gull.Anchored = false | |
| 3072 | end) | |
| 3073 | end | |
| 3074 | ||
| 3075 | addcmd('seagull', 'seagulls player',{'gull'},
| |
| 3076 | function(args, speaker) | |
| 3077 | local players = getPlayer(args[1], speaker) | |
| 3078 | for i,v in pairs(players)do | |
| 3079 | gull(gPlayers[v].Name) | |
| 3080 | end | |
| 3081 | end) | |
| 3082 | ||
| 3083 | local song = nil | |
| 3084 | function zinniaKick(name) | |
| 3085 | spawn(function() | |
| 3086 | if song == nil or song.Parent == nil then | |
| 3087 | song = Instance.new("Sound",workspace)
| |
| 3088 | song.SoundId = "rbxassetid://190423831" | |
| 3089 | song.Volume = 1 | |
| 3090 | song.Looped = true | |
| 3091 | song:Play() | |
| 3092 | end | |
| 3093 | local zin = Instance.new("Part")
| |
| 3094 | zin.Name = "CuteZinnia" | |
| 3095 | zin.Anchored = true | |
| 3096 | zin.CanCollide = false | |
| 3097 | zin.Locked = true | |
| 3098 | local mesh = Instance.new("SpecialMesh")
| |
| 3099 | mesh.MeshId = "rbxassetid://1175670539" | |
| 3100 | mesh.TextureId = "rbxassetid://1175670558" | |
| 3101 | mesh.Scale = Vector3.new(0.05,0.05,0.05) | |
| 3102 | mesh.Offset = Vector3.new(0,0.88,0) | |
| 3103 | mesh.Parent = zin | |
| 3104 | local char = game:GetService("Players")[name].Character
| |
| 3105 | char.PrimaryPart = char.HumanoidRootPart | |
| 3106 | if char:FindFirstChild("Torso") then
| |
| 3107 | char.Torso.Anchored = true | |
| 3108 | else | |
| 3109 | char.UpperTorso.Anchored = true | |
| 3110 | end | |
| 3111 | 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))
| |
| 3112 | zin.Parent = workspace | |
| 3113 | 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)})
| |
| 3114 | tween:Play() | |
| 3115 | fastwait(3) | |
| 3116 | for i = 50,1,-1 do | |
| 3117 | 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))
| |
| 3118 | fastwait() | |
| 3119 | end | |
| 3120 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
| 3121 | fastwait(1) | |
| 3122 | local turns = 0 | |
| 3123 | ||
| 3124 | while turns < 200 do | |
| 3125 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
| 3126 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
| 3127 | turns = turns + 1 | |
| 3128 | fastwait() | |
| 3129 | end | |
| 3130 | for i = 1,10 do | |
| 3131 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
| 3132 | char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0)) | |
| 3133 | fastwait() | |
| 3134 | end | |
| 3135 | local rX,rZ = 0,0 | |
| 3136 | repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000 | |
| 3137 | repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000 | |
| 3138 | local bv = Instance.new("BodyForce",char.HumanoidRootPart)
| |
| 3139 | bv.Force = Vector3.new(rX,10000,rZ) | |
| 3140 | if char:FindFirstChild("Torso") then
| |
| 3141 | char.Torso.Anchored = false | |
| 3142 | else | |
| 3143 | char.UpperTorso.Anchored = false | |
| 3144 | end | |
| 3145 | function KICK(P) | |
| 3146 | spawn(function() | |
| 3147 | if not FindTable(WL, P.Name) then | |
| 3148 | for i = 1,5 do | |
| 3149 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
| |
| 3150 | P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
| 3151 | local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
| |
| 3152 | spawn(function() | |
| 3153 | repeat fastwait() | |
| 3154 | if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
| |
| 3155 | until not game:GetService("Players"):FindFirstChild(P.Name)
| |
| 3156 | end) | |
| 3157 | P.Character.HumanoidRootPart.Anchored = true | |
| 3158 | end | |
| 3159 | end | |
| 3160 | end | |
| 3161 | end) | |
| 3162 | end | |
| 3163 | spawn(function() | |
| 3164 | if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end
| |
| 3165 | game:GetService("Players")[name].CharacterAdded:Connect(function()
| |
| 3166 | fastwait() | |
| 3167 | KICK(game:GetService("Players")[name])
| |
| 3168 | end) | |
| 3169 | KICK(game:GetService("Players")[name])
| |
| 3170 | end) | |
| 3171 | for i = 1,20 do | |
| 3172 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
| 3173 | fastwait() | |
| 3174 | end | |
| 3175 | while turns > 0 do | |
| 3176 | zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0) | |
| 3177 | turns = turns - 5 | |
| 3178 | fastwait() | |
| 3179 | end | |
| 3180 | fastwait(1) | |
| 3181 | zin.Name = "GoneZinnia" | |
| 3182 | local go = Instance.new("BodyVelocity",zin)
| |
| 3183 | go.Velocity = zin.CFrame.lookVector * 100 | |
| 3184 | go.MaxForce = Vector3.new(1000000,1000000,1000000) | |
| 3185 | zin.Anchored = false | |
| 3186 | fastwait(20) | |
| 3187 | if song and not workspace:FindFirstChild("CuteZinnia") then
| |
| 3188 | song:Destroy() | |
| 3189 | song = nil | |
| 3190 | end | |
| 3191 | end) | |
| 3192 | end | |
| 3193 | ||
| 3194 | addcmd('zinnia', 'asdf for moon',{},
| |
| 3195 | function(args, speaker) | |
| 3196 | local players = getPlayer(args[1], speaker) | |
| 3197 | for i,v in pairs(players)do | |
| 3198 | zinniaKick(gPlayers[v].Name) | |
| 3199 | end | |
| 3200 | end) | |
| 3201 | ||
| 3202 | addcmd('rainbowname', 'color spam their name tag',{'rname'},
| |
| 3203 | function(args, speaker) | |
| 3204 | local players = getPlayer(args[1], speaker) | |
| 3205 | for i,v in pairs(players)do | |
| 3206 | if not FindTable(rainbowT, _players[v].Name) then | |
| 3207 | table.insert(rainbowT, _players[v].Name) | |
| 3208 | if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else
| |
| 3209 | Notify('Gave player(s) rainbow name') end end end end)
| |
| 3210 | ||
| 3211 | addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
| |
| 3212 | function(args, speaker) | |
| 3213 | local players = getPlayer(args[1], speaker) | |
| 3214 | for i,v in pairs(players)do | |
| 3215 | if FindTable(rainbowT, _players[v].Name) then | |
| 3216 | table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name)) | |
| 3217 | _players[v].Neutral = true | |
| 3218 | if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else
| |
| 3219 | Notify('Disabled rainbow name for player(s)') end end end end)
| |
| 3220 | ||
| 3221 | addcmd('terrain', 'gives you terrain tools',{'tt'},
| |
| 3222 | function(args, speaker) | |
| 3223 | if speaker.userId ~= LP.userId then | |
| 3224 | lponly(speaker) | |
| 3225 | else | |
| 3226 | --Terrain Script | |
| 3227 | --Edge/IoIman616 | |
| 3228 | ||
| 3229 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do | |
| 3230 | if child.Name == "MaterialGui" then | |
| 3231 | child:Destroy() | |
| 3232 | end | |
| 3233 | end | |
| 3234 | ||
| 3235 | function sandbox(var,func) | |
| 3236 | local env = getfenv(func) | |
| 3237 | local newenv = setmetatable({},{
| |
| 3238 | __index = function(self,k) | |
| 3239 | if k=="script" then | |
| 3240 | return var | |
| 3241 | else | |
| 3242 | return env[k] | |
| 3243 | end | |
| 3244 | end, | |
| 3245 | }) | |
| 3246 | setfenv(func,newenv) | |
| 3247 | return func | |
| 3248 | end | |
| 3249 | cors = {}
| |
| 3250 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 3251 | HopperBin0 = Instance.new("HopperBin")
| |
| 3252 | HopperBin0.Name = "Terrain Build" | |
| 3253 | HopperBin0.Parent = mas | |
| 3254 | for i,v in pairs(mas:GetChildren()) do | |
| 3255 | v.Parent = game:GetService("Players").LocalPlayer.Backpack
| |
| 3256 | pcall(function() v:MakeJoints() end) | |
| 3257 | end | |
| 3258 | mas:Destroy() | |
| 3259 | for i,v in pairs(cors) do | |
| 3260 | spawn(function() | |
| 3261 | pcall(v) | |
| 3262 | end) | |
| 3263 | end | |
| 3264 | ||
| 3265 | wait(0.01) | |
| 3266 | ||
| 3267 | function sandbox(var,func) | |
| 3268 | local env = getfenv(func) | |
| 3269 | local newenv = setmetatable({},{
| |
| 3270 | __index = function(self,k) | |
| 3271 | if k=="script" then | |
| 3272 | return var | |
| 3273 | else | |
| 3274 | return env[k] | |
| 3275 | end | |
| 3276 | end, | |
| 3277 | }) | |
| 3278 | setfenv(func,newenv) | |
| 3279 | return func | |
| 3280 | end | |
| 3281 | cors = {}
| |
| 3282 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 3283 | ScreenGui0 = Instance.new("ScreenGui")
| |
| 3284 | ImageLabel1 = Instance.new("ImageLabel")
| |
| 3285 | ImageButton2 = Instance.new("ImageButton")
| |
| 3286 | Frame3 = Instance.new("Frame")
| |
| 3287 | NumberValue4 = Instance.new("NumberValue")
| |
| 3288 | ImageButton5 = Instance.new("ImageButton")
| |
| 3289 | Frame6 = Instance.new("Frame")
| |
| 3290 | NumberValue7 = Instance.new("NumberValue")
| |
| 3291 | ImageButton8 = Instance.new("ImageButton")
| |
| 3292 | Frame9 = Instance.new("Frame")
| |
| 3293 | NumberValue10 = Instance.new("NumberValue")
| |
| 3294 | ImageButton11 = Instance.new("ImageButton")
| |
| 3295 | Frame12 = Instance.new("Frame")
| |
| 3296 | NumberValue13 = Instance.new("NumberValue")
| |
| 3297 | ImageButton14 = Instance.new("ImageButton")
| |
| 3298 | Frame15 = Instance.new("Frame")
| |
| 3299 | NumberValue16 = Instance.new("NumberValue")
| |
| 3300 | ImageButton17 = Instance.new("ImageButton")
| |
| 3301 | Frame18 = Instance.new("Frame")
| |
| 3302 | NumberValue19 = Instance.new("NumberValue")
| |
| 3303 | ImageButton20 = Instance.new("ImageButton")
| |
| 3304 | Frame21 = Instance.new("Frame")
| |
| 3305 | NumberValue22 = Instance.new("NumberValue")
| |
| 3306 | ImageButton23 = Instance.new("ImageButton")
| |
| 3307 | Frame24 = Instance.new("Frame")
| |
| 3308 | NumberValue25 = Instance.new("NumberValue")
| |
| 3309 | ImageButton26 = Instance.new("ImageButton")
| |
| 3310 | Frame27 = Instance.new("Frame")
| |
| 3311 | NumberValue28 = Instance.new("NumberValue")
| |
| 3312 | ImageButton29 = Instance.new("ImageButton")
| |
| 3313 | Frame30 = Instance.new("Frame")
| |
| 3314 | NumberValue31 = Instance.new("NumberValue")
| |
| 3315 | ImageButton32 = Instance.new("ImageButton")
| |
| 3316 | Frame33 = Instance.new("Frame")
| |
| 3317 | NumberValue34 = Instance.new("NumberValue")
| |
| 3318 | ImageButton35 = Instance.new("ImageButton")
| |
| 3319 | Frame36 = Instance.new("Frame")
| |
| 3320 | NumberValue37 = Instance.new("NumberValue")
| |
| 3321 | ImageButton38 = Instance.new("ImageButton")
| |
| 3322 | Frame39 = Instance.new("Frame")
| |
| 3323 | NumberValue40 = Instance.new("NumberValue")
| |
| 3324 | ImageButton41 = Instance.new("ImageButton")
| |
| 3325 | Frame42 = Instance.new("Frame")
| |
| 3326 | NumberValue43 = Instance.new("NumberValue")
| |
| 3327 | ImageButton44 = Instance.new("ImageButton")
| |
| 3328 | Frame45 = Instance.new("Frame")
| |
| 3329 | NumberValue46 = Instance.new("NumberValue")
| |
| 3330 | ImageButton47 = Instance.new("ImageButton")
| |
| 3331 | Frame48 = Instance.new("Frame")
| |
| 3332 | NumberValue49 = Instance.new("NumberValue")
| |
| 3333 | ImageButton50 = Instance.new("ImageButton")
| |
| 3334 | Frame51 = Instance.new("Frame")
| |
| 3335 | NumberValue52 = Instance.new("NumberValue")
| |
| 3336 | ImageButton53 = Instance.new("ImageButton")
| |
| 3337 | Frame54 = Instance.new("Frame")
| |
| 3338 | ScreenGui0.Name = "MaterialGui" | |
| 3339 | ScreenGui0.Parent = mas | |
| 3340 | ImageLabel1.Name = "MaterialMenu" | |
| 3341 | ImageLabel1.Parent = ScreenGui0 | |
| 3342 | ImageLabel1.Transparency = 1 | |
| 3343 | ImageLabel1.Size = UDim2.new(0, 100, 0, 450) | |
| 3344 | ImageLabel1.Position = UDim2.new(0, 0, 1, -550) | |
| 3345 | ImageLabel1.BackgroundTransparency = 1 | |
| 3346 | ImageLabel1.ZIndex = 2 | |
| 3347 | ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png" | |
| 3348 | ImageButton2.Name = "Grass" | |
| 3349 | ImageButton2.Parent = ImageLabel1 | |
| 3350 | ImageButton2.Transparency = 1 | |
| 3351 | ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3352 | ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0) | |
| 3353 | ImageButton2.BackgroundTransparency = 1 | |
| 3354 | ImageButton2.ZIndex = 4 | |
| 3355 | ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112" | |
| 3356 | Frame3.Name = "Selection" | |
| 3357 | Frame3.Parent = ImageButton2 | |
| 3358 | Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3359 | Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3360 | Frame3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3361 | Frame3.BorderSizePixel = 0 | |
| 3362 | Frame3.ZIndex = 3 | |
| 3363 | NumberValue4.Name = "num" | |
| 3364 | NumberValue4.Parent = ImageButton2 | |
| 3365 | NumberValue4.Value = 1 | |
| 3366 | ImageButton5.Name = "Sand" | |
| 3367 | ImageButton5.Parent = ImageLabel1 | |
| 3368 | ImageButton5.Transparency = 1 | |
| 3369 | ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3370 | ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0) | |
| 3371 | ImageButton5.BackgroundTransparency = 1 | |
| 3372 | ImageButton5.ZIndex = 4 | |
| 3373 | ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652" | |
| 3374 | Frame6.Name = "Selection" | |
| 3375 | Frame6.Parent = ImageButton5 | |
| 3376 | Frame6.Transparency = 1 | |
| 3377 | Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3378 | Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3379 | Frame6.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3380 | Frame6.BackgroundTransparency = 1 | |
| 3381 | Frame6.BorderSizePixel = 0 | |
| 3382 | Frame6.ZIndex = 3 | |
| 3383 | NumberValue7.Name = "num" | |
| 3384 | NumberValue7.Parent = ImageButton5 | |
| 3385 | NumberValue7.Value = 2 | |
| 3386 | ImageButton8.Name = "Brick" | |
| 3387 | ImageButton8.Parent = ImageLabel1 | |
| 3388 | ImageButton8.Transparency = 1 | |
| 3389 | ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3390 | ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0) | |
| 3391 | ImageButton8.BackgroundTransparency = 1 | |
| 3392 | ImageButton8.ZIndex = 4 | |
| 3393 | ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537" | |
| 3394 | Frame9.Name = "Selection" | |
| 3395 | Frame9.Parent = ImageButton8 | |
| 3396 | Frame9.Transparency = 1 | |
| 3397 | Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3398 | Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3399 | Frame9.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3400 | Frame9.BackgroundTransparency = 1 | |
| 3401 | Frame9.BorderSizePixel = 0 | |
| 3402 | Frame9.ZIndex = 3 | |
| 3403 | NumberValue10.Name = "num" | |
| 3404 | NumberValue10.Parent = ImageButton8 | |
| 3405 | NumberValue10.Value = 3 | |
| 3406 | ImageButton11.Name = "Granite" | |
| 3407 | ImageButton11.Parent = ImageLabel1 | |
| 3408 | ImageButton11.Transparency = 1 | |
| 3409 | ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3410 | ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0) | |
| 3411 | ImageButton11.BackgroundTransparency = 1 | |
| 3412 | ImageButton11.ZIndex = 4 | |
| 3413 | ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153" | |
| 3414 | Frame12.Name = "Selection" | |
| 3415 | Frame12.Parent = ImageButton11 | |
| 3416 | Frame12.Transparency = 1 | |
| 3417 | Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3418 | Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3419 | Frame12.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3420 | Frame12.BackgroundTransparency = 1 | |
| 3421 | Frame12.BorderSizePixel = 0 | |
| 3422 | Frame12.ZIndex = 3 | |
| 3423 | NumberValue13.Name = "num" | |
| 3424 | NumberValue13.Parent = ImageButton11 | |
| 3425 | NumberValue13.Value = 4 | |
| 3426 | ImageButton14.Name = "Asphalt" | |
| 3427 | ImageButton14.Parent = ImageLabel1 | |
| 3428 | ImageButton14.Transparency = 1 | |
| 3429 | ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3430 | ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0) | |
| 3431 | ImageButton14.BackgroundTransparency = 1 | |
| 3432 | ImageButton14.ZIndex = 4 | |
| 3433 | ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038" | |
| 3434 | Frame15.Name = "Selection" | |
| 3435 | Frame15.Parent = ImageButton14 | |
| 3436 | Frame15.Transparency = 1 | |
| 3437 | Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3438 | Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3439 | Frame15.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3440 | Frame15.BackgroundTransparency = 1 | |
| 3441 | Frame15.BorderSizePixel = 0 | |
| 3442 | Frame15.ZIndex = 3 | |
| 3443 | NumberValue16.Name = "num" | |
| 3444 | NumberValue16.Parent = ImageButton14 | |
| 3445 | NumberValue16.Value = 5 | |
| 3446 | ImageButton17.Name = "Iron" | |
| 3447 | ImageButton17.Parent = ImageLabel1 | |
| 3448 | ImageButton17.Transparency = 1 | |
| 3449 | ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3450 | ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0) | |
| 3451 | ImageButton17.BackgroundTransparency = 1 | |
| 3452 | ImageButton17.ZIndex = 4 | |
| 3453 | ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093" | |
| 3454 | Frame18.Name = "Selection" | |
| 3455 | Frame18.Parent = ImageButton17 | |
| 3456 | Frame18.Transparency = 1 | |
| 3457 | Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3458 | Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3459 | Frame18.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3460 | Frame18.BackgroundTransparency = 1 | |
| 3461 | Frame18.BorderSizePixel = 0 | |
| 3462 | Frame18.ZIndex = 3 | |
| 3463 | NumberValue19.Name = "num" | |
| 3464 | NumberValue19.Parent = ImageButton17 | |
| 3465 | NumberValue19.Value = 6 | |
| 3466 | ImageButton20.Name = "Aluminum" | |
| 3467 | ImageButton20.Parent = ImageLabel1 | |
| 3468 | ImageButton20.Transparency = 1 | |
| 3469 | ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3470 | ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0) | |
| 3471 | ImageButton20.BackgroundTransparency = 1 | |
| 3472 | ImageButton20.ZIndex = 4 | |
| 3473 | ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995" | |
| 3474 | Frame21.Name = "Selection" | |
| 3475 | Frame21.Parent = ImageButton20 | |
| 3476 | Frame21.Transparency = 1 | |
| 3477 | Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3478 | Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3479 | Frame21.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3480 | Frame21.BackgroundTransparency = 1 | |
| 3481 | Frame21.BorderSizePixel = 0 | |
| 3482 | Frame21.ZIndex = 3 | |
| 3483 | NumberValue22.Name = "num" | |
| 3484 | NumberValue22.Parent = ImageButton20 | |
| 3485 | NumberValue22.Value = 7 | |
| 3486 | ImageButton23.Name = "Gold" | |
| 3487 | ImageButton23.Parent = ImageLabel1 | |
| 3488 | ImageButton23.Transparency = 1 | |
| 3489 | ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3490 | ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0) | |
| 3491 | ImageButton23.BackgroundTransparency = 1 | |
| 3492 | ImageButton23.ZIndex = 4 | |
| 3493 | ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118" | |
| 3494 | Frame24.Name = "Selection" | |
| 3495 | Frame24.Parent = ImageButton23 | |
| 3496 | Frame24.Transparency = 1 | |
| 3497 | Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3498 | Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3499 | Frame24.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3500 | Frame24.BackgroundTransparency = 1 | |
| 3501 | Frame24.BorderSizePixel = 0 | |
| 3502 | Frame24.ZIndex = 3 | |
| 3503 | NumberValue25.Name = "num" | |
| 3504 | NumberValue25.Parent = ImageButton23 | |
| 3505 | NumberValue25.Value = 8 | |
| 3506 | ImageButton26.Name = "Plank" | |
| 3507 | ImageButton26.Parent = ImageLabel1 | |
| 3508 | ImageButton26.Transparency = 1 | |
| 3509 | ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3510 | ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0) | |
| 3511 | ImageButton26.BackgroundTransparency = 1 | |
| 3512 | ImageButton26.ZIndex = 4 | |
| 3513 | ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015" | |
| 3514 | Frame27.Name = "Selection" | |
| 3515 | Frame27.Parent = ImageButton26 | |
| 3516 | Frame27.Transparency = 1 | |
| 3517 | Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3518 | Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3519 | Frame27.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3520 | Frame27.BackgroundTransparency = 1 | |
| 3521 | Frame27.BorderSizePixel = 0 | |
| 3522 | Frame27.ZIndex = 3 | |
| 3523 | NumberValue28.Name = "num" | |
| 3524 | NumberValue28.Parent = ImageButton26 | |
| 3525 | NumberValue28.Value = 9 | |
| 3526 | ImageButton29.Name = "Log" | |
| 3527 | ImageButton29.Parent = ImageLabel1 | |
| 3528 | ImageButton29.Transparency = 1 | |
| 3529 | ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3530 | ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0) | |
| 3531 | ImageButton29.BackgroundTransparency = 1 | |
| 3532 | ImageButton29.ZIndex = 4 | |
| 3533 | ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051" | |
| 3534 | Frame30.Name = "Selection" | |
| 3535 | Frame30.Parent = ImageButton29 | |
| 3536 | Frame30.Transparency = 1 | |
| 3537 | Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3538 | Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3539 | Frame30.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3540 | Frame30.BackgroundTransparency = 1 | |
| 3541 | Frame30.BorderSizePixel = 0 | |
| 3542 | Frame30.ZIndex = 3 | |
| 3543 | NumberValue31.Name = "num" | |
| 3544 | NumberValue31.Parent = ImageButton29 | |
| 3545 | NumberValue31.Value = 10 | |
| 3546 | ImageButton32.Name = "Gravel" | |
| 3547 | ImageButton32.Parent = ImageLabel1 | |
| 3548 | ImageButton32.Transparency = 1 | |
| 3549 | ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3550 | ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0) | |
| 3551 | ImageButton32.BackgroundTransparency = 1 | |
| 3552 | ImageButton32.ZIndex = 4 | |
| 3553 | ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206" | |
| 3554 | Frame33.Name = "Selection" | |
| 3555 | Frame33.Parent = ImageButton32 | |
| 3556 | Frame33.Transparency = 1 | |
| 3557 | Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3558 | Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3559 | Frame33.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3560 | Frame33.BackgroundTransparency = 1 | |
| 3561 | Frame33.BorderSizePixel = 0 | |
| 3562 | Frame33.ZIndex = 3 | |
| 3563 | NumberValue34.Name = "num" | |
| 3564 | NumberValue34.Parent = ImageButton32 | |
| 3565 | NumberValue34.Value = 11 | |
| 3566 | ImageButton35.Name = "Cinder" | |
| 3567 | ImageButton35.Parent = ImageLabel1 | |
| 3568 | ImageButton35.Transparency = 1 | |
| 3569 | ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3570 | ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0) | |
| 3571 | ImageButton35.BackgroundTransparency = 1 | |
| 3572 | ImageButton35.ZIndex = 4 | |
| 3573 | ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103" | |
| 3574 | Frame36.Name = "Selection" | |
| 3575 | Frame36.Parent = ImageButton35 | |
| 3576 | Frame36.Transparency = 1 | |
| 3577 | Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3578 | Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3579 | Frame36.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3580 | Frame36.BackgroundTransparency = 1 | |
| 3581 | Frame36.BorderSizePixel = 0 | |
| 3582 | Frame36.ZIndex = 3 | |
| 3583 | NumberValue37.Name = "num" | |
| 3584 | NumberValue37.Parent = ImageButton35 | |
| 3585 | NumberValue37.Value = 12 | |
| 3586 | ImageButton38.Name = "Stone" | |
| 3587 | ImageButton38.Parent = ImageLabel1 | |
| 3588 | ImageButton38.Transparency = 1 | |
| 3589 | ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3590 | ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0) | |
| 3591 | ImageButton38.BackgroundTransparency = 1 | |
| 3592 | ImageButton38.ZIndex = 4 | |
| 3593 | ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804" | |
| 3594 | Frame39.Name = "Selection" | |
| 3595 | Frame39.Parent = ImageButton38 | |
| 3596 | Frame39.Transparency = 1 | |
| 3597 | Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3598 | Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3599 | Frame39.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3600 | Frame39.BackgroundTransparency = 1 | |
| 3601 | Frame39.BorderSizePixel = 0 | |
| 3602 | Frame39.ZIndex = 3 | |
| 3603 | NumberValue40.Name = "num" | |
| 3604 | NumberValue40.Parent = ImageButton38 | |
| 3605 | NumberValue40.Value = 13 | |
| 3606 | ImageButton41.Name = "Cement" | |
| 3607 | ImageButton41.Parent = ImageLabel1 | |
| 3608 | ImageButton41.Transparency = 1 | |
| 3609 | ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3610 | ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0) | |
| 3611 | ImageButton41.BackgroundTransparency = 1 | |
| 3612 | ImageButton41.ZIndex = 4 | |
| 3613 | ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059" | |
| 3614 | Frame42.Name = "Selection" | |
| 3615 | Frame42.Parent = ImageButton41 | |
| 3616 | Frame42.Transparency = 1 | |
| 3617 | Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3618 | Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3619 | Frame42.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3620 | Frame42.BackgroundTransparency = 1 | |
| 3621 | Frame42.BorderSizePixel = 0 | |
| 3622 | Frame42.ZIndex = 3 | |
| 3623 | NumberValue43.Name = "num" | |
| 3624 | NumberValue43.Parent = ImageButton41 | |
| 3625 | NumberValue43.Value = 14 | |
| 3626 | ImageButton44.Name = "Red Plastic" | |
| 3627 | ImageButton44.Parent = ImageLabel1 | |
| 3628 | ImageButton44.Transparency = 1 | |
| 3629 | ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3630 | ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0) | |
| 3631 | ImageButton44.BackgroundTransparency = 1 | |
| 3632 | ImageButton44.ZIndex = 4 | |
| 3633 | ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848" | |
| 3634 | Frame45.Name = "Selection" | |
| 3635 | Frame45.Parent = ImageButton44 | |
| 3636 | Frame45.Transparency = 1 | |
| 3637 | Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3638 | Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3639 | Frame45.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3640 | Frame45.BackgroundTransparency = 1 | |
| 3641 | Frame45.BorderSizePixel = 0 | |
| 3642 | Frame45.ZIndex = 3 | |
| 3643 | NumberValue46.Name = "num" | |
| 3644 | NumberValue46.Parent = ImageButton44 | |
| 3645 | NumberValue46.Value = 15 | |
| 3646 | ImageButton47.Name = "Blue Plastic" | |
| 3647 | ImageButton47.Parent = ImageLabel1 | |
| 3648 | ImageButton47.Transparency = 1 | |
| 3649 | ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3650 | ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0) | |
| 3651 | ImageButton47.BackgroundTransparency = 1 | |
| 3652 | ImageButton47.ZIndex = 4 | |
| 3653 | ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924" | |
| 3654 | Frame48.Name = "Selection" | |
| 3655 | Frame48.Parent = ImageButton47 | |
| 3656 | Frame48.Transparency = 1 | |
| 3657 | Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3658 | Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3659 | Frame48.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3660 | Frame48.BackgroundTransparency = 1 | |
| 3661 | Frame48.BorderSizePixel = 0 | |
| 3662 | Frame48.ZIndex = 3 | |
| 3663 | NumberValue49.Name = "num" | |
| 3664 | NumberValue49.Parent = ImageButton47 | |
| 3665 | NumberValue49.Value = 16 | |
| 3666 | ImageButton50.Name = "Water" | |
| 3667 | ImageButton50.Parent = ImageLabel1 | |
| 3668 | ImageButton50.Transparency = 1 | |
| 3669 | ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3670 | ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0) | |
| 3671 | ImageButton50.BackgroundTransparency = 1 | |
| 3672 | ImageButton50.ZIndex = 4 | |
| 3673 | ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697" | |
| 3674 | Frame51.Name = "Selection" | |
| 3675 | Frame51.Parent = ImageButton50 | |
| 3676 | Frame51.Transparency = 1 | |
| 3677 | Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3678 | Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3679 | Frame51.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3680 | Frame51.BackgroundTransparency = 1 | |
| 3681 | Frame51.BorderSizePixel = 0 | |
| 3682 | Frame51.ZIndex = 3 | |
| 3683 | NumberValue52.Name = "num" | |
| 3684 | NumberValue52.Parent = ImageButton50 | |
| 3685 | NumberValue52.Value = 17 | |
| 3686 | ImageButton53.Name = "Dig" | |
| 3687 | ImageButton53.Parent = ImageLabel1 | |
| 3688 | ImageButton53.Transparency = 1 | |
| 3689 | ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 3690 | ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0) | |
| 3691 | ImageButton53.BackgroundTransparency = 1 | |
| 3692 | ImageButton53.ZIndex = 4 | |
| 3693 | ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201" | |
| 3694 | Frame54.Name = "Selection" | |
| 3695 | Frame54.Parent = ImageButton53 | |
| 3696 | Frame54.Transparency = 1 | |
| 3697 | Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 3698 | Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 3699 | Frame54.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3700 | Frame54.BackgroundTransparency = 1 | |
| 3701 | Frame54.BorderSizePixel = 0 | |
| 3702 | Frame54.ZIndex = 3 | |
| 3703 | for i,v in pairs(mas:GetChildren()) do | |
| 3704 | v.Parent = gPlayers.LocalPlayer.PlayerGui | |
| 3705 | pcall(function() v:MakeJoints() end) | |
| 3706 | end | |
| 3707 | mas:Destroy() | |
| 3708 | for i,v in pairs(cors) do | |
| 3709 | spawn(function() | |
| 3710 | pcall(v) | |
| 3711 | end) | |
| 3712 | end | |
| 3713 | wait(0.01) | |
| 3714 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
| 3715 | material = 1 | |
| 3716 | local Terrain = workspace.Terrain | |
| 3717 | local CC = workspace.CurrentCamera | |
| 3718 | ||
| 3719 | local SelB = Instance.new("SelectionBox")
| |
| 3720 | SelB.Color = BrickColor.new("Bright green")
| |
| 3721 | ||
| 3722 | local SelP = Instance.new("Part")
| |
| 3723 | SelP.Anchored = true | |
| 3724 | SelP.formFactor = Enum.FormFactor.Custom | |
| 3725 | ||
| 3726 | HopperBin0.Selected:connect(function(M) | |
| 3727 | SelB.Parent = gPlayers.LocalPlayer.PlayerGui | |
| 3728 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true | |
| 3729 | SelB.Adornee = nil | |
| 3730 | ||
| 3731 | local ClickState = "None" | |
| 3732 | ||
| 3733 | local ClickType = 1 | |
| 3734 | ||
| 3735 | local TerrainClick = 1 | |
| 3736 | ||
| 3737 | local P1 = nil | |
| 3738 | ||
| 3739 | M.KeyDown:connect(function(K) | |
| 3740 | if K == "q" then | |
| 3741 | ClickType = 1 | |
| 3742 | elseif K == "e" then | |
| 3743 | ClickType = 2 | |
| 3744 | elseif K == "z" then | |
| 3745 | TerrainClick = 0 | |
| 3746 | elseif K == "x" then | |
| 3747 | TerrainClick = 1 | |
| 3748 | elseif K == "c" then | |
| 3749 | TerrainClick = 2 | |
| 3750 | elseif K == "v" then | |
| 3751 | TerrainClick = 3 | |
| 3752 | elseif K == "b" then | |
| 3753 | TerrainClick = 4 | |
| 3754 | end | |
| 3755 | end) | |
| 3756 | ||
| 3757 | M.Button1Down:connect(function() | |
| 3758 | if not M.Target then return end | |
| 3759 | local Hit = M.Hit | |
| 3760 | local cellPos | |
| 3761 | if ClickType == 1 then | |
| 3762 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 3763 | else | |
| 3764 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 3765 | end | |
| 3766 | if ClickState == "None" then | |
| 3767 | ClickState = "Click1" | |
| 3768 | P1 = cellPos | |
| 3769 | end | |
| 3770 | end) | |
| 3771 | M.Button1Up:connect(function() | |
| 3772 | if not M.Target then return end | |
| 3773 | local Hit = M.Hit | |
| 3774 | local cellPos | |
| 3775 | if ClickType == 1 then | |
| 3776 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 3777 | else | |
| 3778 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 3779 | end | |
| 3780 | if ClickState == "Click1" then | |
| 3781 | ClickState = "None" | |
| 3782 | local MinX = math.min(P1.x,cellPos.x) | |
| 3783 | local MaxX = math.max(P1.x,cellPos.x) | |
| 3784 | local MinY = math.min(P1.y,cellPos.y) | |
| 3785 | local MaxY = math.max(P1.y,cellPos.y) | |
| 3786 | local MinZ = math.min(P1.z,cellPos.z) | |
| 3787 | local MaxZ = math.max(P1.z,cellPos.z) | |
| 3788 | for y=MinY,MaxY do | |
| 3789 | for x=MinX,MaxX do | |
| 3790 | for z=MinZ,MaxZ do | |
| 3791 | Terrain:SetCell(x, y, z, material, 0, 0) | |
| 3792 | end | |
| 3793 | end | |
| 3794 | wait() | |
| 3795 | end | |
| 3796 | SelB.Adornee = nil | |
| 3797 | end | |
| 3798 | end) | |
| 3799 | M.Move:connect(function() | |
| 3800 | if not M.Target then return end | |
| 3801 | local Hit = M.Hit | |
| 3802 | local cellPos | |
| 3803 | if ClickType == 1 then | |
| 3804 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 3805 | else | |
| 3806 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 3807 | end | |
| 3808 | if ClickState == "Click1" then | |
| 3809 | SelB.Adornee = SelP | |
| 3810 | local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z) | |
| 3811 | local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z) | |
| 3812 | local Size = W1-W2 | |
| 3813 | Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4) | |
| 3814 | local Pos = (W1+W2)/2 | |
| 3815 | SelP.Size = Size | |
| 3816 | SelP.CFrame = CFrame.new(Pos) | |
| 3817 | end | |
| 3818 | end) | |
| 3819 | end) | |
| 3820 | ||
| 3821 | HopperBin0.Deselected:connect(function() | |
| 3822 | SelB.Parent = nil | |
| 3823 | SelB.Adornee = nil | |
| 3824 | gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
| 3825 | end) | |
| 3826 | ||
| 3827 | game:GetService('RunService').Stepped:connect(function()
| |
| 3828 | if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
| |
| 3829 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
| 3830 | if child:FindFirstChild("num") and material ~= child.num.Value then
| |
| 3831 | child.Selection.BackgroundTransparency = 1 | |
| 3832 | end | |
| 3833 | end | |
| 3834 | end | |
| 3835 | end) | |
| 3836 | ||
| 3837 | for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
| 3838 | local enterCon = child.MouseButton1Click:connect(function() | |
| 3839 | if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
| |
| 3840 | material = child.num.Value | |
| 3841 | if child:FindFirstChild("Selection") then
| |
| 3842 | child.Selection.BackgroundTransparency = 0 | |
| 3843 | end | |
| 3844 | end | |
| 3845 | end) | |
| 3846 | end | |
| 3847 | ||
| 3848 | local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function() | |
| 3849 | workspace.Terrain:Clear() | |
| 3850 | end) | |
| 3851 | ||
| 3852 | function sandbox(var,func) | |
| 3853 | local env = getfenv(func) | |
| 3854 | local newenv = setmetatable({},{
| |
| 3855 | __index = function(self,k) | |
| 3856 | if k=="script" then | |
| 3857 | return var | |
| 3858 | else | |
| 3859 | return env[k] | |
| 3860 | end | |
| 3861 | end, | |
| 3862 | }) | |
| 3863 | setfenv(func,newenv) | |
| 3864 | return func | |
| 3865 | end | |
| 3866 | cors = {}
| |
| 3867 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 3868 | HopperBin0 = Instance.new("HopperBin")
| |
| 3869 | HopperBin0.Name = "Terrain Delete" | |
| 3870 | HopperBin0.Parent = mas | |
| 3871 | for i,v in pairs(mas:GetChildren()) do | |
| 3872 | v.Parent = game:GetService("Players").LocalPlayer.Backpack
| |
| 3873 | pcall(function() v:MakeJoints() end) | |
| 3874 | end | |
| 3875 | mas:Destroy() | |
| 3876 | for i,v in pairs(cors) do | |
| 3877 | spawn(function() | |
| 3878 | pcall(v) | |
| 3879 | end) | |
| 3880 | end | |
| 3881 | ||
| 3882 | function onClick(mouse) | |
| 3883 | p = gPlayers.LocalPlayer | |
| 3884 | if (p == nil) then return end | |
| 3885 | if (p.Character == nil) then return end | |
| 3886 | ||
| 3887 | if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end | |
| 3888 | ||
| 3889 | c = workspace.Terrain | |
| 3890 | ||
| 3891 | local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z)) | |
| 3892 | local x = cellPos.x | |
| 3893 | local y = cellPos.y | |
| 3894 | local z = cellPos.z | |
| 3895 | ||
| 3896 | c:SetCell(x, y, z, 0, 0, 0) | |
| 3897 | ||
| 3898 | end | |
| 3899 | ||
| 3900 | ||
| 3901 | function onSelect(mouse) | |
| 3902 | mouse.Button1Down:connect(function () onClick(mouse) end) | |
| 3903 | end | |
| 3904 | ||
| 3905 | ||
| 3906 | ||
| 3907 | HopperBin0.Selected:connect(onSelect) | |
| 3908 | end | |
| 3909 | end) | |
| 3910 | ||
| 3911 | addcmd('knife', 'tm knife',{},
| |
| 3912 | function(args, speaker) | |
| 3913 | if speaker.userId ~= LP.userId then | |
| 3914 | lponly(speaker) else | |
| 3915 | if not game.CoreGui:FindFirstChild('CorePart') then
| |
| 3916 | local data = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01318477872")
| |
| 3917 | local script = data.LocalScript | |
| 3918 | ||
| 3919 | local player = gPlayers.LocalPlayer | |
| 3920 | ||
| 3921 | if not player:FindFirstChild("TMDATA") then
| |
| 3922 | script.Parent.TMDATA:Clone().Parent = player | |
| 3923 | end | |
| 3924 | if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then
| |
| 3925 | script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage | |
| 3926 | end | |
| 3927 | ||
| 3928 | if game.CoreGui:FindFirstChild("CorePart") then
| |
| 3929 | game.CoreGui.CorePart:Destroy() | |
| 3930 | end | |
| 3931 | ||
| 3932 | ||
| 3933 | if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end
| |
| 3934 | local knife = script.Parent["Knife"]:Clone() | |
| 3935 | local gun = script.Parent["Gun"]:Clone() | |
| 3936 | local fastgun = script.Parent["Fast Gun"]:Clone() | |
| 3937 | local lasergun = script.Parent["Laser Gun"]:Clone() | |
| 3938 | script.Parent.CorePart:Clone().Parent = game.CoreGui | |
| 3939 | ||
| 3940 | local newKnife = knife:Clone() | |
| 3941 | newKnife.Parent = player.Backpack | |
| 3942 | _G.tool = newKnife | |
| 3943 | ||
| 3944 | local barActive = false | |
| 3945 | local activeOptions = {}
| |
| 3946 | ||
| 3947 | function createDDown(callback,but,...) | |
| 3948 | if barActive then | |
| 3949 | for i,v in pairs(activeOptions) do | |
| 3950 | v:Destroy() | |
| 3951 | end | |
| 3952 | activeOptions = {}
| |
| 3953 | barActive = false | |
| 3954 | return | |
| 3955 | else | |
| 3956 | barActive = true | |
| 3957 | end | |
| 3958 | local slots = {...}
| |
| 3959 | local base = but | |
| 3960 | for i,v in pairs(slots) do | |
| 3961 | local newOption = base:Clone() | |
| 3962 | newOption.ZIndex = 5 | |
| 3963 | newOption.Name = "Option "..tostring(i) | |
| 3964 | newOption.Parent = base.Parent | |
| 3965 | table.insert(activeOptions,newOption) | |
| 3966 | 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)) | |
| 3967 | newOption.Text = slots[i] | |
| 3968 | newOption.MouseButton1Down:connect(function() | |
| 3969 | but.Text = slots[i] | |
| 3970 | callback(slots[i]) | |
| 3971 | for i,v in pairs(activeOptions) do | |
| 3972 | v:Destroy() | |
| 3973 | end | |
| 3974 | activeOptions = {}
| |
| 3975 | barActive = false | |
| 3976 | end) | |
| 3977 | end | |
| 3978 | end | |
| 3979 | ||
| 3980 | local butA = game.CoreGui.CorePart.Frame.ability | |
| 3981 | butA.MouseButton1Down:connect(function() | |
| 3982 | createDDown(function(sel) | |
| 3983 | gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat! | |
| 3984 | 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") | |
| 3985 | end) | |
| 3986 | ||
| 3987 | local butG = game.CoreGui.CorePart.Frame.gamemode | |
| 3988 | butG.MouseButton1Down:connect(function() | |
| 3989 | createDDown(function(sel) | |
| 3990 | game.ReplicatedStorage.GameInProgress.Mode.Value = sel | |
| 3991 | end,butG,"Classic","Cold Killer") | |
| 3992 | end) | |
| 3993 | ||
| 3994 | local butM = game.CoreGui.CorePart.Frame.mode | |
| 3995 | butM.MouseButton1Down:connect(function() | |
| 3996 | createDDown(function(sel) | |
| 3997 | _G.knifemode = sel | |
| 3998 | end,butM,"PlayersOnly","Players+Npcs") | |
| 3999 | end) | |
| 4000 | ||
| 4001 | _G.Scripters = {}
| |
| 4002 | ||
| 4003 | function _G.loadScripts(obj,runall) | |
| 4004 | for i,v in pairs(obj:GetDescendants()) do | |
| 4005 | if v:IsA("LocalScript") and (not v.Disabled or runall) then
| |
| 4006 | table.insert(_G.Scripters,v) | |
| 4007 | local i = #_G.Scripters | |
| 4008 | local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source)
| |
| 4009 | spawn(loadfunc) | |
| 4010 | print("LOADED",v:GetFullName())
| |
| 4011 | end | |
| 4012 | end | |
| 4013 | end | |
| 4014 | ||
| 4015 | player.CharacterAdded:Connect(function() | |
| 4016 | newKnife = knife:Clone() | |
| 4017 | newKnife.Parent = player.Backpack | |
| 4018 | _G.loadScripts(newKnife) | |
| 4019 | end) | |
| 4020 | ||
| 4021 | _G.knifemode = "PlayersOnly" | |
| 4022 | _G.loadScripts(newKnife) | |
| 4023 | --_G.loadScripts(gun) | |
| 4024 | --_G.loadScripts(fastgun) | |
| 4025 | --_G.loadScripts(lasergun) | |
| 4026 | end | |
| 4027 | end | |
| 4028 | end) | |
| 4029 | ||
| 4030 | addcmd('devuzi', 'op af',{'uzi'},
| |
| 4031 | function(args, speaker) | |
| 4032 | if speaker.userId ~= LP.userId then | |
| 4033 | lponly(speaker) | |
| 4034 | else | |
| 4035 | wait(0.25); | |
| 4036 | ||
| 4037 | ||
| 4038 | _clear=function() | |
| 4039 | local c={char;bag;gui;};
| |
| 4040 | for i=1,#c do | |
| 4041 | local c=c[i]:children(); | |
| 4042 | for i=1,#c do | |
| 4043 | if(c[i].Name==name)then | |
| 4044 | c[i].Parent=nil; | |
| 4045 | end; | |
| 4046 | end; | |
| 4047 | end; | |
| 4048 | local n=name..user.Name; | |
| 4049 | local c=workspace:children(); | |
| 4050 | for i=1,#c do | |
| 4051 | if(c[i].Name==n)then | |
| 4052 | c[i].Parent=nil; | |
| 4053 | end; | |
| 4054 | end; | |
| 4055 | end; | |
| 4056 | ||
| 4057 | _valid_key=function(object,key) | |
| 4058 | return object[key],key; | |
| 4059 | end; | |
| 4060 | ||
| 4061 | _new=function(class) | |
| 4062 | return function(props) | |
| 4063 | if(type(list_base_props)=='table')then | |
| 4064 | for i,v in next,list_base_props do | |
| 4065 | if(props[i]==nil)then | |
| 4066 | props[i]=v; | |
| 4067 | end; | |
| 4068 | end; | |
| 4069 | end; | |
| 4070 | ||
| 4071 | local object=class; | |
| 4072 | ||
| 4073 | if(type(class)=='string')then | |
| 4074 | object=Instance.new(class:sub(1,1):upper()..class:sub(2)); | |
| 4075 | end; | |
| 4076 | ||
| 4077 | local parent=props[1]; | |
| 4078 | props[1]=nil; | |
| 4079 | ||
| 4080 | for i,v in next,props do | |
| 4081 | local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2)); | |
| 4082 | if(not load)then | |
| 4083 | load,res,key=pcall(_valid_key,object,i); | |
| 4084 | end; | |
| 4085 | ||
| 4086 | if(key)then | |
| 4087 | t=type(res); | |
| 4088 | s=tostring(res); | |
| 4089 | if(t=='userdata'and s=='Signal '..key)then | |
| 4090 | if(type(v)=='table')then | |
| 4091 | for i=1,#v do | |
| 4092 | res:connect(v[i]); | |
| 4093 | end; | |
| 4094 | else | |
| 4095 | res:connect(v); | |
| 4096 | end; | |
| 4097 | else | |
| 4098 | object[key]=v; | |
| 4099 | end; | |
| 4100 | end; | |
| 4101 | end; | |
| 4102 | ||
| 4103 | if(parent)then | |
| 4104 | object.Parent=parent; | |
| 4105 | end; | |
| 4106 | ||
| 4107 | return object; | |
| 4108 | end; | |
| 4109 | end; | |
| 4110 | ||
| 4111 | _RGB=function(r,g,b) | |
| 4112 | return Color3.new(r/255,g/255,b/255); | |
| 4113 | end; | |
| 4114 | ||
| 4115 | _copy=function(o) | |
| 4116 | local def=o.archivable; | |
| 4117 | o.archivable=true; | |
| 4118 | local c=o:clone(); | |
| 4119 | o.archivable=def; | |
| 4120 | return c; | |
| 4121 | end; | |
| 4122 | ||
| 4123 | _hum=function(char) | |
| 4124 | local hum=char:findFirstChild'Humanoid'; | |
| 4125 | if(not hum or hum.className~='Humanoid')then | |
| 4126 | local c=char:children(); | |
| 4127 | for i=1,#c do | |
| 4128 | if(c[i].className=='Humanoid')then | |
| 4129 | return c[i]; | |
| 4130 | end; | |
| 4131 | end; | |
| 4132 | else | |
| 4133 | return hum; | |
| 4134 | end; | |
| 4135 | end; | |
| 4136 | ||
| 4137 | _hum_tag=function(hum) | |
| 4138 | local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
| |
| 4139 | c.Name='creator'; | |
| 4140 | c.Value=user; | |
| 4141 | if(hum.Health==0 and not hum:findFirstChild'killed')then | |
| 4142 | Instance.new('BoolValue',hum).Name='killed';
| |
| 4143 | bullets.clip=bullets.clip+10; | |
| 4144 | end; | |
| 4145 | end; | |
| 4146 | ||
| 4147 | _hum_dam=function(hum,dam,percent) | |
| 4148 | hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam); | |
| 4149 | if(hum.Health<=hum.MaxHealth*0.1)then | |
| 4150 | _hum_tag(hum); | |
| 4151 | end; | |
| 4152 | end; | |
| 4153 | ||
| 4154 | _ray=function(v0,v1,i) | |
| 4155 | local mag=(v0-v1).magnitude; | |
| 4156 | local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag)); | |
| 4157 | ||
| 4158 | return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i); | |
| 4159 | end; | |
| 4160 | ||
| 4161 | _must=function(v0,v1,i) | |
| 4162 | local hit,pos=_ray(v0,v1,i); | |
| 4163 | return not hit and mouse.target or hit,pos; | |
| 4164 | end; | |
| 4165 | ||
| 4166 | _cframe=function(x,y,z,r0,r1,r2) | |
| 4167 | return CFrame.Angles( | |
| 4168 | math.rad(r0 or 0), | |
| 4169 | math.rad(r1 or 0), | |
| 4170 | math.rad(r2 or 0) | |
| 4171 | )*CFrame.new(x,y,z); | |
| 4172 | end; | |
| 4173 | ||
| 4174 | _update=function() | |
| 4175 | if(bool_active and not screen.Parent)then | |
| 4176 | screen.Parent=gui; | |
| 4177 | elseif(not bool_active and screen.Parent)then | |
| 4178 | screen.Parent=nil; | |
| 4179 | end; | |
| 4180 | end; | |
| 4181 | ||
| 4182 | _light=function(v0,v1) | |
| 4183 | local mag=(v0-v1).magnitude; | |
| 4184 | local len=math.random(2,7); | |
| 4185 | len=len>mag/2 and mag/2 or len; | |
| 4186 | ||
| 4187 | --local light=_new'part'{
| |
| 4188 | -- cFrame=CFrame.new(v0,v1); | |
| 4189 | -- size=Vector3.new(1,1,1); | |
| 4190 | -- color=_RGB(255,255,0); | |
| 4191 | -- anchored=true; | |
| 4192 | -- inv; | |
| 4193 | --}; | |
| 4194 | _new'blockMesh'{
| |
| 4195 | scale=Vector3.new(0.2,0.2,len); | |
| 4196 | offset=Vector3.new(0,0,-len/2); | |
| 4197 | light; | |
| 4198 | }; | |
| 4199 | ||
| 4200 | local bb=_new'billboardGui'{
| |
| 4201 | size=UDim2.new(2,0,2,0); | |
| 4202 | adornee=light; | |
| 4203 | light; | |
| 4204 | }; | |
| 4205 | _new'imageLabel'{
| |
| 4206 | image=url:format(109101526); | |
| 4207 | backgroundTransparency=1; | |
| 4208 | size=UDim2.new(1,0,1,0); | |
| 4209 | bb; | |
| 4210 | }; | |
| 4211 | ||
| 4212 | -- _rem(light,0.15); | |
| 4213 | end; | |
| 4214 | ||
| 4215 | _rem=function(object,del) | |
| 4216 | if(del)then | |
| 4217 | delay(del,function() | |
| 4218 | if(object.Parent)then | |
| 4219 | object.Parent=nil; | |
| 4220 | end; | |
| 4221 | end); | |
| 4222 | else | |
| 4223 | pcall(function() | |
| 4224 | if(object.Parent)then | |
| 4225 | object.Parent=nil; | |
| 4226 | end; | |
| 4227 | end); | |
| 4228 | end; | |
| 4229 | end; | |
| 4230 | ||
| 4231 | _blood=function(pos,count) | |
| 4232 | for i=1,count do | |
| 4233 | local p=_new'part'{
| |
| 4234 | rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
| 4235 | position=pos+Vector3.new(math.random(),math.random(),math.random()); | |
| 4236 | velocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
| 4237 | size=Vector3.new(math.random(),math.random(),math.random())/3; | |
| 4238 | color=_RGB(255,0,0); | |
| 4239 | transparency=0.5; | |
| 4240 | canCollide=true; | |
| 4241 | bottomSurface=0; | |
| 4242 | topSurface=0; | |
| 4243 | formFactor=3; | |
| 4244 | locked=true; | |
| 4245 | inv; | |
| 4246 | }; | |
| 4247 | delay(5,function() | |
| 4248 | p.Parent=nil; | |
| 4249 | end); | |
| 4250 | end; | |
| 4251 | end; | |
| 4252 | ||
| 4253 | _make_hue=function() | |
| 4254 | h_hue=_new'part'{
| |
| 4255 | size=Vector3.new(0.25,1.8,0.35); | |
| 4256 | color=_RGB(100,100,100); | |
| 4257 | formFactor=3; | |
| 4258 | name='hue'; | |
| 4259 | handle; | |
| 4260 | }; | |
| 4261 | hh_weld=_new'weld'{
| |
| 4262 | c1=_cframe(0,0.5,0); | |
| 4263 | part0=handle; | |
| 4264 | part1=h_hue; | |
| 4265 | handle; | |
| 4266 | }; | |
| 4267 | end; | |
| 4268 | ||
| 4269 | _shot=function(v0,v1) | |
| 4270 | if(not time_left)then | |
| 4271 | time_left=0; | |
| 4272 | end; | |
| 4273 | if(time_left>time())then | |
| 4274 | return nil; | |
| 4275 | else | |
| 4276 | time_left=time()+math.random(1,10)/100; | |
| 4277 | end; | |
| 4278 | ||
| 4279 | if(bullets.current<1)then | |
| 4280 | local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
| |
| 4281 | soundId='rbxasset://sounds/SWITCH3.wav'; | |
| 4282 | name='tick_sound'; | |
| 4283 | volume=0.2; | |
| 4284 | pitch=2; | |
| 4285 | head; | |
| 4286 | }; | |
| 4287 | tick_sound:play(); | |
| 4288 | if(bullets.clip>0)then | |
| 4289 | time_left=time()+2; | |
| 4290 | h_hue:breakJoints(); | |
| 4291 | h_hue.CanCollide=true; | |
| 4292 | h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10; | |
| 4293 | _rem(h_hue,10); | |
| 4294 | delay(1.9,function() | |
| 4295 | _make_hue(); | |
| 4296 | local got=(bullets.clip>bullets.maximum and | |
| 4297 | bullets.maximum or | |
| 4298 | bullets.clip)-bullets.current; | |
| 4299 | ||
| 4300 | bullets.clip=bullets.clip-got; | |
| 4301 | bullets.current=bullets.current+got; | |
| 4302 | end); | |
| 4303 | end; | |
| 4304 | return nil; | |
| 4305 | else | |
| 4306 | bullets.current=bullets.current-1; | |
| 4307 | ||
| 4308 | h_weld.C1=_cframe(0,0.75,0, | |
| 4309 | -math.random(1000,1100)/10,180,0); | |
| 4310 | d_weld.C1=_cframe(0,-0.25,0.3); | |
| 4311 | ||
| 4312 | lightstuff.Visible=true; | |
| 4313 | delay(0.1,function() | |
| 4314 | lightstuff.Visible=false; | |
| 4315 | end); | |
| 4316 | ||
| 4317 | _rem(_new'part'{
| |
| 4318 | velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10; | |
| 4319 | cFrame=drag.CFrame*CFrame.new(-0.5,0,0); | |
| 4320 | size=Vector3.new(0.1,0.1,0.4); | |
| 4321 | color=_RGB(200,200,0); | |
| 4322 | material='Slate'; | |
| 4323 | canCollide=true; | |
| 4324 | formFactor=3; | |
| 4325 | inv; | |
| 4326 | },5); | |
| 4327 | ||
| 4328 | delay(0.1,function() | |
| 4329 | d_weld.C1=_cframe(0,-0.25,0); | |
| 4330 | if(bool_active)then | |
| 4331 | h_weld.C1=h_weld_cf_active; | |
| 4332 | end; | |
| 4333 | end) | |
| 4334 | end; | |
| 4335 | ||
| 4336 | local hit,pos=_must(v0,v1,char); | |
| 4337 | ||
| 4338 | shot_sound:play(); | |
| 4339 | ||
| 4340 | ||
| 4341 | _rem(_new'part'{
| |
| 4342 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
| 4343 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
| 4344 | color=_RGB(255,255,0); | |
| 4345 | transparency=0.6; | |
| 4346 | reflectance=0.5; | |
| 4347 | canCollide=false; | |
| 4348 | bottomSurface=0; | |
| 4349 | anchored=true; | |
| 4350 | formFactor=3; | |
| 4351 | topSurface=0; | |
| 4352 | inv; | |
| 4353 | },.15); | |
| 4354 | _light(v0,v1); | |
| 4355 | ||
| 4356 | if(not hit)then return nil;end; | |
| 4357 | ||
| 4358 | if(hit.Parent.className=='Hat')then | |
| 4359 | hit:breakJoints(); | |
| 4360 | hit.CanCollide=true; | |
| 4361 | hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50); | |
| 4362 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90)); | |
| 4363 | else | |
| 4364 | local hum=_hum(hit.Parent); | |
| 4365 | if(not hum)then | |
| 4366 | if(hit.Anchored==false and hit.Size.magnitude<4)then | |
| 4367 | hit:breakJoints(); | |
| 4368 | hit.CanCollide=true; | |
| 4369 | end; | |
| 4370 | else | |
| 4371 | _hum_dam(hum,math.random(4,6)); | |
| 4372 | _blood(pos,math.random(3,6)); | |
| 4373 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6; | |
| 4374 | if(hit.Name=='Head')then | |
| 4375 | hum.Health=0; | |
| 4376 | _blood(pos,math.random(3,6)); | |
| 4377 | delay(0.001,function() | |
| 4378 | _new(workspace:FindFirstChild'head_shot'or'sound'){
| |
| 4379 | pitch=math.random(70,100)*0.01; | |
| 4380 | soundId=url:format(1876552); | |
| 4381 | name='head_shot'; | |
| 4382 | workspace; | |
| 4383 | }:play(); | |
| 4384 | end); | |
| 4385 | _hum_tag(hum); | |
| 4386 | _rem(_new'part'{
| |
| 4387 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
| 4388 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
| 4389 | color=torso.Color; | |
| 4390 | transparency=0.5; | |
| 4391 | canCollide=false; | |
| 4392 | bottomSurface=0; | |
| 4393 | anchored=true; | |
| 4394 | formFactor=3; | |
| 4395 | topSurface=0; | |
| 4396 | inv; | |
| 4397 | },30); | |
| 4398 | hit.Parent=nil; | |
| 4399 | for b=0,1 do | |
| 4400 | for a=0,1 do | |
| 4401 | for i=0,1 do | |
| 4402 | _rem(_new'part'{
| |
| 4403 | velocity=CFrame.new(v0,pos).lookVector*20; | |
| 4404 | cFrame=hit.CFrame*CFrame.new(i,-b,a); | |
| 4405 | size=Vector3.new(0.5,0.5,0.5); | |
| 4406 | color=_RGB(255,255,255); | |
| 4407 | bottomSurface=0; | |
| 4408 | canCollide=true; | |
| 4409 | transparency=0; | |
| 4410 | formFactor=3; | |
| 4411 | topSurface=0; | |
| 4412 | hum; | |
| 4413 | },30); | |
| 4414 | end; | |
| 4415 | end; | |
| 4416 | end; | |
| 4417 | end; | |
| 4418 | end; | |
| 4419 | end; | |
| 4420 | end; | |
| 4421 | ||
| 4422 | ||
| 4423 | ||
| 4424 | _cf_select=function(mouse) | |
| 4425 | mouse.Icon=url:format(109111387);--108999296 | |
| 4426 | bool_active=true; | |
| 4427 | ||
| 4428 | local arm=char:findFirstChild'Right Arm'; | |
| 4429 | local weld=torso:findFirstChild'Right Shoulder'; | |
| 4430 | if(arm and weld)then | |
| 4431 | h_weld.Part0=arm; | |
| 4432 | h_weld.C1=h_weld_cf_active; | |
| 4433 | ||
| 4434 | weld.Part1=nil; | |
| 4435 | weld.Part0=nil; | |
| 4436 | ||
| 4437 | weld=_new(torso:findFirstChild'right_arml'or'weld'){
| |
| 4438 | name='right_arml'; | |
| 4439 | part0=torso; | |
| 4440 | part1=arm; | |
| 4441 | torso; | |
| 4442 | }; | |
| 4443 | ||
| 4444 | arml=(arml or 0)+1; | |
| 4445 | local alv=arml; | |
| 4446 | local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
| |
| 4447 | gyro.maxTorque=Vector3.new(5e5,5e5,5e5); | |
| 4448 | gyro.P=30000; | |
| 4449 | gyro.D=1000; | |
| 4450 | gyro.Name='p_gyro'; | |
| 4451 | repeat | |
| 4452 | local pos=mouse.hit.p; | |
| 4453 | local val,valp,p0,p1,p2,hitpos,cj,c0,c1; | |
| 4454 | ||
| 4455 | val=-math.pi*0.5; | |
| 4456 | valp=val*-1; | |
| 4457 | p0=torso.CFrame; | |
| 4458 | p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector; | |
| 4459 | p1=p0+((p0.p-pos).unit*-2); | |
| 4460 | p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0); | |
| 4461 | hitpos=torso.Position; | |
| 4462 | cj=CFrame.new(hitpos); | |
| 4463 | c0=torso.CFrame:inverse()*cj; | |
| 4464 | c1=p2:inverse()*cj; | |
| 4465 | weld.C0=c0; | |
| 4466 | weld.C1=c1; | |
| 4467 | ||
| 4468 | gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z)); | |
| 4469 | ||
| 4470 | wait(0.001); | |
| 4471 | until arml~=alv; | |
| 4472 | gyro.Parent=nil; | |
| 4473 | end; | |
| 4474 | end; | |
| 4475 | ||
| 4476 | _cf_deselect=function() | |
| 4477 | bool_active=false; | |
| 4478 | arml=(arml or 0)+1; | |
| 4479 | loop_shot=(loop_shot or 0)+1; | |
| 4480 | ||
| 4481 | h_weld.Part0=torso; | |
| 4482 | h_weld.C1=h_weld_cf_inactive; | |
| 4483 | ||
| 4484 | local weld=torso:findFirstChild'right_arml'; | |
| 4485 | if(weld)then | |
| 4486 | weld.Part1=nil; | |
| 4487 | weld.Part0=nil; | |
| 4488 | end; | |
| 4489 | local arm=char:findFirstChild'Right Arm'; | |
| 4490 | local weld=torso:findFirstChild'Right Shoulder'; | |
| 4491 | if(arm and weld)then | |
| 4492 | weld.Part0=torso; | |
| 4493 | weld.Part1=arm; | |
| 4494 | end; | |
| 4495 | end; | |
| 4496 | ||
| 4497 | _cf_mouse=function(event,fun) | |
| 4498 | mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...) | |
| 4499 | if(bool_active)then | |
| 4500 | fun(...); | |
| 4501 | end; | |
| 4502 | end); | |
| 4503 | end; | |
| 4504 | ||
| 4505 | ||
| 4506 | do | |
| 4507 | local main=getfenv(0); | |
| 4508 | local c=game:children(); | |
| 4509 | local check=function(v) | |
| 4510 | if(v.className~=''and v.className~='Instance'and game:service(v.className))then | |
| 4511 | main[v.className:sub(1,1):lower()..v.className:sub(2)]=v; | |
| 4512 | end; | |
| 4513 | end; | |
| 4514 | for i=1,#c do | |
| 4515 | pcall(check,c[i]); | |
| 4516 | end; | |
| 4517 | end; | |
| 4518 | ||
| 4519 | ||
| 4520 | bullets={
| |
| 4521 | maximum=51111111111111111111111111110; | |
| 4522 | current=511111111111111111111111111111110; | |
| 4523 | clip=501111111111111111111111111111111*4; | |
| 4524 | }; | |
| 4525 | ||
| 4526 | list_base_props={
| |
| 4527 | backgroundColor3=_RGB(0,0,0); | |
| 4528 | textColor3=_RGB(200,200,200); | |
| 4529 | borderSizePixel=0; | |
| 4530 | color=_RGB(0,0,0); | |
| 4531 | archivable=false; | |
| 4532 | canCollide=false; | |
| 4533 | bottomSurface=0; | |
| 4534 | topSurface=0; | |
| 4535 | formFactor=0; | |
| 4536 | locked=true; | |
| 4537 | }; | |
| 4538 | ||
| 4539 | ||
| 4540 | ||
| 4541 | user=players.localPlayer; | |
| 4542 | mouse=user:getMouse(); | |
| 4543 | char=user.Character; | |
| 4544 | gui=user.PlayerGui; | |
| 4545 | bag=user.Backpack; | |
| 4546 | torso=char.Torso; | |
| 4547 | head=char.Head; | |
| 4548 | hum=_hum(char); | |
| 4549 | ||
| 4550 | url='rbxassetid://%d'; | |
| 4551 | name='dev-uzi'; | |
| 4552 | ||
| 4553 | h_weld_cf_inactive=_cframe(0.35,0.5,0.5, | |
| 4554 | 0,90,-70); | |
| 4555 | h_weld_cf_active=_cframe(0,0.75,0, | |
| 4556 | -110,180,0); | |
| 4557 | ||
| 4558 | assert(hum,'humanoid is not found'); | |
| 4559 | ||
| 4560 | ||
| 4561 | ||
| 4562 | _clear(); | |
| 4563 | ||
| 4564 | ||
| 4565 | _cf_mouse('button1Down',function()
| |
| 4566 | loop_shot=(loop_shot or 0)+1; | |
| 4567 | local vers=loop_shot; | |
| 4568 | local step=runService.Stepped; | |
| 4569 | repeat | |
| 4570 | _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p); | |
| 4571 | step:wait();--wait(0.001); | |
| 4572 | until vers~=loop_shot; | |
| 4573 | end); | |
| 4574 | ||
| 4575 | _cf_mouse('button1Up',function()
| |
| 4576 | loop_shot=(loop_shot or 0)+1; | |
| 4577 | end); | |
| 4578 | ||
| 4579 | _cf_mouse('move',function()
| |
| 4580 | cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11); | |
| 4581 | end); | |
| 4582 | ||
| 4583 | _cf_mouse('keyDown',function(k)
| |
| 4584 | if(k=='r')then | |
| 4585 | if(bullets.clip>0 and time_left<=time())then | |
| 4586 | local got=(bullets.clip>bullets.maximum and | |
| 4587 | bullets.maximum or | |
| 4588 | bullets.clip)-bullets.current; | |
| 4589 | ||
| 4590 | bullets.clip=bullets.clip-got; | |
| 4591 | bullets.current=bullets.current+got; | |
| 4592 | if(got~=0)then | |
| 4593 | time_left=time()+2; | |
| 4594 | end; | |
| 4595 | end; | |
| 4596 | end; | |
| 4597 | end); | |
| 4598 | ||
| 4599 | ||
| 4600 | screen=_new'screenGui'{
| |
| 4601 | name=name; | |
| 4602 | }; | |
| 4603 | ||
| 4604 | cross_f=_new'frame'{
| |
| 4605 | size=UDim2.new(0,21,0,21); | |
| 4606 | backgroundTransparency=1; | |
| 4607 | screen; | |
| 4608 | }; | |
| 4609 | ||
| 4610 | for i=0,1 do | |
| 4611 | _new'frame'{
| |
| 4612 | position=UDim2.new(0,13*i,0,11); | |
| 4613 | size=UDim2.new(0,10,0,1); | |
| 4614 | cross_f; | |
| 4615 | }; | |
| 4616 | end; | |
| 4617 | ||
| 4618 | for i=0,1 do | |
| 4619 | _new'frame'{
| |
| 4620 | position=UDim2.new(0,11,0,13*i); | |
| 4621 | size=UDim2.new(0,1,0,10); | |
| 4622 | cross_f; | |
| 4623 | }; | |
| 4624 | end; | |
| 4625 | ||
| 4626 | ||
| 4627 | ||
| 4628 | shot_sound=_new(head:findFirstChild'2920959'or'sound'){
| |
| 4629 | soundId=url:format(2920959); | |
| 4630 | pitch=1.4; | |
| 4631 | head; | |
| 4632 | }; | |
| 4633 | if(shot_sound.Name~='2920959')then | |
| 4634 | shot_sound.Name='2920959'; | |
| 4635 | shot_sound:play(); | |
| 4636 | end; | |
| 4637 | ||
| 4638 | bin=_new'hopperBin'{
| |
| 4639 | deselected=_cf_deselect; | |
| 4640 | selected=_cf_select; | |
| 4641 | name=name; | |
| 4642 | bag; | |
| 4643 | }; | |
| 4644 | ||
| 4645 | inv=_new'model'{
| |
| 4646 | name=name; | |
| 4647 | char; | |
| 4648 | }; | |
| 4649 | ||
| 4650 | handle=_new'part'{
| |
| 4651 | size=Vector3.new(0.3,1.3,0.4); | |
| 4652 | color=_RGB(140,140,140); | |
| 4653 | name='handle'; | |
| 4654 | formFactor=3; | |
| 4655 | inv; | |
| 4656 | touched=function(hit) | |
| 4657 | if(hit.Parent.className=='Model')then | |
| 4658 | local hum=_hum(hit.Parent); | |
| 4659 | if(hum~=nil)then | |
| 4660 | _hum_dam(hum,handle.Velocity.magnitude); | |
| 4661 | end; | |
| 4662 | end; | |
| 4663 | end; | |
| 4664 | }; | |
| 4665 | h_weld=_new'weld'{
| |
| 4666 | c1=h_weld_cf_inactive; | |
| 4667 | part1=handle; | |
| 4668 | part0=torso; | |
| 4669 | handle; | |
| 4670 | }; | |
| 4671 | _make_hue(); | |
| 4672 | ||
| 4673 | h_part=_new'part'{
| |
| 4674 | size=Vector3.new(0.4,0.4,1.4); | |
| 4675 | color=_RGB(140,140,140); | |
| 4676 | name='handle'; | |
| 4677 | formFactor=3; | |
| 4678 | handle; | |
| 4679 | }; | |
| 4680 | hp_weld=_new'weld'{
| |
| 4681 | c1=_cframe(0,-1.3/2,-0.3, | |
| 4682 | 20,0,0); | |
| 4683 | part0=handle; | |
| 4684 | part1=h_part; | |
| 4685 | handle; | |
| 4686 | }; | |
| 4687 | ||
| 4688 | drag=_new'part'{
| |
| 4689 | size=Vector3.new(0.5,0.45,1.5); | |
| 4690 | color=_RGB(100,100,100); | |
| 4691 | name='handle'; | |
| 4692 | formFactor=3; | |
| 4693 | handle; | |
| 4694 | }; | |
| 4695 | d_weld=_new'weld'{
| |
| 4696 | c1=_cframe(0,-0.25,0); | |
| 4697 | part0=h_part; | |
| 4698 | part1=drag; | |
| 4699 | handle; | |
| 4700 | }; | |
| 4701 | ||
| 4702 | tube=_new'part'{
| |
| 4703 | size=Vector3.new(0.2,0.2,1.5); | |
| 4704 | color=_RGB(0,0,0); | |
| 4705 | name='handle'; | |
| 4706 | formFactor=3; | |
| 4707 | handle; | |
| 4708 | }; | |
| 4709 | t_weld=_new'weld'{
| |
| 4710 | c1=_cframe(0,-0.3,-0.1); | |
| 4711 | part0=h_part; | |
| 4712 | part1=tube; | |
| 4713 | handle; | |
| 4714 | }; | |
| 4715 | ||
| 4716 | bullets_label=_new'textLabel'{
| |
| 4717 | textStrokeColor3=_RGB(0,0,0); | |
| 4718 | textColor3=_RGB(200,200,200); | |
| 4719 | textStrokeTransparency=0; | |
| 4720 | backgroundTransparency=1; | |
| 4721 | fontSize=5; | |
| 4722 | screen; | |
| 4723 | }; | |
| 4724 | ||
| 4725 | lightstuff=_new'frame'{
| |
| 4726 | backgroundColor3=_RGB(255,255,255); | |
| 4727 | position=UDim2.new(0,0,0,-1); | |
| 4728 | backgroundTransparency=0.5; | |
| 4729 | size=UDim2.new(1,0,1,1); | |
| 4730 | borderSizePixel=0; | |
| 4731 | visible=false; | |
| 4732 | screen; | |
| 4733 | }; | |
| 4734 | ||
| 4735 | coroutine.wrap(function() | |
| 4736 | local red,white,green; | |
| 4737 | repeat | |
| 4738 | if(screen.Parent)then | |
| 4739 | if(not green and bullets.current==bullets.maximum)then | |
| 4740 | green=true; | |
| 4741 | bullets_label.TextColor3=_RGB(0,200,0); | |
| 4742 | elseif(not red and bullets.current==0)then | |
| 4743 | red=true; | |
| 4744 | bullets_label.TextColor3=_RGB(200,0,0); | |
| 4745 | elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then | |
| 4746 | bullets_label.TextColor3=_RGB(200,200,200); | |
| 4747 | green=false; | |
| 4748 | red=false; | |
| 4749 | end; | |
| 4750 | bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
| |
| 4751 | bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y); | |
| 4752 | bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6); | |
| 4753 | end; | |
| 4754 | wait(0.001); | |
| 4755 | until nil; | |
| 4756 | end)(); | |
| 4757 | ||
| 4758 | ||
| 4759 | _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1; | |
| 4760 | local vers=_G.dev_pistol_version; | |
| 4761 | repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0; | |
| 4762 | if(hum.Health==0)then | |
| 4763 | _clear(); | |
| 4764 | end; | |
| 4765 | end | |
| 4766 | end) | |
| 4767 | ||
| 4768 | addcmd('nil', 'removes the player',{},
| |
| 4769 | function(args, speaker) | |
| 4770 | local players = getPlayer(args[1], speaker) | |
| 4771 | for i,v in pairs(players)do | |
| 4772 | pcall(function() gPlayers[v].Character:Remove() end) | |
| 4773 | gPlayers[v].Character = nil | |
| 4774 | if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else
| |
| 4775 | Notify('Made player(s) nil') end end end)
| |
| 4776 | ||
| 4777 | ||
| 4778 | addcmd('addban', 'Adds a ban to the banlist if the player is offline.', {},
| |
| 4779 | function(args, speaker) | |
| 4780 | local player = args[1] | |
| 4781 | local playerid = game:GetService("Players"):GetUserIdFromNameAsync(args[1])
| |
| 4782 | if player ~= nil then | |
| 4783 | if FindTable(WL, player) then Notify('Error: '..player..' is whitelisted') elseif not FindTable(banname, player) then
| |
| 4784 | table.insert(banT, playerid) | |
| 4785 | banname[#banname + 1] = {NAME = tostring(player), ID = tonumber(playerid), AGE = "-"}
| |
| 4786 | updatebans() | |
| 4787 | Notify("Added ban for: "..player)
| |
| 4788 | end | |
| 4789 | end | |
| 4790 | end) | |
| 4791 | ||
| 4792 | addcmd('ban', 'goodbye ;)',{},
| |
| 4793 | function(args, speaker) | |
| 4794 | local players = getPlayer(args[1], speaker) | |
| 4795 | for i,v in pairs(players)do | |
| 4796 | if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else
| |
| 4797 | Notify('Banned player(s)') end
| |
| 4798 | spawn(function() | |
| 4799 | if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
| |
| 4800 | if not FindTable(banname, gPlayers[v].Name) then | |
| 4801 | table.insert(banT, _players[v].userId) | |
| 4802 | banname[#banname + 1] = {NAME = tostring(gPlayers[v].Name), ID = tonumber(gPlayers[v].userId), AGE = tonumber(gPlayers[v].AccountAge)}
| |
| 4803 | updatebans() | |
| 4804 | kickF(gPlayers[v]) | |
| 4805 | end | |
| 4806 | end | |
| 4807 | end) | |
| 4808 | end | |
| 4809 | end) | |
| 4810 | ||
| 4811 | addcmd('clearbans', 'welcome back!',{'clrbans'},
| |
| 4812 | function(args, speaker) | |
| 4813 | banT = {}
| |
| 4814 | banname = {}
| |
| 4815 | Notify('Removed all bans')
| |
| 4816 | updatebans() | |
| 4817 | end) | |
| 4818 | ||
| 4819 | addcmd('unban','unbans a player',{},
| |
| 4820 | function(args, speaker) | |
| 4821 | if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then | |
| 4822 | table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1]))) | |
| 4823 | for i,v in pairs(banname) do | |
| 4824 | if v.NAME == tostring(args[1]) then | |
| 4825 | table.remove(banname, i) | |
| 4826 | updatebans() | |
| 4827 | end end | |
| 4828 | Notify('Unbanned ' .. args[1])
| |
| 4829 | end | |
| 4830 | end) | |
| 4831 | ||
| 4832 | addcmd('dismiss', 'dismiss',{'verify'},
| |
| 4833 | function(args, speaker) | |
| 4834 | for _, child in pairs( workspace:GetChildren()) do | |
| 4835 | if child.Name == speaker.Name .. "TAB" then | |
| 4836 | child:Destroy() end end | |
| 4837 | for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end | |
| 4838 | end) | |
| 4839 | ||
| 4840 | addcmd('admin', 'ur an admin now ;o',{},
| |
| 4841 | function(args, speaker) | |
| 4842 | if speaker.userId ~= LP.userId then | |
| 4843 | lponly(speaker) else | |
| 4844 | local players = getPlayer(args[1], speaker) | |
| 4845 | for i,v in pairs(players)do | |
| 4846 | spawn(function() | |
| 4847 | if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then | |
| 4848 | table.insert(adminT, _players[v].userId) | |
| 4849 | adminname[#adminname + 1] = {NAME = tostring(gPlayers[v].Name)}
| |
| 4850 | updateadmins() | |
| 4851 | if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else
| |
| 4852 | Notify('Gave player(s) admin') end
| |
| 4853 | game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1)
| |
| 4854 | end end) end end end) | |
| 4855 | ||
| 4856 | addcmd('unadmin', 'removes the admin',{'noadmin'},
| |
| 4857 | function(args, speaker) | |
| 4858 | if speaker.userId ~= LP.userId then | |
| 4859 | lponly(speaker) else | |
| 4860 | local players = getPlayer(args[1], speaker) | |
| 4861 | for i,v in pairs(players)do | |
| 4862 | local radmin = tostring(_players[v].Name) | |
| 4863 | if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then | |
| 4864 | table.remove(adminT, GetInTable(adminT, _players[v].userId)) | |
| 4865 | for a,b in pairs(adminname) do | |
| 4866 | if b.NAME == radmin then | |
| 4867 | table.remove(adminname, a) | |
| 4868 | updateadmins() | |
| 4869 | end end | |
| 4870 | game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2)
| |
| 4871 | if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else
| |
| 4872 | Notify('Removed admin from player(s)') end
| |
| 4873 | end | |
| 4874 | end | |
| 4875 | end | |
| 4876 | end) | |
| 4877 | ||
| 4878 | addcmd('bang', 'owo',{'rape'},
| |
| 4879 | function(args, speaker) | |
| 4880 | local players = getPlayer(args[1], speaker) | |
| 4881 | local target = getPlayer(args[2], speaker)[1] | |
| 4882 | for i,v in pairs(players)do | |
| 4883 | if args[2] then | |
| 4884 | rape(target, v) | |
| 4885 | else | |
| 4886 | rape(v, speaker.Name) | |
| 4887 | end | |
| 4888 | end | |
| 4889 | end) | |
| 4890 | ||
| 4891 | addcmd('bgui', 'gives player billboard gui presenting text',{},
| |
| 4892 | function(args, speaker) | |
| 4893 | local players = getPlayer(args[1], speaker) | |
| 4894 | for i,v in pairs(players)do | |
| 4895 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
| |
| 4896 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy()
| |
| 4897 | end | |
| 4898 | ||
| 4899 | y = Instance.new("BillboardGui")
| |
| 4900 | y.Size = UDim2.new(0,100,0,150) | |
| 4901 | y.StudsOffset = Vector3.new(0,1,0) | |
| 4902 | y.Parent = gPlayers[v].Character.Head | |
| 4903 | y.Adornee = gPlayers[v].Character.Head | |
| 4904 | f = Instance.new("TextLabel")
| |
| 4905 | f.Parent = y | |
| 4906 | f.BackgroundTransparency = 1 | |
| 4907 | f.Position = UDim2.new(0,0,0,-50) | |
| 4908 | f.Size = UDim2.new(0,100,0,100) | |
| 4909 | f.Font = "Highway" | |
| 4910 | f.FontSize = "Size48" | |
| 4911 | f.Text = GLS(false, 1) | |
| 4912 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
| 4913 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
| 4914 | f.TextStrokeTransparency = 0 | |
| 4915 | f.TextYAlignment = "Bottom" | |
| 4916 | end | |
| 4917 | end) | |
| 4918 | ||
| 4919 | addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
| |
| 4920 | function(args, speaker) | |
| 4921 | local players = getPlayer(args[1], speaker) | |
| 4922 | for i,v in pairs(players)do | |
| 4923 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
| |
| 4924 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy()
| |
| 4925 | end | |
| 4926 | end | |
| 4927 | end) | |
| 4928 | ||
| 4929 | function pipeTp(name,target) | |
| 4930 | spawn(function() | |
| 4931 | local pipe = Instance.new("Part")
| |
| 4932 | pipe.Name = "Pipe" | |
| 4933 | pipe.Color = Color3.new(52/255,142/255,64/255) | |
| 4934 | pipe.Size = Vector3.new(8,8,8) | |
| 4935 | pipe.Anchored = true | |
| 4936 | local mesh = Instance.new("SpecialMesh",pipe)
| |
| 4937 | mesh.MeshId = "rbxassetid://856736661" | |
| 4938 | mesh.Scale = Vector3.new(0.15, 0.15, 0.15) | |
| 4939 | local sound = Instance.new("Sound",pipe)
| |
| 4940 | sound.SoundId = "rbxassetid://864352897" | |
| 4941 | sound.Volume = 1 | |
| 4942 | ||
| 4943 | local targetpos = game:GetService("Players")[target].Character.HumanoidRootPart.CFrame
| |
| 4944 | ||
| 4945 | local char = game:GetService("Players")[name].Character
| |
| 4946 | char.PrimaryPart = char.HumanoidRootPart | |
| 4947 | if char:FindFirstChild("Torso") then
| |
| 4948 | char.Torso.Anchored = true | |
| 4949 | else | |
| 4950 | char.UpperTorso.Anchored = true | |
| 4951 | end | |
| 4952 | ||
| 4953 | local torso = char.HumanoidRootPart | |
| 4954 | local initPos = torso.CFrame | |
| 4955 | ||
| 4956 | pipe.Parent = workspace | |
| 4957 | pipe.CFrame = initPos - Vector3.new(0,8,0) | |
| 4958 | ||
| 4959 | for i = 0,8,0.2 do | |
| 4960 | pipe.CFrame = initPos - Vector3.new(0,8-i,0) | |
| 4961 | if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end | |
| 4962 | game:GetService("RunService").RenderStepped:wait()
| |
| 4963 | end | |
| 4964 | ||
| 4965 | sound:Play() | |
| 4966 | for i = 7,-8,-0.2 do | |
| 4967 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0)) | |
| 4968 | game:GetService("RunService").RenderStepped:wait()
| |
| 4969 | end | |
| 4970 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,-8,0)) | |
| 4971 | ||
| 4972 | for i = 8,0,-0.2 do | |
| 4973 | pipe.CFrame = initPos - Vector3.new(0,8-i,0) | |
| 4974 | game:GetService("RunService").RenderStepped:wait()
| |
| 4975 | end | |
| 4976 | ||
| 4977 | pipe.CFrame = targetpos - Vector3.new(0,8,0) | |
| 4978 | char:SetPrimaryPartCFrame(pipe.CFrame) | |
| 4979 | ||
| 4980 | for i = 0,8,0.2 do | |
| 4981 | pipe.CFrame = targetpos - Vector3.new(0,8-i,0) | |
| 4982 | game:GetService("RunService").RenderStepped:wait()
| |
| 4983 | end | |
| 4984 | ||
| 4985 | local played = false | |
| 4986 | for i = -8,7,0.2 do | |
| 4987 | if i >= 0 and not played then played = true sound:Play() end | |
| 4988 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0)) | |
| 4989 | game:GetService("RunService").RenderStepped:wait()
| |
| 4990 | end | |
| 4991 | char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) | |
| 4992 | ||
| 4993 | for i = 8,0,-0.2 do | |
| 4994 | pipe.CFrame = targetpos - Vector3.new(0,8-i,0) | |
| 4995 | if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end | |
| 4996 | game:GetService("RunService").RenderStepped:wait()
| |
| 4997 | end | |
| 4998 | ||
| 4999 | pipe:Destroy() | |
| 5000 | ||
| 5001 | if char:FindFirstChild("Torso") then
| |
| 5002 | char.Torso.Anchored = false | |
| 5003 | else | |
| 5004 | char.UpperTorso.Anchored = false | |
| 5005 | end | |
| 5006 | end) | |
| 5007 | end | |
| 5008 | ||
| 5009 | addcmd('pipetp', 'uses pipe to tp plr to plr',{},
| |
| 5010 | function(args, speaker) | |
| 5011 | local players = getPlayer(args[1], speaker) | |
| 5012 | local target = getPlayer(args[2], speaker)[1] | |
| 5013 | for i,v in pairs(players)do | |
| 5014 | pipeTp(v,target) | |
| 5015 | end | |
| 5016 | end) | |
| 5017 | ||
| 5018 | addcmd('rhats', 'no more hats',{'removehats'},
| |
| 5019 | function(args, speaker) | |
| 5020 | local players = getPlayer(args[1], speaker) | |
| 5021 | for i,v in pairs(players) do | |
| 5022 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 5023 | if v:IsA('Accessory') then
| |
| 5024 | v:destroy() | |
| 5025 | end | |
| 5026 | end | |
| 5027 | end | |
| 5028 | end) | |
| 5029 | ||
| 5030 | addcmd('naked', 'no more clothing',{},
| |
| 5031 | function(args, speaker) | |
| 5032 | local players = getPlayer(args[1], speaker) | |
| 5033 | for i,v in pairs(players) do | |
| 5034 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 5035 | if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
| |
| 5036 | v:destroy() | |
| 5037 | end | |
| 5038 | end | |
| 5039 | end | |
| 5040 | end) | |
| 5041 | ||
| 5042 | addcmd('rainbow', 'makes a players parts change colors',{},
| |
| 5043 | function(args, speaker) | |
| 5044 | local players = getPlayer(args[1], speaker) | |
| 5045 | for i,v in pairs(players) do | |
| 5046 | local Parts={}
| |
| 5047 | local function GetDiscoColor(hue) | |
| 5048 | local section = hue % 1 * 3 | |
| 5049 | local secondary = 0.5 * math.pi * (section % 1) | |
| 5050 | if section < 1 then | |
| 5051 | return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary)) | |
| 5052 | elseif section < 2 then | |
| 5053 | return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary)) | |
| 5054 | else | |
| 5055 | return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1) | |
| 5056 | end | |
| 5057 | end | |
| 5058 | local Part = function(x,y,z,color,tr,cc,an,parent) | |
| 5059 | local p = Instance.new('Part',parent)
| |
| 5060 | p.formFactor = 'Custom' | |
| 5061 | p.Size = Vector3.new(x,y,z) | |
| 5062 | p.BrickColor = BrickColor.new(color) | |
| 5063 | p.CanCollide = cc | |
| 5064 | p.Transparency = tr | |
| 5065 | p.Anchored = an | |
| 5066 | p.TopSurface,p.BottomSurface = 0,0 | |
| 5067 | p:BreakJoints'' | |
| 5068 | table.insert(Parts,p) | |
| 5069 | return p | |
| 5070 | end | |
| 5071 | local Weld = function(p0,p1) | |
| 5072 | local w = Instance.new('Motor',p0)
| |
| 5073 | w.Part0 = p0 | |
| 5074 | w.Part1 = p1 | |
| 5075 | return w | |
| 5076 | end | |
| 5077 | local Mesh = function(par,num,x,y,z) | |
| 5078 | local msh = 0 | |
| 5079 | if num == 1 then | |
| 5080 | msh = Instance.new("SpecialMesh",par)
| |
| 5081 | msh.MeshId='rbxasset://fonts/torso.mesh' | |
| 5082 | msh.TextureId='rbxasset://25701026' | |
| 5083 | end | |
| 5084 | if num == 2 then | |
| 5085 | msh = Instance.new("SpecialMesh",par)
| |
| 5086 | msh.MeshId='rbxasset://fonts/head.mesh' | |
| 5087 | msh.TextureId='rbxassetid://25701026' | |
| 5088 | end | |
| 5089 | msh.Scale = Vector3.new(x,y,z) | |
| 5090 | return msh | |
| 5091 | end | |
| 5092 | local char=gPlayers[v].Character | |
| 5093 | for _,v in pairs(char:GetChildren()) do | |
| 5094 | if v.ClassName=="Part" then | |
| 5095 | v.Transparency=1 | |
| 5096 | elseif v.ClassName=="Hat" then | |
| 5097 | v.Handle.Mesh.TextureId='rbxassetid://25701026' | |
| 5098 | table.insert(Parts,v.Handle) | |
| 5099 | end | |
| 5100 | end | |
| 5101 | local t=Part(1,1,1,'',0,false,false,char) | |
| 5102 | Mesh(t,1,1,1,1) | |
| 5103 | Weld(char.Torso,t) | |
| 5104 | local a=Part(1,1,1,'',0,false,false,char) | |
| 5105 | Mesh(a,1,.5,1,1) | |
| 5106 | Weld(char['Right Arm'],a) | |
| 5107 | local a=Part(1,1,1,'',0,false,false,char) | |
| 5108 | Mesh(a,1,.5,1,1) | |
| 5109 | Weld(char['Left Arm'],a) | |
| 5110 | local l=Part(1,1,1,'',0,false,false,char) | |
| 5111 | Mesh(l,1,.5,1,1) | |
| 5112 | Weld(char['Right Leg'],l) | |
| 5113 | local l=Part(1,1,1,'',0,false,false,char) | |
| 5114 | Mesh(l,1,.5,1,1) | |
| 5115 | Weld(char['Left Leg'],l) | |
| 5116 | local h=Part(1,1,1,'',0,false,false,char) | |
| 5117 | Mesh(h,2,1,1,1) | |
| 5118 | Weld(char.Head,h) | |
| 5119 | spawn(function() | |
| 5120 | while(coroutine.yield())do | |
| 5121 | for i=1,#Parts do | |
| 5122 | Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5) | |
| 5123 | end | |
| 5124 | end; | |
| 5125 | end); | |
| 5126 | end | |
| 5127 | end) | |
| 5128 | ||
| 5129 | addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'},
| |
| 5130 | function(args, speaker) | |
| 5131 | local players = getPlayer(args[1], speaker) | |
| 5132 | for i,v in pairs(players) do | |
| 5133 | for i,v in pairs(gPlayers[v].Backpack:GetDescendants()) do | |
| 5134 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 5135 | v:destroy() end | |
| 5136 | for i,v in pairs(players) do | |
| 5137 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
| 5138 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 5139 | v:destroy() end end end | |
| 5140 | end | |
| 5141 | end | |
| 5142 | end) | |
| 5143 | ||
| 5144 | addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'},
| |
| 5145 | function(args, speaker) | |
| 5146 | local players = getPlayer(args[1], speaker) | |
| 5147 | for i,v in pairs(players)do | |
| 5148 | local function copy(instance) | |
| 5149 | for i,c in pairs(instance:GetChildren())do | |
| 5150 | if c:IsA('Tool') or c:IsA('HopperBin') then
| |
| 5151 | c:Clone().Parent = gPlayers[v].StarterGear end | |
| 5152 | copy(c) | |
| 5153 | end | |
| 5154 | end | |
| 5155 | copy(gPlayers[v].Backpack) | |
| 5156 | end | |
| 5157 | for i,v in pairs(players)do | |
| 5158 | local function copy(instance) | |
| 5159 | for i,c in pairs(instance:GetChildren())do | |
| 5160 | if c:IsA('Tool') or c:IsA('HopperBin') then
| |
| 5161 | c:Clone().Parent = gPlayers[v].StarterGear end | |
| 5162 | copy(c) | |
| 5163 | end | |
| 5164 | end | |
| 5165 | copy(gPlayers[v].Character) | |
| 5166 | end | |
| 5167 | Notify('Copied tools to StarterGear')
| |
| 5168 | end) | |
| 5169 | ||
| 5170 | addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'},
| |
| 5171 | function(args, speaker) | |
| 5172 | local players = getPlayer(args[1], speaker) | |
| 5173 | for i,v in pairs(players)do | |
| 5174 | for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do | |
| 5175 | if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy()
| |
| 5176 | end end end | |
| 5177 | Notify('Cleared tools from StarterGear')
| |
| 5178 | end) | |
| 5179 | ||
| 5180 | addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'},
| |
| 5181 | function(args, speaker) | |
| 5182 | local players = getPlayer(args[1], speaker) | |
| 5183 | for i,v in pairs(players)do | |
| 5184 | local function copy(instance) | |
| 5185 | for i,c in pairs(instance:GetChildren())do | |
| 5186 | if c:IsA('Tool') or c:IsA('HopperBin') then
| |
| 5187 | c:Clone().Parent = gPlayers[v].Backpack end | |
| 5188 | copy(c) | |
| 5189 | end | |
| 5190 | end | |
| 5191 | copy(LightingService) | |
| 5192 | end | |
| 5193 | for i,v in pairs(players)do | |
| 5194 | local function copy(instance) | |
| 5195 | for i,c in pairs(instance:GetChildren())do | |
| 5196 | if c:IsA('Tool') or c:IsA('HopperBin') then
| |
| 5197 | c:Clone().Parent = gPlayers[v].Backpack end | |
| 5198 | copy(c) | |
| 5199 | end | |
| 5200 | end | |
| 5201 | copy(game.ReplicatedStorage) | |
| 5202 | end | |
| 5203 | end) | |
| 5204 | ||
| 5205 | wdisco = false | |
| 5206 | addcmd('partdisco', 'color spams the workspace',{'pdisco'},
| |
| 5207 | function(args, speaker) | |
| 5208 | if wdisco == false then | |
| 5209 | wdisco = true | |
| 5210 | presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
| |
| 5211 | repeat wait(1) | |
| 5212 | if wdisco == true then | |
| 5213 | local function color(instance) | |
| 5214 | for i,v in pairs(instance:GetChildren())do | |
| 5215 | if v.className == "Part" then | |
| 5216 | v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end | |
| 5217 | color(v) | |
| 5218 | end | |
| 5219 | end | |
| 5220 | color(workspace) | |
| 5221 | end | |
| 5222 | until wdisco == false | |
| 5223 | end | |
| 5224 | end) | |
| 5225 | ||
| 5226 | addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'},
| |
| 5227 | function(args, speaker) | |
| 5228 | wdisco = false | |
| 5229 | end) | |
| 5230 | ||
| 5231 | addcmd('gravity', 'workspace gravity',{''},
| |
| 5232 | function(args, speaker) | |
| 5233 | workspace.Gravity = args[1] | |
| 5234 | Notify('Gravity set to ' .. args[1])
| |
| 5235 | end) | |
| 5236 | ||
| 5237 | SINFOGUIopen = false | |
| 5238 | function serverinfogui() | |
| 5239 | if SINFOGUIopen == false then | |
| 5240 | local Sinfo = Instance.new("ScreenGui")
| |
| 5241 | local drag = Instance.new("Frame")
| |
| 5242 | local PromptDialog = Instance.new("Frame")
| |
| 5243 | local shadow = Instance.new("Frame")
| |
| 5244 | local PopupText = Instance.new("TextLabel")
| |
| 5245 | local Exit = Instance.new("TextButton")
| |
| 5246 | local ContainerFrame = Instance.new("Frame")
| |
| 5247 | local TextLabel = Instance.new("TextLabel")
| |
| 5248 | local TextLabel2 = Instance.new("TextLabel")
| |
| 5249 | local TextLabel3 = Instance.new("TextLabel")
| |
| 5250 | local Time = Instance.new("TextLabel")
| |
| 5251 | local appearance = Instance.new("TextLabel")
| |
| 5252 | local fe = Instance.new("TextLabel")
| |
| 5253 | local maxplayers = Instance.new("TextLabel")
| |
| 5254 | local name = Instance.new("TextLabel")
| |
| 5255 | local placeid = Instance.new("TextLabel")
| |
| 5256 | local playerid = Instance.new("TextLabel")
| |
| 5257 | local players = Instance.new("TextLabel")
| |
| 5258 | Sinfo.Name = "Sinfo" | |
| 5259 | Sinfo.Parent = game.CoreGui | |
| 5260 | drag.Name = "drag" | |
| 5261 | drag.Parent = Sinfo | |
| 5262 | drag.Active = true | |
| 5263 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 5264 | drag.BackgroundTransparency = 1 | |
| 5265 | dragGUI(drag) | |
| 5266 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
| 5267 | drag.Size = UDim2.new(0, 290, 0, 30) | |
| 5268 | PromptDialog.Name = "PromptDialog" | |
| 5269 | PromptDialog.Parent = drag | |
| 5270 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 5271 | PromptDialog.BackgroundTransparency = 1 | |
| 5272 | PromptDialog.BorderSizePixel = 0 | |
| 5273 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
| 5274 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
| 5275 | PromptDialog.ZIndex = 8 | |
| 5276 | shadow.Name = "shadow" | |
| 5277 | shadow.Parent = PromptDialog | |
| 5278 | shadow.BackgroundColor3 = maincolor | |
| 5279 | shadow.BackgroundTransparency = 0.30000001192093 | |
| 5280 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
| 5281 | shadow.BorderSizePixel = 0 | |
| 5282 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
| 5283 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
| 5284 | PopupText.Name = "PopupText" | |
| 5285 | PopupText.Parent = shadow | |
| 5286 | PopupText.BackgroundTransparency = 1 | |
| 5287 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
| 5288 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
| 5289 | PopupText.ZIndex = 110 | |
| 5290 | PopupText.Font = Enum.Font.SourceSansBold | |
| 5291 | PopupText.FontSize = Enum.FontSize.Size28 | |
| 5292 | PopupText.Text = "Server" | |
| 5293 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 5294 | PopupText.TextStrokeTransparency = 0 | |
| 5295 | PopupText.TextWrapped = true | |
| 5296 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
| 5297 | Exit.Name = "Exit" | |
| 5298 | Exit.Parent = shadow | |
| 5299 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 5300 | Exit.BackgroundTransparency = 0.30000001192093 | |
| 5301 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
| 5302 | Exit.BorderSizePixel = 0 | |
| 5303 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
| 5304 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
| 5305 | Exit.FontSize = Enum.FontSize.Size14 | |
| 5306 | Exit.Text = "" | |
| 5307 | ContainerFrame.Name = "ContainerFrame" | |
| 5308 | ContainerFrame.Parent = PromptDialog | |
| 5309 | ContainerFrame.BackgroundColor3 = maincolor | |
| 5310 | ContainerFrame.BackgroundTransparency = 0.5 | |
| 5311 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
| 5312 | ContainerFrame.BorderSizePixel = 0 | |
| 5313 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
| 5314 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
| 5315 | ContainerFrame.ZIndex = 5 | |
| 5316 | TextLabel.Name = "Text Label" | |
| 5317 | TextLabel.Parent = ContainerFrame | |
| 5318 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 5319 | TextLabel.BackgroundTransparency = 1 | |
| 5320 | TextLabel.BorderColor3 = Color3.new(0, 0, 0) | |
| 5321 | TextLabel.Position = UDim2.new(0, 10, 0, 70) | |
| 5322 | TextLabel.Size = UDim2.new(0, 100, 0, 20) | |
| 5323 | TextLabel.ZIndex = 10 | |
| 5324 | TextLabel.Font = Enum.Font.SourceSans | |
| 5325 | TextLabel.FontSize = Enum.FontSize.Size24 | |
| 5326 | TextLabel.Text = "Run Time:" | |
| 5327 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
| 5328 | TextLabel.TextStrokeTransparency = 0 | |
| 5329 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
| 5330 | TextLabel2.Name = "Text Label2" | |
| 5331 | TextLabel2.Parent = ContainerFrame | |
| 5332 | TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 5333 | TextLabel2.BackgroundTransparency = 1 | |
| 5334 | TextLabel2.BorderColor3 = Color3.new(0, 0, 0) | |
| 5335 | TextLabel2.Position = UDim2.new(0, 10, 0, 120) | |
| 5336 | TextLabel2.Size = UDim2.new(0, 100, 0, 20) | |
| 5337 | TextLabel2.ZIndex = 10 | |
| 5338 | TextLabel2.Font = Enum.Font.SourceSans | |
| 5339 | TextLabel2.FontSize = Enum.FontSize.Size24 | |
| 5340 | TextLabel2.Text = "Statistics:" | |
| 5341 | TextLabel2.TextColor3 = Color3.new(1, 1, 1) | |
| 5342 | TextLabel2.TextStrokeTransparency = 0 | |
| 5343 | TextLabel2.TextXAlignment = Enum.TextXAlignment.Left | |
| 5344 | TextLabel3.Name = "Text Label3" | |
| 5345 | TextLabel3.Parent = ContainerFrame | |
| 5346 | TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 5347 | TextLabel3.BackgroundTransparency = 1 | |
| 5348 | TextLabel3.BorderColor3 = Color3.new(0, 0, 0) | |
| 5349 | TextLabel3.Position = UDim2.new(0, 10, 0, 0) | |
| 5350 | TextLabel3.Size = UDim2.new(0, 100, 0, 20) | |
| 5351 | TextLabel3.ZIndex = 10 | |
| 5352 | TextLabel3.Font = Enum.Font.SourceSans | |
| 5353 | TextLabel3.FontSize = Enum.FontSize.Size24 | |
| 5354 | TextLabel3.Text = "Local Player:" | |
| 5355 | TextLabel3.TextColor3 = Color3.new(1, 1, 1) | |
| 5356 | TextLabel3.TextStrokeTransparency = 0 | |
| 5357 | TextLabel3.TextXAlignment = Enum.TextXAlignment.Left | |
| 5358 | Time.Name = "Time" | |
| 5359 | Time.Parent = ContainerFrame | |
| 5360 | Time.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 5361 | Time.BackgroundTransparency = 1 | |
| 5362 | Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 5363 | Time.Position = UDim2.new(0, 10, 0, 90) | |
| 5364 | Time.Size = UDim2.new(0, 100, 0, 20) | |
| 5365 | Time.ZIndex = 100 | |
| 5366 | Time.Font = Enum.Font.ArialBold | |
| 5367 | Time.FontSize = Enum.FontSize.Size14 | |
| 5368 | Time.Text = "Loading..." | |
| 5369 | Time.TextColor3 = Color3.new(1, 1, 1) | |
| 5370 | Time.TextStrokeTransparency = 0 | |
| 5371 | Time.TextXAlignment = Enum.TextXAlignment.Left | |
| 5372 | appearance.Name = "appearance" | |
| 5373 | appearance.Parent = ContainerFrame | |
| 5374 | appearance.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 5375 | appearance.BackgroundTransparency = 1 | |
| 5376 | appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 5377 | appearance.Position = UDim2.new(0, 10, 0, 40) | |
| 5378 | appearance.Size = UDim2.new(0, 100, 0, 20) | |
| 5379 | appearance.ZIndex = 10 | |
| 5380 | appearance.Font = Enum.Font.ArialBold | |
| 5381 | appearance.FontSize = Enum.FontSize.Size14 | |
| 5382 | appearance.Text = "Appearance: Loading..." | |
| 5383 | appearance.TextColor3 = Color3.new(1, 1, 1) | |
| 5384 | appearance.TextStrokeTransparency = 0 | |
| 5385 | appearance.TextXAlignment = Enum.TextXAlignment.Left | |
| 5386 | fe.Name = "fe" | |
| 5387 | fe.Parent = ContainerFrame | |
| 5388 | fe.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 5389 | fe.BackgroundTransparency = 1 | |
| 5390 | fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 5391 | fe.Position = UDim2.new(0, 10, 0, 200) | |
| 5392 | fe.Size = UDim2.new(0, 100, 0, 20) | |
| 5393 | fe.ZIndex = 10 | |
| 5394 | fe.Font = Enum.Font.ArialBold | |
| 5395 | fe.FontSize = Enum.FontSize.Size14 | |
| 5396 | fe.Text = "Loading..." | |
| 5397 | fe.TextColor3 = Color3.new(1, 1, 1) | |
| 5398 | fe.TextStrokeTransparency = 0 | |
| 5399 | fe.TextXAlignment = Enum.TextXAlignment.Left | |
| 5400 | maxplayers.Name = "maxplayers" | |
| 5401 | maxplayers.Parent = ContainerFrame | |
| 5402 | maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 5403 | maxplayers.BackgroundTransparency = 1 | |
| 5404 | maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 5405 | maxplayers.Position = UDim2.new(0, 10, 0, 160) | |
| 5406 | maxplayers.Size = UDim2.new(0, 100, 0, 20) | |
| 5407 | maxplayers.ZIndex = 10 | |
| 5408 | maxplayers.Font = Enum.Font.ArialBold | |
| 5409 | maxplayers.FontSize = Enum.FontSize.Size14 | |
| 5410 | maxplayers.Text = "Loading..." | |
| 5411 | maxplayers.TextColor3 = Color3.new(1, 1, 1) | |
| 5412 | maxplayers.TextStrokeTransparency = 0 | |
| 5413 | maxplayers.TextXAlignment = Enum.TextXAlignment.Left | |
| 5414 | name.Name = "name" | |
| 5415 | name.Parent = ContainerFrame | |
| 5416 | name.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 5417 | name.BackgroundTransparency = 1 | |
| 5418 | name.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 5419 | name.Position = UDim2.new(0, 10, 0, 180) | |
| 5420 | name.Size = UDim2.new(0, 100, 0, 20) | |
| 5421 | name.ZIndex = 10 | |
| 5422 | name.Font = Enum.Font.ArialBold | |
| 5423 | name.FontSize = Enum.FontSize.Size14 | |
| 5424 | name.Text = "Place: Loading..." | |
| 5425 | name.TextColor3 = Color3.new(1, 1, 1) | |
| 5426 | name.TextStrokeTransparency = 0 | |
| 5427 | name.TextXAlignment = Enum.TextXAlignment.Left | |
| 5428 | placeid.Name = "placeid" | |
| 5429 | placeid.Parent = ContainerFrame | |
| 5430 | placeid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 5431 | placeid.BackgroundTransparency = 1 | |
| 5432 | placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 5433 | placeid.Position = UDim2.new(0, 10, 0, 220) | |
| 5434 | placeid.Size = UDim2.new(0, 100, 0, 20) | |
| 5435 | placeid.ZIndex = 10 | |
| 5436 | placeid.Font = Enum.Font.ArialBold | |
| 5437 | placeid.FontSize = Enum.FontSize.Size14 | |
| 5438 | placeid.Text = "Place ID: Loading..." | |
| 5439 | placeid.TextColor3 = Color3.new(1, 1, 1) | |
| 5440 | placeid.TextStrokeTransparency = 0 | |
| 5441 | placeid.TextXAlignment = Enum.TextXAlignment.Left | |
| 5442 | playerid.Name = "playerid" | |
| 5443 | playerid.Parent = ContainerFrame | |
| 5444 | playerid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 5445 | playerid.BackgroundTransparency = 1 | |
| 5446 | playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 5447 | playerid.Position = UDim2.new(0, 10, 0, 20) | |
| 5448 | playerid.Size = UDim2.new(0, 100, 0, 20) | |
| 5449 | playerid.ZIndex = 10 | |
| 5450 | playerid.Font = Enum.Font.ArialBold | |
| 5451 | playerid.FontSize = Enum.FontSize.Size14 | |
| 5452 | playerid.Text = "Player ID: Loading..." | |
| 5453 | playerid.TextColor3 = Color3.new(1, 1, 1) | |
| 5454 | playerid.TextStrokeTransparency = 0 | |
| 5455 | playerid.TextXAlignment = Enum.TextXAlignment.Left | |
| 5456 | players.Name = "players" | |
| 5457 | players.Parent = ContainerFrame | |
| 5458 | players.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 5459 | players.BackgroundTransparency = 1 | |
| 5460 | players.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 5461 | players.Position = UDim2.new(0, 10, 0, 140) | |
| 5462 | players.Size = UDim2.new(0, 100, 0, 20) | |
| 5463 | players.ZIndex = 100 | |
| 5464 | players.Font = Enum.Font.ArialBold | |
| 5465 | players.FontSize = Enum.FontSize.Size14 | |
| 5466 | players.Text = "Loading..." | |
| 5467 | players.TextColor3 = Color3.new(1, 1, 1) | |
| 5468 | players.TextStrokeTransparency = 0 | |
| 5469 | players.TextXAlignment = Enum.TextXAlignment.Left | |
| 5470 | local SINFOGUI = ContainerFrame | |
| 5471 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
| 5472 | SINFOGUIopen = true wait(0.5) | |
| 5473 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
| |
| 5474 | SINFOGUI.name.Text = "Place: " .. Asset.Name | |
| 5475 | Exit.MouseButton1Click:Connect(function() | |
| 5476 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
| 5477 | wait(0.6) SINFOGUIopen = false Sinfo:Destroy() end) | |
| 5478 | SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId | |
| 5479 | if workspace.FilteringEnabled == true then | |
| 5480 | SINFOGUI.fe.Text = "Filtering Enabled" | |
| 5481 | elseif workspace.FilteringEnabled == false then | |
| 5482 | SINFOGUI.fe.Text = "Filtering Disabled" end | |
| 5483 | SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max" | |
| 5484 | SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat | |
| 5485 | players = gPlayers:getPlayers() | |
| 5486 | SINFOGUI.players.Text = #players.. " Player(s)" | |
| 5487 | SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId | |
| 5488 | local seconds = math.floor(workspace.DistributedGameTime) | |
| 5489 | local minutes = math.floor(workspace.DistributedGameTime / 60) | |
| 5490 | local hours = math.floor(workspace.DistributedGameTime / 60 / 60) | |
| 5491 | local seconds = seconds - (minutes * 60) | |
| 5492 | local minutes = minutes - (hours * 60) | |
| 5493 | if hours < 1 then if minutes < 1 then | |
| 5494 | SINFOGUI.Time.Text = seconds .. " Second(s)" else | |
| 5495 | SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else | |
| 5496 | SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
| 5497 | end wait(1) until SINFOGUIopen == false end end | |
| 5498 | addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'},
| |
| 5499 | function(args, speaker) | |
| 5500 | if speaker.userId ~= LP.userId then | |
| 5501 | lponly(speaker) | |
| 5502 | else | |
| 5503 | serverinfogui() | |
| 5504 | end | |
| 5505 | end) | |
| 5506 | ||
| 5507 | addcmd('sparkles', 'give a player sparkles',{'sp'},
| |
| 5508 | function(args, speaker) | |
| 5509 | local players = getPlayer(args[1], speaker) | |
| 5510 | for i,v in pairs(players)do | |
| 5511 | spawn(function() | |
| 5512 | local pchar=_char(v) | |
| 5513 | local Sparkles1 = Instance.new("Sparkles", pchar.Head)
| |
| 5514 | local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart)
| |
| 5515 | local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
| |
| 5516 | local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
| |
| 5517 | local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
| |
| 5518 | local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
| |
| 5519 | if not args[2] then return end | |
| 5520 | Sparkles1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 5521 | Sparkles2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 5522 | Sparkles3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 5523 | Sparkles4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 5524 | Sparkles5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 5525 | Sparkles6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) | |
| 5526 | end) | |
| 5527 | end | |
| 5528 | end) | |
| 5529 | ||
| 5530 | addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'},
| |
| 5531 | function(args, speaker) | |
| 5532 | local players = getPlayer(args[1], speaker) | |
| 5533 | for i,v in pairs(players)do | |
| 5534 | local pchar=_char(v) | |
| 5535 | for j,v1 in pairs(pchar:GetDescendants()) do | |
| 5536 | if v1:IsA("Sparkles") then
| |
| 5537 | v1:Destroy() | |
| 5538 | end end end | |
| 5539 | end) | |
| 5540 | ||
| 5541 | addcmd('smoke', 'give a player smoke',{},
| |
| 5542 | function(args, speaker) | |
| 5543 | local players = getPlayer(args[1], speaker) | |
| 5544 | for i,v in pairs(players)do | |
| 5545 | local pchar=_char(v) | |
| 5546 | Instance.new("Smoke", pchar.HumanoidRootPart)
| |
| 5547 | end | |
| 5548 | end) | |
| 5549 | ||
| 5550 | addcmd('addstat', 'give a player a stat',{},
| |
| 5551 | function(args, speaker) | |
| 5552 | local players = getPlayer(args[1], speaker) | |
| 5553 | for i,v in pairs(players)do | |
| 5554 | spawn(function() | |
| 5555 | if gPlayers[v]:FindFirstChild("leaderstats") then
| |
| 5556 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
| 5557 | if child.Name == "STAT" then | |
| 5558 | child:Destroy() | |
| 5559 | end | |
| 5560 | end | |
| 5561 | local score = Instance.new("StringValue")
| |
| 5562 | score.Name = "STAT" | |
| 5563 | score.Value = GLS(false, 1) | |
| 5564 | score.Parent = gPlayers[v].leaderstats | |
| 5565 | else | |
| 5566 | local stats = Instance.new("IntValue")
| |
| 5567 | stats.Name = "leaderstats" | |
| 5568 | stats.Parent = gPlayers[v] | |
| 5569 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
| 5570 | if child.Name == "STAT" then | |
| 5571 | child:Destroy() | |
| 5572 | end | |
| 5573 | end | |
| 5574 | local score = Instance.new("StringValue")
| |
| 5575 | score.Name = "STAT" | |
| 5576 | score.Value = GLS(false, 1) | |
| 5577 | score.Parent = gPlayers[v].leaderstats | |
| 5578 | end | |
| 5579 | end) | |
| 5580 | end | |
| 5581 | end) | |
| 5582 | ||
| 5583 | addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
| |
| 5584 | function(args, speaker) | |
| 5585 | local players = getPlayer(args[1], speaker) | |
| 5586 | for i,v in pairs(players)do | |
| 5587 | local pchar=_char(v) | |
| 5588 | for j,v1 in pairs(pchar:GetDescendants()) do | |
| 5589 | if v1:IsA("Smoke") then
| |
| 5590 | v1:Destroy() | |
| 5591 | end | |
| 5592 | end | |
| 5593 | end | |
| 5594 | end) | |
| 5595 | ||
| 5596 | addcmd('longneck', 'makes a player have a really long neck',{'giraffe'},
| |
| 5597 | function(args, speaker) | |
| 5598 | local players = getPlayer(args[1], speaker) | |
| 5599 | for i,v in pairs(players)do | |
| 5600 | local pchar=_char(v) | |
| 5601 | for i,v in pairs(pchar:GetChildren()) do | |
| 5602 | if pchar.Torso:FindFirstChild("Neck") then
| |
| 5603 | pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
| 5604 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
| |
| 5605 | Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1)
| |
| 5606 | Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true | |
| 5607 | local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
| |
| 5608 | local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0)
| |
| 5609 | end | |
| 5610 | end | |
| 5611 | end | |
| 5612 | end) | |
| 5613 | ||
| 5614 | addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'},
| |
| 5615 | function(args, speaker) | |
| 5616 | local players = getPlayer(args[1], speaker) | |
| 5617 | for i,v in pairs(players)do | |
| 5618 | local pchar=_char(v) | |
| 5619 | for i,v in pairs(pchar:GetChildren()) do | |
| 5620 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
| 5621 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
| |
| 5622 | end | |
| 5623 | end | |
| 5624 | end) | |
| 5625 | ||
| 5626 | addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'},
| |
| 5627 | function(args, speaker) | |
| 5628 | workspace.Terrain:Clear() | |
| 5629 | end) | |
| 5630 | ||
| 5631 | addcmd('smite','get hit by lightning',{},
| |
| 5632 | function(args, speaker) | |
| 5633 | local players = getPlayer(args[1], speaker) | |
| 5634 | for i,v in pairs(players)do | |
| 5635 | local pchar=_char(v) | |
| 5636 | spawn(function() | |
| 5637 | local char = pchar | |
| 5638 | local zeus = Instance.new("Model",char)
| |
| 5639 | local cloud = Instance.new("Part",zeus)
| |
| 5640 | cloud.Anchored = true | |
| 5641 | cloud.CanCollide = false | |
| 5642 | cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0) | |
| 5643 | local sound = Instance.new("Sound",cloud)
| |
| 5644 | sound.SoundId = "rbxassetid://133426162" | |
| 5645 | local mesh = Instance.new("SpecialMesh",cloud)
| |
| 5646 | mesh.MeshId = "http://www.roblox.com/asset/?id=1095708" | |
| 5647 | mesh.TextureId = "http://www.roblox.com/asset/?id=1095709" | |
| 5648 | mesh.Scale = Vector3.new(30,30,40) | |
| 5649 | mesh.VertexColor = Vector3.new(0.3,0.3,0.3) | |
| 5650 | local light = Instance.new("PointLight",cloud)
| |
| 5651 | light.Color = Color3.new(0,85/255,1) | |
| 5652 | light.Brightness = 10 | |
| 5653 | light.Range = 30 | |
| 5654 | light.Enabled = false | |
| 5655 | wait(0.2) | |
| 5656 | sound.Volume = 0.5 | |
| 5657 | sound.Pitch = 0.8 | |
| 5658 | sound:Play() | |
| 5659 | light.Enabled = true | |
| 5660 | wait(1/100) | |
| 5661 | light.Enabled = false | |
| 5662 | wait(0.2) | |
| 5663 | light.Enabled = true | |
| 5664 | light.Brightness = 1 | |
| 5665 | wait(0.05) | |
| 5666 | light.Brightness = 3 | |
| 5667 | wait(0.02) | |
| 5668 | light.Brightness = 1 | |
| 5669 | wait(0.07) | |
| 5670 | light.Brightness = 10 | |
| 5671 | wait(0.09) | |
| 5672 | light.Brightness = 0 | |
| 5673 | wait(0.01) | |
| 5674 | light.Brightness = 7 | |
| 5675 | light.Enabled = false | |
| 5676 | wait(1.5) | |
| 5677 | local part1 = Instance.new("Part",zeus)
| |
| 5678 | part1.Anchored = true | |
| 5679 | part1.CanCollide = false | |
| 5680 | part1.Size = Vector3.new(2, 9.2, 1) | |
| 5681 | part1.BrickColor = BrickColor.new("New Yeller")
| |
| 5682 | part1.Transparency = 0.6 | |
| 5683 | part1.BottomSurface = "Smooth" | |
| 5684 | part1.TopSurface = "Smooth" | |
| 5685 | part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0) | |
| 5686 | part1.Rotation = Vector3.new(0.359, 1.4, -14.361) | |
| 5687 | wait() | |
| 5688 | local part2 = part1:clone() | |
| 5689 | part2.Parent = zeus | |
| 5690 | part2.Size = Vector3.new(1, 7.48, 2) | |
| 5691 | part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0) | |
| 5692 | part2.Rotation = Vector3.new(77.514, -75.232, 78.051) | |
| 5693 | wait() | |
| 5694 | local part3 = part1:clone() | |
| 5695 | part3.Parent = zeus | |
| 5696 | part3.Size = Vector3.new(1.86, 7.56, 1) | |
| 5697 | part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0) | |
| 5698 | part3.Rotation = Vector3.new(0, 0, -11.128) | |
| 5699 | sound.SoundId = "rbxassetid://130818250" | |
| 5700 | sound.Volume = 1 | |
| 5701 | sound.Pitch = 1 | |
| 5702 | sound:Play() | |
| 5703 | wait() | |
| 5704 | part1.Transparency = 1 | |
| 5705 | part2.Transparency = 1 | |
| 5706 | part3.Transparency = 1 | |
| 5707 | Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0)
| |
| 5708 | char:BreakJoints() | |
| 5709 | end) | |
| 5710 | end | |
| 5711 | end) | |
| 5712 | ||
| 5713 | addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'},
| |
| 5714 | function(args, speaker) | |
| 5715 | local players = getPlayer(args[1], speaker) | |
| 5716 | for i,v in pairs(players)do | |
| 5717 | spawn(function() | |
| 5718 | local pchar=_char(v) | |
| 5719 | 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)
| |
| 5720 | local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
| |
| 5721 | local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
| |
| 5722 | local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
| |
| 5723 | local f = Instance.new("Sound")
| |
| 5724 | f.Name = "fly" | |
| 5725 | f.SoundId = "rbxassetid://179438534" | |
| 5726 | f.Volume = 3 | |
| 5727 | f.Pitch = 1 | |
| 5728 | f.Looped = true | |
| 5729 | f.archivable = true | |
| 5730 | f.Parent = Ast | |
| 5731 | f:play() | |
| 5732 | local Touched = false | |
| 5733 | coroutine.wrap(function() | |
| 5734 | repeat wait(0.1) | |
| 5735 | Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z) | |
| 5736 | until not Ast or Ast.Parent == nil or Touched == true | |
| 5737 | end)() | |
| 5738 | Ast.Touched:connect(function(Part) | |
| 5739 | if Touched == false then | |
| 5740 | Touched = true | |
| 5741 | Part:BreakJoints() | |
| 5742 | local Boom = Instance.new("Explosion", workspace)
| |
| 5743 | Boom.Position = Ast.Position | |
| 5744 | Boom.BlastPressure = 1000000 | |
| 5745 | Boom.BlastRadius = 30 | |
| 5746 | Fire.Heat = 0 | |
| 5747 | Smoke.RiseVelocity = 0 | |
| 5748 | f:Destroy() | |
| 5749 | local s = Instance.new("Sound")
| |
| 5750 | s.Name = "boom" | |
| 5751 | s.SoundId = "rbxassetid://188590169" | |
| 5752 | s.Volume = 3 | |
| 5753 | s.Pitch = 1 | |
| 5754 | s.Looped = true | |
| 5755 | s.archivable = true | |
| 5756 | s.Parent = Ast | |
| 5757 | s:play() | |
| 5758 | coroutine.wrap(function() | |
| 5759 | wait(10) | |
| 5760 | s:Destroy() | |
| 5761 | if Ast and Ast.Parent ~= nil then | |
| 5762 | Ast:Destroy() | |
| 5763 | end | |
| 5764 | end)() | |
| 5765 | end | |
| 5766 | end) | |
| 5767 | end) | |
| 5768 | end | |
| 5769 | end) | |
| 5770 | ||
| 5771 | addcmd('bomb','gives you a bomb vest',{'terrorist'},
| |
| 5772 | function(args, speaker) | |
| 5773 | local players = getPlayer(args[1], speaker) | |
| 5774 | for i,v in pairs(players)do | |
| 5775 | spawn(function() | |
| 5776 | local Char=_char(v) | |
| 5777 | local HumanoidRootPart = Char.HumanoidRootPart | |
| 5778 | local TickWait = 1 | |
| 5779 | local Dead = false | |
| 5780 | ||
| 5781 | local Position = Vector3.new(0,100,0) | |
| 5782 | function NewPart(Parent) | |
| 5783 | local Part = Instance.new("Part", Parent)
| |
| 5784 | Part.CanCollide = false | |
| 5785 | Part.Position = Position | |
| 5786 | Part.TopSurface = "Smooth" | |
| 5787 | Part.BottomSurface = "Smooth" | |
| 5788 | Position = Position + Vector3.new(0,10,0) | |
| 5789 | return Part | |
| 5790 | end | |
| 5791 | ||
| 5792 | local Model = Char:FindFirstChild("Bomb")
| |
| 5793 | if Model then Model:Destroy() end | |
| 5794 | ||
| 5795 | local Model = Instance.new("Model", Char)
| |
| 5796 | Model.Name = "Bomb" | |
| 5797 | ||
| 5798 | local Belt = NewPart(Model) | |
| 5799 | Belt.Size = Vector3.new(2.2,0.5,1.2) | |
| 5800 | local Weld = Instance.new("Weld", Belt)
| |
| 5801 | Weld.Part0 = Belt | |
| 5802 | Weld.Part1 = HumanoidRootPart | |
| 5803 | Weld.C0 = CFrame.new(0,1.1,0) | |
| 5804 | local Light = Instance.new("PointLight", Belt)
| |
| 5805 | Light.Range = 15 | |
| 5806 | Light.Brightness = 5 | |
| 5807 | Light.Color = Color3.new(1,0,0) | |
| 5808 | local Beep = Instance.new("Sound", Belt)
| |
| 5809 | Beep.SoundId = "http://www.roblox.com/asset/?id=188588790" | |
| 5810 | local ExplodeSound = Instance.new("Sound", Belt)
| |
| 5811 | ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003
| |
| 5812 | ExplodeSound.Pitch = 2.8 | |
| 5813 | ExplodeSound.Volume = 3 | |
| 5814 | ||
| 5815 | local Back = NewPart(Model) | |
| 5816 | Back.Size = Vector3.new(1.5,1.5,0.5) | |
| 5817 | local Weld = Instance.new("Weld", Back)
| |
| 5818 | Weld.Part0 = Back | |
| 5819 | Weld.Part1 = HumanoidRootPart | |
| 5820 | Weld.C0 = CFrame.new(0,0.1,-0.75) | |
| 5821 | ||
| 5822 | local StrapLeft = NewPart(Model) | |
| 5823 | StrapLeft.Size = Vector3.new(0.2,0.5,1.6) | |
| 5824 | local Weld = Instance.new("Weld", StrapLeft)
| |
| 5825 | Weld.Part0 = StrapLeft | |
| 5826 | Weld.Part1 = HumanoidRootPart | |
| 5827 | Weld.C0 = CFrame.new(0.65,-0.9,-0.2) | |
| 5828 | ||
| 5829 | local BuckleLeft = NewPart(Model) | |
| 5830 | BuckleLeft.Size = Vector3.new(0.2,1.5,0.2) | |
| 5831 | local Weld = Instance.new("Weld", BuckleLeft)
| |
| 5832 | Weld.Part0 = BuckleLeft | |
| 5833 | Weld.Part1 = HumanoidRootPart | |
| 5834 | Weld.C0 = CFrame.new(0.65,0.1,0.5) | |
| 5835 | ||
| 5836 | local StrapRight = NewPart(Model) | |
| 5837 | StrapRight.Size = Vector3.new(0.2,0.5,1.6) | |
| 5838 | local Weld = Instance.new("Weld", StrapRight)
| |
| 5839 | Weld.Part0 = StrapRight | |
| 5840 | Weld.Part1 = HumanoidRootPart | |
| 5841 | Weld.C0 = CFrame.new(-0.65,-0.9,-0.2) | |
| 5842 | ||
| 5843 | local BuckleRight = NewPart(Model) | |
| 5844 | BuckleRight.Size = Vector3.new(0.2,1.5,0.2) | |
| 5845 | local Weld = Instance.new("Weld", BuckleRight)
| |
| 5846 | Weld.Part0 = BuckleRight | |
| 5847 | Weld.Part1 = HumanoidRootPart | |
| 5848 | Weld.C0 = CFrame.new(-0.65,0.1,0.5) | |
| 5849 | ||
| 5850 | LightEnabled = true | |
| 5851 | coroutine.wrap(function() | |
| 5852 | repeat | |
| 5853 | wait(TickWait) | |
| 5854 | LightEnabled = not LightEnabled | |
| 5855 | Light.Enabled = LightEnabled | |
| 5856 | Beep:Play() | |
| 5857 | until Dead == true or Char:FindFirstChild("Bomb") == nil
| |
| 5858 | end)() | |
| 5859 | ||
| 5860 | wait(10) | |
| 5861 | if Dead == false then | |
| 5862 | Dead = true | |
| 5863 | ExplodeSound:Play(); wait(1.4) | |
| 5864 | local Explosion = Instance.new("Explosion")
| |
| 5865 | Explosion.Position = Belt.Position | |
| 5866 | Explosion.BlastPressure = 100000 | |
| 5867 | Explosion.DestroyJointRadiusPercent = 0.7 | |
| 5868 | Explosion.ExplosionType = "CratersAndDebris" | |
| 5869 | Explosion.BlastRadius = 50 | |
| 5870 | Explosion.Parent = workspace | |
| 5871 | end | |
| 5872 | end) | |
| 5873 | end | |
| 5874 | end) | |
| 5875 | ||
| 5876 | addcmd('btools', 'gives a player btools',{},
| |
| 5877 | function(args, speaker) | |
| 5878 | local players = getPlayer(args[1], speaker) | |
| 5879 | if players ~= nil then | |
| 5880 | for i, v in pairs(players) do | |
| 5881 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 1 -- Model Grab Tool
| |
| 5882 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 -- Part Grab Tool
| |
| 5883 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 -- Clone Tool
| |
| 5884 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 -- Hammer Tool
| |
| 5885 | if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else
| |
| 5886 | Notify('Gave btools to player(s)') end end end end)
| |
| 5887 | ||
| 5888 | addcmd('sword', 'gives a player a sword',{},
| |
| 5889 | function(args, speaker) | |
| 5890 | local players = getPlayer(args[1], speaker) | |
| 5891 | if players ~= nil then | |
| 5892 | for i, v in pairs(players) do | |
| 5893 | coroutine.resume(coroutine.create(function() | |
| 5894 | if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then
| |
| 5895 | local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
| |
| 5896 | sword.GripForward = Vector3.new(-1,0,0) | |
| 5897 | sword.GripPos = Vector3.new(0,0,-1.5) | |
| 5898 | sword.GripRight = Vector3.new(0,1,0) | |
| 5899 | sword.GripUp = Vector3.new(0,0,1) | |
| 5900 | 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
| |
| 5901 | local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
| |
| 5902 | repeat wait() until gPlayers[v] and gPlayers[v].Character and gPlayers[v].Character:findFirstChild("Humanoid")
| |
| 5903 | local Damage = 15 | |
| 5904 | local SlashSound = Instance.new("Sound", handle)
| |
| 5905 | SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
| 5906 | SlashSound.Volume = 1 | |
| 5907 | local LungeSound = Instance.new("Sound", handle)
| |
| 5908 | LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" | |
| 5909 | LungeSound.Volume = 1 | |
| 5910 | local UnsheathSound = Instance.new("Sound", handle)
| |
| 5911 | UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" | |
| 5912 | UnsheathSound.Volume = 1 | |
| 5913 | handle.Touched:connect(function(hit) | |
| 5914 | 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
| |
| 5915 | local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = speaker tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
| |
| 5916 | hit.Parent.Humanoid:TakeDamage(Damage) | |
| 5917 | if not sword.Enabled or gPlayers[v].Character.Humanoid.Health <= 0 then return end | |
| 5918 | sword.Enabled = false | |
| 5919 | SlashSound:play() | |
| 5920 | local slash = Instance.new("StringValue", sword) slash.Name = "toolanim" slash.Value = "Slash"
| |
| 5921 | wait(0.5) | |
| 5922 | sword.Enabled = true | |
| 5923 | end | |
| 5924 | end) | |
| 5925 | sword.Equipped:connect(function(hit) | |
| 5926 | UnsheathSound:play() | |
| 5927 | sword.Enabled = true | |
| 5928 | end) | |
| 5929 | end | |
| 5930 | end)) | |
| 5931 | end | |
| 5932 | end | |
| 5933 | end) | |
| 5934 | ||
| 5935 | addcmd('hatsize', 'changes players hat size',{''},
| |
| 5936 | function(args, speaker) | |
| 5937 | local players = getPlayer(args[1], speaker) | |
| 5938 | for i,v in pairs(players) do | |
| 5939 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 5940 | if v:IsA('Accessory') then
| |
| 5941 | for a,b in pairs(v.Handle:GetChildren()) do | |
| 5942 | if b:IsA('SpecialMesh') then
| |
| 5943 | b.Scale = args[2] * Vector3.new(1, 1, 1) | |
| 5944 | end | |
| 5945 | end | |
| 5946 | end | |
| 5947 | end | |
| 5948 | end | |
| 5949 | end) | |
| 5950 | ||
| 5951 | addcmd('headsize', 'changes players head size',{''},
| |
| 5952 | function(args, speaker) | |
| 5953 | local players = getPlayer(args[1], speaker) | |
| 5954 | for i,v in pairs(players) do | |
| 5955 | local plrchar = _players[v].Character | |
| 5956 | if not plrchar.Humanoid:FindFirstChild('HeadScale') then
| |
| 5957 | if args[2] == 1 then | |
| 5958 | plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 5959 | plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
| 5960 | else | |
| 5961 | plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25) | |
| 5962 | end | |
| 5963 | else plrchar.Humanoid.HeadScale.Value = args[2] | |
| 5964 | end | |
| 5965 | end | |
| 5966 | end) | |
| 5967 | ||
| 5968 | addcmd('change', 'changes a players stat',{'stat'},
| |
| 5969 | function(args, speaker) | |
| 5970 | local players = getPlayer(args[1], speaker) | |
| 5971 | for i,v in pairs(players) do | |
| 5972 | if _players[v]:FindFirstChild('leaderstats') then
| |
| 5973 | for i,v in pairs(_players[v].leaderstats:GetChildren()) do | |
| 5974 | if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
| |
| 5975 | if args[3] then v.Value = tonumber(args[3]) end | |
| 5976 | elseif string.lower(v.Name) == string.lower(args[2]) and v:IsA('StringValue') then
| |
| 5977 | v.Value = GLS(false, 2) | |
| 5978 | end | |
| 5979 | end | |
| 5980 | end | |
| 5981 | end | |
| 5982 | end) | |
| 5983 | ||
| 5984 | addcmd('draw', 'drawing tool',{},
| |
| 5985 | function(args, speaker) | |
| 5986 | if speaker.userId ~= LP.userId then | |
| 5987 | lponly(speaker) | |
| 5988 | else | |
| 5989 | for i,v in next,game:children()do | |
| 5990 | pcall(function() | |
| 5991 | local c=v.className; | |
| 5992 | rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c)); | |
| 5993 | end); | |
| 5994 | end; | |
| 5995 | ||
| 5996 | ||
| 5997 | user=players.LocalPlayer; | |
| 5998 | uname=user.Name; | |
| 5999 | guis=user.PlayerGui; | |
| 6000 | pack=user.Backpack; | |
| 6001 | ||
| 6002 | keyDowns={};
| |
| 6003 | freeKeys={};
| |
| 6004 | shortcuts={};
| |
| 6005 | ||
| 6006 | _G.mine=_G.mine or{};
| |
| 6007 | ||
| 6008 | name='Draw3D'; | |
| 6009 | url='http://www.roblox.com/asset/?id=%d'; | |
| 6010 | ||
| 6011 | iconNormal=url:format(96578285); | |
| 6012 | iconOnDown=url:format(96584484); | |
| 6013 | ||
| 6014 | ver=0; | |
| 6015 | drawPixel=0.10; | |
| 6016 | _G.drawLimit=_G.drawLimit or 1000; | |
| 6017 | ||
| 6018 | _G.drawColor=_G.drawColor or Color3.new(); | |
| 6019 | ||
| 6020 | ||
| 6021 | ||
| 6022 | ||
| 6023 | ||
| 6024 | destroy=game.remove; | |
| 6025 | find=game.findFirstChild; | |
| 6026 | new=Instance.new; | |
| 6027 | with=function(c) | |
| 6028 | return function(p) | |
| 6029 | local o=type(c)=='string'and new(c)or c; | |
| 6030 | local x=p.Parent;p.Parent=nil; | |
| 6031 | for i,v in next,p do | |
| 6032 | o[i]=v; | |
| 6033 | end; | |
| 6034 | if(x)then | |
| 6035 | o.Parent=x; | |
| 6036 | end; | |
| 6037 | return o; | |
| 6038 | end; | |
| 6039 | end; | |
| 6040 | getPlace=function() | |
| 6041 | if(find(workspace,'draw')==nil)then | |
| 6042 | new('Model',workspace).Name='draw';
| |
| 6043 | end; | |
| 6044 | if(find(workspace.draw,uname)==nil)then | |
| 6045 | new('Model',workspace.draw).Name=uname;
| |
| 6046 | end; | |
| 6047 | return workspace.draw[uname]; | |
| 6048 | end; | |
| 6049 | drawLine=function(start,target) | |
| 6050 | local gui=with'BlockMesh'{
| |
| 6051 | Parent=with'Part'{
| |
| 6052 | CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2); | |
| 6053 | Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel); | |
| 6054 | Parent=getPlace(); | |
| 6055 | Color=_G.drawColor; | |
| 6056 | BottomSurface=0; | |
| 6057 | Anchored=true; | |
| 6058 | TopSurface=0; | |
| 6059 | formFactor=3; | |
| 6060 | Name=name; | |
| 6061 | }}.Parent; | |
| 6062 | table.insert(_G.mine,gui); | |
| 6063 | return gui; | |
| 6064 | end; | |
| 6065 | onDown=function() | |
| 6066 | if(drawing)then | |
| 6067 | return nil; | |
| 6068 | end; | |
| 6069 | if(selectGui.Adornee)then | |
| 6070 | destroy(selectGui.Adornee); | |
| 6071 | end; | |
| 6072 | ||
| 6073 | drawing=true; | |
| 6074 | ||
| 6075 | mouse.Icon=iconOnDown; | |
| 6076 | ver=ver+1; | |
| 6077 | ||
| 6078 | ||
| 6079 | local cVer,start,target=ver,mouse.hit.p; | |
| 6080 | ||
| 6081 | local group={};
| |
| 6082 | repeat | |
| 6083 | Wait(0.02); | |
| 6084 | ||
| 6085 | if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then | |
| 6086 | ||
| 6087 | target=mouse.hit.p; | |
| 6088 | ||
| 6089 | table.insert(group,drawLine(start,target)); | |
| 6090 | ||
| 6091 | start=target; | |
| 6092 | end; | |
| 6093 | until ver~=cVer; | |
| 6094 | drawing=false; | |
| 6095 | ||
| 6096 | local groupM=new('Model',getPlace());
| |
| 6097 | for i,v in next,group do | |
| 6098 | if(v:IsDescendantOf(Workspace))then | |
| 6099 | v.Parent=groupM; | |
| 6100 | end; | |
| 6101 | end; | |
| 6102 | if(next(groupM:children())==nil)then | |
| 6103 | destroy(groupM); | |
| 6104 | end; | |
| 6105 | end; | |
| 6106 | onUp=function() | |
| 6107 | mouse.Icon=iconNormal; | |
| 6108 | ver=ver+1; | |
| 6109 | end; | |
| 6110 | onKeyDown=function(k) | |
| 6111 | if(freeKeys[k]==false)then | |
| 6112 | return false; | |
| 6113 | end; | |
| 6114 | freeKeys[k]=false; | |
| 6115 | Wait(0.01); | |
| 6116 | if(keyDowns[k])then | |
| 6117 | keyDowns[k](); | |
| 6118 | elseif(shortcuts[k])then | |
| 6119 | shortcuts[k](); | |
| 6120 | end; | |
| 6121 | end; | |
| 6122 | onKeyUp=function(k) | |
| 6123 | freeKeys[k]=true; | |
| 6124 | end; | |
| 6125 | onMove=function() | |
| 6126 | ||
| 6127 | end; | |
| 6128 | onSelect=function(lmouse) | |
| 6129 | frame.Visible=true; | |
| 6130 | ||
| 6131 | mouse=lmouse; | |
| 6132 | ||
| 6133 | mouse.Icon=iconNormal; | |
| 6134 | ||
| 6135 | mouse.Button1Down:connect(onDown); | |
| 6136 | mouse.KeyDown:connect(onKeyDown); | |
| 6137 | mouse.Button1Up:connect(onUp); | |
| 6138 | mouse.KeyUp:connect(onKeyUp); | |
| 6139 | mouse.Move:connect(onMove); | |
| 6140 | end; | |
| 6141 | onDeselect=function() | |
| 6142 | ver=ver+1; | |
| 6143 | frame.Visible=false; | |
| 6144 | selectGui.Adornee=nil; | |
| 6145 | mouse.Icon=iconNormal; | |
| 6146 | for i,v in next,freeKeys do | |
| 6147 | freeKeys[i]=true; | |
| 6148 | end; | |
| 6149 | end; | |
| 6150 | addButton=function(title,shortcut,fun) | |
| 6151 | with'TextButton'{
| |
| 6152 | Text=string.format(' %s (%s)',title,shortcut);
| |
| 6153 | TextXAlignment=0; | |
| 6154 | Parent=frame; | |
| 6155 | }.MouseButton1Up:connect(fun); | |
| 6156 | ||
| 6157 | shortcuts[shortcut]=fun; | |
| 6158 | ||
| 6159 | local c=#frame:children(); | |
| 6160 | for i,v in next,frame:children()do | |
| 6161 | v.Position=UDim2.new(0,0,0,20*(i-1)); | |
| 6162 | v.Size=UDim2.new(1,0,0,20); | |
| 6163 | end; | |
| 6164 | ||
| 6165 | frame.Position=UDim2.new(1,-152,.5,-c*10); | |
| 6166 | frame.Size=UDim2.new(0,150,0,c*20); | |
| 6167 | end; | |
| 6168 | ||
| 6169 | ||
| 6170 | ||
| 6171 | ||
| 6172 | ||
| 6173 | ||
| 6174 | ||
| 6175 | ||
| 6176 | for i,v in next,{guis;pack;}do
| |
| 6177 | pcall(function() | |
| 6178 | repeat until destroy(v[name]); | |
| 6179 | end); | |
| 6180 | end; | |
| 6181 | ||
| 6182 | ||
| 6183 | ||
| 6184 | tool=with'HopperBin'{
| |
| 6185 | Parent=pack; | |
| 6186 | Name=name; | |
| 6187 | }; | |
| 6188 | tool.Deselected:connect(onDeselect); | |
| 6189 | tool.Selected:connect(onSelect); | |
| 6190 | ||
| 6191 | ||
| 6192 | ||
| 6193 | ||
| 6194 | screen=with'ScreenGui'{
| |
| 6195 | Parent=guis; | |
| 6196 | Name=name; | |
| 6197 | }; | |
| 6198 | frame=with'Frame'{
| |
| 6199 | Parent=screen; | |
| 6200 | Visible=false; | |
| 6201 | }; | |
| 6202 | clframe=with'Frame'{
| |
| 6203 | Position=UDim2.new(.5,-50,.5,-50); | |
| 6204 | Size=UDim2.new(0,100,0,100); | |
| 6205 | Visible=false; | |
| 6206 | Parent=screen; | |
| 6207 | }; | |
| 6208 | selectGui=with'SelectionBox'{
| |
| 6209 | Parent=screen; | |
| 6210 | }; | |
| 6211 | ||
| 6212 | local c=0; | |
| 6213 | for y=0,7 do | |
| 6214 | for x=0,7 do | |
| 6215 | local color=BrickColor.palette(c).Color; | |
| 6216 | ||
| 6217 | with'ImageButton'{
| |
| 6218 | Position=UDim2.new(.125*x,0,.125*y); | |
| 6219 | Size=UDim2.new(.125,0,.125); | |
| 6220 | BackgroundColor3=color; | |
| 6221 | Parent=clframe; | |
| 6222 | }.MouseButton1Up:connect(function() | |
| 6223 | clframe.Visible=false; | |
| 6224 | _G.drawColor=color; | |
| 6225 | end); | |
| 6226 | ||
| 6227 | c=c+1; | |
| 6228 | end; | |
| 6229 | end; | |
| 6230 | ||
| 6231 | addButton('Color','c',function()
| |
| 6232 | clframe.Visible=true; | |
| 6233 | end); | |
| 6234 | addButton('Remove your draws','r',function()
| |
| 6235 | repeat | |
| 6236 | destroy(_G.mine[1]); | |
| 6237 | table.remove(_G.mine,1); | |
| 6238 | Wait(0.01); | |
| 6239 | until nil; | |
| 6240 | end); | |
| 6241 | addButton('Remove global draws','k',function()
| |
| 6242 | destroy(workspace.draw); | |
| 6243 | while(_G.mine[1])do | |
| 6244 | destroy(_G.mine[1]); | |
| 6245 | table.remove(_G.mine,1); | |
| 6246 | end; | |
| 6247 | end); | |
| 6248 | addButton('Remove selected','x',function()
| |
| 6249 | repeat | |
| 6250 | if(find(workspace,'draw'))then | |
| 6251 | local dt=mouse.target; | |
| 6252 | if(dt and dt:IsDescendantOf(workspace.draw))then | |
| 6253 | selectGui.Adornee=dt.Parent; | |
| 6254 | else | |
| 6255 | selectGui.Adornee=nil; | |
| 6256 | end; | |
| 6257 | else | |
| 6258 | selectGui.Adornee=nil; | |
| 6259 | end; | |
| 6260 | Wait(0.01); | |
| 6261 | until freeKeys.x; | |
| 6262 | selectGui.Adornee=nil; | |
| 6263 | end); | |
| 6264 | ||
| 6265 | ||
| 6266 | ||
| 6267 | ||
| 6268 | repeat | |
| 6269 | Wait(0.01); | |
| 6270 | if(next(_G.mine)and _G.mine[_G.drawLimit])then | |
| 6271 | destroy(_G.mine[1]); | |
| 6272 | table.remove(_G.mine,1); | |
| 6273 | end; | |
| 6274 | until script.Parent==nil or tool.Parent==nil; | |
| 6275 | script.Disabled=true; | |
| 6276 | destroy(screen); | |
| 6277 | end | |
| 6278 | end) | |
| 6279 | ||
| 6280 | addcmd('god', 'gods 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 pchar.Humanoid.MaxHealth=math.huge end | |
| 6286 | end | |
| 6287 | end) | |
| 6288 | ||
| 6289 | addcmd('sgod', 'silently gods player',{},
| |
| 6290 | function(args, speaker) | |
| 6291 | local players = getPlayer(args[1], speaker) | |
| 6292 | for i,v in pairs(players)do | |
| 6293 | local pchar=_char(v) | |
| 6294 | spawn(function() | |
| 6295 | pchar.Humanoid.MaxHealth = 10000000 | |
| 6296 | wait() | |
| 6297 | pchar.Humanoid.Health = 10000000 | |
| 6298 | if FindTable(SPC, args[1]) then Notify('Silent godded ' ..args[1]) else
| |
| 6299 | Notify('Silent godded player(s)') end
| |
| 6300 | end) | |
| 6301 | end | |
| 6302 | end) | |
| 6303 | ||
| 6304 | addcmd('ungod', 'removes god from a player',{},
| |
| 6305 | function(args, speaker) | |
| 6306 | local players = getPlayer(args[1], speaker) | |
| 6307 | for i,v in pairs(players)do | |
| 6308 | local pchar=_char(v) | |
| 6309 | if pchar then | |
| 6310 | pchar.Humanoid.MaxHealth=100 | |
| 6311 | pchar.Humanoid.Health=100 | |
| 6312 | end | |
| 6313 | end | |
| 6314 | end) | |
| 6315 | ||
| 6316 | addcmd('heal', 'resets a players health',{},
| |
| 6317 | function(args, speaker) | |
| 6318 | local players = getPlayer(args[1], speaker) | |
| 6319 | for i,v in pairs(players)do spawn(function() | |
| 6320 | local pchar=_char(v) | |
| 6321 | if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end end) end end) | |
| 6322 | ||
| 6323 | addcmd('fart', 'makes u fart',{},
| |
| 6324 | function(args, speaker) | |
| 6325 | local players = getPlayer(args[1], speaker) | |
| 6326 | for i,v in pairs(players)do | |
| 6327 | spawn(function() | |
| 6328 | local pchar=_char(v) | |
| 6329 | fart = Instance.new("Smoke")
| |
| 6330 | fart.Parent = pchar.HumanoidRootPart | |
| 6331 | fart.Color = Color3.new(255/255, 255/255, 0) | |
| 6332 | fart.Opacity = 0.4 | |
| 6333 | fart.Size = 1.0 | |
| 6334 | fart.RiseVelocity = 8 | |
| 6335 | fartsound = Instance.new("Sound", workspace)
| |
| 6336 | fsound = "http://www.roblox.com/asset?id=251309043" | |
| 6337 | fartsound.SoundId = fsound | |
| 6338 | fartsound.Volume = 1.0 | |
| 6339 | fartsound:Play() | |
| 6340 | wait(9.0) | |
| 6341 | fartsound:Destroy() | |
| 6342 | pchar.HumanoidRootPart.Smoke:Destroy() | |
| 6343 | end) | |
| 6344 | end | |
| 6345 | end) | |
| 6346 | ||
| 6347 | addcmd('decalspam', 'you can already guess...',{},
| |
| 6348 | function(args, speaker) | |
| 6349 | Notify('Decal Spammed ID: ' ..args[1])
| |
| 6350 | wait(4) | |
| 6351 | decalID = args[1] | |
| 6352 | function exPro(root) | |
| 6353 | for _, v in pairs(root:GetChildren()) do | |
| 6354 | if v:IsA("BasePart") then
| |
| 6355 | local One = Instance.new("Decal", v)
| |
| 6356 | local Two = Instance.new("Decal", v)
| |
| 6357 | local Three = Instance.new("Decal", v)
| |
| 6358 | local Four = Instance.new("Decal", v)
| |
| 6359 | local Five = Instance.new("Decal", v)
| |
| 6360 | local Six = Instance.new("Decal", v)
| |
| 6361 | One.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 6362 | Two.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 6363 | Three.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 6364 | Four.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 6365 | Five.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 6366 | Six.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 6367 | One.Face = "Front" | |
| 6368 | Two.Face = "Back" | |
| 6369 | Three.Face = "Right" | |
| 6370 | Four.Face = "Left" | |
| 6371 | Five.Face = "Top" | |
| 6372 | Six.Face = "Bottom" | |
| 6373 | One.Name = "IYdecal" | |
| 6374 | Two.Name = "IYdecal" | |
| 6375 | Three.Name = "IYdecal" | |
| 6376 | Four.Name = "IYdecal" | |
| 6377 | Five.Name = "IYdecal" | |
| 6378 | Six.Name = "IYdecal" | |
| 6379 | end | |
| 6380 | exPro(v) | |
| 6381 | end | |
| 6382 | end | |
| 6383 | function asdf(root) | |
| 6384 | for _, v in pairs(root:GetChildren()) do | |
| 6385 | asdf(v) | |
| 6386 | end | |
| 6387 | end | |
| 6388 | exPro(workspace) | |
| 6389 | asdf(workspace) | |
| 6390 | end) | |
| 6391 | ||
| 6392 | addcmd('undecalspam', 'removes the mess',{},
| |
| 6393 | function(args, speaker) | |
| 6394 | Notify('Removing Decal Spam...')
| |
| 6395 | wait(4) | |
| 6396 | function exPro(root) | |
| 6397 | for _, v in pairs(root:GetChildren()) do | |
| 6398 | if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then
| |
| 6399 | v.Parent = nil | |
| 6400 | end | |
| 6401 | exPro(v) | |
| 6402 | end | |
| 6403 | end | |
| 6404 | function asdf(root) | |
| 6405 | for _, v in pairs(root:GetChildren()) do | |
| 6406 | asdf(v) | |
| 6407 | end | |
| 6408 | end | |
| 6409 | exPro(workspace) | |
| 6410 | asdf(workspace) | |
| 6411 | end) | |
| 6412 | ||
| 6413 | addcmd('sky', 'sets the sky',{'skybox'},
| |
| 6414 | function(args, speaker) | |
| 6415 | playinggif = false | |
| 6416 | for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end
| |
| 6417 | s = Instance.new("Sky")
| |
| 6418 | s.Name = "Sky" | |
| 6419 | s.Parent = LightingService | |
| 6420 | local skyboxID = args[1] | |
| 6421 | s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID | |
| 6422 | s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID | |
| 6423 | s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID | |
| 6424 | s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID | |
| 6425 | s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID | |
| 6426 | s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID | |
| 6427 | LightingService.TimeOfDay = 12 | |
| 6428 | end) | |
| 6429 | ||
| 6430 | addcmd('skygif', 'makes the sky play the IDs you feed it',{},
| |
| 6431 | function(args, speaker) | |
| 6432 | if args[2] then skyinterval = tonumber(args[2]) else skyinterval = 0.05 end | |
| 6433 | playinggif = false | |
| 6434 | wait(0.5) | |
| 6435 | local GIF = splitString(args[1]) | |
| 6436 | for _, child in pairs( gLighting:GetChildren()) do | |
| 6437 | if child.ClassName == "Sky" then | |
| 6438 | child:Destroy() | |
| 6439 | end | |
| 6440 | end | |
| 6441 | Sky = Instance.new("Sky",game.Lighting)
| |
| 6442 | Notify('Loading...')
| |
| 6443 | playinggif = true | |
| 6444 | for N,F in ipairs(GIF) do | |
| 6445 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..F)
| |
| 6446 | end | |
| 6447 | gLighting.TimeOfDay = 12 | |
| 6448 | Notify('Playing skybox')
| |
| 6449 | playinggif = true | |
| 6450 | wait(0.5) | |
| 6451 | repeat | |
| 6452 | for N,F in ipairs(GIF) do | |
| 6453 | Sky.SkyboxBk = "http://www.roblox.com/asset/?id="..F- 1 | |
| 6454 | Sky.SkyboxDn = "http://www.roblox.com/asset/?id="..F- 1 | |
| 6455 | Sky.SkyboxFt = "http://www.roblox.com/asset/?id="..F- 1 | |
| 6456 | Sky.SkyboxLf = "http://www.roblox.com/asset/?id="..F- 1 | |
| 6457 | Sky.SkyboxRt = "http://www.roblox.com/asset/?id="..F- 1 | |
| 6458 | Sky.SkyboxUp = "http://www.roblox.com/asset/?id="..F- 1 | |
| 6459 | wait(skyinterval) | |
| 6460 | end | |
| 6461 | until playinggif == false | |
| 6462 | end) | |
| 6463 | ||
| 6464 | addcmd('unskygif', 'removes the sky animation',{'noskygif'},
| |
| 6465 | function(args, speaker) | |
| 6466 | playinggif = false | |
| 6467 | wait(0.5) | |
| 6468 | Notify('Stopped sky gif')
| |
| 6469 | for _, child in pairs( gLighting:GetChildren()) do | |
| 6470 | if child.ClassName == "Sky" then | |
| 6471 | child:Destroy() | |
| 6472 | end | |
| 6473 | end | |
| 6474 | end) | |
| 6475 | ||
| 6476 | addcmd('freeze', 'freezes a player',{'fr'},
| |
| 6477 | function(args, speaker) | |
| 6478 | local players = getPlayer(args[1], speaker) | |
| 6479 | if players ~= nil then | |
| 6480 | for i, v in pairs(players) do | |
| 6481 | spawn(function() | |
| 6482 | for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and not x.Anchored then x.Anchored = true end
| |
| 6483 | end | |
| 6484 | end) | |
| 6485 | end | |
| 6486 | end | |
| 6487 | end) | |
| 6488 | ||
| 6489 | addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'},
| |
| 6490 | function(args, speaker) | |
| 6491 | local players = getPlayer(args[1], speaker) | |
| 6492 | if players ~= nil then | |
| 6493 | for i, v in pairs(players) do | |
| 6494 | spawn(function() | |
| 6495 | for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and x.Anchored then x.Anchored = false end
| |
| 6496 | end | |
| 6497 | end) | |
| 6498 | end | |
| 6499 | end | |
| 6500 | end) | |
| 6501 | ||
| 6502 | addcmd('spawn', 'places a spawn',{'spawnpoint'},
| |
| 6503 | function(args, speaker) | |
| 6504 | local players = getPlayer(args[1], speaker) | |
| 6505 | if players ~= nil then | |
| 6506 | for i, v in pairs(players) do | |
| 6507 | local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn'
| |
| 6508 | M.CFrame = _char(v).HumanoidRootPart.CFrame | |
| 6509 | M.Color = maincolor M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6) | |
| 6510 | M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0) | |
| 6511 | M.Anchored = true | |
| 6512 | end | |
| 6513 | end | |
| 6514 | end) | |
| 6515 | ||
| 6516 | addcmd('deletespawns', 'places a spawn',{'removespawns'},
| |
| 6517 | function(args, speaker) | |
| 6518 | for i,v in pairs(workspace:GetDescendants()) do | |
| 6519 | if v:IsA("SpawnLocation") then
| |
| 6520 | v:Destroy() | |
| 6521 | end | |
| 6522 | end | |
| 6523 | end) | |
| 6524 | ||
| 6525 | addcmd('neon', 'makes a player neon',{},
| |
| 6526 | function(args, speaker) | |
| 6527 | local players = getPlayer(args[1], speaker) | |
| 6528 | if players ~= nil then | |
| 6529 | for i, v in pairs(players) do | |
| 6530 | for _, child in pairs( _char(v):GetChildren()) do | |
| 6531 | if child.ClassName == "CharacterMesh" then | |
| 6532 | child:Destroy() | |
| 6533 | end | |
| 6534 | end | |
| 6535 | for _, child in pairs( _char(v):GetChildren()) do | |
| 6536 | if child.ClassName == "Shirt" then | |
| 6537 | child:Destroy() | |
| 6538 | end | |
| 6539 | end | |
| 6540 | for _, child in pairs( _char(v):GetChildren()) do | |
| 6541 | if child.ClassName == "Pants" then | |
| 6542 | child:Destroy() | |
| 6543 | end | |
| 6544 | end | |
| 6545 | for _, child in pairs( _char(v):GetDescendants()) do | |
| 6546 | if child.ClassName == "Part" then | |
| 6547 | child.Material = "Neon" | |
| 6548 | end | |
| 6549 | end | |
| 6550 | end | |
| 6551 | end | |
| 6552 | end) | |
| 6553 | ||
| 6554 | addcmd('glass', 'makes a player glass',{},
| |
| 6555 | function(args, speaker) | |
| 6556 | local players = getPlayer(args[1], speaker) | |
| 6557 | if players ~= nil then | |
| 6558 | for i, v in pairs(players) do | |
| 6559 | for _, child in pairs( _char(v):GetChildren()) do | |
| 6560 | if child.ClassName == "CharacterMesh" then | |
| 6561 | child:Destroy() | |
| 6562 | end | |
| 6563 | end | |
| 6564 | for _, child in pairs( _char(v):GetChildren()) do | |
| 6565 | if child.ClassName == "Shirt" then | |
| 6566 | child:Destroy() | |
| 6567 | end | |
| 6568 | end | |
| 6569 | for _, child in pairs( _char(v):GetChildren()) do | |
| 6570 | if child.ClassName == "Pants" then | |
| 6571 | child:Destroy() | |
| 6572 | end | |
| 6573 | end | |
| 6574 | for _, child in pairs( _char(v):GetDescendants()) do | |
| 6575 | if child.ClassName == "Part" then | |
| 6576 | child.Material = "Glass" | |
| 6577 | child.Transparency = 0.3 | |
| 6578 | end | |
| 6579 | end | |
| 6580 | end | |
| 6581 | end | |
| 6582 | end) | |
| 6583 | ||
| 6584 | ||
| 6585 | addcmd('os', 'Shows the targets platform.', {'platform', 'device'},
| |
| 6586 | function(args, speaker) | |
| 6587 | local players = getPlayer(args[1], speaker) | |
| 6588 | local platforms = {}
| |
| 6589 | for i,v in pairs(players) do | |
| 6590 | local p = game:GetService("Players")[v]
| |
| 6591 | table.insert(platforms, p.Name.."'s platform is: "..p.OsPlatform) | |
| 6592 | end | |
| 6593 | Notify(table.concat(platforms, ', ')) | |
| 6594 | end) | |
| 6595 | ||
| 6596 | addcmd('whiteify', 'Turns the target white.', {'white'},
| |
| 6597 | function(args, speaker) | |
| 6598 | local players = getPlayer(args[1], speaker) | |
| 6599 | ||
| 6600 | for i,v in pairs(players) do | |
| 6601 | local lplr = game:GetService("Players")[v]
| |
| 6602 | local bodyc = lplr.Character["Body Colors"] | |
| 6603 | local color = "Institutional white" | |
| 6604 | ||
| 6605 | bodyc.HeadColor = BrickColor.new(color) | |
| 6606 | bodyc.LeftArmColor = BrickColor.new(color) | |
| 6607 | bodyc.LeftLegColor = BrickColor.new(color) | |
| 6608 | bodyc.RightArmColor = BrickColor.new(color) | |
| 6609 | bodyc.RightLegColor = BrickColor.new(color) | |
| 6610 | bodyc.TorsoColor = BrickColor.new(color) | |
| 6611 | end | |
| 6612 | end) | |
| 6613 | ||
| 6614 | addcmd('blackify', 'Turns the target black.', {'black'},
| |
| 6615 | function(args, speaker) | |
| 6616 | local players = getPlayer(args[1], speaker) | |
| 6617 | ||
| 6618 | for i,v in pairs(players) do | |
| 6619 | local lplr = game:GetService("Players")[v]
| |
| 6620 | local bodyc = lplr.Character["Body Colors"] | |
| 6621 | local color = "Black" | |
| 6622 | ||
| 6623 | bodyc.HeadColor = BrickColor.new(color) | |
| 6624 | bodyc.LeftArmColor = BrickColor.new(color) | |
| 6625 | bodyc.LeftLegColor = BrickColor.new(color) | |
| 6626 | bodyc.RightArmColor = BrickColor.new(color) | |
| 6627 | bodyc.RightLegColor = BrickColor.new(color) | |
| 6628 | bodyc.TorsoColor = BrickColor.new(color) | |
| 6629 | end | |
| 6630 | end) | |
| 6631 | ||
| 6632 | addcmd('kill', 'kills a player',{},
| |
| 6633 | function(args, speaker) | |
| 6634 | local players = getPlayer(args[1], speaker) | |
| 6635 | for i,v in pairs(players)do | |
| 6636 | local pchar=_char(v) | |
| 6637 | pchar:BreakJoints() | |
| 6638 | end | |
| 6639 | end) | |
| 6640 | ||
| 6641 | addcmd('knuckles', 'that dead meme',{'ugandaknuckles'},
| |
| 6642 | function(args, speaker) | |
| 6643 | local players = getPlayer(args[1], speaker) | |
| 6644 | for i,v in pairs(players)do | |
| 6645 | spawn(function() | |
| 6646 | local plr = gPlayers[v] | |
| 6647 | local char = plr.Character | |
| 6648 | char.Humanoid.WalkSpeed = 100 | |
| 6649 | char.Humanoid.JumpPower = 70 | |
| 6650 | spawn(function() | |
| 6651 | for i,v in pairs(char:GetChildren()) do | |
| 6652 | if v:IsA("BasePart") then
| |
| 6653 | coroutine.wrap(function() | |
| 6654 | for i=0,1,.1 do | |
| 6655 | wait() | |
| 6656 | v.Transparency = v.Transparency +i | |
| 6657 | end | |
| 6658 | end)() | |
| 6659 | end | |
| 6660 | end | |
| 6661 | for i,v in pairs(char:GetChildren()) do | |
| 6662 | if v:IsA("Accessory") then
| |
| 6663 | coroutine.wrap(function() | |
| 6664 | for i=0,1,.1 do | |
| 6665 | wait() | |
| 6666 | v.Handle.Transparency = v.Handle.Transparency +i | |
| 6667 | end | |
| 6668 | end)() | |
| 6669 | end | |
| 6670 | end | |
| 6671 | end) | |
| 6672 | char.Head.face:Destroy() | |
| 6673 | wait(1) | |
| 6674 | local s = Instance.new("Sound")
| |
| 6675 | s.Name = "wae" | |
| 6676 | s.SoundId = "http://www.roblox.com/asset/?id=1308281913" | |
| 6677 | s.Volume = 1 | |
| 6678 | s.Pitch = 1 | |
| 6679 | s.Looped = true | |
| 6680 | s.archivable = true | |
| 6681 | s.Parent = gPlayers.LocalPlayer.Character.Head | |
| 6682 | s:play() | |
| 6683 | local daqueen = Instance.new("Part",char)
| |
| 6684 | daqueen.Name = "asd" | |
| 6685 | daqueen.CanCollide = false | |
| 6686 | local mesh = Instance.new("SpecialMesh",daqueen)
| |
| 6687 | mesh.Scale = Vector3.new(0.1,0.1,0.1) | |
| 6688 | mesh.MeshId = "rbxassetid://1300136843" | |
| 6689 | local text = Instance.new("Decal",daqueen)
| |
| 6690 | text.Name = "asd" | |
| 6691 | text.Texture = "rbxassetid://1300137893" | |
| 6692 | local knowdawey = Instance.new("Weld",char)
| |
| 6693 | knowdawey.Part0 = char.HumanoidRootPart | |
| 6694 | knowdawey.Part1 = daqueen | |
| 6695 | local eye1 = Instance.new("Part")
| |
| 6696 | eye1.CanCollide = false | |
| 6697 | eye1.Parent = char | |
| 6698 | local mesh1 = Instance.new("SpecialMesh",eye1)
| |
| 6699 | mesh1.MeshId = "rbxassetid://1300138314" | |
| 6700 | mesh1.Scale = Vector3.new(0.1,0.1,0.2) | |
| 6701 | local eyetext = Instance.new("Decal",eye1)
| |
| 6702 | eyetext.Texture = "rbxassetid://1300129774" | |
| 6703 | local eye1w = Instance.new("Weld",char)
| |
| 6704 | eye1w.Part0 = char.HumanoidRootPart | |
| 6705 | eye1w.Part1 = eye1 | |
| 6706 | eye1w.C1 = CFrame.new(0,-1.3,0.7) | |
| 6707 | end) | |
| 6708 | end | |
| 6709 | end) | |
| 6710 | ||
| 6711 | addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'},
| |
| 6712 | function(args, speaker) | |
| 6713 | part = GLS(false, 0) | |
| 6714 | local function dels(instance) | |
| 6715 | for i,v in pairs(instance:GetChildren())do | |
| 6716 | if v.Name:lower() == part:lower() then v:Destroy() end | |
| 6717 | dels(v) | |
| 6718 | end | |
| 6719 | end | |
| 6720 | dels(workspace) | |
| 6721 | Notify('Deleted ' ..GLS(false, 0))
| |
| 6722 | end) | |
| 6723 | ||
| 6724 | addcmd('deleteclass', 'removes any part with a certain classname from the workspace',{'removeclass','deleteclassname','removeclassname','dc'},
| |
| 6725 | function(args, speaker) | |
| 6726 | part = GLS(false, 0) | |
| 6727 | local function dels(instance) | |
| 6728 | for i,v in pairs(instance:GetChildren())do | |
| 6729 | if v.ClassName:lower() == part:lower() then v:Destroy() end | |
| 6730 | dels(v) | |
| 6731 | end | |
| 6732 | end | |
| 6733 | dels(workspace) | |
| 6734 | Notify('Deleted items with ClassName ' ..GLS(false, 0))
| |
| 6735 | end) | |
| 6736 | ||
| 6737 | addcmd('blur', 'adjusts blur',{},
| |
| 6738 | function(args, speaker) | |
| 6739 | local function dels(instance) | |
| 6740 | for i,v in pairs(instance:GetChildren())do | |
| 6741 | if v:IsA'BlurEffect'then v:Destroy()end | |
| 6742 | dels(v) | |
| 6743 | end | |
| 6744 | end | |
| 6745 | dels(LightingService) | |
| 6746 | ||
| 6747 | local b = Instance.new("BlurEffect", LightingService)
| |
| 6748 | b.Name = "IYblur" | |
| 6749 | b.Size = args[1] | |
| 6750 | end) | |
| 6751 | ||
| 6752 | addcmd('distortsound','changes volume of sound',{'distort'},
| |
| 6753 | function(args, speaker) | |
| 6754 | for i,v in pairs(workspace:GetChildren())do | |
| 6755 | if v:IsA("Sound") and v.Name == "IYsound" then
| |
| 6756 | v:ClearAllChildren () | |
| 6757 | local d = Instance.new('DistortionSoundEffect')
| |
| 6758 | d.Parent = v | |
| 6759 | d.Level = args[1] | |
| 6760 | Notify('Changed distortion to ' .. args[1])
| |
| 6761 | end | |
| 6762 | end | |
| 6763 | end) | |
| 6764 | ||
| 6765 | addcmd('volume','changes volume of sound',{'vol'},
| |
| 6766 | function(args, speaker) | |
| 6767 | for i,v in pairs(workspace:GetChildren())do | |
| 6768 | if v:IsA("Sound") and v.Name == "IYsound" then
| |
| 6769 | v.Volume = args[1] | |
| 6770 | Notify('Changed volume to ' .. args[1])
| |
| 6771 | end | |
| 6772 | end | |
| 6773 | end) | |
| 6774 | ||
| 6775 | addcmd('pitch','changes pitch of sound',{},
| |
| 6776 | function(args, speaker) | |
| 6777 | for i,v in pairs(workspace:GetChildren())do | |
| 6778 | if v:IsA("Sound") and v.Name == "IYsound" then
| |
| 6779 | v.Pitch = args[1] | |
| 6780 | Notify('Changed pitch to ' .. args[1])
| |
| 6781 | end | |
| 6782 | end | |
| 6783 | end) | |
| 6784 | ||
| 6785 | addcmd('loadmap', 'spawns a map',{},
| |
| 6786 | function(args, speaker) | |
| 6787 | local m = args[1] | |
| 6788 | for _,v in pairs(workspace:GetChildren()) do | |
| 6789 | if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
| |
| 6790 | v:Destroy() elseif v:IsA("Terrain") then v:Clear() end end
| |
| 6791 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end | |
| 6792 | wait(1) | |
| 6793 | local map = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. m)
| |
| 6794 | map.Parent = workspace | |
| 6795 | end) | |
| 6796 | ||
| 6797 | addcmd('loadm','loads global messaging',{}, -- global message method by HARKINIAN @ V3RMILLION
| |
| 6798 | function(args, speaker) | |
| 6799 | msghook() | |
| 6800 | if MSGhook == false then | |
| 6801 | local localp = game:GetService'Players'.LocalPlayer | |
| 6802 | localp.CharacterAppearanceId = 20018 | |
| 6803 | localp.Character:BreakJoints() | |
| 6804 | repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice' | |
| 6805 | Instance.new("ForceField", localp.Character)
| |
| 6806 | repeat wait() until localp.Character.BunnyEarsOfCaprice.Handle:FindFirstChild'BunnyTools' | |
| 6807 | _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone() | |
| 6808 | localp.CharacterAppearanceId = 0 | |
| 6809 | localp.Character:BreakJoints() | |
| 6810 | if _G.mainhat ~= nil then | |
| 6811 | local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone() | |
| 6812 | local part = Instance.new('Part')
| |
| 6813 | part.Anchored = true | |
| 6814 | part.Transparency = 1 | |
| 6815 | main.Disabled = false | |
| 6816 | main.Parent = part | |
| 6817 | _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part | |
| 6818 | part.Parent = localp.Character | |
| 6819 | part.CFrame = localp.Character.HumanoidRootPart.CFrame | |
| 6820 | repeat wait() until localp:FindFirstChild'ChessMsg' | |
| 6821 | part:Destroy() | |
| 6822 | local message = localp:FindFirstChild'ChessMsg' | |
| 6823 | message.Text = '' | |
| 6824 | message.Parent = workspace | |
| 6825 | message.Name = "IYmessage" | |
| 6826 | if part ~= nil then part:Destroy() end | |
| 6827 | localp.Character.HumanoidRootPart.Anchored = false | |
| 6828 | for _, child in pairs( workspace:GetChildren()) do | |
| 6829 | if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then | |
| 6830 | child:Destroy() | |
| 6831 | end | |
| 6832 | end | |
| 6833 | if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Destroy() end | |
| 6834 | if _G.msg ~= nil then | |
| 6835 | Notify('Loaded global message bypass')
| |
| 6836 | else | |
| 6837 | execCmd("loadm")
| |
| 6838 | end | |
| 6839 | end | |
| 6840 | elseif MSGhook == true then | |
| 6841 | Notify('Messages already loaded!')
| |
| 6842 | end | |
| 6843 | end) | |
| 6844 | ||
| 6845 | addcmd('countdown', 'makes a countdown', {},
| |
| 6846 | function(args, speaker) | |
| 6847 | local players = getPlayer(args[1], speaker) | |
| 6848 | if args[1] ~= string then | |
| 6849 | local time = args[1] | |
| 6850 | msghook() | |
| 6851 | if MSGhook == true then | |
| 6852 | local h = workspace.IYmessage | |
| 6853 | for i = time, 1, -1 do | |
| 6854 | wait(1) | |
| 6855 | h.Text = "Countdown: "..i.."" | |
| 6856 | end | |
| 6857 | wait(1) | |
| 6858 | h.Text = "Times Up!" | |
| 6859 | wait(2) | |
| 6860 | h.Text = '' | |
| 6861 | elseif MSGhook == false then | |
| 6862 | execCmd("loadm")
| |
| 6863 | repeat wait() until workspace:FindFirstChild("IYmessage")
| |
| 6864 | local h = workspace.IYmessage | |
| 6865 | for i = time, 1, -1 do | |
| 6866 | wait(1) | |
| 6867 | h.Text = "Countdown: "..i.."" | |
| 6868 | end | |
| 6869 | wait(1) | |
| 6870 | h.Text = "Times Up!" | |
| 6871 | wait(2) | |
| 6872 | h.Text = '' | |
| 6873 | end | |
| 6874 | end | |
| 6875 | end) | |
| 6876 | ||
| 6877 | addcmd('explode', 'explode a player', {},
| |
| 6878 | function(args, speaker) | |
| 6879 | local players = getPlayer(args[1], speaker) | |
| 6880 | for i, v in pairs(players) do | |
| 6881 | local char = _char(v) | |
| 6882 | if char:FindFirstChild("HumanoidRootPart") then
| |
| 6883 | Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position
| |
| 6884 | end | |
| 6885 | end | |
| 6886 | end) | |
| 6887 | ||
| 6888 | addcmd('flood', 'makes a flood e.e', {},
| |
| 6889 | function(args, speaker) | |
| 6890 | workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") | |
| 6891 | end) | |
| 6892 | ||
| 6893 | addcmd('spookyify', 'makes it sp00ky', {},
| |
| 6894 | function(args, speaker) | |
| 6895 | local music = Instance.new("Sound", workspace)
| |
| 6896 | music.SoundId = "http://www.roblox.com/asset/?id=257569267" | |
| 6897 | music.Volume = 20 | |
| 6898 | music.Looped = true | |
| 6899 | music:Play() | |
| 6900 | ||
| 6901 | tex1 = "http://www.roblox.com/asset/?id=185495987" | |
| 6902 | tex2 = "http://www.roblox.com/asset/?id=260858020" | |
| 6903 | tex3 = "http://www.roblox.com/asset/?id=149213919" | |
| 6904 | tex4 = "http://www.roblox.com/asset/?id=171905673" | |
| 6905 | ||
| 6906 | local w = workspace:GetChildren() | |
| 6907 | ||
| 6908 | for i= 1,#w do | |
| 6909 | if w[i]:isA("BasePart") then
| |
| 6910 | pe = Instance.new("ParticleEmitter", w[i])
| |
| 6911 | pe.Texture = tex4 | |
| 6912 | pe.VelocitySpread = 5 | |
| 6913 | end | |
| 6914 | end | |
| 6915 | ||
| 6916 | local playerLeaderstats = {}
| |
| 6917 | for i, v in pairs(gPlayers:GetChildren()) do | |
| 6918 | table.insert(playerLeaderstats, v) | |
| 6919 | end | |
| 6920 | for i, v in pairs(playerLeaderstats) do | |
| 6921 | pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart)
| |
| 6922 | pe.Texture = "http://www.roblox.com/asset/?id=171905673" | |
| 6923 | pe.VelocitySpread = 50 | |
| 6924 | end | |
| 6925 | ||
| 6926 | texture = "http://www.roblox.com/asset/?id=185495987" | |
| 6927 | ||
| 6928 | local A = workspace:GetChildren() | |
| 6929 | local B = workspace:GetChildren() | |
| 6930 | local C = workspace:GetChildren() | |
| 6931 | local D = workspace:GetChildren() | |
| 6932 | local E = workspace:GetChildren() | |
| 6933 | local F = workspace:GetChildren() | |
| 6934 | for i,v in pairs(A) do | |
| 6935 | if v:IsA("Part") then
| |
| 6936 | local d = Instance.new("Decal",v)
| |
| 6937 | v.Decal.Face = "Top" | |
| 6938 | v.Decal.Texture = texture | |
| 6939 | v.Anchored = true | |
| 6940 | end | |
| 6941 | end | |
| 6942 | ||
| 6943 | for i,v in pairs(B) do | |
| 6944 | if v:IsA("Part") then
| |
| 6945 | local s = Instance.new("Decal",v)
| |
| 6946 | s.Face = "Front" | |
| 6947 | s.Texture = texture | |
| 6948 | end | |
| 6949 | end | |
| 6950 | ||
| 6951 | for i,v in pairs(C) do | |
| 6952 | if v:IsA("Part") then
| |
| 6953 | local h = Instance.new("Decal",v)
| |
| 6954 | h.Face = "Back" | |
| 6955 | h.Texture = texture | |
| 6956 | end | |
| 6957 | end | |
| 6958 | ||
| 6959 | for i,v in pairs(D) do | |
| 6960 | if v:IsA("Part") then
| |
| 6961 | local j = Instance.new("Decal",v)
| |
| 6962 | j.Face = "Left" | |
| 6963 | j.Texture = texture | |
| 6964 | end | |
| 6965 | end | |
| 6966 | ||
| 6967 | for i,v in pairs(E) do | |
| 6968 | if v:IsA("Part") then
| |
| 6969 | local k = Instance.new("Decal",v)
| |
| 6970 | k.Face = "Right" | |
| 6971 | k.Texture = texture | |
| 6972 | end | |
| 6973 | end | |
| 6974 | ||
| 6975 | for i,v in pairs(F) do | |
| 6976 | if v:IsA("Part") then
| |
| 6977 | local l = Instance.new("Decal",v)
| |
| 6978 | l.Face = "Bottom" | |
| 6979 | l.Texture = texture | |
| 6980 | end | |
| 6981 | ||
| 6982 | imageOne = "http://www.roblox.com/asset/?id=169585459" | |
| 6983 | imageTwo = "http://www.roblox.com/asset/?id=169585475" | |
| 6984 | imageThree = "http://www.roblox.com/asset/?id=169585485" | |
| 6985 | imageFour = "http://www.roblox.com/asset/?id=169585502" | |
| 6986 | imageFive = "http://www.roblox.com/asset/?id=169585515" | |
| 6987 | imageSix = "http://www.roblox.com/asset/?id=169585502" | |
| 6988 | imageSeven = "http://www.roblox.com/asset/?id=169585485" | |
| 6989 | imageEight = "http://www.roblox.com/asset/?id=169585475" | |
| 6990 | ||
| 6991 | Spooky = Instance.new("Sound", workspace)
| |
| 6992 | Spooky.Name = "Spooky" | |
| 6993 | Spooky.SoundId = "rbxassetid://174270407" | |
| 6994 | Spooky.Volume = 15 | |
| 6995 | Spooky.Looped = true | |
| 6996 | Spooky:Play() | |
| 6997 | ||
| 6998 | Sky = Instance.new("Sky", LightingService)
| |
| 6999 | Sky.SkyboxBk = imageOne | |
| 7000 | Sky.SkyboxDn = imageOne | |
| 7001 | Sky.SkyboxFt = imageOne | |
| 7002 | Sky.SkyboxLf = imageOne | |
| 7003 | Sky.SkyboxRt = imageOne | |
| 7004 | Sky.SkyboxUp = imageOne | |
| 7005 | ||
| 7006 | ||
| 7007 | while true do | |
| 7008 | Sky.SkyboxBk = imageOne | |
| 7009 | Sky.SkyboxDn = imageOne | |
| 7010 | Sky.SkyboxFt = imageOne | |
| 7011 | Sky.SkyboxLf = imageOne | |
| 7012 | Sky.SkyboxRt = imageOne | |
| 7013 | Sky.SkyboxUp = imageOne | |
| 7014 | wait(0.15) | |
| 7015 | Sky.SkyboxBk = imageTwo | |
| 7016 | Sky.SkyboxDn = imageTwo | |
| 7017 | Sky.SkyboxFt = imageTwo | |
| 7018 | Sky.SkyboxLf = imageTwo | |
| 7019 | Sky.SkyboxRt = imageTwo | |
| 7020 | Sky.SkyboxUp = imageTwo | |
| 7021 | wait(0.15) | |
| 7022 | Sky.SkyboxBk = imageThree | |
| 7023 | Sky.SkyboxDn = imageThree | |
| 7024 | Sky.SkyboxFt = imageThree | |
| 7025 | Sky.SkyboxLf = imageThree | |
| 7026 | Sky.SkyboxRt = imageThree | |
| 7027 | Sky.SkyboxUp = imageThree | |
| 7028 | wait(0.15) | |
| 7029 | Sky.SkyboxBk = imageFour | |
| 7030 | Sky.SkyboxDn = imageFour | |
| 7031 | Sky.SkyboxFt = imageFour | |
| 7032 | Sky.SkyboxLf = imageFour | |
| 7033 | Sky.SkyboxRt = imageFour | |
| 7034 | Sky.SkyboxUp = imageFour | |
| 7035 | wait(0.15) | |
| 7036 | Sky.SkyboxBk = imageFive | |
| 7037 | Sky.SkyboxDn = imageFive | |
| 7038 | Sky.SkyboxFt = imageFive | |
| 7039 | Sky.SkyboxLf = imageFive | |
| 7040 | Sky.SkyboxRt = imageFive | |
| 7041 | Sky.SkyboxUp = imageFive | |
| 7042 | wait(0.15) | |
| 7043 | Sky.SkyboxBk = imageSix | |
| 7044 | Sky.SkyboxDn = imageSix | |
| 7045 | Sky.SkyboxFt = imageSix | |
| 7046 | Sky.SkyboxLf = imageSix | |
| 7047 | Sky.SkyboxRt = imageSix | |
| 7048 | Sky.SkyboxUp = imageSix | |
| 7049 | wait(0.15) | |
| 7050 | Sky.SkyboxBk = imageSeven | |
| 7051 | Sky.SkyboxDn = imageSeven | |
| 7052 | Sky.SkyboxFt = imageSeven | |
| 7053 | Sky.SkyboxLf = imageSeven | |
| 7054 | Sky.SkyboxRt = imageSeven | |
| 7055 | Sky.SkyboxUp = imageSeven | |
| 7056 | wait(0.15) | |
| 7057 | Sky.SkyboxBk = imageEight | |
| 7058 | Sky.SkyboxDn = imageEight | |
| 7059 | Sky.SkyboxFt = imageEight | |
| 7060 | Sky.SkyboxLf = imageEight | |
| 7061 | Sky.SkyboxRt = imageEight | |
| 7062 | Sky.SkyboxUp = imageEight | |
| 7063 | wait(0.15) | |
| 7064 | ||
| 7065 | end | |
| 7066 | end | |
| 7067 | end) | |
| 7068 | ||
| 7069 | addcmd('invisible', 'make a player invisible',{'invis'},
| |
| 7070 | function(args, speaker) | |
| 7071 | local players = getPlayer(args[1], speaker) | |
| 7072 | for i, v in pairs(players) do | |
| 7073 | for k, v2 in pairs(_char(v):GetChildren()) do | |
| 7074 | if v2.className == "Part" then | |
| 7075 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end | |
| 7076 | elseif v2.className == "Accessory" then | |
| 7077 | if v2:FindFirstChild("Handle") then
| |
| 7078 | v2.Handle.Transparency = 1 | |
| 7079 | end | |
| 7080 | end | |
| 7081 | if v2:FindFirstChild("face") then
| |
| 7082 | v2.face.Transparency = 1 | |
| 7083 | end | |
| 7084 | end | |
| 7085 | end | |
| 7086 | end) | |
| 7087 | ||
| 7088 | addcmd('visible', 'make a player visible',{'vis'},
| |
| 7089 | function(args, speaker) | |
| 7090 | local players = getPlayer(args[1], speaker) | |
| 7091 | for i, v in pairs(players) do | |
| 7092 | for k, v2 in pairs(_char(v):GetChildren()) do | |
| 7093 | if v2.className == "Part" then | |
| 7094 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then | |
| 7095 | if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
| |
| 7096 | end | |
| 7097 | if v2:FindFirstChild("face") then
| |
| 7098 | v2.face.Transparency = 0 | |
| 7099 | end | |
| 7100 | end | |
| 7101 | end | |
| 7102 | end) | |
| 7103 | ||
| 7104 | addcmd('goto', 'go to a player',{'to'},
| |
| 7105 | function(args, speaker) | |
| 7106 | local players = getPlayer(args[1], speaker) | |
| 7107 | if _char(players[1]) ~= nil then | |
| 7108 | if speaker.Character:FindFirstChild("Humanoid") then
| |
| 7109 | speaker.Character.Humanoid.Jump = true | |
| 7110 | end | |
| 7111 | speaker.Character:MoveTo(_char(players[1]).HumanoidRootPart.Position) | |
| 7112 | end | |
| 7113 | end) | |
| 7114 | ||
| 7115 | addcmd('bring', 'bring a player to you',{},
| |
| 7116 | function(args, speaker) | |
| 7117 | local players = getPlayer(args[1], speaker) | |
| 7118 | for i,v in pairs(players) do | |
| 7119 | if _char(v) ~= nil then | |
| 7120 | if _char(v):FindFirstChild("Humanoid") then
| |
| 7121 | _char(v).Humanoid.Jump = true | |
| 7122 | _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position) | |
| 7123 | end | |
| 7124 | wait(0.1) | |
| 7125 | _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position) | |
| 7126 | end | |
| 7127 | end | |
| 7128 | end) | |
| 7129 | ||
| 7130 | addcmd('tp', 'teleport player 1 to player 2',{},
| |
| 7131 | function(args, speaker) | |
| 7132 | local players1=getPlayer(args[1], speaker) | |
| 7133 | local players2=getPlayer(args[2], speaker) | |
| 7134 | if not players2[1] then return end | |
| 7135 | for i,v in pairs(players1) do | |
| 7136 | if _char(v) ~= nil and _char(players2[1]) ~= nil then | |
| 7137 | if _char(v):FindFirstChild("Humanoid") then
| |
| 7138 | _char(v).Humanoid.Jump = true | |
| 7139 | _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position) | |
| 7140 | end | |
| 7141 | wait(0.1) | |
| 7142 | _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position) | |
| 7143 | end | |
| 7144 | end | |
| 7145 | end) | |
| 7146 | ||
| 7147 | local WayPoints = {}
| |
| 7148 | addcmd("savepos","sets a waypoint at the speaker's position",{'spos'},
| |
| 7149 | function(args, speaker) | |
| 7150 | local WPName = tostring(GLS(false, 0)) | |
| 7151 | if speaker.Character:findFirstChild("HumanoidRootPart") then
| |
| 7152 | Notify("Created waypoint: "..GLS(false, 0))
| |
| 7153 | local torso = speaker.Character:findFirstChild("HumanoidRootPart")
| |
| 7154 | WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}}
| |
| 7155 | updatepositions() | |
| 7156 | end | |
| 7157 | end) | |
| 7158 | ||
| 7159 | addcmd("deletepos","sets a waypoint at the speaker's position",{'dpos'},
| |
| 7160 | function(args, speaker) | |
| 7161 | for i,v in pairs(WayPoints) do | |
| 7162 | if v.NAME == tostring(GLS(false, 0)) then | |
| 7163 | Notify("Deleted waypoint: " .. v.NAME)
| |
| 7164 | table.remove(WayPoints, i) | |
| 7165 | updatepositions() | |
| 7166 | end end | |
| 7167 | end) | |
| 7168 | ||
| 7169 | ||
| 7170 | addcmd("loadpos","teleports a player to a waypoint",{'lpos'},
| |
| 7171 | function(args, speaker) | |
| 7172 | local players = getPlayer(args[1], speaker) | |
| 7173 | local WPName = tostring(GLS(false, 1)) | |
| 7174 | for i,v in pairs(players) do | |
| 7175 | if gPlayers[v] and gPlayers[v].Character then | |
| 7176 | for i,_ in pairs(WayPoints) do | |
| 7177 | local x = WayPoints[i].COORD[1] | |
| 7178 | local y = WayPoints[i].COORD[2] | |
| 7179 | local z = WayPoints[i].COORD[3] | |
| 7180 | if tostring(WayPoints[i].NAME) == tostring(WPName) then | |
| 7181 | gPlayers[v].Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z) | |
| 7182 | end | |
| 7183 | end | |
| 7184 | end | |
| 7185 | end | |
| 7186 | end) | |
| 7187 | ||
| 7188 | addcmd('charplr','charplr [plr] [plr]',{'cp'},
| |
| 7189 | function(args, speaker) | |
| 7190 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
| 7191 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
| 7192 | if _players[v].Character and _players[b].Character then | |
| 7193 | _players[v].CharacterAppearanceId = _players[b].userId | |
| 7194 | refresh(_players[v]) | |
| 7195 | end | |
| 7196 | end | |
| 7197 | end | |
| 7198 | end) | |
| 7199 | ||
| 7200 | addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'},
| |
| 7201 | function(args, speaker) | |
| 7202 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
| 7203 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
| 7204 | spawn(function() | |
| 7205 | for i,v in pairs(_players[v].Backpack:GetChildren()) do | |
| 7206 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 7207 | if not _players[b] then | |
| 7208 | v:Clone().Parent = speaker.Backpack | |
| 7209 | else v:Clone().Parent = _players[b].Backpack | |
| 7210 | end | |
| 7211 | end | |
| 7212 | end | |
| 7213 | end) | |
| 7214 | end | |
| 7215 | end | |
| 7216 | end) | |
| 7217 | ||
| 7218 | addcmd('char', 'change a players appearance',{},
| |
| 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 id=args[2] | |
| 7223 | if players ~= nil then | |
| 7224 | for i,v in pairs(players) do | |
| 7225 | gPlayers[v].CharacterAppearanceId = id | |
| 7226 | refresh(gPlayers[v]) | |
| 7227 | end | |
| 7228 | end | |
| 7229 | end) | |
| 7230 | ||
| 7231 | addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'},
| |
| 7232 | function(args, speaker) | |
| 7233 | local players = getPlayer(args[1], speaker) | |
| 7234 | if players ~= nil then | |
| 7235 | for i,v in pairs(players) do | |
| 7236 | gPlayers[v].CharacterAppearanceId = 0 | |
| 7237 | refresh(gPlayers[v]) | |
| 7238 | end | |
| 7239 | end | |
| 7240 | end) | |
| 7241 | ||
| 7242 | addcmd('speed', 'change a players walkspeed',{'ws'},
| |
| 7243 | function(args, speaker) | |
| 7244 | local players = getPlayer(args[1], speaker) | |
| 7245 | if not args[1]or not args[2]then return end | |
| 7246 | local num=args[2] | |
| 7247 | for i,v in pairs(players) do | |
| 7248 | if _char(v):FindFirstChild("Humanoid") then
| |
| 7249 | _char(v).Humanoid.WalkSpeed=tonumber(num) | |
| 7250 | end | |
| 7251 | end | |
| 7252 | end) | |
| 7253 | ||
| 7254 | addcmd('jump', 'forces a player to jump',{},
| |
| 7255 | function(args, speaker) | |
| 7256 | local players = getPlayer(args[1], speaker) | |
| 7257 | for i,v in pairs(players) do | |
| 7258 | if _char(v):FindFirstChild("Humanoid") then
| |
| 7259 | _char(v).Humanoid.Jump = true | |
| 7260 | end | |
| 7261 | end | |
| 7262 | end) | |
| 7263 | ||
| 7264 | jumping = {}
| |
| 7265 | addcmd('loopjump','like a bunny :)',{'ljump'},
| |
| 7266 | function(args, speaker) | |
| 7267 | local players = getPlayer(args[1], speaker) | |
| 7268 | for i,v in pairs(players)do | |
| 7269 | spawn(function() | |
| 7270 | if FindTable(jumping, _players[v].Name) then return end | |
| 7271 | table.insert(jumping, _players[v].Name) | |
| 7272 | repeat wait(0.01) | |
| 7273 | if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then
| |
| 7274 | if _players[v].Character.Humanoid.Jump ~= true then | |
| 7275 | _players[v].Character.Humanoid.Jump = true end end | |
| 7276 | until not FindTable(jumping, _players[v].Name) | |
| 7277 | end) | |
| 7278 | end | |
| 7279 | end) | |
| 7280 | ||
| 7281 | addcmd('unljump','unjails player',{'noljump','unloopjump','noloopjump'},
| |
| 7282 | function(args, speaker) | |
| 7283 | local players = getPlayer(args[1], speaker) | |
| 7284 | for i,v in pairs(players)do | |
| 7285 | spawn(function() | |
| 7286 | for a,b in pairs(jumping) do if b == _players[v].Name then table.remove(jumping, a) end end | |
| 7287 | end) | |
| 7288 | end | |
| 7289 | end) | |
| 7290 | ||
| 7291 | addcmd('sit', 'sit a player',{},
| |
| 7292 | function(args, speaker) | |
| 7293 | local players = getPlayer(args[1], speaker) | |
| 7294 | for i,v in pairs(players) do | |
| 7295 | if _char(v):FindFirstChild("Humanoid") then
| |
| 7296 | _char(v).Humanoid.Sit = true | |
| 7297 | end | |
| 7298 | end | |
| 7299 | end) | |
| 7300 | ||
| 7301 | sitting = {}
| |
| 7302 | addcmd('loopsit','very annoying',{'lsit'},
| |
| 7303 | function(args, speaker) | |
| 7304 | local players = getPlayer(args[1], speaker) | |
| 7305 | for i,v in pairs(players)do | |
| 7306 | spawn(function() | |
| 7307 | if FindTable(sitting, _players[v].Name) then return end | |
| 7308 | table.insert(sitting, _players[v].Name) | |
| 7309 | repeat wait(0.01) | |
| 7310 | if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then
| |
| 7311 | if _players[v].Character.Humanoid.Sit ~= true then | |
| 7312 | _players[v].Character.Humanoid.Sit = true end end | |
| 7313 | until not FindTable(sitting, _players[v].Name) | |
| 7314 | end) | |
| 7315 | end | |
| 7316 | end) | |
| 7317 | ||
| 7318 | addcmd('unlsit','unjails player',{'nolsit','unloopsit','noloopsit'},
| |
| 7319 | function(args, speaker) | |
| 7320 | local players = getPlayer(args[1], speaker) | |
| 7321 | for i,v in pairs(players)do | |
| 7322 | spawn(function() | |
| 7323 | for a,b in pairs(sitting) do if b == _players[v].Name then table.remove(sitting, a) end end | |
| 7324 | end) | |
| 7325 | end | |
| 7326 | end) | |
| 7327 | ||
| 7328 | addcmd('strength',' strong',{},
| |
| 7329 | function(args, speaker) | |
| 7330 | local players = getPlayer(args[1], speaker) | |
| 7331 | for i,v in pairs(players)do | |
| 7332 | spawn(function() | |
| 7333 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
| 7334 | if child.ClassName == "Part" then | |
| 7335 | child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5) | |
| 7336 | end | |
| 7337 | end | |
| 7338 | end) | |
| 7339 | end | |
| 7340 | end) | |
| 7341 | ||
| 7342 | addcmd('weaken',' weak',{},
| |
| 7343 | function(args, speaker) | |
| 7344 | local players = getPlayer(args[1], speaker) | |
| 7345 | for i,v in pairs(players)do | |
| 7346 | spawn(function() | |
| 7347 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
| 7348 | if child.ClassName == "Part" then | |
| 7349 | child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5) | |
| 7350 | end | |
| 7351 | end | |
| 7352 | end) | |
| 7353 | end | |
| 7354 | end) | |
| 7355 | ||
| 7356 | addcmd('unweaken',' undoes strength and weaken',{'unstrength'},
| |
| 7357 | function(args, speaker) | |
| 7358 | local players = getPlayer(args[1], speaker) | |
| 7359 | for i,v in pairs(players)do | |
| 7360 | spawn(function() | |
| 7361 | for _, child in pairs( _players[v].Character:GetDescendants()) do | |
| 7362 | if child.ClassName == "Part" then | |
| 7363 | child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5) | |
| 7364 | end | |
| 7365 | end | |
| 7366 | end) | |
| 7367 | end | |
| 7368 | end) | |
| 7369 | ||
| 7370 | addcmd('trip','makes a player trip',{},
| |
| 7371 | function(args, speaker) | |
| 7372 | local players = getPlayer(args[1], speaker) | |
| 7373 | for i,v in pairs(players)do | |
| 7374 | spawn(function() | |
| 7375 | if _players[v].Character:findFirstChild("Right Leg") then -- credz to Zwolf#3762
| |
| 7376 | local dir = _players[v].Character:findFirstChild("Right Leg")
| |
| 7377 | dir.Anchored = true | |
| 7378 | if dir.Anchored == true then | |
| 7379 | wait(.5) | |
| 7380 | _players[v].Character.Humanoid.Sit = true | |
| 7381 | wait(1) | |
| 7382 | _players[v].Character.Humanoid.Sit = false | |
| 7383 | dir.Anchored = false | |
| 7384 | end | |
| 7385 | end | |
| 7386 | end) | |
| 7387 | end | |
| 7388 | end) | |
| 7389 | ||
| 7390 | oofing = false | |
| 7391 | addcmd('loopoof','very VERY annoying',{},
| |
| 7392 | function(args, speaker) | |
| 7393 | oofing = true | |
| 7394 | repeat wait(0.01) | |
| 7395 | for i,v in pairs(game:GetService'Players':GetPlayers()) do | |
| 7396 | if v.Character ~= nil and v.Character:FindFirstChild'Head' then | |
| 7397 | for _,x in pairs(v.Character.Head:GetChildren()) do | |
| 7398 | if x:IsA'Sound' then x.Playing = true end | |
| 7399 | end | |
| 7400 | end | |
| 7401 | end | |
| 7402 | until oofing == false | |
| 7403 | end) | |
| 7404 | ||
| 7405 | addcmd('unloopoof','stops the oof chaos',{},
| |
| 7406 | function(args, speaker) | |
| 7407 | oofing = false | |
| 7408 | end) | |
| 7409 | ||
| 7410 | addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'},
| |
| 7411 | function(args, speaker) | |
| 7412 | local players = getPlayer(args[1], speaker) | |
| 7413 | if not args[1]or not args[2]then return end | |
| 7414 | local num=args[2] | |
| 7415 | for i,v in pairs(players) do | |
| 7416 | if _char(v):FindFirstChild("Humanoid") then
| |
| 7417 | _char(v).Humanoid.JumpPower=tonumber(num) | |
| 7418 | end | |
| 7419 | end | |
| 7420 | end) | |
| 7421 | ||
| 7422 | addcmd('confuse', 'confusing...',{},
| |
| 7423 | function(args, speaker) | |
| 7424 | local players = getPlayer(args[1], speaker) | |
| 7425 | for i,v in pairs(players) do | |
| 7426 | spawn(function() | |
| 7427 | if _char(v):FindFirstChild("Humanoid") then
| |
| 7428 | _char(v).Humanoid.Name = "ConfusedNigga" | |
| 7429 | while true do | |
| 7430 | _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6) | |
| 7431 | _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100)) | |
| 7432 | wait(0.1) | |
| 7433 | end | |
| 7434 | ||
| 7435 | end | |
| 7436 | end) | |
| 7437 | end | |
| 7438 | end) | |
| 7439 | ||
| 7440 | addcmd('unconfuse', 'not confusing...',{},
| |
| 7441 | function(args, speaker) | |
| 7442 | local players = getPlayer(args[1], speaker) | |
| 7443 | for i,v in pairs(players) do | |
| 7444 | spawn(function() | |
| 7445 | if _char(v):FindFirstChild("ConfusedNigga") then
| |
| 7446 | _char(v).ConfusedNigga.Name = "Humanoid" | |
| 7447 | wait(0.3) | |
| 7448 | _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
| 7449 | ||
| 7450 | end | |
| 7451 | end) | |
| 7452 | end | |
| 7453 | end) | |
| 7454 | ||
| 7455 | addcmd('cripple', 'cripples a player xddd',{'stun'},
| |
| 7456 | function(args, speaker) | |
| 7457 | local players = getPlayer(args[1], speaker) | |
| 7458 | for i,v in pairs(players) do | |
| 7459 | if _char(v):FindFirstChild("Humanoid") then
| |
| 7460 | _char(v).Humanoid.PlatformStand = true | |
| 7461 | end | |
| 7462 | end | |
| 7463 | end) | |
| 7464 | ||
| 7465 | addcmd('uncripple', 'un cripples a player xddd',{'unstun'},
| |
| 7466 | function(args, speaker) | |
| 7467 | local players = getPlayer(args[1], speaker) | |
| 7468 | for i,v in pairs(players) do | |
| 7469 | if _char(v):FindFirstChild("Humanoid") then
| |
| 7470 | _char(v).Humanoid.PlatformStand = false | |
| 7471 | end | |
| 7472 | end | |
| 7473 | end) | |
| 7474 | ||
| 7475 | addcmd('hipheight', 'adjusts hip height',{'hheight'},
| |
| 7476 | function(args, speaker) | |
| 7477 | local players = getPlayer(args[1], speaker) | |
| 7478 | for i,v in pairs(players) do | |
| 7479 | if _char(v):FindFirstChild("Humanoid") then
| |
| 7480 | _char(v).Humanoid.HipHeight = args[2] | |
| 7481 | end | |
| 7482 | end | |
| 7483 | end) | |
| 7484 | ||
| 7485 | addcmd('face', 'change a players face',{},
| |
| 7486 | function(args, speaker) | |
| 7487 | local players = getPlayer(args[1], speaker) | |
| 7488 | for i,v in pairs(players) do | |
| 7489 | if _char(v).Head:FindFirstChild("face") then
| |
| 7490 | _char(v).Head.face.Texture = "rbxassetid://" .. args[2] | |
| 7491 | end | |
| 7492 | end | |
| 7493 | end) | |
| 7494 | ||
| 7495 | addcmd('time', 'change the time of day',{},
| |
| 7496 | function(args, speaker) | |
| 7497 | if not args[1]then return end | |
| 7498 | Notify('Time set to ' .. args[1])
| |
| 7499 | LightingService.ClockTime = args[1] | |
| 7500 | end) | |
| 7501 | ||
| 7502 | addcmd('day', 'change the time to day',{},
| |
| 7503 | function(args, speaker) | |
| 7504 | LightingService.ClockTime = 15 | |
| 7505 | end) | |
| 7506 | ||
| 7507 | addcmd('night', 'change the time of night',{},
| |
| 7508 | function(args, speaker) | |
| 7509 | LightingService.ClockTime = 0 | |
| 7510 | end) | |
| 7511 | ||
| 7512 | addcmd('globalshadows', 'changes the lighting property',{'gshadows'},
| |
| 7513 | function(args, speaker) | |
| 7514 | Notify('Turned on global shadows')
| |
| 7515 | LightingService.GlobalShadows = true | |
| 7516 | end) | |
| 7517 | ||
| 7518 | addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'},
| |
| 7519 | function(args, speaker) | |
| 7520 | Notify('Turned off global shadows')
| |
| 7521 | LightingService.GlobalShadows = false | |
| 7522 | end) | |
| 7523 | ||
| 7524 | addcmd('outlines', 'changes the lighting property',{},
| |
| 7525 | function(args, speaker) | |
| 7526 | Notify('Turned on outlines')
| |
| 7527 | LightingService.Outlines = true | |
| 7528 | end) | |
| 7529 | ||
| 7530 | addcmd('unoutlines', 'changes the lighting property',{'nooutlines'},
| |
| 7531 | function(args, speaker) | |
| 7532 | Notify('Turned off outlines')
| |
| 7533 | LightingService.Outlines = false | |
| 7534 | end) | |
| 7535 | ||
| 7536 | addcmd('brightness', 'changes the lighting property',{},
| |
| 7537 | function(args, speaker) | |
| 7538 | Notify('Set brightness to ' .. args[1])
| |
| 7539 | LightingService.Brightness = args[1] | |
| 7540 | end) | |
| 7541 | ||
| 7542 | addcmd('age','tells you the age of a player',{},
| |
| 7543 | function(args, speaker) | |
| 7544 | local players = getPlayer(args[1], speaker) | |
| 7545 | if speaker.userId ~= LP.userId then | |
| 7546 | lponly(speaker) | |
| 7547 | else | |
| 7548 | for i,v in pairs(players) do | |
| 7549 | game:FindService('StarterGui'):SetCore('SendNotification', {
| |
| 7550 | Title = _players[v].Name, | |
| 7551 | Text = 'Age: '.._players[v].AccountAge, | |
| 7552 | Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]].._players[v].Name..[[&RAND]] .. math.random(1,100000000), | |
| 7553 | Duration = 5, | |
| 7554 | }) | |
| 7555 | end | |
| 7556 | end | |
| 7557 | end) | |
| 7558 | ||
| 7559 | addcmd('remotespy', 'prints remotes',{'remotes'},
| |
| 7560 | function(args, speaker) | |
| 7561 | if speaker.userId ~= LP.userId then | |
| 7562 | lponly(speaker) | |
| 7563 | else | |
| 7564 | Notify('Printing remotes')
| |
| 7565 | function getem(o) | |
| 7566 | for i,v in pairs(o:children())do | |
| 7567 | if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then | |
| 7568 | print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName())
| |
| 7569 | end | |
| 7570 | getem(v) | |
| 7571 | end | |
| 7572 | end | |
| 7573 | pcall(getem,game) | |
| 7574 | end | |
| 7575 | end) | |
| 7576 | ||
| 7577 | addcmd('f3x', 'loads f3x tools',{'fex'},
| |
| 7578 | function(args, speaker) | |
| 7579 | if speaker.userId ~= LP.userId then | |
| 7580 | lponly(speaker) | |
| 7581 | else | |
| 7582 | loadstring(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1059691823").Source)()
| |
| 7583 | end | |
| 7584 | end) | |
| 7585 | ||
| 7586 | addcmd('kick', 'kick a player',{},
| |
| 7587 | function(args, speaker) | |
| 7588 | local players = getPlayer(args[1], speaker) | |
| 7589 | for i,v in pairs(players) do | |
| 7590 | spawn(function() | |
| 7591 | if FindTable(SPC, args[1]) then Notify('Kicked ' ..args[1]) else
| |
| 7592 | Notify('Kicked player(s)') end
| |
| 7593 | kickF(gPlayers[v]) | |
| 7594 | end) end end) | |
| 7595 | ||
| 7596 | function fadelock(id) | |
| 7597 | if lockic.ImageTransparency ~= 1 then | |
| 7598 | for i=1, 10 do | |
| 7599 | lockic.ImageTransparency = lockic.ImageTransparency + 0.1 | |
| 7600 | wait(0.01) | |
| 7601 | end | |
| 7602 | lockic.ImageTransparency = 1 | |
| 7603 | end | |
| 7604 | if id ~= 'off' then | |
| 7605 | lockic.Image = id | |
| 7606 | wait(0.2) | |
| 7607 | for i=1, 10 do | |
| 7608 | lockic.ImageTransparency = lockic.ImageTransparency - 0.1 | |
| 7609 | wait(0.01) | |
| 7610 | end | |
| 7611 | lockic.ImageTransparency = 0 | |
| 7612 | end end | |
| 7613 | ||
| 7614 | addcmd('serverlock', 'lock teh server',{'slock'},
| |
| 7615 | function(args, speaker) | |
| 7616 | slock = true | |
| 7617 | agelock = false | |
| 7618 | Notify('Locked Server')
| |
| 7619 | fadelock("rbxassetid://1495252742")
| |
| 7620 | end) | |
| 7621 | ||
| 7622 | addcmd('unserverlock', 'unlock teh server',{'unslock'},
| |
| 7623 | function(args, speaker) | |
| 7624 | slock = false | |
| 7625 | Notify('Unlocked Server')
| |
| 7626 | if lockic.Image == "rbxassetid://1495252742" then | |
| 7627 | fadelock('off')
| |
| 7628 | end | |
| 7629 | end) | |
| 7630 | ||
| 7631 | addcmd('agelock', 'lock teh server for a certain age',{'alock'},
| |
| 7632 | function(args, speaker) | |
| 7633 | if isNumber(args[1]) then | |
| 7634 | Notify('Set the age lock to age ' .. args[1])
| |
| 7635 | isagelocked = true | |
| 7636 | slock = false | |
| 7637 | agelock = tonumber(args[1]) | |
| 7638 | fadelock("rbxassetid://1495252495")
| |
| 7639 | end | |
| 7640 | end) | |
| 7641 | ||
| 7642 | addcmd('unagelock', 'lock teh server for a certain age',{'unalock','noagelock','noalock'},
| |
| 7643 | function(args, speaker) | |
| 7644 | Notify('Disabled age lock')
| |
| 7645 | isagelocked = false | |
| 7646 | if lockic.Image == "rbxassetid://1495252495" then | |
| 7647 | fadelock('off')
| |
| 7648 | end | |
| 7649 | end) | |
| 7650 | ||
| 7651 | addcmd('unlockws', 'unlock the whole workspace',{},
| |
| 7652 | function(args, speaker) | |
| 7653 | Notify('Workspace unlocked')
| |
| 7654 | wait(1) | |
| 7655 | local function unlock(instance) | |
| 7656 | for i,v in pairs(instance:GetChildren()) do | |
| 7657 | if v:IsA("BasePart") then
| |
| 7658 | v.Locked = false | |
| 7659 | end | |
| 7660 | unlock(v) | |
| 7661 | end | |
| 7662 | end | |
| 7663 | unlock(workspace) | |
| 7664 | end) | |
| 7665 | ||
| 7666 | addcmd('lockws', 'lock the whole workspace',{},
| |
| 7667 | function(args, speaker) | |
| 7668 | Notify('Workspace locked')
| |
| 7669 | wait(1) | |
| 7670 | local function lock(instance) | |
| 7671 | for i,v in pairs(instance:GetChildren()) do | |
| 7672 | if v:IsA("BasePart") then
| |
| 7673 | v.Locked = true | |
| 7674 | end | |
| 7675 | lock(v) | |
| 7676 | end | |
| 7677 | end | |
| 7678 | lock(workspace) | |
| 7679 | end) | |
| 7680 | ||
| 7681 | addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
| |
| 7682 | function(args, speaker) | |
| 7683 | local function unanchor(instance) | |
| 7684 | for i,v in pairs(instance:GetChildren()) do | |
| 7685 | if v:IsA("BasePart") then
| |
| 7686 | v.Anchored=false | |
| 7687 | end | |
| 7688 | unanchor(v) | |
| 7689 | end | |
| 7690 | end | |
| 7691 | unanchor(workspace) | |
| 7692 | end) | |
| 7693 | ||
| 7694 | addcmd('anchorws', 'anchor the whole workspace',{'anchor'},
| |
| 7695 | function(args, speaker) | |
| 7696 | local function anchor(instance) | |
| 7697 | for i,v in pairs(instance:GetChildren()) do | |
| 7698 | if v:IsA("BasePart") then
| |
| 7699 | v.Anchored=true | |
| 7700 | end | |
| 7701 | anchor(v) | |
| 7702 | end | |
| 7703 | end | |
| 7704 | anchor(workspace) | |
| 7705 | end) | |
| 7706 | ||
| 7707 | addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'},
| |
| 7708 | function() | |
| 7709 | for _,v in pairs(workspace:GetChildren()) do | |
| 7710 | if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
| |
| 7711 | v:Destroy() | |
| 7712 | elseif v:IsA("Terrain") then
| |
| 7713 | v:Clear() | |
| 7714 | end | |
| 7715 | end | |
| 7716 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end | |
| 7717 | local p = Instance.new("Part", workspace)
| |
| 7718 | p.Anchored = true | |
| 7719 | p.FormFactor = "Symmetric" | |
| 7720 | p.Size = Vector3.new(1000,1,1000) | |
| 7721 | p.Position = Vector3.new(0,0,0) | |
| 7722 | p.BrickColor = BrickColor.new("Bright green")
| |
| 7723 | p.Material = "Grass" | |
| 7724 | p.Locked = true | |
| 7725 | end) | |
| 7726 | ||
| 7727 | addcmd('headshake', 'shakes a players head',{},
| |
| 7728 | function(args, speaker) | |
| 7729 | local players = getPlayer(args[1], speaker) | |
| 7730 | for i,v in pairs(players) do | |
| 7731 | spawn(function() | |
| 7732 | local shaken = gPlayers[v].Character | |
| 7733 | for X = 1, math.huge, 0.2 do | |
| 7734 | wait() | |
| 7735 | shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0) | |
| 7736 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
| 7737 | end | |
| 7738 | for X = 1, math.huge, 0.1 do | |
| 7739 | wait() | |
| 7740 | shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) | |
| 7741 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
| 7742 | end | |
| 7743 | for _,c in pairs(gPlayers:GetChildren()) do | |
| 7744 | c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100) | |
| 7745 | end | |
| 7746 | for _,c in pairs(gPlayers:GetChildren()) do | |
| 7747 | c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 7748 | end | |
| 7749 | end) | |
| 7750 | end | |
| 7751 | end) | |
| 7752 | ||
| 7753 | addcmd('explorer', 'opens DEX',{'dex'},
| |
| 7754 | function(args, speaker) | |
| 7755 | if speaker.userId ~= LP.userId then | |
| 7756 | lponly(speaker) | |
| 7757 | else | |
| 7758 | loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
| |
| 7759 | end | |
| 7760 | end) | |
| 7761 | ||
| 7762 | addcmd('iyspam', '/shrug',{},
| |
| 7763 | function(args, speaker) | |
| 7764 | loadstring(game:HttpGet(('https://pastebin.com/raw/aJ15LAbN'),true))()
| |
| 7765 | end) | |
| 7766 | ||
| 7767 | addcmd('firstp', 'forces player to go into first person',{},
| |
| 7768 | function(args, speaker) | |
| 7769 | local players = getPlayer(args[1], speaker) | |
| 7770 | for i,v in pairs(players)do | |
| 7771 | gPlayers[v].CameraMode = "LockFirstPerson" | |
| 7772 | end | |
| 7773 | end) | |
| 7774 | ||
| 7775 | addcmd('lock', 'locks a players body parts',{},
| |
| 7776 | function(args, speaker) | |
| 7777 | local players = getPlayer(args[1], speaker) | |
| 7778 | for i,v in pairs(players)do | |
| 7779 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
| 7780 | if v:IsA("Part") then
| |
| 7781 | v.Locked = true | |
| 7782 | end end end | |
| 7783 | end) | |
| 7784 | ||
| 7785 | addcmd('unlock', 'locks a players body parts',{},
| |
| 7786 | function(args, speaker) | |
| 7787 | local players = getPlayer(args[1], speaker) | |
| 7788 | for i,v in pairs(players)do | |
| 7789 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
| 7790 | if v:IsA("Part") then
| |
| 7791 | v.Locked = false | |
| 7792 | end end end | |
| 7793 | end) | |
| 7794 | ||
| 7795 | addcmd('disablereset', 'makes a player unable to reset',{'noreset'},
| |
| 7796 | function(args, speaker) | |
| 7797 | local players = getPlayer(args[1], speaker) | |
| 7798 | for i,v in pairs(players)do | |
| 7799 | spawn(function() | |
| 7800 | gPlayers[v].Character.Humanoid.Name = "HumanoidIY" | |
| 7801 | if FindTable(SPC, args[1]) then Notify('Disabled reset for ' .. args[1]) else
| |
| 7802 | Notify('Disabled reset for player(s)') end
| |
| 7803 | end) | |
| 7804 | end | |
| 7805 | end) | |
| 7806 | ||
| 7807 | addcmd('enablereset', 'makes a player unable to reset',{'reset'},
| |
| 7808 | function(args, speaker) | |
| 7809 | local players = getPlayer(args[1], speaker) | |
| 7810 | for i,v in pairs(players)do | |
| 7811 | spawn(function() | |
| 7812 | gPlayers[v].Character.HumanoidIY.Name = "Humanoid" | |
| 7813 | if FindTable(SPC, args[1]) then Notify('Enabled reset for ' .. args[1]) else
| |
| 7814 | Notify('Enabled reset for player(s)') end
| |
| 7815 | end) | |
| 7816 | end | |
| 7817 | end) | |
| 7818 | ||
| 7819 | addcmd("fixlighting","Removes effects from lighting",{'fixl'},
| |
| 7820 | function(args,speaker) | |
| 7821 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
| |
| 7822 | if v:IsA("PostEffect") then
| |
| 7823 | v:Destroy() | |
| 7824 | end | |
| 7825 | end | |
| 7826 | LightingService.Ambient = origsettings.abt | |
| 7827 | LightingService.OutdoorAmbient = origsettings.oabt | |
| 7828 | LightingService.Brightness = origsettings.brt | |
| 7829 | LightingService.TimeOfDay = origsettings.time | |
| 7830 | LightingService.FogColor = origsettings.fclr | |
| 7831 | LightingService.FogEnd = origsettings.fe | |
| 7832 | LightingService.FogStart = origsettings.fs | |
| 7833 | end) | |
| 7834 | ||
| 7835 | addcmd("savelighting","Removes effects from lighting",{'slighting'},
| |
| 7836 | function(args,speaker) | |
| 7837 | origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
| |
| 7838 | LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart} | |
| 7839 | Notify('Saved lighting settings')
| |
| 7840 | end) | |
| 7841 | ||
| 7842 | addcmd("blackandwhite","Makes the game black and white",{},
| |
| 7843 | function(args,speaker) | |
| 7844 | local lighting = game:GetService("Lighting")
| |
| 7845 | local effect = Instance.new("ColorCorrectionEffect",lighting)
| |
| 7846 | effect.Saturation = -1 | |
| 7847 | end) | |
| 7848 | ||
| 7849 | addcmd("invert","Makes the game inverted",{},
| |
| 7850 | function(args,speaker) | |
| 7851 | local lighting = game:GetService("Lighting")
| |
| 7852 | local effect = Instance.new("ColorCorrectionEffect",lighting)
| |
| 7853 | effect.Saturation = -1 | |
| 7854 | local effect = Instance.new("ColorCorrectionEffect",lighting)
| |
| 7855 | effect.Saturation = -1 | |
| 7856 | end) | |
| 7857 | ||
| 7858 | addcmd("sun","Intensifys the sun",{},
| |
| 7859 | function(args,speaker) | |
| 7860 | local intense = args[1] or 0.25 | |
| 7861 | local spread = args[2] or 1 | |
| 7862 | local lighting = game:GetService("Lighting")
| |
| 7863 | local effect = Instance.new("SunRaysEffect",lighting)
| |
| 7864 | effect.Name = "IYsun" | |
| 7865 | effect.Intensity = tonumber(intense) | |
| 7866 | effect.Spread = tonumber(spread) | |
| 7867 | end) | |
| 7868 | ||
| 7869 | addcmd('base', 'spawns a base',{},
| |
| 7870 | function(args, speaker) | |
| 7871 | local pt = Instance.new("Part")
| |
| 7872 | pt.BrickColor = BrickColor.new("Silver")
| |
| 7873 | pt.Anchored = true | |
| 7874 | pt.CanCollide = true | |
| 7875 | pt.BottomSurface = "Weld" | |
| 7876 | pt.Parent = workspace | |
| 7877 | pt.Name = (math.random(1,1000000)) | |
| 7878 | pt.Size = Vector3.new(1000, 1, 1000) | |
| 7879 | pt.Locked = true | |
| 7880 | Notify('Created new base')
| |
| 7881 | end) | |
| 7882 | ||
| 7883 | addcmd('unblur', 'removes all blur instances',{'noblur'},
| |
| 7884 | function(args, speaker) | |
| 7885 | for i,v in pairs(LightingService:GetChildren()) do | |
| 7886 | if v:IsA('BlurEffect') then
| |
| 7887 | v:Destroy() | |
| 7888 | end | |
| 7889 | end | |
| 7890 | end) | |
| 7891 | ||
| 7892 | addcmd('thirdp', 'allows player to go into third person',{},
| |
| 7893 | function(args, speaker) | |
| 7894 | local players = getPlayer(args[1], speaker) | |
| 7895 | for i,v in pairs(players)do | |
| 7896 | gPlayers[v].CameraMode = "Classic" | |
| 7897 | end | |
| 7898 | end) | |
| 7899 | ||
| 7900 | addcmd('chat', 'forces player to chat what you input',{},
| |
| 7901 | function(args, speaker) | |
| 7902 | local players = getPlayer(args[1], speaker) | |
| 7903 | for i,v in pairs(players)do | |
| 7904 | game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3)
| |
| 7905 | end | |
| 7906 | end) | |
| 7907 | ||
| 7908 | addcmd('name', 'names player',{},
| |
| 7909 | function(args, speaker) | |
| 7910 | local players = getPlayer(args[1], speaker) | |
| 7911 | if not args[1] then return end | |
| 7912 | for i,v in pairs(players) do | |
| 7913 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
| 7914 | if mod:FindFirstChild("TAG") then
| |
| 7915 | gPlayers[v].Character.Head.Transparency = 0 | |
| 7916 | mod:Destroy() | |
| 7917 | end | |
| 7918 | end | |
| 7919 | ||
| 7920 | local char = gPlayers[v].Character | |
| 7921 | local model = Instance.new("Model", char)
| |
| 7922 | local clone = char.Head:Clone() | |
| 7923 | local hum = Instance.new("Humanoid", model)
| |
| 7924 | local weld = Instance.new("Weld", clone)
| |
| 7925 | model.Name = GLS(false, 1) | |
| 7926 | clone.Parent = model | |
| 7927 | hum.Name = "TAG" | |
| 7928 | hum.MaxHealth = 100 | |
| 7929 | hum.Health = 100 | |
| 7930 | weld.Part0 = clone | |
| 7931 | weld.Part1 = char.Head | |
| 7932 | char.Head.Transparency = 1 | |
| 7933 | end | |
| 7934 | end) | |
| 7935 | ||
| 7936 | addcmd('unname', 'unnames player',{'unhidename'},
| |
| 7937 | function(args, speaker) | |
| 7938 | local players = getPlayer(args[1], speaker) | |
| 7939 | local name = (args[2]) | |
| 7940 | for i,v in pairs(players) do | |
| 7941 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
| 7942 | if mod:FindFirstChild("TAG") then
| |
| 7943 | gPlayers[v].Character.Head.Transparency = 0 | |
| 7944 | mod:Destroy() | |
| 7945 | end | |
| 7946 | end | |
| 7947 | end | |
| 7948 | end) | |
| 7949 | ||
| 7950 | addcmd('noname', 'hides the players name',{'hidename'},
| |
| 7951 | function(args, speaker) | |
| 7952 | local players = getPlayer(args[1], speaker) | |
| 7953 | for i,v in pairs(players) do | |
| 7954 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
| 7955 | if mod:FindFirstChild("TAG") then
| |
| 7956 | gPlayers[v].Character.Head.Transparency = 0 | |
| 7957 | mod:Destroy() | |
| 7958 | end | |
| 7959 | end | |
| 7960 | ||
| 7961 | local char = gPlayers[v].Character | |
| 7962 | local model = Instance.new("Model", char)
| |
| 7963 | local clone = char.Head:Clone() | |
| 7964 | local hum = Instance.new("Humanoid", model)
| |
| 7965 | local weld = Instance.new("Weld", clone)
| |
| 7966 | model.Name = "" | |
| 7967 | clone.Parent = model | |
| 7968 | hum.Name = "TAG" | |
| 7969 | hum.MaxHealth = 100 | |
| 7970 | hum.Health = 100 | |
| 7971 | weld.Part0 = clone | |
| 7972 | weld.Part1 = char.Head | |
| 7973 | char.Head.Transparency = 1 | |
| 7974 | end | |
| 7975 | end) | |
| 7976 | ||
| 7977 | addcmd('damage', 'damages a player',{},
| |
| 7978 | function(args, speaker) | |
| 7979 | local players = getPlayer(args[1], speaker) | |
| 7980 | for i,v in pairs(players) do | |
| 7981 | gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25 | |
| 7982 | end | |
| 7983 | end) | |
| 7984 | ||
| 7985 | addcmd('view', 'views player',{'spectate'},
| |
| 7986 | function(args, speaker) | |
| 7987 | local players = getPlayer(args[1], speaker) | |
| 7988 | for i,v in pairs(players) do | |
| 7989 | workspace.CurrentCamera.CameraSubject = gPlayers[v].Character | |
| 7990 | Notify('Viewing ' .. gPlayers[v].Name)
| |
| 7991 | end | |
| 7992 | end) | |
| 7993 | ||
| 7994 | addcmd('unview', 'stops viewing player',{'unspectate'},
| |
| 7995 | function() | |
| 7996 | workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
| 7997 | Notify('View turned off')
| |
| 7998 | end) | |
| 7999 | ||
| 8000 | addcmd('nolimbs', 'removes limbs from player',{'rlimbs'},
| |
| 8001 | function(args, speaker) | |
| 8002 | local players = getPlayer(args[1], speaker) | |
| 8003 | for i,v in pairs(players) do | |
| 8004 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 8005 | if v:IsA("BasePart") and
| |
| 8006 | v.Name == "Right Leg" or | |
| 8007 | v.Name == "Left Leg" or | |
| 8008 | v.Name == "Right Arm" or | |
| 8009 | v.Name == "Left Arm" then | |
| 8010 | v:Destroy() | |
| 8011 | end | |
| 8012 | end | |
| 8013 | end | |
| 8014 | end) | |
| 8015 | ||
| 8016 | addcmd('noarms', 'removes arms from player',{'rarms'},
| |
| 8017 | function(args, speaker) | |
| 8018 | local players = getPlayer(args[1], speaker) | |
| 8019 | for i,v in pairs(players) do | |
| 8020 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 8021 | if v:IsA("BasePart") and
| |
| 8022 | v.Name == "Right Arm" or | |
| 8023 | v.Name == "Left Arm" then | |
| 8024 | v:Destroy() | |
| 8025 | end | |
| 8026 | end | |
| 8027 | end | |
| 8028 | end) | |
| 8029 | ||
| 8030 | addcmd('torso', 'just a torso....',{},
| |
| 8031 | function(args, speaker) | |
| 8032 | local players = getPlayer(args[1], speaker) | |
| 8033 | for i,v in pairs(players) do | |
| 8034 | spawn(function() | |
| 8035 | for i,v in pairs(gPlayers[v].Character:GetDescendants()) do | |
| 8036 | if v:IsA("BasePart") and
| |
| 8037 | v.Name == "Right Leg" or | |
| 8038 | v.Name == "Left Leg" or | |
| 8039 | v.Name == "Right Arm" or | |
| 8040 | v.Name == "Left Arm" or | |
| 8041 | v:IsA('Decal') or v:IsA('Texture') or
| |
| 8042 | v:IsA('Accessory') then
| |
| 8043 | v:Destroy() | |
| 8044 | end | |
| 8045 | end | |
| 8046 | gPlayers[v].Character.Head.Transparency = 1 | |
| 8047 | end) | |
| 8048 | end | |
| 8049 | end) | |
| 8050 | ||
| 8051 | addcmd('box', 'creates a box around player',{},
| |
| 8052 | function(args, speaker) | |
| 8053 | local players = getPlayer(args[1], speaker) | |
| 8054 | for i,v in pairs(players)do | |
| 8055 | local pchar=_char(v) | |
| 8056 | local SB = Instance.new("SelectionBox", pchar)
| |
| 8057 | SB.Adornee = SB.Parent | |
| 8058 | end | |
| 8059 | end) | |
| 8060 | ||
| 8061 | addcmd('nobox', 'takes away box from player',{'unbox'},
| |
| 8062 | function(args, speaker) | |
| 8063 | local players = getPlayer(args[1], speaker) | |
| 8064 | for i,v in pairs(players)do | |
| 8065 | local pchar=_char(v) | |
| 8066 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 8067 | if v:IsA("SelectionBox") then
| |
| 8068 | v:Destroy() | |
| 8069 | end | |
| 8070 | end | |
| 8071 | end | |
| 8072 | end) | |
| 8073 | ||
| 8074 | addcmd('ghost', 'ghostifys player',{},
| |
| 8075 | function(args, speaker) | |
| 8076 | local players = getPlayer(args[1], speaker) | |
| 8077 | for i,v in pairs(players)do | |
| 8078 | local pchar=gPlayers[v].Character | |
| 8079 | pchar.Head.Transparency = 0.5 | |
| 8080 | pchar.Torso.Transparency = 0.5 | |
| 8081 | pchar["Left Arm"].Transparency = 0.5 | |
| 8082 | pchar["Right Arm"].Transparency = 0.5 | |
| 8083 | pchar["Left Leg"].Transparency = 0.5 | |
| 8084 | pchar["Right Leg"].Transparency = 0.5 | |
| 8085 | pchar.Head.face.Transparency = 0.5 | |
| 8086 | end | |
| 8087 | end) | |
| 8088 | ||
| 8089 | addcmd('unghost', 'unghostifys player',{'noghost'},
| |
| 8090 | function(args, speaker) | |
| 8091 | local players = getPlayer(args[1], speaker) | |
| 8092 | for i,v in pairs(players)do | |
| 8093 | local pchar=gPlayers[v].Character | |
| 8094 | pchar.Head.Transparency = 0 | |
| 8095 | pchar.Torso.Transparency = 0 | |
| 8096 | pchar["Left Arm"].Transparency = 0 | |
| 8097 | pchar["Right Arm"].Transparency = 0 | |
| 8098 | pchar["Left Leg"].Transparency = 0 | |
| 8099 | pchar["Right Leg"].Transparency = 0 | |
| 8100 | pchar.Head.face.Transparency = 0 | |
| 8101 | end | |
| 8102 | end) | |
| 8103 | ||
| 8104 | addcmd('sphere', 'puts sphere around player',{},
| |
| 8105 | function(args, speaker) | |
| 8106 | local players = getPlayer(args[1], speaker) | |
| 8107 | for i,v in pairs(players)do | |
| 8108 | local pchar=gPlayers[v].Character | |
| 8109 | local SS = Instance.new("SelectionSphere", pchar)
| |
| 8110 | SS.Adornee = SS.Parent | |
| 8111 | end | |
| 8112 | end) | |
| 8113 | ||
| 8114 | addcmd('sphere', 'puts sphere around player',{},
| |
| 8115 | function(args, speaker) | |
| 8116 | local players = getPlayer(args[1], speaker) | |
| 8117 | for i,v in pairs(players)do | |
| 8118 | local pchar=gPlayers[v].Character | |
| 8119 | local SS = Instance.new("SelectionSphere", pchar)
| |
| 8120 | SS.Adornee = SS.Parent | |
| 8121 | end | |
| 8122 | end) | |
| 8123 | ||
| 8124 | addcmd('unsphere', 'removes sphere around player',{},
| |
| 8125 | function(args, speaker) | |
| 8126 | local players = getPlayer(args[1], speaker) | |
| 8127 | for i,v in pairs(players)do | |
| 8128 | local pchar=_char(v) | |
| 8129 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 8130 | if v:IsA("SelectionSphere") then
| |
| 8131 | v:Destroy() | |
| 8132 | end | |
| 8133 | end | |
| 8134 | end | |
| 8135 | end) | |
| 8136 | ||
| 8137 | addcmd('ambient','changes ambient',{},
| |
| 8138 | function(args, speaker) | |
| 8139 | LightingService.Ambient = Color3.fromRGB(args[1],args[2],args[3]) | |
| 8140 | LightingService.OutdoorAmbient = Color3.fromRGB(args[1],args[2],args[3]) | |
| 8141 | end) | |
| 8142 | ||
| 8143 | addcmd('fogend','changes the fogend',{},
| |
| 8144 | function(args, speaker) | |
| 8145 | LightingService.FogEnd = args[1] | |
| 8146 | end) | |
| 8147 | ||
| 8148 | addcmd('fogcolor','changes the fogs color',{},
| |
| 8149 | function(args, speaker) | |
| 8150 | LightingService.FogColor = Color3.fromRGB(args[1],args[2],args[3]) | |
| 8151 | end) | |
| 8152 | ||
| 8153 | injail = {}
| |
| 8154 | addcmd('jail','jails player',{},
| |
| 8155 | function(args, speaker) | |
| 8156 | local players = getPlayer(args[1], speaker) | |
| 8157 | for i,v in pairs(players)do | |
| 8158 | spawn(function() | |
| 8159 | if FindTable(injail, _players[v].Name) then return end | |
| 8160 | table.insert(injail, _players[v].Name) | |
| 8161 | local pchar=gPlayers[v].Character | |
| 8162 | local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name | |
| 8163 | repeat wait(0.5) | |
| 8164 | 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
| |
| 8165 | until not FindTable(injail, _players[v].Name) | |
| 8166 | end) | |
| 8167 | end | |
| 8168 | end) | |
| 8169 | ||
| 8170 | addcmd('unjail','unjails player',{},
| |
| 8171 | function(args, speaker) | |
| 8172 | local players = getPlayer(args[1], speaker) | |
| 8173 | for i,v in pairs(players)do | |
| 8174 | spawn(function() | |
| 8175 | for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end | |
| 8176 | workspace["JAIL_" .. _players[v].Name]:Destroy() | |
| 8177 | end) | |
| 8178 | end | |
| 8179 | end) | |
| 8180 | ||
| 8181 | loopn = {}
| |
| 8182 | addcmd('loopname','loops a players name',{'lname'},
| |
| 8183 | function(args, speaker) | |
| 8184 | local players = getPlayer(args[1], speaker) | |
| 8185 | for i,v in pairs(players)do | |
| 8186 | spawn(function() | |
| 8187 | if FindTable(loopn, _players[v].Name) then return end | |
| 8188 | table.insert(loopn, _players[v].Name) | |
| 8189 | local Lname = GLS(false, 1) | |
| 8190 | local pchar=gPlayers[v].Character | |
| 8191 | pchar.Name = Lname | |
| 8192 | if FindTable(SPC, args[1]) then Notify('Looping name for ' .. args[1] .. ' (only visible to others)') else
| |
| 8193 | Notify('Looping name for player(s) (only visible to others)') end
| |
| 8194 | repeat wait(0.01) | |
| 8195 | repeat wait() until _players[v].Character | |
| 8196 | gPlayers[v].Character.Name = Lname | |
| 8197 | until not FindTable(loopn, _players[v].Name) | |
| 8198 | end) | |
| 8199 | end | |
| 8200 | end) | |
| 8201 | ||
| 8202 | addcmd('unloopname','unjails player',{'noloopname','unlname','nolname'},
| |
| 8203 | function(args, speaker) | |
| 8204 | local players = getPlayer(args[1], speaker) | |
| 8205 | for i,v in pairs(players)do | |
| 8206 | spawn(function() | |
| 8207 | local pchar=gPlayers[v].Character | |
| 8208 | for a,b in pairs(loopn) do if b == _players[v].Name then table.remove(loopn, a) end end | |
| 8209 | wait(0.5) | |
| 8210 | if FindTable(SPC, args[1]) then Notify('Stopped looping name for ' .. args[1]) else
| |
| 8211 | Notify('Stopped looping name for player(s)') end
| |
| 8212 | pchar.Name = gPlayers[v].Name | |
| 8213 | end) | |
| 8214 | end | |
| 8215 | end) | |
| 8216 | ||
| 8217 | addcmd('loopbring','loop brings a player lol',{},
| |
| 8218 | function(args, speaker) | |
| 8219 | local players = getPlayer(args[1], speaker) | |
| 8220 | for i,v in pairs(players)do | |
| 8221 | spawn(function() | |
| 8222 | if FindTable(bringT, _players[v].Name) then return end | |
| 8223 | table.insert(bringT, _players[v].Name) | |
| 8224 | local pchar=gPlayers[v].Character | |
| 8225 | pchar.Humanoid.Jump = true | |
| 8226 | repeat wait(0.5) | |
| 8227 | pchar = _players[v].Character | |
| 8228 | for i,c in pairs(players) do | |
| 8229 | if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then
| |
| 8230 | pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0) | |
| 8231 | end | |
| 8232 | end | |
| 8233 | until not FindTable(bringT, _players[v].Name) | |
| 8234 | end) | |
| 8235 | end | |
| 8236 | end) | |
| 8237 | ||
| 8238 | addcmd('feinvisible','fe invisible',{'feinvis'},
| |
| 8239 | function(args, speaker) | |
| 8240 | -- Elite1337#9377 & Timeless#4044 | |
| 8241 | local function CheckRig() | |
| 8242 | if Player.Character then | |
| 8243 | local Humanoid = Player.Character:WaitForChild('Humanoid')
| |
| 8244 | if Humanoid.RigType == Enum.HumanoidRigType.R15 then | |
| 8245 | return 'R15' | |
| 8246 | else | |
| 8247 | return 'R6' | |
| 8248 | end | |
| 8249 | end | |
| 8250 | end | |
| 8251 | local function InitiateInvis() | |
| 8252 | local Character = Player.Character | |
| 8253 | local StoredCF = Character.PrimaryPart.CFrame | |
| 8254 | local Part = Instance.new('Part',workspace)
| |
| 8255 | Part.Size = Vector3.new(5,0,5) | |
| 8256 | Part.Anchored = true | |
| 8257 | Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999)) | |
| 8258 | Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0) | |
| 8259 | spawn(function() | |
| 8260 | wait(3) | |
| 8261 | Part:Destroy() | |
| 8262 | end) | |
| 8263 | if CheckRig() == 'R6' then | |
| 8264 | local Clone = Character.HumanoidRootPart:Clone() | |
| 8265 | Character.HumanoidRootPart:Destroy() | |
| 8266 | Clone.Parent = Character | |
| 8267 | else | |
| 8268 | local Clone = Character.LowerTorso.Root:Clone() | |
| 8269 | Character.LowerTorso.Root:Destroy() | |
| 8270 | Clone.Parent = Character.LowerTorso | |
| 8271 | end | |
| 8272 | end | |
| 8273 | InitiateInvis() | |
| 8274 | end) | |
| 8275 | ||
| 8276 | addcmd('unloopbring','unjails player',{'noloopbring'},
| |
| 8277 | function(args, speaker) | |
| 8278 | local players = getPlayer(args[1], speaker) | |
| 8279 | for i,v in pairs(players)do | |
| 8280 | spawn(function() | |
| 8281 | for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end | |
| 8282 | end) | |
| 8283 | end | |
| 8284 | end) | |
| 8285 | ||
| 8286 | strobe = false | |
| 8287 | addcmd('strobe','makes the server flash',{'flash'},
| |
| 8288 | function(args, speaker) | |
| 8289 | if strobe == false then | |
| 8290 | strobep = Instance.new("ColorCorrectionEffect")
| |
| 8291 | strobep.Brightness = 1 | |
| 8292 | strobep.Parent = LightingService | |
| 8293 | strobe = true | |
| 8294 | repeat wait(0.01) | |
| 8295 | strobep.Enabled = true | |
| 8296 | wait(0.01) | |
| 8297 | strobep.Enabled = false | |
| 8298 | until strobe == false | |
| 8299 | end | |
| 8300 | end) | |
| 8301 | ||
| 8302 | addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'},
| |
| 8303 | function(args, speaker) | |
| 8304 | strobe = false | |
| 8305 | strobep:Destroy() | |
| 8306 | end) | |
| 8307 | ||
| 8308 | addcmd('shutdown', 'shuts the server down',{},
| |
| 8309 | function(args, speaker) | |
| 8310 | Notify('Broken atm :(')
| |
| 8311 | end) | |
| 8312 | ||
| 8313 | addcmd('fekill','oof?',{},
| |
| 8314 | function(args, speaker) | |
| 8315 | local players = getPlayer(args[1], speaker) | |
| 8316 | for i,v in pairs(players)do | |
| 8317 | -- illremember's cool fe kill script | |
| 8318 | local Target = gPlayers[v].Name | |
| 8319 | game:GetService("Players").LocalPlayer.Character.Humanoid.Name = 1
| |
| 8320 | local l = game:GetService("Players").LocalPlayer.Character["1"]:Clone()
| |
| 8321 | l.Parent = game:GetService("Players").LocalPlayer.Character
| |
| 8322 | l.Name = "Humanoid" | |
| 8323 | wait(0.1) | |
| 8324 | game:GetService("Players").LocalPlayer.Character["1"]:Destroy()
| |
| 8325 | game.Workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character
| |
| 8326 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = true
| |
| 8327 | wait(0.1) | |
| 8328 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = false
| |
| 8329 | game:GetService("Players").LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
| |
| 8330 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
| 8331 | game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(v)
| |
| 8332 | v.CanBeDropped = true | |
| 8333 | end | |
| 8334 | wait(0.1) | |
| 8335 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
| |
| 8336 | wait(0.1) | |
| 8337 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
| |
| 8338 | wait(0.2) | |
| 8339 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000))
| |
| 8340 | end | |
| 8341 | end) | |
| 8342 | ||
| 8343 | addcmd('animation','makes player animate',{'anim'},
| |
| 8344 | function(args, speaker) | |
| 8345 | local players = getPlayer(args[1], speaker) | |
| 8346 | for i,v in pairs(players)do | |
| 8347 | local pchar = gPlayers[v].Character | |
| 8348 | local ID = args[2] | |
| 8349 | ||
| 8350 | if args[2] == "climb" then | |
| 8351 | ID = "180436334" | |
| 8352 | end | |
| 8353 | if args[2] == "fall" then | |
| 8354 | ID = "180436148" | |
| 8355 | end | |
| 8356 | if args[2] == "jump" then | |
| 8357 | ID = "125750702" | |
| 8358 | end | |
| 8359 | if args[2] == "sit" then | |
| 8360 | ID = "178130996" | |
| 8361 | end | |
| 8362 | for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do | |
| 8363 | if x:IsA("StringValue") then
| |
| 8364 | for _,c in pairs(x:GetChildren()) do | |
| 8365 | if c:IsA("Animation") then
| |
| 8366 | c.AnimationId = "rbxassetid://" .. ID | |
| 8367 | end | |
| 8368 | end | |
| 8369 | end | |
| 8370 | end | |
| 8371 | end | |
| 8372 | end) | |
| 8373 | ||
| 8374 | addcmd('creeper','make the player a creeper',{'crpr'},
| |
| 8375 | function(args, speaker) | |
| 8376 | local players = getPlayer(args[1], speaker) | |
| 8377 | for i,v in pairs(players)do | |
| 8378 | local pchar = gPlayers[v].Character | |
| 8379 | if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
| |
| 8380 | if pchar:FindFirstChild("Shirt") then
| |
| 8381 | pchar.Shirt.Parent = pchar.Torso | |
| 8382 | end | |
| 8383 | if pchar:FindFirstChild("Pants") then
| |
| 8384 | pchar.Pants.Parent = pchar.Torso | |
| 8385 | end | |
| 8386 | if pchar:FindFirstChild("Shirt Graphic") then
| |
| 8387 | pchar["Shirt Graphic"].Graphic = "" | |
| 8388 | end | |
| 8389 | for i,v in pairs(pchar:GetChildren()) do | |
| 8390 | if v:IsA("Accessory") then
| |
| 8391 | v:Destroy() | |
| 8392 | end | |
| 8393 | end | |
| 8394 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
| 8395 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0) | |
| 8396 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0) | |
| 8397 | pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0) | |
| 8398 | pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0) | |
| 8399 | pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
| |
| 8400 | - | local AnimationId = tostring(args[2]) |
| 8400 | + | |
| 8401 | - | local Anim = Instance.new("Animation")
|
| 8401 | + | |
| 8402 | - | Anim.AnimationId = "rbxassetid://"..AnimationId |
| 8402 | + | |
| 8403 | - | local k = pchar.Humanoid:LoadAnimation(Anim) |
| 8403 | + | |
| 8404 | - | k:Play() |
| 8404 | + | |
| 8405 | end | |
| 8406 | end | |
| 8407 | end) | |
| 8408 | ||
| 8409 | addcmd('uncreeper','makes player back to normal',{},
| |
| 8410 | function(args, speaker) | |
| 8411 | local players = getPlayer(args[1], speaker) | |
| 8412 | for i,v in pairs(players)do | |
| 8413 | refresh(gPlayers[v]) | |
| 8414 | end | |
| 8415 | end) | |
| 8416 | ||
| 8417 | addcmd('crash','crashes a player',{},
| |
| 8418 | function(args, speaker) | |
| 8419 | local players = getPlayer(args[1], speaker) | |
| 8420 | for i,v in pairs(players)do | |
| 8421 | if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
| |
| 8422 | if FindTable(SPC, args[1]) then Notify('Crashed ' .. args[1]) else
| |
| 8423 | Notify('Crashed player(s)') end
| |
| 8424 | wait(4) | |
| 8425 | if gPlayers[v] ~= nil then | |
| 8426 | for i=1,3600 do | |
| 8427 | Instance.new("Tool",gPlayers[v].Backpack).Name = "-"
| |
| 8428 | end | |
| 8429 | wait() | |
| 8430 | for i=1,3600 do | |
| 8431 | Instance.new("Tool",gPlayers[v].Backpack).Name = "-"
| |
| 8432 | end | |
| 8433 | wait() | |
| 8434 | end | |
| 8435 | end | |
| 8436 | end | |
| 8437 | end) | |
| 8438 | ||
| 8439 | addcmd('shrek', 'makes player shrek',{},
| |
| 8440 | function(args, speaker) | |
| 8441 | local players = getPlayer(args[1], speaker) | |
| 8442 | for i,v in pairs(players) do | |
| 8443 | local pchar = gPlayers[v].Character | |
| 8444 | for i,v in pairs(pchar:GetChildren()) do | |
| 8445 | if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants")
| |
| 8446 | then | |
| 8447 | v:Destroy() | |
| 8448 | end | |
| 8449 | end | |
| 8450 | for i,v in pairs(pchar.Head:GetChildren()) do | |
| 8451 | if v:IsA("Decal") or v:IsA("SpecialMesh") then
| |
| 8452 | v:Destroy() | |
| 8453 | end | |
| 8454 | end | |
| 8455 | ||
| 8456 | local mesh = Instance.new("SpecialMesh", pchar.Head)
| |
| 8457 | mesh.MeshType = "FileMesh" | |
| 8458 | pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257" | |
| 8459 | pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0) | |
| 8460 | pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869" | |
| 8461 | ||
| 8462 | local Shirt = Instance.new("Shirt", gPlayers[v].Character)
| |
| 8463 | local Pants = Instance.new("Pants", gPlayers[v].Character)
| |
| 8464 | ||
| 8465 | Shirt.ShirtTemplate = "rbxassetid://133078194" | |
| 8466 | Pants.PantsTemplate = "rbxassetid://133078204" | |
| 8467 | end | |
| 8468 | end) | |
| 8469 | ||
| 8470 | addcmd('unshrek','makes player back to normal',{},
| |
| 8471 | function(args, speaker) | |
| 8472 | local players = getPlayer(args[1], speaker) | |
| 8473 | for i,v in pairs(players)do | |
| 8474 | refresh(gPlayers[v]) | |
| 8475 | end | |
| 8476 | end) | |
| 8477 | ||
| 8478 | addcmd('oof','good things happen',{},
| |
| 8479 | function(args, speaker) | |
| 8480 | local players = getPlayer(args[1], speaker) | |
| 8481 | for i,v in pairs(players)do | |
| 8482 | spawn(function() | |
| 8483 | 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
| |
| 8484 | gPlayers[v].Character.Head.Died.Volume = 10 | |
| 8485 | gPlayers[v].Character.Head.Died.Pitch = 0.5 | |
| 8486 | end | |
| 8487 | execCmd("size " .. gPlayers[v].Name .. ' -1')
| |
| 8488 | execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000')
| |
| 8489 | wait(5) | |
| 8490 | execCmd("explode " .. gPlayers[v].Name)
| |
| 8491 | wait(0.1) | |
| 8492 | gPlayers[v].Character.Humanoid.Health = 0 | |
| 8493 | end) | |
| 8494 | end | |
| 8495 | end) | |
| 8496 | ||
| 8497 | addcmd('control','controls player',{},
| |
| 8498 | function(args, speaker) | |
| 8499 | local players = getPlayer(args[1], speaker) | |
| 8500 | for i,v in pairs(players)do | |
| 8501 | spawn(function() | |
| 8502 | local pchar = gPlayers[v].Character | |
| 8503 | if gPlayers[v] and pchar then | |
| 8504 | execCmd("invisible " .. speaker.Name)
| |
| 8505 | pchar.Humanoid.PlatformStand = true | |
| 8506 | local w = Instance.new("Weld", speaker.Character.Torso)
| |
| 8507 | w.Part0 = speaker.Character.Torso | |
| 8508 | w.Part1 = pchar.Torso | |
| 8509 | local w2 = Instance.new("Weld", speaker.Character.Head)
| |
| 8510 | w2.Part0 = speaker.Character.Head | |
| 8511 | w2.Part1 = pchar.Head | |
| 8512 | local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm"))
| |
| 8513 | w3.Part0 = speaker.Character:findFirstChild("Right Arm")
| |
| 8514 | w3.Part1 = pchar:findFirstChild("Right Arm")
| |
| 8515 | local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm"))
| |
| 8516 | w4.Part0 = speaker.Character:findFirstChild("Left Arm")
| |
| 8517 | w4.Part1 = pchar:findFirstChild("Left Arm")
| |
| 8518 | local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg"))
| |
| 8519 | w5.Part0 = speaker.Character:findFirstChild("Right Leg")
| |
| 8520 | w5.Part1 = pchar:findFirstChild("Right Leg")
| |
| 8521 | local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg"))
| |
| 8522 | w6.Part0 = speaker.Character:findFirstChild("Left Leg")
| |
| 8523 | w6.Part1 = pchar:findFirstChild("Left Leg")
| |
| 8524 | char.Head.face:Destroy() | |
| 8525 | for i,v in pairs(pchar:GetChildren()) do | |
| 8526 | if v:IsA("BasePart") then
| |
| 8527 | v.CanCollide = false | |
| 8528 | end | |
| 8529 | end | |
| 8530 | for i,v in pairs(char:GetChildren()) do | |
| 8531 | if v:IsA("BasePart") then
| |
| 8532 | v.Transparency = 1 | |
| 8533 | elseif v:IsA("Accessory") then
| |
| 8534 | v:Destroy() | |
| 8535 | end | |
| 8536 | end | |
| 8537 | pchar.Parent = char | |
| 8538 | pchar.Humanoid.Changed:connect(function() | |
| 8539 | pchar.Humanoid.PlatformStand = true | |
| 8540 | end) | |
| 8541 | end | |
| 8542 | end) | |
| 8543 | end | |
| 8544 | end) | |
| 8545 | ||
| 8546 | addcmd('nuke','nukes player',{}, -- from MML
| |
| 8547 | function(args, speaker) | |
| 8548 | local players = getPlayer(args[1], speaker) | |
| 8549 | for i,v in pairs(players)do | |
| 8550 | spawn(function() | |
| 8551 | local pchar = gPlayers[v].Character | |
| 8552 | local Pos = CFrame.new(0,1,0) | |
| 8553 | if pchar and pchar:FindFirstChild("HumanoidRootPart") then Pos = pchar.HumanoidRootPart.CFrame * CFrame.new(0,1,0) end
| |
| 8554 | 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
| |
| 8555 | local BlastMesh = Instance.new("SpecialMesh", Blast) BlastMesh.MeshId = "rbxassetid://1290033" BlastMesh.TextureId = "rbxassetid://33145325" BlastMesh.Scale = Vector3.new(0,0,0)
| |
| 8556 | 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)
| |
| 8557 | local WaveMesh = Instance.new("SpecialMesh", Wave) WaveMesh.MeshId = "rbxassetid://3270017"
| |
| 8558 | local Light = Instance.new("PointLight", Blast) Light.Brightness = 1000 Light.Range = 10000 Light.Color = Color3.new(1,0.2,0.2)
| |
| 8559 | ||
| 8560 | 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)
| |
| 8561 | ||
| 8562 | gLighting.Brightness = 5 | |
| 8563 | gLighting.Ambient = Color3.new(1,0.5,0.5) | |
| 8564 | gLighting.OutdoorAmbient = Color3.new(1,1,1) | |
| 8565 | ||
| 8566 | local Exp = Instance.new("Explosion", workspace)
| |
| 8567 | Exp.Position = Pos.p | |
| 8568 | Exp.BlastPressure = 10000000 | |
| 8569 | Exp.BlastRadius = 1000000 | |
| 8570 | Exp.Hit:connect(function(Part) | |
| 8571 | if Part.Name ~= "Base" and Part.Name ~= "BasePlate" and Part ~= Blast and Part ~= Wave and Part.Name ~= "BlastEx" and Part.Name ~= "WaveEx" then | |
| 8572 | ypcall(function() | |
| 8573 | Part.Anchored = false | |
| 8574 | Part.BrickColor = BrickColor.new("Black")
| |
| 8575 | Part.Material = "Slate" | |
| 8576 | Part:BreakJoints() | |
| 8577 | end) | |
| 8578 | end | |
| 8579 | end) | |
| 8580 | ||
| 8581 | local BoomSound = Instance.new('Sound') BoomSound.Parent = workspace
| |
| 8582 | BoomSound.SoundId = 'rbxassetid://212389494' | |
| 8583 | BoomSound:Play() | |
| 8584 | for i = 0,100,0.5 do | |
| 8585 | Blast.Anchored = true | |
| 8586 | Wave.Anchored = true | |
| 8587 | BlastMesh.Scale = Vector3.new(i,i,i) | |
| 8588 | WaveMesh.Scale = Vector3.new(i^1.3,i^1.3,5) | |
| 8589 | Blast.CFrame = Pos | |
| 8590 | wait() | |
| 8591 | end | |
| 8592 | BoomSound:Stop() | |
| 8593 | Blast:Destroy() | |
| 8594 | Wave:Destroy() | |
| 8595 | wait() | |
| 8596 | BoomSound:Destroy() | |
| 8597 | Effect:Destroy() | |
| 8598 | for i = 10,5,-1 do | |
| 8599 | gLighting.Brightness = (i-5) + 1 | |
| 8600 | gLighting.Ambient = Color3.new(i/10,0.5,0.5) | |
| 8601 | gLighting.OutdoorAmbient = Color3.new(i/10,i/10,i/10) | |
| 8602 | wait(0.05) | |
| 8603 | end | |
| 8604 | end) | |
| 8605 | end | |
| 8606 | end) | |
| 8607 | ||
| 8608 | addcmd('dong','gives a player a penis',{'penis'},
| |
| 8609 | function(args, speaker) | |
| 8610 | local players = getPlayer(args[1], speaker) | |
| 8611 | for i,v in pairs(players)do | |
| 8612 | spawn(function() | |
| 8613 | if gPlayers[v].Character:FindFirstChild('wang') then
| |
| 8614 | gPlayers[v].Character.wang:destroy() | |
| 8615 | end | |
| 8616 | local D = Instance.new('Model', gPlayers[v].Character)
| |
| 8617 | D.Name = 'DONG' | |
| 8618 | local BG = Instance.new('BodyGyro', gPlayers[v].Character.Torso)
| |
| 8619 | local MAIN = Instance.new('Part', gPlayers[v].Character['DONG'])
| |
| 8620 | local M1 = Instance.new('CylinderMesh', MAIN)
| |
| 8621 | local W1 = Instance.new('Weld', gPlayers[v].Character.Head)
| |
| 8622 | local P1 = Instance.new('Part', gPlayers[v].Character['DONG'])
| |
| 8623 | local M2 = Instance.new('SpecialMesh', P1)
| |
| 8624 | local W2 = Instance.new('Weld', P1)
| |
| 8625 | local B1 = Instance.new('Part', gPlayers[v].Character['DONG'])
| |
| 8626 | local M3 = Instance.new('SpecialMesh', B1)
| |
| 8627 | local W3 = Instance.new('Weld', B1)
| |
| 8628 | local B2 = Instance.new('Part', gPlayers[v].Character['DONG'])
| |
| 8629 | local M4 = Instance.new('SpecialMesh', B2)
| |
| 8630 | local W4 = Instance.new('Weld', B2)
| |
| 8631 | 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
| |
| 8632 | 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) | |
| 8633 | 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
| |
| 8634 | M2.MeshType = 'Sphere' | |
| 8635 | W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0) | |
| 8636 | 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')
| |
| 8637 | M3.Parent = B1 M3.MeshType = 'Sphere' | |
| 8638 | W3.Part0 = gPlayers[v].Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5) | |
| 8639 | 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')
| |
| 8640 | M4.MeshType = 'Sphere' | |
| 8641 | W4.Part0 = gPlayers[v].Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5) | |
| 8642 | end) | |
| 8643 | end | |
| 8644 | end) | |
| 8645 | ||
| 8646 | addcmd('undong','gives a player a penis',{'unpenis','nopenis','nodong'},
| |
| 8647 | function(args, speaker) | |
| 8648 | local players = getPlayer(args[1], speaker) | |
| 8649 | for i,v in pairs(players)do | |
| 8650 | if gPlayers[v].Character:FindFirstChild('DONG') then
| |
| 8651 | gPlayers[v].Character.DONG:destroy() | |
| 8652 | end end | |
| 8653 | end) | |
| 8654 | ||
| 8655 | addcmd('infect','infects player',{},
| |
| 8656 | function(args, speaker) | |
| 8657 | local players = getPlayer(args[1], speaker) | |
| 8658 | for i,v in pairs(players)do | |
| 8659 | function infect(rip) | |
| 8660 | local pchar = gPlayers[v].Character | |
| 8661 | for i,v in pairs(pchar:GetChildren()) do | |
| 8662 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
| |
| 8663 | v:Destroy() | |
| 8664 | end | |
| 8665 | end | |
| 8666 | if pchar.Torso:FindFirstChild("roblox") then
| |
| 8667 | pchar.Torso.roblox:Destroy() | |
| 8668 | end | |
| 8669 | if pchar.Head:FindFirstChild("face") then
| |
| 8670 | pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491" | |
| 8671 | end | |
| 8672 | if pchar:FindFirstChild("Body Colors") then
| |
| 8673 | local Colors = pchar["Body Colors"] | |
| 8674 | local Skin = BrickColor.new("Pastel green")
| |
| 8675 | local Clothes = BrickColor.new("Reddish brown")
| |
| 8676 | Colors.HeadColor = Skin | |
| 8677 | Colors.LeftArmColor = Skin | |
| 8678 | Colors.RightArmColor = Skin | |
| 8679 | Colors.LeftLegColor = Clothes | |
| 8680 | Colors.RightLegColor = Clothes | |
| 8681 | Colors.TorsoColor = Clothes | |
| 8682 | end | |
| 8683 | local w1 = Instance.new("Weld", pchar)
| |
| 8684 | w1.Part0 = pchar["Right Arm"] | |
| 8685 | w1.Part1 = pchar.Torso | |
| 8686 | w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
| 8687 | local w2 = Instance.new("Weld", pchar)
| |
| 8688 | w2.Part0 = pchar["Left Arm"] | |
| 8689 | w2.Part1 = pchar.Torso | |
| 8690 | w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
| 8691 | local rip = false | |
| 8692 | local connect1 = pchar["Left Arm"].Touched:connect(function(hit) | |
| 8693 | if connect1 == false then | |
| 8694 | connect1 = true | |
| 8695 | if gPlayers:FindFirstChild(hit.Parent.Name) then | |
| 8696 | infect(gPlayers[hit.Parent.Name]) | |
| 8697 | end | |
| 8698 | wait(0.5) | |
| 8699 | connect1 = true | |
| 8700 | end | |
| 8701 | end) | |
| 8702 | local connect2 = pchar["Right Arm"].Touched:connect(function(hit) | |
| 8703 | if connect2 == false then | |
| 8704 | connect2 = true | |
| 8705 | if gPlayers:FindFirstChild(hit.Parent.Name) then | |
| 8706 | infect(gPlayers[hit.Parent.Name]) | |
| 8707 | end | |
| 8708 | wait(0.5) | |
| 8709 | connect2 = true | |
| 8710 | end | |
| 8711 | end) | |
| 8712 | local IV = Instance.new("IntValue", pchar)
| |
| 8713 | IV.Name = "Infected" | |
| 8714 | IV.Value = 0 | |
| 8715 | IV.Changed:connect(function() | |
| 8716 | connect1:disconnect() | |
| 8717 | connect2:disconnect() | |
| 8718 | end) | |
| 8719 | end | |
| 8720 | infect(v) | |
| 8721 | end | |
| 8722 | end) | |
| 8723 | ||
| 8724 | addcmd('uninfect','makes player back to normal',{},
| |
| 8725 | function(args, speaker) | |
| 8726 | local players = getPlayer(args[1], speaker) | |
| 8727 | for i,v in pairs(players)do | |
| 8728 | refresh(gPlayers[v]) | |
| 8729 | end | |
| 8730 | end) | |
| 8731 | ||
| 8732 | addcmd('duck','makes players head a duck',{},
| |
| 8733 | function(args, speaker) | |
| 8734 | local players = getPlayer(args[1], speaker) | |
| 8735 | for i,v in pairs(players)do | |
| 8736 | local pchar = gPlayers[v].Character | |
| 8737 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 8738 | if v:IsA("Decal") then
| |
| 8739 | v:Destroy() | |
| 8740 | end | |
| 8741 | end | |
| 8742 | for i,v in pairs(pchar:GetChildren()) do | |
| 8743 | if v:IsA("Accessory") then
| |
| 8744 | v:Destroy() | |
| 8745 | end | |
| 8746 | end | |
| 8747 | local duck = Instance.new("SpecialMesh", pchar.Torso)
| |
| 8748 | duck.MeshType = "FileMesh" | |
| 8749 | duck.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
| 8750 | duck.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
| 8751 | duck.Scale = Vector3.new(5, 5, 5) | |
| 8752 | pchar.Head.Transparency = 1 | |
| 8753 | pchar["Left Arm"].Transparency = 1 | |
| 8754 | pchar["Right Arm"].Transparency = 1 | |
| 8755 | pchar["Left Leg"].Transparency = 1 | |
| 8756 | pchar["Right Leg"].Transparency = 1 | |
| 8757 | pchar.Head.face.Transparency = 1 | |
| 8758 | end | |
| 8759 | end) | |
| 8760 | ||
| 8761 | addcmd('mage', 'mage',{},
| |
| 8762 | function(args, speaker) | |
| 8763 | if speaker.userId ~= LP.userId then | |
| 8764 | lponly(speaker) else | |
| 8765 | if not LP.PlayerGui:FindFirstChild('ChangeArc') then
| |
| 8766 | local arcPackage = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01337781430")
| |
| 8767 | local fakeLighting = arcPackage.Lighting | |
| 8768 | ||
| 8769 | local oldgame = game | |
| 8770 | local oldlighting = oldgame:GetService("Lighting")
| |
| 8771 | ||
| 8772 | local proLighting = newproxy(true) | |
| 8773 | local mtL = getmetatable(proLighting) | |
| 8774 | mtL.__index = function(self,ind) | |
| 8775 | if fakeLighting:FindFirstChild(ind) then return fakeLighting[ind] end | |
| 8776 | return oldlighting[ind] | |
| 8777 | end | |
| 8778 | mtL.__newindex = function(self,ind,val) | |
| 8779 | oldlighting[ind] = val | |
| 8780 | end | |
| 8781 | mtL.__namecall = function(self,...) | |
| 8782 | local args = {...}
| |
| 8783 | local method = table.remove(args) | |
| 8784 | return oldlighting(method,unpack(args)) | |
| 8785 | end | |
| 8786 | ||
| 8787 | local proGame = newproxy(true) | |
| 8788 | local mt = getmetatable(proGame) | |
| 8789 | mt.__index = function(self,ind) | |
| 8790 | if ind == "Lighting" then return proLighting end | |
| 8791 | return oldgame[ind] | |
| 8792 | end | |
| 8793 | mt.__namecall = function(self,...) | |
| 8794 | local args = {...}
| |
| 8795 | local method = table.remove(args) | |
| 8796 | if method:lower() == "getservice" and args[1] == "Lighting" then return fakeLighting end | |
| 8797 | return oldgame(method,unpack(args)) | |
| 8798 | end | |
| 8799 | ||
| 8800 | wait() | |
| 8801 | local destructAnchored = false | |
| 8802 | local maxMass = 1000 | |
| 8803 | ||
| 8804 | function newCESS(scr) | |
| 8805 | local newFunc = loadstring(scr.Source) | |
| 8806 | if type(newFunc) ~= "function" then return end | |
| 8807 | setfenv(newFunc,setmetatable({script = scr},{
| |
| 8808 | __index = function(self,ind) | |
| 8809 | if ind == "game" then return proGame end | |
| 8810 | return getfenv()[ind] | |
| 8811 | end, | |
| 8812 | __newindex = function(self,ind,val) | |
| 8813 | rawset(self,ind,val) | |
| 8814 | end | |
| 8815 | })) | |
| 8816 | pcall(function()spawn(newFunc)end) | |
| 8817 | end | |
| 8818 | ||
| 8819 | gPlayers.LocalPlayer.Character.Humanoid.MaxHealth = 999999999 | |
| 8820 | gPlayers.LocalPlayer.Character.Humanoid.Health = 999999999 | |
| 8821 | ||
| 8822 | function destroyHook(obj,replacement,par) | |
| 8823 | obj:GetPropertyChangedSignal("Parent"):Connect(function()
| |
| 8824 | local newObj = replacement:Clone() | |
| 8825 | if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end
| |
| 8826 | newObj.Parent = par | |
| 8827 | destroyHook(newObj,replacement,par) | |
| 8828 | end) | |
| 8829 | end | |
| 8830 | ||
| 8831 | for i,v in pairs(arcPackage.PlayerGui:GetChildren()) do | |
| 8832 | local newObj = v:Clone() | |
| 8833 | if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end
| |
| 8834 | newObj.Parent = gPlayers.LocalPlayer.PlayerGui | |
| 8835 | destroyHook(newObj,v,gPlayers.LocalPlayer.PlayerGui) | |
| 8836 | end | |
| 8837 | ||
| 8838 | function replaceScripts(root) | |
| 8839 | for i,v in pairs(root:GetChildren()) do | |
| 8840 | if v:IsA("Script") and not v:IsA("LocalScript") then
| |
| 8841 | local tempStore = {}
| |
| 8842 | for i2,v2 in pairs(v:GetChildren()) do | |
| 8843 | table.insert(tempStore,v2:Clone()) | |
| 8844 | end | |
| 8845 | local newScript = Instance.new("LocalScript",v.Parent)
| |
| 8846 | newScript.Name = v.Name | |
| 8847 | for i2,v2 in pairs(tempStore) do | |
| 8848 | v2.Parent = newScript | |
| 8849 | end | |
| 8850 | v:Destroy() | |
| 8851 | end | |
| 8852 | replaceScripts(v) | |
| 8853 | end | |
| 8854 | end | |
| 8855 | ||
| 8856 | local player = gPlayers.LocalPlayer | |
| 8857 | ||
| 8858 | if not gPlayers.LocalPlayer:FindFirstChild("leaderstats1") then
| |
| 8859 | gPlayers.LocalPlayer.PlayerGui.leaderstats1.Parent = gPlayers.LocalPlayer | |
| 8860 | end | |
| 8861 | ||
| 8862 | if not game.ReplicatedStorage:FindFirstChild("RankScript") then
| |
| 8863 | gPlayers.LocalPlayer.PlayerGui.RankScript.Parent = game.ReplicatedStorage | |
| 8864 | end | |
| 8865 | ||
| 8866 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Element") then | |
| 8867 | local eTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Element | |
| 8868 | eTemplate.Name = gPlayers.LocalPlayer.Name.."Element" | |
| 8869 | eTemplate.Parent = game.ReplicatedStorage | |
| 8870 | end | |
| 8871 | ||
| 8872 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."FakeName") then | |
| 8873 | local fTemplate = gPlayers.LocalPlayer.PlayerGui.Player1FakeName | |
| 8874 | fTemplate.Name = gPlayers.LocalPlayer.Name.."FakeName" | |
| 8875 | fTemplate.Parent = game.ReplicatedStorage | |
| 8876 | end | |
| 8877 | ||
| 8878 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Level") then | |
| 8879 | local lTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Level | |
| 8880 | lTemplate.Name = gPlayers.LocalPlayer.Name.."Level" | |
| 8881 | lTemplate.Parent = game.ReplicatedStorage | |
| 8882 | end | |
| 8883 | ||
| 8884 | if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Membership") then | |
| 8885 | local mTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Membership | |
| 8886 | mTemplate.Name = gPlayers.LocalPlayer.Name.."Membership" | |
| 8887 | mTemplate.Parent = game.ReplicatedStorage | |
| 8888 | end | |
| 8889 | ||
| 8890 | function getMyPlayerArea() | |
| 8891 | for i,v in pairs(game.Workspace.BuildingAreas:GetChildren()) do | |
| 8892 | if v.Player.Value == player.Name then | |
| 8893 | return v.PlayerArea | |
| 8894 | end | |
| 8895 | end | |
| 8896 | end | |
| 8897 | ||
| 8898 | local whitelistedParts = {
| |
| 8899 | ["DamagePart"] = true, | |
| 8900 | ["Explosion"] = true, | |
| 8901 | ["Explosion2"] = true, | |
| 8902 | ["SuperExplosion"] = true, | |
| 8903 | } | |
| 8904 | ||
| 8905 | workspace.DescendantAdded:connect(function(desc) | |
| 8906 | if desc:IsA("Script") and desc:IsDescendantOf(gPlayers.LocalPlayer.Character) then
| |
| 8907 | newCESS(desc) | |
| 8908 | elseif whitelistedParts[desc.Parent.Name] and desc:IsA("Script") then
| |
| 8909 | newCESS(desc) | |
| 8910 | elseif desc:IsA("BodyGyro") then
| |
| 8911 | desc:GetPropertyChangedSignal("MaxTorque"):Connect(function()
| |
| 8912 | desc.MaxTorque = Vector3.new(100000,100000,100000) | |
| 8913 | end) | |
| 8914 | --elseif desc:IsA("BodyPosition") then
| |
| 8915 | -- desc:GetPropertyChangedSignal("MaxForce"):Connect(function()
| |
| 8916 | -- desc.MaxForce = Vector3.new(10000,10000,10000) | |
| 8917 | -- end) | |
| 8918 | end | |
| 8919 | end) | |
| 8920 | ||
| 8921 | player.Character.Humanoid.MaxHealth = (100+(player.leaderstats1.Level.Value*25)) | |
| 8922 | player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth | |
| 8923 | player.PlayerGui.HealthGui.MaxMana.Value = (150+(player.leaderstats1.Level.Value*25)) | |
| 8924 | player.PlayerGui.HealthGui.MaxXP.Value = (player.leaderstats1.Level.Value*50) | |
| 8925 | player.PlayerGui.HealthGui.Mana.Value = player.PlayerGui.HealthGui.MaxMana.Value | |
| 8926 | ||
| 8927 | wait(1) | |
| 8928 | ||
| 8929 | local player = gPlayers.LocalPlayer | |
| 8930 | ||
| 8931 | local arcList = player.PlayerGui.ChangeArc.Stuff.ScrollingFrame | |
| 8932 | local arcTemplate = player.PlayerGui.ChangeArc.Stuff.ChangeTemplate | |
| 8933 | ||
| 8934 | local arcToggler = player.PlayerGui.ChangeArc.ArcToggler.Toggle | |
| 8935 | local arcMoves = player.PlayerGui.ChangeArc.ArcMoves | |
| 8936 | local arcMovesList = arcMoves.ScrollingFrame | |
| 8937 | local moveTemplate = player.PlayerGui.ChangeArc.MoveTemplate | |
| 8938 | ||
| 8939 | local arcs = {}
| |
| 8940 | ||
| 8941 | local currentArc = "" | |
| 8942 | ||
| 8943 | function getMove(root) | |
| 8944 | for i,v in pairs(root:GetChildren()) do | |
| 8945 | if v.Name ~= "Requirement" then | |
| 8946 | return v | |
| 8947 | end | |
| 8948 | end | |
| 8949 | return nil | |
| 8950 | end | |
| 8951 | ||
| 8952 | for i,v in pairs(fakeLighting.SkillFrames:GetChildren()) do | |
| 8953 | table.insert(arcs,v) | |
| 8954 | end | |
| 8955 | ||
| 8956 | for i,v in pairs(fakeLighting.Customs:GetChildren()) do | |
| 8957 | table.insert(arcs,v) | |
| 8958 | end | |
| 8959 | ||
| 8960 | for i,v in pairs(arcs) do | |
| 8961 | local newTemplate = arcTemplate:Clone() | |
| 8962 | newTemplate.ArcName.Text = v.Name | |
| 8963 | newTemplate.Change.MouseButton1Down:connect(function() | |
| 8964 | currentArc = v.Name | |
| 8965 | arcToggler.Parent.Visible = true | |
| 8966 | if fakeLighting.SkillFrames:FindFirstChild(currentArc) then | |
| 8967 | arcMovesList:ClearAllChildren() | |
| 8968 | arcToggler.Text = currentArc | |
| 8969 | arcMoves.Title.Text = currentArc .. " Arc" | |
| 8970 | for i5,v5 in pairs(fakeLighting.SkillFrames:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do | |
| 8971 | local myMove = getMove(v5.Learn) | |
| 8972 | if myMove ~= nil then | |
| 8973 | local newTemplate = moveTemplate:Clone() | |
| 8974 | newTemplate.Attack.Text = v5.Name | |
| 8975 | newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
| 8976 | newTemplate.Parent = arcMovesList | |
| 8977 | arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
| 8978 | newTemplate.Learn.MouseButton1Down:connect(function() | |
| 8979 | local learnMove = myMove:Clone() | |
| 8980 | learnMove.Parent = player.Backpack | |
| 8981 | if learnMove:IsA("LocalScript") then
| |
| 8982 | learnMove.Disabled = false | |
| 8983 | newTemplate.Learn.Text = "Activated" | |
| 8984 | newCESS(learnMove) | |
| 8985 | else | |
| 8986 | newTemplate.Learn.Text = "Learned" | |
| 8987 | newCESS(learnMove.LocalScript) | |
| 8988 | end | |
| 8989 | wait(5) | |
| 8990 | newTemplate.Learn.Text = "Learn" | |
| 8991 | end) | |
| 8992 | newTemplate.Visible = true | |
| 8993 | end | |
| 8994 | end | |
| 8995 | end | |
| 8996 | if fakeLighting.Customs:FindFirstChild(currentArc) then | |
| 8997 | arcMovesList:ClearAllChildren() | |
| 8998 | arcToggler.Text = currentArc | |
| 8999 | arcMoves.Title.Text = currentArc .. " Arc" | |
| 9000 | for i,v in pairs(fakeLighting.Customs:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do | |
| 9001 | local myMove = getMove(v.Learn) | |
| 9002 | if myMove ~= nil then | |
| 9003 | local newTemplate = moveTemplate:Clone() | |
| 9004 | newTemplate.Attack.Text = v.Name | |
| 9005 | newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
| 9006 | newTemplate.Parent = arcMovesList | |
| 9007 | arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5) | |
| 9008 | newTemplate.Learn.MouseButton1Down:connect(function() | |
| 9009 | local learnMove = myMove:Clone() | |
| 9010 | learnMove.Parent = player.Backpack | |
| 9011 | if learnMove:IsA("LocalScript") then
| |
| 9012 | learnMove.Disabled = false | |
| 9013 | newTemplate.Learn.Text = "Activated" | |
| 9014 | newCESS(learnMove) | |
| 9015 | else | |
| 9016 | newTemplate.Learn.Text = "Learned" | |
| 9017 | newCESS(learnMove.LocalScript) | |
| 9018 | end | |
| 9019 | wait(5) | |
| 9020 | newTemplate.Learn.Text = "Learn" | |
| 9021 | end) | |
| 9022 | newTemplate.Visible = true | |
| 9023 | end | |
| 9024 | end | |
| 9025 | end | |
| 9026 | end) | |
| 9027 | newTemplate.Position = UDim2.new(0,0,0,#arcList:GetChildren()*47+5) | |
| 9028 | newTemplate.Visible = true | |
| 9029 | newTemplate.Parent = arcList | |
| 9030 | arcList.CanvasSize = UDim2.new(0,0,0,#arcList:GetChildren()*47+5) | |
| 9031 | end | |
| 9032 | ||
| 9033 | Open = false | |
| 9034 | MouseClick = function() | |
| 9035 | if Open == false then | |
| 9036 | Open = true | |
| 9037 | player.PlayerGui.ChangeArc.Stuff.Visible = true | |
| 9038 | else | |
| 9039 | if Open == true then | |
| 9040 | Open = false | |
| 9041 | player.PlayerGui.ChangeArc.Stuff.Visible = false | |
| 9042 | end | |
| 9043 | end | |
| 9044 | end | |
| 9045 | ||
| 9046 | player.PlayerGui.ChangeArc.Frame.Toggle.MouseButton1Down:connect(MouseClick) | |
| 9047 | ||
| 9048 | Open2 = false | |
| 9049 | MouseClick2 = function() | |
| 9050 | if Open2 == false then | |
| 9051 | Open2 = true | |
| 9052 | arcMoves.Visible = true | |
| 9053 | else | |
| 9054 | if Open2 == true then | |
| 9055 | Open2 = false | |
| 9056 | arcMoves.Visible = false | |
| 9057 | end | |
| 9058 | end | |
| 9059 | end | |
| 9060 | ||
| 9061 | arcToggler.MouseButton1Down:connect(MouseClick2) | |
| 9062 | ||
| 9063 | newCESS(player.PlayerGui.ArcMusicPlayer["Music Player Module"]) | |
| 9064 | ||
| 9065 | for i,v in pairs(player.PlayerGui.HealthGui:GetDescendants()) do | |
| 9066 | if v:IsA("Script") then
| |
| 9067 | newCESS(v) | |
| 9068 | end | |
| 9069 | end | |
| 9070 | end | |
| 9071 | end | |
| 9072 | end) | |
| 9073 | ||
| 9074 | addcmd('unduck','makes player back to normal',{},
| |
| 9075 | function(args, speaker) | |
| 9076 | local players = getPlayer(args[1], speaker) | |
| 9077 | for i,v in pairs(players)do | |
| 9078 | refresh(gPlayers[v]) | |
| 9079 | end | |
| 9080 | end) | |
| 9081 | ||
| 9082 | addcmd('mesh','makes a player into a mesh',{},
| |
| 9083 | function(args, speaker) | |
| 9084 | local players = getPlayer(args[1], speaker) | |
| 9085 | for i,v in pairs(players)do | |
| 9086 | local pchar = gPlayers[v].Character | |
| 9087 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 9088 | if v:IsA("Decal") then
| |
| 9089 | v:Destroy() | |
| 9090 | end | |
| 9091 | end | |
| 9092 | for i,v in pairs(pchar:GetChildren()) do | |
| 9093 | if v:IsA("Accessory") then
| |
| 9094 | v:Destroy() | |
| 9095 | end | |
| 9096 | end | |
| 9097 | pchar.Head.Transparency = 1 | |
| 9098 | pchar["Left Arm"].Transparency = 1 | |
| 9099 | pchar["Right Arm"].Transparency = 1 | |
| 9100 | pchar["Left Leg"].Transparency = 1 | |
| 9101 | pchar["Right Leg"].Transparency = 1 | |
| 9102 | pchar.Head.face.Transparency = 1 | |
| 9103 | local msh = Instance.new("SpecialMesh", pchar.Torso)
| |
| 9104 | msh.MeshType = "FileMesh" | |
| 9105 | msh.Scale = Vector3.new(3, 3, 3) | |
| 9106 | msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2] | |
| 9107 | msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3] | |
| 9108 | msh.Scale = Vector3.new(3, 3, 3) | |
| 9109 | end | |
| 9110 | end) | |
| 9111 | ||
| 9112 | addcmd('disable','removes players humanoid',{},
| |
| 9113 | function(args, speaker) | |
| 9114 | local players = getPlayer(args[1], speaker) | |
| 9115 | for i,v in pairs(players)do | |
| 9116 | local pchar = gPlayers[v].Character | |
| 9117 | if pchar:FindFirstChild("Humanoid") then
| |
| 9118 | pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name | |
| 9119 | local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name] | |
| 9120 | humanoid.Parent = game.ContextActionService | |
| 9121 | if FindTable(SPC, args[1]) then Notify('Disabled ' .. args[1]) else
| |
| 9122 | Notify('Disabled player(s)') end
| |
| 9123 | end end end) | |
| 9124 | ||
| 9125 | addcmd('enable','gives player humanoid',{},
| |
| 9126 | function(args, speaker) | |
| 9127 | local players = getPlayer(args[1], speaker) | |
| 9128 | for i,v in pairs(players)do | |
| 9129 | local pchar = gPlayers[v].Character | |
| 9130 | if pchar:FindFirstChild("Humanoid") then
| |
| 9131 | return | |
| 9132 | else | |
| 9133 | local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name] | |
| 9134 | humanoid.Parent = pchar | |
| 9135 | humanoid.Name = "Humanoid" | |
| 9136 | if FindTable(SPC, args[1]) then Notify('Enabled ' .. args[1]) else
| |
| 9137 | Notify('Enabled player(s)') end
| |
| 9138 | end end end) | |
| 9139 | ||
| 9140 | addcmd('size','changes size of player',{},
| |
| 9141 | function(args, speaker) | |
| 9142 | local players = getPlayer(args[1], speaker) | |
| 9143 | for i,v in pairs(players)do | |
| 9144 | local pchar = gPlayers[v].Character | |
| 9145 | local function scale(chr,scl) | |
| 9146 | for _,v in pairs(pchar:GetChildren()) do | |
| 9147 | if v:IsA("Accessory") then
| |
| 9148 | v:Clone() | |
| 9149 | v.Parent = LightingService | |
| 9150 | end end | |
| 9151 | local Head = chr['Head'] | |
| 9152 | local Torso = chr['Torso'] | |
| 9153 | local LA = chr['Left Arm'] | |
| 9154 | local RA = chr['Right Arm'] | |
| 9155 | local LL = chr['Left Leg'] | |
| 9156 | local RL = chr['Right Leg'] | |
| 9157 | local HRP = chr['HumanoidRootPart'] | |
| 9158 | wait(0.1) | |
| 9159 | Head.formFactor = 3 | |
| 9160 | Torso.formFactor = 3 | |
| 9161 | LA.formFactor = 3 | |
| 9162 | RA.formFactor = 3 | |
| 9163 | LL.formFactor = 3 | |
| 9164 | RL.formFactor = 3 | |
| 9165 | HRP.formFactor = 3 | |
| 9166 | Head.Size = Vector3.new(scl * 2, scl, scl) | |
| 9167 | Torso.Size = Vector3.new(scl * 2, scl * 2, scl) | |
| 9168 | LA.Size = Vector3.new(scl, scl * 2, scl) | |
| 9169 | RA.Size = Vector3.new(scl, scl * 2, scl) | |
| 9170 | LL.Size = Vector3.new(scl, scl * 2, scl) | |
| 9171 | RL.Size = Vector3.new(scl, scl * 2, scl) | |
| 9172 | HRP.Size = Vector3.new(scl * 2, scl * 2, scl) | |
| 9173 | local Motor1 = Instance.new('Motor6D', Torso)
| |
| 9174 | Motor1.Part0 = Torso | |
| 9175 | Motor1.Part1 = Head | |
| 9176 | Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
| 9177 | Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
| 9178 | Motor1.Name = "Neck" | |
| 9179 | local Motor2 = Instance.new('Motor6D', Torso)
| |
| 9180 | Motor2.Part0 = Torso | |
| 9181 | Motor2.Part1 = LA | |
| 9182 | Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 9183 | Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 9184 | Motor2.Name = "Left Shoulder" | |
| 9185 | local Motor3 = Instance.new('Motor6D', Torso)
| |
| 9186 | Motor3.Part0 = Torso | |
| 9187 | Motor3.Part1 = RA | |
| 9188 | Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 9189 | Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 9190 | Motor3.Name = "Right Shoulder" | |
| 9191 | local Motor4 = Instance.new('Motor6D', Torso)
| |
| 9192 | Motor4.Part0 = Torso | |
| 9193 | Motor4.Part1 = LL | |
| 9194 | Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 9195 | Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 9196 | Motor4.Name = "Left Hip" | |
| 9197 | local Motor5 = Instance.new('Motor6D', Torso)
| |
| 9198 | Motor5.Part0 = Torso | |
| 9199 | Motor5.Part1 = RL | |
| 9200 | Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 9201 | Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 9202 | Motor5.Name = "Right Hip" | |
| 9203 | local Motor6 = Instance.new('Motor6D', HRP)
| |
| 9204 | Motor6.Part0 = HRP | |
| 9205 | Motor6.Part1 = Torso | |
| 9206 | Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
| 9207 | Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) end | |
| 9208 | scale(pchar, args[2]) | |
| 9209 | for _,v in pairs(LightingService:GetChildren()) do | |
| 9210 | if v:IsA("Accessory") then
| |
| 9211 | v.Parent = pchar | |
| 9212 | end end end end) | |
| 9213 | ||
| 9214 | addcmd('clone','clones player',{},
| |
| 9215 | function(args, speaker) | |
| 9216 | local players = getPlayer(args[1], speaker) | |
| 9217 | for i,v in pairs(players)do | |
| 9218 | local pchar = gPlayers[v].Character | |
| 9219 | spawn(function() | |
| 9220 | pchar.Archivable = true | |
| 9221 | local clone = pchar:Clone() | |
| 9222 | clone.Parent = workspace | |
| 9223 | local cloneV = Instance.new("BoolValue")
| |
| 9224 | cloneV.Name = "isclone" | |
| 9225 | cloneV.Parent = clone | |
| 9226 | clone:MoveTo(pchar:GetModelCFrame().p) | |
| 9227 | clone:MakeJoints() | |
| 9228 | pchar.Archivable = false | |
| 9229 | end) | |
| 9230 | end | |
| 9231 | end) | |
| 9232 | ||
| 9233 | addcmd('noclones', 'clears clones',{},
| |
| 9234 | function(args, speaker) | |
| 9235 | local players = getPlayer(args[1], speaker) | |
| 9236 | for i,v in pairs(players)do | |
| 9237 | for _, child in pairs( workspace:GetChildren()) do | |
| 9238 | if child.Name == gPlayers[v].Name and child:FindFirstChild('isclone') then
| |
| 9239 | child:Destroy() | |
| 9240 | end | |
| 9241 | end | |
| 9242 | end | |
| 9243 | end) | |
| 9244 | ||
| 9245 | addcmd('spin','spins player',{},
| |
| 9246 | function(args, speaker) | |
| 9247 | local players = getPlayer(args[1], speaker) | |
| 9248 | for i,v in pairs(players)do | |
| 9249 | spawn(function() | |
| 9250 | local pchar = gPlayers[v].Character | |
| 9251 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 9252 | if v.Name == "Spinning" then | |
| 9253 | v:Destroy() | |
| 9254 | end | |
| 9255 | end | |
| 9256 | local Torso = pchar.Torso | |
| 9257 | local BG = Instance.new("BodyGyro", Torso)
| |
| 9258 | BG.Name = "Spinning" | |
| 9259 | BG.maxTorque = Vector3.new(0, math.huge, 0) | |
| 9260 | BG.P = 11111 | |
| 9261 | BG.cframe = Torso.CFrame | |
| 9262 | repeat wait(1/44) | |
| 9263 | BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0) | |
| 9264 | until not BG or BG.Parent ~= Torso | |
| 9265 | end) | |
| 9266 | end | |
| 9267 | end) | |
| 9268 | ||
| 9269 | addcmd('unspin','stops spinning player',{},
| |
| 9270 | function(args, speaker) | |
| 9271 | local players = getPlayer(args[1], speaker) | |
| 9272 | for i,v in pairs(players)do | |
| 9273 | local pchar = gPlayers[v].Character | |
| 9274 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 9275 | if v.Name == "Spinning" then | |
| 9276 | v:Destroy() | |
| 9277 | end | |
| 9278 | end | |
| 9279 | end | |
| 9280 | end) | |
| 9281 | ||
| 9282 | addcmd('dog','makes player a dog',{},
| |
| 9283 | function(args, speaker) | |
| 9284 | local players = getPlayer(args[1], speaker) | |
| 9285 | for i,v in pairs(players)do | |
| 9286 | local pchar = gPlayers[v].Character | |
| 9287 | if pchar:FindFirstChild("Shirt") then
| |
| 9288 | pchar.Shirt:Destroy() | |
| 9289 | end | |
| 9290 | if pchar:FindFirstChild("Pants") then
| |
| 9291 | pchar.Pants:Destroy() | |
| 9292 | end | |
| 9293 | if pchar:FindFirstChild("Shirt Graphic") then
| |
| 9294 | pchar["Shirt Graphic"].Graphic = "" | |
| 9295 | end | |
| 9296 | pchar.Torso.Transparency = 1 | |
| 9297 | pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
| 9298 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0) | |
| 9299 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0) | |
| 9300 | pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0) | |
| 9301 | pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0) | |
| 9302 | local FakeTorso = Instance.new("Seat", pchar)
| |
| 9303 | FakeTorso.Name = "FakeTorso" | |
| 9304 | FakeTorso.FormFactor = "Symmetric" | |
| 9305 | FakeTorso.TopSurface = 0 | |
| 9306 | FakeTorso.BottomSurface = 0 | |
| 9307 | FakeTorso.Size = Vector3.new(3,1,4) | |
| 9308 | FakeTorso.BrickColor = BrickColor.new("Brown")
| |
| 9309 | FakeTorso.CFrame = pchar.Torso.CFrame | |
| 9310 | local BF = Instance.new("BodyForce", FakeTorso)
| |
| 9311 | BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0) | |
| 9312 | local W = Instance.new("Weld", pchar.Torso)
| |
| 9313 | W.Part0 = pchar.Torso | |
| 9314 | W.Part1 = FakeTorso | |
| 9315 | W.C0 = CFrame.new(0,-.5,0) | |
| 9316 | local BC = pchar["Body Colors"] | |
| 9317 | BC.HeadColor = BrickColor.new("Brown")
| |
| 9318 | BC.LeftArmColor = BrickColor.new("Brown")
| |
| 9319 | BC.LeftLegColor = BrickColor.new("Brown")
| |
| 9320 | BC.RightArmColor = BrickColor.new("Brown")
| |
| 9321 | BC.RightLegColor = BrickColor.new("Brown")
| |
| 9322 | BC.TorsoColor = BrickColor.new("Brown")
| |
| 9323 | end | |
| 9324 | end) | |
| 9325 | ||
| 9326 | addcmd('undog','makes player back to normal',{},
| |
| 9327 | function(args, speaker) | |
| 9328 | local players = getPlayer(args[1], speaker) | |
| 9329 | for i,v in pairs(players)do | |
| 9330 | refresh(gPlayers[v]) | |
| 9331 | end | |
| 9332 | end) | |
| 9333 | ||
| 9334 | addcmd('loopheal','loop heals player',{},
| |
| 9335 | function(args, speaker) | |
| 9336 | local players = getPlayer(args[1], speaker) | |
| 9337 | for i,v in pairs(players)do | |
| 9338 | spawn(function() | |
| 9339 | local pchar = gPlayers[v].Character | |
| 9340 | if pchar:FindFirstChild("LoopHeal") then
| |
| 9341 | pchar.LoopHeal.Name = "NotLoopHeal" | |
| 9342 | wait(0.1) | |
| 9343 | pchar.NotLoopHeal:Destroy() | |
| 9344 | end | |
| 9345 | local LoopHeal = Instance.new("StringValue", pchar)
| |
| 9346 | LoopHeal.Name = "LoopHeal" | |
| 9347 | repeat wait(0.1) | |
| 9348 | pchar.Humanoid.Health = pchar.Humanoid.MaxHealth | |
| 9349 | until LoopHeal.Name == "NotLoopHeal" | |
| 9350 | end) | |
| 9351 | end | |
| 9352 | end) | |
| 9353 | ||
| 9354 | addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
| |
| 9355 | function(args, speaker) | |
| 9356 | local players = getPlayer(args[1], speaker) | |
| 9357 | for i,v in pairs(players)do | |
| 9358 | local pchar = gPlayers[v].Character | |
| 9359 | if pchar:FindFirstChild("LoopHeal") then
| |
| 9360 | pchar.LoopHeal.Name = "NotLoopHeal" | |
| 9361 | wait(0.1) | |
| 9362 | pchar.NotLoopHeal:Destroy() | |
| 9363 | end | |
| 9364 | end | |
| 9365 | end) | |
| 9366 | ||
| 9367 | addcmd('fling','flings player',{},
| |
| 9368 | function(args, speaker) | |
| 9369 | local players = getPlayer(args[1], speaker) | |
| 9370 | for i,v in pairs(players)do | |
| 9371 | local pchar = gPlayers[v].Character | |
| 9372 | if pchar:FindFirstChild("Humanoid") then
| |
| 9373 | local xran | |
| 9374 | local zran | |
| 9375 | repeat | |
| 9376 | xran = math.random(-9999,9999) | |
| 9377 | until math.abs(xran) >= 5555 | |
| 9378 | repeat | |
| 9379 | zran = math.random(-9999,9999) | |
| 9380 | until math.abs(zran) >= 5555 | |
| 9381 | pchar.Humanoid.Sit = true | |
| 9382 | pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0) | |
| 9383 | local BF = Instance.new("BodyForce", pchar.HumanoidRootPart)
| |
| 9384 | BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4) | |
| 9385 | end | |
| 9386 | end | |
| 9387 | end) | |
| 9388 | ||
| 9389 | addcmd('skydive','self explanatory',{},
| |
| 9390 | function(args, speaker) | |
| 9391 | local players = getPlayer(args[1], speaker) | |
| 9392 | for i,v in pairs(players)do | |
| 9393 | local pchar = gPlayers[v].Character | |
| 9394 | if pchar:FindFirstChild("HumanoidRootPart") then
| |
| 9395 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame + Vector3.new(0,10000,0) | |
| 9396 | end | |
| 9397 | end | |
| 9398 | end) | |
| 9399 | ||
| 9400 | addcmd('sparta','this is sparta',{},
| |
| 9401 | function(args, speaker) | |
| 9402 | --credit adonis i just edited ;) | |
| 9403 | local user = getPlayer(args[1], speaker) | |
| 9404 | for i,player in pairs(user) do | |
| 9405 | local torso = player.Character:FindFirstChild('HumanoidRootPart')
| |
| 9406 | if torso then | |
| 9407 | local hole = Instance.new("Part",player.Character)
| |
| 9408 | hole.Anchored = true | |
| 9409 | hole.CanCollide = false | |
| 9410 | hole.formFactor = Enum.FormFactor.Custom | |
| 9411 | hole.Size = Vector3.new(10,1,10) | |
| 9412 | hole.CFrame = torso.CFrame * CFrame.new(0,-3.3,-3) | |
| 9413 | hole.BrickColor = BrickColor.new("Really black")
| |
| 9414 | local holeM = Instance.new("CylinderMesh",hole)
| |
| 9415 | torso.Anchored = true | |
| 9416 | local sound = Instance.new("Sound", hole)
| |
| 9417 | sound.SoundId = "rbxassetid://130781067" | |
| 9418 | sound.Volume = 3 | |
| 9419 | sound:Play() | |
| 9420 | local foot = torso.CFrame * CFrame.new(0,-3,0) | |
| 9421 | for i=1,10 do | |
| 9422 | torso.CFrame = foot * CFrame.fromEulerAnglesXYZ(-(math.pi/2)*i/10,0,0) * CFrame.new(0,3,0) | |
| 9423 | wait(0.1) | |
| 9424 | end | |
| 9425 | for i=1,5,0.2 do | |
| 9426 | torso.CFrame = foot * CFrame.new(0,-(i^2),0) * CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) * CFrame.new(0,3,0) | |
| 9427 | wait() | |
| 9428 | end | |
| 9429 | player.Character:BreakJoints() | |
| 9430 | wait(2) | |
| 9431 | sound:Destroy() | |
| 9432 | end | |
| 9433 | end | |
| 9434 | end) | |
| 9435 | ||
| 9436 | addcmd('bleach','drink bleach',{''},
| |
| 9437 | function(args, speaker) | |
| 9438 | local players = getPlayer(args[1], speaker) | |
| 9439 | for i,v in pairs(players)do | |
| 9440 | bleach(gPlayers[v]) | |
| 9441 | end | |
| 9442 | end) | |
| 9443 | ||
| 9444 | addcmd('seizure','makes player have a seizure',{''},
| |
| 9445 | function(args, speaker) | |
| 9446 | local players = getPlayer(args[1], speaker) | |
| 9447 | for i,v in pairs(players)do | |
| 9448 | local pchar = gPlayers[v].Character | |
| 9449 | if pchar:FindFirstChild("Seizure") then
| |
| 9450 | ||
| 9451 | end | |
| 9452 | local Seizure = Instance.new("StringValue", pchar)
| |
| 9453 | Seizure.Name = "Seizure" | |
| 9454 | pchar.Humanoid.PlatformStand = true | |
| 9455 | repeat wait() | |
| 9456 | pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) | |
| 9457 | pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
| 9458 | until Seizure.Name == "NotSeizure" | |
| 9459 | end | |
| 9460 | end) | |
| 9461 | ||
| 9462 | addcmd('fegod','gods you in fe games',{''},
| |
| 9463 | function(args, speaker) | |
| 9464 | if speaker.userId ~= LP.userId then | |
| 9465 | lponly(speaker) | |
| 9466 | else | |
| 9467 | gPlayers.LocalPlayer.Character.Humanoid.Name = 1 | |
| 9468 | local l = gPlayers.LocalPlayer.Character["1"]:Clone() | |
| 9469 | l.Parent = gPlayers.LocalPlayer.Character | |
| 9470 | l.Name = "Humanoid" | |
| 9471 | wait(0.1) | |
| 9472 | gPlayers.LocalPlayer.Character["1"]:Destroy() | |
| 9473 | workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character | |
| 9474 | gPlayers.LocalPlayer.Character.Animate.Disabled = true | |
| 9475 | wait(0.1) | |
| 9476 | gPlayers.LocalPlayer.Character.Animate.Disabled = false | |
| 9477 | gPlayers.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
| 9478 | end | |
| 9479 | end) | |
| 9480 | ||
| 9481 | addcmd('unseizure','makes player stop having a seizure',{''},
| |
| 9482 | function(args, speaker) | |
| 9483 | local players = getPlayer(args[1], speaker) | |
| 9484 | for i,v in pairs(players)do | |
| 9485 | local pchar = gPlayers[v].Character | |
| 9486 | if pchar:FindFirstChild("Seizure") then
| |
| 9487 | pchar.Humanoid.PlatformStand = false | |
| 9488 | pchar.Seizure.Name = "NotSeizure" | |
| 9489 | wait(0.1) | |
| 9490 | pchar.NotSeizure:Destroy() | |
| 9491 | end | |
| 9492 | end | |
| 9493 | end) | |
| 9494 | ||
| 9495 | addcmd('m','makes a global message',{'message'},
| |
| 9496 | function(args, speaker) | |
| 9497 | local MSG = '['..speaker.Name..']: '..GLS(false, 0) | |
| 9498 | local newMSG = '['..speaker.Name..']: '..GLS(false, 0) | |
| 9499 | _G.msg(MSG) | |
| 9500 | end) | |
| 9501 | ||
| 9502 | addcmd('sm','makes a global message',{'servermessage'},
| |
| 9503 | function(args, speaker) | |
| 9504 | local MSG = GLS(false, 0) | |
| 9505 | local newMSG = GLS(false, 0) | |
| 9506 | _G.msg(MSG) | |
| 9507 | end) | |
| 9508 | ||
| 9509 | addcmd('fe','checks filtering status',{'filtering'},
| |
| 9510 | function(args, speaker) | |
| 9511 | if workspace.FilteringEnabled == true then | |
| 9512 | Notify('Filtering ENABLED')
| |
| 9513 | elseif workspace.FilteringEnabled == false then | |
| 9514 | Notify('Filtering Disabled')
| |
| 9515 | end | |
| 9516 | end) | |
| 9517 | ||
| 9518 | addcmd('paper','makes player thin as paper',{''},
| |
| 9519 | function(args, speaker) | |
| 9520 | local players = getPlayer(args[1], speaker) | |
| 9521 | for i,v in pairs(players)do | |
| 9522 | local pchar = gPlayers[v].Character | |
| 9523 | for _, child in pairs( pchar:GetChildren()) do | |
| 9524 | if child.ClassName == "CharacterMesh" then | |
| 9525 | child:Destroy() | |
| 9526 | end | |
| 9527 | end | |
| 9528 | local LA = DATA.Paper:Clone() | |
| 9529 | LA.Parent = pchar["Left Arm"] | |
| 9530 | local RA = DATA.Paper:Clone() | |
| 9531 | RA.Parent = pchar["Right Arm"] | |
| 9532 | local LL = DATA.Paper:Clone() | |
| 9533 | LL.Parent = pchar["Left Leg"] | |
| 9534 | local RL = DATA.Paper:Clone() | |
| 9535 | RL.Parent = pchar["Right Leg"] | |
| 9536 | local T = DATA.Paper:Clone() | |
| 9537 | T.Parent = pchar.Torso | |
| 9538 | local H = DATA.Paper:Clone() | |
| 9539 | H.Parent = pchar.Head | |
| 9540 | pchar.Head.face:Destroy() | |
| 9541 | end | |
| 9542 | end) | |
| 9543 | ||
| 9544 | addcmd('particles','gives a player particles',{''},
| |
| 9545 | function(args, speaker) | |
| 9546 | local players = getPlayer(args[1], speaker) | |
| 9547 | for i,v in pairs(players)do | |
| 9548 | local char = gPlayers[v].Character | |
| 9549 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
| 9550 | if v:IsA('ParticleEmitter') then
| |
| 9551 | v:destroy() | |
| 9552 | end | |
| 9553 | end | |
| 9554 | local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart)
| |
| 9555 | prt.Texture = 'rbxassetid://' .. args[2] | |
| 9556 | prt.Rate = 10 | |
| 9557 | prt.SpreadAngle = Vector2.new(50, 50) | |
| 9558 | end | |
| 9559 | end) | |
| 9560 | ||
| 9561 | addcmd('unparticles','gives a player particles',{'noparticles'},
| |
| 9562 | function(args, speaker) | |
| 9563 | local players = getPlayer(args[1], speaker) | |
| 9564 | for i,v in pairs(players)do | |
| 9565 | local char = gPlayers[v].Character | |
| 9566 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
| 9567 | if v:IsA('ParticleEmitter') then
| |
| 9568 | v:destroy() | |
| 9569 | end | |
| 9570 | end | |
| 9571 | end | |
| 9572 | end) | |
| 9573 | ||
| 9574 | blindT = {}
| |
| 9575 | addcmd('blind','blinds a player',{},
| |
| 9576 | function(args, speaker) | |
| 9577 | local players = getPlayer(args[1], speaker) | |
| 9578 | for i,v in pairs(players)do | |
| 9579 | spawn(function() | |
| 9580 | if FindTable(blindT, _players[v].Name) then return end | |
| 9581 | local blind = gPlayers[v].Name | |
| 9582 | local victim = gPlayers:FindFirstChild(blind) | |
| 9583 | if victim ~= nil then | |
| 9584 | victim.CameraMaxZoomDistance = 0.5 | |
| 9585 | blnd = Instance.new("Part",workspace)
| |
| 9586 | blnd.Name = "IYblind" .. gPlayers[v].Name | |
| 9587 | blnd.Size = Vector3.new(1,1,1) | |
| 9588 | blnd.CanCollide = false | |
| 9589 | blnd.BrickColor = BrickColor.new("Really black")
| |
| 9590 | blnd.Material = "Neon" | |
| 9591 | local m = Instance.new("SpecialMesh",blnd)
| |
| 9592 | m.Scale = Vector3.new(-1.5,-1.5,-1.5) | |
| 9593 | m.MeshId = "http://www.roblox.com/asset/?id=10061232" | |
| 9594 | local w = Instance.new("Weld",blnd)
| |
| 9595 | w.Part0 = blnd | |
| 9596 | w.Part1 = victim.Character.Head | |
| 9597 | if FindTable(blindT, _players[v].Name) then return end | |
| 9598 | table.insert(blindT, _players[v].Name) | |
| 9599 | repeat if not workspace:FindFirstChild('IYblind' .. gPlayers[v].Name) then
| |
| 9600 | local blind = gPlayers[v].Name | |
| 9601 | local victim = gPlayers:FindFirstChild(blind) | |
| 9602 | if victim ~= nil then | |
| 9603 | victim.CameraMaxZoomDistance = 0.5 | |
| 9604 | blnd = Instance.new("Part",workspace)
| |
| 9605 | blnd.Name = "IYblind" .. gPlayers[v].Name | |
| 9606 | blnd.Size = Vector3.new(1,1,1) | |
| 9607 | blnd.CanCollide = false | |
| 9608 | blnd.BrickColor = BrickColor.new("Really black")
| |
| 9609 | blnd.Material = "Neon" | |
| 9610 | local m = Instance.new("SpecialMesh",blnd)
| |
| 9611 | m.Scale = Vector3.new(-1.5,-1.5,-1.5) | |
| 9612 | m.MeshId = "http://www.roblox.com/asset/?id=10061232" | |
| 9613 | local w = Instance.new("Weld",blnd)
| |
| 9614 | w.Part0 = blnd | |
| 9615 | w.Part1 = victim.Character.Head | |
| 9616 | end end wait(1) | |
| 9617 | until not FindTable(blindT, _players[v].Name) | |
| 9618 | end end) end end) | |
| 9619 | ||
| 9620 | addcmd('unblind','blinds a player',{'noblind'},
| |
| 9621 | function(args, speaker) | |
| 9622 | local players = getPlayer(args[1], speaker) | |
| 9623 | for i,v in pairs(players)do | |
| 9624 | spawn(function() | |
| 9625 | for a,b in pairs(blindT) do if b == _players[v].Name then table.remove(blindT, a) end end | |
| 9626 | local blind = gPlayers[v].Name | |
| 9627 | local victim = gPlayers:FindFirstChild(blind) | |
| 9628 | if victim ~= nil then | |
| 9629 | victim.CameraMaxZoomDistance = 400 wait(0.5) | |
| 9630 | for _, child in pairs( workspace:GetChildren()) do | |
| 9631 | if child.Name == "IYblind" .. gPlayers[v].Name then | |
| 9632 | child:Destroy() | |
| 9633 | end end end end) end end) | |
| 9634 | ||
| 9635 | addcmd('punish','punishs player',{''},
| |
| 9636 | function(args, speaker) | |
| 9637 | local players = getPlayer(args[1], speaker) | |
| 9638 | for i,v in pairs(players)do | |
| 9639 | local pchar = gPlayers[v].Character | |
| 9640 | pchar.Parent = LightingService | |
| 9641 | end | |
| 9642 | end) | |
| 9643 | ||
| 9644 | addcmd('unpunish','unpunishs player',{''},
| |
| 9645 | function(args, speaker) | |
| 9646 | local players = getPlayer(args[1], speaker) | |
| 9647 | for i,v in pairs(players)do | |
| 9648 | if LightingService:FindFirstChild("" .. gPlayers[v].Name) then
| |
| 9649 | LightingService:FindFirstChild("" .. gPlayers[v].Name).Parent = workspace
| |
| 9650 | end | |
| 9651 | end | |
| 9652 | end) | |
| 9653 | ||
| 9654 | local starmanPlayers = {}
| |
| 9655 | local starmanLastColor = nil | |
| 9656 | local starmanEvents = {}
| |
| 9657 | ||
| 9658 | addcmd("starman","Turns [plr] into starman",{},
| |
| 9659 | function(args,speaker) | |
| 9660 | local function starman(plr) | |
| 9661 | local char = plr.Character | |
| 9662 | local lastColor = "" | |
| 9663 | local newColor = "" | |
| 9664 | ||
| 9665 | local powerupSound = Instance.new("Sound",char.HumanoidRootPart)
| |
| 9666 | powerupSound.Name = "PowerUp" | |
| 9667 | powerupSound.Volume = 10 | |
| 9668 | powerupSound.SoundId = "rbxassetid://182755256" | |
| 9669 | wait() | |
| 9670 | powerupSound:Play() | |
| 9671 | ||
| 9672 | game:GetService("Debris"):AddItem(powerupSound,2)
| |
| 9673 | ||
| 9674 | while char.HumanoidRootPart:FindFirstChild("Starman") do char.HumanoidRootPart.Starman:Destroy() end
| |
| 9675 | ||
| 9676 | local starmanMusic = Instance.new("Sound",char.HumanoidRootPart)
| |
| 9677 | starmanMusic.Name = "Starman" | |
| 9678 | starmanMusic.Volume = 1 | |
| 9679 | starmanMusic.Looped = true | |
| 9680 | starmanMusic.SoundId = "rbxassetid://530596723" | |
| 9681 | wait() | |
| 9682 | starmanMusic:Play() | |
| 9683 | ||
| 9684 | if char:FindFirstChild("Shirt") then char.Shirt:Destroy() end
| |
| 9685 | if char:FindFirstChild("Pants") then char.Pants:Destroy() end
| |
| 9686 | ||
| 9687 | char.Humanoid.WalkSpeed = 32 | |
| 9688 | char.Humanoid.MaxHealth = math.huge | |
| 9689 | char.Humanoid.Health = math.huge | |
| 9690 | ||
| 9691 | local invisff = Instance.new("ForceField", char)
| |
| 9692 | invisff.Visible = false invisff.Name = 'smff' | |
| 9693 | ||
| 9694 | while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do char.HumanoidRootPart.StarmanFlash:Destroy() end
| |
| 9695 | ||
| 9696 | local light = Instance.new("PointLight",char.HumanoidRootPart)
| |
| 9697 | light.Name = "StarmanFlash" | |
| 9698 | light.Brightness = 100 | |
| 9699 | light.Range = 20 | |
| 9700 | light.Shadows = true | |
| 9701 | ||
| 9702 | local function stardestroy(part) | |
| 9703 | if part.Parent:FindFirstChild("Humanoid") and part.Parent ~= char then
| |
| 9704 | for i,v in pairs(part.Parent:GetChildren()) do | |
| 9705 | if v:IsA("BasePart") then
| |
| 9706 | local force = Instance.new("BodyForce",v)
| |
| 9707 | force.Force = char.HumanoidRootPart.CFrame.lookVector * 50 | |
| 9708 | v:BreakJoints() | |
| 9709 | end | |
| 9710 | end | |
| 9711 | ||
| 9712 | local tadaas = {}
| |
| 9713 | ||
| 9714 | for i = 1,1 do | |
| 9715 | local tadaa = Instance.new("Sound",part.Parent.HumanoidRootPart)
| |
| 9716 | tadaa.Volume = 10 | |
| 9717 | tadaa.SoundId = "rbxassetid://551195499" | |
| 9718 | table.insert(tadaas,tadaa) | |
| 9719 | end | |
| 9720 | ||
| 9721 | wait() | |
| 9722 | ||
| 9723 | for i,v in pairs(tadaas) do | |
| 9724 | v:Play() | |
| 9725 | end | |
| 9726 | end | |
| 9727 | end | |
| 9728 | ||
| 9729 | local events = {}
| |
| 9730 | for i,v in pairs(char:GetChildren()) do | |
| 9731 | if v:IsA("BasePart") then v.Material = Enum.Material.Neon table.insert(events,v.Touched:Connect(stardestroy)) end
| |
| 9732 | end | |
| 9733 | if starmanEvents[plr.Name] then for i,v in pairs(starmanEvents[plr.Name]) do v:Disconnect() end starmanEvents[plr.Name] = nil end | |
| 9734 | starmanEvents[plr.Name] = events | |
| 9735 | starmanPlayers[plr.Name] = char | |
| 9736 | end | |
| 9737 | ||
| 9738 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
| 9739 | spawn(function()starman(gPlayers[plr])end) | |
| 9740 | end | |
| 9741 | end) | |
| 9742 | ||
| 9743 | addcmd("unstarman","Removes starman from [plr]",{},
| |
| 9744 | function(args,speaker) | |
| 9745 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
| 9746 | pcall(function() | |
| 9747 | if starmanPlayers[plr] then starmanPlayers[plr] = nil end | |
| 9748 | if starmanEvents[plr] then for i,v in pairs(starmanEvents[plr]) do v:Disconnect() end starmanEvents[plr] = nil end | |
| 9749 | local char = gPlayers[plr].Character | |
| 9750 | while char.HumanoidRootPart:FindFirstChild("Starman") do
| |
| 9751 | char.HumanoidRootPart.Starman:Destroy() | |
| 9752 | end | |
| 9753 | while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do
| |
| 9754 | char.HumanoidRootPart.StarmanFlash:Destroy() | |
| 9755 | end | |
| 9756 | while char.HumanoidRootPart:FindFirstChild("smff") do
| |
| 9757 | char.HumanoidRootPart.smff:Destroy() | |
| 9758 | end | |
| 9759 | end) | |
| 9760 | end | |
| 9761 | end) | |
| 9762 | ||
| 9763 | local Timers = {}
| |
| 9764 | function checkTimer(n,t,res) | |
| 9765 | if not Timers[n] then Timers[n] = 0 end | |
| 9766 | ||
| 9767 | if tick() >= Timers[n] + t then | |
| 9768 | if res then Timers[n] = tick() end | |
| 9769 | return true | |
| 9770 | else | |
| 9771 | return false | |
| 9772 | end | |
| 9773 | end | |
| 9774 | ||
| 9775 | function nonEmpty(t) | |
| 9776 | for i,v in pairs(t) do | |
| 9777 | return true | |
| 9778 | end | |
| 9779 | return false | |
| 9780 | end | |
| 9781 | ||
| 9782 | game:GetService("RunService").RenderStepped:Connect(function()
| |
| 9783 | if nonEmpty(starmanPlayers) then | |
| 9784 | if checkTimer("Starman",0.05,true) then
| |
| 9785 | for name,plrchar in pairs(starmanPlayers) do | |
| 9786 | ypcall(function() | |
| 9787 | local colors = {"Bright red","Bright blue","Bright green","Bright yellow","Bright violet"}
| |
| 9788 | if not gPlayers:FindFirstChild(name) then starmanPlayers[name] = nil end | |
| 9789 | ||
| 9790 | local plr = gPlayers:FindFirstChild(name) | |
| 9791 | ||
| 9792 | if plr then | |
| 9793 | local char = plrchar | |
| 9794 | local light = char.HumanoidRootPart:FindFirstChild("StarmanFlash")
| |
| 9795 | ||
| 9796 | local meshMap = {}
| |
| 9797 | ||
| 9798 | for i,v in pairs(char:GetChildren()) do | |
| 9799 | if v:IsA("CharacterMesh") then
| |
| 9800 | if v.BodyPart.Name == "Torso" then meshMap["Torso"] = "rbxassetid://"..v.MeshId end | |
| 9801 | if v.BodyPart.Name == "LeftArm" then meshMap["Left Arm"] = "rbxassetid://"..v.MeshId end | |
| 9802 | if v.BodyPart.Name == "RightArm" then meshMap["Right Arm"] = "rbxassetid://"..v.MeshId end | |
| 9803 | if v.BodyPart.Name == "LeftLeg" then meshMap["Left Leg"] = "rbxassetid://"..v.MeshId end | |
| 9804 | if v.BodyPart.Name == "RightLeg" then meshMap["Right Leg"] = "rbxassetid://"..v.MeshId end | |
| 9805 | end | |
| 9806 | end | |
| 9807 | ||
| 9808 | if char.Head:FindFirstChild("Mesh") then meshMap["Head"] = char.Head.Mesh.MeshId end
| |
| 9809 | ||
| 9810 | if not char or char.Parent == nil then starmanPlayers[plr.Name] = nil end | |
| 9811 | local newColor = BrickColor.new(colors[math.random(1,#colors)]) | |
| 9812 | while starmanLastColor == newColor do newColor = BrickColor.new(colors[math.random(1,#colors)]) end | |
| 9813 | starmanLastColor = newColor | |
| 9814 | for i,v in pairs(char:GetChildren()) do | |
| 9815 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
| |
| 9816 | v.BrickColor = newColor | |
| 9817 | local fade = v:Clone() | |
| 9818 | if meshMap[v.Name] then | |
| 9819 | local newMesh = Instance.new("SpecialMesh",fade)
| |
| 9820 | newMesh.MeshId = meshMap[v.Name] | |
| 9821 | end | |
| 9822 | fade.Name = "StarFade" | |
| 9823 | fade.Anchored = true | |
| 9824 | fade.CanCollide = false | |
| 9825 | 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
| |
| 9826 | fade.Parent = workspace.Terrain | |
| 9827 | game:GetService("TweenService"):Create(fade,TweenInfo.new(0.5),{Transparency = 1}):Play()
| |
| 9828 | game:GetService("Debris"):AddItem(fade,0.5)
| |
| 9829 | end | |
| 9830 | end | |
| 9831 | light.Color = newColor.Color | |
| 9832 | end | |
| 9833 | end) | |
| 9834 | end | |
| 9835 | end | |
| 9836 | end | |
| 9837 | end) | |
| 9838 | ||
| 9839 | addcmd("tppos","Teleports a player to a coordinate",{},
| |
| 9840 | function(args,speaker) | |
| 9841 | if #args < 4 then return end | |
| 9842 | local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4]) | |
| 9843 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
| 9844 | local char = gPlayers[plr].Character | |
| 9845 | if char and char:FindFirstChild("HumanoidRootPart") then
| |
| 9846 | char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ) | |
| 9847 | end | |
| 9848 | end | |
| 9849 | end) | |
| 9850 | ||
| 9851 | addcmd("offset","Offsets a player by a coordinate",{},
| |
| 9852 | function(args,speaker) | |
| 9853 | if #args < 4 then return end | |
| 9854 | local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4]) | |
| 9855 | for _,plr in pairs(getPlayer(args[1], speaker)) do | |
| 9856 | local char = gPlayers[plr].Character | |
| 9857 | if char and char:FindFirstChild("HumanoidRootPart") then
| |
| 9858 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ) | |
| 9859 | end | |
| 9860 | end | |
| 9861 | end) | |
| 9862 | ||
| 9863 | addcmd('bait',';)',{'troll'},
| |
| 9864 | function(args, speaker) | |
| 9865 | spawn(function() | |
| 9866 | local M = Instance.new('Model', workspace) M.Name = 'IYbait'
| |
| 9867 | 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)
| |
| 9868 | y = Instance.new("BillboardGui")
| |
| 9869 | y.Size = UDim2.new(0,100,0,150) | |
| 9870 | y.StudsOffset = Vector3.new(0,1,0) | |
| 9871 | y.Parent = P | |
| 9872 | y.Adornee = P | |
| 9873 | f = Instance.new("TextLabel")
| |
| 9874 | f.Parent = y | |
| 9875 | f.BackgroundTransparency = 1 | |
| 9876 | f.Position = UDim2.new(0,0,0,-50) | |
| 9877 | f.Size = UDim2.new(0,100,0,100) | |
| 9878 | f.Font = "Highway" | |
| 9879 | f.FontSize = "Size48" | |
| 9880 | f.Text = "Touch for admin!" | |
| 9881 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
| 9882 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
| 9883 | f.TextStrokeTransparency = 0 | |
| 9884 | f.TextYAlignment = "Bottom" | |
| 9885 | 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)
| |
| 9886 | end) | |
| 9887 | end) | |
| 9888 | ||
| 9889 | addcmd('removebait','clears bait parts',{'nobait'},
| |
| 9890 | function(args, speaker) | |
| 9891 | local function dels(instance) | |
| 9892 | for i,v in pairs(instance:GetChildren())do | |
| 9893 | if v.name == "IYbait"then v:Destroy()end | |
| 9894 | dels(v) | |
| 9895 | end | |
| 9896 | end | |
| 9897 | dels(workspace) | |
| 9898 | end) | |
| 9899 | ||
| 9900 | function CreateInstance(cls,props) | |
| 9901 | local inst = Instance.new(cls) | |
| 9902 | for i,v in pairs(props) do | |
| 9903 | inst[i] = v | |
| 9904 | end | |
| 9905 | return inst end | |
| 9906 | local function createSoundFrame() | |
| 9907 | 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)
| |
| 9908 | 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
| |
| 9909 | 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)
| |
| 9910 | 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})
| |
| 9911 | 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})
| |
| 9912 | 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)
| |
| 9913 | 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)
| |
| 9914 | 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})
| |
| 9915 | 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
| |
| 9916 | 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
| |
| 9917 | 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)
| |
| 9918 | 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})
| |
| 9919 | 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})
| |
| 9920 | 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)
| |
| 9921 | 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})
| |
| 9922 | 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})
| |
| 9923 | 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
| |
| 9924 | 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)
| |
| 9925 | return soundFrame end | |
| 9926 | local soundFrame = createSoundFrame() | |
| 9927 | soundFrame.Visible = true | |
| 9928 | local MusicPlayer do | |
| 9929 | MusicPlayer = {}
| |
| 9930 | local playlist = {}
| |
| 9931 | local currentSong = 1 | |
| 9932 | local playlistHook = nil | |
| 9933 | --local soundFrame = script.Parent:WaitForChild("Sound")
| |
| 9934 | local soundLine = soundFrame:WaitForChild("Pos")
| |
| 9935 | local soundTouch = soundLine:WaitForChild("Touch")
| |
| 9936 | local soundPlayStop = soundFrame:WaitForChild("PlayStop")
| |
| 9937 | local soundPause = soundFrame:WaitForChild("Pause")
| |
| 9938 | local soundNext = soundFrame:WaitForChild("NextSong")
| |
| 9939 | local soundPrev = soundFrame:WaitForChild("PrevSong")
| |
| 9940 | local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev}
| |
| 9941 | local mouseDrag = false | |
| 9942 | local mouse = gPlayers.LocalPlayer:GetMouse() | |
| 9943 | local lineBar = soundFrame:WaitForChild("Pos")
| |
| 9944 | adminSound = Instance.new("Sound",nil)
| |
| 9945 | local function timeConvert(num) | |
| 9946 | local mins = math.floor(num/60) | |
| 9947 | local secs = math.floor(num % 60) | |
| 9948 | return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs) | |
| 9949 | end | |
| 9950 | local function updateSongLine() | |
| 9951 | local linePos = mouse.X - soundLine.AbsolutePosition.X | |
| 9952 | if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then | |
| 9953 | local movePos = linePos/soundLine.AbsoluteSize.X | |
| 9954 | soundTouch.Position = UDim2.new(movePos,0,0,0) | |
| 9955 | elseif linePos < 0 then | |
| 9956 | soundTouch.Position = UDim2.new(0,0,0,0) | |
| 9957 | else | |
| 9958 | soundTouch.Position = UDim2.new(1,0,0,0) | |
| 9959 | end | |
| 9960 | local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength | |
| 9961 | adminSound.TimePosition = newTimePos | |
| 9962 | soundFrame.TimeStart.Text = timeConvert(newTimePos) | |
| 9963 | soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength) | |
| 9964 | end | |
| 9965 | local function updateDetails(id) | |
| 9966 | local info = game:GetService("MarketplaceService"):GetProductInfo(id)
| |
| 9967 | soundFrame.SName.Text = info.Name | |
| 9968 | end | |
| 9969 | local function setPlaylistHook() | |
| 9970 | if playlistHook then playlistHook:Disconnect() playlistHook = nil end | |
| 9971 | if #playlist == 0 then return end | |
| 9972 | playlistHook = adminSound.DidLoop:connect(function() | |
| 9973 | if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end | |
| 9974 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
| 9975 | MusicPlayer:Play(playlist[currentSong],true) | |
| 9976 | end) | |
| 9977 | end | |
| 9978 | local function disconnectPlaylistHook() | |
| 9979 | if playlistHook then playlistHook:disconnect() playlistHook = nil end | |
| 9980 | end | |
| 9981 | game:GetService("RunService").RenderStepped:Connect(function()
| |
| 9982 | if adminSound.Playing then | |
| 9983 | soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0) | |
| 9984 | soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition) | |
| 9985 | soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength) | |
| 9986 | end | |
| 9987 | end) | |
| 9988 | lineBar.InputBegan:connect(function(input) | |
| 9989 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 9990 | mouseDrag = true | |
| 9991 | updateSongLine() | |
| 9992 | end | |
| 9993 | end) | |
| 9994 | lineBar.InputEnded:connect(function(input) | |
| 9995 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 9996 | mouseDrag = false | |
| 9997 | end | |
| 9998 | end) | |
| 9999 | mouse.Move:connect(function(prop) | |
| 10000 | if mouseDrag then | |
| 10001 | updateSongLine() | |
| 10002 | end | |
| 10003 | end) | |
| 10004 | function MusicPlayer:Play(id,plist) | |
| 10005 | if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end
| |
| 10006 | adminSound:Stop() | |
| 10007 | if adminSound.Parent == nil then | |
| 10008 | adminSound = Instance.new("Sound",workspace)
| |
| 10009 | adminSound.Name = "IYsound" | |
| 10010 | adminSound.Looped = true | |
| 10011 | if plist then setPlaylistHook() end | |
| 10012 | end | |
| 10013 | adminSound.SoundId = "rbxassetid://"..tostring(id) | |
| 10014 | adminSound.TimePosition = 0 | |
| 10015 | --repeat wait() until adminSound.IsLoaded | |
| 10016 | adminSound:Play() | |
| 10017 | soundPlayStop.BackgroundTransparency = 0 | |
| 10018 | soundPlayStop.ImageTransparency = 1 | |
| 10019 | updateDetails(id) | |
| 10020 | end | |
| 10021 | function MusicPlayer:Playlist(list) | |
| 10022 | playlist = list | |
| 10023 | soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true | |
| 10024 | currentSong = 1 | |
| 10025 | if adminSound.Parent == nil then | |
| 10026 | adminSound = Instance.new("Sound",workspace)
| |
| 10027 | adminSound.Name = "IYsound" | |
| 10028 | adminSound.Looped = true | |
| 10029 | end | |
| 10030 | soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist) | |
| 10031 | MusicPlayer:Play(playlist[1],true) | |
| 10032 | setPlaylistHook() | |
| 10033 | end | |
| 10034 | function MusicPlayer:Stop() | |
| 10035 | adminSound:Stop() | |
| 10036 | adminSound.TimePosition = 0 | |
| 10037 | soundTouch.Position = UDim2.new(0,0,0,0) | |
| 10038 | soundFrame.TimeStart.Text = "0:00" | |
| 10039 | soundPlayStop.BackgroundTransparency = 1 | |
| 10040 | soundPlayStop.ImageTransparency = 0 | |
| 10041 | end | |
| 10042 | function MusicPlayer:Pause() | |
| 10043 | adminSound:Pause() | |
| 10044 | soundPlayStop.BackgroundTransparency = 1 | |
| 10045 | soundPlayStop.ImageTransparency = 0 | |
| 10046 | end | |
| 10047 | function MusicPlayer:Resume() | |
| 10048 | adminSound:Resume() | |
| 10049 | soundPlayStop.BackgroundTransparency = 0 | |
| 10050 | soundPlayStop.ImageTransparency = 1 | |
| 10051 | setPlaylistHook() | |
| 10052 | end | |
| 10053 | function MusicPlayer:NextSong() | |
| 10054 | if #playlist == 0 then return end | |
| 10055 | if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end | |
| 10056 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
| 10057 | MusicPlayer:Play(playlist[currentSong],true) | |
| 10058 | end | |
| 10059 | function MusicPlayer:PrevSong() | |
| 10060 | if #playlist == 0 then return end | |
| 10061 | if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end | |
| 10062 | soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist) | |
| 10063 | MusicPlayer:Play(playlist[currentSong],true) | |
| 10064 | end | |
| 10065 | function MusicPlayer:SetSong(ind) | |
| 10066 | if ind > #playlist or ind <= 0 then return end | |
| 10067 | soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist) | |
| 10068 | MusicPlayer:Play(playlist[ind],true) | |
| 10069 | end | |
| 10070 | playerenabled = false | |
| 10071 | function MusicPlayer:Show() | |
| 10072 | soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
| 10073 | end | |
| 10074 | function MusicPlayer:Hide() | |
| 10075 | soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
| 10076 | end | |
| 10077 | function colorFrames(obj,col) | |
| 10078 | for i,v in pairs(obj:GetChildren()) do | |
| 10079 | if v:IsA("ImageLabel") then
| |
| 10080 | v.ImageColor3 = col | |
| 10081 | end | |
| 10082 | v.BackgroundColor3 = col | |
| 10083 | end | |
| 10084 | end | |
| 10085 | for i,v in pairs(soundButtons) do | |
| 10086 | v.MouseEnter:connect(function() | |
| 10087 | if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end
| |
| 10088 | if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end
| |
| 10089 | v.BackgroundColor3 = Color3.new(1,1,1) | |
| 10090 | colorFrames(v,Color3.new(1,1,1)) | |
| 10091 | end) | |
| 10092 | v.MouseLeave:connect(function() | |
| 10093 | if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end
| |
| 10094 | if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end
| |
| 10095 | v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255) | |
| 10096 | colorFrames(v,Color3.new(230/255, 230/255, 230/255)) | |
| 10097 | end) | |
| 10098 | end | |
| 10099 | soundPlayStop.MouseButton1Click:connect(function() | |
| 10100 | if adminSound.Playing then | |
| 10101 | MusicPlayer:Stop() | |
| 10102 | else | |
| 10103 | MusicPlayer:Resume() | |
| 10104 | end | |
| 10105 | end) | |
| 10106 | soundPause.MouseButton1Click:connect(function() | |
| 10107 | MusicPlayer:Pause() | |
| 10108 | end) | |
| 10109 | soundNext.MouseButton1Click:connect(MusicPlayer.NextSong) | |
| 10110 | soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong) | |
| 10111 | end | |
| 10112 | local testgui = Instance.new("ScreenGui",game.CoreGui)
| |
| 10113 | soundFrame.Parent = testgui | |
| 10114 | addcmd('playlist','makes a noice playlist',{'ids','player'},
| |
| 10115 | function(args, speaker) | |
| 10116 | playerenabled = true | |
| 10117 | if #args > 0 then | |
| 10118 | for i,v in pairs(game:GetDescendants()) do | |
| 10119 | if v:IsA'Sound'then v:Destroy() end end wait(0.1) | |
| 10120 | if adminSound.Parent == nil then | |
| 10121 | adminSound = Instance.new("Sound",workspace)
| |
| 10122 | adminSound.Name = "IYsound" | |
| 10123 | adminSound.Looped = true | |
| 10124 | end | |
| 10125 | local idlist = splitString(args[1]) | |
| 10126 | local workingIds = {}
| |
| 10127 | for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end | |
| 10128 | if #workingIds > 0 then | |
| 10129 | playerenabled = true | |
| 10130 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
| 10131 | MusicPlayer:Playlist(workingIds) | |
| 10132 | 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) | |
| 10133 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 10134 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 10135 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 10136 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end | |
| 10137 | 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) | |
| 10138 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 10139 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) playerenabled = true | |
| 10140 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 10141 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end end) | |
| 10142 | addcmd('setsong','goto a song',{'tosong'},
| |
| 10143 | function(args, speaker) | |
| 10144 | MusicPlayer:SetSong(tonumber(args[1])) | |
| 10145 | end) | |
| 10146 | addcmd('nextsong','forward a song',{'nxtsong'},
| |
| 10147 | function(args, speaker) | |
| 10148 | MusicPlayer:NextSong() | |
| 10149 | end) | |
| 10150 | addcmd('prevsong','back a song',{'previoussong'},
| |
| 10151 | function(args, speaker) | |
| 10152 | MusicPlayer:PrevSong() | |
| 10153 | end) | |
| 10154 | addcmd('hideplaylist','back a song',{'unplayer','noplayer','hideplayer'},
| |
| 10155 | function(args, speaker) | |
| 10156 | playerenabled = false | |
| 10157 | MusicPlayer:Hide() | |
| 10158 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
| 10159 | end) | |
| 10160 | ||
| 10161 | addcmd('playhash', 'plays a hash instead of soundid',{'hash'},
| |
| 10162 | function(args, speaker) | |
| 10163 | for i,v in pairs(game:GetDescendants()) do | |
| 10164 | if v:IsA'Sound'then v:Destroy() end end | |
| 10165 | local c = args[1] or 'stop' | |
| 10166 | if std.inTable({'stop'}, c:lower()) then return end
| |
| 10167 | local s = Instance.new("Sound", workspace)
| |
| 10168 | s.Name = "IYsound" | |
| 10169 | s.Looped = true | |
| 10170 | s.SoundId = c | |
| 10171 | s.Volume = 1 | |
| 10172 | s:Play() | |
| 10173 | playerenabled = false | |
| 10174 | Notify('Playing hash')
| |
| 10175 | end) | |
| 10176 | ||
| 10177 | addcmd('disco','disco party',{''},
| |
| 10178 | function(args, speaker) | |
| 10179 | _G.nodisco = nil | |
| 10180 | coroutine.resume(coroutine.create(function() | |
| 10181 | repeat | |
| 10182 | game:GetService('Lighting').GlobalShadows = true
| |
| 10183 | game:GetService('Lighting').FogEnd = 200
| |
| 10184 | game:GetService('Lighting').TimeOfDay = 0
| |
| 10185 | local r = 255 | |
| 10186 | local g = 0 | |
| 10187 | local b = 0 | |
| 10188 | for i = 0,255,5 do | |
| 10189 | if _G.nodisco ~=nil then return end | |
| 10190 | r = r - 5 | |
| 10191 | b = b + 5 | |
| 10192 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
| |
| 10193 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
| |
| 10194 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
| |
| 10195 | wait() | |
| 10196 | end | |
| 10197 | for i = 0,255,5 do | |
| 10198 | if _G.nodisco ~=nil then return end | |
| 10199 | g = g + 5 | |
| 10200 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
| |
| 10201 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
| |
| 10202 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
| |
| 10203 | wait() | |
| 10204 | end | |
| 10205 | for i = 0,255,5 do | |
| 10206 | if _G.nodisco ~=nil then return end | |
| 10207 | b = b - 5 | |
| 10208 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
| |
| 10209 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
| |
| 10210 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
| |
| 10211 | wait() | |
| 10212 | end | |
| 10213 | for i = 0,255,5 do | |
| 10214 | if _G.nodisco ~=nil then return end | |
| 10215 | r = r + 5 | |
| 10216 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
| |
| 10217 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
| |
| 10218 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
| |
| 10219 | wait() | |
| 10220 | end | |
| 10221 | for i = 0,255,5 do | |
| 10222 | if _G.nodisco ~=nil then return end | |
| 10223 | g = g - 5 | |
| 10224 | game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
| |
| 10225 | game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
| |
| 10226 | game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
| |
| 10227 | wait() | |
| 10228 | end | |
| 10229 | until _G.nodisco | |
| 10230 | end)) | |
| 10231 | end) | |
| 10232 | ||
| 10233 | addcmd('undisco','rip disco party',{''},
| |
| 10234 | function(args, speaker) | |
| 10235 | _G.nodisco = true | |
| 10236 | execCmd('fixl')
| |
| 10237 | end) | |
| 10238 | ||
| 10239 | addcmd('hat','give a hat to a player',{''},
| |
| 10240 | function(args, speaker) | |
| 10241 | local players = getPlayer(args[1], speaker) | |
| 10242 | for i,v in pairs(players)do | |
| 10243 | local char = gPlayers[v].Character | |
| 10244 | local Hat = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. args[2])
| |
| 10245 | Hat.Parent = char | |
| 10246 | end end) | |
| 10247 | ||
| 10248 | fm = Instance.new('BlockMesh', DATA)
| |
| 10249 | fm.Scale = Vector3.new(1, 1, 2) | |
| 10250 | fm.Name = "FAT" | |
| 10251 | addcmd('fat','makes a plr fat',{''},
| |
| 10252 | function(args, speaker) | |
| 10253 | local players = getPlayer(args[1], speaker) | |
| 10254 | for i,v in pairs(players)do | |
| 10255 | local char = gPlayers[v].Character | |
| 10256 | for _, child in pairs( char:GetChildren()) do | |
| 10257 | if child.ClassName == "CharacterMesh" then | |
| 10258 | child:Destroy() end end | |
| 10259 | for i,v in pairs(char:GetChildren()) do | |
| 10260 | if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
| |
| 10261 | fm:Clone().Parent = v | |
| 10262 | end end end end) | |
| 10263 | ||
| 10264 | addcmd('crucify','crucifies a player',{'cruci'},
| |
| 10265 | function(args, speaker) | |
| 10266 | local players = getPlayer(args[1], speaker) | |
| 10267 | for i,v in pairs(players)do | |
| 10268 | local char = gPlayers[v].Character | |
| 10269 | local torso=char['Torso'] | |
| 10270 | local larm=char['Left Arm'] | |
| 10271 | local rarm=char['Right Arm'] | |
| 10272 | local lleg=char['Left Leg'] | |
| 10273 | local rleg=char['Right Leg'] | |
| 10274 | local head=char['Head'] | |
| 10275 | if torso and larm and rarm and lleg and rleg and head and not char:FindFirstChild(char.Name..'epixcrusify') then | |
| 10276 | local cru=Instance.new('Model',char)
| |
| 10277 | cru.Name=char.Name..'epixcrusify' -- Leave it like that so it bypasses epixcommands ;) | |
| 10278 | local c1=Instance.new('Part',cru)
| |
| 10279 | c1.BrickColor=BrickColor.new('Reddish brown')
| |
| 10280 | c1.Material='Wood' | |
| 10281 | c1.CFrame=(char.Torso.CFrame-char.Torso.CFrame.lookVector)*CFrame.new(0,0,2) | |
| 10282 | c1.Size=Vector3.new(2,18.4,1) | |
| 10283 | c1.Anchored=true | |
| 10284 | local c2=c1:Clone() | |
| 10285 | c2.Parent=cru | |
| 10286 | c2.Size=Vector3.new(11,1.6,1) | |
| 10287 | c2.CFrame=c1.CFrame+Vector3.new(0,5,0) | |
| 10288 | torso.Anchored=true;wait(0.5) | |
| 10289 | torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0);wait(0.5) | |
| 10290 | larm.Anchored=true | |
| 10291 | rarm.Anchored=true | |
| 10292 | lleg.Anchored=true | |
| 10293 | rleg.Anchored=true | |
| 10294 | head.Anchored=true;wait() | |
| 10295 | larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0) | |
| 10296 | rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0) | |
| 10297 | lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0) | |
| 10298 | rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0) | |
| 10299 | larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140) | |
| 10300 | rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140) | |
| 10301 | lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6) | |
| 10302 | rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6) | |
| 10303 | --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3) | |
| 10304 | local n1=Instance.new('Part',cru)
| |
| 10305 | n1.BrickColor=BrickColor.new('Dark stone grey')
| |
| 10306 | n1.Material='DiamondPlate' | |
| 10307 | n1.Size=Vector3.new(0.2,0.2,2) | |
| 10308 | n1.Anchored=true | |
| 10309 | local m=Instance.new('BlockMesh',n1)
| |
| 10310 | m.Scale=Vector3.new(0.2,0.2,0.7) | |
| 10311 | local n2=n1:Clone() | |
| 10312 | n2.Parent=cru | |
| 10313 | local n3=n1:Clone() | |
| 10314 | n3.Parent=cru | |
| 10315 | n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0) | |
| 10316 | n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0) | |
| 10317 | n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0) | |
| 10318 | spawn(function() | |
| 10319 | repeat | |
| 10320 | wait(0.1) | |
| 10321 | char.Humanoid.Health=char.Humanoid.Health-0.6 | |
| 10322 | until (not cru) or (not cru.Parent) or (not v) or (not char) or (not char:FindFirstChild('Head')) or char.Humanoid.Health<=0
| |
| 10323 | char:BreakJoints() | |
| 10324 | end) | |
| 10325 | end | |
| 10326 | end | |
| 10327 | end) | |
| 10328 | ||
| 10329 | addcmd('hang','hangs a player',{},
| |
| 10330 | function(args, speaker) | |
| 10331 | local players = getPlayer(args[1], speaker) | |
| 10332 | for i,v in pairs(players)do | |
| 10333 | local plr = gPlayers[v].Character | |
| 10334 | plr.HumanoidRootPart.Anchored = true | |
| 10335 | function sandbox(var,func) | |
| 10336 | local env = getfenv(func) | |
| 10337 | local newenv = setmetatable({},{
| |
| 10338 | __index = function(self,k) | |
| 10339 | if k=="script" then | |
| 10340 | return var | |
| 10341 | else | |
| 10342 | return env[k] | |
| 10343 | end | |
| 10344 | end, | |
| 10345 | }) | |
| 10346 | setfenv(func,newenv) | |
| 10347 | return func | |
| 10348 | end | |
| 10349 | cors = {}
| |
| 10350 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 10351 | local Model0 = Instance.new("Model")
| |
| 10352 | local Part1 = Instance.new("Part")
| |
| 10353 | local Part2 = Instance.new("Part")
| |
| 10354 | local Part3 = Instance.new("Part")
| |
| 10355 | local Part4 = Instance.new("Part")
| |
| 10356 | local Part5 = Instance.new("Part")
| |
| 10357 | local Motor6D6 = Instance.new("Motor6D")
| |
| 10358 | local Part7 = Instance.new("Part")
| |
| 10359 | local Part8 = Instance.new("Part")
| |
| 10360 | local Part9 = Instance.new("Part")
| |
| 10361 | local Part10 = Instance.new("Part")
| |
| 10362 | local Part11 = Instance.new("Part")
| |
| 10363 | local Part12 = Instance.new("Part")
| |
| 10364 | local Part13 = Instance.new("Part")
| |
| 10365 | local Part14 = Instance.new("Part")
| |
| 10366 | local Part15 = Instance.new("Part")
| |
| 10367 | Model0.Name = "hang" | |
| 10368 | Model0.Parent = mas | |
| 10369 | Part1.Parent = Model0 | |
| 10370 | Part1.Material = Enum.Material.SmoothPlastic | |
| 10371 | Part1.BrickColor = BrickColor.new("Reddish brown")
| |
| 10372 | Part1.Anchored = true | |
| 10373 | Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024) | |
| 10374 | Part1.CFrame = CFrame.new(1.539994, 9.29992199, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 10375 | Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10376 | Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10377 | Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10378 | Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10379 | Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10380 | Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10381 | Part1.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10382 | Part1.Position = Vector3.new(1.539994, 9.29992199, 12.6999884) | |
| 10383 | Part1.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10384 | Part2.Parent = Model0 | |
| 10385 | Part2.Material = Enum.Material.Wood | |
| 10386 | Part2.BrickColor = BrickColor.new("Pine Cone")
| |
| 10387 | Part2.Anchored = true | |
| 10388 | Part2.Size = Vector3.new(0.49999997, 0.200000003, 0.200000003) | |
| 10389 | Part2.CFrame = CFrame.new(1.44999003, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 10390 | Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10391 | Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10392 | Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10393 | Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10394 | Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10395 | Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10396 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
| 10397 | Part2.Position = Vector3.new(1.44999003, 9.09992599, 12.6999884) | |
| 10398 | Part2.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
| 10399 | Part3.Parent = Model0 | |
| 10400 | Part3.Material = Enum.Material.Wood | |
| 10401 | Part3.BrickColor = BrickColor.new("Pine Cone")
| |
| 10402 | Part3.Anchored = true | |
| 10403 | Part3.Size = Vector3.new(1, 9.39999962, 0.599999964) | |
| 10404 | Part3.CFrame = CFrame.new(-0.100001998, 4.70001078, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 10405 | Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10406 | Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10407 | Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10408 | Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10409 | Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10410 | Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10411 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
| 10412 | Part3.Position = Vector3.new(-0.100001998, 4.70001078, 12.6999884) | |
| 10413 | Part3.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
| 10414 | Part4.Parent = Model0 | |
| 10415 | Part4.Material = Enum.Material.Wood | |
| 10416 | Part4.BrickColor = BrickColor.new("Pine Cone")
| |
| 10417 | Part4.Anchored = true | |
| 10418 | Part4.Size = Vector3.new(1, 0.599999845, 0.599999964) | |
| 10419 | Part4.CFrame = CFrame.new(0.899998009, 9.09995365, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 10420 | Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10421 | Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10422 | Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10423 | Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10424 | Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10425 | Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10426 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
| 10427 | Part4.Position = Vector3.new(0.899998009, 9.09995365, 12.6999884) | |
| 10428 | Part4.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
| 10429 | Part5.Name = "main" | |
| 10430 | Part5.Parent = Model0 | |
| 10431 | Part5.BrickColor = BrickColor.new("Bright blue")
| |
| 10432 | Part5.Transparency = 1 | |
| 10433 | Part5.Rotation = Vector3.new(0, -90, 0) | |
| 10434 | Part5.Anchored = true | |
| 10435 | Part5.CanCollide = false | |
| 10436 | Part5.FormFactor = Enum.FormFactor.Symmetric | |
| 10437 | Part5.Size = Vector3.new(2, 2, 1) | |
| 10438 | Part5.CFrame = CFrame.new(1.98998594, 6.33001804, 12.7000237, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 10439 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
| 10440 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
| 10441 | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
| 10442 | Part5.Position = Vector3.new(1.98998594, 6.33001804, 12.7000237) | |
| 10443 | Part5.Orientation = Vector3.new(0, -90, 0) | |
| 10444 | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
| 10445 | Motor6D6.Name = "RootJoint" | |
| 10446 | Motor6D6.Parent = Part5 | |
| 10447 | Motor6D6.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 10448 | Motor6D6.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 10449 | Motor6D6.Part0 = Part5 | |
| 10450 | Motor6D6.MaxVelocity = 0.10000000149012 | |
| 10451 | Part7.Parent = Model0 | |
| 10452 | Part7.Material = Enum.Material.SmoothPlastic | |
| 10453 | Part7.BrickColor = BrickColor.new("Reddish brown")
| |
| 10454 | Part7.Rotation = Vector3.new(90, 75, -180) | |
| 10455 | Part7.Anchored = true | |
| 10456 | Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
| 10457 | Part7.CFrame = CFrame.new(2.02295995, 7.37058878, 12.1000061, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
| 10458 | Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10459 | Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10460 | Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10461 | Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10462 | Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10463 | Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10464 | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10465 | Part7.Position = Vector3.new(2.02295995, 7.37058878, 12.1000061) | |
| 10466 | Part7.Orientation = Vector3.new(15, 90, -90) | |
| 10467 | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10468 | Part8.Parent = Model0 | |
| 10469 | Part8.Material = Enum.Material.Wood | |
| 10470 | Part8.BrickColor = BrickColor.new("Pine Cone")
| |
| 10471 | Part8.Anchored = true | |
| 10472 | Part8.Size = Vector3.new(0.200000003, 0.599999785, 0.599999964) | |
| 10473 | Part8.CFrame = CFrame.new(1.77999604, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 10474 | Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10475 | Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10476 | Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10477 | Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10478 | Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10479 | Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10480 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
| 10481 | Part8.Position = Vector3.new(1.77999604, 9.09992599, 12.6999884) | |
| 10482 | Part8.Color = Color3.new(0.423529, 0.345098, 0.294118) | |
| 10483 | Part9.Parent = Model0 | |
| 10484 | Part9.Material = Enum.Material.SmoothPlastic | |
| 10485 | Part9.BrickColor = BrickColor.new("Reddish brown")
| |
| 10486 | Part9.Rotation = Vector3.new(90, 75, -180) | |
| 10487 | Part9.Anchored = true | |
| 10488 | Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
| 10489 | Part9.CFrame = CFrame.new(2.02295995, 7.37058878, 13.299984, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
| 10490 | Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10491 | Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10492 | Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10493 | Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10494 | Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10495 | Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10496 | Part9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10497 | Part9.Position = Vector3.new(2.02295995, 7.37058878, 13.299984) | |
| 10498 | Part9.Orientation = Vector3.new(15, 90, -90) | |
| 10499 | Part9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10500 | Part10.Parent = Model0 | |
| 10501 | Part10.Material = Enum.Material.SmoothPlastic | |
| 10502 | Part10.BrickColor = BrickColor.new("Reddish brown")
| |
| 10503 | Part10.Anchored = true | |
| 10504 | Part10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 10505 | Part10.CFrame = CFrame.new(1.539994, 9.09992599, 12.8999901, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 10506 | Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10507 | Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10508 | Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10509 | Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10510 | Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10511 | Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10512 | Part10.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10513 | Part10.Position = Vector3.new(1.539994, 9.09992599, 12.8999901) | |
| 10514 | Part10.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10515 | Part11.Parent = Model0 | |
| 10516 | Part11.Material = Enum.Material.SmoothPlastic | |
| 10517 | Part11.BrickColor = BrickColor.new("Reddish brown")
| |
| 10518 | Part11.Anchored = true | |
| 10519 | Part11.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
| 10520 | Part11.CFrame = CFrame.new(1.539994, 8.09998417, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 10521 | Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10522 | Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10523 | Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10524 | Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10525 | Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10526 | Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10527 | Part11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10528 | Part11.Position = Vector3.new(1.539994, 8.09998417, 12.6999884) | |
| 10529 | Part11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10530 | Part12.Parent = Model0 | |
| 10531 | Part12.Material = Enum.Material.SmoothPlastic | |
| 10532 | Part12.BrickColor = BrickColor.new("Reddish brown")
| |
| 10533 | Part12.Rotation = Vector3.new(90, 75, -180) | |
| 10534 | Part12.Anchored = true | |
| 10535 | Part12.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
| 10536 | Part12.CFrame = CFrame.new(2.50592208, 7.24118423, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
| 10537 | Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10538 | Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10539 | Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10540 | Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10541 | Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10542 | Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10543 | Part12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10544 | Part12.Position = Vector3.new(2.50592208, 7.24118423, 12.6999884) | |
| 10545 | Part12.Orientation = Vector3.new(15, 90, -90) | |
| 10546 | Part12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10547 | Part13.Parent = Model0 | |
| 10548 | Part13.Material = Enum.Material.SmoothPlastic | |
| 10549 | Part13.BrickColor = BrickColor.new("Reddish brown")
| |
| 10550 | Part13.Anchored = true | |
| 10551 | Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 10552 | Part13.CFrame = CFrame.new(1.539994, 9.09992599, 12.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 10553 | Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10554 | Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10555 | Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10556 | Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10557 | Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10558 | Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10559 | Part13.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10560 | Part13.Position = Vector3.new(1.539994, 9.09992599, 12.4999962) | |
| 10561 | Part13.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10562 | Part14.Parent = Model0 | |
| 10563 | Part14.Material = Enum.Material.SmoothPlastic | |
| 10564 | Part14.BrickColor = BrickColor.new("Reddish brown")
| |
| 10565 | Part14.Rotation = Vector3.new(90, 75, -180) | |
| 10566 | Part14.Anchored = true | |
| 10567 | Part14.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003) | |
| 10568 | Part14.CFrame = CFrame.new(1.539994, 7.49999714, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0) | |
| 10569 | Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10570 | Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10571 | Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10572 | Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10573 | Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10574 | Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10575 | Part14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10576 | Part14.Position = Vector3.new(1.539994, 7.49999714, 12.6999884) | |
| 10577 | Part14.Orientation = Vector3.new(15, 90, -90) | |
| 10578 | Part14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10579 | Part15.Parent = Model0 | |
| 10580 | Part15.Material = Enum.Material.SmoothPlastic | |
| 10581 | Part15.BrickColor = BrickColor.new("Reddish brown")
| |
| 10582 | Part15.Anchored = true | |
| 10583 | Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024) | |
| 10584 | Part15.CFrame = CFrame.new(1.539994, 8.89993, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 10585 | Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10586 | Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10587 | Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10588 | Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10589 | Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10590 | Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 10591 | Part15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10592 | Part15.Position = Vector3.new(1.539994, 8.89993, 12.6999884) | |
| 10593 | Part15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
| 10594 | for i,v in pairs(mas:GetChildren()) do | |
| 10595 | v.Parent = workspace | |
| 10596 | pcall(function() v:MakeJoints() end) | |
| 10597 | end | |
| 10598 | mas:Destroy() | |
| 10599 | for i,v in pairs(cors) do | |
| 10600 | spawn(function() | |
| 10601 | pcall(v) | |
| 10602 | end) | |
| 10603 | end | |
| 10604 | hang = Model0 | |
| 10605 | hang.Parent = plr | |
| 10606 | hang:MoveTo(plr.Torso.Position-Vector3.new(0,0,5)) | |
| 10607 | pcall(function() | |
| 10608 | plr.HumanoidRootPart.CFrame = hang.main.CFrame | |
| 10609 | function weld(p, cf) | |
| 10610 | local weld1 = Instance.new("Weld")
| |
| 10611 | weld1.Part0 = p | |
| 10612 | weld1.Part1 = plr.Torso | |
| 10613 | weld1.C0 = CFrame.new() | |
| 10614 | weld1.C1 = cf | |
| 10615 | weld1.Parent = p | |
| 10616 | end | |
| 10617 | weld(plr["Right Arm"], CFrame.new(0.8,0.3,-0.6) * CFrame.Angles(0, 0.5, 4)) | |
| 10618 | weld(plr["Left Arm"], CFrame.new(-0.8,0.3,-0.6) * CFrame.Angles(0, -0.5, -4)) | |
| 10619 | spawn(function() | |
| 10620 | repeat | |
| 10621 | wait(0.1) | |
| 10622 | plr.Humanoid.Health=plr.Humanoid.Health-0.6 | |
| 10623 | until (not hang) or (not hang.Parent) or (not v) or (not plr) or (not plr:FindFirstChild('Head')) or plr.Humanoid.Health<=0
| |
| 10624 | plr:BreakJoints() | |
| 10625 | end) | |
| 10626 | end) | |
| 10627 | end | |
| 10628 | end) | |
| 10629 | ||
| 10630 | addcmd('fix', 'restores lighting and what not',{},
| |
| 10631 | function(args, speaker) | |
| 10632 | LightingService.Ambient = origsettings.abt | |
| 10633 | LightingService.OutdoorAmbient = origsettings.oabt | |
| 10634 | LightingService.Brightness = origsettings.brt | |
| 10635 | LightingService.TimeOfDay = origsettings.time | |
| 10636 | LightingService.FogColor = origsettings.fclr | |
| 10637 | LightingService.FogEnd = origsettings.fe | |
| 10638 | LightingService.FogStart = origsettings.fs | |
| 10639 | playinggif = false | |
| 10640 | workspace.Gravity = 200 | |
| 10641 | 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) | |
| 10642 | for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end
| |
| 10643 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
| |
| 10644 | if v:IsA("PostEffect") then v:Destroy() end end
| |
| 10645 | for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() Notify('Reset') end end)
| |
| 10646 | ||
| 10647 | Floating = false | |
| 10648 | ||
| 10649 | addcmd('float', 'makes player float',{},
| |
| 10650 | function(args,speaker) | |
| 10651 | Floating = true | |
| 10652 | local players = getPlayer(args[1], speaker) | |
| 10653 | for _,v in pairs(players) do | |
| 10654 | local pchar = gPlayers[v].Character | |
| 10655 | if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
| |
| 10656 | spawn(function() | |
| 10657 | local float = DATA.Float:Clone() | |
| 10658 | float.Parent = pchar | |
| 10659 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
| 10660 | spawn(function() | |
| 10661 | while wait(0.1) do | |
| 10662 | if pchar:FindFirstChild("Float") then
| |
| 10663 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
| 10664 | else | |
| 10665 | break | |
| 10666 | end | |
| 10667 | end | |
| 10668 | end) | |
| 10669 | end) | |
| 10670 | end | |
| 10671 | end | |
| 10672 | end) | |
| 10673 | ||
| 10674 | addcmd('unfloat','disables floating',{},
| |
| 10675 | function(args, speaker) | |
| 10676 | Floating = false | |
| 10677 | local players = getPlayer(args[1], speaker) | |
| 10678 | for i,v in pairs(players)do | |
| 10679 | local pchar = gPlayers[v].Character | |
| 10680 | if pchar:FindFirstChild("Float") then
| |
| 10681 | pchar.Float:Destroy() | |
| 10682 | end | |
| 10683 | end | |
| 10684 | end) | |
| 10685 | ||
| 10686 | runningnoclip = false | |
| 10687 | Clip = true | |
| 10688 | addcmd('noclip','noclip',{},
| |
| 10689 | function(args, speaker) | |
| 10690 | if speaker.userId ~= LP.userId then | |
| 10691 | lponly(speaker) | |
| 10692 | else | |
| 10693 | Notify('Noclip enabled')
| |
| 10694 | Clip = false | |
| 10695 | if LP.Character:FindFirstChild('Torso') then
| |
| 10696 | wait(0.1) | |
| 10697 | if runningnoclip == false then runningnoclip = true | |
| 10698 | game:GetService('RunService').Stepped:connect(function ()
| |
| 10699 | if Clip == false and LP.Character ~= nil then | |
| 10700 | for _, child in pairs( LP.Character:GetDescendants()) do | |
| 10701 | if child.ClassName == 'Part' and child.CanCollide == true then | |
| 10702 | child.CanCollide = false | |
| 10703 | end end end end) end | |
| 10704 | else | |
| 10705 | r15noclip = true | |
| 10706 | end | |
| 10707 | end | |
| 10708 | end) | |
| 10709 | ||
| 10710 | addcmd('clip','clip',{},
| |
| 10711 | function(args, speaker) | |
| 10712 | if speaker.userId ~= LP.userId then | |
| 10713 | lponly(speaker) | |
| 10714 | else | |
| 10715 | Notify('Noclip disabled')
| |
| 10716 | Clip = true | |
| 10717 | r15noclip = false | |
| 10718 | wait(0.1) | |
| 10719 | if LP.Character ~= nil then | |
| 10720 | LP.Character.Torso.CanCollide = true | |
| 10721 | LP.Character.Head.CanCollide = true | |
| 10722 | end end end) | |
| 10723 | ||
| 10724 | addcmd('prefix','changes prefix',{},
| |
| 10725 | function(args, speaker) | |
| 10726 | cmdprefix = args[1] | |
| 10727 | Notify('Set prefix to "' .. args[1] .. '"')
| |
| 10728 | updatefile() | |
| 10729 | end) | |
| 10730 | ||
| 10731 | logsopen = false | |
| 10732 | addcmd('logs','shows logs',{},
| |
| 10733 | function(args, speaker) | |
| 10734 | if speaker.userId ~= LP.userId then | |
| 10735 | lponly(speaker) else | |
| 10736 | if logsopen == false then logsopen = true | |
| 10737 | logdrag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
| 10738 | end | |
| 10739 | end | |
| 10740 | end) | |
| 10741 | ||
| 10742 | local Saved = {}
| |
| 10743 | ||
| 10744 | RestorePoint = function() | |
| 10745 | Saved = {}
| |
| 10746 | for i, v in pairs(game:GetService("Workspace"):GetDescendants()) do
| |
| 10747 | v.Archivable = true; | |
| 10748 | end | |
| 10749 | for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
| |
| 10750 | if not v:IsA("Terrain") and not v:IsA("Camera") then
| |
| 10751 | if not game:GetService("Players"):FindFirstChild(v.Name) then
| |
| 10752 | table.insert(Saved, v:Clone()); | |
| 10753 | end | |
| 10754 | elseif v:IsA("Terrain") then
| |
| 10755 | Saved.Terrain = game:GetService("Workspace").Terrain:CopyRegion(game:GetService("Workspace").Terrain.MaxExtents);
| |
| 10756 | end | |
| 10757 | end | |
| 10758 | return Saved; | |
| 10759 | end | |
| 10760 | ||
| 10761 | InsertPoint = function() | |
| 10762 | if #Saved == 0 and not Saved.Terrain then | |
| 10763 | return false; | |
| 10764 | end | |
| 10765 | for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
| |
| 10766 | if not v:IsA("Camera") and not v:IsA("Terrain") then
| |
| 10767 | if not game:GetService("Players"):FindFirstChild(v.Name) then
| |
| 10768 | pcall(function() | |
| 10769 | v:Destroy() | |
| 10770 | end) | |
| 10771 | end | |
| 10772 | elseif v:IsA("Terrain") then
| |
| 10773 | v:Clear() | |
| 10774 | end | |
| 10775 | end | |
| 10776 | for i, v in ipairs(Saved) do | |
| 10777 | v:Clone().Parent = workspace; | |
| 10778 | end | |
| 10779 | game:GetService("Workspace").Terrain:PasteRegion(Saved.Terrain, game:GetService("Workspace").Terrain.MaxExtents.Min, true);
| |
| 10780 | end | |
| 10781 | ||
| 10782 | addcmd('savemap','saves current map',{'smap'},
| |
| 10783 | function(args, speaker) | |
| 10784 | RestorePoint() | |
| 10785 | Notify('Saved current map')
| |
| 10786 | end) | |
| 10787 | ||
| 10788 | addcmd('restoremap','saves current map',{'rmap'},
| |
| 10789 | function(args, speaker) | |
| 10790 | InsertPoint() | |
| 10791 | Notify('Loaded last saved map')
| |
| 10792 | end) | |
| 10793 | ||
| 10794 | addcmd('respawn','respawns',{},
| |
| 10795 | function(args, speaker) | |
| 10796 | local players = getPlayer(args[1], speaker) | |
| 10797 | for i,v in pairs(players) do | |
| 10798 | respawn(gPlayers[v]) | |
| 10799 | end | |
| 10800 | end) | |
| 10801 | ||
| 10802 | addcmd('version','shows version',{''},
| |
| 10803 | function(args, speaker) | |
| 10804 | if speaker.userId ~= LP.userId then | |
| 10805 | lponly(speaker) | |
| 10806 | else | |
| 10807 | Notify("Version is " .. Version)
| |
| 10808 | end | |
| 10809 | end) | |
| 10810 | local CTPenabled = false | |
| 10811 | Mouse.KeyDown:connect(function (Key) | |
| 10812 | if Key:byte() == 29 then | |
| 10813 | if FLYING == false then | |
| 10814 | execCmd("fly me", Player)
| |
| 10815 | elseif FLYING == true then | |
| 10816 | execCmd("unfly me", Player)
| |
| 10817 | end | |
| 10818 | end | |
| 10819 | if Key:byte() == 30 then | |
| 10820 | if Clip == true then | |
| 10821 | execCmd("noclip", Player)
| |
| 10822 | elseif Clip == false then | |
| 10823 | execCmd("clip", Player)
| |
| 10824 | end | |
| 10825 | end | |
| 10826 | Key = Key:lower() | |
| 10827 | if Key:byte() == 27 then | |
| 10828 | CTPenabled = true | |
| 10829 | end | |
| 10830 | end) | |
| 10831 | Mouse.KeyUp:connect(function(Key) | |
| 10832 | Key = Key:lower() | |
| 10833 | if Key:byte() == 27 then | |
| 10834 | CTPenabled = false | |
| 10835 | end | |
| 10836 | end) | |
| 10837 | Mouse.Button1Down:connect(function() | |
| 10838 | local charx = gPlayers.LocalPlayer.Character | |
| 10839 | if charx and CTPenabled == true then | |
| 10840 | charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0) | |
| 10841 | end | |
| 10842 | end) | |
| 10843 | ||
| 10844 | CMDbar = Instance.new('ScreenGui', game.CoreGui)
| |
| 10845 | CMDbar.Name = 'GUI' | |
| 10846 | CMDbar.DisplayOrder = 2 | |
| 10847 | cont = Instance.new("Frame")
| |
| 10848 | cmdBAR = Instance.new('TextBox', cont)
| |
| 10849 | cont.Name = "cont" | |
| 10850 | cont.BackgroundTransparency = 1 | |
| 10851 | cont.Position = UDim2.new(1, -265, 0, -75) | |
| 10852 | cont.Size = UDim2.new(0, 270, 0, 45) | |
| 10853 | cont.Parent = CMDbar | |
| 10854 | cont.ZIndex = 5 | |
| 10855 | cont.Active = true | |
| 10856 | dragGUI(cont) | |
| 10857 | cmdBAR.Name = "CMDbar" | |
| 10858 | cmdBAR.Parent = cont | |
| 10859 | cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 10860 | cmdBAR.BackgroundTransparency = 0.7 | |
| 10861 | cmdBAR.BorderColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
| 10862 | cmdBAR.BorderSizePixel = 0 | |
| 10863 | cmdBAR.Position = UDim2.new(0, 10, 1, -35) | |
| 10864 | cmdBAR.Size = UDim2.new(0, 250, 0, 25) | |
| 10865 | cmdBAR.Font = Enum.Font.SourceSans | |
| 10866 | cmdBAR.FontSize = Enum.FontSize.Size18 | |
| 10867 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
| 10868 | cmdBAR.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
| 10869 | cmdBAR.ZIndex = 5 | |
| 10870 | DATA = Instance.new('Folder', game.ContextActionService)
| |
| 10871 | DATA.Name = 'Data' | |
| 10872 | Paper = Instance.new('BlockMesh', DATA)
| |
| 10873 | Paper.Name = 'Paper' | |
| 10874 | Paper.Scale = Vector3.new(1,1,0.1) | |
| 10875 | ayylmao = Instance.new('Hat', DATA)
| |
| 10876 | ayylmao.Name = 'ayylmao' | |
| 10877 | ayyHandle = Instance.new('Part', ayylmao)
| |
| 10878 | ayyHandle.Name = 'Handle' | |
| 10879 | ayyHandle.Size = Vector3.new(2,2.4,2) | |
| 10880 | ayyHandle.FormFactor = 'Plate' | |
| 10881 | ayyMesh = Instance.new('SpecialMesh', ayyHandle)
| |
| 10882 | ayyMesh.Scale = Vector3.new(1,1.02,1) | |
| 10883 | ayyMesh.MeshType = 'FileMesh' | |
| 10884 | ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689' | |
| 10885 | ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796' | |
| 10886 | Float = Instance.new('Part', DATA)
| |
| 10887 | Float.Name = 'Float' | |
| 10888 | Float.Transparency = 1 | |
| 10889 | Float.Size = Vector3.new(6,1,6) | |
| 10890 | Float.Anchored = true | |
| 10891 | function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end | |
| 10892 | missile = Instance.new('Part', DATA)
| |
| 10893 | missile.Name = 'IY_missile' | |
| 10894 | missile.CanCollide = false | |
| 10895 | missile.Size = Vector3.new(2, 5, 2) | |
| 10896 | Instance.new('CylinderMesh', missile)
| |
| 10897 | local F = Instance.new('Part', missile)
| |
| 10898 | F.BrickColor = BrickColor.new('Black')
| |
| 10899 | F.CanCollide = false | |
| 10900 | F.Size = Vector3.new(2, 0.2, 2) | |
| 10901 | Instance.new('CylinderMesh', F)
| |
| 10902 | local fire = Instance.new('Fire', F)
| |
| 10903 | fire.Size = "15" | |
| 10904 | fire.Heat = "25" | |
| 10905 | local head = Instance.new('Part', missile)
| |
| 10906 | head.CanCollide = false | |
| 10907 | head.Shape = 'Ball' | |
| 10908 | head.Size = Vector3.new(2, 2, 2) | |
| 10909 | head.TopSurface = 'Smooth' | |
| 10910 | head.BottomSurface = 'Smooth' | |
| 10911 | local BF = Instance.new('BodyForce', missile)
| |
| 10912 | BF.Name = 'force' | |
| 10913 | BF.Force = Vector3.new(0, 0, 0) | |
| 10914 | local W1 = Instance.new('Weld', missile)
| |
| 10915 | W1.Part0 = missile | |
| 10916 | W1.Part1 = F | |
| 10917 | W1.C1 = CFrame.new(0, 2.6, 0) | |
| 10918 | local W2 = Instance.new('Weld', missile)
| |
| 10919 | W2.Part0 = missile | |
| 10920 | W2.Part1 = head | |
| 10921 | W2.C1 = CFrame.new(0, -2.6, 0) | |
| 10922 | jail = Instance.new('Model', DATA)
| |
| 10923 | jail.Name = 'JAIL' | |
| 10924 | local B = Instance.new('Part', jail)
| |
| 10925 | B.Name = 'BUTTOM' | |
| 10926 | B.BrickColor = BrickColor.new('Black')
| |
| 10927 | B.Transparency = 0.5 | |
| 10928 | B.Anchored = true | |
| 10929 | B.Locked = true | |
| 10930 | B.Size = Vector3.new(6, 1, 6) | |
| 10931 | B.TopSurface = 'Smooth' | |
| 10932 | B.BottomSurface = 'Smooth' | |
| 10933 | local M = Instance.new('Part', jail)
| |
| 10934 | M.Name = 'MAIN' | |
| 10935 | M.BrickColor = BrickColor.new('Black')
| |
| 10936 | M.Transparency = 1 | |
| 10937 | M.Anchored = true | |
| 10938 | M.CanCollide = false | |
| 10939 | M.Locked = true | |
| 10940 | M.Position = B.Position + Vector3.new(0, 3, 0) | |
| 10941 | M.Size = Vector3.new(1, 1, 1) | |
| 10942 | local P1 = Instance.new('Part', jail)
| |
| 10943 | P1.BrickColor = BrickColor.new('Black')
| |
| 10944 | P1.Transparency = 0.5 | |
| 10945 | P1.Position = B.Position + Vector3.new(0, 3.5, -2.5) | |
| 10946 | P1.Rotation = Vector3.new(0, 90, 0) | |
| 10947 | P1.Anchored = true | |
| 10948 | P1.Locked = true | |
| 10949 | P1.Size = Vector3.new(1, 6, 6) | |
| 10950 | local P2 = Instance.new('Part', jail)
| |
| 10951 | P2.BrickColor = BrickColor.new('Black')
| |
| 10952 | P2.Transparency = 0.5 | |
| 10953 | P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0) | |
| 10954 | P2.Rotation = Vector3.new(-180, 0, -180) | |
| 10955 | P2.Anchored = true | |
| 10956 | P2.Locked = true | |
| 10957 | P2.Size = Vector3.new(1, 6, 4) | |
| 10958 | local P3 = Instance.new('Part', jail)
| |
| 10959 | P3.BrickColor = BrickColor.new('Black')
| |
| 10960 | P3.Transparency = 0.5 | |
| 10961 | P3.Position = B.Position + Vector3.new(2.5, 3.5, 0) | |
| 10962 | P3.Rotation = Vector3.new(0, 0, 0) | |
| 10963 | P3.Anchored = true | |
| 10964 | P3.Locked = true | |
| 10965 | P3.Size = Vector3.new(1, 6, 4) | |
| 10966 | local P4 = Instance.new('Part', jail)
| |
| 10967 | P4.BrickColor = BrickColor.new('Black')
| |
| 10968 | P4.Transparency = 0.5 | |
| 10969 | P4.Position = B.Position + Vector3.new(0, 3.5, 2.5) | |
| 10970 | P4.Rotation = Vector3.new(0, 90, 0) | |
| 10971 | P4.Anchored = true | |
| 10972 | P4.Locked = true | |
| 10973 | P4.Size = Vector3.new(1, 6, 6) | |
| 10974 | local TOP = Instance.new('Part', jail)
| |
| 10975 | TOP.BrickColor = BrickColor.new('Black')
| |
| 10976 | TOP.Transparency = 0.5 | |
| 10977 | TOP.Position = B.Position + Vector3.new(0, 7, 0) | |
| 10978 | TOP.Rotation = Vector3.new(0, 0, 0) | |
| 10979 | TOP.Anchored = true | |
| 10980 | TOP.Locked = true | |
| 10981 | TOP.Size = Vector3.new(6, 1, 6) | |
| 10982 | TOP.TopSurface = 'Smooth' | |
| 10983 | TOP.BottomSurface = 'Smooth' | |
| 10984 | cp = Instance.new("ScreenGui")
| |
| 10985 | local Frame = Instance.new("Frame")
| |
| 10986 | local holder = Instance.new("Frame")
| |
| 10987 | bar = Instance.new("Frame")
| |
| 10988 | local cmds = Instance.new("TextButton")
| |
| 10989 | local settings = Instance.new("TextButton")
| |
| 10990 | local Hide = Instance.new("TextButton")
| |
| 10991 | local Exit = Instance.new("TextButton")
| |
| 10992 | FeedbackMain = Instance.new("Frame")
| |
| 10993 | local Title = Instance.new("TextLabel")
| |
| 10994 | local checkboxText = Instance.new("TextLabel")
| |
| 10995 | local CheckBox = Instance.new("ImageButton")
| |
| 10996 | local bindInput = Instance.new("TextButton")
| |
| 10997 | Input = Instance.new("TextBox")
| |
| 10998 | local preText = Instance.new("TextLabel")
| |
| 10999 | local setpre = Instance.new("TextButton")
| |
| 11000 | local everyone = Instance.new("TextButton")
| |
| 11001 | local JLtext = Instance.new("TextLabel")
| |
| 11002 | local CheckBoxJL = Instance.new("ImageButton")
| |
| 11003 | local friends = Instance.new("TextButton")
| |
| 11004 | local InputBox = Instance.new("TextButton")
| |
| 11005 | Input_2 = Instance.new("TextBox")
| |
| 11006 | local MTText = Instance.new("TextLabel")
| |
| 11007 | local setMT = Instance.new("TextButton")
| |
| 11008 | local CheckBoxS = Instance.new("ImageButton")
| |
| 11009 | local slocktext = Instance.new("TextLabel")
| |
| 11010 | local barBind = Instance.new("TextLabel")
| |
| 11011 | local setBind = Instance.new("TextButton")
| |
| 11012 | local MtimeInput = Instance.new("TextButton")
| |
| 11013 | Input_3 = Instance.new("TextBox")
| |
| 11014 | local size = Instance.new("Frame")
| |
| 11015 | MAIN = Instance.new("Frame")
| |
| 11016 | local Title_2 = Instance.new("TextLabel")
| |
| 11017 | local Example = Instance.new("TextLabel")
| |
| 11018 | local Search = Instance.new("TextBox")
| |
| 11019 | local CMDss = Instance.new("ScrollingFrame")
| |
| 11020 | local uicolortext = Instance.new("TextLabel")
| |
| 11021 | local openC = Instance.new("TextButton")
| |
| 11022 | cp.Name = "cp" | |
| 11023 | cp.Parent = DATA | |
| 11024 | Frame.Parent = cp | |
| 11025 | Frame.Active = true | |
| 11026 | Frame.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11027 | Frame.BackgroundTransparency = 1 | |
| 11028 | Frame.Position = UDim2.new(1, -300, 1, -330) | |
| 11029 | Frame.Size = UDim2.new(0, 300, 0, 40) | |
| 11030 | holder.Name = "holder" | |
| 11031 | holder.Parent = Frame | |
| 11032 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11033 | holder.BackgroundTransparency = 1 | |
| 11034 | holder.BorderSizePixel = 2 | |
| 11035 | holder.ClipsDescendants = true | |
| 11036 | holder.Size = UDim2.new(0, 300, 0, 330) | |
| 11037 | holder.ZIndex = 2 | |
| 11038 | bar.Name = "bar" | |
| 11039 | bar.Parent = holder | |
| 11040 | bar.BackgroundColor3 = maincolor | |
| 11041 | bar.BackgroundTransparency = 0.30000001192093 | |
| 11042 | bar.BorderColor3 = Color3.new(0, 0, 0) | |
| 11043 | bar.BorderSizePixel = 0 | |
| 11044 | bar.Position = UDim2.new(1, -295, 1, -330) | |
| 11045 | bar.Size = UDim2.new(0, 290, 0, 26) | |
| 11046 | cmds.Name = "cmds" | |
| 11047 | cmds.Parent = bar | |
| 11048 | cmds.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 11049 | cmds.BackgroundTransparency = 0.80000001192093 | |
| 11050 | cmds.BorderColor3 = Color3.new(1, 1, 1) | |
| 11051 | cmds.Position = UDim2.new(0, 3, 0, 3) | |
| 11052 | cmds.Size = UDim2.new(0, 70, 0, 20) | |
| 11053 | cmds.Font = Enum.Font.SourceSans | |
| 11054 | cmds.FontSize = Enum.FontSize.Size14 | |
| 11055 | cmds.Text = "Commands" | |
| 11056 | cmds.TextColor3 = Color3.new(1, 1, 1) | |
| 11057 | settings.Name = "settings" | |
| 11058 | settings.Parent = bar | |
| 11059 | settings.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 11060 | settings.BackgroundTransparency = 0.80000001192093 | |
| 11061 | settings.BorderColor3 = Color3.new(1, 1, 1) | |
| 11062 | settings.Position = UDim2.new(0, 77, 0, 3) | |
| 11063 | settings.Size = UDim2.new(0, 70, 0, 20) | |
| 11064 | settings.Font = Enum.Font.SourceSans | |
| 11065 | settings.FontSize = Enum.FontSize.Size14 | |
| 11066 | settings.Text = "Settings" | |
| 11067 | settings.TextColor3 = Color3.new(1, 1, 1) | |
| 11068 | Hide.Name = "Hide" | |
| 11069 | Hide.Parent = bar | |
| 11070 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11071 | Hide.BackgroundTransparency = 0.30000001192093 | |
| 11072 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
| 11073 | Hide.BorderSizePixel = 0 | |
| 11074 | Hide.Position = UDim2.new(0, 243, 0, 3) | |
| 11075 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
| 11076 | Hide.FontSize = Enum.FontSize.Size14 | |
| 11077 | Hide.Text = "" | |
| 11078 | Exit.Name = "Exit" | |
| 11079 | Exit.Parent = bar | |
| 11080 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 11081 | Exit.BackgroundTransparency = 0.30000001192093 | |
| 11082 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
| 11083 | Exit.BorderSizePixel = 0 | |
| 11084 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
| 11085 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
| 11086 | Exit.FontSize = Enum.FontSize.Size14 | |
| 11087 | Exit.Text = "" | |
| 11088 | FeedbackMain.Name = "FeedbackMain" | |
| 11089 | FeedbackMain.Parent = holder | |
| 11090 | FeedbackMain.BackgroundColor3 = maincolor | |
| 11091 | FeedbackMain.BackgroundTransparency = 0.5 | |
| 11092 | FeedbackMain.BorderColor3 = Color3.new(0, 0, 0) | |
| 11093 | FeedbackMain.BorderSizePixel = 0 | |
| 11094 | FeedbackMain.Position = UDim2.new(1.01999998, -301, 1.01800001, -310) | |
| 11095 | FeedbackMain.Size = UDim2.new(0, 290, 0, 300) | |
| 11096 | Title.Name = "Title" | |
| 11097 | Title.Parent = FeedbackMain | |
| 11098 | Title.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11099 | Title.BackgroundTransparency = 1 | |
| 11100 | Title.Size = UDim2.new(1, 0, 0, 30) | |
| 11101 | Title.Font = Enum.Font.SourceSansBold | |
| 11102 | Title.FontSize = Enum.FontSize.Size24 | |
| 11103 | Title.Text = "Settings" | |
| 11104 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 11105 | Title.TextStrokeTransparency = 0 | |
| 11106 | checkboxText.Name = "checkboxText" | |
| 11107 | checkboxText.Parent = FeedbackMain | |
| 11108 | checkboxText.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11109 | checkboxText.BackgroundTransparency = 1 | |
| 11110 | checkboxText.Position = UDim2.new(0, 0, 0, 60) | |
| 11111 | checkboxText.Size = UDim2.new(1, 0, 0, 30) | |
| 11112 | checkboxText.Font = Enum.Font.SourceSansBold | |
| 11113 | checkboxText.FontSize = Enum.FontSize.Size18 | |
| 11114 | checkboxText.Text = " Suggestions" | |
| 11115 | checkboxText.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471) | |
| 11116 | checkboxText.TextStrokeTransparency = 0 | |
| 11117 | checkboxText.TextXAlignment = Enum.TextXAlignment.Left | |
| 11118 | CheckBox.Name = "CheckBox" | |
| 11119 | CheckBox.Parent = FeedbackMain | |
| 11120 | CheckBox.BackgroundTransparency = 1 | |
| 11121 | CheckBox.Position = UDim2.new(0, 240, 0, 60) | |
| 11122 | CheckBox.Size = UDim2.new(0, 30, 0, 30) | |
| 11123 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
| 11124 | bindInput.Name = "bindInput" | |
| 11125 | bindInput.Parent = FeedbackMain | |
| 11126 | bindInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11127 | bindInput.Position = UDim2.new(0, 187, 0, 260) | |
| 11128 | bindInput.Size = UDim2.new(0, 30, 0, 30) | |
| 11129 | bindInput.AutoButtonColor = false | |
| 11130 | bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 11131 | bindInput.Font = Enum.Font.SourceSans | |
| 11132 | bindInput.FontSize = Enum.FontSize.Size14 | |
| 11133 | bindInput.Text = "" | |
| 11134 | Input.Name = "Input" | |
| 11135 | Input.Parent = bindInput | |
| 11136 | Input.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11137 | Input.BackgroundTransparency = 1 | |
| 11138 | Input.Position = UDim2.new(0, -8, 0, -8) | |
| 11139 | Input.Size = UDim2.new(0, 20, 0, 20) | |
| 11140 | Input.Font = Enum.Font.SourceSansBold | |
| 11141 | Input.FontSize = Enum.FontSize.Size18 | |
| 11142 | Input.MultiLine = true | |
| 11143 | Input.Text = ";" | |
| 11144 | Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 11145 | Input.TextWrapped = true | |
| 11146 | Input.TextYAlignment = Enum.TextYAlignment.Top | |
| 11147 | preText.Name = "preText" | |
| 11148 | preText.Parent = FeedbackMain | |
| 11149 | preText.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11150 | preText.BackgroundTransparency = 1 | |
| 11151 | preText.Position = UDim2.new(0, 0, 0, 140) | |
| 11152 | preText.Size = UDim2.new(1, 0, 0, 30) | |
| 11153 | preText.Font = Enum.Font.SourceSansBold | |
| 11154 | preText.FontSize = Enum.FontSize.Size18 | |
| 11155 | preText.Text = " Prefix" | |
| 11156 | preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 11157 | preText.TextStrokeTransparency = 0 | |
| 11158 | preText.TextXAlignment = Enum.TextXAlignment.Left | |
| 11159 | setpre.Name = "setpre" | |
| 11160 | setpre.Parent = FeedbackMain | |
| 11161 | setpre.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11162 | setpre.BorderSizePixel = 5 | |
| 11163 | setpre.Position = UDim2.new(0, 235, 0, 142) | |
| 11164 | setpre.Size = UDim2.new(0, 40, 0, 25) | |
| 11165 | setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 11166 | setpre.Font = Enum.Font.ArialBold | |
| 11167 | setpre.FontSize = Enum.FontSize.Size18 | |
| 11168 | setpre.Text = "Set" | |
| 11169 | everyone.Name = "everyone" | |
| 11170 | everyone.Parent = FeedbackMain | |
| 11171 | everyone.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 11172 | everyone.BackgroundTransparency = 0.80000001192093 | |
| 11173 | everyone.BorderColor3 = Color3.new(0, 0, 0) | |
| 11174 | everyone.Position = UDim2.new(0, 230, 0, 237) | |
| 11175 | everyone.Size = UDim2.new(0, 50, 0, 20) | |
| 11176 | everyone.Font = Enum.Font.SourceSans | |
| 11177 | everyone.FontSize = Enum.FontSize.Size14 | |
| 11178 | everyone.Text = "Everyone" | |
| 11179 | everyone.TextColor3 = Color3.new(1, 1, 1) | |
| 11180 | JLtext.Name = "JLtext" | |
| 11181 | JLtext.Parent = FeedbackMain | |
| 11182 | JLtext.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11183 | JLtext.BackgroundTransparency = 1 | |
| 11184 | JLtext.Position = UDim2.new(0, 0, 0, 220) | |
| 11185 | JLtext.Size = UDim2.new(1, 0, 0, 30) | |
| 11186 | JLtext.Font = Enum.Font.SourceSansBold | |
| 11187 | JLtext.FontSize = Enum.FontSize.Size18 | |
| 11188 | JLtext.Text = " Joined/Left Notifications" | |
| 11189 | JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 11190 | JLtext.TextStrokeTransparency = 0 | |
| 11191 | JLtext.TextXAlignment = Enum.TextXAlignment.Left | |
| 11192 | CheckBoxJL.Name = "CheckBoxJL" | |
| 11193 | CheckBoxJL.Parent = FeedbackMain | |
| 11194 | CheckBoxJL.BackgroundTransparency = 1 | |
| 11195 | CheckBoxJL.Position = UDim2.new(0, 187, 0, 220) | |
| 11196 | CheckBoxJL.Size = UDim2.new(0, 30, 0, 30) | |
| 11197 | CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641" | |
| 11198 | friends.Name = "friends" | |
| 11199 | friends.Parent = FeedbackMain | |
| 11200 | friends.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 11201 | friends.BackgroundTransparency = 0.80000001192093 | |
| 11202 | friends.BorderColor3 = Color3.new(1, 1, 1) | |
| 11203 | friends.Position = UDim2.new(0, 230, 0, 215) | |
| 11204 | friends.Size = UDim2.new(0, 50, 0, 20) | |
| 11205 | friends.Font = Enum.Font.SourceSans | |
| 11206 | friends.FontSize = Enum.FontSize.Size14 | |
| 11207 | friends.Text = "Friends" | |
| 11208 | friends.TextColor3 = Color3.new(1, 1, 1) | |
| 11209 | InputBox.Name = "InputBox" | |
| 11210 | InputBox.Parent = FeedbackMain | |
| 11211 | InputBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11212 | InputBox.Position = UDim2.new(0, 187, 0, 140) | |
| 11213 | InputBox.Size = UDim2.new(0, 30, 0, 30) | |
| 11214 | InputBox.AutoButtonColor = false | |
| 11215 | InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 11216 | InputBox.Font = Enum.Font.SourceSans | |
| 11217 | InputBox.FontSize = Enum.FontSize.Size14 | |
| 11218 | InputBox.Text = "" | |
| 11219 | Input_2.Name = "Input" | |
| 11220 | Input_2.Parent = InputBox | |
| 11221 | Input_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11222 | Input_2.BackgroundTransparency = 1 | |
| 11223 | Input_2.Position = UDim2.new(0, -8, 0, -8) | |
| 11224 | Input_2.Size = UDim2.new(0, 20, 0, 20) | |
| 11225 | Input_2.Font = Enum.Font.SourceSansBold | |
| 11226 | Input_2.FontSize = Enum.FontSize.Size18 | |
| 11227 | Input_2.MultiLine = true | |
| 11228 | Input_2.Text = ";" | |
| 11229 | Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 11230 | Input_2.TextWrapped = true | |
| 11231 | Input_2.TextYAlignment = Enum.TextYAlignment.Top | |
| 11232 | MTText.Name = "MTText" | |
| 11233 | MTText.Parent = FeedbackMain | |
| 11234 | MTText.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11235 | MTText.BackgroundTransparency = 1 | |
| 11236 | MTText.Position = UDim2.new(0, 0, 0, 180) | |
| 11237 | MTText.Size = UDim2.new(1, 0, 0, 30) | |
| 11238 | MTText.Font = Enum.Font.SourceSansBold | |
| 11239 | MTText.FontSize = Enum.FontSize.Size18 | |
| 11240 | MTText.Text = " Message Seconds" | |
| 11241 | MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 11242 | MTText.TextStrokeTransparency = 0 | |
| 11243 | MTText.TextXAlignment = Enum.TextXAlignment.Left | |
| 11244 | setMT.Name = "setMT" | |
| 11245 | setMT.Parent = FeedbackMain | |
| 11246 | setMT.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11247 | setMT.BorderSizePixel = 5 | |
| 11248 | setMT.Position = UDim2.new(0, 235, 0, 183) | |
| 11249 | setMT.Size = UDim2.new(0, 40, 0, 25) | |
| 11250 | setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 11251 | setMT.Font = Enum.Font.ArialBold | |
| 11252 | setMT.FontSize = Enum.FontSize.Size18 | |
| 11253 | setMT.Text = "Set" | |
| 11254 | CheckBoxS.Name = "CheckBoxS" | |
| 11255 | CheckBoxS.Parent = FeedbackMain | |
| 11256 | CheckBoxS.BackgroundTransparency = 1 | |
| 11257 | CheckBoxS.Position = UDim2.new(0, 240, 0, 100) | |
| 11258 | CheckBoxS.Size = UDim2.new(0, 30, 0, 30) | |
| 11259 | CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641" | |
| 11260 | slocktext.Name = "slocktext" | |
| 11261 | slocktext.Parent = FeedbackMain | |
| 11262 | slocktext.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11263 | slocktext.BackgroundTransparency = 1 | |
| 11264 | slocktext.Position = UDim2.new(0, 0, 0, 100) | |
| 11265 | slocktext.Size = UDim2.new(1, 0, 0, 30) | |
| 11266 | slocktext.Font = Enum.Font.SourceSansBold | |
| 11267 | slocktext.FontSize = Enum.FontSize.Size18 | |
| 11268 | slocktext.Text = " Allow Friends On Serverlock" | |
| 11269 | slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 11270 | slocktext.TextStrokeTransparency = 0 | |
| 11271 | slocktext.TextXAlignment = Enum.TextXAlignment.Left | |
| 11272 | barBind.Name = "barBind" | |
| 11273 | barBind.Parent = FeedbackMain | |
| 11274 | barBind.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11275 | barBind.BackgroundTransparency = 1 | |
| 11276 | barBind.Position = UDim2.new(0, 0, 0, 260) | |
| 11277 | barBind.Size = UDim2.new(1, 0, 0, 30) | |
| 11278 | barBind.Font = Enum.Font.SourceSansBold | |
| 11279 | barBind.FontSize = Enum.FontSize.Size18 | |
| 11280 | barBind.Text = " Command Bar Keybind" | |
| 11281 | barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 11282 | barBind.TextStrokeTransparency = 0 | |
| 11283 | barBind.TextXAlignment = Enum.TextXAlignment.Left | |
| 11284 | setBind.Name = "setBind" | |
| 11285 | setBind.Parent = FeedbackMain | |
| 11286 | setBind.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11287 | setBind.BorderSizePixel = 5 | |
| 11288 | setBind.Position = UDim2.new(0, 235, 0, 262) | |
| 11289 | setBind.Size = UDim2.new(0, 40, 0, 25) | |
| 11290 | setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 11291 | setBind.Font = Enum.Font.ArialBold | |
| 11292 | setBind.FontSize = Enum.FontSize.Size18 | |
| 11293 | setBind.Text = "Set" | |
| 11294 | MtimeInput.Name = "MtimeInput" | |
| 11295 | MtimeInput.Parent = FeedbackMain | |
| 11296 | MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11297 | MtimeInput.Position = UDim2.new(0, 187, 0, 180) | |
| 11298 | MtimeInput.Size = UDim2.new(0, 30, 0, 30) | |
| 11299 | MtimeInput.AutoButtonColor = false | |
| 11300 | MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 11301 | MtimeInput.Font = Enum.Font.SourceSans | |
| 11302 | MtimeInput.FontSize = Enum.FontSize.Size14 | |
| 11303 | MtimeInput.Text = "" | |
| 11304 | Input_3.Name = "Input" | |
| 11305 | Input_3.Parent = MtimeInput | |
| 11306 | Input_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11307 | Input_3.BackgroundTransparency = 1 | |
| 11308 | Input_3.Position = UDim2.new(0, -8, 0, -8) | |
| 11309 | Input_3.Size = UDim2.new(0, 20, 0, 20) | |
| 11310 | Input_3.Font = Enum.Font.SourceSansBold | |
| 11311 | Input_3.FontSize = Enum.FontSize.Size18 | |
| 11312 | Input_3.MultiLine = true | |
| 11313 | Input_3.Text = "7" | |
| 11314 | Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 11315 | Input_3.TextWrapped = true | |
| 11316 | Input_3.TextYAlignment = Enum.TextYAlignment.Top | |
| 11317 | uicolortext.Name = "uicolortext" | |
| 11318 | uicolortext.Parent = FeedbackMain | |
| 11319 | uicolortext.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11320 | uicolortext.BackgroundTransparency = 1 | |
| 11321 | uicolortext.Position = UDim2.new(0, 0, 0, 30) | |
| 11322 | uicolortext.Size = UDim2.new(1, 0, 0, 30) | |
| 11323 | uicolortext.Font = Enum.Font.SourceSansBold | |
| 11324 | uicolortext.FontSize = Enum.FontSize.Size18 | |
| 11325 | uicolortext.Text = " UI Color" | |
| 11326 | uicolortext.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471) | |
| 11327 | uicolortext.TextStrokeTransparency = 0 | |
| 11328 | uicolortext.TextXAlignment = Enum.TextXAlignment.Left | |
| 11329 | openC.Name = "openC" | |
| 11330 | openC.Parent = FeedbackMain | |
| 11331 | openC.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11332 | openC.BorderSizePixel = 5 | |
| 11333 | openC.Position = UDim2.new(0, 235, 0, 32) | |
| 11334 | openC.Size = UDim2.new(0, 40, 0, 25) | |
| 11335 | openC.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 11336 | openC.Font = Enum.Font.ArialBold | |
| 11337 | openC.FontSize = Enum.FontSize.Size18 | |
| 11338 | openC.Text = "Set" | |
| 11339 | size.Name = "size" | |
| 11340 | size.Parent = holder | |
| 11341 | size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
| 11342 | size.BackgroundTransparency = 1 | |
| 11343 | size.Position = UDim2.new(1, -301, 1, -300) | |
| 11344 | size.Size = UDim2.new(0, 275, 0, 300) | |
| 11345 | size.ZIndex = 2 | |
| 11346 | MAIN.Name = "MAIN" | |
| 11347 | MAIN.Parent = size | |
| 11348 | MAIN.BackgroundColor3 = maincolor | |
| 11349 | MAIN.BackgroundTransparency = 0.5 | |
| 11350 | MAIN.BorderColor3 = Color3.new(0, 0, 0) | |
| 11351 | MAIN.BorderSizePixel = 0 | |
| 11352 | MAIN.Position = UDim2.new(0.0181818176, 1, 1.00333333, -305) | |
| 11353 | MAIN.Size = UDim2.new(0, 290, 0, 300) | |
| 11354 | Title_2.Name = "Title" | |
| 11355 | Title_2.Parent = MAIN | |
| 11356 | Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
| 11357 | Title_2.BackgroundTransparency = 1 | |
| 11358 | Title_2.Size = UDim2.new(1, 0, 0, 30) | |
| 11359 | Title_2.Font = Enum.Font.SourceSansBold | |
| 11360 | Title_2.FontSize = Enum.FontSize.Size24 | |
| 11361 | Title_2.Text = "Commands" | |
| 11362 | Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 11363 | Title_2.TextStrokeTransparency = 0 | |
| 11364 | Example.Name = "Example" | |
| 11365 | Example.Parent = MAIN | |
| 11366 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 11367 | Example.BackgroundTransparency = 1 | |
| 11368 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 11369 | Example.BorderSizePixel = 0 | |
| 11370 | Example.Size = UDim2.new(0, 190, 0, 20) | |
| 11371 | Example.Visible = false | |
| 11372 | Example.Font = Enum.Font.SourceSansBold | |
| 11373 | Example.TextSize = 20 | |
| 11374 | Example.Text = "txt" | |
| 11375 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
| 11376 | Example.TextStrokeTransparency = 0 | |
| 11377 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
| 11378 | Example.ZIndex = 6 | |
| 11379 | Search.Name = "Search" | |
| 11380 | Search.Parent = MAIN | |
| 11381 | Search.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 11382 | Search.BackgroundTransparency = 0.69999998807907 | |
| 11383 | Search.BorderColor3 = Color3.new(1, 1, 1) | |
| 11384 | Search.Position = UDim2.new(0.5, -127, 0.200000003, -25) | |
| 11385 | Search.Size = UDim2.new(0, 250, 0, 20) | |
| 11386 | Search.ClearTextOnFocus = false | |
| 11387 | Search.Font = Enum.Font.SourceSansBold | |
| 11388 | Search.FontSize = Enum.FontSize.Size18 | |
| 11389 | Search.Text = "Search" | |
| 11390 | Search.TextColor3 = Color3.new(1, 1, 1) | |
| 11391 | Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824) | |
| 11392 | Search.TextStrokeTransparency = 0 | |
| 11393 | CMDss.Name = "CMDs" | |
| 11394 | CMDss.Parent = MAIN | |
| 11395 | CMDss.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 11396 | CMDss.BackgroundTransparency = 1 | |
| 11397 | CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 11398 | CMDss.BorderSizePixel = 0 | |
| 11399 | CMDss.Position = UDim2.new(0, 10, 0, 65) | |
| 11400 | CMDss.Size = UDim2.new(0, 280, 0, 230) | |
| 11401 | CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 11402 | CMDss.CanvasSize = UDim2.new(0, 0, 0, 5260) | |
| 11403 | CMDss.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 11404 | CMDss.ScrollBarThickness = 8 | |
| 11405 | CMDss.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 11406 | notifyMAIN = Instance.new('ScreenGui', DATA)
| |
| 11407 | notifyMAIN.Name = 'Notification' | |
| 11408 | notifyNOT = Instance.new('Frame', notifyMAIN)
| |
| 11409 | notifyNOT.Name = 'NOTIFY' | |
| 11410 | notifyNOT.BackgroundColor = BrickColor.new(0,0,0) | |
| 11411 | notifyNOT.BackgroundTransparency = 1 | |
| 11412 | notifyNOT.BorderColor = BrickColor.new(0,0,0) | |
| 11413 | notifyNOT.BorderSizePixel = 2 | |
| 11414 | notifyNOT.Position = UDim2.new(0,0,-0.06,0) | |
| 11415 | notifyNOT.Size = UDim2.new(1,0,0,-40) | |
| 11416 | notifyNOTE = Instance.new('TextLabel', notifyNOT)
| |
| 11417 | notifyNOTE.Name = 'NOTE' | |
| 11418 | notifyNOTE.BackgroundColor = BrickColor.new(255,255,255) | |
| 11419 | notifyNOTE.BackgroundTransparency = 1 | |
| 11420 | notifyNOTE.BorderColor = BrickColor.new(255,255,255) | |
| 11421 | notifyNOTE.BorderSizePixel = 0 | |
| 11422 | notifyNOTE.Size = UDim2.new(1,0,1,0) | |
| 11423 | notifyNOTE.ZIndex = 4 | |
| 11424 | notifyNOTE.FontSize = 'Size18' | |
| 11425 | notifyNOTE.Font = 'SourceSansBold' | |
| 11426 | notifyNOTE.Text = 'NOTIFY' | |
| 11427 | notifyNOTE.TextColor = BrickColor.new(255,255,255) | |
| 11428 | notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0) | |
| 11429 | notifyNOTE.TextStrokeTransparency = 0.8 | |
| 11430 | ||
| 11431 | addcmd('ayylmao','ayy lmao',{'alien'},
| |
| 11432 | function(args, speaker) | |
| 11433 | local players = getPlayer(args[1], speaker) | |
| 11434 | for i,v in pairs(players)do | |
| 11435 | local pchar = gPlayers[v].Character | |
| 11436 | if pchar:FindFirstChild("Shirt") then
| |
| 11437 | pchar.Shirt:Destroy() | |
| 11438 | end | |
| 11439 | if pchar:FindFirstChild("Pants") then
| |
| 11440 | pchar.Pants:Destroy() | |
| 11441 | end | |
| 11442 | if pchar:FindFirstChild("Shirt Graphic") then
| |
| 11443 | pchar["Shirt Graphic"].Graphic = "" | |
| 11444 | end | |
| 11445 | for i,v in pairs(pchar:GetChildren()) do | |
| 11446 | if v:IsA("Accessory") then
| |
| 11447 | v:Destroy() | |
| 11448 | end | |
| 11449 | end | |
| 11450 | local ayylmao = DATA.ayylmao:Clone() | |
| 11451 | ayylmao.Parent = pchar | |
| 11452 | local BC = pchar["Body Colors"] | |
| 11453 | BC.HeadColor = BrickColor.new("Fossil")
| |
| 11454 | BC.LeftArmColor = BrickColor.new("Fossil")
| |
| 11455 | BC.LeftLegColor = BrickColor.new("Fossil")
| |
| 11456 | BC.RightArmColor = BrickColor.new("Fossil")
| |
| 11457 | BC.RightLegColor = BrickColor.new("Fossil")
| |
| 11458 | BC.TorsoColor = BrickColor.new("Fossil")
| |
| 11459 | end | |
| 11460 | end) | |
| 11461 | HKFolder = Instance.new("Folder", game.CoreGui)
| |
| 11462 | for i,v in pairs(HK) do | |
| 11463 | local HKValue = Instance.new("StringValue", HKFolder)
| |
| 11464 | HKValue.Value = v | |
| 11465 | HKValue.RobloxLocked = true | |
| 11466 | end | |
| 11467 | CMDsFolder = Instance.new("Folder", game.CoreGui)
| |
| 11468 | for i,v in pairs(CMDs) do | |
| 11469 | local CMDsValue = Instance.new("StringValue", CMDsFolder)
| |
| 11470 | CMDsValue.Value = v | |
| 11471 | CMDsValue.RobloxLocked = true | |
| 11472 | end | |
| 11473 | cmdOpen = false | |
| 11474 | function commands() | |
| 11475 | if cmdOpen == false then | |
| 11476 | cmdOpen = true | |
| 11477 | local cmds = cp:Clone() | |
| 11478 | cmds.Parent = game.CoreGui | |
| 11479 | local HKV = HKFolder:GetChildren() | |
| 11480 | local CMDsV = CMDsFolder:GetChildren() | |
| 11481 | dragGUI(cmds.Frame) | |
| 11482 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.01,true) wait(0.01) | |
| 11483 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
| 11484 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) | |
| 11485 | SettingsGUI = game.CoreGui.cp.Frame.holder if Nfriends == true then | |
| 11486 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
| 11487 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif Nfriends == false then | |
| 11488 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
| 11489 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
| 11490 | end | |
| 11491 | --joined/left friend option | |
| 11492 | SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() | |
| 11493 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
| 11494 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) | |
| 11495 | Nfriends = true updatefile() | |
| 11496 | end) | |
| 11497 | SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() | |
| 11498 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
| 11499 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
| 11500 | Nfriends = false updatefile() | |
| 11501 | end) | |
| 11502 | -- Color mixer | |
| 11503 | SettingsGUI.FeedbackMain.openC.MouseButton1Click:Connect(function() | |
| 11504 | picker.ColorPicker.Visible = true picker.ColorPicker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
| 11505 | end) | |
| 11506 | --Message time | |
| 11507 | SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function() | |
| 11508 | wait() | |
| 11509 | Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text | |
| 11510 | Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)')
| |
| 11511 | updatefile() | |
| 11512 | end) | |
| 11513 | --CMDBAR keybind | |
| 11514 | SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function() | |
| 11515 | wait() | |
| 11516 | cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text | |
| 11517 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
| 11518 | Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' )
| |
| 11519 | updatefile() | |
| 11520 | end) | |
| 11521 | --Change prefix | |
| 11522 | SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function() | |
| 11523 | wait() | |
| 11524 | cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text | |
| 11525 | Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"')
| |
| 11526 | updatefile() | |
| 11527 | end) | |
| 11528 | --Check Box for notify | |
| 11529 | checked = "http://www.roblox.com/asset/?id=65492641" | |
| 11530 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
| 11531 | if suggestionstoggle == true then | |
| 11532 | SettingsGUI.FeedbackMain.CheckBox.Image = checked else | |
| 11533 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end | |
| 11534 | SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function() | |
| 11535 | if suggestionstoggle == true then suggestionstoggle = false updatefile() | |
| 11536 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else | |
| 11537 | suggestionstoggle = true | |
| 11538 | updatefile() | |
| 11539 | SettingsGUI.FeedbackMain.CheckBox.Image = checked end end) | |
| 11540 | --Check Box for allow friends on serverlock | |
| 11541 | checked2 = "http://www.roblox.com/asset/?id=65492641" | |
| 11542 | unchecked2 = "http://www.roblox.com/asset/?id=65492651" | |
| 11543 | if allowfriends == true then | |
| 11544 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else | |
| 11545 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end | |
| 11546 | SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function() | |
| 11547 | if allowfriends == true then allowfriends = false updatefile() | |
| 11548 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else | |
| 11549 | allowfriends = true updatefile() | |
| 11550 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end) | |
| 11551 | --Check Box for JoinedLeft notifications | |
| 11552 | checked3 = "http://www.roblox.com/asset/?id=65492641" | |
| 11553 | unchecked3 = "http://www.roblox.com/asset/?id=65492651" | |
| 11554 | if JLnotify == true then | |
| 11555 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else | |
| 11556 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end | |
| 11557 | SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function() | |
| 11558 | if JLnotify == true then JLnotify = false updatefile() | |
| 11559 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 else JLnotify = true | |
| 11560 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 updatefile() | |
| 11561 | SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
| 11562 | SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end) | |
| 11563 | cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function() | |
| 11564 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
| 11565 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
| 11566 | cmds.Frame.holder.bar.Hide.Visible = true | |
| 11567 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end) | |
| 11568 | cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function() | |
| 11569 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) wait(0.1) | |
| 11570 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) wait(0.2) | |
| 11571 | cmds.Frame.holder.bar.Hide.Visible = true | |
| 11572 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end) | |
| 11573 | cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function() | |
| 11574 | cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quad",0.2,true) | |
| 11575 | cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,0.018,-310),"Out","Quad",0.2,true) wait(0.2) | |
| 11576 | cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quad",0.2,true) wait(0.2) | |
| 11577 | cmds.Frame.holder.bar.Hide.Visible = false end) | |
| 11578 | cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function() | |
| 11579 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
| 11580 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.2,true) wait(0.3) | |
| 11581 | cmds:Destroy() cmdOpen = false end) | |
| 11582 | cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quad",0.2,true) | |
| 11583 | searchbar() | |
| 11584 | for i = 1, #HKV do | |
| 11585 | local YSize = 25 | |
| 11586 | local Position = ((i * YSize) - YSize) | |
| 11587 | local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone() | |
| 11588 | newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs | |
| 11589 | newcmd.Visible = true | |
| 11590 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
| 11591 | newcmd.Text = "" .. HKV[i].Value | |
| 11592 | CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
| 11593 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
| 11594 | end | |
| 11595 | for i = 1, #CMDsV do | |
| 11596 | local YSize = 25 | |
| 11597 | local Position = ((i * YSize) - YSize) | |
| 11598 | local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone() | |
| 11599 | newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs | |
| 11600 | newcmd.Visible = true | |
| 11601 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
| 11602 | newcmd.Text = "" .. CMDsV[i].Value | |
| 11603 | CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
| 11604 | Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds | |
| 11605 | end | |
| 11606 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
| 11607 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
| 11608 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
| 11609 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end end | |
| 11610 | ||
| 11611 | function searchbar() | |
| 11612 | local CSP = game.CoreGui.cp.Frame.holder.size.MAIN | |
| 11613 | local main = CSP | |
| 11614 | local frame = CSP:WaitForChild('CMDs')
| |
| 11615 | local gui = CSP:WaitForChild('Search')
| |
| 11616 | local focused = false | |
| 11617 | Match = function(name,str) | |
| 11618 | return name:lower():find(str:lower()) and true | |
| 11619 | end | |
| 11620 | gui.FocusLost:connect(function(enterpressed) | |
| 11621 | gui.Text = "Search" | |
| 11622 | end) | |
| 11623 | IndexContents = function(str,bool) | |
| 11624 | local Index,SizeY = 0,0 | |
| 11625 | for i,v in next, frame:GetChildren() do | |
| 11626 | if bool then | |
| 11627 | if Match(v.Text,str) then | |
| 11628 | Index = Index + 1 | |
| 11629 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
| 11630 | v.Visible = true | |
| 11631 | SizeY = SizeY + v.AbsoluteSize.Y | |
| 11632 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
| 11633 | else | |
| 11634 | v.Visible = false | |
| 11635 | end | |
| 11636 | else | |
| 11637 | v.Visible = true | |
| 11638 | SizeY = SizeY + v.AbsoluteSize.Y | |
| 11639 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
| 11640 | end | |
| 11641 | end | |
| 11642 | end | |
| 11643 | game:GetService('RunService').Stepped:connect(function()
| |
| 11644 | if gui:IsFocused() and gui.Text == "Search" then | |
| 11645 | gui.Text = '' | |
| 11646 | end | |
| 11647 | end) | |
| 11648 | gui.Changed:connect(function() | |
| 11649 | if gui:IsFocused() then IndexContents(gui.Text,true) end | |
| 11650 | end) | |
| 11651 | ||
| 11652 | IndexContents('',true)
| |
| 11653 | end | |
| 11654 | ||
| 11655 | function runwindow() | |
| 11656 | commands() | |
| 11657 | searchbar() | |
| 11658 | end | |
| 11659 | ||
| 11660 | addcmd('settings','opens settings window',{'toggles'},
| |
| 11661 | function(args, speaker) | |
| 11662 | if speaker.userId ~= LP.userId then | |
| 11663 | lponly(speaker) | |
| 11664 | else | |
| 11665 | runwindow() | |
| 11666 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) | |
| 11667 | wait(0.1) | |
| 11668 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) | |
| 11669 | wait(0.1) | |
| 11670 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
| 11671 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
| 11672 | end | |
| 11673 | end) | |
| 11674 | ||
| 11675 | function movetab(speaker,PART) | |
| 11676 | game:GetService('RunService').Stepped:connect(function()
| |
| 11677 | if PART ~= nil and speaker ~= nil and speaker.Character:FindFirstChild('HumanoidRootPart') then
| |
| 11678 | PART.Locked = true | |
| 11679 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
| 11680 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
| 11681 | PART.CFrame = newcf end end) end | |
| 11682 | ||
| 11683 | hastab = {}
| |
| 11684 | addcmd('tablet','opens tablet gui',{},
| |
| 11685 | function(args, speaker) | |
| 11686 | for _, child in pairs( workspace:GetChildren()) do | |
| 11687 | if child.Name == speaker.Name .. "TAB" then | |
| 11688 | child:Destroy() end end | |
| 11689 | game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1)
| |
| 11690 | local GUI = Instance.new("SurfaceGui")
| |
| 11691 | local holder = Instance.new("Frame")
| |
| 11692 | local bar = Instance.new("Frame")
| |
| 11693 | local Title = Instance.new("TextLabel")
| |
| 11694 | local MAIN = Instance.new("Frame")
| |
| 11695 | local Example = Instance.new("TextLabel")
| |
| 11696 | local CMDs = Instance.new("ScrollingFrame")
| |
| 11697 | local PART = Instance.new("Part")
| |
| 11698 | PART.Name = speaker.Name .. 'TAB' | |
| 11699 | PART.Color = maincolor | |
| 11700 | PART.Size = Vector3.new(7, 7.8, 0.2) | |
| 11701 | PART.Transparency = 0 | |
| 11702 | PART.Locked = true | |
| 11703 | PART.CanCollide = false | |
| 11704 | PART.Parent = workspace | |
| 11705 | PART.Anchored = true | |
| 11706 | PART.Material = "Neon" | |
| 11707 | local GUI = Instance.new("SurfaceGui")
| |
| 11708 | local holder = Instance.new("Frame")
| |
| 11709 | local bar = Instance.new("Frame")
| |
| 11710 | local Title = Instance.new("TextLabel")
| |
| 11711 | local MAIN = Instance.new("Frame")
| |
| 11712 | local Example = Instance.new("TextLabel")
| |
| 11713 | local CMDs = Instance.new("ScrollingFrame")
| |
| 11714 | GUI.Name = "GUI" | |
| 11715 | GUI.Parent = PART | |
| 11716 | GUI.CanvasSize = Vector2.new(500, 600) | |
| 11717 | GUI.Face = Enum.NormalId.Back | |
| 11718 | holder.Name = "holder" | |
| 11719 | holder.Parent = GUI | |
| 11720 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11721 | holder.BackgroundTransparency = 1 | |
| 11722 | holder.BorderSizePixel = 2 | |
| 11723 | holder.Position = UDim2.new(0, 0, 0, 10) | |
| 11724 | holder.Size = UDim2.new(0, 300, 0, 330) | |
| 11725 | holder.ZIndex = 2 | |
| 11726 | bar.Name = "bar" | |
| 11727 | bar.Parent = holder | |
| 11728 | bar.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 11729 | bar.BackgroundTransparency = 0.89999997615814 | |
| 11730 | bar.BorderSizePixel = 0 | |
| 11731 | bar.Position = UDim2.new(0, 10, 1, -330) | |
| 11732 | bar.Size = UDim2.new(0, 480, 0, 33) | |
| 11733 | Title.Name = "Title" | |
| 11734 | Title.Parent = bar | |
| 11735 | Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
| 11736 | Title.BackgroundTransparency = 1 | |
| 11737 | Title.Size = UDim2.new(1, 0, 0, 30) | |
| 11738 | Title.Font = Enum.Font.SourceSansBold | |
| 11739 | Title.FontSize = Enum.FontSize.Size24 | |
| 11740 | Title.Text = "[Infinite Yield] Command List" | |
| 11741 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 11742 | MAIN.Name = "MAIN" | |
| 11743 | MAIN.Parent = holder | |
| 11744 | MAIN.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 11745 | MAIN.BackgroundTransparency = 0.89999997615814 | |
| 11746 | MAIN.BorderSizePixel = 0 | |
| 11747 | MAIN.Position = UDim2.new(0, 10, 1, -300) | |
| 11748 | MAIN.Size = UDim2.new(0, 480, 0, 550) | |
| 11749 | Example.Name = "Example" | |
| 11750 | Example.Parent = MAIN | |
| 11751 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 11752 | Example.BackgroundTransparency = 1 | |
| 11753 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 11754 | Example.BorderSizePixel = 0 | |
| 11755 | Example.Size = UDim2.new(0, 190, 0, 40) | |
| 11756 | Example.Visible = false | |
| 11757 | Example.Font = Enum.Font.SourceSansBold | |
| 11758 | Example.FontSize = Enum.FontSize.Size36 | |
| 11759 | Example.Text = "txt" | |
| 11760 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
| 11761 | Example.TextStrokeTransparency = 0 | |
| 11762 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
| 11763 | Example.ZIndex = 6 | |
| 11764 | CMDs.Name = "CMDs" | |
| 11765 | CMDs.Parent = MAIN | |
| 11766 | CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 11767 | CMDs.BackgroundTransparency = 1 | |
| 11768 | CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 11769 | CMDs.BorderSizePixel = 0 | |
| 11770 | CMDs.Size = UDim2.new(0, 480, 0, 550) | |
| 11771 | CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 11772 | CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880) | |
| 11773 | CMDs.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 11774 | CMDs.ScrollBarThickness = 15 | |
| 11775 | CMDs.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 11776 | local CMDsV = CMDsFolder:GetChildren() | |
| 11777 | for i = 1, #CMDsV do | |
| 11778 | local YSize = 35 | |
| 11779 | local Position = ((i * YSize) - YSize) | |
| 11780 | local newcmd = Example:Clone() | |
| 11781 | newcmd.Parent = CMDs | |
| 11782 | newcmd.Visible = true | |
| 11783 | newcmd.Position = UDim2.new(0,10,0, Position + 1) | |
| 11784 | newcmd.Text = "" .. CMDsV[i].Value | |
| 11785 | CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end | |
| 11786 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
| 11787 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
| 11788 | PART.CFrame = newcf | |
| 11789 | speaker.Character.Humanoid.Died:connect(function() | |
| 11790 | PART:Destroy() end) | |
| 11791 | wait(1) | |
| 11792 | PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05) | |
| 11793 | PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05) | |
| 11794 | PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05) | |
| 11795 | if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end | |
| 11796 | table.insert(hastab, speaker.Name) movetab(speaker,PART) | |
| 11797 | end) | |
| 11798 | ||
| 11799 | function updatepositions() | |
| 11800 | if PList then | |
| 11801 | PList:ClearAllChildren() | |
| 11802 | PList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 11803 | for i = 1, #WayPoints do | |
| 11804 | local YSize = 25 | |
| 11805 | local Position = ((i * YSize) - YSize) | |
| 11806 | local newcmd = Example:Clone() | |
| 11807 | newcmd.Parent = PList | |
| 11808 | newcmd.Visible = true | |
| 11809 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
| 11810 | newcmd.Text = " " .. WayPoints[i].NAME .. ": " .. WayPoints[i].COORD[1] .. ", " .. WayPoints[i].COORD[2] .. ", " .. WayPoints[i].COORD[3] | |
| 11811 | PList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
| 11812 | local goto = Instance.new("TextButton")
| |
| 11813 | goto.Name = "goto" | |
| 11814 | goto.Parent = PList | |
| 11815 | goto.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 11816 | goto.BackgroundTransparency = 0.30000001192093 | |
| 11817 | goto.BorderColor3 = Color3.new(1, 0, 0) | |
| 11818 | goto.BorderSizePixel = 0 | |
| 11819 | goto.Position = UDim2.new(0,-10,0, Position + 5) | |
| 11820 | goto.Size = UDim2.new(0, 20, 0, 20) | |
| 11821 | goto.FontSize = Enum.FontSize.Size14 | |
| 11822 | goto.Text = "" | |
| 11823 | goto.ZIndex = 6 | |
| 11824 | goto.MouseButton1Click:Connect(function() | |
| 11825 | execCmd("loadpos "..LP.Name.." "..WayPoints[i].NAME)
| |
| 11826 | end) | |
| 11827 | end | |
| 11828 | end | |
| 11829 | end | |
| 11830 | ||
| 11831 | posopen = false | |
| 11832 | addcmd("positions","lists waypoints",{'pos'},
| |
| 11833 | function(args, speaker) | |
| 11834 | if posopen == false then | |
| 11835 | posopen = true | |
| 11836 | local Pos = Instance.new("ScreenGui")
| |
| 11837 | local drag = Instance.new("Frame")
| |
| 11838 | local PromptDialog = Instance.new("Frame")
| |
| 11839 | local shadow = Instance.new("Frame")
| |
| 11840 | local PopupText = Instance.new("TextLabel")
| |
| 11841 | local Exit = Instance.new("TextButton")
| |
| 11842 | local ContainerFrame = Instance.new("Frame")
| |
| 11843 | PList = Instance.new("ScrollingFrame")
| |
| 11844 | Pos.Name = "Pos" | |
| 11845 | Pos.Parent = game.CoreGui | |
| 11846 | drag.Name = "drag" | |
| 11847 | drag.Parent = Pos | |
| 11848 | drag.Active = true | |
| 11849 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11850 | drag.BackgroundTransparency = 1 | |
| 11851 | dragGUI(drag) | |
| 11852 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
| 11853 | drag.Size = UDim2.new(0, 290, 0, 30) | |
| 11854 | PromptDialog.Name = "PromptDialog" | |
| 11855 | PromptDialog.Parent = drag | |
| 11856 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 11857 | PromptDialog.BackgroundTransparency = 1 | |
| 11858 | PromptDialog.BorderSizePixel = 0 | |
| 11859 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
| 11860 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
| 11861 | PromptDialog.ZIndex = 8 | |
| 11862 | shadow.Name = "shadow" | |
| 11863 | shadow.Parent = PromptDialog | |
| 11864 | shadow.BackgroundColor3 = maincolor | |
| 11865 | shadow.BackgroundTransparency = 0.30000001192093 | |
| 11866 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
| 11867 | shadow.BorderSizePixel = 0 | |
| 11868 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
| 11869 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
| 11870 | PopupText.Name = "PopupText" | |
| 11871 | PopupText.Parent = shadow | |
| 11872 | PopupText.BackgroundTransparency = 1 | |
| 11873 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
| 11874 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
| 11875 | PopupText.ZIndex = 110 | |
| 11876 | PopupText.Font = Enum.Font.SourceSansBold | |
| 11877 | PopupText.FontSize = Enum.FontSize.Size28 | |
| 11878 | PopupText.Text = "Positions" | |
| 11879 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 11880 | PopupText.TextStrokeTransparency = 0 | |
| 11881 | PopupText.TextWrapped = true | |
| 11882 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
| 11883 | Exit.Name = "Exit" | |
| 11884 | Exit.Parent = shadow | |
| 11885 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 11886 | Exit.BackgroundTransparency = 0.30000001192093 | |
| 11887 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
| 11888 | Exit.BorderSizePixel = 0 | |
| 11889 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
| 11890 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
| 11891 | Exit.FontSize = Enum.FontSize.Size14 | |
| 11892 | Exit.Text = "" | |
| 11893 | ContainerFrame.Name = "ContainerFrame" | |
| 11894 | ContainerFrame.Parent = PromptDialog | |
| 11895 | ContainerFrame.BackgroundColor3 = maincolor | |
| 11896 | ContainerFrame.BackgroundTransparency = 0.5 | |
| 11897 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
| 11898 | ContainerFrame.BorderSizePixel = 0 | |
| 11899 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
| 11900 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
| 11901 | ContainerFrame.ZIndex = 5 | |
| 11902 | PList.Name = "List" | |
| 11903 | PList.Parent = ContainerFrame | |
| 11904 | PList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 11905 | PList.BackgroundTransparency = 1 | |
| 11906 | PList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 11907 | PList.BorderSizePixel = 0 | |
| 11908 | PList.Position = UDim2.new(0, 10, 0, 5) | |
| 11909 | PList.Size = UDim2.new(0, 280, 0, 230) | |
| 11910 | PList.ZIndex = 6 | |
| 11911 | PList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 11912 | PList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 11913 | PList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 11914 | PList.ScrollBarThickness = 8 | |
| 11915 | PList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 11916 | updatepositions() | |
| 11917 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
| 11918 | Exit.MouseButton1Click:Connect(function() | |
| 11919 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
| 11920 | wait(0.6) posopen = false Pos:Destroy() end) end | |
| 11921 | end) | |
| 11922 | ||
| 11923 | function updateadmins() | |
| 11924 | if AList then | |
| 11925 | AList:ClearAllChildren() | |
| 11926 | AList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 11927 | for i = 1, #adminname do | |
| 11928 | local YSize = 25 | |
| 11929 | local Position = ((i * YSize) - YSize) | |
| 11930 | local newcmd = Example:Clone() | |
| 11931 | newcmd.Parent = AList | |
| 11932 | newcmd.Visible = true | |
| 11933 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
| 11934 | newcmd.Text = adminname[i].NAME | |
| 11935 | AList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
| 11936 | end | |
| 11937 | end | |
| 11938 | end | |
| 11939 | ||
| 11940 | adminsopen = false | |
| 11941 | adminname = {}
| |
| 11942 | addcmd('admins','displays admins',{'adminlist'},
| |
| 11943 | function(args, speaker) | |
| 11944 | if speaker.userId ~= LP.userId then | |
| 11945 | lponly(speaker) else | |
| 11946 | if adminsopen == false then | |
| 11947 | adminsopen = true | |
| 11948 | local admins = Instance.new("ScreenGui")
| |
| 11949 | local drag = Instance.new("Frame")
| |
| 11950 | local PromptDialog = Instance.new("Frame")
| |
| 11951 | local shadow = Instance.new("Frame")
| |
| 11952 | local PopupText = Instance.new("TextLabel")
| |
| 11953 | local Exit = Instance.new("TextButton")
| |
| 11954 | local ContainerFrame = Instance.new("Frame")
| |
| 11955 | AList = Instance.new("ScrollingFrame")
| |
| 11956 | admins.Name = "Admins" | |
| 11957 | admins.Parent = game.CoreGui | |
| 11958 | drag.Name = "drag" | |
| 11959 | drag.Parent = admins | |
| 11960 | drag.Active = true | |
| 11961 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 11962 | drag.BackgroundTransparency = 1 | |
| 11963 | dragGUI(drag) | |
| 11964 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
| 11965 | drag.Size = UDim2.new(0, 290, 0, 30) | |
| 11966 | PromptDialog.Name = "PromptDialog" | |
| 11967 | PromptDialog.Parent = drag | |
| 11968 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 11969 | PromptDialog.BackgroundTransparency = 1 | |
| 11970 | PromptDialog.BorderSizePixel = 0 | |
| 11971 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
| 11972 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
| 11973 | PromptDialog.ZIndex = 8 | |
| 11974 | shadow.Name = "shadow" | |
| 11975 | shadow.Parent = PromptDialog | |
| 11976 | shadow.BackgroundColor3 = maincolor | |
| 11977 | shadow.BackgroundTransparency = 0.30000001192093 | |
| 11978 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
| 11979 | shadow.BorderSizePixel = 0 | |
| 11980 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
| 11981 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
| 11982 | PopupText.Name = "PopupText" | |
| 11983 | PopupText.Parent = shadow | |
| 11984 | PopupText.BackgroundTransparency = 1 | |
| 11985 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
| 11986 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
| 11987 | PopupText.ZIndex = 110 | |
| 11988 | PopupText.Font = Enum.Font.SourceSansBold | |
| 11989 | PopupText.FontSize = Enum.FontSize.Size28 | |
| 11990 | PopupText.Text = "Admins" | |
| 11991 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 11992 | PopupText.TextStrokeTransparency = 0 | |
| 11993 | PopupText.TextWrapped = true | |
| 11994 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
| 11995 | Exit.Name = "Exit" | |
| 11996 | Exit.Parent = shadow | |
| 11997 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 11998 | Exit.BackgroundTransparency = 0.30000001192093 | |
| 11999 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
| 12000 | Exit.BorderSizePixel = 0 | |
| 12001 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
| 12002 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
| 12003 | Exit.FontSize = Enum.FontSize.Size14 | |
| 12004 | Exit.Text = "" | |
| 12005 | ContainerFrame.Name = "ContainerFrame" | |
| 12006 | ContainerFrame.Parent = PromptDialog | |
| 12007 | ContainerFrame.BackgroundColor3 = maincolor | |
| 12008 | ContainerFrame.BackgroundTransparency = 0.5 | |
| 12009 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
| 12010 | ContainerFrame.BorderSizePixel = 0 | |
| 12011 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
| 12012 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
| 12013 | ContainerFrame.ZIndex = 5 | |
| 12014 | AList.Name = "List" | |
| 12015 | AList.Parent = ContainerFrame | |
| 12016 | AList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12017 | AList.BackgroundTransparency = 1 | |
| 12018 | AList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12019 | AList.BorderSizePixel = 0 | |
| 12020 | AList.Position = UDim2.new(0, 10, 0, 5) | |
| 12021 | AList.Size = UDim2.new(0, 280, 0, 230) | |
| 12022 | AList.ZIndex = 6 | |
| 12023 | AList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 12024 | AList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 12025 | AList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 12026 | AList.ScrollBarThickness = 8 | |
| 12027 | AList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 12028 | updateadmins() | |
| 12029 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
| 12030 | Exit.MouseButton1Click:Connect(function() | |
| 12031 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
| 12032 | wait(0.6) adminsopen = false admins:Destroy() end) end end | |
| 12033 | end) | |
| 12034 | ||
| 12035 | function updatebans() | |
| 12036 | if BList then | |
| 12037 | BList:ClearAllChildren() | |
| 12038 | BList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 12039 | for i = 1, #banname do | |
| 12040 | local YSize = 25 | |
| 12041 | local Position = ((i * YSize) - YSize) | |
| 12042 | local newcmd = Example:Clone() | |
| 12043 | newcmd.Parent = BList | |
| 12044 | newcmd.Visible = true | |
| 12045 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
| 12046 | newcmd.Text = " Name: " .. banname[i].NAME .. " | ID: " .. banname[i].ID .. " | Age: " .. banname[i].AGE | |
| 12047 | newcmd.TextSize = 20 | |
| 12048 | BList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
| 12049 | local delet = Instance.new("TextButton")
| |
| 12050 | delet.Name = "delet" | |
| 12051 | delet.Parent = BList | |
| 12052 | delet.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 12053 | delet.BackgroundTransparency = 0.30000001192093 | |
| 12054 | delet.BorderColor3 = Color3.new(1, 0, 0) | |
| 12055 | delet.BorderSizePixel = 0 | |
| 12056 | delet.Position = UDim2.new(0,-10,0, Position + 5) | |
| 12057 | delet.Size = UDim2.new(0, 20, 0, 20) | |
| 12058 | delet.FontSize = Enum.FontSize.Size14 | |
| 12059 | delet.Text = "" | |
| 12060 | delet.ZIndex = 6 | |
| 12061 | delet.MouseButton1Click:Connect(function() | |
| 12062 | updatebans() | |
| 12063 | execCmd("unban "..banname[i].NAME)
| |
| 12064 | end) | |
| 12065 | end | |
| 12066 | end | |
| 12067 | end | |
| 12068 | ||
| 12069 | banname = {}
| |
| 12070 | bansopen = false | |
| 12071 | addcmd('bans','displays bans',{'banlist'},
| |
| 12072 | function(args, speaker) | |
| 12073 | if speaker.userId ~= LP.userId then | |
| 12074 | lponly(speaker) else | |
| 12075 | if bansopen == false then | |
| 12076 | bansopen = true | |
| 12077 | local Bans = Instance.new("ScreenGui")
| |
| 12078 | local drag = Instance.new("Frame")
| |
| 12079 | local PromptDialog = Instance.new("Frame")
| |
| 12080 | local ContainerFrame = Instance.new("Frame")
| |
| 12081 | BList = Instance.new("ScrollingFrame")
| |
| 12082 | local shadow = Instance.new("Frame")
| |
| 12083 | local Exit = Instance.new("TextButton")
| |
| 12084 | local PopupText = Instance.new("TextLabel")
| |
| 12085 | Bans.Name = "Bans" | |
| 12086 | Bans.Parent = game.CoreGui | |
| 12087 | drag.Name = "drag" | |
| 12088 | drag.Parent = Bans | |
| 12089 | drag.Active = true | |
| 12090 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 12091 | drag.BackgroundTransparency = 1 | |
| 12092 | dragGUI(drag) | |
| 12093 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
| 12094 | drag.Size = UDim2.new(0, 438, 0, 26) | |
| 12095 | PromptDialog.Name = "PromptDialog" | |
| 12096 | PromptDialog.Parent = drag | |
| 12097 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 12098 | PromptDialog.BackgroundTransparency = 1 | |
| 12099 | PromptDialog.BorderSizePixel = 0 | |
| 12100 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
| 12101 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
| 12102 | PromptDialog.ZIndex = 5 | |
| 12103 | ContainerFrame.Name = "ContainerFrame" | |
| 12104 | ContainerFrame.Parent = PromptDialog | |
| 12105 | ContainerFrame.BackgroundColor3 = maincolor | |
| 12106 | ContainerFrame.BackgroundTransparency = 0.5 | |
| 12107 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
| 12108 | ContainerFrame.BorderSizePixel = 0 | |
| 12109 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
| 12110 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
| 12111 | ContainerFrame.ZIndex = 5 | |
| 12112 | BList.Name = "List" | |
| 12113 | BList.Parent = ContainerFrame | |
| 12114 | BList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12115 | BList.BackgroundTransparency = 1 | |
| 12116 | BList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12117 | BList.BorderSizePixel = 0 | |
| 12118 | BList.Position = UDim2.new(0, 10, 0, 9) | |
| 12119 | BList.Size = UDim2.new(0, 428, 0, 230) | |
| 12120 | BList.ZIndex = 5 | |
| 12121 | BList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 12122 | BList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 12123 | BList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 12124 | BList.ScrollBarThickness = 8 | |
| 12125 | BList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 12126 | shadow.Name = "shadow" | |
| 12127 | shadow.Parent = PromptDialog | |
| 12128 | shadow.BackgroundColor3 = maincolor | |
| 12129 | shadow.BackgroundTransparency = 0.30000001192093 | |
| 12130 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
| 12131 | shadow.BorderSizePixel = 0 | |
| 12132 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
| 12133 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
| 12134 | Exit.Name = "Exit" | |
| 12135 | Exit.Parent = shadow | |
| 12136 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 12137 | Exit.BackgroundTransparency = 0.30000001192093 | |
| 12138 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
| 12139 | Exit.BorderSizePixel = 0 | |
| 12140 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
| 12141 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
| 12142 | Exit.FontSize = Enum.FontSize.Size14 | |
| 12143 | Exit.Text = "" | |
| 12144 | PopupText.Name = "PopupText" | |
| 12145 | PopupText.Parent = shadow | |
| 12146 | PopupText.BackgroundTransparency = 1 | |
| 12147 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
| 12148 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
| 12149 | PopupText.ZIndex = 6 | |
| 12150 | PopupText.Font = Enum.Font.SourceSansBold | |
| 12151 | PopupText.FontSize = Enum.FontSize.Size32 | |
| 12152 | PopupText.Text = "Bans" | |
| 12153 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 12154 | PopupText.TextStrokeTransparency = 0 | |
| 12155 | PopupText.TextWrapped = true | |
| 12156 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
| 12157 | updatebans() | |
| 12158 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
| 12159 | Exit.MouseButton1Click:Connect(function() | |
| 12160 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
| 12161 | wait(0.6) bansopen = false Bans:Destroy() end) end end | |
| 12162 | end) | |
| 12163 | ||
| 12164 | function updatealiases() | |
| 12165 | if AlList then | |
| 12166 | AlList:ClearAllChildren() | |
| 12167 | AlList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 12168 | for i = 1, #aliasSave do | |
| 12169 | local YSize = 25 | |
| 12170 | local Position = ((i * YSize) - YSize) | |
| 12171 | local newcmd = Example:Clone() | |
| 12172 | newcmd.Parent = AlList | |
| 12173 | newcmd.Visible = true | |
| 12174 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
| 12175 | newcmd.Text = ' Command: ['..aliasSave[i].CMD..'] Alias: ['..aliasSave[i].ALIAS..']' | |
| 12176 | newcmd.TextSize = 20 | |
| 12177 | AlList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
| 12178 | local delet = Instance.new("TextButton")
| |
| 12179 | delet.Name = "delet" | |
| 12180 | delet.Parent = AlList | |
| 12181 | delet.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 12182 | delet.BackgroundTransparency = 0.30000001192093 | |
| 12183 | delet.BorderColor3 = Color3.new(1, 0, 0) | |
| 12184 | delet.BorderSizePixel = 0 | |
| 12185 | delet.Position = UDim2.new(0,-10,0, Position + 5) | |
| 12186 | delet.Size = UDim2.new(0, 20, 0, 20) | |
| 12187 | delet.FontSize = Enum.FontSize.Size14 | |
| 12188 | delet.Text = "" | |
| 12189 | delet.ZIndex = 6 | |
| 12190 | delet.MouseButton1Click:Connect(function() | |
| 12191 | updatebans() | |
| 12192 | execCmd("removealias "..aliasSave[i].ALIAS)
| |
| 12193 | end) | |
| 12194 | end | |
| 12195 | end | |
| 12196 | end | |
| 12197 | ||
| 12198 | aliasesopen = false | |
| 12199 | addcmd('aliases','displays aliases',{},
| |
| 12200 | function(args, speaker) | |
| 12201 | if speaker.userId ~= LP.userId then | |
| 12202 | lponly(speaker) else | |
| 12203 | if aliasesopen == false then | |
| 12204 | aliasesopen = true | |
| 12205 | local aliases = Instance.new("ScreenGui")
| |
| 12206 | local drag = Instance.new("Frame")
| |
| 12207 | local PromptDialog = Instance.new("Frame")
| |
| 12208 | local ContainerFrame = Instance.new("Frame")
| |
| 12209 | AlList = Instance.new("ScrollingFrame")
| |
| 12210 | local shadow = Instance.new("Frame")
| |
| 12211 | local Exit = Instance.new("TextButton")
| |
| 12212 | local PopupText = Instance.new("TextLabel")
| |
| 12213 | aliases.Name = "Aliases" | |
| 12214 | aliases.Parent = game.CoreGui | |
| 12215 | drag.Name = "drag" | |
| 12216 | drag.Parent = aliases | |
| 12217 | drag.Active = true | |
| 12218 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 12219 | drag.BackgroundTransparency = 1 | |
| 12220 | dragGUI(drag) | |
| 12221 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
| 12222 | drag.Size = UDim2.new(0, 438, 0, 26) | |
| 12223 | PromptDialog.Name = "PromptDialog" | |
| 12224 | PromptDialog.Parent = drag | |
| 12225 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 12226 | PromptDialog.BackgroundTransparency = 1 | |
| 12227 | PromptDialog.BorderSizePixel = 0 | |
| 12228 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
| 12229 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
| 12230 | PromptDialog.ZIndex = 5 | |
| 12231 | ContainerFrame.Name = "ContainerFrame" | |
| 12232 | ContainerFrame.Parent = PromptDialog | |
| 12233 | ContainerFrame.BackgroundColor3 = maincolor | |
| 12234 | ContainerFrame.BackgroundTransparency = 0.5 | |
| 12235 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
| 12236 | ContainerFrame.BorderSizePixel = 0 | |
| 12237 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
| 12238 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
| 12239 | ContainerFrame.ZIndex = 5 | |
| 12240 | AlList.Name = "List" | |
| 12241 | AlList.Parent = ContainerFrame | |
| 12242 | AlList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12243 | AlList.BackgroundTransparency = 1 | |
| 12244 | AlList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12245 | AlList.BorderSizePixel = 0 | |
| 12246 | AlList.Position = UDim2.new(0, 10, 0, 9) | |
| 12247 | AlList.Size = UDim2.new(0, 428, 0, 230) | |
| 12248 | AlList.ZIndex = 5 | |
| 12249 | AlList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 12250 | AlList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 12251 | AlList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 12252 | AlList.ScrollBarThickness = 8 | |
| 12253 | AlList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 12254 | shadow.Name = "shadow" | |
| 12255 | shadow.Parent = PromptDialog | |
| 12256 | shadow.BackgroundColor3 = maincolor | |
| 12257 | shadow.BackgroundTransparency = 0.30000001192093 | |
| 12258 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
| 12259 | shadow.BorderSizePixel = 0 | |
| 12260 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
| 12261 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
| 12262 | Exit.Name = "Exit" | |
| 12263 | Exit.Parent = shadow | |
| 12264 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 12265 | Exit.BackgroundTransparency = 0.30000001192093 | |
| 12266 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
| 12267 | Exit.BorderSizePixel = 0 | |
| 12268 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
| 12269 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
| 12270 | Exit.FontSize = Enum.FontSize.Size14 | |
| 12271 | Exit.Text = "" | |
| 12272 | PopupText.Name = "PopupText" | |
| 12273 | PopupText.Parent = shadow | |
| 12274 | PopupText.BackgroundTransparency = 1 | |
| 12275 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
| 12276 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
| 12277 | PopupText.ZIndex = 6 | |
| 12278 | PopupText.Font = Enum.Font.SourceSansBold | |
| 12279 | PopupText.FontSize = Enum.FontSize.Size32 | |
| 12280 | PopupText.Text = "Aliases" | |
| 12281 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 12282 | PopupText.TextStrokeTransparency = 0 | |
| 12283 | PopupText.TextWrapped = true | |
| 12284 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
| 12285 | updatealiases() | |
| 12286 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
| 12287 | Exit.MouseButton1Click:Connect(function() | |
| 12288 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
| 12289 | wait(0.6) aliasesopen = false aliases:Destroy() end) end end | |
| 12290 | end) | |
| 12291 | ||
| 12292 | addcmd('sound', 'plays a sound',{'music','play'},
| |
| 12293 | function(args, speaker) | |
| 12294 | if isNumber(args[1]) then | |
| 12295 | for i,v in pairs(game:GetDescendants()) do | |
| 12296 | if v:IsA'Sound'then v:Destroy() end end | |
| 12297 | local c = args[1] or 'stop' | |
| 12298 | if std.inTable({'stop'}, c:lower()) then return end
| |
| 12299 | local s = Instance.new("Sound", workspace)
| |
| 12300 | s.Name = "IYsound" | |
| 12301 | s.Looped = true | |
| 12302 | s.SoundId = "rbxassetid://" .. c | |
| 12303 | s.Volume = 1 | |
| 12304 | s:Play() | |
| 12305 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(c)
| |
| 12306 | playerenabled = false | |
| 12307 | Notify('Playing: '..Asset.Name..' ('..c..')')
| |
| 12308 | else | |
| 12309 | local name = GLS(false, 0) | |
| 12310 | if GLS(false, 0) == "stop" or GLS(false, 0) == "off" then | |
| 12311 | Notify('Stopped audio')
| |
| 12312 | for i,v in pairs(game:GetDescendants()) do | |
| 12313 | if v:IsA'Sound'then v:Destroy() end end | |
| 12314 | return | |
| 12315 | end | |
| 12316 | Notify('Loading list...')
| |
| 12317 | local Audios = Instance.new("ScreenGui")
| |
| 12318 | local drag = Instance.new("Frame")
| |
| 12319 | local PromptDialog = Instance.new("Frame")
| |
| 12320 | local ContainerFrame = Instance.new("Frame")
| |
| 12321 | local AudList = Instance.new("ScrollingFrame")
| |
| 12322 | local shadow = Instance.new("Frame")
| |
| 12323 | local Exit = Instance.new("TextButton")
| |
| 12324 | local PopupText = Instance.new("TextLabel")
| |
| 12325 | local Hide = Instance.new("TextButton")
| |
| 12326 | Audios.Name = "Audios" | |
| 12327 | Audios.Parent = game.CoreGui | |
| 12328 | drag.Name = "drag" | |
| 12329 | drag.Parent = Audios | |
| 12330 | drag.Active = true | |
| 12331 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 12332 | drag.BackgroundTransparency = 1 | |
| 12333 | dragGUI(drag) | |
| 12334 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
| 12335 | drag.Size = UDim2.new(0, 438, 0, 26) | |
| 12336 | PromptDialog.Name = "PromptDialog" | |
| 12337 | PromptDialog.Parent = drag | |
| 12338 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 12339 | PromptDialog.BackgroundTransparency = 1 | |
| 12340 | PromptDialog.BorderSizePixel = 0 | |
| 12341 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
| 12342 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
| 12343 | PromptDialog.ZIndex = 5 | |
| 12344 | PromptDialog.ClipsDescendants = true | |
| 12345 | ContainerFrame.Name = "ContainerFrame" | |
| 12346 | ContainerFrame.Parent = PromptDialog | |
| 12347 | ContainerFrame.BackgroundColor3 = maincolor | |
| 12348 | ContainerFrame.BackgroundTransparency = 0.5 | |
| 12349 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
| 12350 | ContainerFrame.BorderSizePixel = 0 | |
| 12351 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
| 12352 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
| 12353 | ContainerFrame.ZIndex = 5 | |
| 12354 | AudList.Name = "List" | |
| 12355 | AudList.Parent = ContainerFrame | |
| 12356 | AudList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12357 | AudList.BackgroundTransparency = 1 | |
| 12358 | AudList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12359 | AudList.BorderSizePixel = 0 | |
| 12360 | AudList.Position = UDim2.new(0, 10, 0, 9) | |
| 12361 | AudList.Size = UDim2.new(0, 428, 0, 230) | |
| 12362 | AudList.ZIndex = 5 | |
| 12363 | AudList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 12364 | AudList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 12365 | AudList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 12366 | AudList.ScrollBarThickness = 8 | |
| 12367 | AudList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 12368 | shadow.Name = "shadow" | |
| 12369 | shadow.Parent = PromptDialog | |
| 12370 | shadow.BackgroundColor3 = maincolor | |
| 12371 | shadow.BackgroundTransparency = 0.30000001192093 | |
| 12372 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
| 12373 | shadow.BorderSizePixel = 0 | |
| 12374 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
| 12375 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
| 12376 | Exit.Name = "Exit" | |
| 12377 | Exit.Parent = shadow | |
| 12378 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 12379 | Exit.BackgroundTransparency = 0.30000001192093 | |
| 12380 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
| 12381 | Exit.BorderSizePixel = 0 | |
| 12382 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
| 12383 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
| 12384 | Exit.FontSize = Enum.FontSize.Size14 | |
| 12385 | Exit.Text = "" | |
| 12386 | PopupText.Name = "PopupText" | |
| 12387 | PopupText.Parent = shadow | |
| 12388 | PopupText.BackgroundTransparency = 1 | |
| 12389 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
| 12390 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
| 12391 | PopupText.ZIndex = 6 | |
| 12392 | PopupText.Font = Enum.Font.SourceSansBold | |
| 12393 | PopupText.FontSize = Enum.FontSize.Size32 | |
| 12394 | PopupText.Text = GLS(false, 0).." [Audio]" | |
| 12395 | PopupText.TextScaled = true | |
| 12396 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 12397 | PopupText.TextStrokeTransparency = 0 | |
| 12398 | PopupText.TextWrapped = true | |
| 12399 | PopupText.TextYAlignment = Enum.TextYAlignment.Center | |
| 12400 | Hide.Name = "Hide" | |
| 12401 | Hide.Parent = shadow | |
| 12402 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 12403 | Hide.BackgroundTransparency = 0.30000001192093 | |
| 12404 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
| 12405 | Hide.BorderSizePixel = 0 | |
| 12406 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
| 12407 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
| 12408 | Hide.FontSize = Enum.FontSize.Size14 | |
| 12409 | Hide.Text = "" | |
| 12410 | local hidden = false | |
| 12411 | Hide.MouseButton1Down:connect(function() | |
| 12412 | if hidden == false then hidden = true | |
| 12413 | ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
| 12414 | else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
| 12415 | end end) | |
| 12416 | local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Audio&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true)
| |
| 12417 | local results = HttpService:JSONDecode(json) | |
| 12418 | if #results == 0 then | |
| 12419 | Notify('No audio found :(')
| |
| 12420 | Audios:Destroy() | |
| 12421 | return | |
| 12422 | end | |
| 12423 | for i,v in pairs(results) do | |
| 12424 | local YSize = 25 | |
| 12425 | local Position = ((i * YSize) - YSize) | |
| 12426 | local newcmd = Example:Clone() | |
| 12427 | newcmd.Parent = AudList | |
| 12428 | newcmd.Visible = true | |
| 12429 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
| 12430 | newcmd.Text = " "..v.Name | |
| 12431 | newcmd.TextSize = 20 | |
| 12432 | AudList.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
| 12433 | local play = Instance.new("TextButton")
| |
| 12434 | play.Name = "play" | |
| 12435 | play.Parent = AudList | |
| 12436 | play.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 12437 | play.BackgroundTransparency = 0.30000001192093 | |
| 12438 | play.BorderColor3 = Color3.new(1, 0, 0) | |
| 12439 | play.BorderSizePixel = 0 | |
| 12440 | play.Position = UDim2.new(0,-10,0, Position + 5) | |
| 12441 | play.Size = UDim2.new(0, 20, 0, 20) | |
| 12442 | play.FontSize = Enum.FontSize.Size14 | |
| 12443 | play.Text = "" | |
| 12444 | play.ZIndex = 6 | |
| 12445 | play.MouseButton1Click:Connect(function() | |
| 12446 | playerenabled = false | |
| 12447 | for i,v in pairs(game:GetDescendants()) do | |
| 12448 | if v:IsA'Sound'then v:Destroy() end end | |
| 12449 | wait(0.1) | |
| 12450 | Notify('Playing: '..v.Name ..' ('..v.AssetId..')')
| |
| 12451 | local s = Instance.new("Sound", workspace)
| |
| 12452 | s.Name = "IYsound" | |
| 12453 | s.Looped = true | |
| 12454 | s.SoundId = "rbxassetid://" .. v.AssetId | |
| 12455 | s.Volume = 1 | |
| 12456 | s:Play() | |
| 12457 | end) | |
| 12458 | Notify('Select an audio to play')
| |
| 12459 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
| 12460 | Exit.MouseButton1Click:Connect(function() | |
| 12461 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
| 12462 | wait(0.6) Audios:Destroy() end) end end | |
| 12463 | end) | |
| 12464 | ||
| 12465 | function dragmodel(model, window, frame, name) | |
| 12466 | local Dragger = Instance.new("Dragger") local dragging = false local drag = model drag.Parent = workspace local parts = {}
| |
| 12467 | drag:MakeJoints() drag.Name = name | |
| 12468 | local mouse = game:GetService("Players").LocalPlayer:GetMouse()
| |
| 12469 | function collectParts(object, baseParts) | |
| 12470 | if object:IsA("BasePart") then
| |
| 12471 | baseParts[#baseParts+1] = object end | |
| 12472 | for index,child in pairs(object:GetChildren()) do | |
| 12473 | collectParts(child, baseParts) end end | |
| 12474 | collectParts(drag, parts) | |
| 12475 | Dragger:MouseDown(parts[1], Vector3.new(0,0,0), parts) | |
| 12476 | dragging = true | |
| 12477 | mouse.Move:connect(function() | |
| 12478 | if dragging then | |
| 12479 | Dragger:MouseMove(mouse.UnitRay) | |
| 12480 | end end) | |
| 12481 | mouse.KeyDown:connect(function(Key) | |
| 12482 | if dragging then | |
| 12483 | if Key == "r" then | |
| 12484 | Dragger:AxisRotate("Y")
| |
| 12485 | elseif Key == "t" then | |
| 12486 | Dragger:AxisRotate("X")
| |
| 12487 | elseif Key == "e" then | |
| 12488 | if window == true then | |
| 12489 | frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) | |
| 12490 | end | |
| 12491 | drag:Destroy() | |
| 12492 | dragging = false | |
| 12493 | Dragger:MouseUp() | |
| 12494 | end end end) | |
| 12495 | mouse.Button1Down:connect(function() | |
| 12496 | if dragging then | |
| 12497 | if window == true then | |
| 12498 | frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) | |
| 12499 | end | |
| 12500 | dragging = false | |
| 12501 | Dragger:MouseUp() | |
| 12502 | end end) end | |
| 12503 | ||
| 12504 | addcmd('insert', 'inserts a model',{'ins'},
| |
| 12505 | function(args, speaker) | |
| 12506 | if isNumber(args[1]) then | |
| 12507 | local window = false | |
| 12508 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(args[1])
| |
| 12509 | dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. Asset.AssetId), window, nil, Asset.Name)
| |
| 12510 | Notify('Inserted ' .. Asset.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt')
| |
| 12511 | else | |
| 12512 | local name = GLS(false, 0) | |
| 12513 | Notify('Loading list...')
| |
| 12514 | local Models = Instance.new("ScreenGui")
| |
| 12515 | local drag = Instance.new("Frame")
| |
| 12516 | local PromptDialog = Instance.new("Frame")
| |
| 12517 | local ModelContainerFrame = Instance.new("Frame")
| |
| 12518 | local ModList = Instance.new("ScrollingFrame")
| |
| 12519 | local shadow = Instance.new("Frame")
| |
| 12520 | local Exit = Instance.new("TextButton")
| |
| 12521 | local PopupText = Instance.new("TextLabel")
| |
| 12522 | local Hide = Instance.new("TextButton")
| |
| 12523 | Models.Name = "Models" | |
| 12524 | Models.Parent = game.CoreGui | |
| 12525 | drag.Name = "drag" | |
| 12526 | drag.Parent = Models | |
| 12527 | drag.Active = true | |
| 12528 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 12529 | drag.BackgroundTransparency = 1 | |
| 12530 | dragGUI(drag) | |
| 12531 | drag.Position = UDim2.new(0.5, -225, 0, -400) | |
| 12532 | drag.Size = UDim2.new(0, 438, 0, 26) | |
| 12533 | PromptDialog.Name = "PromptDialog" | |
| 12534 | PromptDialog.Parent = drag | |
| 12535 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 12536 | PromptDialog.BackgroundTransparency = 1 | |
| 12537 | PromptDialog.BorderSizePixel = 0 | |
| 12538 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
| 12539 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
| 12540 | PromptDialog.ClipsDescendants = true | |
| 12541 | PromptDialog.ZIndex = 5 | |
| 12542 | ModelContainerFrame.Name = "ContainerFrame" | |
| 12543 | ModelContainerFrame.Parent = PromptDialog | |
| 12544 | ModelContainerFrame.BackgroundColor3 = maincolor | |
| 12545 | ModelContainerFrame.BackgroundTransparency = 0.5 | |
| 12546 | ModelContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
| 12547 | ModelContainerFrame.BorderSizePixel = 0 | |
| 12548 | ModelContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
| 12549 | ModelContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
| 12550 | ModelContainerFrame.ZIndex = 5 | |
| 12551 | ModList.Name = "List" | |
| 12552 | ModList.Parent = ModelContainerFrame | |
| 12553 | ModList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12554 | ModList.BackgroundTransparency = 1 | |
| 12555 | ModList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12556 | ModList.BorderSizePixel = 0 | |
| 12557 | ModList.Position = UDim2.new(0, 10, 0, 9) | |
| 12558 | ModList.Size = UDim2.new(0, 428, 0, 230) | |
| 12559 | ModList.ZIndex = 5 | |
| 12560 | ModList.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 12561 | ModList.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 12562 | ModList.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 12563 | ModList.ScrollBarThickness = 8 | |
| 12564 | ModList.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 12565 | shadow.Name = "shadow" | |
| 12566 | shadow.Parent = PromptDialog | |
| 12567 | shadow.BackgroundColor3 = maincolor | |
| 12568 | shadow.BackgroundTransparency = 0.30000001192093 | |
| 12569 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
| 12570 | shadow.BorderSizePixel = 0 | |
| 12571 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
| 12572 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
| 12573 | Exit.Name = "Exit" | |
| 12574 | Exit.Parent = shadow | |
| 12575 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 12576 | Exit.BackgroundTransparency = 0.30000001192093 | |
| 12577 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
| 12578 | Exit.BorderSizePixel = 0 | |
| 12579 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
| 12580 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
| 12581 | Exit.FontSize = Enum.FontSize.Size14 | |
| 12582 | Exit.Text = "" | |
| 12583 | PopupText.Name = "PopupText" | |
| 12584 | PopupText.Parent = shadow | |
| 12585 | PopupText.BackgroundTransparency = 1 | |
| 12586 | PopupText.Position = UDim2.new(0, 61, 0, -4) | |
| 12587 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
| 12588 | PopupText.ZIndex = 6 | |
| 12589 | PopupText.Font = Enum.Font.SourceSansBold | |
| 12590 | PopupText.FontSize = Enum.FontSize.Size32 | |
| 12591 | PopupText.Text = GLS(false, 0).." [Models]" | |
| 12592 | PopupText.TextScaled = true | |
| 12593 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 12594 | PopupText.TextStrokeTransparency = 0 | |
| 12595 | PopupText.TextWrapped = true | |
| 12596 | PopupText.TextYAlignment = Enum.TextYAlignment.Center | |
| 12597 | Hide.Name = "Hide" | |
| 12598 | Hide.Parent = shadow | |
| 12599 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 12600 | Hide.BackgroundTransparency = 0.30000001192093 | |
| 12601 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
| 12602 | Hide.BorderSizePixel = 0 | |
| 12603 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
| 12604 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
| 12605 | Hide.FontSize = Enum.FontSize.Size14 | |
| 12606 | Hide.Text = "" | |
| 12607 | local hidden = false | |
| 12608 | Hide.MouseButton1Down:connect(function() | |
| 12609 | if hidden == false then hidden = true | |
| 12610 | ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
| 12611 | else ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
| 12612 | end end) | |
| 12613 | local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Models&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true)
| |
| 12614 | local results = HttpService:JSONDecode(json) | |
| 12615 | if #results == 0 then | |
| 12616 | Notify('No models found :(')
| |
| 12617 | Models:Destroy() | |
| 12618 | return | |
| 12619 | end | |
| 12620 | for i,v in pairs(results) do | |
| 12621 | local YSize = 100 | |
| 12622 | local Position = ((i * YSize) - YSize) | |
| 12623 | local newcmd = Example:Clone() | |
| 12624 | newcmd.Parent = ModList | |
| 12625 | newcmd.Visible = true | |
| 12626 | newcmd.Position = UDim2.new(0,5,0, Position + 40) | |
| 12627 | newcmd.Text = " "..v.Name | |
| 12628 | newcmd.TextSize = 20 | |
| 12629 | ModList.CanvasSize = UDim2.new(0,0,0, Position + 100) | |
| 12630 | local ins = Instance.new("TextButton")
| |
| 12631 | ins.Name = "ins" | |
| 12632 | ins.Parent = ModList | |
| 12633 | ins.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 12634 | ins.BackgroundTransparency = 0.30000001192093 | |
| 12635 | ins.BorderColor3 = Color3.new(1, 0, 0) | |
| 12636 | ins.BorderSizePixel = 0 | |
| 12637 | ins.Position = UDim2.new(0,-10,0, Position + 40) | |
| 12638 | ins.Size = UDim2.new(0, 20, 0, 20) | |
| 12639 | ins.FontSize = Enum.FontSize.Size14 | |
| 12640 | ins.Text = "" | |
| 12641 | ins.ZIndex = 6 | |
| 12642 | local img = Instance.new("ImageLabel")
| |
| 12643 | img.Parent = ModList | |
| 12644 | img.Position = UDim2.new(0,300,0, Position + 5) | |
| 12645 | img.Size = UDim2.new(0,100,0,100) | |
| 12646 | img.ZIndex = 6 | |
| 12647 | img.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 12648 | img.BackgroundTransparency = 1 | |
| 12649 | img.Image = 'https://www.roblox.com/Thumbs/Asset.ashx?width=110&height=110&assetId='..v.AssetId | |
| 12650 | ins.MouseButton1Click:Connect(function() | |
| 12651 | local window = true | |
| 12652 | dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. v.AssetId), window, ModelContainerFrame, v.Name)
| |
| 12653 | Notify('Inserted ' .. v.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt')
| |
| 12654 | ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
| 12655 | end) | |
| 12656 | Notify('Select a model to insert')
| |
| 12657 | drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
| 12658 | Exit.MouseButton1Click:Connect(function() | |
| 12659 | drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
| 12660 | wait(0.6) Models:Destroy() end) end end | |
| 12661 | end) | |
| 12662 | ||
| 12663 | addcmd('cmds','opens cmds window',{'commands'},
| |
| 12664 | function(args, speaker) | |
| 12665 | if speaker.userId ~= LP.userId then | |
| 12666 | for _, child in pairs( workspace:GetChildren()) do | |
| 12667 | if child.Name == speaker.Name .. "TAB" then | |
| 12668 | child:Destroy() end end | |
| 12669 | game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1)
| |
| 12670 | local GUI = Instance.new("SurfaceGui")
| |
| 12671 | local holder = Instance.new("Frame")
| |
| 12672 | local bar = Instance.new("Frame")
| |
| 12673 | local Title = Instance.new("TextLabel")
| |
| 12674 | local MAIN = Instance.new("Frame")
| |
| 12675 | local Example = Instance.new("TextLabel")
| |
| 12676 | local CMDs = Instance.new("ScrollingFrame")
| |
| 12677 | local PART = Instance.new("Part")
| |
| 12678 | PART.Name = speaker.Name .. 'TAB' | |
| 12679 | PART.Color = maincolor | |
| 12680 | PART.Size = Vector3.new(7, 7.8, 0.2) | |
| 12681 | PART.Transparency = 0 | |
| 12682 | PART.Locked = true | |
| 12683 | PART.CanCollide = false | |
| 12684 | PART.Parent = workspace | |
| 12685 | PART.Anchored = true | |
| 12686 | PART.Material = "Neon" | |
| 12687 | local GUI = Instance.new("SurfaceGui")
| |
| 12688 | local holder = Instance.new("Frame")
| |
| 12689 | local bar = Instance.new("Frame")
| |
| 12690 | local Title = Instance.new("TextLabel")
| |
| 12691 | local MAIN = Instance.new("Frame")
| |
| 12692 | local Example = Instance.new("TextLabel")
| |
| 12693 | local CMDs = Instance.new("ScrollingFrame")
| |
| 12694 | GUI.Name = "GUI" | |
| 12695 | GUI.Parent = PART | |
| 12696 | GUI.CanvasSize = Vector2.new(500, 600) | |
| 12697 | GUI.Face = Enum.NormalId.Back | |
| 12698 | holder.Name = "holder" | |
| 12699 | holder.Parent = GUI | |
| 12700 | holder.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 12701 | holder.BackgroundTransparency = 1 | |
| 12702 | holder.BorderSizePixel = 2 | |
| 12703 | holder.Position = UDim2.new(0, 0, 0, 10) | |
| 12704 | holder.Size = UDim2.new(0, 300, 0, 330) | |
| 12705 | holder.ZIndex = 2 | |
| 12706 | bar.Name = "bar" | |
| 12707 | bar.Parent = holder | |
| 12708 | bar.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 12709 | bar.BackgroundTransparency = 0.89999997615814 | |
| 12710 | bar.BorderSizePixel = 0 | |
| 12711 | bar.Position = UDim2.new(0, 10, 1, -330) | |
| 12712 | bar.Size = UDim2.new(0, 480, 0, 33) | |
| 12713 | Title.Name = "Title" | |
| 12714 | Title.Parent = bar | |
| 12715 | Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
| 12716 | Title.BackgroundTransparency = 1 | |
| 12717 | Title.Size = UDim2.new(1, 0, 0, 30) | |
| 12718 | Title.Font = Enum.Font.SourceSansBold | |
| 12719 | Title.FontSize = Enum.FontSize.Size24 | |
| 12720 | Title.Text = "[Infinite Yield] Command List" | |
| 12721 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 12722 | MAIN.Name = "MAIN" | |
| 12723 | MAIN.Parent = holder | |
| 12724 | MAIN.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 12725 | MAIN.BackgroundTransparency = 0.89999997615814 | |
| 12726 | MAIN.BorderSizePixel = 0 | |
| 12727 | MAIN.Position = UDim2.new(0, 10, 1, -300) | |
| 12728 | MAIN.Size = UDim2.new(0, 480, 0, 550) | |
| 12729 | Example.Name = "Example" | |
| 12730 | Example.Parent = MAIN | |
| 12731 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12732 | Example.BackgroundTransparency = 1 | |
| 12733 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12734 | Example.BorderSizePixel = 0 | |
| 12735 | Example.Size = UDim2.new(0, 190, 0, 40) | |
| 12736 | Example.Visible = false | |
| 12737 | Example.Font = Enum.Font.SourceSansBold | |
| 12738 | Example.FontSize = Enum.FontSize.Size36 | |
| 12739 | Example.Text = "txt" | |
| 12740 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
| 12741 | Example.TextStrokeTransparency = 0 | |
| 12742 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
| 12743 | Example.ZIndex = 6 | |
| 12744 | CMDs.Name = "CMDs" | |
| 12745 | CMDs.Parent = MAIN | |
| 12746 | CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12747 | CMDs.BackgroundTransparency = 1 | |
| 12748 | CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12749 | CMDs.BorderSizePixel = 0 | |
| 12750 | CMDs.Size = UDim2.new(0, 480, 0, 550) | |
| 12751 | CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 12752 | CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880) | |
| 12753 | CMDs.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 12754 | CMDs.ScrollBarThickness = 15 | |
| 12755 | CMDs.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 12756 | local CMDsV = CMDsFolder:GetChildren() | |
| 12757 | for i = 1, #CMDsV do | |
| 12758 | local YSize = 35 | |
| 12759 | local Position = ((i * YSize) - YSize) | |
| 12760 | local newcmd = Example:Clone() | |
| 12761 | newcmd.Parent = CMDs | |
| 12762 | newcmd.Visible = true | |
| 12763 | newcmd.Position = UDim2.new(0,10,0, Position + 1) | |
| 12764 | newcmd.Text = "" .. CMDsV[i].Value | |
| 12765 | CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end | |
| 12766 | local cf = speaker.Character.HumanoidRootPart.CFrame | |
| 12767 | local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0) | |
| 12768 | PART.CFrame = newcf | |
| 12769 | speaker.Character.Humanoid.Died:connect(function() | |
| 12770 | PART:Destroy() end) | |
| 12771 | wait(1) | |
| 12772 | PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05) | |
| 12773 | PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05) | |
| 12774 | PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05) | |
| 12775 | if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end | |
| 12776 | table.insert(hastab, speaker.Name) movetab(speaker,PART) | |
| 12777 | else | |
| 12778 | if cmdOpen == true then | |
| 12779 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
| 12780 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
| 12781 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
| 12782 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
| 12783 | else | |
| 12784 | commands() searchbar() | |
| 12785 | end end | |
| 12786 | end) | |
| 12787 | cmdBAR.FocusLost:connect(function(enterpressed) | |
| 12788 | if enterpressed and cmdBAR.Text ~= "" then | |
| 12789 | spawn(function () | |
| 12790 | execCmd(cmdBAR.Text, Player) | |
| 12791 | end) | |
| 12792 | end | |
| 12793 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) | |
| 12794 | cmdBAR.BorderSizePixel = 1 | |
| 12795 | wait(0.1) | |
| 12796 | cmdBAR.BorderSizePixel = 0 | |
| 12797 | cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar' | |
| 12798 | end) | |
| 12799 | Mouse.KeyDown:connect(function(Key) | |
| 12800 | if (Key==cmdbarbind) then | |
| 12801 | cmdBAR:CaptureFocus() | |
| 12802 | cmdBAR.BorderSizePixel = 1 | |
| 12803 | wait(0.1) | |
| 12804 | cmdBAR.BorderSizePixel = 2 | |
| 12805 | end | |
| 12806 | end) | |
| 12807 | cmdBAR.Changed:connect(function (property) | |
| 12808 | if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) end | |
| 12809 | end) | |
| 12810 | cmdBAR:GetPropertyChangedSignal("Text"):Connect(function()
| |
| 12811 | local diff = cmdBAR.TextBounds.X-250 | |
| 12812 | 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) | |
| 12813 | end) | |
| 12814 | cmdBAR.Focused:Connect(function() historyCount = 0 end) | |
| 12815 | game:GetService("UserInputService").InputBegan:Connect(function(input)
| |
| 12816 | if not cmdBAR:IsFocused() then return end | |
| 12817 | if input.KeyCode == Enum.KeyCode.Up then | |
| 12818 | historyCount = historyCount + 1 | |
| 12819 | if historyCount > #cmdHistory then historyCount = #cmdHistory end | |
| 12820 | cmdBAR.Text = cmdHistory[historyCount] or "" | |
| 12821 | elseif input.KeyCode == Enum.KeyCode.Down then | |
| 12822 | historyCount = historyCount - 1 | |
| 12823 | if historyCount < 1 then historyCount = 1 end | |
| 12824 | cmdBAR.Text = cmdHistory[historyCount] or "" | |
| 12825 | end | |
| 12826 | end) | |
| 12827 | NOTIFY = DATA.Notification | |
| 12828 | NOTIFY.Parent = game.CoreGui | |
| 12829 | local usingNOTE = false | |
| 12830 | function Notify(msg) | |
| 12831 | spawn(function() | |
| 12832 | if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then | |
| 12833 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
| 12834 | wait(0.5) | |
| 12835 | MusicPlayer:Hide() | |
| 12836 | if qopen == true then | |
| 12837 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 12838 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 12839 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 12840 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 12841 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false | |
| 12842 | NOTIFY.NOTIFY.NOTE.Text = msg | |
| 12843 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
| 12844 | if playerenabled == true then | |
| 12845 | wait(4) | |
| 12846 | if playerenabled == true then | |
| 12847 | MusicPlayer:Show() | |
| 12848 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
| 12849 | end | |
| 12850 | end | |
| 12851 | else | |
| 12852 | NOTIFY.NOTIFY.NOTE.Text = msg | |
| 12853 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) | |
| 12854 | if playerenabled == true then | |
| 12855 | wait(4) | |
| 12856 | if playerenabled == true then | |
| 12857 | MusicPlayer:Show() | |
| 12858 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) | |
| 12859 | end | |
| 12860 | end | |
| 12861 | end end end) end | |
| 12862 | 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
| |
| 12863 | 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) | |
| 12864 | 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 | |
| 12865 | 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 | |
| 12866 | 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) | |
| 12867 | ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0) | |
| 12868 | if aliasSave then | |
| 12869 | for i = 1, #aliasSave do | |
| 12870 | execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS)
| |
| 12871 | end else | |
| 12872 | aliasSave = {} wait(0.1) updatefile()
| |
| 12873 | for i = 1, #aliasSave do | |
| 12874 | execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS)
| |
| 12875 | end end | |
| 12876 | Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quart", 1, true, nil) | |
| 12877 | commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false | |
| 12878 | local Logs = Instance.new("ScreenGui")
| |
| 12879 | logdrag = Instance.new("Frame")
| |
| 12880 | local PromptDialog = Instance.new("Frame")
| |
| 12881 | local ContainerFrame = Instance.new("Frame")
| |
| 12882 | local pos = Instance.new("Frame")
| |
| 12883 | local clear = Instance.new("TextButton")
| |
| 12884 | local scroll = Instance.new("ScrollingFrame")
| |
| 12885 | local hl = Instance.new("Frame")
| |
| 12886 | local whispers = Instance.new("Frame")
| |
| 12887 | local CheckBox = Instance.new("ImageButton")
| |
| 12888 | local box = Instance.new("TextButton")
| |
| 12889 | local whispers_2 = Instance.new("TextLabel")
| |
| 12890 | local chats = Instance.new("Frame")
| |
| 12891 | local CheckBox_2 = Instance.new("ImageButton")
| |
| 12892 | local box_2 = Instance.new("TextButton")
| |
| 12893 | local chats_2 = Instance.new("TextLabel")
| |
| 12894 | local commands = Instance.new("Frame")
| |
| 12895 | local CheckBox_3 = Instance.new("ImageButton")
| |
| 12896 | local box_3 = Instance.new("TextButton")
| |
| 12897 | local commands_2 = Instance.new("TextLabel")
| |
| 12898 | local shadow = Instance.new("Frame")
| |
| 12899 | local Exit = Instance.new("TextButton")
| |
| 12900 | local PopupText = Instance.new("TextLabel")
| |
| 12901 | local Hide = Instance.new("TextButton")
| |
| 12902 | Logs.Name = "Logs" | |
| 12903 | Logs.Parent = game.CoreGui | |
| 12904 | logdrag.Name = "drag" | |
| 12905 | logdrag.Parent = Logs | |
| 12906 | logdrag.Active = true | |
| 12907 | logdrag.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 12908 | logdrag.BackgroundTransparency = 1 | |
| 12909 | dragGUI(logdrag) | |
| 12910 | logdrag.Position = UDim2.new(0.5, -225, 0, -400) | |
| 12911 | logdrag.Size = UDim2.new(0, 438, 0, 26) | |
| 12912 | PromptDialog.Name = "PromptDialog" | |
| 12913 | PromptDialog.Parent = logdrag | |
| 12914 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 12915 | PromptDialog.BackgroundTransparency = 1 | |
| 12916 | PromptDialog.BorderSizePixel = 0 | |
| 12917 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
| 12918 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
| 12919 | PromptDialog.ZIndex = 5 | |
| 12920 | PromptDialog.ClipsDescendants = true | |
| 12921 | ContainerFrame.Name = "ContainerFrame" | |
| 12922 | ContainerFrame.Parent = PromptDialog | |
| 12923 | ContainerFrame.BackgroundColor3 = maincolor | |
| 12924 | ContainerFrame.BackgroundTransparency = 0.5 | |
| 12925 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
| 12926 | ContainerFrame.BorderSizePixel = 0 | |
| 12927 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
| 12928 | ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0) | |
| 12929 | ContainerFrame.ZIndex = 5 | |
| 12930 | pos.Name = "pos" | |
| 12931 | pos.Parent = ContainerFrame | |
| 12932 | pos.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
| 12933 | pos.BackgroundTransparency = 1 | |
| 12934 | pos.BorderColor3 = Color3.new(0, 0, 0) | |
| 12935 | pos.BorderSizePixel = 0 | |
| 12936 | pos.Position = UDim2.new(0, 10, 0, 9) | |
| 12937 | pos.Size = UDim2.new(0, 428, 0, 230) | |
| 12938 | pos.ZIndex = 5 | |
| 12939 | clear.Name = "clear" | |
| 12940 | clear.Parent = pos | |
| 12941 | clear.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 12942 | clear.BackgroundTransparency = 0.80000001192093 | |
| 12943 | clear.BorderColor3 = Color3.new(1, 1, 1) | |
| 12944 | clear.Position = UDim2.new(0, 3, 0, 3) | |
| 12945 | clear.Size = UDim2.new(0, 70, 0, 20) | |
| 12946 | clear.ZIndex = 5 | |
| 12947 | clear.Font = Enum.Font.SourceSans | |
| 12948 | clear.FontSize = Enum.FontSize.Size14 | |
| 12949 | clear.Text = "Clear" | |
| 12950 | clear.TextColor3 = Color3.new(1, 1, 1) | |
| 12951 | scroll.Name = "scroll" | |
| 12952 | scroll.Parent = pos | |
| 12953 | scroll.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12954 | scroll.BackgroundTransparency = 1 | |
| 12955 | scroll.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 12956 | scroll.BorderSizePixel = 0 | |
| 12957 | scroll.Size = UDim2.new(0, 413, 0, 193) | |
| 12958 | scroll.Position = UDim2.new(0.007, 0, 0.152, 0) | |
| 12959 | scroll.ZIndex = 5 | |
| 12960 | scroll.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 12961 | scroll.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 12962 | scroll.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 12963 | scroll.ScrollBarThickness = 8 | |
| 12964 | scroll.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 12965 | hl.Name = "hl" | |
| 12966 | hl.Parent = pos | |
| 12967 | hl.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
| 12968 | hl.BackgroundTransparency = 0.5 | |
| 12969 | hl.BorderColor3 = Color3.new(0, 0, 0) | |
| 12970 | hl.BorderSizePixel = 0 | |
| 12971 | hl.Position = UDim2.new(0, 2, 0, 35) | |
| 12972 | hl.Size = UDim2.new(0.799065411, 72, 0.839130461, 0) | |
| 12973 | hl.ZIndex = 5 | |
| 12974 | whispers.Name = "whispers" | |
| 12975 | whispers.Parent = pos | |
| 12976 | whispers.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 12977 | whispers.BackgroundTransparency = 1 | |
| 12978 | whispers.Size = UDim2.new(0, 428, 0, 230) | |
| 12979 | CheckBox.Name = "CheckBox" | |
| 12980 | CheckBox.Parent = whispers | |
| 12981 | CheckBox.BackgroundTransparency = 1 | |
| 12982 | CheckBox.Position = UDim2.new(0.574635506, 0, 0, 2) | |
| 12983 | CheckBox.Size = UDim2.new(0, 20, 0, 20) | |
| 12984 | CheckBox.ZIndex = 6 | |
| 12985 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
| 12986 | box.Name = "box" | |
| 12987 | box.Parent = whispers | |
| 12988 | box.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 12989 | box.BackgroundTransparency = 0.80000001192093 | |
| 12990 | box.BorderColor3 = Color3.new(1, 1, 1) | |
| 12991 | box.Position = UDim2.new(0, 172, 0, 3) | |
| 12992 | box.Size = UDim2.new(0, 94, 0, 20) | |
| 12993 | box.ZIndex = 5 | |
| 12994 | box.Font = Enum.Font.SourceSans | |
| 12995 | box.FontSize = Enum.FontSize.Size14 | |
| 12996 | box.Text = "" | |
| 12997 | box.TextColor3 = Color3.new(1, 1, 1) | |
| 12998 | whispers_2.Name = "whispers" | |
| 12999 | whispers_2.Parent = whispers | |
| 13000 | whispers_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 13001 | whispers_2.BackgroundTransparency = 1 | |
| 13002 | whispers_2.Position = UDim2.new(0, 172, 0, 3) | |
| 13003 | whispers_2.Size = UDim2.new(0.126168221, 20, -0.0434782617, 30) | |
| 13004 | whispers_2.ZIndex = 6 | |
| 13005 | whispers_2.Font = Enum.Font.SourceSansBold | |
| 13006 | whispers_2.FontSize = Enum.FontSize.Size14 | |
| 13007 | whispers_2.Text = "Whispers" | |
| 13008 | whispers_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 13009 | chats.Name = "chats" | |
| 13010 | chats.Parent = pos | |
| 13011 | chats.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 13012 | chats.BackgroundTransparency = 1 | |
| 13013 | chats.Size = UDim2.new(0, 428, 0, 230) | |
| 13014 | CheckBox_2.Name = "CheckBox" | |
| 13015 | CheckBox_2.Parent = chats | |
| 13016 | CheckBox_2.BackgroundTransparency = 1 | |
| 13017 | CheckBox_2.Position = UDim2.new(0.324635506, 0, 3.49245965e-08, 2) | |
| 13018 | CheckBox_2.Size = UDim2.new(0, 20, 0, 20) | |
| 13019 | CheckBox_2.ZIndex = 6 | |
| 13020 | CheckBox_2.Image = "http://www.roblox.com/asset/?id=65492641" | |
| 13021 | box_2.Name = "box" | |
| 13022 | box_2.Parent = chats | |
| 13023 | box_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 13024 | box_2.BackgroundTransparency = 0.80000001192093 | |
| 13025 | box_2.BorderColor3 = Color3.new(1, 1, 1) | |
| 13026 | box_2.Position = UDim2.new(0, 86, 0, 3) | |
| 13027 | box_2.Size = UDim2.new(0, 73, 0, 20) | |
| 13028 | box_2.ZIndex = 5 | |
| 13029 | box_2.Font = Enum.Font.SourceSans | |
| 13030 | box_2.FontSize = Enum.FontSize.Size14 | |
| 13031 | box_2.Text = "" | |
| 13032 | box_2.TextColor3 = Color3.new(1, 1, 1) | |
| 13033 | chats_2.Name = "chats" | |
| 13034 | chats_2.Parent = chats | |
| 13035 | chats_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 13036 | chats_2.BackgroundTransparency = 1 | |
| 13037 | chats_2.Position = UDim2.new(0, 86, 0, 2) | |
| 13038 | chats_2.Size = UDim2.new(0.0771028027, 20, -0.0434782617, 30) | |
| 13039 | chats_2.ZIndex = 6 | |
| 13040 | chats_2.Font = Enum.Font.SourceSansBold | |
| 13041 | chats_2.FontSize = Enum.FontSize.Size14 | |
| 13042 | chats_2.Text = "Chats" | |
| 13043 | chats_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 13044 | commands.Name = "commands" | |
| 13045 | commands.Parent = pos | |
| 13046 | commands.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 13047 | commands.BackgroundTransparency = 1 | |
| 13048 | commands.Size = UDim2.new(0, 428, 0, 230) | |
| 13049 | CheckBox_3.Name = "CheckBox" | |
| 13050 | CheckBox_3.Parent = commands | |
| 13051 | CheckBox_3.BackgroundTransparency = 1 | |
| 13052 | CheckBox_3.Position = UDim2.new(0.844495356, 0, 0, 2) | |
| 13053 | CheckBox_3.Size = UDim2.new(0, 20, 0, 20) | |
| 13054 | CheckBox_3.ZIndex = 6 | |
| 13055 | CheckBox_3.Image = "http://www.roblox.com/asset/?id=65492641" | |
| 13056 | box_3.Name = "box" | |
| 13057 | box_3.Parent = commands | |
| 13058 | box_3.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 13059 | box_3.BackgroundTransparency = 0.80000001192093 | |
| 13060 | box_3.BorderColor3 = Color3.new(1, 1, 1) | |
| 13061 | box_3.Position = UDim2.new(0, 279, 0, 3) | |
| 13062 | box_3.Size = UDim2.new(0, 102, 0, 20) | |
| 13063 | box_3.ZIndex = 5 | |
| 13064 | box_3.Font = Enum.Font.SourceSans | |
| 13065 | box_3.FontSize = Enum.FontSize.Size14 | |
| 13066 | box_3.Text = "" | |
| 13067 | box_3.TextColor3 = Color3.new(1, 1, 1) | |
| 13068 | commands_2.Name = "commands" | |
| 13069 | commands_2.Parent = commands | |
| 13070 | commands_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 13071 | commands_2.BackgroundTransparency = 1 | |
| 13072 | commands_2.Position = UDim2.new(0, 279, 0, 3) | |
| 13073 | commands_2.Size = UDim2.new(0.144859806, 20, -0.0434782617, 30) | |
| 13074 | commands_2.ZIndex = 6 | |
| 13075 | commands_2.Font = Enum.Font.SourceSansBold | |
| 13076 | commands_2.FontSize = Enum.FontSize.Size14 | |
| 13077 | commands_2.Text = "Commands" | |
| 13078 | commands_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 13079 | shadow.Name = "shadow" | |
| 13080 | shadow.Parent = PromptDialog | |
| 13081 | shadow.BackgroundColor3 = maincolor | |
| 13082 | shadow.BackgroundTransparency = 0.30000001192093 | |
| 13083 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
| 13084 | shadow.BorderSizePixel = 0 | |
| 13085 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
| 13086 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
| 13087 | Exit.Name = "Exit" | |
| 13088 | Exit.Parent = shadow | |
| 13089 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 13090 | Exit.BackgroundTransparency = 0.30000001192093 | |
| 13091 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
| 13092 | Exit.BorderSizePixel = 0 | |
| 13093 | Exit.Position = UDim2.new(0, 415, 0, 3) | |
| 13094 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
| 13095 | Exit.FontSize = Enum.FontSize.Size14 | |
| 13096 | Exit.Text = "" | |
| 13097 | PopupText.Name = "PopupText" | |
| 13098 | PopupText.Parent = shadow | |
| 13099 | PopupText.BackgroundTransparency = 1 | |
| 13100 | PopupText.Position = UDim2.new(0, 61, 0, -5) | |
| 13101 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
| 13102 | PopupText.ZIndex = 6 | |
| 13103 | PopupText.Font = Enum.Font.SourceSansBold | |
| 13104 | PopupText.TextSize = 31 | |
| 13105 | PopupText.Text = "Logs" | |
| 13106 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 13107 | PopupText.TextStrokeTransparency = 0 | |
| 13108 | PopupText.TextWrapped = true | |
| 13109 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
| 13110 | Hide.Name = "Hide" | |
| 13111 | Hide.Parent = shadow | |
| 13112 | Hide.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 13113 | Hide.BackgroundTransparency = 0.30000001192093 | |
| 13114 | Hide.BorderColor3 = Color3.new(1, 1, 1) | |
| 13115 | Hide.BorderSizePixel = 0 | |
| 13116 | Hide.Position = UDim2.new(0.800000012, 41, 0, 3) | |
| 13117 | Hide.Size = UDim2.new(0, 20, 0, 20) | |
| 13118 | Hide.FontSize = Enum.FontSize.Size14 | |
| 13119 | Hide.Text = "" | |
| 13120 | checked = "http://www.roblox.com/asset/?id=65492641" | |
| 13121 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
| 13122 | if chatsV == true then | |
| 13123 | CheckBox_2.Image = checked else | |
| 13124 | CheckBox_2.Image = unchecked end | |
| 13125 | box_2.MouseButton1Down:connect(function() | |
| 13126 | if chatsV == true then chatsV = false | |
| 13127 | CheckBox_2.Image = unchecked updatefile() else | |
| 13128 | chatsV = true | |
| 13129 | CheckBox_2.Image = checked updatefile() end end) | |
| 13130 | if whispersV == true then | |
| 13131 | CheckBox.Image = checked else | |
| 13132 | CheckBox.Image = unchecked end | |
| 13133 | box.MouseButton1Down:connect(function() | |
| 13134 | if whispersV == true then whispersV = false | |
| 13135 | CheckBox.Image = unchecked updatefile() else | |
| 13136 | whispersV = true | |
| 13137 | CheckBox.Image = checked updatefile() end end) | |
| 13138 | if commandsV == true then | |
| 13139 | CheckBox_3.Image = checked else | |
| 13140 | CheckBox_3.Image = unchecked end | |
| 13141 | box_3.MouseButton1Down:connect(function() | |
| 13142 | if commandsV == true then commandsV = false | |
| 13143 | CheckBox_3.Image = unchecked updatefile() else | |
| 13144 | commandsV = true | |
| 13145 | CheckBox_3.Image = checked updatefile() end end) | |
| 13146 | clear.MouseButton1Down:connect(function() | |
| 13147 | for _, child in pairs( scroll:GetChildren()) do | |
| 13148 | child:Destroy() end | |
| 13149 | scroll.CanvasSize = UDim2.new(0, 0, 0, 10) | |
| 13150 | end) | |
| 13151 | Exit.MouseButton1Down:connect(function() | |
| 13152 | logdrag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
| 13153 | logsopen = false | |
| 13154 | end) | |
| 13155 | local hidden = false | |
| 13156 | Hide.MouseButton1Down:connect(function() | |
| 13157 | if hidden == false then hidden = true | |
| 13158 | ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil) | |
| 13159 | else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false | |
| 13160 | end end) | |
| 13161 | function logtime() -- time function from aperture | |
| 13162 | local HOUR = math.floor((tick() % 86400) / 3600) | |
| 13163 | local MINUTE = math.floor((tick() % 3600) / 60) | |
| 13164 | local SECOND = math.floor(tick() % 60) | |
| 13165 | local AP = HOUR > 11 and 'PM' or 'AM' | |
| 13166 | HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12) | |
| 13167 | HOUR = HOUR < 10 and '0' .. HOUR or HOUR | |
| 13168 | MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE | |
| 13169 | SECOND = SECOND < 10 and '0' .. SECOND or SECOND | |
| 13170 | return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP end | |
| 13171 | function CreateLabel(Name, Text) | |
| 13172 | local sf = scroll | |
| 13173 | if #sf:GetChildren() >= 2546 then | |
| 13174 | sf:ClearAllChildren() | |
| 13175 | end | |
| 13176 | local alls = 0 | |
| 13177 | for i,v in pairs(sf:GetChildren()) do | |
| 13178 | if v then | |
| 13179 | alls = v.Size.Y.Offset + alls | |
| 13180 | end | |
| 13181 | if not v then | |
| 13182 | alls = 0 | |
| 13183 | end | |
| 13184 | end | |
| 13185 | local tl = Instance.new('TextLabel', sf)
| |
| 13186 | local il = Instance.new('Frame', tl)
| |
| 13187 | tl.Name = Name | |
| 13188 | tl.ZIndex = 6 | |
| 13189 | tl.Text = logtime().." - ["..Name.."]: "..Text | |
| 13190 | tl.Size = UDim2.new(0,410,0,84) | |
| 13191 | tl.BackgroundTransparency = 1 | |
| 13192 | tl.BorderSizePixel = 0 | |
| 13193 | tl.Font = "SourceSansBold" | |
| 13194 | tl.Position = UDim2.new(-1,0,0,alls) | |
| 13195 | tl.TextTransparency = 1 | |
| 13196 | tl.TextScaled = false | |
| 13197 | tl.TextSize = 14 | |
| 13198 | tl.TextWrapped = true | |
| 13199 | tl.TextXAlignment = "Left" | |
| 13200 | tl.TextYAlignment = "Top" | |
| 13201 | il.BackgroundTransparency = 1 | |
| 13202 | il.BorderSizePixel = 0 | |
| 13203 | il.Size = UDim2.new(0,12,1,0) | |
| 13204 | il.Position = UDim2.new(0,410,0,0) | |
| 13205 | tl.TextColor3 = Color3.fromRGB(255,255,255) | |
| 13206 | tl.Size = UDim2.new(0,410,0,tl.TextBounds.Y) | |
| 13207 | sf.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y) | |
| 13208 | sf.CanvasPosition = Vector2.new(0,sf.CanvasPosition.Y+tl.TextBounds.Y) | |
| 13209 | local size2 = sf.CanvasSize.Y.Offset | |
| 13210 | tl:TweenPosition(UDim2.new(0,0,0,alls), 'In', 'Quint', 0.5) | |
| 13211 | for i = 0,50 do wait(0.05) | |
| 13212 | tl.TextTransparency = tl.TextTransparency - 0.05 | |
| 13213 | end | |
| 13214 | tl.TextTransparency = 0 | |
| 13215 | end logsloaded = true | |
| 13216 | local intro = Instance.new("ScreenGui")
| |
| 13217 | local Frame = Instance.new("Frame")
| |
| 13218 | local Circle = Instance.new("ImageLabel")
| |
| 13219 | local ImageLabel = Instance.new("ImageLabel")
| |
| 13220 | intro.Name = "intro" | |
| 13221 | intro.Parent = game.CoreGui | |
| 13222 | Frame.Parent = intro | |
| 13223 | Frame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
| 13224 | Frame.BackgroundTransparency = 1 | |
| 13225 | Frame.BorderSizePixel = 0 | |
| 13226 | Frame.ClipsDescendants = true | |
| 13227 | Frame.Position = UDim2.new(0.5, -125, 0.5, -125) | |
| 13228 | Frame.Size = UDim2.new(0, 250, 0, 250) | |
| 13229 | Circle.Name = "Circle" | |
| 13230 | Circle.Parent = Frame | |
| 13231 | Circle.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
| 13232 | Circle.BackgroundTransparency = 1 | |
| 13233 | Circle.BorderSizePixel = 0 | |
| 13234 | Circle.Position = UDim2.new(0.5, 0, 0.5, 0) | |
| 13235 | Circle.Image = "rbxassetid://631172870" | |
| 13236 | Circle.ImageColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
| 13237 | ImageLabel.Parent = Frame | |
| 13238 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 13239 | ImageLabel.BackgroundTransparency = 1 | |
| 13240 | ImageLabel.BorderSizePixel = 0 | |
| 13241 | ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0) | |
| 13242 | ImageLabel.Image = "rbxassetid://1352543873" | |
| 13243 | Loading.ba:TweenSize(UDim2.new(0.35, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) | |
| 13244 | local g = intro | |
| 13245 | local f = Frame | |
| 13246 | local imagef = Circle | |
| 13247 | local logof = ImageLabel | |
| 13248 | loadedintro = false | |
| 13249 | local function tween2() | |
| 13250 | f:TweenSizeAndPosition(UDim2.new(0,250,0,250),UDim2.new(0.5,-125,0.5,-125), "Out", "Quart", 0.4) | |
| 13251 | wait(0.6) loadedintro = true end | |
| 13252 | - | if pcall(function() loadstring(game:HttpGet(('https://pastebin.com/raw/wcEw3rW9'),true))() end) then
|
| 13252 | + | |
| 13253 | - | if workspace.FilteringEnabled == true then |
| 13253 | + | |
| 13254 | - | Notify('Filtering ENABLED '..ServerMessage)
|
| 13254 | + | |
| 13255 | - | elseif workspace.FilteringEnabled == false then |
| 13255 | + | |
| 13256 | - | Notify('Filtering Disabled '..ServerMessage)
|
| 13256 | + | local function NS() |
| 13257 | loadstring(game:HttpGet(('https://pastebin.com/raw/wcEw3rW9'),true))()
| |
| 13258 | if workspace.FilteringEnabled == true then Notify('Filtering ENABLED '..ServerMessage)
| |
| 13259 | - | if workspace.FilteringEnabled == true then |
| 13259 | + | elseif workspace.FilteringEnabled == false then Notify('Filtering Disabled '..ServerMessage) end
|
| 13260 | - | Notify('Filtering ENABLED')
|
| 13260 | + | |
| 13261 | - | elseif |
| 13261 | + | local getPastebin = pcall(NS) |
| 13262 | - | workspace.FilteringEnabled == false then |
| 13262 | + | if not getPastebin then |
| 13263 | - | Notify('Filtering Disabled')
|
| 13263 | + | if workspace.FilteringEnabled == true then Notify('Filtering ENABLED')
|
| 13264 | elseif workspace.FilteringEnabled == false then Notify('Filtering Disabled') end
| |
| 13265 | end | |
| 13266 | Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quart", 0.4, true, nil) | |
| 13267 | local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel")
| |
| 13268 | local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel")
| |
| 13269 | 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
| |
| 13270 | 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) | |
| 13271 | 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) | |
| 13272 | 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) | |
| 13273 | 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 | |
| 13274 | 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 | |
| 13275 | 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) | |
| 13276 | 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) | |
| 13277 | settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 220, 0, 0) | |
| 13278 | 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 | |
| 13279 | 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 | |
| 13280 | 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) | |
| 13281 | 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) | |
| 13282 | 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) | |
| 13283 | mix.Name = "mix" mix.Parent = sheild mix.BackgroundTransparency = 1 mix.Position = UDim2.new(0, 340, 0, 0) | |
| 13284 | 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) | |
| 13285 | 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 | |
| 13286 | lockic = Instance.new("ImageLabel")
| |
| 13287 | lockic.Name = "lock" | |
| 13288 | lockic.Parent = iy | |
| 13289 | lockic.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 13290 | lockic.BackgroundTransparency = 1 | |
| 13291 | lockic.ImageTransparency = 1 | |
| 13292 | lockic.BorderSizePixel = 0 | |
| 13293 | lockic.Position = UDim2.new(0, 53, 0, -3) | |
| 13294 | lockic.Size = UDim2.new(0, 40, 0, 40) | |
| 13295 | lockic.Image = "rbxassetid://1495252742" | |
| 13296 | 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) | |
| 13297 | 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 | |
| 13298 | Loading.ba:TweenSize(UDim2.new(0.7, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) quickmenu = game.CoreGui.RobloxGui.TopBarContainer.iy | |
| 13299 | 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)
| |
| 13300 | 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 | |
| 13301 | 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)
| |
| 13302 | 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) | |
| 13303 | PKR = picker.ColorPicker | |
| 13304 | local ColorPicker do | |
| 13305 | ColorPicker = {}
| |
| 13306 | ||
| 13307 | ColorPicker.new = function() | |
| 13308 | local newMt = setmetatable({},{})
| |
| 13309 | ||
| 13310 | local pickerGui = picker.ColorPicker | |
| 13311 | local pickerTopBar = pickerGui.TopBar | |
| 13312 | local pickerFrame = pickerGui.Content | |
| 13313 | local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace | |
| 13314 | local colorStrip = pickerFrame.ColorStrip | |
| 13315 | local previewFrame = pickerFrame.Preview | |
| 13316 | local basicColorsFrame = pickerFrame.BasicColors | |
| 13317 | local customColorsFrame = pickerFrame.CustomColors | |
| 13318 | local okButton = pickerFrame.Ok | |
| 13319 | local cancelButton = pickerFrame.Cancel | |
| 13320 | local defaultButton = pickerFrame.Default | |
| 13321 | rainbowButton = pickerFrame.Rainbow | |
| 13322 | ||
| 13323 | local colorScope = colorSpace.Scope | |
| 13324 | local colorArrow = pickerFrame.ArrowFrame.Arrow | |
| 13325 | ||
| 13326 | local hueInput = pickerFrame.Hue.Input | |
| 13327 | local satInput = pickerFrame.Sat.Input | |
| 13328 | local valInput = pickerFrame.Val.Input | |
| 13329 | ||
| 13330 | local redInput = pickerFrame.Red.Input | |
| 13331 | local greenInput = pickerFrame.Green.Input | |
| 13332 | local blueInput = pickerFrame.Blue.Input | |
| 13333 | ||
| 13334 | local user = game:GetService("UserInputService")
| |
| 13335 | local mouse = game:GetService("Players").LocalPlayer:GetMouse()
| |
| 13336 | ||
| 13337 | local hue,sat,val = 0,0,1 | |
| 13338 | local red,green,blue = 1,1,1 | |
| 13339 | local chosenColor = Color3.new(0,0,0) | |
| 13340 | ||
| 13341 | 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)}
| |
| 13342 | local customColors = {}
| |
| 13343 | ||
| 13344 | local function updateColor(noupdate) | |
| 13345 | local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199 | |
| 13346 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
| 13347 | ||
| 13348 | if noupdate == 2 or not noupdate then | |
| 13349 | hueInput.Text = tostring(math.ceil(359*hue)) | |
| 13350 | satInput.Text = tostring(math.ceil(255*sat)) | |
| 13351 | valInput.Text = tostring(math.floor(255*val)) | |
| 13352 | end | |
| 13353 | if noupdate == 1 or not noupdate then | |
| 13354 | redInput.Text = tostring(math.floor(255*red)) | |
| 13355 | greenInput.Text = tostring(math.floor(255*green)) | |
| 13356 | blueInput.Text = tostring(math.floor(255*blue)) | |
| 13357 | end | |
| 13358 | ||
| 13359 | chosenColor = Color3.new(red,green,blue) | |
| 13360 | ||
| 13361 | colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9) | |
| 13362 | colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1) | |
| 13363 | colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4) | |
| 13364 | previewFrame.BackgroundColor3 = chosenColor | |
| 13365 | ||
| 13366 | newMt.Color = chosenColor | |
| 13367 | if newMt.Changed then newMt:Changed(chosenColor) end | |
| 13368 | end | |
| 13369 | ||
| 13370 | local function colorSpaceInput() | |
| 13371 | local relativeX = mouse.X - colorSpace.AbsolutePosition.X | |
| 13372 | local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y | |
| 13373 | ||
| 13374 | if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end | |
| 13375 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end | |
| 13376 | ||
| 13377 | hue = (219 - relativeX)/219 | |
| 13378 | sat = (199 - relativeY)/199 | |
| 13379 | ||
| 13380 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
| 13381 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
| 13382 | ||
| 13383 | updateColor() | |
| 13384 | end | |
| 13385 | ||
| 13386 | local function colorStripInput() | |
| 13387 | local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y | |
| 13388 | ||
| 13389 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end | |
| 13390 | ||
| 13391 | val = (199 - relativeY)/199 | |
| 13392 | ||
| 13393 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
| 13394 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
| 13395 | ||
| 13396 | updateColor() | |
| 13397 | end | |
| 13398 | ||
| 13399 | local function hookButtons(frame,func) | |
| 13400 | frame.ArrowFrame.Up.InputBegan:Connect(function(input) | |
| 13401 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
| 13402 | frame.ArrowFrame.Up.BackgroundTransparency = 0.5 | |
| 13403 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 13404 | local releaseEvent,runEvent | |
| 13405 | ||
| 13406 | local startTime = tick() | |
| 13407 | local pressing = true | |
| 13408 | local startNum = tonumber(frame.Text) | |
| 13409 | ||
| 13410 | if not startNum then return end | |
| 13411 | ||
| 13412 | releaseEvent = user.InputEnded:Connect(function(input) | |
| 13413 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
| 13414 | releaseEvent:Disconnect() | |
| 13415 | pressing = false | |
| 13416 | end) | |
| 13417 | ||
| 13418 | startNum = startNum + 1 | |
| 13419 | func(startNum) | |
| 13420 | while pressing do | |
| 13421 | if tick()-startTime > 0.3 then | |
| 13422 | startNum = startNum + 1 | |
| 13423 | func(startNum) | |
| 13424 | end | |
| 13425 | wait(0.1) | |
| 13426 | end | |
| 13427 | end | |
| 13428 | end) | |
| 13429 | ||
| 13430 | frame.ArrowFrame.Up.InputEnded:Connect(function(input) | |
| 13431 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
| 13432 | frame.ArrowFrame.Up.BackgroundTransparency = 1 | |
| 13433 | end | |
| 13434 | end) | |
| 13435 | ||
| 13436 | frame.ArrowFrame.Down.InputBegan:Connect(function(input) | |
| 13437 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
| 13438 | frame.ArrowFrame.Down.BackgroundTransparency = 0.5 | |
| 13439 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 13440 | local releaseEvent,runEvent | |
| 13441 | ||
| 13442 | local startTime = tick() | |
| 13443 | local pressing = true | |
| 13444 | local startNum = tonumber(frame.Text) | |
| 13445 | ||
| 13446 | if not startNum then return end | |
| 13447 | ||
| 13448 | releaseEvent = user.InputEnded:Connect(function(input) | |
| 13449 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
| 13450 | releaseEvent:Disconnect() | |
| 13451 | pressing = false | |
| 13452 | end) | |
| 13453 | ||
| 13454 | startNum = startNum - 1 | |
| 13455 | func(startNum) | |
| 13456 | while pressing do | |
| 13457 | if tick()-startTime > 0.3 then | |
| 13458 | startNum = startNum - 1 | |
| 13459 | func(startNum) | |
| 13460 | end | |
| 13461 | wait(0.1) | |
| 13462 | end | |
| 13463 | end | |
| 13464 | end) | |
| 13465 | ||
| 13466 | frame.ArrowFrame.Down.InputEnded:Connect(function(input) | |
| 13467 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
| 13468 | frame.ArrowFrame.Down.BackgroundTransparency = 1 | |
| 13469 | end | |
| 13470 | end) | |
| 13471 | end | |
| 13472 | ||
| 13473 | colorSpace.InputBegan:Connect(function(input) | |
| 13474 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 13475 | local releaseEvent,mouseEvent | |
| 13476 | ||
| 13477 | releaseEvent = user.InputEnded:Connect(function(input) | |
| 13478 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
| 13479 | releaseEvent:Disconnect() | |
| 13480 | mouseEvent:Disconnect() | |
| 13481 | end) | |
| 13482 | ||
| 13483 | mouseEvent = user.InputChanged:Connect(function(input) | |
| 13484 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
| 13485 | colorSpaceInput() | |
| 13486 | end | |
| 13487 | end) | |
| 13488 | ||
| 13489 | colorSpaceInput() | |
| 13490 | end | |
| 13491 | end) | |
| 13492 | ||
| 13493 | colorStrip.InputBegan:Connect(function(input) | |
| 13494 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 13495 | local releaseEvent,mouseEvent | |
| 13496 | ||
| 13497 | releaseEvent = user.InputEnded:Connect(function(input) | |
| 13498 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
| 13499 | releaseEvent:Disconnect() | |
| 13500 | mouseEvent:Disconnect() | |
| 13501 | end) | |
| 13502 | ||
| 13503 | mouseEvent = user.InputChanged:Connect(function(input) | |
| 13504 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
| 13505 | colorStripInput() | |
| 13506 | end | |
| 13507 | end) | |
| 13508 | ||
| 13509 | colorStripInput() | |
| 13510 | end | |
| 13511 | end) | |
| 13512 | ||
| 13513 | local function updateHue(str) | |
| 13514 | local num = tonumber(str) | |
| 13515 | if num then | |
| 13516 | hue = math.clamp(math.floor(num),0,359)/359 | |
| 13517 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
| 13518 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
| 13519 | hueInput.Text = tostring(hue*359) | |
| 13520 | updateColor(1) | |
| 13521 | end | |
| 13522 | end | |
| 13523 | hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue) | |
| 13524 | ||
| 13525 | local function updateSat(str) | |
| 13526 | local num = tonumber(str) | |
| 13527 | if num then | |
| 13528 | sat = math.clamp(math.floor(num),0,255)/255 | |
| 13529 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
| 13530 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
| 13531 | satInput.Text = tostring(sat*255) | |
| 13532 | updateColor(1) | |
| 13533 | end | |
| 13534 | end | |
| 13535 | satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat) | |
| 13536 | ||
| 13537 | local function updateVal(str) | |
| 13538 | local num = tonumber(str) | |
| 13539 | if num then | |
| 13540 | val = math.clamp(math.floor(num),0,255)/255 | |
| 13541 | local hsvColor = Color3.fromHSV(hue,sat,val) | |
| 13542 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b | |
| 13543 | valInput.Text = tostring(val*255) | |
| 13544 | updateColor(1) | |
| 13545 | end | |
| 13546 | end | |
| 13547 | valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal) | |
| 13548 | ||
| 13549 | local function updateRed(str) | |
| 13550 | local num = tonumber(str) | |
| 13551 | if num then | |
| 13552 | red = math.clamp(math.floor(num),0,255)/255 | |
| 13553 | local newColor = Color3.new(red,green,blue) | |
| 13554 | hue,sat,val = Color3.toHSV(newColor) | |
| 13555 | redInput.Text = tostring(red*255) | |
| 13556 | updateColor(2) | |
| 13557 | end | |
| 13558 | end | |
| 13559 | redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed) | |
| 13560 | ||
| 13561 | local function updateGreen(str) | |
| 13562 | local num = tonumber(str) | |
| 13563 | if num then | |
| 13564 | green = math.clamp(math.floor(num),0,255)/255 | |
| 13565 | local newColor = Color3.new(red,green,blue) | |
| 13566 | hue,sat,val = Color3.toHSV(newColor) | |
| 13567 | greenInput.Text = tostring(green*255) | |
| 13568 | updateColor(2) | |
| 13569 | end | |
| 13570 | end | |
| 13571 | greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen) | |
| 13572 | ||
| 13573 | local function updateBlue(str) | |
| 13574 | local num = tonumber(str) | |
| 13575 | if num then | |
| 13576 | blue = math.clamp(math.floor(num),0,255)/255 | |
| 13577 | local newColor = Color3.new(red,green,blue) | |
| 13578 | hue,sat,val = Color3.toHSV(newColor) | |
| 13579 | blueInput.Text = tostring(blue*255) | |
| 13580 | updateColor(2) | |
| 13581 | end | |
| 13582 | end | |
| 13583 | blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue) | |
| 13584 | ||
| 13585 | local colorChoice = Instance.new("TextButton")
| |
| 13586 | colorChoice.Name = "Choice" | |
| 13587 | colorChoice.Size = UDim2.new(0,25,0,18) | |
| 13588 | colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255) | |
| 13589 | colorChoice.Text = "" | |
| 13590 | colorChoice.AutoButtonColor = false | |
| 13591 | ||
| 13592 | local row = 0 | |
| 13593 | local column = 0 | |
| 13594 | for i,v in pairs(basicColors) do | |
| 13595 | local newColor = colorChoice:Clone() | |
| 13596 | newColor.BackgroundColor3 = v | |
| 13597 | newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row) | |
| 13598 | ||
| 13599 | newColor.MouseButton1Click:Connect(function() | |
| 13600 | red,green,blue = v.r,v.g,v.b | |
| 13601 | local newColor = Color3.new(red,green,blue) | |
| 13602 | hue,sat,val = Color3.toHSV(newColor) | |
| 13603 | updateColor() | |
| 13604 | end) | |
| 13605 | ||
| 13606 | newColor.Parent = basicColorsFrame | |
| 13607 | column = column + 1 | |
| 13608 | if column == 6 then row = row + 1 column = 0 end | |
| 13609 | end | |
| 13610 | ||
| 13611 | row = 0 | |
| 13612 | column = 0 | |
| 13613 | for i = 1,12 do | |
| 13614 | local color = customColors[i] or Color3.new(0,0,0) | |
| 13615 | local newColor = colorChoice:Clone() | |
| 13616 | newColor.BackgroundColor3 = color | |
| 13617 | newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row) | |
| 13618 | ||
| 13619 | newColor.MouseButton1Click:Connect(function() | |
| 13620 | local curColor = customColors[i] or Color3.new(0,0,0) | |
| 13621 | red,green,blue = curColor.r,curColor.g,curColor.b | |
| 13622 | hue,sat,val = Color3.toHSV(curColor) | |
| 13623 | updateColor() | |
| 13624 | end) | |
| 13625 | ||
| 13626 | newColor.MouseButton2Click:Connect(function() | |
| 13627 | customColors[i] = chosenColor | |
| 13628 | newColor.BackgroundColor3 = chosenColor | |
| 13629 | end) | |
| 13630 | ||
| 13631 | newColor.Parent = customColorsFrame | |
| 13632 | column = column + 1 | |
| 13633 | if column == 6 then row = row + 1 column = 0 end | |
| 13634 | end | |
| 13635 | ||
| 13636 | pickerTopBar.InputBegan:Connect(function(input) | |
| 13637 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 13638 | local releaseEvent,mouseEvent | |
| 13639 | local dragOffX,dragOffY = mouse.X-pickerTopBar.AbsolutePosition.X,mouse.Y-pickerTopBar.AbsolutePosition.Y | |
| 13640 | ||
| 13641 | releaseEvent = user.InputEnded:Connect(function(input) | |
| 13642 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end | |
| 13643 | releaseEvent:Disconnect() | |
| 13644 | mouseEvent:Disconnect() | |
| 13645 | end) | |
| 13646 | ||
| 13647 | mouseEvent = user.InputChanged:Connect(function(input) | |
| 13648 | if input.UserInputType == Enum.UserInputType.MouseMovement then | |
| 13649 | pickerGui.Position = UDim2.new(0,mouse.X-dragOffX,0,mouse.Y-dragOffY) | |
| 13650 | end | |
| 13651 | end) | |
| 13652 | end | |
| 13653 | end) | |
| 13654 | ||
| 13655 | okButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor) end wait(0.6) pickerGui.Visible = false end) | |
| 13656 | okButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0.4 end end) | |
| 13657 | okButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0 end end) | |
| 13658 | ||
| 13659 | cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end wait(0.6) pickerGui.Visible = false end) | |
| 13660 | cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end) | |
| 13661 | cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end) | |
| 13662 | ||
| 13663 | defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end wait(0.6) pickerGui.Visible = false end) | |
| 13664 | defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end) | |
| 13665 | defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end) | |
| 13666 | ||
| 13667 | rainbowButton.MouseButton1Click:Connect(function() if newMt.Rainbow then newMt:Rainbow() end end) | |
| 13668 | rainbowButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then rainbowButton.BackgroundTransparency = 0.4 end end) | |
| 13669 | rainbowButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then rainbowButton.BackgroundTransparency = 0 end end) | |
| 13670 | ||
| 13671 | updateColor() | |
| 13672 | ||
| 13673 | newMt.SetColor = function(self,color) | |
| 13674 | red,green,blue = color.r,color.g,color.b | |
| 13675 | hue,sat,val = Color3.toHSV(color) | |
| 13676 | updateColor() | |
| 13677 | end | |
| 13678 | ||
| 13679 | return newMt | |
| 13680 | end | |
| 13681 | end | |
| 13682 | local rainbowCount = 50 | |
| 13683 | local rainbowGuiActive = false | |
| 13684 | local rainbowreset = true | |
| 13685 | ||
| 13686 | spawn(function() | |
| 13687 | local colors = {
| |
| 13688 | BrickColor.Red(), | |
| 13689 | BrickColor.Yellow(), | |
| 13690 | BrickColor.new('Lime green'),
| |
| 13691 | BrickColor.new('Cyan'),
| |
| 13692 | BrickColor.new('Dark indigo')
| |
| 13693 | } | |
| 13694 | while wait() do | |
| 13695 | for i,v in pairs(colors) do | |
| 13696 | for num = 1,rainbowCount do | |
| 13697 | if rainbowGuiActive == true then | |
| 13698 | local mimic = i-1 | |
| 13699 | if not colors[mimic] then | |
| 13700 | mimic = #colors | |
| 13701 | end | |
| 13702 | mimic = colors[mimic] | |
| 13703 | updatecolors(mimic.Color:Lerp(v.Color,num/rainbowCount)) | |
| 13704 | elseif rainbowreset == false then | |
| 13705 | updatecolors(SAVEDCOLOR) | |
| 13706 | rainbowreset = true | |
| 13707 | end | |
| 13708 | wait() | |
| 13709 | end | |
| 13710 | end | |
| 13711 | end | |
| 13712 | end) | |
| 13713 | local picker = ColorPicker.new() | |
| 13714 | 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 | |
| 13715 | picker.Changed = function(self,color) updatecolors(color) end | |
| 13716 | picker.Rainbow = function(self) | |
| 13717 | if rainbowGuiActive == false then | |
| 13718 | rainbowGuiActive = true | |
| 13719 | rainbowButton.Text = 'Rainbow [Enabled]' | |
| 13720 | elseif rainbowGuiActive == true then | |
| 13721 | rainbowGuiActive = false | |
| 13722 | rainbowreset = false | |
| 13723 | rainbowButton.Text = 'Rainbow [Disabled]' | |
| 13724 | end end | |
| 13725 | picker.Cancel = function(self) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) updatecolors(SAVEDCOLOR) end | |
| 13726 | 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)) | |
| 13727 | colorR = 0.121569 colorG = 0.121569 colorB = 0.121569 SAVEDCOLOR = Color3.new(0.121569, 0.121569, 0.121569) updatefile() end | |
| 13728 | SAVEDCOLOR = Color3.new(colorR, colorG, colorB) | |
| 13729 | local sugg = Instance.new("ScreenGui") local suggestions = Instance.new("Frame") local Title = Instance.new("TextLabel")
| |
| 13730 | local SUG = Instance.new("ScrollingFrame") sugg.Name = "sugg" sugg.Parent = game.CoreGui
| |
| 13731 | suggestions.Name = "suggestions" suggestions.Parent = sugg suggestions.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
| 13732 | suggestions.BackgroundTransparency = 0.5 suggestions.BorderColor3 = Color3.new(0, 0, 0) suggestions.BorderSizePixel = 0 | |
| 13733 | suggestions.ClipsDescendants = true suggestions.Position = UDim2.new(-0.000715821981, 1, 1.03197157, -200) suggestions.Size = UDim2.new(0, 300, 0, 182) | |
| 13734 | Title.Name = "Title" Title.Parent = suggestions Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) Title.BackgroundTransparency = 1 | |
| 13735 | Title.Size = UDim2.new(1, 0, 0, 30) Title.Font = Enum.Font.SourceSansBold Title.FontSize = Enum.FontSize.Size24 Title.Text = "Suggestions" | |
| 13736 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) SUG.Name = "SUG" SUG.Parent = suggestions | |
| 13737 | SUG.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BackgroundTransparency = 1 SUG.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 13738 | 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" | |
| 13739 | 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" | |
| 13740 | local CMDsV = CMDsFolder:GetChildren() for i = 1, #CMDsV do local YSize = 25 local Position = ((i * YSize) - YSize) local newcmd = Example:Clone() newcmd.Parent = SUG | |
| 13741 | 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 | |
| 13742 | local CSP2 = game.CoreGui.sugg.suggestions | |
| 13743 | local main2 = CSP2 | |
| 13744 | local frame2 = CSP2:WaitForChild('SUG')
| |
| 13745 | Match2 = function(name,str) return name:lower():find(str:lower()) and true end | |
| 13746 | IndexContents2 = function(str,bool) | |
| 13747 | if suggestionstoggle == true then | |
| 13748 | if string.find(str, " ") then game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) else | |
| 13749 | local Index,SizeY = 0,0 | |
| 13750 | for i,v in next, frame2:GetChildren() do | |
| 13751 | if bool then | |
| 13752 | if Match2(v.Text,str) then | |
| 13753 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quad",0.3,true) | |
| 13754 | Index = Index + 1 | |
| 13755 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
| 13756 | v.Visible = true | |
| 13757 | SizeY = SizeY + v.AbsoluteSize.Y | |
| 13758 | frame2.CanvasSize = UDim2.new(0,0,0,SizeY) else v.Visible = false end else | |
| 13759 | v.Visible = true | |
| 13760 | SizeY = SizeY + v.AbsoluteSize.Y | |
| 13761 | frame2.CanvasSize = UDim2.new(0,0,0,SizeY) end end end end end | |
| 13762 | IndexContents2('',true)
| |
| 13763 | game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) | |
| 13764 | Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quart", 0.4, true, nil) wait(1) | |
| 13765 | repeat wait() until loadedintro == true | |
| 13766 | logof:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.1) | |
| 13767 | wait(0.2) | |
| 13768 | f:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.2) | |
| 13769 | wait(0.3) g:Destroy() | |
| 13770 | updatecolors(Color3.new(colorR, colorG, colorB)) | |
| 13771 | Loading:TweenPosition(UDim2.new(0.25, 0, 1.5, 0), "InOut", "Quart", 0.5, true, nil) wait(0.5) Loading.Parent:Destroy() | |
| 13772 | if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("Chat") and gPlayers.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and
| |
| 13773 | gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then
| |
| 13774 | 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 | |
| 13775 | 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) | |
| 13776 | else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) end end end) end chatboxx() | |
| 13777 | gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar) | |
| 13778 | if newbar:FindFirstChild('BoxFrame') then
| |
| 13779 | chatboxx() end end) | |
| 13780 | LP.PlayerGui.Chat.Frame.ChatChannelParentFrame.Frame_MessageLogDisplay.Scroller.CanvasPosition = Vector2.new(0, 9999999999999999999999999999999999999999999, 0, 0) | |
| 13781 | coroutine.resume(coroutine.create(function() | |
| 13782 | if script.ClassName == "LocalScript" then | |
| 13783 | game.StarterGui:SetCore("ChatMakeSystemMessage", {
| |
| 13784 | Text = "The prefix is '" .. cmdprefix .. "'"; | |
| 13785 | Color = Color3.new(255,255,255); | |
| 13786 | Font = Enum.Font.SourceSans; | |
| 13787 | FontSize = Enum.FontSize.Size24; | |
| 13788 | }) wait(0.5) | |
| 13789 | game.StarterGui:SetCore("ChatMakeSystemMessage", {
| |
| 13790 | Text = "Click IY on the top left to see more options"; | |
| 13791 | Color = Color3.new(255,255,255); | |
| 13792 | Font = Enum.Font.SourceSans; | |
| 13793 | FontSize = Enum.FontSize.Size24; | |
| 13794 | }) end end)) | |
| 13795 | else print('Custom chat detected. Will not provide suggestions for the chat.') end
| |
| 13796 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13797 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13798 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13799 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13800 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13801 | qopen = false quickmenu.MouseButton1Click:connect(function() | |
| 13802 | if qopen == false then fadelock('off') NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
| |
| 13803 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13804 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13805 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13806 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) MusicPlayer:Hide() | |
| 13807 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13808 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = true else | |
| 13809 | quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13810 | quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13811 | quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13812 | quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13813 | quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) | |
| 13814 | if slock == true then fadelock("rbxassetid://1495252742") elseif isagelocked == true then fadelock("rbxassetid://1495252495") end
| |
| 13815 | 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) | |
| 13816 | quickmenu.sheild.cmds.MouseButton1Click:connect(function() if cmdOpen == true then | |
| 13817 | game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1) | |
| 13818 | game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2) | |
| 13819 | game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true | |
| 13820 | game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) | |
| 13821 | else runwindow() end end) | |
| 13822 | quickmenu.sheild.settings.MouseButton1Click:connect(function() hub() end) | |
| 13823 | infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true | |
| 13824 | Updates = Instance.new("ScreenGui")
| |
| 13825 | dragg = Instance.new("Frame")
| |
| 13826 | local PromptDialog = Instance.new("Frame")
| |
| 13827 | local ContainerFrame = Instance.new("Frame")
| |
| 13828 | local LOG = Instance.new("TextLabel")
| |
| 13829 | local PopupText3 = Instance.new("TextLabel")
| |
| 13830 | local PopupText4 = Instance.new("TextLabel")
| |
| 13831 | local UTDV = Instance.new("TextLabel")
| |
| 13832 | local PopupText5 = Instance.new("TextLabel")
| |
| 13833 | local shadow = Instance.new("Frame")
| |
| 13834 | Exitt = Instance.new("TextButton")
| |
| 13835 | local PopupText = Instance.new("TextLabel")
| |
| 13836 | local vers = Instance.new("TextLabel")
| |
| 13837 | Updates.Name = "Updates" | |
| 13838 | Updates.Parent = game.CoreGui | |
| 13839 | dragg.Name = "drag" | |
| 13840 | dragg.Parent = Updates | |
| 13841 | dragg.Active = true | |
| 13842 | dragg.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 13843 | dragg.BackgroundTransparency = 1 | |
| 13844 | dragGUI(dragg) | |
| 13845 | dragg.Position = UDim2.new(0.5, -225, 0, -600) | |
| 13846 | dragg.Size = UDim2.new(0, 438, 0, 26) | |
| 13847 | PromptDialog.Name = "PromptDialog" | |
| 13848 | PromptDialog.Parent = dragg | |
| 13849 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 13850 | PromptDialog.BackgroundTransparency = 1 | |
| 13851 | PromptDialog.BorderSizePixel = 0 | |
| 13852 | PromptDialog.Position = UDim2.new(0, 0, 0, -2) | |
| 13853 | PromptDialog.Size = UDim2.new(0, 438, 0, 300) | |
| 13854 | PromptDialog.ZIndex = 5 | |
| 13855 | ContainerFrame.Name = "ContainerFrame" | |
| 13856 | ContainerFrame.Parent = PromptDialog | |
| 13857 | ContainerFrame.BackgroundColor3 = maincolor | |
| 13858 | ContainerFrame.BackgroundTransparency = 0.5 | |
| 13859 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
| 13860 | ContainerFrame.BorderSizePixel = 0 | |
| 13861 | ContainerFrame.Position = UDim2.new(0, 0, 0, 29) | |
| 13862 | ContainerFrame.Size = UDim2.new(1, 0, 0.8, 0) -- SIZE | |
| 13863 | ContainerFrame.ZIndex = 5 | |
| 13864 | LOG.Name = "LOG" | |
| 13865 | LOG.Parent = ContainerFrame | |
| 13866 | LOG.BackgroundTransparency = 1 | |
| 13867 | LOG.Position = UDim2.new(0, 8, 0, 110) | |
| 13868 | LOG.Size = UDim2.new(1, -16, 1, 0) | |
| 13869 | LOG.ZIndex = 10 | |
| 13870 | LOG.Font = Enum.Font.SourceSansBold | |
| 13871 | LOG.TextSize = 20 | |
| 13872 | 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" | |
| 13873 | LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 13874 | LOG.TextStrokeTransparency = 0 | |
| 13875 | LOG.TextWrapped = true | |
| 13876 | LOG.TextYAlignment = Enum.TextYAlignment.Top | |
| 13877 | LOG.TextXAlignment = "Left" | |
| 13878 | PopupText3.Name = "PopupText3" | |
| 13879 | PopupText3.Parent = ContainerFrame | |
| 13880 | PopupText3.BackgroundTransparency = 1 | |
| 13881 | PopupText3.Position = UDim2.new(0, 8, 0, 35) | |
| 13882 | PopupText3.Size = UDim2.new(1, -16, 0.100000001, 0) | |
| 13883 | PopupText3.ZIndex = 10 | |
| 13884 | PopupText3.Font = Enum.Font.SourceSansBold | |
| 13885 | PopupText3.TextSize = 20 | |
| 13886 | PopupText3.Text = "Edge - Moon" | |
| 13887 | PopupText3.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 13888 | PopupText3.TextStrokeTransparency = 0 | |
| 13889 | PopupText3.TextWrapped = true | |
| 13890 | PopupText3.TextYAlignment = Enum.TextYAlignment.Top | |
| 13891 | PopupText4.Name = "PopupText4" | |
| 13892 | PopupText4.Parent = ContainerFrame | |
| 13893 | PopupText4.BackgroundTransparency = 1 | |
| 13894 | PopupText4.Position = UDim2.new(0, 8, 0, 50) | |
| 13895 | PopupText4.Size = UDim2.new(1, -16, 0.100000001, 0) | |
| 13896 | PopupText4.ZIndex = 10 | |
| 13897 | PopupText4.Font = Enum.Font.SourceSansBold | |
| 13898 | PopupText4.FontSize = Enum.FontSize.Size18 | |
| 13899 | PopupText4.Text = "infyield.weebly.com - discord.me/infiniteyield" | |
| 13900 | PopupText4.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 13901 | PopupText4.TextStrokeTransparency = 0 | |
| 13902 | PopupText4.TextWrapped = true | |
| 13903 | PopupText4.TextYAlignment = Enum.TextYAlignment.Top | |
| 13904 | UTDV.Name = "UTDV" | |
| 13905 | UTDV.Parent = ContainerFrame | |
| 13906 | UTDV.BackgroundTransparency = 1 | |
| 13907 | UTDV.Position = UDim2.new(0, 8, 0, 5) | |
| 13908 | UTDV.Size = UDim2.new(1, -16, 0.100000001, 0) | |
| 13909 | UTDV.ZIndex = 10 | |
| 13910 | UTDV.Font = Enum.Font.SourceSansBold | |
| 13911 | UTDV.FontSize = Enum.FontSize.Size28 | |
| 13912 | UTDV.Text = "Up to date version: N/A" | |
| 13913 | UTDV.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 13914 | UTDV.TextStrokeTransparency = 0 | |
| 13915 | UTDV.TextWrapped = true | |
| 13916 | UTDV.TextYAlignment = Enum.TextYAlignment.Top | |
| 13917 | PopupText5.Name = "PopupText5" | |
| 13918 | PopupText5.Parent = ContainerFrame | |
| 13919 | PopupText5.BackgroundTransparency = 1 | |
| 13920 | PopupText5.Position = UDim2.new(0, 8, 0, 75) | |
| 13921 | PopupText5.Size = UDim2.new(1, -16, 0.100000001, 0) | |
| 13922 | PopupText5.ZIndex = 10 | |
| 13923 | PopupText5.Font = Enum.Font.SourceSansBold | |
| 13924 | PopupText5.FontSize = Enum.FontSize.Size28 | |
| 13925 | PopupText5.Text = "Update Log:" | |
| 13926 | PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 13927 | PopupText5.TextStrokeTransparency = 0 | |
| 13928 | PopupText5.TextWrapped = true | |
| 13929 | PopupText5.TextYAlignment = Enum.TextYAlignment.Top | |
| 13930 | shadow.Name = "shadow" | |
| 13931 | shadow.Parent = PromptDialog | |
| 13932 | shadow.BackgroundColor3 = maincolor | |
| 13933 | shadow.BackgroundTransparency = 0.30000001192093 | |
| 13934 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
| 13935 | shadow.BorderSizePixel = 0 | |
| 13936 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) | |
| 13937 | shadow.Size = UDim2.new(0, 438, 0, 26) | |
| 13938 | Exitt.Name = "Exit" | |
| 13939 | Exitt.Parent = shadow | |
| 13940 | Exitt.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 13941 | Exitt.BackgroundTransparency = 0.30000001192093 | |
| 13942 | Exitt.BorderColor3 = Color3.new(1, 0, 0) | |
| 13943 | Exitt.BorderSizePixel = 0 | |
| 13944 | Exitt.Position = UDim2.new(0, 415, 0, 3) | |
| 13945 | Exitt.Size = UDim2.new(0, 20, 0, 20) | |
| 13946 | Exitt.FontSize = Enum.FontSize.Size14 | |
| 13947 | Exitt.Text = "" | |
| 13948 | PopupText.Name = "PopupText" | |
| 13949 | PopupText.Parent = shadow | |
| 13950 | PopupText.BackgroundTransparency = 1 | |
| 13951 | PopupText.Position = UDim2.new(0, 61, 0, -2) | |
| 13952 | PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0) | |
| 13953 | PopupText.ZIndex = 110 | |
| 13954 | PopupText.Font = Enum.Font.SourceSansBold | |
| 13955 | PopupText.TextSize = 30 | |
| 13956 | PopupText.Text = "Information" | |
| 13957 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 13958 | PopupText.TextStrokeTransparency = 0 | |
| 13959 | PopupText.TextWrapped = true | |
| 13960 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
| 13961 | vers.Name = "vers" | |
| 13962 | vers.Parent = shadow | |
| 13963 | vers.BackgroundTransparency = 1 | |
| 13964 | vers.Position = UDim2.new(0, 8, 0, 2) | |
| 13965 | vers.Size = UDim2.new(0.200913236, -16, 1.11538458, 0) | |
| 13966 | vers.ZIndex = 110 | |
| 13967 | vers.Font = Enum.Font.SourceSansBold | |
| 13968 | vers.TextSize = 20 | |
| 13969 | vers.Text = "v" .. Version | |
| 13970 | vers.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
| 13971 | vers.TextStrokeTransparency = 0 | |
| 13972 | vers.TextWrapped = true | |
| 13973 | vers.TextXAlignment = Enum.TextXAlignment.Left | |
| 13974 | vers.TextYAlignment = Enum.TextYAlignment.Top | |
| 13975 | if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end | |
| 13976 | dragg:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) Exitt.MouseButton1Click:connect(function() | |
| 13977 | dragg:TweenPosition(UDim2.new(0.5, -225, 0, -600), "InOut", "Quart", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end) | |
| 13978 | quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end) end | |
| 13979 | ||
| 13980 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(01203480675) wait(0.3)
| |
| 13981 | if not game.CoreGui:FindFirstChild('IYrun') then
| |
| 13982 | running = Instance.new("BoolValue") running.Parent = game.CoreGui running.Name = 'IYrun'
| |
| 13983 | if Asset.Name == "Infinite Yield " .. Version then UTD = true wait(0.5) run() else | |
| 13984 | UTD = false local Updates = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame") local shadow = Instance.new("Frame") local Exit = Instance.new("TextButton")
| |
| 13985 | local title = Instance.new("TextLabel") local ContainerFrame = Instance.new("Frame") local a = Instance.new("TextLabel") local a2 = Instance.new("TextLabel")
| |
| 13986 | local a3 = Instance.new("TextLabel") local a2_2 = Instance.new("TextLabel") local UPDATE = Instance.new("TextButton") local Line = Instance.new("Frame")
| |
| 13987 | Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Updates PromptDialog.Active = true | |
| 13988 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0 | |
| 13989 | PromptDialog.Position = UDim2.new(0.5, -219, 0, 100) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8 shadow.Name = "shadow" | |
| 13990 | 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 | |
| 13991 | shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093 | |
| 13992 | 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 | |
| 13993 | Exit.Text = "" title.Name = "title" title.Parent = shadow title.BackgroundTransparency = 1 title.Position = UDim2.new(0, 8, 0, -4) | |
| 13994 | title.Size = UDim2.new(1, -16, 0.800000012, 0) title.ZIndex = 110 title.Font = Enum.Font.SourceSansBold title.TextSize = 30 | |
| 13995 | 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 | |
| 13996 | ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 31) | |
| 13997 | ContainerFrame.Size = UDim2.new(1, 0, 0.75, 0) ContainerFrame.ZIndex = 8 ContainerFrame.Style = Enum.FrameStyle.DropShadow a.Name = "a" a.Parent = ContainerFrame | |
| 13998 | 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 | |
| 13999 | 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 | |
| 14000 | 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) | |
| 14001 | 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." | |
| 14002 | 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 | |
| 14003 | 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 | |
| 14004 | 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 | |
| 14005 | 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) | |
| 14006 | 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'" | |
| 14007 | 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" | |
| 14008 | UPDATE.Parent = ContainerFrame UPDATE.BackgroundColor3 = Color3.new(0, 0, 0) UPDATE.BackgroundTransparency = 0.80000001192093 UPDATE.BorderColor3 = Color3.new(1, 1, 1) | |
| 14009 | UPDATE.Position = UDim2.new(0, 148, 0, 153) UPDATE.Size = UDim2.new(0, 126, 0, 40) UPDATE.ZIndex = 9 UPDATE.Font = Enum.Font.SourceSans | |
| 14010 | UPDATE.FontSize = Enum.FontSize.Size18 UPDATE.Text = "Update" UPDATE.TextColor3 = Color3.new(1, 1, 1) Line.Name = "Line" Line.Parent = PromptDialog | |
| 14011 | 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) | |
| 14012 | Line.Size = UDim2.new(0.926999986, 0, 0, 1) Line.ZIndex = 8 function Click(mouse) | |
| 14013 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4) | |
| 14014 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5) | |
| 14015 | Updates:Destroy() run() end Exit.MouseButton1Down:connect(Click) function Click(mouse) | |
| 14016 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4) | |
| 14017 | PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
| 14018 | for _, child in pairs(game.CoreGui:GetChildren()) do | |
| 14019 | if child.Name == "IYrun" then child:Destroy() end end wait(0.5) | |
| 14020 | Updates:Destroy() loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))() end UPDATE.MouseButton1Down:connect(Click) end
| |
| 14021 | - | else print('Infinite Yield is already running.') end
|
| 14021 | + | else print('Infinite Yield is already running.') end |