Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------------------------
- -- _____ __ _ _ _ __ ___ _ _ --
- -- |_ _| / _(_) (_) | \ \ / (_) | | | | --
- -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | --
- -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | --
- -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | --
- -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| --
- -- --
- ---------------------------------------------------------------
- ---------------------------------------------------------------
- --------------------------Version 6.2--------------------------
- ---------------------------------------------------------------
- ---Edge#3467 Moon#6245 bluntboomer#1259 GodHOLINALILIUS#9156---
- ---------------------------------------------------------------
- --The message system was created by HARKINIAN @ V3RMILLION
- --Bang and fly is from rocky2u's admin
- --Happy holidays everyone!
- local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local gWorkspace = game:GetService('Workspace') local Player = game.Players.chaseplayzrbx_YT
- 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={}
- 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 function _G.ADD_ADMIN(ID) table.insert(adminT, ID) end
- local Version = '6.2' services.players=gPlayers services.lighting=game:GetService('Lighting') services.workspace=game:GetService('Workspace') services.events = {} local user = gPlayers.LocalPlayer local bringT = {}
- local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local gWorkspace = game:GetService('Workspace') local scriptprefix='\\'
- local split=" " local cmdprefix=';' suggestionstoggle = true allowfriends = true JLnotify = true Mseconds = '7' slock = false local jl = Instance.new("ScreenGui") jl.Name = "jl" jl.Parent = game.CoreGui MODE = 1
- function msghook()
- for _, child in pairs( workspace:GetChildren()) do
- if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then
- child.Name = "IYmessage"
- child.Text = ''
- MSGhook = true
- end
- end
- if workspace:FindFirstChild("IYmessage") then
- MSGhook = true
- else
- MSGhook = false
- end
- end
- game:GetService('RunService').Heartbeat:connect(function()
- if LP.Character and LP.Character:FindFirstChild('Humanoid') then
- LP.Character.Humanoid.Died:connect(function() FLYING = false end)
- repeat wait() until LP.Character.Humanoid.Health > 0
- if MSGhook == true and game.Workspace:FindFirstChild("IYmessage") then
- if workspace.IYmessage.Text == '' then
- for _, child in pairs( game.Lighting:GetChildren()) do
- if child.Name == "IYmblur" then
- child:Destroy() end end end
- else MSGhook = false
- end
- for i,v in pairs(_players:GetPlayers()) do
- if FindTable(loopkillT, v.Name) then
- v.Character:BreakJoints()
- end
- if FindTable(rainbowT, v.Name) then
- v.Neutral = false
- v.TeamColor = BrickColor.random()
- end
- end
- for i,n in pairs(_players:GetPlayers()) do
- if FindTable(disabletoolsT, n.Name) then
- for i,v in pairs(n.Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:destroy()
- end
- for i,v in pairs(n.Character:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:destroy()
- end
- end
- end
- end end end end)
- jl = game.CoreGui.jl
- POPUP_SIZE = UDim2.new(0,0,-0.15,350)
- db = false
- PopUps = {}
- function changeOptions(N)
- MODE = N
- if N == 1 then
- SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
- SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
- elseif N == 2 then
- SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
- SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) end end
- local origsettings = {abt = game.Lighting.Ambient, oabt = game.Lighting.OutdoorAmbient, brt = game.Lighting.Brightness, time =
- game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe =
- game.Lighting.FogEnd, fs = game.Lighting.FogStart}
- function lponly(player)
- local box = "That is a LocalPlayer only command!"
- wait(0.1)
- game:service'Chat':Chat(player.Character.Head,box,Enum.ChatColor.Red)
- wait(0.1)
- end
- function FindTable(Table, Name)
- for i,v in pairs(Table) do
- if v == Name then
- return true
- end
- end
- return false
- end
- function GetInTable(Table, Name)
- for i = 1, #Table do
- if Table[i] == Name then
- return i
- end
- end
- return false
- end
- function createPopUp(Name,N)
- local Frame = Instance.new("Frame")
- local ImageLabel = Instance.new("ImageLabel")
- local TextBox = Instance.new("TextBox")
- Frame.Parent = game.CoreGui
- Frame.BackgroundColor3 = Color3.new(0.658824, 0.654902, 0.666667)
- Frame.Position = UDim2.new(0,-360,0,330)
- Frame.Size = UDim2.new(0, 230, 0, 60)
- Frame.Style = Enum.FrameStyle.RobloxSquare
- ImageLabel.Parent = Frame
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 0.89999997615814
- ImageLabel.BorderColor3 = Color3.new(0, 0, 0)
- ImageLabel.Size = UDim2.new(0, 50, 1, 0)
- ImageLabel.Image = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..Name..[[&RAND]] .. math.random(1,100000000)
- TextBox.Parent = Frame
- TextBox.Active = false
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.BackgroundTransparency = 0.89999997615814
- TextBox.BorderColor3 = Color3.new(0, 0, 0)
- TextBox.Position = UDim2.new(0, 55, 0, 0)
- TextBox.Size = UDim2.new(0, 158, 1, 0)
- TextBox.ClearTextOnFocus = false
- TextBox.Font = Enum.Font.ArialBold
- TextBox.FontSize = Enum.FontSize.Size10
- TextBox.Text = "-Playername- Joined the Game"
- TextBox.TextColor3 = Color3.new(1, 1, 1)
- TextBox.TextStrokeTransparency = 0
- Frame:TweenPosition(UDim2.new(0,0,0,330),"Out","Quint",0.1,true)
- if N == 1 then
- TextBox.Text = Name.." Joined"
- elseif N == 2 then
- TextBox.Text = Name.." Joined"
- elseif N == 3 then
- TextBox.Text = Name.." Left"
- elseif N == 4 then
- TextBox.Text = Name.." Left"
- end
- Frame.Parent = jl
- table.insert(PopUps,Frame)
- local LocalPopUps = {}
- for i,v in pairs(PopUps) do
- table.insert(LocalPopUps,v)
- v.Position = v.Position + UDim2.new(0,0,0,20)
- end
- for j = 0, POPUP_SIZE.X.Offset,2 do
- for i,v in pairs(LocalPopUps) do
- if v ~= nil then
- v.Position = v.Position + UDim2.new(0,0,0,40)
- end
- end
- wait()
- end
- wait(5)
- table.remove(PopUps,1)
- Frame:TweenPosition(UDim2.new(0,-360,0,330),"Out","Quint",0.2,true)
- wait(0.3)
- Frame:remove()
- end
- function playerAdded(newPlayer)
- if (LP:isFriendsWith(newPlayer.userId)) and MODE >= 1 then
- coroutine.resume(coroutine.create(createPopUp),newPlayer.Name,1)
- elseif MODE == 2 then
- coroutine.resume(coroutine.create(createPopUp),newPlayer.Name,2)
- end
- end
- function PlayerRemoving(PlayerLeft)
- if (LP:isFriendsWith(PlayerLeft.userId)) and MODE >= 1 then
- coroutine.resume(coroutine.create(createPopUp),PlayerLeft.Name,3)
- elseif MODE == 2 then
- coroutine.resume(coroutine.create(createPopUp),PlayerLeft.Name,4)
- end
- end
- FLYING = false
- function sFLY()
- repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
- repeat wait() until Mouse
- local T = LP.Character.HumanoidRootPart
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local SPEED = 0
- local function FLY()
- FLYING = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0.1, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- LP.Character.Humanoid.PlatformStand = true
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- 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
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
- 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
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.cframe = workspace.CurrentCamera.CoordinateFrame
- until not FLYING
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- LP.Character.Humanoid.PlatformStand = false
- end)
- end
- Mouse.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 1
- elseif KEY:lower() == 's' then
- CONTROL.B = -1
- elseif KEY:lower() == 'a' then
- CONTROL.L = -1
- elseif KEY:lower() == 'd' then
- CONTROL.R = 1
- end
- end)
- Mouse.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- end
- end)
- FLY()
- end
- function NOFLY()
- FLYING = false
- LP.Character.Humanoid.PlatformStand = false
- end
- -------------------------------------------
- ---Commands that show up in the CMD list---
- -------------------------------------------
- CMDs = {
- '-HOTKEYS-',
- 'F4 - Toggle Fly',
- 'F5 - Toggle Noclip',
- 'HOLD F2 - Click TP',
- '-COMMANDS-',
- 'ff [plr]',
- 'unff [plr]',
- 'fire [plr] [R G B]',
- 'unfire [plr]',
- 'sparkles [plr] [R G B]',
- 'unsparkles [plr]',
- 'smoke [plr]',
- 'unsmoke [plr]',
- 'btools [plr]',
- 'god [plr]',
- 'ungod [plr]',
- 'smite [plr]',
- 'heal [plr]',
- 'freeze [plr]',
- 'thaw [plr]',
- 'kill [plr]',
- 'sound [ID/Name]',
- 'volume [num]',
- 'pitch [num]',
- 'explode [plr]',
- 'invisible [plr]',
- 'visible [plr]',
- 'goto [plr]',
- 'bring [plr]',
- 'tp [plr] [plr]',
- 'char [plr] [ID]',
- 'charplr [plr] [plr]',
- 'unchar [plr]',
- 'speed [plr] [num]',
- 'sgod [plr]',
- 'unlockws',
- 'lockws',
- 'unanchor',
- 'anchor',
- 'clear',
- 'loadm',
- 'm [msg]',
- 'light [plr] [R G B]',
- 'unlight [plr]',
- 'decalspam [ID]',
- 'undecalspam',
- 'thirdp [plr]',
- 'firstp [plr]',
- 'name [plr]',
- 'unname [plr]',
- 'stun [plr]',
- 'unstun [plr]',
- 'copytools [plr]',
- 'serverinfo',
- 'damage [plr]',
- 'view [plr]',
- 'unview',
- 'nolimbs [plr]',
- 'box [plr]',
- 'nobox [plr]',
- 'ghost [plr]',
- 'sphere [plr]',
- 'loadmap [ID]',
- 'sky [ID]',
- 'ambient [R G B]',
- 'clrterrain',
- 'jail [plr]',
- 'unjail [plr]',
- 'shutdown',
- 'animation [plr] [anim]',
- 'normal [plr]',
- 'creeper [plr]',
- 'uncreeper [plr]',
- 'shrek [plr]',
- 'unshrek [plr]',
- 'respawn [plr]',
- 'base',
- 'control [plr]',
- 'nuke [plr]',
- 'infect [plr]',
- 'uninfect [plr]',
- 'duck [plr]',
- 'unduck [plr]',
- 'disable [plr]',
- 'enable [plr]',
- 'size [plr] [num]',
- 'confuse [plr]',
- 'unconfuse [plr]',
- 'clone [plr]',
- 'spin [plr]',
- 'unspin [plr]',
- 'dog [plr]',
- 'undog [plr]',
- 'loopheal [plr]',
- 'unloopheal [plr]',
- 'fling [plr]',
- 'ayylmao [plr]',
- 'seizure [plr]',
- 'unseizure [plr]',
- 'paper [plr]',
- 'punish [plr]',
- 'unpunish [plr]',
- 'fogend [num]',
- 'fogcolor [R G B]',
- 'disco',
- 'undisco',
- 'fix',
- 'flood',
- 'spookyify',
- 'explorer',
- 'particles [plr] [ID]',
- 'noparticles [plr]',
- 'draw',
- 'devuzi',
- 'ban [plr]',
- 'unban [plr]',
- 'clrbans',
- 'float [plr]',
- 'unfloat [plr]',
- 'noclip',
- 'clip',
- 'hatsize [plr] [num]',
- 'removehat [plr]',
- 'cripple [plr]',
- 'uncripple [plr]',
- 'blur [num]',
- 'unblur',
- 'hipheight [plr] [num]',
- 'bgui [plr] [text]',
- 'unbgui [plr]',
- 'loopkill [plr]',
- 'unloopkill [plr]',
- 'removetools [plr]',
- 'jumppower [plr] [num]',
- 'shiny [plr]',
- 'serverlock',
- 'unserverlock',
- 'headshake [plr]',
- 'addstat [plr] [text]',
- 'change [plr] [stat] [num]',
- 'headsize [plr] [num]',
- 'bang [plr]',
- 'chat [plr] [msg]',
- 'gravity [num]',
- 'disabletools [plr]',
- 'enabletools [plr]',
- 'nil [plr]',
- 'rainbowname [plr]',
- 'unrainbowname [plr]',
- 'mesh [plr] [mesh] [txtr]',
- 'neon [plr]',
- 'longneck [plr]',
- 'unlongneck [plr]',
- 'time [num]',
- 'spasm [plr]',
- 'meteor [plr]',
- 'countdown [num]',
- 'bomb [plr]',
- 'terrain',
- 'rocket [plr]',
- 'ball [plr]',
- 'unball [plr]',
- 'hidename [plr]',
- 'unhidename [plr]',
- 'face [plr] [ID]',
- 'fly',
- 'unfly',
- 'zinnia [plr]',
- 'team [plr] [team]',
- 'age [plr]',
- 'f3x',
- 'tools [plr]',
- 'filtering',
- 'remotespy',
- 'crash [plr]',
- 'kick [plr]',
- 'admin [plr]',
- 'unadmin [plr]',
- 'admins',
- 'bans',
- 'bait',
- 'removebait',
- 'strobe',
- 'globalshadows',
- 'noglobalshadows',
- 'delete [part name]',
- 'fart [plr]',
- 'partdisco',
- 'unpartdisco',
- 'car [plr]',
- 'uncar [plr]',
- 'insert [ID]',
- 'esp [plr]',
- 'noesp [plr]',
- 'spawnpoint [plr]',
- 'removespawns',
- 'nohead[plr]',
- 'head [plr]',
- 'fegod',
- 'feinvisible',
- 'loopbring [plr]',
- 'unloopbring [plr]',
- 'freecam',
- 'unfreecam',
- 'playersound [plr] [ID]',
- 'playlist [ID],[ID]',
- 'setsong [num]',
- 'prevsong',
- 'nextsong',
- 'trail [plr]',
- 'untrail [plr]',
- 'script [script]',
- 'prefix [string]',
- 'rejoin',
- 'settings',
- 'cmds',
- 'version'
- }
- -------
- --Lib--
- -------
- 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
- std.inTable=function(tbl,val)
- if tbl==nil then return false end
- for _,v in pairs(tbl)do
- if v==val then return true end
- end
- return false
- end
- std.out=function(str)
- print(str)
- end
- std.list=function(tbl)
- local str=''
- for i,v in pairs(tbl)do
- str=str..tostring(v)
- if i~=#tbl then str=str..', ' end
- end
- return str
- end
- std.endat=function(str,val)
- local z=str:find(val)
- if z then
- return str:sub(0,z-string.len(val)),true
- else
- return str,false
- end
- end
- std.first=function(str) return str:sub(1,1) end
- function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end
- local exec=function(str)
- spawn(function()
- local script, loaderr = loadstring(str)
- if not script then
- error(loaderr)
- else
- script()
- end
- end)
- end
- local findCmd=function(cmd_name)
- for i,v in pairs(cmds)do
- if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
- return v
- end
- end
- end
- local getCmd=function(msg)
- local cmd,hassplit=std.endat(msg:lower(),split)
- if hassplit then
- return {cmd,true}
- else
- return {cmd,false}
- end
- end
- local getprfx=function(strn)
- if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
- elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
- end return
- end
- 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
- 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
- _players.PlayerAdded:connect(function(player)
- if slock == true and allowfriends == false then player.CharacterAdded:connect(function()
- if player.Name ~= "IoIman616" and player.Name ~= "DesiredUsername1233" and player.Name ~= "sweg2hipALT" then
- spawn(function()
- repeat wait() until player.Character
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
- local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- Plat.Name = 'IYkick'
- Plat.Size = Vector3.new(100, 1, 100)
- local PART = Instance.new('Part', PLAYER.Character)
- PART.Position = Plat.Position - Vector3.new(0, 3, 0)
- PART.Size = Vector3.new(100, 1, 100)
- PART.Anchored = true
- PART.Transparency = 1
- Plat.Transparency = 1
- repeat wait(1)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- end
- Kick(PLAYER)
- until not game.Players:findFirstChild(PLAYER)
- end
- end
- Kick(player)
- end)
- else Notify('An Infinite Yield developer has joined. You cannot lock him out.')
- end
- end)
- elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then
- if player.Name ~= "IoIman616" and player.Name ~= "DesiredUsername1233" and player.Name ~= "sweg2hipALT" then
- spawn(function()
- repeat wait() until player.Character
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
- local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- Plat.Name = 'IYkick'
- Plat.Size = Vector3.new(100, 1, 100)
- local PART = Instance.new('Part', PLAYER.Character)
- PART.Position = Plat.Position - Vector3.new(0, 3, 0)
- PART.Size = Vector3.new(100, 1, 100)
- PART.Anchored = true
- PART.Transparency = 1
- Plat.Transparency = 1
- repeat wait(1)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- end
- Kick(PLAYER)
- until not game.Players:findFirstChild(PLAYER)
- end
- end
- Kick(player)
- end)
- else Notify('An Infinite Yield developer has joined. You cannot lock him out.')
- end
- end
- if FindTable(banT, player.userId) then
- spawn(function()
- repeat wait() until player.Character
- Notify('Banned player, ' .. player.Name .. ' attempted to join')
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
- local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- Plat.Name = 'IYkick'
- Plat.Size = Vector3.new(100, 1, 100)
- local PART = Instance.new('Part', PLAYER.Character)
- PART.Position = Plat.Position - Vector3.new(0, 3, 0)
- PART.Size = Vector3.new(100, 1, 100)
- PART.Anchored = true
- PART.Transparency = 1
- Plat.Transparency = 1
- repeat wait(1)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- end
- Kick(PLAYER)
- until not game.Players:findFirstChild(PLAYER)
- end
- end
- Kick(player)
- end)
- end
- end)
- local function splitString(str,delim)
- local broken = {}
- if delim == nil then delim = "," end
- for w in string.gmatch(str,"[^"..delim.."]+") do
- table.insert(broken,w)
- end
- return broken
- end
- local function execCmd(cmdStr,speaker)
- local commandsToRun = splitString(cmdStr,"\\")
- for i,v in pairs(commandsToRun) do
- local args = splitString(v,split)
- local cmd = findCmd(args[1])
- if cmd then
- table.remove(args,1)
- cargs = args
- pcall(function()
- cmd.FUNC(args, speaker)
- end)
- end
- end
- end
- 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
- updateevents(LP)
- _players.PlayerAdded:connect(function(player)
- updateevents(player)
- end)
- _G.exec_cmd = execCmd
- --game.Players.LocalPlayer.Chatted:connect(doexec)
- 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
- local _char=function(plr_name)
- for i,v in pairs(game.Players:GetChildren())do
- if v:IsA'Player'then
- if v.Name==plr_name then return v.Character end
- end
- end
- return
- end
- local _plr=function(plr_name)
- for i,v in pairs(game.Players:GetChildren())do
- if v:IsA'Player'then
- if v.Name==plr_name then return v end
- end
- end
- return
- end
- function addcmd(name,desc,alias,func)
- cmds[#cmds+1]=
- {
- NAME=name;
- DESC=desc;
- ALIAS=alias;
- FUNC=func;
- }
- end
- local SpecialPlayerCases = {
- ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end,
- ["others"] = function(speaker)
- local plrs = {}
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v ~= speaker then
- table.insert(plrs,v)
- end
- end
- return plrs
- end,
- ["me"] = function(speaker)return {speaker} end,
- ["#(%d+)"] = function(speaker,args)
- local returns = {}
- local randAmount = tonumber(args[1])
- local players = game:GetService("Players"):GetPlayers()
- for i = 1,randAmount do
- local randIndex = math.random(1,#players)
- table.insert(returns,players[randIndex])
- table.remove(players,randIndex)
- if #players == 0 then break end
- end
- return returns
- end,
- ["random"] = function(speaker)
- local players = game:GetService("Players"):GetPlayers()
- return {players[math.random(1,#players)]}
- end,
- ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green]
- local returns = {}
- local team = args[1]
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["allies"] = function(speaker)
- local returns = {}
- local team = speaker.Team
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- if plr.Team == team then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["enemies"] = function(speaker)
- local returns = {}
- local team = speaker.Team
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- if plr.Team ~= team then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["team"] = function(speaker)
- local returns = {}
- local team = speaker.Team
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- if plr.Team == team then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["nonteam"] = function(speaker)
- local returns = {}
- local team = speaker.Team
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- if plr.Team ~= team then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["friends"] = function(speaker,args)
- local returns = {}
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["nonfriends"] = function(speaker,args)
- local returns = {}
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["admins"] = function(speaker)
- local returns = {}
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- if isAdmin(plr) then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["nonadmins"] = function(speaker)
- local returns = {}
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- if not isAdmin(plr) then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["rad(%d+)"] = function(speaker,args)
- local returns = {}
- local radius = tonumber(args[1])
- local speakerChar = speaker.Character
- if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude
- if magnitude <= radius then table.insert(returns,plr) end
- end
- end
- return returns
- end
- }
- local function toTokens(str)
- local tokens = {}
- for op,name in string.gmatch(str,"([+-])([^+-]+)") do
- table.insert(tokens,{Operator = op,Name = name})
- end
- return tokens
- end
- local function onlyIncludeInTable(tab,matches)
- local matchTable = {}
- local resultTable = {}
- for i,v in pairs(matches) do matchTable[v.Name] = true end
- for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
- return resultTable
- end
- local function removeTableMatches(tab,matches)
- local matchTable = {}
- local resultTable = {}
- for i,v in pairs(matches) do matchTable[v.Name] = true end
- for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
- return resultTable
- end
- local function getPlayersByName(name)
- local found = {}
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
- table.insert(found,v)
- end
- end
- return found
- end
- local function getPlayer(list,speaker)
- if list == nil then return {speaker.Name} end
- local nameList = splitString(list,",")
- local foundList = {}
- for _,name in pairs(nameList) do
- if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
- local tokens = toTokens(name)
- local initialPlayers = game:GetService("Players"):GetPlayers()
- for i,v in pairs(tokens) do
- if v.Operator == "+" then
- local tokenContent = v.Name
- local foundCase = false
- for regex,case in pairs(SpecialPlayerCases) do
- local matches = {string.match(tokenContent,"^"..regex.."$")}
- if #matches > 0 then
- foundCase = true
- initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches))
- end
- end
- if not foundCase then
- initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
- end
- else
- local tokenContent = v.Name
- local foundCase = false
- for regex,case in pairs(SpecialPlayerCases) do
- local matches = {string.match(tokenContent,"^"..regex.."$")}
- if #matches > 0 then
- foundCase = true
- initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches))
- end
- end
- if not foundCase then
- initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
- end
- end
- end
- for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
- end
- local foundNames = {}
- for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
- return foundNames
- end
- function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
- local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
- if (zCoco) then
- funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
- else
- funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
- end
- return funcw
- end
- function _G.msg(txt)
- msghook()
- if MSGhook == true then
- workspace.IYmessage.Text = ''
- wait(0.1)
- local b = Instance.new("BlurEffect", game.Lighting)
- b.Name = "IYmblur"
- b.Size = 18
- workspace.IYmessage.Text = txt
- wait(Mseconds)
- workspace.IYmessage.Text = ''
- b:Destroy()
- elseif MSGhook == false then
- execCmd("loadm")
- repeat wait() until workspace:FindFirstChild("IYmessage")
- workspace.IYmessage.Text = ''
- wait(0.1)
- local b = Instance.new("BlurEffect", game.Lighting)
- b.Name = "IYmblur"
- b.Size = 18
- workspace.IYmessage.Text = txt
- wait(Mseconds)
- workspace.IYmessage.Text = ''
- b:Destroy()
- end
- end
- function rape(victim, speaker)
- spawn(function()
- local P1 = speaker.Character.Torso
- local V1 = _players[victim].Character.Torso
- V1.Parent.Humanoid.PlatformStand = true
- 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'
- 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'
- 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'
- 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'
- 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'
- 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'
- 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)
- local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
- fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
- local D2 = D:Clone() D2.Parent = P1
- fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
- 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)
- fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
- local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
- fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
- local CM = Instance.new('CylinderMesh', C)
- 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)
- local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
- fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
- 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)
- local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
- fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
- 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)
- local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
- fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
- 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)
- local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
- fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
- 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)
- 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)
- 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)
- if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
- WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
- local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
- end)
- 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)
- end
- ----------------
- ----Commands----
- ----------------
- addcmd('s','runs a script in the chat or cmdbar',{'script'},
- function(args, speaker)
- loadstring(tostring(GLS(false, 0)))()
- end)
- addcmd('ff','gives ff to player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- Instance.new("ForceField", pchar)
- end
- end)
- addcmd('rocket','attaches a player to a rocket',{'missile'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- spawn(function()
- local m = missile:Clone()
- m.Parent = workspace
- local W = Instance.new('Weld', m)
- W.Part0 = W.Parent
- W.Part1 = pchar.Torso
- W.C1 = CFrame.new(0, 0.5, 1)
- m.force.Force = Vector3.new(0, 15000, 0)
- wait(0.01)
- pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
- wait(5)
- Instance.new('Explosion', m).Position = m.Position
- wait(0.01)
- pchar:BreakJoints()
- wait(1)
- m:destroy()
- end)
- end
- end)
- addcmd('rejoin','makes you rejoin the game',{'rj'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- end
- end)
- addcmd('unff', 'takes away ff from player',{'unff'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar:GetChildren()) do
- if v1:IsA("ForceField") then
- v1:Destroy()
- end
- end
- end
- end)
- addcmd('insert', 'inserts a model',{'ins'},
- function(args, speaker)
- local modelid = args[1]
- local model = game:GetObjects("rbxassetid://" .. modelid)[1]
- model.Parent = game.Workspace
- model.Name = "IYmodel"
- model:MakeJoints()
- model:MoveTo(speaker.Character.HumanoidRootPart.Position)
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(modelid)
- Notify('Inserted ' .. Asset.Name)
- end)
- addcmd('car', 'inserts a car',{'vehicle'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- local model = game:GetObjects("rbxassetid://01172688590")[1]
- model.Parent = game.Workspace
- model:MakeJoints()
- model:MoveTo(pchar.HumanoidRootPart.Position)
- model.Name = "IYcar" .. gPlayers[v].Name
- model.Seat.VehicleSeat:Sit(pchar.Humanoid)
- end
- end)
- addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- for _, child in pairs( workspace:GetChildren()) do
- if child.Name == "IYcar" .. gPlayers[v].Name then
- child:Destroy()
- end
- end
- end
- end)
- addcmd('team','team [plr] [team]',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- local teamname = nil
- for i,v in pairs(players)do
- 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
- print(teamname)
- _players[v].Team = teamname
- end
- end)
- addcmd('spasm','makes someone c r a z y',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- local AnimationId = "33796059"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = pchar.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(99)
- end
- end)
- addcmd('playersound','creates a sound inside of someone',{'plrsound'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if not args[1] and args[2] then return end
- local pchar=_char(v)
- local s = Instance.new("Sound")
- s.Name = "IYplrsound"
- s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2]
- s.Volume = 1
- s.Pitch = 1
- s.Looped = true
- s.archivable = true
- s.Parent = pchar.Torso
- s:Play()
- end
- end)
- addcmd('fly','makes you fly',{},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- sFLY()
- end
- end)
- addcmd('unfly','takes away fly',{'nofly'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- NOFLY()
- end
- end)
- addcmd('fire', 'set a player on fire',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- local Fire1 = Instance.new("Fire", pchar.Head)
- local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart)
- local Fire3 = Instance.new("Fire", pchar["Left Arm"])
- local Fire4 = Instance.new("Fire", pchar["Right Arm"])
- local Fire5 = Instance.new("Fire", pchar["Left Leg"])
- local Fire6 = Instance.new("Fire", pchar["Right Leg"])
- if not args[2] then return end
- Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- end)
- end
- end)
- addcmd('nofire', 'extinguish a player',{'unfire'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar.Head:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- end
- end)
- addcmd('shiny', 'makes a player shine',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- for i,v in pairs(pchar:GetChildren()) do
- if v.ClassName == "Decal" or v.ClassName == "Texture" then
- v:Remove()
- end
- if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then
- v.Reflectance = 1
- v.Material = "Plastic"
- end
- end
- end)
- end
- end)
- addcmd('light', 'givs em light',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
- if v1:IsA("PointLight") then
- v1:Destroy()
- end
- end
- local light = Instance.new("PointLight", pchar.HumanoidRootPart)
- light.Range = 12
- light.Brightness = 3
- if not args[2] then return end
- light.Color = Color3.new((args[2]),(args[3]),(args[4]))
- light.Range = 12
- light.Brightness = 3
- end)
- end
- end)
- addcmd('trail', 'spawns a trail behind a player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
- if v1.Name == "TRAIL" then
- v1:Destroy()
- end
- end
- local tr = Instance.new("ParticleEmitter", pchar.HumanoidRootPart)
- tr.Size = NumberSequence.new(0.5,0.5)
- tr.Lifetime = NumberRange.new(3,5)
- tr.Rate = 50
- tr.Speed = NumberRange.new(0,0)
- tr.Texture = "rbxassetid://130433594"
- tr.Name = "TRAIL"
- end)
- end
- end)
- addcmd('untrail', 'deletes the trail behind a player',{'notrail'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
- if v1.Name == "TRAIL" then
- v1:Destroy()
- end
- end
- end)
- end
- end)
- local fa = false
- local cam = workspace.CurrentCamera
- local cam1 = 0
- local cam2 = 0
- local cam3 = 0
- local k1 = false
- local k2 = false
- local k3 = false
- local k4 = false
- local k5 = false
- local k6 = false
- local cs = 0.5
- function movecam()
- local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
- if fa == false then
- repeat
- if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
- local fp = fc.Position
- fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
- fa = true
- end
- game:GetService('RunService').RenderStepped:Wait()
- until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
- fa = false
- end
- end
- function kp1(inputObject, gameProcessedEvent)
- if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
- if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
- k1 = true
- cam1 = cs end
- if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
- k2 = true
- cam1 = (cs*-1) end
- if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
- k3 = true
- cam2 = cs end
- if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
- k4 = true
- cam2 = (cs*-1) end
- if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
- k5 = true
- cam3 = cs end
- if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
- k6 = true
- cam3 = (cs*-1) end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(kp1)
- function kp2(inputObject, gameProcessedEvent)
- if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
- if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
- k1 = false
- if k2 == false then
- cam1 = 0
- end
- end
- if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
- k2 = false
- if k1 == false then
- cam1 = 0
- end
- end
- if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
- k3= false
- if k4== false then
- cam2 = 0
- end
- end
- if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
- k4 = false
- if k3 == false then
- cam2 = 0
- end
- end
- if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
- k5 = false
- if k6 == false then
- cam3 = 0
- end
- end
- if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
- k6 = false
- if k5 == false then
- cam3 = 0
- end
- end
- end
- end
- game:GetService("UserInputService").InputEnded:connect(kp2)
- function FC()
- if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
- game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
- local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
- fc.CanCollide = false
- fc.Anchored = true
- fc.Transparency = 1
- fc.Size = Vector3.new(1,1,1)
- fc.Name = 'xFC'
- fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
- local cam = workspace.CurrentCamera
- cam.CameraSubject = fc
- cam.CameraType = 'Custom'
- movecam()
- end end
- function UFC()
- game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
- if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
- game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
- local cam = workspace.CurrentCamera
- cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
- cam.CameraType = 'Custom'
- end end
- addcmd('freecam','freecam',{'fc'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- FC()
- end
- end)
- addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- UFC()
- end
- end)
- addcmd('nolight', 'no more light',{'unlight'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
- if v1:IsA("PointLight") then
- v1:Destroy()
- end
- end
- end
- end)
- addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- scale = 10
- function weld(tab)
- local last = nil
- for i,v in pairs(tab) do
- if v:IsA("BasePart") then
- if last then
- local w = Instance.new("Weld",last)
- w.Part0 = w.Parent
- w.Part1 = v
- local pos = last.CFrame:toObjectSpace(v.CFrame)
- w.C0 = pos
- end
- last = v
- end
- end
- end
- function makeball(pos)
- local model = Instance.new("Model",workspace)
- model.Name = gPlayers[v].Name .. "ball"
- local rand = BrickColor.Random()
- pchar.Head.Anchored = true
- for i=0,340,20 do
- wait()
- for z=-90,70,20 do
- local p = Instance.new("Part",model)
- p.formFactor = "Custom"
- p.BrickColor = rand
- p.Transparency = 0.5
- p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140)
- p.Anchored = true
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2)
- p:breakJoints()
- end
- end
- weld(model:children())
- for i,v in pairs(model:children()) do v.Anchored = false end
- pchar.Head.Anchored = false
- model:MakeJoints()
- end
- if pchar then
- makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0))
- end
- end
- end)
- addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for _, child in pairs( workspace:GetChildren()) do
- if child.Name == gPlayers[v].Name .. "ball" then
- child:Destroy()
- end
- end
- end
- end)
- addcmd('loopkill', 'rip person',{'lkill'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if not FindTable(loopkillT, _players[v].Name) then
- table.insert(loopkillT, _players[v].Name)
- if args[1] == "all" then
- Notify('Loopkilling everyone')
- elseif args[1] == "others" then
- Notify('Loopkilling others')
- elseif args[1] == "friends" then
- Notify('Loopkilling friends')
- elseif args[1] == "nonfriends" then
- Notify('Loopkilling nonfriends')
- elseif args[1] == "team" then
- Notify('Loopkilling your team')
- elseif args[1] == "nonteam" then
- Notify('Loopkilling the opposing team')
- elseif args[1] == "guests" then
- Notify('Loopkilling guests')
- elseif args[1] == "admins" then
- Notify('Loopkilling admins')
- elseif args[1] == "nonadmins" then
- Notify('Loopkilling non admins')
- else
- Notify('Loopkilling ' .. gPlayers[v].Name)
- end
- end
- end
- end)
- addcmd('unloopkill', 'un rip person',{'unlkill'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if FindTable(loopkillT, _players[v].Name) then
- table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name))
- if args[1] == "all" then
- Notify('No longer loopkilling everyone')
- elseif args[1] == "others" then
- Notify('No longer loopkilling others')
- elseif args[1] == "friends" then
- Notify('No longer loopkilling friends')
- elseif args[1] == "nonfriends" then
- Notify('No longer loopkilling nonfriends')
- elseif args[1] == "team" then
- Notify('No longer loopkilling your team')
- elseif args[1] == "nonteam" then
- Notify('No longer loopkilling the opposing team')
- elseif args[1] == "guests" then
- Notify('No longer loopkilling guests')
- elseif args[1] == "admins" then
- Notify('No longer loopkilling admins')
- elseif args[1] == "nonadmins" then
- Notify('No longer loopkilling nonadmins')
- else
- Notify('No longer loopkilling ' .. gPlayers[v].Name)
- end
- end
- end
- end)
- addcmd('disabletools', 'removes their tools',{'loopremovetools'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if not FindTable(disabletoolsT, _players[v].Name) then
- table.insert(disabletoolsT, _players[v].Name)
- if args[1] == "all" then
- Notify('Disabled tools for everyone')
- elseif args[1] == "others" then
- Notify('Disabled tools for others')
- elseif args[1] == "friends" then
- Notify('Disabled tools for friends')
- elseif args[1] == "nonfriends" then
- Notify('Disabled tools for nonfriends')
- elseif args[1] == "team" then
- Notify('Disabled tools for your team')
- elseif args[1] == "nonteam" then
- Notify('Disabled tools for the opposing team')
- elseif args[1] == "guests" then
- Notify('Disabled tools for guests')
- elseif args[1] == "admins" then
- Notify('Disabled tools for admins')
- elseif args[1] == "nonadmins" then
- Notify('Disabled tools for nonadmins')
- else
- Notify('Disabled tools for ' .. gPlayers[v].Name)
- end
- end
- end
- end)
- local song = nil
- addcmd('zinnia', 'asdf for moon',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- function zinniaKick(name)
- spawn(function()
- if song == nil then
- song = Instance.new("Sound",workspace)
- song.SoundId = "rbxassetid://190423831"
- song.Volume = 1
- song.Looped = true
- song:Play()
- end
- local zin = Instance.new("Part")
- zin.Name = "CuteZinnia"
- zin.Anchored = true
- zin.CanCollide = false
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshId = "rbxassetid://1175670539"
- mesh.TextureId = "rbxassetid://1175670558"
- mesh.Scale = Vector3.new(0.05,0.05,0.05)
- mesh.Offset = Vector3.new(0,0.88,0)
- mesh.Parent = zin
- local char = game:GetService("Players")[name].Character
- char.PrimaryPart = char.HumanoidRootPart
- if char:FindFirstChild("Torso") then
- char.Torso.Anchored = true
- else
- char.UpperTorso.Anchored = true
- end
- 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))
- zin.Parent = workspace
- 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)})
- tween:Play()
- wait(3)
- for i = 50,1,-1 do
- 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))
- wait()
- end
- char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
- wait(1)
- local turns = 0
- while turns < 200 do
- zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
- char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
- turns = turns + 1
- wait()
- end
- for i = 1,10 do
- zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
- char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
- wait()
- end
- local rX,rZ = 0,0
- repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000
- repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000
- local bv = Instance.new("BodyForce",char.HumanoidRootPart)
- bv.Force = Vector3.new(rX,10000,rZ)
- if char:FindFirstChild("Torso") then
- char.Torso.Anchored = false
- else
- char.UpperTorso.Anchored = false
- end
- function KICK(P)
- spawn(function()
- for i = 1,5 do
- if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
- P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
- local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
- spawn(function()
- repeat wait()
- if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
- until not game:GetService("Players"):FindFirstChild(P.Name)
- end)
- P.Character.HumanoidRootPart.Anchored = true
- end
- end
- end)
- end
- spawn(function()
- if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(10) else wait(5) end
- game:GetService("Players")[name].CharacterAdded:Connect(function()
- wait()
- KICK(game:GetService("Players")[name])
- end)
- KICK(game:GetService("Players")[name])
- end)
- for i = 1,20 do
- zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
- wait()
- end
- while turns > 0 do
- zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
- turns = turns - 5
- wait()
- end
- wait(1)
- zin.Name = "GoneZinnia"
- local go = Instance.new("BodyVelocity",zin)
- go.Velocity = zin.CFrame.lookVector * 100
- go.MaxForce = Vector3.new(1000000,1000000,1000000)
- zin.Anchored = false
- wait(5)
- if song and not workspace:FindFirstChild("CuteZinnia") then
- song:Destroy()
- song = nil
- end
- end)
- end
- function CreateInstance(cls,props)
- local inst = Instance.new(cls)
- for i,v in pairs(props) do
- inst[i] = v
- end
- return inst
- end
- zinniaKick(gPlayers[v].Name)
- end
- end)
- addcmd('rainbowname', 'color spam their name tag',{'rname'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if not FindTable(rainbowT, _players[v].Name) then
- table.insert(rainbowT, _players[v].Name)
- if args[1] == "all" then
- Notify('Gave everyone rainbow name')
- elseif args[1] == "others" then
- Notify('Gave others rainbow name')
- elseif args[1] == "friends" then
- Notify('Gave friends rainbow name')
- elseif args[1] == "nonfriends" then
- Notify('Gave nonfriends rainbow name')
- elseif args[1] == "team" then
- Notify('Gave your team rainbow name')
- elseif args[1] == "nonteam" then
- Notify('Gave the opposing team rainbow name')
- elseif args[1] == "guests" then
- Notify('Gave guests rainbow name')
- elseif args[1] == "admins" then
- Notify('Gave admins rainbowname')
- elseif args[1] == "nonadmins" then
- Notify('Gave nonadmins rainbow name')
- else
- Notify('Gave ' .. gPlayers[v].Name .. ' rainbow name')
- end
- end
- end
- end)
- addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if FindTable(rainbowT, _players[v].Name) then
- table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name))
- _players[v].Neutral = true
- if args[1] == "all" then
- Notify('Disabled rainbow name for everyone')
- elseif args[1] == "others" then
- Notify('Disabled others rainbow name')
- elseif args[1] == "friends" then
- Notify('Disabled friends rainbow name')
- elseif args[1] == "nonfriends" then
- Notify('Disabled non friends rainbow name')
- elseif args[1] == "team" then
- Notify('Disabled rainbow name for your team')
- elseif args[1] == "nonteam" then
- Notify('Disabled rainbow name for the opposing team')
- elseif args[1] == "guests" then
- Notify('Disabled rainbow name for guests')
- elseif args[1] == "admins" then
- Notify('Disabled rainbow name for admins')
- elseif args[1] == "nonadmins" then
- Notify('Disabled rainbow name for non admins')
- else
- Notify('Disabled rainbow name for ' .. gPlayers[v].Name)
- end
- end
- end
- end)
- addcmd('terrain', 'gives you terrain tools',{'tt'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- --Terrain Script
- --Edge#3467/IoIman616
- for _, child in pairs( game.Players.LocalPlayer.PlayerGui:GetChildren()) do
- if child.Name == "MaterialGui" then
- child:Destroy()
- end
- end
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- HopperBin0 = Instance.new("HopperBin")
- HopperBin0.Name = "Terrain Build"
- HopperBin0.Parent = mas
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- wait(0.01)
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- ScreenGui0 = Instance.new("ScreenGui")
- ImageLabel1 = Instance.new("ImageLabel")
- ImageButton2 = Instance.new("ImageButton")
- Frame3 = Instance.new("Frame")
- NumberValue4 = Instance.new("NumberValue")
- ImageButton5 = Instance.new("ImageButton")
- Frame6 = Instance.new("Frame")
- NumberValue7 = Instance.new("NumberValue")
- ImageButton8 = Instance.new("ImageButton")
- Frame9 = Instance.new("Frame")
- NumberValue10 = Instance.new("NumberValue")
- ImageButton11 = Instance.new("ImageButton")
- Frame12 = Instance.new("Frame")
- NumberValue13 = Instance.new("NumberValue")
- ImageButton14 = Instance.new("ImageButton")
- Frame15 = Instance.new("Frame")
- NumberValue16 = Instance.new("NumberValue")
- ImageButton17 = Instance.new("ImageButton")
- Frame18 = Instance.new("Frame")
- NumberValue19 = Instance.new("NumberValue")
- ImageButton20 = Instance.new("ImageButton")
- Frame21 = Instance.new("Frame")
- NumberValue22 = Instance.new("NumberValue")
- ImageButton23 = Instance.new("ImageButton")
- Frame24 = Instance.new("Frame")
- NumberValue25 = Instance.new("NumberValue")
- ImageButton26 = Instance.new("ImageButton")
- Frame27 = Instance.new("Frame")
- NumberValue28 = Instance.new("NumberValue")
- ImageButton29 = Instance.new("ImageButton")
- Frame30 = Instance.new("Frame")
- NumberValue31 = Instance.new("NumberValue")
- ImageButton32 = Instance.new("ImageButton")
- Frame33 = Instance.new("Frame")
- NumberValue34 = Instance.new("NumberValue")
- ImageButton35 = Instance.new("ImageButton")
- Frame36 = Instance.new("Frame")
- NumberValue37 = Instance.new("NumberValue")
- ImageButton38 = Instance.new("ImageButton")
- Frame39 = Instance.new("Frame")
- NumberValue40 = Instance.new("NumberValue")
- ImageButton41 = Instance.new("ImageButton")
- Frame42 = Instance.new("Frame")
- NumberValue43 = Instance.new("NumberValue")
- ImageButton44 = Instance.new("ImageButton")
- Frame45 = Instance.new("Frame")
- NumberValue46 = Instance.new("NumberValue")
- ImageButton47 = Instance.new("ImageButton")
- Frame48 = Instance.new("Frame")
- NumberValue49 = Instance.new("NumberValue")
- ImageButton50 = Instance.new("ImageButton")
- Frame51 = Instance.new("Frame")
- NumberValue52 = Instance.new("NumberValue")
- ImageButton53 = Instance.new("ImageButton")
- Frame54 = Instance.new("Frame")
- ScreenGui0.Name = "MaterialGui"
- ScreenGui0.Parent = mas
- ImageLabel1.Name = "MaterialMenu"
- ImageLabel1.Parent = ScreenGui0
- ImageLabel1.Transparency = 1
- ImageLabel1.Size = UDim2.new(0, 100, 0, 450)
- ImageLabel1.Position = UDim2.new(0, 0, 1, -550)
- ImageLabel1.BackgroundTransparency = 1
- ImageLabel1.ZIndex = 2
- ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png"
- ImageButton2.Name = "Grass"
- ImageButton2.Parent = ImageLabel1
- ImageButton2.Transparency = 1
- ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0)
- ImageButton2.BackgroundTransparency = 1
- ImageButton2.ZIndex = 4
- ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112"
- Frame3.Name = "Selection"
- Frame3.Parent = ImageButton2
- Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame3.BorderSizePixel = 0
- Frame3.ZIndex = 3
- NumberValue4.Name = "num"
- NumberValue4.Parent = ImageButton2
- NumberValue4.Value = 1
- ImageButton5.Name = "Sand"
- ImageButton5.Parent = ImageLabel1
- ImageButton5.Transparency = 1
- ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0)
- ImageButton5.BackgroundTransparency = 1
- ImageButton5.ZIndex = 4
- ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652"
- Frame6.Name = "Selection"
- Frame6.Parent = ImageButton5
- Frame6.Transparency = 1
- Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame6.BackgroundTransparency = 1
- Frame6.BorderSizePixel = 0
- Frame6.ZIndex = 3
- NumberValue7.Name = "num"
- NumberValue7.Parent = ImageButton5
- NumberValue7.Value = 2
- ImageButton8.Name = "Brick"
- ImageButton8.Parent = ImageLabel1
- ImageButton8.Transparency = 1
- ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0)
- ImageButton8.BackgroundTransparency = 1
- ImageButton8.ZIndex = 4
- ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537"
- Frame9.Name = "Selection"
- Frame9.Parent = ImageButton8
- Frame9.Transparency = 1
- Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame9.BackgroundTransparency = 1
- Frame9.BorderSizePixel = 0
- Frame9.ZIndex = 3
- NumberValue10.Name = "num"
- NumberValue10.Parent = ImageButton8
- NumberValue10.Value = 3
- ImageButton11.Name = "Granite"
- ImageButton11.Parent = ImageLabel1
- ImageButton11.Transparency = 1
- ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0)
- ImageButton11.BackgroundTransparency = 1
- ImageButton11.ZIndex = 4
- ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153"
- Frame12.Name = "Selection"
- Frame12.Parent = ImageButton11
- Frame12.Transparency = 1
- Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame12.BackgroundTransparency = 1
- Frame12.BorderSizePixel = 0
- Frame12.ZIndex = 3
- NumberValue13.Name = "num"
- NumberValue13.Parent = ImageButton11
- NumberValue13.Value = 4
- ImageButton14.Name = "Asphalt"
- ImageButton14.Parent = ImageLabel1
- ImageButton14.Transparency = 1
- ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0)
- ImageButton14.BackgroundTransparency = 1
- ImageButton14.ZIndex = 4
- ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038"
- Frame15.Name = "Selection"
- Frame15.Parent = ImageButton14
- Frame15.Transparency = 1
- Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame15.BackgroundTransparency = 1
- Frame15.BorderSizePixel = 0
- Frame15.ZIndex = 3
- NumberValue16.Name = "num"
- NumberValue16.Parent = ImageButton14
- NumberValue16.Value = 5
- ImageButton17.Name = "Iron"
- ImageButton17.Parent = ImageLabel1
- ImageButton17.Transparency = 1
- ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0)
- ImageButton17.BackgroundTransparency = 1
- ImageButton17.ZIndex = 4
- ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093"
- Frame18.Name = "Selection"
- Frame18.Parent = ImageButton17
- Frame18.Transparency = 1
- Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame18.BackgroundTransparency = 1
- Frame18.BorderSizePixel = 0
- Frame18.ZIndex = 3
- NumberValue19.Name = "num"
- NumberValue19.Parent = ImageButton17
- NumberValue19.Value = 6
- ImageButton20.Name = "Aluminum"
- ImageButton20.Parent = ImageLabel1
- ImageButton20.Transparency = 1
- ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0)
- ImageButton20.BackgroundTransparency = 1
- ImageButton20.ZIndex = 4
- ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995"
- Frame21.Name = "Selection"
- Frame21.Parent = ImageButton20
- Frame21.Transparency = 1
- Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame21.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame21.BackgroundTransparency = 1
- Frame21.BorderSizePixel = 0
- Frame21.ZIndex = 3
- NumberValue22.Name = "num"
- NumberValue22.Parent = ImageButton20
- NumberValue22.Value = 7
- ImageButton23.Name = "Gold"
- ImageButton23.Parent = ImageLabel1
- ImageButton23.Transparency = 1
- ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0)
- ImageButton23.BackgroundTransparency = 1
- ImageButton23.ZIndex = 4
- ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118"
- Frame24.Name = "Selection"
- Frame24.Parent = ImageButton23
- Frame24.Transparency = 1
- Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame24.BackgroundTransparency = 1
- Frame24.BorderSizePixel = 0
- Frame24.ZIndex = 3
- NumberValue25.Name = "num"
- NumberValue25.Parent = ImageButton23
- NumberValue25.Value = 8
- ImageButton26.Name = "Plank"
- ImageButton26.Parent = ImageLabel1
- ImageButton26.Transparency = 1
- ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0)
- ImageButton26.BackgroundTransparency = 1
- ImageButton26.ZIndex = 4
- ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015"
- Frame27.Name = "Selection"
- Frame27.Parent = ImageButton26
- Frame27.Transparency = 1
- Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame27.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame27.BackgroundTransparency = 1
- Frame27.BorderSizePixel = 0
- Frame27.ZIndex = 3
- NumberValue28.Name = "num"
- NumberValue28.Parent = ImageButton26
- NumberValue28.Value = 9
- ImageButton29.Name = "Log"
- ImageButton29.Parent = ImageLabel1
- ImageButton29.Transparency = 1
- ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0)
- ImageButton29.BackgroundTransparency = 1
- ImageButton29.ZIndex = 4
- ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051"
- Frame30.Name = "Selection"
- Frame30.Parent = ImageButton29
- Frame30.Transparency = 1
- Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame30.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame30.BackgroundTransparency = 1
- Frame30.BorderSizePixel = 0
- Frame30.ZIndex = 3
- NumberValue31.Name = "num"
- NumberValue31.Parent = ImageButton29
- NumberValue31.Value = 10
- ImageButton32.Name = "Gravel"
- ImageButton32.Parent = ImageLabel1
- ImageButton32.Transparency = 1
- ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0)
- ImageButton32.BackgroundTransparency = 1
- ImageButton32.ZIndex = 4
- ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206"
- Frame33.Name = "Selection"
- Frame33.Parent = ImageButton32
- Frame33.Transparency = 1
- Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame33.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame33.BackgroundTransparency = 1
- Frame33.BorderSizePixel = 0
- Frame33.ZIndex = 3
- NumberValue34.Name = "num"
- NumberValue34.Parent = ImageButton32
- NumberValue34.Value = 11
- ImageButton35.Name = "Cinder"
- ImageButton35.Parent = ImageLabel1
- ImageButton35.Transparency = 1
- ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0)
- ImageButton35.BackgroundTransparency = 1
- ImageButton35.ZIndex = 4
- ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103"
- Frame36.Name = "Selection"
- Frame36.Parent = ImageButton35
- Frame36.Transparency = 1
- Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame36.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame36.BackgroundTransparency = 1
- Frame36.BorderSizePixel = 0
- Frame36.ZIndex = 3
- NumberValue37.Name = "num"
- NumberValue37.Parent = ImageButton35
- NumberValue37.Value = 12
- ImageButton38.Name = "Stone"
- ImageButton38.Parent = ImageLabel1
- ImageButton38.Transparency = 1
- ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0)
- ImageButton38.BackgroundTransparency = 1
- ImageButton38.ZIndex = 4
- ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804"
- Frame39.Name = "Selection"
- Frame39.Parent = ImageButton38
- Frame39.Transparency = 1
- Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame39.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame39.BackgroundTransparency = 1
- Frame39.BorderSizePixel = 0
- Frame39.ZIndex = 3
- NumberValue40.Name = "num"
- NumberValue40.Parent = ImageButton38
- NumberValue40.Value = 13
- ImageButton41.Name = "Cement"
- ImageButton41.Parent = ImageLabel1
- ImageButton41.Transparency = 1
- ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0)
- ImageButton41.BackgroundTransparency = 1
- ImageButton41.ZIndex = 4
- ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059"
- Frame42.Name = "Selection"
- Frame42.Parent = ImageButton41
- Frame42.Transparency = 1
- Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame42.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame42.BackgroundTransparency = 1
- Frame42.BorderSizePixel = 0
- Frame42.ZIndex = 3
- NumberValue43.Name = "num"
- NumberValue43.Parent = ImageButton41
- NumberValue43.Value = 14
- ImageButton44.Name = "Red Plastic"
- ImageButton44.Parent = ImageLabel1
- ImageButton44.Transparency = 1
- ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0)
- ImageButton44.BackgroundTransparency = 1
- ImageButton44.ZIndex = 4
- ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848"
- Frame45.Name = "Selection"
- Frame45.Parent = ImageButton44
- Frame45.Transparency = 1
- Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame45.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame45.BackgroundTransparency = 1
- Frame45.BorderSizePixel = 0
- Frame45.ZIndex = 3
- NumberValue46.Name = "num"
- NumberValue46.Parent = ImageButton44
- NumberValue46.Value = 15
- ImageButton47.Name = "Blue Plastic"
- ImageButton47.Parent = ImageLabel1
- ImageButton47.Transparency = 1
- ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0)
- ImageButton47.BackgroundTransparency = 1
- ImageButton47.ZIndex = 4
- ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924"
- Frame48.Name = "Selection"
- Frame48.Parent = ImageButton47
- Frame48.Transparency = 1
- Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame48.BackgroundTransparency = 1
- Frame48.BorderSizePixel = 0
- Frame48.ZIndex = 3
- NumberValue49.Name = "num"
- NumberValue49.Parent = ImageButton47
- NumberValue49.Value = 16
- ImageButton50.Name = "Water"
- ImageButton50.Parent = ImageLabel1
- ImageButton50.Transparency = 1
- ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0)
- ImageButton50.BackgroundTransparency = 1
- ImageButton50.ZIndex = 4
- ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697"
- Frame51.Name = "Selection"
- Frame51.Parent = ImageButton50
- Frame51.Transparency = 1
- Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame51.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame51.BackgroundTransparency = 1
- Frame51.BorderSizePixel = 0
- Frame51.ZIndex = 3
- NumberValue52.Name = "num"
- NumberValue52.Parent = ImageButton50
- NumberValue52.Value = 17
- ImageButton53.Name = "Dig"
- ImageButton53.Parent = ImageLabel1
- ImageButton53.Transparency = 1
- ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0)
- ImageButton53.BackgroundTransparency = 1
- ImageButton53.ZIndex = 4
- ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201"
- Frame54.Name = "Selection"
- Frame54.Parent = ImageButton53
- Frame54.Transparency = 1
- print('Terrain Script Loaded. Made by Edge#3467/IoIman616. :^3')
- Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame54.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame54.BackgroundTransparency = 1
- Frame54.BorderSizePixel = 0
- Frame54.ZIndex = 3
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game.Players.LocalPlayer.PlayerGui
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- wait(0.01)
- game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
- material = 1
- local Terrain = game.Workspace.Terrain
- local CC = game.Workspace.CurrentCamera
- local SelB = Instance.new("SelectionBox")
- SelB.Color = BrickColor.new("Bright green")
- local SelP = Instance.new("Part")
- SelP.Anchored = true
- SelP.formFactor = Enum.FormFactor.Custom
- HopperBin0.Selected:connect(function(M)
- SelB.Parent = game.Players.LocalPlayer.PlayerGui
- game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true
- SelB.Adornee = nil
- local ClickState = "None"
- local ClickType = 1
- local TerrainClick = 1
- local P1 = nil
- M.KeyDown:connect(function(K)
- if K == "q" then
- ClickType = 1
- elseif K == "e" then
- ClickType = 2
- elseif K == "z" then
- TerrainClick = 0
- elseif K == "x" then
- TerrainClick = 1
- elseif K == "c" then
- TerrainClick = 2
- elseif K == "v" then
- TerrainClick = 3
- elseif K == "b" then
- TerrainClick = 4
- end
- end)
- M.Button1Down:connect(function()
- if not M.Target then return end
- local Hit = M.Hit
- local cellPos
- if ClickType == 1 then
- cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
- else
- cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
- end
- if ClickState == "None" then
- ClickState = "Click1"
- P1 = cellPos
- end
- end)
- M.Button1Up:connect(function()
- if not M.Target then return end
- local Hit = M.Hit
- local cellPos
- if ClickType == 1 then
- cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
- else
- cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
- end
- if ClickState == "Click1" then
- ClickState = "None"
- local MinX = math.min(P1.x,cellPos.x)
- local MaxX = math.max(P1.x,cellPos.x)
- local MinY = math.min(P1.y,cellPos.y)
- local MaxY = math.max(P1.y,cellPos.y)
- local MinZ = math.min(P1.z,cellPos.z)
- local MaxZ = math.max(P1.z,cellPos.z)
- for y=MinY,MaxY do
- for x=MinX,MaxX do
- for z=MinZ,MaxZ do
- Terrain:SetCell(x, y, z, material, 0, 0)
- end
- end
- wait()
- end
- SelB.Adornee = nil
- end
- end)
- M.Move:connect(function()
- if not M.Target then return end
- local Hit = M.Hit
- local cellPos
- if ClickType == 1 then
- cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
- else
- cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
- end
- if ClickState == "Click1" then
- SelB.Adornee = SelP
- local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z)
- local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z)
- local Size = W1-W2
- Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4)
- local Pos = (W1+W2)/2
- SelP.Size = Size
- SelP.CFrame = CFrame.new(Pos)
- end
- end)
- end)
- HopperBin0.Deselected:connect(function()
- SelB.Parent = nil
- SelB.Adornee = nil
- game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
- end)
- game:GetService('RunService').Stepped:connect(function()
- if game.Players.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
- for _, child in pairs( game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
- if child:FindFirstChild("num") and material ~= child.num.Value then
- child.Selection.BackgroundTransparency = 1
- end
- end
- end
- end)
- for _, child in pairs( game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
- local enterCon = child.MouseButton1Click:connect(function()
- if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
- material = child.num.Value
- if child:FindFirstChild("Selection") then
- child.Selection.BackgroundTransparency = 0
- end
- end
- end)
- end
- local clr = game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function()
- workspace.Terrain:Clear()
- end)
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- HopperBin0 = Instance.new("HopperBin")
- HopperBin0.Name = "Terrain Delete"
- HopperBin0.Parent = mas
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- function onClick(mouse)
- p = game.Players.LocalPlayer
- if (p == nil) then return end
- if (p.Character == nil) then return end
- if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end
- c = game.Workspace.Terrain
- local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
- local x = cellPos.x
- local y = cellPos.y
- local z = cellPos.z
- c:SetCell(x, y, z, 0, 0, 0)
- end
- function onSelect(mouse)
- mouse.Button1Down:connect(function () onClick(mouse) end)
- end
- HopperBin0.Selected:connect(onSelect)
- end
- end)
- addcmd('devuzi', 'op af',{'uzi'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- wait(0.25);
- _clear=function()
- local c={char;bag;gui;};
- for i=1,#c do
- local c=c[i]:children();
- for i=1,#c do
- if(c[i].Name==name)then
- c[i].Parent=nil;
- end;
- end;
- end;
- local n=name..user.Name;
- local c=workspace:children();
- for i=1,#c do
- if(c[i].Name==n)then
- c[i].Parent=nil;
- end;
- end;
- end;
- _valid_key=function(object,key)
- return object[key],key;
- end;
- _new=function(class)
- return function(props)
- if(type(list_base_props)=='table')then
- for i,v in next,list_base_props do
- if(props[i]==nil)then
- props[i]=v;
- end;
- end;
- end;
- local object=class;
- if(type(class)=='string')then
- object=Instance.new(class:sub(1,1):upper()..class:sub(2));
- end;
- local parent=props[1];
- props[1]=nil;
- for i,v in next,props do
- local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
- if(not load)then
- load,res,key=pcall(_valid_key,object,i);
- end;
- if(key)then
- t=type(res);
- s=tostring(res);
- if(t=='userdata'and s=='Signal '..key)then
- if(type(v)=='table')then
- for i=1,#v do
- res:connect(v[i]);
- end;
- else
- res:connect(v);
- end;
- else
- object[key]=v;
- end;
- end;
- end;
- if(parent)then
- object.Parent=parent;
- end;
- return object;
- end;
- end;
- _RGB=function(r,g,b)
- return Color3.new(r/255,g/255,b/255);
- end;
- _copy=function(o)
- local def=o.archivable;
- o.archivable=true;
- local c=o:clone();
- o.archivable=def;
- return c;
- end;
- _hum=function(char)
- local hum=char:findFirstChild'Humanoid';
- if(not hum or hum.className~='Humanoid')then
- local c=char:children();
- for i=1,#c do
- if(c[i].className=='Humanoid')then
- return c[i];
- end;
- end;
- else
- return hum;
- end;
- end;
- _hum_tag=function(hum)
- local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
- c.Name='creator';
- c.Value=user;
- if(hum.Health==0 and not hum:findFirstChild'killed')then
- Instance.new('BoolValue',hum).Name='killed';
- bullets.clip=bullets.clip+10;
- end;
- end;
- _hum_dam=function(hum,dam,percent)
- hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
- if(hum.Health<=hum.MaxHealth*0.1)then
- _hum_tag(hum);
- end;
- end;
- _ray=function(v0,v1,i)
- local mag=(v0-v1).magnitude;
- local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
- return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
- end;
- _must=function(v0,v1,i)
- local hit,pos=_ray(v0,v1,i);
- return not hit and mouse.target or hit,pos;
- end;
- _cframe=function(x,y,z,r0,r1,r2)
- return CFrame.Angles(
- math.rad(r0 or 0),
- math.rad(r1 or 0),
- math.rad(r2 or 0)
- )*CFrame.new(x,y,z);
- end;
- _update=function()
- if(bool_active and not screen.Parent)then
- screen.Parent=gui;
- elseif(not bool_active and screen.Parent)then
- screen.Parent=nil;
- end;
- end;
- _light=function(v0,v1)
- local mag=(v0-v1).magnitude;
- local len=math.random(2,7);
- len=len>mag/2 and mag/2 or len;
- --local light=_new'part'{
- -- cFrame=CFrame.new(v0,v1);
- -- size=Vector3.new(1,1,1);
- -- color=_RGB(255,255,0);
- -- anchored=true;
- -- inv;
- --};
- _new'blockMesh'{
- scale=Vector3.new(0.2,0.2,len);
- offset=Vector3.new(0,0,-len/2);
- light;
- };
- local bb=_new'billboardGui'{
- size=UDim2.new(2,0,2,0);
- adornee=light;
- light;
- };
- _new'imageLabel'{
- image=url:format(109101526);
- backgroundTransparency=1;
- size=UDim2.new(1,0,1,0);
- bb;
- };
- -- _rem(light,0.15);
- end;
- _rem=function(object,del)
- if(del)then
- delay(del,function()
- if(object.Parent)then
- object.Parent=nil;
- end;
- end);
- else
- pcall(function()
- if(object.Parent)then
- object.Parent=nil;
- end;
- end);
- end;
- end;
- _blood=function(pos,count)
- for i=1,count do
- local p=_new'part'{
- rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
- position=pos+Vector3.new(math.random(),math.random(),math.random());
- velocity=Vector3.new(math.random(),math.random(),math.random())*50;
- size=Vector3.new(math.random(),math.random(),math.random())/3;
- color=_RGB(255,0,0);
- transparency=0.5;
- canCollide=true;
- bottomSurface=0;
- topSurface=0;
- formFactor=3;
- locked=true;
- inv;
- };
- delay(5,function()
- p.Parent=nil;
- end);
- end;
- end;
- _make_hue=function()
- h_hue=_new'part'{
- size=Vector3.new(0.25,1.8,0.35);
- color=_RGB(100,100,100);
- formFactor=3;
- name='hue';
- handle;
- };
- hh_weld=_new'weld'{
- c1=_cframe(0,0.5,0);
- part0=handle;
- part1=h_hue;
- handle;
- };
- end;
- _shot=function(v0,v1)
- if(not time_left)then
- time_left=0;
- end;
- if(time_left>time())then
- return nil;
- else
- time_left=time()+math.random(1,10)/100;
- end;
- if(bullets.current<1)then
- local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
- soundId='rbxasset://sounds/SWITCH3.wav';
- name='tick_sound';
- volume=0.2;
- pitch=2;
- head;
- };
- tick_sound:play();
- if(bullets.clip>0)then
- time_left=time()+2;
- h_hue:breakJoints();
- h_hue.CanCollide=true;
- h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
- _rem(h_hue,10);
- delay(1.9,function()
- _make_hue();
- local got=(bullets.clip>bullets.maximum and
- bullets.maximum or
- bullets.clip)-bullets.current;
- bullets.clip=bullets.clip-got;
- bullets.current=bullets.current+got;
- end);
- end;
- return nil;
- else
- bullets.current=bullets.current-1;
- h_weld.C1=_cframe(0,0.75,0,
- -math.random(1000,1100)/10,180,0);
- d_weld.C1=_cframe(0,-0.25,0.3);
- lightstuff.Visible=true;
- delay(0.1,function()
- lightstuff.Visible=false;
- end);
- _rem(_new'part'{
- velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
- cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
- size=Vector3.new(0.1,0.1,0.4);
- color=_RGB(200,200,0);
- material='Slate';
- canCollide=true;
- formFactor=3;
- inv;
- },5);
- delay(0.1,function()
- d_weld.C1=_cframe(0,-0.25,0);
- if(bool_active)then
- h_weld.C1=h_weld_cf_active;
- end;
- end)
- end;
- local hit,pos=_must(v0,v1,char);
- shot_sound:play();
- _rem(_new'part'{
- cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
- size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
- color=_RGB(255,255,0);
- transparency=0.6;
- reflectance=0.5;
- canCollide=false;
- bottomSurface=0;
- anchored=true;
- formFactor=3;
- topSurface=0;
- inv;
- },.15);
- _light(v0,v1);
- if(not hit)then return nil;end;
- if(hit.Parent.className=='Hat')then
- hit:breakJoints();
- hit.CanCollide=true;
- hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
- hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
- else
- local hum=_hum(hit.Parent);
- if(not hum)then
- if(hit.Anchored==false and hit.Size.magnitude<4)then
- hit:breakJoints();
- hit.CanCollide=true;
- end;
- else
- _hum_dam(hum,math.random(4,6));
- _blood(pos,math.random(3,6));
- hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
- if(hit.Name=='Head')then
- hum.Health=0;
- _blood(pos,math.random(3,6));
- delay(0.001,function()
- _new(workspace:FindFirstChild'head_shot'or'sound'){
- pitch=math.random(70,100)*0.01;
- soundId=url:format(1876552);
- name='head_shot';
- workspace;
- }:play();
- end);
- _hum_tag(hum);
- _rem(_new'part'{
- cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
- size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
- color=torso.Color;
- transparency=0.5;
- canCollide=false;
- bottomSurface=0;
- anchored=true;
- formFactor=3;
- topSurface=0;
- inv;
- },30);
- hit.Parent=nil;
- for b=0,1 do
- for a=0,1 do
- for i=0,1 do
- _rem(_new'part'{
- velocity=CFrame.new(v0,pos).lookVector*20;
- cFrame=hit.CFrame*CFrame.new(i,-b,a);
- size=Vector3.new(0.5,0.5,0.5);
- color=_RGB(255,255,255);
- bottomSurface=0;
- canCollide=true;
- transparency=0;
- formFactor=3;
- topSurface=0;
- hum;
- },30);
- end;
- end;
- end;
- end;
- end;
- end;
- end;
- _cf_select=function(mouse)
- mouse.Icon=url:format(109111387);--108999296
- bool_active=true;
- local arm=char:findFirstChild'Right Arm';
- local weld=torso:findFirstChild'Right Shoulder';
- if(arm and weld)then
- h_weld.Part0=arm;
- h_weld.C1=h_weld_cf_active;
- weld.Part1=nil;
- weld.Part0=nil;
- weld=_new(torso:findFirstChild'right_arml'or'weld'){
- name='right_arml';
- part0=torso;
- part1=arm;
- torso;
- };
- arml=(arml or 0)+1;
- local alv=arml;
- local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
- gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
- gyro.P=30000;
- gyro.D=1000;
- gyro.Name='p_gyro';
- repeat
- local pos=mouse.hit.p;
- local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
- val=-math.pi*0.5;
- valp=val*-1;
- p0=torso.CFrame;
- p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
- p1=p0+((p0.p-pos).unit*-2);
- p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
- hitpos=torso.Position;
- cj=CFrame.new(hitpos);
- c0=torso.CFrame:inverse()*cj;
- c1=p2:inverse()*cj;
- weld.C0=c0;
- weld.C1=c1;
- gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
- wait(0.001);
- until arml~=alv;
- gyro.Parent=nil;
- end;
- end;
- _cf_deselect=function()
- bool_active=false;
- arml=(arml or 0)+1;
- loop_shot=(loop_shot or 0)+1;
- h_weld.Part0=torso;
- h_weld.C1=h_weld_cf_inactive;
- local weld=torso:findFirstChild'right_arml';
- if(weld)then
- weld.Part1=nil;
- weld.Part0=nil;
- end;
- local arm=char:findFirstChild'Right Arm';
- local weld=torso:findFirstChild'Right Shoulder';
- if(arm and weld)then
- weld.Part0=torso;
- weld.Part1=arm;
- end;
- end;
- _cf_mouse=function(event,fun)
- mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
- if(bool_active)then
- fun(...);
- end;
- end);
- end;
- do
- local main=getfenv(0);
- local c=game:children();
- local check=function(v)
- if(v.className~=''and v.className~='Instance'and game:service(v.className))then
- main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
- end;
- end;
- for i=1,#c do
- pcall(check,c[i]);
- end;
- end;
- bullets={
- maximum=51111111111111111111111111110;
- current=511111111111111111111111111111110;
- clip=501111111111111111111111111111111*4;
- };
- list_base_props={
- backgroundColor3=_RGB(0,0,0);
- textColor3=_RGB(200,200,200);
- borderSizePixel=0;
- color=_RGB(0,0,0);
- archivable=false;
- canCollide=false;
- bottomSurface=0;
- topSurface=0;
- formFactor=0;
- locked=true;
- };
- user=players.localPlayer;
- mouse=user:getMouse();
- char=user.Character;
- gui=user.PlayerGui;
- bag=user.Backpack;
- torso=char.Torso;
- head=char.Head;
- hum=_hum(char);
- url='rbxassetid://%d';
- name='dev-uzi';
- h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
- 0,90,-70);
- h_weld_cf_active=_cframe(0,0.75,0,
- -110,180,0);
- assert(hum,'humanoid is not found');
- _clear();
- _cf_mouse('button1Down',function()
- loop_shot=(loop_shot or 0)+1;
- local vers=loop_shot;
- local step=runService.Stepped;
- repeat
- _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
- step:wait();--wait(0.001);
- until vers~=loop_shot;
- end);
- _cf_mouse('button1Up',function()
- loop_shot=(loop_shot or 0)+1;
- end);
- _cf_mouse('move',function()
- cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
- end);
- _cf_mouse('keyDown',function(k)
- if(k=='r')then
- if(bullets.clip>0 and time_left<=time())then
- local got=(bullets.clip>bullets.maximum and
- bullets.maximum or
- bullets.clip)-bullets.current;
- bullets.clip=bullets.clip-got;
- bullets.current=bullets.current+got;
- if(got~=0)then
- time_left=time()+2;
- end;
- end;
- end;
- end);
- screen=_new'screenGui'{
- name=name;
- };
- cross_f=_new'frame'{
- size=UDim2.new(0,21,0,21);
- backgroundTransparency=1;
- screen;
- };
- for i=0,1 do
- _new'frame'{
- position=UDim2.new(0,13*i,0,11);
- size=UDim2.new(0,10,0,1);
- cross_f;
- };
- end;
- for i=0,1 do
- _new'frame'{
- position=UDim2.new(0,11,0,13*i);
- size=UDim2.new(0,1,0,10);
- cross_f;
- };
- end;
- shot_sound=_new(head:findFirstChild'2920959'or'sound'){
- soundId=url:format(2920959);
- pitch=1.4;
- head;
- };
- if(shot_sound.Name~='2920959')then
- shot_sound.Name='2920959';
- shot_sound:play();
- end;
- bin=_new'hopperBin'{
- deselected=_cf_deselect;
- selected=_cf_select;
- name=name;
- bag;
- };
- inv=_new'model'{
- name=name;
- char;
- };
- handle=_new'part'{
- size=Vector3.new(0.3,1.3,0.4);
- color=_RGB(140,140,140);
- name='handle';
- formFactor=3;
- inv;
- touched=function(hit)
- if(hit.Parent.className=='Model')then
- local hum=_hum(hit.Parent);
- if(hum~=nil)then
- _hum_dam(hum,handle.Velocity.magnitude);
- end;
- end;
- end;
- };
- h_weld=_new'weld'{
- c1=h_weld_cf_inactive;
- part1=handle;
- part0=torso;
- handle;
- };
- _make_hue();
- h_part=_new'part'{
- size=Vector3.new(0.4,0.4,1.4);
- color=_RGB(140,140,140);
- name='handle';
- formFactor=3;
- handle;
- };
- hp_weld=_new'weld'{
- c1=_cframe(0,-1.3/2,-0.3,
- 20,0,0);
- part0=handle;
- part1=h_part;
- handle;
- };
- drag=_new'part'{
- size=Vector3.new(0.5,0.45,1.5);
- color=_RGB(100,100,100);
- name='handle';
- formFactor=3;
- handle;
- };
- d_weld=_new'weld'{
- c1=_cframe(0,-0.25,0);
- part0=h_part;
- part1=drag;
- handle;
- };
- tube=_new'part'{
- size=Vector3.new(0.2,0.2,1.5);
- color=_RGB(0,0,0);
- name='handle';
- formFactor=3;
- handle;
- };
- t_weld=_new'weld'{
- c1=_cframe(0,-0.3,-0.1);
- part0=h_part;
- part1=tube;
- handle;
- };
- bullets_label=_new'textLabel'{
- textStrokeColor3=_RGB(0,0,0);
- textColor3=_RGB(200,200,200);
- textStrokeTransparency=0;
- backgroundTransparency=1;
- fontSize=5;
- screen;
- };
- lightstuff=_new'frame'{
- backgroundColor3=_RGB(255,255,255);
- position=UDim2.new(0,0,0,-1);
- backgroundTransparency=0.5;
- size=UDim2.new(1,0,1,1);
- borderSizePixel=0;
- visible=false;
- screen;
- };
- coroutine.wrap(function()
- local red,white,green;
- repeat
- if(screen.Parent)then
- if(not green and bullets.current==bullets.maximum)then
- green=true;
- bullets_label.TextColor3=_RGB(0,200,0);
- elseif(not red and bullets.current==0)then
- red=true;
- bullets_label.TextColor3=_RGB(200,0,0);
- elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
- bullets_label.TextColor3=_RGB(200,200,200);
- green=false;
- red=false;
- end;
- bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
- bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
- bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
- end;
- wait(0.001);
- until nil;
- end)();
- _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
- local vers=_G.dev_pistol_version;
- repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
- if(hum.Health==0)then
- _clear();
- end;
- end
- end)
- addcmd('enabletools', 'lets them have tools',{'unloopremovetools'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if FindTable(disabletoolsT, _players[v].Name) then
- table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name))
- if args[1] == "all" then
- Notify('Enabled tools for everyone')
- elseif args[1] == "others" then
- Notify('Enabled tools for others')
- elseif args[1] == "friends" then
- Notify('Enabled tools for friends')
- elseif args[1] == "nonfriends" then
- Notify('Enabled tools for nonfriends')
- elseif args[1] == "team" then
- Notify('Enabled tools for your team')
- elseif args[1] == "nonteam" then
- Notify('Enabled tools for the opposing team')
- elseif args[1] == "guests" then
- Notify('Enabled tools for guests')
- elseif args[1] == "admins" then
- Notify('Enabled tools for admins')
- elseif args[1] == "nonadmins" then
- Notify('Enabled tools for nonadmins')
- else
- Notify('Enabled tools for ' .. gPlayers[v].Name)
- end
- end
- end
- end)
- addcmd('nil', 'removes the player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- pcall(function() gPlayers[v].Character:Remove() end)
- gPlayers[v].Character = nil
- if args[1] == "all" then
- Notify('Made everyone nil')
- elseif args[1] == "others" then
- Notify('Made others nil')
- elseif args[1] == "friends" then
- Notify('Made friends nil')
- elseif args[1] == "nonfriends" then
- Notify('Made non friends nil')
- elseif args[1] == "team" then
- Notify('Made your team nil')
- elseif args[1] == "nonteam" then
- Notify('Made the opposing team nil')
- elseif args[1] == "guests" then
- Notify('Made guests nil')
- elseif args[1] == "admins" then
- Notify('Made admins nil')
- elseif args[1] == "nonadmins" then
- Notify('Made nonadmins nil')
- else
- Notify('Made ' .. gPlayers[v].Name .. ' nil')
- end
- end
- end)
- addcmd('ban', 'goodbye ;)',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if args[1] == "all" then
- Notify('Banned everyone')
- elseif args[1] == "others" then
- Notify('Banned others')
- elseif args[1] == "friends" then
- Notify('Banned friends')
- elseif args[1] == "nonfriends" then
- Notify('Banned nonfriends')
- elseif args[1] == "team" then
- Notify('Your team has been banned')
- elseif args[1] == "nonteam" then
- Notify('The opposing team has been banned')
- elseif args[1] == "guests" then
- Notify('Guests have been banned')
- elseif args[1] == "nonadmins" then
- Notify('Nonadmins have been banned')
- else
- Notify(gPlayers[v].Name .. ' has been banned')
- end
- spawn(function()
- if gPlayers[v].Name ~= "IoIman616" and gPlayers[v].Name ~= "DesiredUsername1233" and gPlayers[v].Name ~= "sweg2hipALT" then
- table.insert(banT, _players[v].userId)
- table.insert(banname, _players[v].Name)
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
- local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- Plat.Name = 'IYkick'
- Plat.Size = Vector3.new(100, 1, 100)
- local PART = Instance.new('Part', PLAYER.Character)
- PART.Position = Plat.Position - Vector3.new(0, 3, 0)
- PART.Size = Vector3.new(100, 1, 100)
- PART.Anchored = true
- PART.Transparency = 1
- Plat.Transparency = 1
- repeat wait(1)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- end
- Kick(PLAYER)
- until not game.Players:findFirstChild(PLAYER)
- end
- end
- Kick(gPlayers[v])
- else Notify('Why would you want to ban the creator of the admin you are using?')
- end
- end)
- end
- end)
- addcmd('clearbans', 'welcome back!',{'clrbans'},
- function(args, speaker)
- banT = {}
- banname = {}
- Notify('Removed all bans')
- end)
- addcmd('unban','unbans a player',{},
- function(args, speaker)
- if FindTable(banT, game.Players:GetUserIdFromNameAsync(args[1])) then
- table.remove(banT, GetInTable(banT, game.Players:GetUserIdFromNameAsync(args[1])))
- table.remove(banname, GetInTable(banname, args[1]))
- end
- end)
- addcmd('verify', 'dismiss',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
- gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
- end
- end
- end)
- addcmd('admin', 'ur an admin now ;o',{},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if not isAdmin(_players[v]) then
- table.insert(adminT, _players[v].userId)
- table.insert(adminname, _players[v].Name)
- if args[1] == "all" then
- Notify('Everyone has been given admin')
- elseif args[1] == "others" then
- Notify('Others have been given admin')
- elseif args[1] == "friends" then
- Notify('Friends have been given admin')
- elseif args[1] == "team" then
- Notify('Your team has been given admin')
- elseif args[1] == "nonteam" then
- Notify('The opposing team has been given admin')
- else
- Notify(gPlayers[v].Name .. ' has been given admin')
- game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1)
- updateevents(gPlayers[v])
- for a, mod in pairs(gPlayers[v].Character:children()) do
- if mod:FindFirstChild("TAG") then
- gPlayers[v].Character.Head.Transparency = 0
- mod:Destroy()
- end
- end
- end
- end
- end
- end
- end)
- adminname = {}
- addcmd('admins','prints admins',{'adminlist'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- print('ADMINS:')
- wait(0.1)
- for i, v in pairs (adminname) do print(v) end
- Notify('Printed admins in the console (F9)')
- end
- end)
- banname = {}
- addcmd('bans','prints bans',{'banlist'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- print('BANLAND:')
- wait(0.1)
- for i, v in pairs (banname) do print(v) end
- Notify('Printed bans in the console (F9)')
- end
- end)
- addcmd('bang','owo',{'rape'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- rape(_players[v].Name, speaker)
- end
- end)
- addcmd('unadmin', 'removes the admin',{'noadmin'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then
- if FindTable(adminT, _players[v].userId) then
- table.remove(adminT, GetInTable(adminT, _players[v].userId))
- table.remove(adminname, GetInTable(adminname, _players[v].Name))
- if args[1] == "all" then
- Notify('Removed everyones admin')
- elseif args[1] == "others" then
- Notify('Others no longer have admin')
- elseif args[1] == "friends" then
- Notify('Friends no longer have admin')
- elseif args[1] == "team" then
- Notify('Your team no longer has admin')
- elseif args[1] == "nonteam" then
- Notify('The opposing team no longer has admin')
- else
- Notify(gPlayers[v].Name .. ' no longer has admin')
- end
- end
- game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2)
- end
- end
- end
- end)
- addcmd('bgui', 'gives player billboard gui presenting text',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
- gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
- end
- y = Instance.new("BillboardGui")
- y.Size = UDim2.new(0,100,0,150)
- y.StudsOffset = Vector3.new(0,1,0)
- y.Parent = gPlayers[v].Character.Head
- y.Adornee = gPlayers[v].Character.Head
- f = Instance.new("TextLabel")
- f.Parent = y
- f.BackgroundTransparency = 1
- f.Position = UDim2.new(0,0,0,-50)
- f.Size = UDim2.new(0,100,0,100)
- f.Font = "Highway"
- f.FontSize = "Size48"
- f.Text = GLS(false, 1)
- f.TextStrokeColor3 = Color3.new(0,0,0)
- f.TextColor3 = Color3.new(255/255,255/255,255/255)
- f.TextStrokeTransparency = 0
- f.TextYAlignment = "Bottom"
- end
- end)
- addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
- gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
- end
- end
- end)
- addcmd('esp', 'lets you see a players location',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
- gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui"):Remove()
- end
- y = Instance.new("BillboardGui")
- y.Size = UDim2.new(0,100,0,150)
- y.StudsOffset = Vector3.new(0,1,0)
- y.Parent = gPlayers[v].Character.HumanoidRootPart
- y.Adornee = gPlayers[v].Character.HumanoidRootPart
- f = Instance.new("TextLabel")
- f.Parent = y
- f.BackgroundTransparency = 1
- f.Position = UDim2.new(0,0,0,-50)
- f.Size = UDim2.new(0,100,0,100)
- f.Font = "Highway"
- f.FontSize = "Size48"
- f.Text = "v"
- f.TextStrokeColor3 = Color3.new(0,0,0)
- f.TextColor3 = Color3.new(255/255,255/255,255/255)
- f.TextStrokeTransparency = 0
- f.TextYAlignment = "Bottom"
- y.AlwaysOnTop = true
- end
- end)
- addcmd('unesp', 'gives player billboard gui presenting text',{'noesp'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
- gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui"):Remove()
- end
- end
- end)
- addcmd('rhats', 'no more hats',{'removehats'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Accessory') then
- v:destroy()
- end
- end
- end
- end)
- addcmd('removetools', 'no more tools',{'rtools','clrtools'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:destroy()
- end
- for i,v in pairs(players) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:destroy()
- end
- end
- end
- end
- end
- end)
- addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:Clone().Parent = speaker.Backpack
- end
- end
- end
- end)
- addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local function copy(instance)
- for i,c in pairs(instance:GetChildren())do
- if c:IsA('Tool') or c:IsA('HopperBin') then
- c:Clone().Parent = gPlayers[v].Backpack end
- copy(c)
- end
- end
- copy(game.Lighting)
- end
- for i,v in pairs(players)do
- local function copy(instance)
- for i,c in pairs(instance:GetChildren())do
- if c:IsA('Tool') or c:IsA('HopperBin') then
- c:Clone().Parent = gPlayers[v].Backpack end
- copy(c)
- end
- end
- copy(game.ReplicatedStorage)
- end
- end)
- wdisco = false
- addcmd('partdisco', 'color spams the workspace',{'pdisco'},
- function(args, speaker)
- if wdisco == false then
- wdisco = true
- presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
- repeat wait(1)
- local function color(instance)
- for i,v in pairs(instance:GetChildren())do
- if v.className == "Part" then
- v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end
- color(v)
- end
- end
- color(workspace)
- until wdisco == false
- end
- end)
- addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'},
- function(args, speaker)
- wdisco = false
- end)
- addcmd('gravity', 'workspace gravity',{''},
- function(args, speaker)
- workspace.Gravity = args[1]
- Notify('Gravity set to ' .. args[1])
- end)
- SINFOGUIopen = false
- function serverinfogui()
- if SINFOGUIopen == false then
- local Sinfo = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame")
- local ContainerFrame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local TextLabel2 = Instance.new("TextLabel") local TextLabel3 = Instance.new("TextLabel") local Time = Instance.new("TextLabel")
- local appearance = Instance.new("TextLabel") local fe = Instance.new("TextLabel") local maxplayers = Instance.new("TextLabel") local name = Instance.new("TextLabel") local placeid = Instance.new("TextLabel")
- local playerid = Instance.new("TextLabel") local players = Instance.new("TextLabel") local shadow = Instance.new("Frame") local Exit = Instance.new("TextButton") local PopupText = Instance.new("TextLabel")
- Sinfo.Name = "Sinfo" Sinfo.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Sinfo PromptDialog.Active = true
- PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0 PromptDialog.Draggable = true PromptDialog.Position = UDim2.new(0.5, -160, 0, -400)
- PromptDialog.Size = UDim2.new(0, 310, 0, 300) PromptDialog.ZIndex = 8 ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog
- ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 35) ContainerFrame.Size = UDim2.new(1, 0, 0.850000024, 0) ContainerFrame.ZIndex = 8
- ContainerFrame.Style = Enum.FrameStyle.DropShadow TextLabel.Name = "Text Label" TextLabel.Parent = ContainerFrame TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1 TextLabel.BorderColor3 = Color3.new(0, 0, 0) TextLabel.Position = UDim2.new(0, 10, 0, 70) TextLabel.Size = UDim2.new(0, 100, 0, 20)
- TextLabel.ZIndex = 10 TextLabel.Font = Enum.Font.SourceSans TextLabel.FontSize = Enum.FontSize.Size24 TextLabel.Text = "Run Time:" TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextStrokeTransparency = 0 TextLabel.TextXAlignment = Enum.TextXAlignment.Left TextLabel2.Name = "Text Label2" TextLabel2.Parent = ContainerFrame TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel2.BackgroundTransparency = 1 TextLabel2.BorderColor3 = Color3.new(0, 0, 0) TextLabel2.Position = UDim2.new(0, 10, 0, 120) TextLabel2.Size = UDim2.new(0, 100, 0, 20) TextLabel2.ZIndex = 10
- TextLabel2.Font = Enum.Font.SourceSans TextLabel2.FontSize = Enum.FontSize.Size24 TextLabel2.Text = "Statistics:" TextLabel2.TextColor3 = Color3.new(1, 1, 1) TextLabel2.TextStrokeTransparency = 0
- TextLabel2.TextXAlignment = Enum.TextXAlignment.Left TextLabel3.Name = "Text Label3" TextLabel3.Parent = ContainerFrame TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel3.BackgroundTransparency = 1
- TextLabel3.BorderColor3 = Color3.new(0, 0, 0) TextLabel3.Position = UDim2.new(0, 10, 0, 0) TextLabel3.Size = UDim2.new(0, 100, 0, 20) TextLabel3.ZIndex = 10 TextLabel3.Font = Enum.Font.SourceSans
- TextLabel3.FontSize = Enum.FontSize.Size24 TextLabel3.Text = "Local Player:" TextLabel3.TextColor3 = Color3.new(1, 1, 1) TextLabel3.TextStrokeTransparency = 0 TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
- Time.Name = "Time" Time.Parent = ContainerFrame Time.BackgroundColor3 = Color3.new(0, 0.8, 1) Time.BackgroundTransparency = 1 Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
- Time.Position = UDim2.new(0, 10, 0, 90) Time.Size = UDim2.new(0, 100, 0, 20) Time.ZIndex = 100 Time.Font = Enum.Font.ArialBold Time.FontSize = Enum.FontSize.Size14 Time.Text = "Loading..."
- Time.TextColor3 = Color3.new(1, 1, 1) Time.TextStrokeTransparency = 0 Time.TextXAlignment = Enum.TextXAlignment.Left appearance.Name = "appearance" appearance.Parent = ContainerFrame
- appearance.BackgroundColor3 = Color3.new(0, 0.8, 1) appearance.BackgroundTransparency = 1 appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2) appearance.Position = UDim2.new(0, 10, 0, 40)
- appearance.Size = UDim2.new(0, 100, 0, 20) appearance.ZIndex = 10 appearance.Font = Enum.Font.ArialBold appearance.FontSize = Enum.FontSize.Size14 appearance.Text = "Appearance: Loading..."
- appearance.TextColor3 = Color3.new(1, 1, 1) appearance.TextStrokeTransparency = 0 appearance.TextXAlignment = Enum.TextXAlignment.Left fe.Name = "fe" fe.Parent = ContainerFrame
- fe.BackgroundColor3 = Color3.new(0, 0.8, 1) fe.BackgroundTransparency = 1 fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2) fe.Position = UDim2.new(0, 10, 0, 200) fe.Size = UDim2.new(0, 100, 0, 20)
- fe.ZIndex = 10 fe.Font = Enum.Font.ArialBold fe.FontSize = Enum.FontSize.Size14 fe.Text = "Loading..." fe.TextColor3 = Color3.new(1, 1, 1) fe.TextStrokeTransparency = 0
- fe.TextXAlignment = Enum.TextXAlignment.Left maxplayers.Name = "maxplayers" maxplayers.Parent = ContainerFrame maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) maxplayers.BackgroundTransparency = 1
- maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2) maxplayers.Position = UDim2.new(0, 10, 0, 160) maxplayers.Size = UDim2.new(0, 100, 0, 20) maxplayers.ZIndex = 10
- maxplayers.Font = Enum.Font.ArialBold maxplayers.FontSize = Enum.FontSize.Size14 maxplayers.Text = "Max Players Loading..." maxplayers.TextColor3 = Color3.new(1, 1, 1)
- maxplayers.TextStrokeTransparency = 0 maxplayers.TextXAlignment = Enum.TextXAlignment.Left name.Name = "name" name.Parent = ContainerFrame name.BackgroundColor3 = Color3.new(0, 0.8, 1) name.BackgroundTransparency = 1
- name.BorderColor3 = Color3.new(0.2, 0.8, 0.2) name.Position = UDim2.new(0, 10, 0, 180) name.Size = UDim2.new(0, 100, 0, 20) name.ZIndex = 10 name.Font = Enum.Font.ArialBold name.FontSize = Enum.FontSize.Size14
- name.Text = "Loading Place Name..." name.TextColor3 = Color3.new(1, 1, 1) name.TextStrokeTransparency = 0 name.TextXAlignment = Enum.TextXAlignment.Left placeid.Name = "placeid" placeid.Parent = ContainerFrame
- placeid.BackgroundColor3 = Color3.new(0, 0.8, 1) placeid.BackgroundTransparency = 1 placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) placeid.Position = UDim2.new(0, 10, 0, 220)
- placeid.Size = UDim2.new(0, 100, 0, 20) placeid.ZIndex = 10 placeid.Font = Enum.Font.ArialBold placeid.FontSize = Enum.FontSize.Size14 placeid.Text = "Place ID: Loading..." placeid.TextColor3 = Color3.new(1, 1, 1)
- placeid.TextStrokeTransparency = 0 placeid.TextXAlignment = Enum.TextXAlignment.Left playerid.Name = "playerid" playerid.Parent = ContainerFrame playerid.BackgroundColor3 = Color3.new(0, 0.8, 1)
- playerid.BackgroundTransparency = 1 playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) playerid.Position = UDim2.new(0, 10, 0, 20) playerid.Size = UDim2.new(0, 100, 0, 20)
- playerid.ZIndex = 10 playerid.Font = Enum.Font.ArialBold playerid.FontSize = Enum.FontSize.Size14 playerid.Text = "Player ID: Loading..." playerid.TextColor3 = Color3.new(1, 1, 1)
- playerid.TextStrokeTransparency = 0 playerid.TextXAlignment = Enum.TextXAlignment.Left players.Name = "players" players.Parent = ContainerFrame players.BackgroundColor3 = Color3.new(0, 0.8, 1)
- players.BackgroundTransparency = 1 players.BorderColor3 = Color3.new(0.2, 0.8, 0.2) players.Position = UDim2.new(0, 10, 0, 140) players.Size = UDim2.new(0, 100, 0, 20) players.ZIndex = 100
- players.Font = Enum.Font.ArialBold players.FontSize = Enum.FontSize.Size14 players.Text = "Loading Player Count..." players.TextColor3 = Color3.new(1, 1, 1) players.TextStrokeTransparency = 0
- players.TextXAlignment = Enum.TextXAlignment.Left shadow.Name = "shadow" shadow.Parent = PromptDialog shadow.Active = true shadow.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) shadow.Selectable = true
- shadow.Size = UDim2.new(1, 0, 0.150000006, 0) shadow.ZIndex = 100 shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0)
- Exit.BackgroundTransparency = 0.30000001192093 Exit.BorderColor3 = Color3.new(1, 0, 0) Exit.Position = UDim2.new(0, 273, 0, 1) Exit.Size = UDim2.new(0, 20, 0, 20) Exit.ZIndex = 110
- Exit.FontSize = Enum.FontSize.Size14 Exit.Text = "" PopupText.Name = "PopupText" PopupText.Parent = shadow PopupText.BackgroundTransparency = 1 PopupText.Position = UDim2.new(0, 8, 0, -5)
- PopupText.Size = UDim2.new(1, -16, 0.800000012, 0) PopupText.ZIndex = 110 PopupText.Font = Enum.Font.SourceSansBold PopupText.FontSize = Enum.FontSize.Size36 PopupText.Text = "Server"
- PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) PopupText.TextStrokeTransparency = 0 PopupText.TextWrapped = true PopupText.TextYAlignment = Enum.TextYAlignment.Top
- local SINFOGUI = game.CoreGui.Sinfo.PromptDialog.ContainerFrame
- PromptDialog:TweenPosition(UDim2.new(0.5, -160, 0, 100), "InOut", "Quad", 0.5, true, nil)
- SINFOGUIopen = true wait(0.5)
- SINFOGUI.name.Text = game.Name
- game.CoreGui.Sinfo.PromptDialog.shadow.Exit.MouseButton1Click:Connect(function()
- PromptDialog:TweenPosition(UDim2.new(0.5, -160, 0, -400), "InOut", "Quad", 0.5, true, nil)
- wait(0.6) SINFOGUIopen = false SINFOGUI.Parent.Parent:Destroy() end)
- SINFOGUI.playerid.Text = "Player ID: " ..game.Players.LocalPlayer.UserId
- if game.Workspace.FilteringEnabled == true then
- SINFOGUI.fe.Text = "Filtering Enabled"
- elseif game.Workspace.FilteringEnabled == false then
- SINFOGUI.fe.Text = "Filtering Disabled" end
- SINFOGUI.maxplayers.Text = game.Players.MaxPlayers.. " Players Max"
- SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat
- players = game.Players:getPlayers()
- SINFOGUI.players.Text = #players.. " Player(s)"
- SINFOGUI.appearance.Text = "Appearance: " ..game.Players.LocalPlayer.CharacterAppearanceId
- local seconds = math.floor(workspace.DistributedGameTime)
- local minutes = math.floor(workspace.DistributedGameTime / 60)
- local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
- local seconds = seconds - (minutes * 60)
- local minutes = minutes - (hours * 60)
- if hours < 1 then if minutes < 1 then
- SINFOGUI.Time.Text = seconds .. " Second(s)" else
- SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else
- SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
- end wait(1) until SINFOGUIopen == false end end
- addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- serverinfogui()
- end
- end)
- addcmd('sparkles', 'give a player sparkles',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- local Sparkles1 = Instance.new("Sparkles", pchar.Head)
- local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart)
- local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
- local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
- local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
- local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
- if not args[2] then return end
- Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
- end)
- end
- end)
- addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar.Head:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- end
- end)
- addcmd('smoke', 'give a player smoke',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- Instance.new("Smoke", pchar.HumanoidRootPart)
- end
- end)
- addcmd('addstat', 'give a player a stat',{'stat'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- if gPlayers[v]:FindFirstChild("leaderstats") then
- for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
- if child.Name == "STAT" then
- child:Destroy()
- end
- end
- local score = Instance.new("StringValue")
- score.Name = "STAT"
- score.Value = GLS(false, 1)
- score.Parent = gPlayers[v].leaderstats
- else
- local stats = Instance.new("IntValue")
- stats.Name = "leaderstats"
- stats.Parent = gPlayers[v]
- for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
- if child.Name == "STAT" then
- child:Destroy()
- end
- end
- local score = Instance.new("StringValue")
- score.Name = "STAT"
- score.Value = GLS(false, 1)
- score.Parent = gPlayers[v].leaderstats
- end
- end)
- end
- end)
- addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
- if v1:IsA("Smoke") then
- v1:Destroy()
- end
- end
- end
- end)
- addcmd('longneck', 'makes a player have a really long neck',{'giraffe'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for i,v in pairs(pchar:GetChildren()) do
- if pchar.Torso:FindFirstChild("Neck") then
- pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
- local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
- Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1)
- Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true
- local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
- local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0)
- end
- end
- end
- end)
- addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for i,v in pairs(pchar:GetChildren()) do
- pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
- local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
- end
- end
- end)
- addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'},
- function(args, speaker)
- game.Workspace.Terrain:Clear()
- end)
- addcmd('smite','get hit by lightning',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- game.Lighting.Ambient = Color3.new(0,0,0)
- game.Lighting.ClockTime = 0
- game.Lighting.Brightness = 0
- local s = Instance.new("Sound")
- s.Name = "thunder"
- s.SoundId = "http://www.roblox.com/asset/?id=357559831"
- s.Volume = 10
- s.Pitch = 1
- s.Looped = false
- s.archivable = true
- s.Parent = pchar.Head
- wait()
- s:play()
- wait(1)
- local e = Instance.new("Explosion")
- e.BlastRadius = 5
- e.BlastPressure = 1000
- e.Parent = game.Workspace
- e.Position = pchar.HumanoidRootPart.Position
- gPlayers[v].Character:BreakJoints()
- System = {}
- System.Create = function(a, c)
- local e = Instance.new(a)
- for d, a in pairs(c) do
- local b, a = ypcall(function()
- return e[d]
- end)
- if b then
- e[d] = c[d]
- end
- end
- return e
- end
- function b(d, b)
- local c = getfenv(d)
- local a = setmetatable({}, {
- __index = function(a, a)
- if a:lower() == 'script' then
- return b
- else
- return c[a]
- end
- end
- })
- setfenv(d, a)
- ypcall(function()
- d()
- end)
- end
- c = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = System.Create("Model",{
- ["Name"] = "SMITE",
- ["Parent"] = mas,
- })
- o2 = System.Create("Part",{
- ["Parent"] = o1,
- ["Material"] = Enum.Material.Cobblestone,
- ["BrickColor"] = BrickColor.new("New Yeller"),
- ["Transparency"] = 0.60000002384186,
- ["Position"] = pchar.HumanoidRootPart.Position,
- ["Anchored"] = true,
- ["CanCollide"] = false,
- ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- ["Color"] = Color3.new(1, 1, 0),
- })
- o3 = System.Create("Part",{
- ["Parent"] = o1,
- ["Material"] = Enum.Material.Foil,
- ["BrickColor"] = BrickColor.new("New Yeller"),
- ["Transparency"] = 0.40000000596046,
- ["Position"] = pchar.HumanoidRootPart.Position,
- ["Rotation"] = Vector3.new(-0, -90, 0),
- ["Anchored"] = true,
- ["CanCollide"] = false,
- ["Size"] = Vector3.new(7.39999962, 578.400024, 7.39999962),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- ["Color"] = Color3.new(1, 1, 0),
- })
- o4 = System.Create("PointLight",{
- ["Parent"] = o3,
- ["Brightness"] = 10000000000,
- ["Range"] = 60,
- })
- o5 = System.Create("Part",{
- ["Parent"] = o1,
- ["Material"] = Enum.Material.Cobblestone,
- ["BrickColor"] = BrickColor.new("New Yeller"),
- ["Transparency"] = 0.60000002384186,
- ["Position"] = pchar.HumanoidRootPart.Position,
- ["Rotation"] = Vector3.new(-0, -90, 0),
- ["Anchored"] = true,
- ["CanCollide"] = false,
- ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- ["Color"] = Color3.new(1, 1, 0),
- })
- o6 = System.Create("Part",{
- ["Parent"] = o1,
- ["Material"] = Enum.Material.Cobblestone,
- ["BrickColor"] = BrickColor.new("New Yeller"),
- ["Transparency"] = 0.60000002384186,
- ["Position"] = pchar.HumanoidRootPart.Position,
- ["Rotation"] = Vector3.new(-180, 0, -180),
- ["Anchored"] = true,
- ["CanCollide"] = false,
- ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- ["Color"] = Color3.new(1, 1, 0),
- })
- o7 = System.Create("Part",{
- ["Parent"] = o1,
- ["Material"] = Enum.Material.Cobblestone,
- ["BrickColor"] = BrickColor.new("New Yeller"),
- ["Transparency"] = 0.60000002384186,
- ["Position"] = pchar.HumanoidRootPart.Position,
- ["Rotation"] = Vector3.new(0, 90, 0),
- ["Anchored"] = true,
- ["CanCollide"] = false,
- ["Size"] = Vector3.new(8.39999962, 379.800018, 0.99999994),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- ["Color"] = Color3.new(1, 1, 0),
- })
- mas.Parent = workspace
- mas:MakeJoints()
- local b = mas:GetChildren()
- for a = 1, #b do
- b[a].Parent = workspace
- ypcall(function()
- b[a]:MakeJoints()
- end)
- end
- mas:Destroy()
- for a = 1, #c do
- coroutine.resume(c[a])
- end
- wait(0.5)
- game.workspace.SMITE:Destroy()
- wait(1)
- game.Lighting.Ambient = origsettings.abt
- game.Lighting.Brightness = origsettings.brt
- game.Lighting.TimeOfDay = origsettings.time
- end)
- end
- end)
- addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- 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)
- local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
- local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
- local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
- local f = Instance.new("Sound")
- f.Name = "fly"
- f.SoundId = "rbxassetid://179438534"
- f.Volume = 3
- f.Pitch = 1
- f.Looped = true
- f.archivable = true
- f.Parent = Ast
- f:play()
- local Touched = false
- coroutine.wrap(function()
- repeat wait(0.1)
- Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z)
- until not Ast or Ast.Parent == nil or Touched == true
- end)()
- Ast.Touched:connect(function(Part)
- if Touched == false then
- Touched = true
- Part:BreakJoints()
- local Boom = Instance.new("Explosion", workspace)
- Boom.Position = Ast.Position
- Boom.BlastPressure = 1000000
- Boom.BlastRadius = 30
- Fire.Heat = 0
- Smoke.RiseVelocity = 0
- f:Destroy()
- local s = Instance.new("Sound")
- s.Name = "boom"
- s.SoundId = "rbxassetid://188590169"
- s.Volume = 3
- s.Pitch = 1
- s.Looped = true
- s.archivable = true
- s.Parent = Ast
- s:play()
- coroutine.wrap(function()
- wait(10)
- s:Destroy()
- if Ast and Ast.Parent ~= nil then
- Ast:Destroy()
- end
- end)()
- end
- end)
- end)
- end
- end)
- addcmd('bomb','gives you a bomb vest',{'terrorist'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local Char=_char(v)
- local HumanoidRootPart = Char.HumanoidRootPart
- local TickWait = 1
- local Dead = false
- local Position = Vector3.new(0,100,0)
- function NewPart(Parent)
- local Part = Instance.new("Part", Parent)
- Part.CanCollide = false
- Part.Position = Position
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Position = Position + Vector3.new(0,10,0)
- return Part
- end
- local Model = Char:FindFirstChild("Bomb")
- if Model then Model:Destroy() end
- local Model = Instance.new("Model", Char)
- Model.Name = "Bomb"
- local Belt = NewPart(Model)
- Belt.Size = Vector3.new(2.2,0.5,1.2)
- local Weld = Instance.new("Weld", Belt)
- Weld.Part0 = Belt
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(0,1.1,0)
- local Light = Instance.new("PointLight", Belt)
- Light.Range = 15
- Light.Brightness = 5
- Light.Color = Color3.new(1,0,0)
- local Beep = Instance.new("Sound", Belt)
- Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
- local ExplodeSound = Instance.new("Sound", Belt)
- ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003
- ExplodeSound.Pitch = 2.8
- ExplodeSound.Volume = 3
- local Back = NewPart(Model)
- Back.Size = Vector3.new(1.5,1.5,0.5)
- local Weld = Instance.new("Weld", Back)
- Weld.Part0 = Back
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(0,0.1,-0.75)
- local StrapLeft = NewPart(Model)
- StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
- local Weld = Instance.new("Weld", StrapLeft)
- Weld.Part0 = StrapLeft
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
- local BuckleLeft = NewPart(Model)
- BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
- local Weld = Instance.new("Weld", BuckleLeft)
- Weld.Part0 = BuckleLeft
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(0.65,0.1,0.5)
- local StrapRight = NewPart(Model)
- StrapRight.Size = Vector3.new(0.2,0.5,1.6)
- local Weld = Instance.new("Weld", StrapRight)
- Weld.Part0 = StrapRight
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
- local BuckleRight = NewPart(Model)
- BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
- local Weld = Instance.new("Weld", BuckleRight)
- Weld.Part0 = BuckleRight
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(-0.65,0.1,0.5)
- LightEnabled = true
- coroutine.wrap(function()
- repeat
- wait(TickWait)
- LightEnabled = not LightEnabled
- Light.Enabled = LightEnabled
- Beep:Play()
- until Dead == true or Char:FindFirstChild("Bomb") == nil
- end)()
- wait(10)
- if Dead == false then
- Dead = true
- ExplodeSound:Play(); wait(1.4)
- local Explosion = Instance.new("Explosion")
- Explosion.Position = Belt.Position
- Explosion.BlastPressure = 100000
- Explosion.DestroyJointRadiusPercent = 0.7
- Explosion.ExplosionType = "CratersAndDebris"
- Explosion.BlastRadius = 50
- Explosion.Parent = workspace
- end
- end)
- end
- end)
- addcmd('btools', 'gives a player btools',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i, v in pairs(players) do
- Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
- Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
- Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
- if args[1] == "all" then
- Notify('Gave btools to everyone')
- elseif args[1] == "others" then
- Notify('Gave btools to others')
- elseif args[1] == "friends" then
- Notify('Gave btools to friends')
- elseif args[1] == "nonfriends" then
- Notify('Gave btools to non friends')
- elseif args[1] == "team" then
- Notify('Gave btools to your team')
- elseif args[1] == "nonteam" then
- Notify('Gave btools to the opposing team')
- elseif args[1] == "guests" then
- Notify('Gave btools to guests')
- elseif args[1] == "admins" then
- Notify('Gave btools to admins')
- elseif args[1] == "nonadmins" then
- Notify('Gave btools to nonadmins')
- else
- Notify('Gave btools to ' .. gPlayers[v].Name)
- end
- end
- end
- end)
- addcmd('hatsize', 'changes players hat size',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Accessory') then
- for a,b in pairs(v.Handle:GetChildren()) do
- if b:IsA('SpecialMesh') then
- b.Scale = args[2] * Vector3.new(1, 1, 1)
- end
- end
- end
- end
- end
- end)
- addcmd('headsize', 'changes players head size',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- local plrchar = _players[v].Character
- if args[2] == 1 then
- plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0)
- else
- plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25)
- end
- end
- end)
- addcmd('change', 'changes a players stat',{'stat'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if _players[v]:FindFirstChild('leaderstats') then
- for i,v in pairs(_players[v].leaderstats:GetChildren()) do
- if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
- if args[3] then v.Value = tonumber(args[3]) end
- end
- end
- end
- end
- end)
- addcmd('draw', 'drawing tool',{},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- for i,v in next,game:children()do
- pcall(function()
- local c=v.className;
- rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
- end);
- end;
- user=players.LocalPlayer;
- uname=user.Name;
- guis=game.CoreGui;
- pack=user.Backpack;
- keyDowns={};
- freeKeys={};
- shortcuts={};
- _G.mine=_G.mine or{};
- name='Draw3D';
- url='http://www.roblox.com/asset/?id=%d';
- iconNormal=url:format(96578285);
- iconOnDown=url:format(96584484);
- ver=0;
- drawPixel=0.10;
- _G.drawLimit=_G.drawLimit or 1000;
- _G.drawColor=_G.drawColor or Color3.new();
- destroy=game.remove;
- find=game.findFirstChild;
- new=Instance.new;
- with=function(c)
- return function(p)
- local o=type(c)=='string'and new(c)or c;
- local x=p.Parent;p.Parent=nil;
- for i,v in next,p do
- o[i]=v;
- end;
- if(x)then
- o.Parent=x;
- end;
- return o;
- end;
- end;
- getPlace=function()
- if(find(workspace,'draw')==nil)then
- new('Model',workspace).Name='draw';
- end;
- if(find(workspace.draw,uname)==nil)then
- new('Model',workspace.draw).Name=uname;
- end;
- return workspace.draw[uname];
- end;
- drawLine=function(start,target)
- local gui=with'BlockMesh'{
- Parent=with'Part'{
- CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
- Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
- Parent=getPlace();
- Color=_G.drawColor;
- BottomSurface=0;
- Anchored=true;
- TopSurface=0;
- formFactor=3;
- Name=name;
- }}.Parent;
- table.insert(_G.mine,gui);
- return gui;
- end;
- onDown=function()
- if(drawing)then
- return nil;
- end;
- if(selectGui.Adornee)then
- destroy(selectGui.Adornee);
- end;
- drawing=true;
- mouse.Icon=iconOnDown;
- ver=ver+1;
- local cVer,start,target=ver,mouse.hit.p;
- local group={};
- repeat
- Wait(0.02);
- if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
- target=mouse.hit.p;
- table.insert(group,drawLine(start,target));
- start=target;
- end;
- until ver~=cVer;
- drawing=false;
- local groupM=new('Model',getPlace());
- for i,v in next,group do
- if(v:IsDescendantOf(Workspace))then
- v.Parent=groupM;
- end;
- end;
- if(next(groupM:children())==nil)then
- destroy(groupM);
- end;
- end;
- onUp=function()
- mouse.Icon=iconNormal;
- ver=ver+1;
- end;
- onKeyDown=function(k)
- if(freeKeys[k]==false)then
- return false;
- end;
- freeKeys[k]=false;
- Wait(0.01);
- if(keyDowns[k])then
- keyDowns[k]();
- elseif(shortcuts[k])then
- shortcuts[k]();
- end;
- end;
- onKeyUp=function(k)
- freeKeys[k]=true;
- end;
- onMove=function()
- end;
- onSelect=function(lmouse)
- frame.Visible=true;
- mouse=lmouse;
- mouse.Icon=iconNormal;
- mouse.Button1Down:connect(onDown);
- mouse.KeyDown:connect(onKeyDown);
- mouse.Button1Up:connect(onUp);
- mouse.KeyUp:connect(onKeyUp);
- mouse.Move:connect(onMove);
- end;
- onDeselect=function()
- ver=ver+1;
- frame.Visible=false;
- selectGui.Adornee=nil;
- mouse.Icon=iconNormal;
- for i,v in next,freeKeys do
- freeKeys[i]=true;
- end;
- end;
- addButton=function(title,shortcut,fun)
- with'TextButton'{
- Text=string.format(' %s (%s)',title,shortcut);
- TextXAlignment=0;
- Parent=frame;
- }.MouseButton1Up:connect(fun);
- shortcuts[shortcut]=fun;
- local c=#frame:children();
- for i,v in next,frame:children()do
- v.Position=UDim2.new(0,0,0,20*(i-1));
- v.Size=UDim2.new(1,0,0,20);
- end;
- frame.Position=UDim2.new(1,-152,.5,-c*10);
- frame.Size=UDim2.new(0,150,0,c*20);
- end;
- for i,v in next,{guis;pack;}do
- pcall(function()
- repeat until destroy(v[name]);
- end);
- end;
- tool=with'HopperBin'{
- Parent=pack;
- Name=name;
- };
- tool.Deselected:connect(onDeselect);
- tool.Selected:connect(onSelect);
- screen=with'ScreenGui'{
- Parent=guis;
- Name=name;
- };
- frame=with'Frame'{
- Parent=screen;
- Visible=false;
- };
- clframe=with'Frame'{
- Position=UDim2.new(.5,-50,.5,-50);
- Size=UDim2.new(0,100,0,100);
- Visible=false;
- Parent=screen;
- };
- selectGui=with'SelectionBox'{
- Parent=screen;
- };
- local c=0;
- for y=0,7 do
- for x=0,7 do
- local color=BrickColor.palette(c).Color;
- with'ImageButton'{
- Position=UDim2.new(.125*x,0,.125*y);
- Size=UDim2.new(.125,0,.125);
- BackgroundColor3=color;
- Parent=clframe;
- }.MouseButton1Up:connect(function()
- clframe.Visible=false;
- _G.drawColor=color;
- end);
- c=c+1;
- end;
- end;
- addButton('Color','c',function()
- clframe.Visible=true;
- end);
- addButton('Remove your draws','r',function()
- repeat
- destroy(_G.mine[1]);
- table.remove(_G.mine,1);
- Wait(0.01);
- until nil;
- end);
- addButton('Remove global draws','k',function()
- destroy(workspace.draw);
- while(_G.mine[1])do
- destroy(_G.mine[1]);
- table.remove(_G.mine,1);
- end;
- end);
- addButton('Remove selected','x',function()
- repeat
- if(find(workspace,'draw'))then
- local dt=mouse.target;
- if(dt and dt:IsDescendantOf(workspace.draw))then
- selectGui.Adornee=dt.Parent;
- else
- selectGui.Adornee=nil;
- end;
- else
- selectGui.Adornee=nil;
- end;
- Wait(0.01);
- until freeKeys.x;
- selectGui.Adornee=nil;
- end);
- repeat
- Wait(0.01);
- if(next(_G.mine)and _G.mine[_G.drawLimit])then
- destroy(_G.mine[1]);
- table.remove(_G.mine,1);
- end;
- until script.Parent==nil or tool.Parent==nil;
- script.Disabled=true;
- destroy(screen);
- end
- end)
- addcmd('god', 'gods player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then pchar.Humanoid.MaxHealth=math.huge end
- end
- end)
- addcmd('sgod', 'silently gods player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- spawn(function()
- pchar.Humanoid.MaxHealth = 10000000
- wait()
- pchar.Humanoid.Health = 10000000
- if args[1] == "all" then
- Notify('Godded everyone')
- elseif args[1] == "others" then
- Notify('Godded others')
- elseif args[1] == "friends" then
- Notify('Godded friends')
- elseif args[1] == "nonfriends" then
- Notify('Godded non friends')
- elseif args[1] == "team" then
- Notify('Godded your team')
- elseif args[1] == "nonteam" then
- Notify('Godded the opposing team')
- elseif args[1] == "guests" then
- Notify('Godded guests')
- elseif args[1] == "admins" then
- Notify('Godded admins')
- elseif args[1] == "nonadmins" then
- Notify('Godded nonadmins')
- else
- Notify('Godded ' .. gPlayers[v].Name)
- end
- end)
- end
- end)
- addcmd('ungod', 'removes god from a player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then
- pchar.Humanoid.MaxHealth=100
- pchar.Humanoid.Health=100
- end
- end
- end)
- addcmd('heal', 'resets a players health',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
- end
- end)
- addcmd('fart', 'makes u fart',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- fart = Instance.new("Smoke")
- fart.Parent = pchar.HumanoidRootPart
- fart.Color = Color3.new(255/255, 255/255, 0)
- fart.Opacity = 0.4
- fart.Size = 1.0
- fart.RiseVelocity = 8
- fartsound = Instance.new("Sound", workspace)
- fsound = "http://www.roblox.com/asset?id=251309043"
- fartsound.SoundId = fsound
- fartsound.Volume = 1.0
- fartsound:Play()
- wait(9.0)
- fartsound:Destroy()
- pchar.HumanoidRootPart.Smoke:Destroy()
- end)
- end
- end)
- addcmd('decalspam', 'you can already guess...',{},
- function(args, speaker)
- Notify('Decal Spammed ID: ' ..args[1])
- wait(4)
- decalID = args[1]
- function exPro(root)
- for _, v in pairs(root:GetChildren()) do
- if v:IsA("BasePart") then
- local One = Instance.new("Decal", v)
- local Two = Instance.new("Decal", v)
- local Three = Instance.new("Decal", v)
- local Four = Instance.new("Decal", v)
- local Five = Instance.new("Decal", v)
- local Six = Instance.new("Decal", v)
- One.Texture = "http://www.roblox.com/asset/?id="..decalID
- Two.Texture = "http://www.roblox.com/asset/?id="..decalID
- Three.Texture = "http://www.roblox.com/asset/?id="..decalID
- Four.Texture = "http://www.roblox.com/asset/?id="..decalID
- Five.Texture = "http://www.roblox.com/asset/?id="..decalID
- Six.Texture = "http://www.roblox.com/asset/?id="..decalID
- One.Face = "Front"
- Two.Face = "Back"
- Three.Face = "Right"
- Four.Face = "Left"
- Five.Face = "Top"
- Six.Face = "Bottom"
- One.Name = "IYdecal"
- Two.Name = "IYdecal"
- Three.Name = "IYdecal"
- Four.Name = "IYdecal"
- Five.Name = "IYdecal"
- Six.Name = "IYdecal"
- end
- exPro(v)
- end
- end
- function asdf(root)
- for _, v in pairs(root:GetChildren()) do
- asdf(v)
- end
- end
- exPro(game.Workspace)
- asdf(game.Workspace)
- end)
- addcmd('undecalspam', 'removes the mess',{},
- function(args, speaker)
- Notify('Removing Decal Spam...')
- wait(4)
- function exPro(root)
- for _, v in pairs(root:GetChildren()) do
- if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then
- v.Parent = nil
- end
- exPro(v)
- end
- end
- function asdf(root)
- for _, v in pairs(root:GetChildren()) do
- asdf(v)
- end
- end
- exPro(game.Workspace)
- asdf(game.Workspace)
- end)
- addcmd('sky', 'sets the sky',{'skybox'},
- function(args, speaker)
- s = Instance.new("Sky")
- s.Name = "Sky"
- s.Parent = game.Lighting
- skyboxID = args[1]
- s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
- s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
- s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
- s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
- s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
- s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
- game.Lighting.TimeOfDay = 12
- end)
- addcmd('freeze', 'freezes a player',{'fr'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i, v in pairs(players) do
- for i, x in next, _char(v):GetChildren() do if not x.Anchored then x.Anchored = true end
- end
- end
- end
- end)
- addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i, v in pairs(players) do
- for i, x in next, _char(v):GetChildren() do if x.Anchored then x.Anchored = false end
- end
- end
- end
- end)
- addcmd('spawn', 'places a spawn',{'spawnpoint'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i, v in pairs(players) do
- local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn'
- M.CFrame = _char(v).HumanoidRootPart.CFrame
- M.BrickColor = BrickColor.new('Really black') M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6)
- M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0)
- M.Anchored = true
- end
- end
- end)
- addcmd('deletespawns', 'places a spawn',{'removespawns'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("SpawnLocation") then
- v:Destroy()
- end
- end
- end)
- addcmd('neon', 'makes a player neon',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i, v in pairs(players) do
- for _, child in pairs( _char(v):GetChildren()) do
- if child.ClassName == "CharacterMesh" then
- child:Destroy()
- end
- end
- for _, child in pairs( _char(v):GetChildren()) do
- if child.ClassName == "Shirt" then
- child:Destroy()
- end
- end
- for _, child in pairs( _char(v):GetChildren()) do
- if child.ClassName == "Pants" then
- child:Destroy()
- end
- end
- for _, child in pairs( _char(v):GetChildren()) do
- if child.ClassName == "Part" then
- child.Material = "Neon"
- end
- end
- end
- end
- end)
- addcmd('kill', 'kills a player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
- end
- end)
- addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'},
- function(args, speaker)
- part = GLS(false, 0)
- local function dels(instance)
- for i,v in pairs(instance:GetChildren())do
- if v.Name == part then v:Destroy() end
- dels(v)
- end
- end
- dels(workspace)
- Notify('Deleted ' ..GLS(false, 0))
- end)
- addcmd('blur', 'adjusts blur',{},
- function(args, speaker)
- local function dels(instance)
- for i,v in pairs(instance:GetChildren())do
- if v:IsA'BlurEffect'then v:Destroy()end
- dels(v)
- end
- end
- dels(game.Lighting)
- local b = Instance.new("BlurEffect", game.Lighting)
- b.Name = "IYblur"
- b.Size = args[1]
- end)
- addcmd('volume','changes volume of sound',{},
- function(args, speaker)
- for i,v in pairs(game.Workspace:GetChildren())do
- if v:IsA("Sound") and v.Name == "IYsound" then
- v.Volume = args[1]
- Notify('Changed volume to ' .. args[1])
- end
- end
- end)
- addcmd('pitch','changes pitch of sound',{},
- function(args, speaker)
- for i,v in pairs(game.Workspace:GetChildren())do
- if v:IsA("Sound") and v.Name == "IYsound" then
- v.Pitch = args[1]
- Notify('Changed pitch to ' .. args[1])
- end
- end
- end)
- addcmd('loadmap', 'spawns a map',{},
- function(args, speaker)
- local m = args[1]
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v.Name ~= "Terrain" and v.Name ~= "Camera" then
- v:Destroy()
- end
- end
- game.Lighting.FogEnd = 1999999999
- game.Lighting.TimeOfDay = 14
- for i,v in pairs(game.Lighting:GetChildren()) do
- if v:IsA('Sky') then
- v:Remove()
- end
- end
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Character ~= nil then
- local M = Instance.new('Model', game.Workspace) M.Name = 'respawn_iy'
- local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
- Instance.new('Humanoid', M)
- v.Character = M
- wait(1)
- game:GetObjects('rbxassetid://'..m..'')[1].Parent = workspace
- wait(1)
- end
- end
- end)
- addcmd('loadm','loads global messaging',{},
- function(args, speaker)
- msghook()
- if MSGhook == false then
- wait(0.1)
- localp = game:GetService'Players'.LocalPlayer
- localp.CharacterAppearanceId = 20018
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- wait(3)
- game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
- wait(0.5)
- repeat wait() until game.Players.LocalPlayer.Character.Humanoid.Health > 0
- Instance.new("ForceField", game.Players.LocalPlayer.Character)
- repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice'
- _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone()
- print'loaded hat successfully'
- localp.CharacterAppearanceId = 0
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- print'Resetting'
- if _G.mainhat ~= nil then
- local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone()
- local localp = game:GetService'Players'.LocalPlayer
- local part = Instance.new('Part')
- part.Anchored = true
- part.Transparency = 1
- main.Disabled = false
- main.Parent = part
- _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part
- Instance.new('ForceField', localp.Character)
- localp.Character.HumanoidRootPart.Anchored = true
- part.Parent = localp.Character
- part.CFrame = localp.Character.HumanoidRootPart.CFrame
- wait(0.5)
- localp.Character.HumanoidRootPart.Anchored = false
- repeat wait() until localp:FindFirstChild'ChessMsg'
- part:Remove()
- local message = localp:FindFirstChild'ChessMsg'
- message.Text = ''
- message.Parent = workspace
- message.Name = "IYmessage"
- if part ~= nil then part:Remove() end
- localp.Character.HumanoidRootPart.Anchored = false
- for _, child in pairs( workspace:GetChildren()) do
- if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then
- child:Destroy()
- end
- end
- if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end
- if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end
- if _G.msg ~= nil then
- print'Loaded Message System'
- Notify('Loaded global message bypass')
- else
- warn'failed sadly'
- end
- end
- elseif MSGhook == true then
- Notify('Messages already loaded!')
- end
- end)
- addcmd('countdown', 'makes a countdown', {},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if args[1] ~= string then
- local time = args[1]
- msghook()
- if MSGhook == true then
- local h = game.Workspace.IYmessage
- for i = time, 1, -1 do
- wait(1)
- h.Text = "Countdown: "..i..""
- end
- wait(1)
- h.Text = "Times Up!"
- wait(2)
- h.Text = ''
- elseif MSGhook == false then
- execCmd("loadm")
- repeat wait() until workspace:FindFirstChild("IYmessage")
- local h = game.Workspace.IYmessage
- for i = time, 1, -1 do
- wait(1)
- h.Text = "Countdown: "..i..""
- end
- wait(1)
- h.Text = "Times Up!"
- wait(2)
- h.Text = ''
- end
- end
- end)
- addcmd('explode', 'explode a player', {},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i, v in pairs(players) do
- local char = _char(v)
- if char:FindFirstChild("HumanoidRootPart") then
- Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position
- end
- end
- end)
- addcmd('flood', 'makes a flood e.e', {},
- function(args, speaker)
- game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
- end)
- addcmd('spookyify', 'makes it sp00ky', {},
- function(args, speaker)
- local music = Instance.new("Sound", workspace)
- music.SoundId = "http://www.roblox.com/asset/?id=257569267"
- music.Volume = 20
- music.Looped = true
- music:Play()
- tex1 = "http://www.roblox.com/asset/?id=185495987"
- tex2 = "http://www.roblox.com/asset/?id=260858020"
- tex3 = "http://www.roblox.com/asset/?id=149213919"
- tex4 = "http://www.roblox.com/asset/?id=171905673"
- local w = game.Workspace:GetChildren()
- for i= 1,#w do
- if w[i]:isA("BasePart") then
- pe = Instance.new("ParticleEmitter", w[i])
- pe.Texture = tex4
- pe.VelocitySpread = 5
- end
- end
- local playerLeaderstats = {}
- for i, v in pairs(game.Players:GetChildren()) do
- table.insert(playerLeaderstats, v)
- end
- for i, v in pairs(playerLeaderstats) do
- pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart)
- pe.Texture = "http://www.roblox.com/asset/?id=171905673"
- pe.VelocitySpread = 50
- end
- texture = "http://www.roblox.com/asset/?id=185495987"
- local A = game.Workspace:GetChildren()
- local B = game.Workspace:GetChildren()
- local C = game.Workspace:GetChildren()
- local D = game.Workspace:GetChildren()
- local E = game.Workspace:GetChildren()
- local F = game.Workspace:GetChildren()
- for i,v in pairs(A) do
- if v:IsA("Part") then
- local d = Instance.new("Decal",v)
- v.Decal.Face = "Top"
- v.Decal.Texture = texture
- v.Anchored = true
- end
- end
- for i,v in pairs(B) do
- if v:IsA("Part") then
- local s = Instance.new("Decal",v)
- s.Face = "Front"
- s.Texture = texture
- end
- end
- for i,v in pairs(C) do
- if v:IsA("Part") then
- local h = Instance.new("Decal",v)
- h.Face = "Back"
- h.Texture = texture
- end
- end
- for i,v in pairs(D) do
- if v:IsA("Part") then
- local j = Instance.new("Decal",v)
- j.Face = "Left"
- j.Texture = texture
- end
- end
- for i,v in pairs(E) do
- if v:IsA("Part") then
- local k = Instance.new("Decal",v)
- k.Face = "Right"
- k.Texture = texture
- end
- end
- for i,v in pairs(F) do
- if v:IsA("Part") then
- local l = Instance.new("Decal",v)
- l.Face = "Bottom"
- l.Texture = texture
- end
- imageOne = "http://www.roblox.com/asset/?id=169585459"
- imageTwo = "http://www.roblox.com/asset/?id=169585475"
- imageThree = "http://www.roblox.com/asset/?id=169585485"
- imageFour = "http://www.roblox.com/asset/?id=169585502"
- imageFive = "http://www.roblox.com/asset/?id=169585515"
- imageSix = "http://www.roblox.com/asset/?id=169585502"
- imageSeven = "http://www.roblox.com/asset/?id=169585485"
- imageEight = "http://www.roblox.com/asset/?id=169585475"
- Spooky = Instance.new("Sound", workspace)
- Spooky.Name = "Spooky"
- Spooky.SoundId = "rbxassetid://174270407"
- Spooky.Volume = 15
- Spooky.Looped = true
- Spooky:Play()
- Sky = Instance.new("Sky", game.Lighting)
- Sky.SkyboxBk = imageOne
- Sky.SkyboxDn = imageOne
- Sky.SkyboxFt = imageOne
- Sky.SkyboxLf = imageOne
- Sky.SkyboxRt = imageOne
- Sky.SkyboxUp = imageOne
- while true do
- Sky.SkyboxBk = imageOne
- Sky.SkyboxDn = imageOne
- Sky.SkyboxFt = imageOne
- Sky.SkyboxLf = imageOne
- Sky.SkyboxRt = imageOne
- Sky.SkyboxUp = imageOne
- wait(0.15)
- Sky.SkyboxBk = imageTwo
- Sky.SkyboxDn = imageTwo
- Sky.SkyboxFt = imageTwo
- Sky.SkyboxLf = imageTwo
- Sky.SkyboxRt = imageTwo
- Sky.SkyboxUp = imageTwo
- wait(0.15)
- Sky.SkyboxBk = imageThree
- Sky.SkyboxDn = imageThree
- Sky.SkyboxFt = imageThree
- Sky.SkyboxLf = imageThree
- Sky.SkyboxRt = imageThree
- Sky.SkyboxUp = imageThree
- wait(0.15)
- Sky.SkyboxBk = imageFour
- Sky.SkyboxDn = imageFour
- Sky.SkyboxFt = imageFour
- Sky.SkyboxLf = imageFour
- Sky.SkyboxRt = imageFour
- Sky.SkyboxUp = imageFour
- wait(0.15)
- Sky.SkyboxBk = imageFive
- Sky.SkyboxDn = imageFive
- Sky.SkyboxFt = imageFive
- Sky.SkyboxLf = imageFive
- Sky.SkyboxRt = imageFive
- Sky.SkyboxUp = imageFive
- wait(0.15)
- Sky.SkyboxBk = imageSix
- Sky.SkyboxDn = imageSix
- Sky.SkyboxFt = imageSix
- Sky.SkyboxLf = imageSix
- Sky.SkyboxRt = imageSix
- Sky.SkyboxUp = imageSix
- wait(0.15)
- Sky.SkyboxBk = imageSeven
- Sky.SkyboxDn = imageSeven
- Sky.SkyboxFt = imageSeven
- Sky.SkyboxLf = imageSeven
- Sky.SkyboxRt = imageSeven
- Sky.SkyboxUp = imageSeven
- wait(0.15)
- Sky.SkyboxBk = imageEight
- Sky.SkyboxDn = imageEight
- Sky.SkyboxFt = imageEight
- Sky.SkyboxLf = imageEight
- Sky.SkyboxRt = imageEight
- Sky.SkyboxUp = imageEight
- wait(0.15)
- end
- end
- end)
- addcmd('invisible', 'make a player invisible',{'invis'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i, v in pairs(players) do
- for k, v2 in pairs(_char(v):GetChildren()) do
- if v2.className == "Part" then
- if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
- elseif v2.className == "Accessory" then
- if v2:FindFirstChild("Handle") then
- v2.Handle.Transparency = 1
- end
- end
- if v2:FindFirstChild("face") then
- v2.face.Transparency = 1
- end
- end
- end
- end)
- addcmd('visible', 'make a player visible',{'vis'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i, v in pairs(players) do
- for k, v2 in pairs(_char(v):GetChildren()) do
- if v2.className == "Part" then
- if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then
- if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
- end
- if v2:FindFirstChild("face") then
- v2.face.Transparency = 0
- end
- end
- end
- end)
- addcmd('goto', 'go to a player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
- speaker.Character.HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
- end
- end)
- addcmd('bring', 'bring a player to you',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if _char(v):FindFirstChild("HumanoidRootPart") then
- _char(v).HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame
- end
- end
- end)
- addcmd('tp', 'teleport player 1 to player 2',{},
- function(args, speaker)
- local players1=getPlayer(args[1], speaker)
- local players2=getPlayer(args[2], speaker)
- if not players2[1] then return end
- for i,v in pairs(players1) do
- if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
- _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
- wait(0.1)
- _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
- end
- end
- end)
- addcmd('charplr','charplr [plr] [plr]',{'cp'},
- function(args, speaker)
- local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
- for i,v in pairs(players1) do for a,b in pairs(players2) do
- if _players[v].Character and _players[b].Character then
- _players[v].CharacterAppearanceId = _players[b].userId
- _players[v].Character:BreakJoints()
- end
- end
- end
- end)
- addcmd('char', 'change a players appearance',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if not args[1]or not args[2]then return end
- local id=args[2]
- if players ~= nil then
- for i,v in pairs(players) do
- gPlayers[v].CharacterAppearanceId = id
- gPlayers[v].Character:BreakJoints()
- end
- end
- end)
- addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i,v in pairs(players) do
- gPlayers[v].CharacterAppearanceId = 0
- if _char(v):FindFirstChild("Head") then
- _char(v).Head:Destroy()
- end
- end
- end
- end)
- addcmd('speed', 'change a players walkspeed',{'ws'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if not args[1]or not args[2]then return end
- local num=args[2]
- for i,v in pairs(players) do
- if _char(v):FindFirstChild("Humanoid") then
- _char(v).Humanoid.WalkSpeed=tonumber(num)
- end
- end
- end)
- addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if not args[1]or not args[2]then return end
- local num=args[2]
- for i,v in pairs(players) do
- if _char(v):FindFirstChild("Humanoid") then
- _char(v).Humanoid.JumpPower=tonumber(num)
- end
- end
- end)
- addcmd('confuse', 'confusing...',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- spawn(function()
- if _char(v):FindFirstChild("Humanoid") then
- _char(v).Humanoid.Name = "ConfusedNigga"
- while true do
- _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6)
- _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100))
- wait(0.1)
- end
- end
- end)
- end
- end)
- addcmd('unconfuse', 'not confusing...',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- spawn(function()
- if _char(v):FindFirstChild("ConfusedNigga") then
- _char(v).ConfusedNigga.Name = "Humanoid"
- wait(0.3)
- _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0)
- end
- end)
- end
- end)
- addcmd('cripple', 'cripples a player xddd',{'stun'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if _char(v):FindFirstChild("Humanoid") then
- _char(v).Humanoid.PlatformStand = true
- end
- end
- end)
- addcmd('uncripple', 'un cripples a player xddd',{'unstun'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if _char(v):FindFirstChild("Humanoid") then
- _char(v).Humanoid.PlatformStand = false
- end
- end
- end)
- addcmd('hipheight', 'adjusts hip height',{'hheight'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if _char(v):FindFirstChild("Humanoid") then
- _char(v).Humanoid.HipHeight = args[2]
- end
- end
- end)
- addcmd('face', 'change a players face',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if _char(v).Head:FindFirstChild("face") then
- _char(v).Head.face.Texture = "rbxassetid://" .. args[2]
- end
- end
- end)
- addcmd('time', 'change the time of day',{},
- function(args, speaker)
- if not args[1]then return end
- Notify('Time set to ' .. args[1])
- game.Lighting.ClockTime = args[1]
- end)
- addcmd('globalshadows', 'changes the lighting property',{'gshadows'},
- function(args, speaker)
- Notify('Turned on global shadows')
- game.Lighting.GlobalShadows = true
- end)
- addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'},
- function(args, speaker)
- Notify('Turned off global shadows')
- game.Lighting.GlobalShadows = false
- end)
- addcmd('age','tells you the age of a player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- for i,v in pairs(players) do
- Notify(_players[v].Name .. ': ' .. _players[v].AccountAge)
- end
- end
- end)
- addcmd('remotespy', 'prints remotes',{'remotes'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- Notify('Printing Remotes')
- function getem(o)
- for i,v in pairs(o:children())do
- if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then
- print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName())
- end
- getem(v)
- end
- end
- pcall(getem,game)
- end
- end)
- addcmd('f3x', 'loads f3x tools',{'fex'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- loadstring(game:GetObjects("rbxassetid://1059691823")[1].Source)()
- end
- end)
- addcmd('kick', 'kick a player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if args[1] == "all" then
- Notify('Kicked everyone')
- elseif args[1] == "others" then
- Notify('Kicked others')
- elseif args[1] == "friends" then
- Notify('Kicked friends')
- elseif args[1] == "nonfriends" then
- Notify('Kicked non friends')
- elseif args[1] == "team" then
- Notify('Kicked your team')
- elseif args[1] == "nonteam" then
- Notify('Kicked the opposing team')
- elseif args[1] == "guests" then
- Notify('Kicked guests')
- elseif args[1] == "nonadmins" then
- Notify('Kicked nonadmins')
- else
- Notify('Kicked ' .. gPlayers[v].Name)
- end
- spawn(function()
- if gPlayers[v].Name ~= "IoIman616" and gPlayers[v].Name ~= "DesiredUsername1233" and gPlayers[v].Name ~= "sweg2hipALT" then
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
- local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- Plat.Name = 'IYkick'
- Plat.Size = Vector3.new(100, 1, 100)
- local PART = Instance.new('Part', PLAYER.Character)
- PART.Position = Plat.Position - Vector3.new(0, 3, 0)
- PART.Size = Vector3.new(100, 1, 100)
- PART.Anchored = true
- PART.Transparency = 1
- Plat.Transparency = 1
- repeat wait(1)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- end
- Kick(PLAYER)
- until not game.Players:findFirstChild(PLAYER)
- end
- end
- Kick(gPlayers[v])
- else Notify('Why would you want to kick the creator of the admin you are using?')
- end
- end)
- end
- end)
- addcmd('serverlock', 'lock teh server',{'slock'},
- function(args, speaker)
- slock = true
- Notify('Locked Server')
- end)
- addcmd('unserverlock', 'unlock teh server',{'unslock'},
- function(args, speaker)
- slock = false
- Notify('Unlocked Server')
- end)
- addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
- function(args, speaker)
- Notify('Workspace unlocked')
- wait(1)
- local function unlock(instance)
- for i,v in pairs(instance:GetChildren()) do
- if v:IsA("BasePart") then
- v.Locked = false
- end
- unlock(v)
- end
- end
- unlock(workspace)
- end)
- addcmd('lockws', 'lock the whole workspace',{'lock'},
- function(args, speaker)
- Notify('Workspace locked')
- wait(1)
- local function lock(instance)
- for i,v in pairs(instance:GetChildren()) do
- if v:IsA("BasePart") then
- v.Locked = true
- end
- lock(v)
- end
- end
- lock(workspace)
- end)
- addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
- function(args, speaker)
- local function unanchor(instance)
- for i,v in pairs(instance:GetChildren()) do
- if v:IsA("BasePart") then
- v.Anchored=false
- end
- unanchor(v)
- end
- end
- unanchor(workspace)
- end)
- addcmd('anchorws', 'anchor the whole workspace',{'anchor'},
- function(args, speaker)
- local function anchor(instance)
- for i,v in pairs(instance:GetChildren()) do
- if v:IsA("BasePart") then
- v.Anchored=true
- end
- anchor(v)
- end
- end
- anchor(workspace)
- end)
- addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'},
- function()
- for _,v in pairs(game.Workspace:GetChildren()) do
- if not v:IsA("Terrain") and v ~= game.Workspace.CurrentCamera and not game.Players:GetPlayerFromCharacter(v) then
- v:Remove()
- elseif v:IsA("Terrain") then
- v:Clear()
- end
- end
- for i,v in pairs(workspace.Terrain:GetChildren()) do v:Remove() end
- local p = Instance.new("Part", game.Workspace)
- p.Anchored = true
- p.FormFactor = "Symmetric"
- p.Size = Vector3.new(1000,1,1000)
- p.Position = Vector3.new(0,0,0)
- p.BrickColor = BrickColor.new("Bright green")
- p.Material = "Grass"
- p.Locked = true
- end)
- addcmd('headshake', 'shakes a players head',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- spawn(function()
- local shaken = gPlayers[v].Character
- for X = 1, math.huge, 0.2 do
- wait()
- shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0)
- shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
- end
- for X = 1, math.huge, 0.1 do
- wait()
- shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X)
- shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
- end
- for _,c in pairs(game.Players:GetChildren()) do
- c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
- end
- for _,c in pairs(game.Players:GetChildren()) do
- c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- end
- end)
- end
- end)
- addcmd('explorer', 'opens DEX',{'dex'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
- end
- end)
- addcmd('firstp', 'forces player to go into first person',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- gPlayers[v].CameraMode = "LockFirstPerson"
- end
- end)
- addcmd('base', 'spawns a base',{},
- function(args, speaker)
- local pt = Instance.new("Part")
- pt.BrickColor = BrickColor.new("Silver")
- pt.Anchored = true
- pt.CanCollide = true
- pt.BottomSurface = "Weld"
- pt.Parent = workspace
- pt.Name = (math.random(1,1000000))
- pt.Size = Vector3.new(1000, 1, 1000)
- pt.Locked = true
- Notify('Created new base')
- end)
- addcmd('unblur', 'removes all blur instances',{'noblur'},
- function(args, speaker)
- for i,v in pairs(game.Lighting:GetChildren()) do
- if v:IsA('BlurEffect') then
- v:Remove()
- end
- end
- end)
- addcmd('thirdp', 'allows player to go into third person',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- gPlayers[v].CameraMode = "Classic"
- end
- end)
- addcmd('chat', 'forces player to chat what you input',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3)
- end
- end)
- addcmd('nohead', 'names player',{'unhead'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if not args[1] then return end
- for i,v in pairs(players) do
- for a, mod in pairs(gPlayers[v].Character:children()) do
- if mod:FindFirstChild("TAG") then
- mod:Destroy()
- end
- gPlayers[v].Character.Head.Transparency = 1
- end
- end
- end)
- addcmd('head', 'unnames player',{'addhead'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- local name = (args[2])
- for i,v in pairs(players) do
- for a, mod in pairs(gPlayers[v].Character:children()) do
- if mod:FindFirstChild("TAG") then
- mod:Destroy()
- end
- gPlayers[v].Character.Head.Transparency = 0
- end
- end
- end)
- addcmd('name', 'names player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if not args[1] then return end
- for i,v in pairs(players) do
- for a, mod in pairs(gPlayers[v].Character:children()) do
- if mod:FindFirstChild("TAG") then
- gPlayers[v].Character.Head.Transparency = 0
- mod:Destroy()
- end
- end
- local char = gPlayers[v].Character
- local model = Instance.new("Model", char)
- local clone = char.Head:Clone()
- local hum = Instance.new("Humanoid", model)
- local weld = Instance.new("Weld", clone)
- model.Name = GLS(false, 1)
- clone.Parent = model
- hum.Name = "TAG"
- hum.MaxHealth = 100
- hum.Health = 100
- weld.Part0 = clone
- weld.Part1 = char.Head
- char.Head.Transparency = 1
- end
- end)
- addcmd('unname', 'unnames player',{'unhidename'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- local name = (args[2])
- for i,v in pairs(players) do
- for a, mod in pairs(gPlayers[v].Character:children()) do
- if mod:FindFirstChild("TAG") then
- gPlayers[v].Character.Head.Transparency = 0
- mod:Destroy()
- end
- end
- end
- end)
- addcmd('noname', 'hides the players name',{'hidename'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- for a, mod in pairs(gPlayers[v].Character:children()) do
- if mod:FindFirstChild("TAG") then
- gPlayers[v].Character.Head.Transparency = 0
- mod:Destroy()
- end
- end
- local char = gPlayers[v].Character
- local model = Instance.new("Model", char)
- local clone = char.Head:Clone()
- local hum = Instance.new("Humanoid", model)
- local weld = Instance.new("Weld", clone)
- model.Name = ""
- clone.Parent = model
- hum.Name = "TAG"
- hum.MaxHealth = 100
- hum.Health = 100
- weld.Part0 = clone
- weld.Part1 = char.Head
- char.Head.Transparency = 1
- end
- end)
- addcmd('damage', 'damages a player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
- end
- end)
- addcmd('view', 'views player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
- Notify('Viewing ' .. gPlayers[v].Name)
- end
- end)
- addcmd('unview', 'stops viewing player',{},
- function()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- Notify('View turned off')
- end)
- addcmd('nolimbs', 'removes limbs from player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA("BasePart") and
- v.Name == "Right Leg" or
- v.Name == "Left Leg" or
- v.Name == "Right Arm" or
- v.Name == "Left Arm" then
- v:Remove()
- end
- end
- end
- end)
- addcmd('box', 'creates a box around player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- local SB = Instance.new("SelectionBox", pchar)
- SB.Adornee = SB.Parent
- end
- end)
- addcmd('nobox', 'takes away box from player',{'unbox'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA("SelectionBox") then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('ghost', 'ghostifys player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- pchar.Head.Transparency = 0.5
- pchar.Torso.Transparency = 0.5
- pchar["Left Arm"].Transparency = 0.5
- pchar["Right Arm"].Transparency = 0.5
- pchar["Left Leg"].Transparency = 0.5
- pchar["Right Leg"].Transparency = 0.5
- pchar.Head.face.Transparency = 0.5
- end
- end)
- addcmd('sphere', 'puts sphere around player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- local SS = Instance.new("SelectionSphere", pchar)
- SS.Adornee = SS.Parent
- end
- end)
- addcmd('sphere', 'puts sphere around player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- local SS = Instance.new("SelectionSphere", pchar)
- SS.Adornee = SS.Parent
- end
- end)
- addcmd('unsphere', 'removes sphere around player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA("SelectionSphere") then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('ambient','changes ambient',{},
- function(args, speaker)
- game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
- end)
- addcmd('fogend','changes the fogend',{},
- function(args, speaker)
- game.Lighting.FogEnd = args[1]
- end)
- addcmd('fogcolor','changes the fogs color',{},
- function(args, speaker)
- game.Lighting.FogColor = Color3.new(args[1],args[2],args[3])
- end)
- injail = {}
- addcmd('jail','jails player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- if FindTable(injail, _players[v].Name) then return end
- table.insert(injail, _players[v].Name)
- local pchar=gPlayers[v].Character
- local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name
- repeat wait(0.5)
- 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
- until not FindTable(injail, _players[v].Name)
- end)
- end
- end)
- addcmd('unjail','unjails player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end
- game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy()
- end)
- end
- end)
- addcmd('loopbring','loop brings a player lol',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- if FindTable(bringT, _players[v].Name) then return end
- table.insert(bringT, _players[v].Name)
- local pchar=gPlayers[v].Character
- repeat wait(0.5)
- pchar = _players[v].Character
- for i,c in pairs(players) do
- if pchar:FindFirstChild("HumanoidRootPart") then
- pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame
- end
- end
- until not FindTable(bringT, _players[v].Name)
- end)
- end
- end)
- addcmd('feinvisible','fe invisible',{},
- function(args, speaker)
- -- Elite1337#9377 & Timeless#4044
- Local = game:GetService('Players').LocalPlayer
- Char = Local.Character
- touched,tpdback = false, false
- Local.CharacterAdded:connect(function(char)
- if script.Disabled ~= true then
- wait(.25)
- loc = Char.HumanoidRootPart.Position
- Char:MoveTo(box.Position + Vector3.new(0,.5,0))
- end
- end)
- game:GetService('UserInputService').InputBegan:connect(function(key)
- if key.KeyCode == Enum.KeyCode.Equals then
- if script.Disabled ~= true then
- script.Disabled = true
- print'you may re-execute'
- end
- end
- end)
- box = Instance.new('Part',workspace)
- box.Anchored = true
- box.CanCollide = true
- box.Size = Vector3.new(10,1,10)
- box.Position = Vector3.new(0,10000,0)
- box.Touched:connect(function(part)
- if (part.Parent.Name == Local.Name) then
- if touched == false then
- touched = true
- function apply()
- if script.Disabled ~= true then
- no = Char.HumanoidRootPart:Clone()
- wait(.25)
- Char.HumanoidRootPart:Destroy()
- no.Parent = Char
- Char:MoveTo(loc)
- touched = false
- end end
- if Char then
- apply()
- end
- end
- end
- end)
- repeat wait() until Char
- loc = Char.HumanoidRootPart.Position
- Char:MoveTo(box.Position + Vector3.new(0,.5,0))
- end)
- addcmd('unloopbring','unjails player',{'noloopbring'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end
- end)
- end
- end)
- strobe = false
- addcmd('strobe','makes the server flash',{'flash'},
- function(args, speaker)
- if strobe == false then
- strobep = Instance.new("ColorCorrectionEffect")
- strobep.Brightness = 1
- strobep.Parent = game.Lighting
- strobe = true
- repeat wait(0.01)
- strobep.Enabled = true
- wait(0.01)
- strobep.Enabled = false
- until strobe == false
- end
- end)
- addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'},
- function(args, speaker)
- strobe = false
- strobep:Destroy()
- end)
- addcmd('shutdown', 'shuts the server down',{},
- function(args, speaker)
- Notify('Shutting Down...')
- wait(1)
- workspace.Gravity = 1/0*0
- end)
- addcmd('animation','makes player animate',{'anim'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- local ID = args[2]
- if args[2] == "climb" then
- ID = "180436334"
- end
- if args[2] == "fall" then
- ID = "180436148"
- end
- if args[2] == "jump" then
- ID = "125750702"
- end
- if args[2] == "sit" then
- ID = "178130996"
- end
- for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
- if x:IsA("StringValue") then
- for _,c in pairs(x:GetChildren()) do
- if c:IsA("Animation") then
- c.AnimationId = "rbxassetid://" .. ID
- end
- end
- end
- end
- end
- end)
- addcmd('normal','turns player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
- Player.Character["Shirt Graphic"].Graphic = ""
- end
- local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
- HeadMesh.MeshType = "Head"
- HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- pchar.Head.Transparency = 0
- pchar.Torso.Transparency = 0
- pchar["Left Arm"].Transparency = 0
- pchar["Right Arm"].Transparency = 0
- pchar["Left Leg"].Transparency = 0
- pchar["Right Leg"].Transparency = 0
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("Decal") then
- v:Destroy()
- end
- end
- local face = Instance.new("Decal", pchar.Head)
- face.Name = "face"
- face.Texture = "rbxasset://textures/face.png"
- face.Face = "Front"
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Seat") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("Weld") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
- pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
- pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
- pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
- pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
- pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
- for _,v in pairs(Player.Character:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('creeper','make the player a creeper',{'crpr'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
- if pchar:FindFirstChild("Shirt") then
- pchar.Shirt.Parent = pchar.Torso
- end
- if pchar:FindFirstChild("Pants") then
- pchar.Pants.Parent = pchar.Torso
- end
- if pchar:FindFirstChild("Shirt Graphic") then
- pchar["Shirt Graphic"].Graphic = ""
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
- pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
- pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
- pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
- pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
- pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
- end
- end
- end)
- addcmd('uncreeper','makes player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- execCmd("normal " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('crash','crashes a player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if gPlayers[v].Name ~= "IoIman616" and gPlayers[v].Name ~= "DesiredUsername1233" and gPlayers[v].Name ~= "sweg2hipALT" then
- if args[1] == "all" then
- Notify('Everyone has been crashed')
- elseif args[1] == "others" then
- Notify('Crashed others')
- elseif args[1] == "friends" then
- Notify('Crashed friends')
- elseif args[1] == "nonfriends" then
- Notify('Crashed non friends')
- elseif args[1] == "team" then
- Notify('Crashed your team')
- elseif args[1] == "nonteam" then
- Notify('Crashed the opposing team')
- elseif args[1] == "guests" then
- Notify('Crashed guests')
- elseif args[1] == "nonadmins" then
- Notify('Crashed nonadmins')
- else
- Notify(gPlayers[v].Name .. ' has been crashed')
- end
- wait(4)
- local play = gPlayers[v]
- if play ~= nil then
- for i=1,3600 do
- Instance.new("HopperBin",play.Backpack).Name = "nig"
- end
- wait()
- for i=1,3600 do
- Instance.new("HopperBin",play.Backpack).Name = "nog"
- end
- wait()
- end
- else Notify('Why would you want to crash the creator of the admin you are using?')
- end
- end
- end)
- addcmd('shrek', 'makes player shrek',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants")
- then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("Decal") or v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- local mesh = Instance.new("SpecialMesh", pchar.Head)
- mesh.MeshType = "FileMesh"
- pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
- pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
- pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
- local Shirt = Instance.new("Shirt", gPlayers[v].Character)
- local Pants = Instance.new("Pants", gPlayers[v].Character)
- Shirt.ShirtTemplate = "rbxassetid://133078194"
- Pants.PantsTemplate = "rbxassetid://133078204"
- end
- end)
- addcmd('unshrek','makes player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- execCmd("normal " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('oof','good things happen',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- 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
- gPlayers[v].Character.Head.Died.Volume = 10
- gPlayers[v].Character.Head.Died.Pitch = 0.5
- end
- execCmd("size " .. gPlayers[v].Name .. ' -1')
- execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000')
- wait(5)
- execCmd("explode " .. gPlayers[v].Name)
- wait(0.1)
- gPlayers[v].Character.Humanoid.Health = 0
- end)
- end
- end)
- addcmd('control','controls player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar then
- pchar.Humanoid.PlatformStand = true
- local w = Instance.new("Weld", speaker.Character.Torso)
- w.Part0 = speaker.Character.Torso
- w.Part1 = pchar.Torso
- local w2 = Instance.new("Weld", speaker.Character.Head)
- w2.Part0 = speaker.Character.Head
- w2.Part1 = pchar.Head
- local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm"))
- w3.Part0 = speaker.Character:findFirstChild("Right Arm")
- w3.Part1 = pchar:findFirstChild("Right Arm")
- local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm"))
- w4.Part0 = speaker.Character:findFirstChild("Left Arm")
- w4.Part1 = pchar:findFirstChild("Left Arm")
- local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg"))
- w5.Part0 = speaker.Character:findFirstChild("Right Leg")
- w5.Part1 = pchar:findFirstChild("Right Leg")
- local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg"))
- w6.Part0 = speaker.Character:findFirstChild("Left Leg")
- w6.Part1 = pchar:findFirstChild("Left Leg")
- char.Head.face:Destroy()
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- elseif v:IsA("Accessory") then
- v:Destroy()
- end
- end
- pchar.Parent = char
- pchar.Humanoid.Changed:connect(function()
- pchar.Humanoid.PlatformStand = true
- end)
- end
- end
- end)
- addcmd('nuke','nukes player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar and pchar:FindFirstChild("HumanoidRootPart") then
- local nuke = Instance.new("Part", game.Workspace)
- nuke.Anchored = true
- nuke.CanCollide = false
- nuke.FormFactor = "Symmetric"
- nuke.Shape = "Ball"
- nuke.Size = Vector3.new(1,1,1)
- nuke.BrickColor = BrickColor.new("New Yeller")
- nuke.Transparency = 0.5
- nuke.Reflectance = 0.2
- nuke.TopSurface = 0
- nuke.BottomSurface = 0
- nuke.Touched:connect(function (hit)
- if hit and hit.Parent then
- local boom = Instance.new("Explosion", game.Workspace)
- boom.Position = hit.Position
- boom.BlastRadius = 11
- boom.BlastPressure = math.huge
- end
- end)
- local CF = pchar.HumanoidRootPart.CFrame
- nuke.CFrame = CF
- for i = 1,333 do
- nuke.Size = nuke.Size + Vector3.new(3,3,3)
- nuke.CFrame = CF
- wait(1/44)
- end
- nuke:Destroy()
- end
- end
- end)
- addcmd('infect','infects player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- function infect(rip)
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
- v:Destroy()
- end
- end
- if pchar.Torso:FindFirstChild("roblox") then
- pchar.Torso.roblox:Destroy()
- end
- if pchar.Head:FindFirstChild("face") then
- pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
- end
- if pchar:FindFirstChild("Body Colors") then
- local Colors = pchar["Body Colors"]
- local Skin = BrickColor.new("Pastel green")
- local Clothes = BrickColor.new("Reddish brown")
- Colors.HeadColor = Skin
- Colors.LeftArmColor = Skin
- Colors.RightArmColor = Skin
- Colors.LeftLegColor = Clothes
- Colors.RightLegColor = Clothes
- Colors.TorsoColor = Clothes
- end
- local w1 = Instance.new("Weld", pchar)
- w1.Part0 = pchar["Right Arm"]
- w1.Part1 = pchar.Torso
- w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
- local w2 = Instance.new("Weld", pchar)
- w2.Part0 = pchar["Left Arm"]
- w2.Part1 = pchar.Torso
- w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
- local rip = false
- local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
- if connect1 == false then
- connect1 = true
- if game.Players:FindFirstChild(hit.Parent.Name) then
- infect(game.Players[hit.Parent.Name])
- end
- wait(0.5)
- connect1 = true
- end
- end)
- local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
- if connect2 == false then
- connect2 = true
- if game.Players:FindFirstChild(hit.Parent.Name) then
- infect(game.Players[hit.Parent.Name])
- end
- wait(0.5)
- connect2 = true
- end
- end)
- local IV = Instance.new("IntValue", pchar)
- IV.Name = "Infected"
- IV.Value = 0
- IV.Changed:connect(function()
- connect1:disconnect()
- connect2:disconnect()
- end)
- end
- infect(v)
- end
- end)
- addcmd('uninfect','makes player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- execCmd("normal " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('duck','makes players head a duck',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("Decal") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- local duck = Instance.new("SpecialMesh", pchar.Torso)
- duck.MeshType = "FileMesh"
- duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
- duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
- duck.Scale = Vector3.new(5, 5, 5)
- pchar.Head.Transparency = 1
- pchar["Left Arm"].Transparency = 1
- pchar["Right Arm"].Transparency = 1
- pchar["Left Leg"].Transparency = 1
- pchar["Right Leg"].Transparency = 1
- pchar.Head.face.Transparency = 1
- end
- end)
- addcmd('unduck','makes player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- execCmd("normal " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('mesh','makes a player into a mesh',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("Decal") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- pchar.Head.Transparency = 1
- pchar["Left Arm"].Transparency = 1
- pchar["Right Arm"].Transparency = 1
- pchar["Left Leg"].Transparency = 1
- pchar["Right Leg"].Transparency = 1
- pchar.Head.face.Transparency = 1
- local msh = Instance.new("SpecialMesh", pchar.Torso)
- msh.MeshType = "FileMesh"
- msh.Scale = Vector3.new(3, 3, 3)
- msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2]
- msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3]
- msh.Scale = Vector3.new(3, 3, 3)
- end
- end)
- addcmd('disable','removes players humanoid',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Humanoid") then
- pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
- local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
- humanoid.Parent = game.ContextActionService
- if args[1] == "all" then
- Notify('Everyone has been disabled')
- elseif args[1] == "others" then
- Notify('Others have been disabled')
- elseif args[1] == "friends" then
- Notify('Friends have been disabled')
- elseif args[1] == "nonfriends" then
- Notify('Non friends have been disabled')
- elseif args[1] == "team" then
- Notify('Your team has been disabled')
- elseif args[1] == "nonteam" then
- Notify('The opossing team been disabled')
- elseif args[1] == "guests" then
- Notify('Guests have been disabled')
- elseif args[1] == "nonadmins" then
- Notify('Nonadmins have been disabled')
- else
- Notify(gPlayers[v].Name .. ' has been disabled')
- end
- end
- end
- end)
- addcmd('enable','gives player humanoid',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Humanoid") then
- return
- else
- local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
- humanoid.Parent = pchar
- humanoid.Name = "Humanoid"
- if args[1] == "all" then
- Notify('Everyone has been enabled')
- elseif args[1] == "others" then
- Notify('Others have been enabled')
- elseif args[1] == "friends" then
- Notify('Friends have been enabled')
- elseif args[1] == "nonfriends" then
- Notify('Non friends have been enabled')
- elseif args[1] == "team" then
- Notify('Your team has been enabled')
- elseif args[1] == "nonteam" then
- Notify('The opossing team has been enabled')
- elseif args[1] == "guests" then
- Notify('Guests have been enabled')
- elseif args[1] == "nonadmins" then
- Notify('Nonadmins have been enabled')
- elseif args[1] == "admins" then
- Notify('Admins have been enabled')
- else
- Notify(gPlayers[v].Name .. ' has been enabled')
- end
- end
- end
- end)
- addcmd('size','changes size of player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- local function scale(chr,scl)
- for _,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") then
- v:Clone()
- v.Parent = game.Lighting
- end
- end
- local Head = chr['Head']
- local Torso = chr['Torso']
- local LA = chr['Left Arm']
- local RA = chr['Right Arm']
- local LL = chr['Left Leg']
- local RL = chr['Right Leg']
- local HRP = chr['HumanoidRootPart']
- wait(0.1)
- Head.formFactor = 3
- Torso.formFactor = 3
- LA.formFactor = 3
- RA.formFactor = 3
- LL.formFactor = 3
- RL.formFactor = 3
- HRP.formFactor = 3
- Head.Size = Vector3.new(scl * 2, scl, scl)
- Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
- LA.Size = Vector3.new(scl, scl * 2, scl)
- RA.Size = Vector3.new(scl, scl * 2, scl)
- LL.Size = Vector3.new(scl, scl * 2, scl)
- RL.Size = Vector3.new(scl, scl * 2, scl)
- HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
- local Motor1 = Instance.new('Motor6D', Torso)
- Motor1.Part0 = Torso
- Motor1.Part1 = Head
- Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.Name = "Neck"
- local Motor2 = Instance.new('Motor6D', Torso)
- Motor2.Part0 = Torso
- Motor2.Part1 = LA
- Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.Name = "Left Shoulder"
- local Motor3 = Instance.new('Motor6D', Torso)
- Motor3.Part0 = Torso
- Motor3.Part1 = RA
- Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.Name = "Right Shoulder"
- local Motor4 = Instance.new('Motor6D', Torso)
- Motor4.Part0 = Torso
- Motor4.Part1 = LL
- Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.Name = "Left Hip"
- local Motor5 = Instance.new('Motor6D', Torso)
- Motor5.Part0 = Torso
- Motor5.Part1 = RL
- Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.Name = "Right Hip"
- local Motor6 = Instance.new('Motor6D', HRP)
- Motor6.Part0 = HRP
- Motor6.Part1 = Torso
- Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- end
- scale(pchar, args[2])
- for _,v in pairs(game.Lighting:GetChildren()) do
- if v:IsA("Accessory") then
- v.Parent = pchar
- end
- end
- end
- end)
- addcmd('clone','clones player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Archivable = true
- local clone = pchar:Clone()
- clone.Parent = game.Workspace
- clone:MoveTo(pchar:GetModelCFrame().p)
- clone:MakeJoints()
- pchar.Archivable = false
- end
- end)
- addcmd('spin','spins player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v.Name == "Spinning" then
- v:Destroy()
- end
- end
- local Torso = pchar.Torso
- local BG = Instance.new("BodyGyro", Torso)
- BG.Name = "Spinning"
- BG.maxTorque = Vector3.new(0, math.huge, 0)
- BG.P = 11111
- BG.cframe = Torso.CFrame
- repeat wait(1/44)
- BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
- until not BG or BG.Parent ~= Torso
- end
- end)
- addcmd('unspin','stops spinning player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v.Name == "Spinning" then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('dog','makes player a dog',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Shirt") then
- pchar.Shirt:Destroy()
- end
- if pchar:FindFirstChild("Pants") then
- pchar.Pants:Destroy()
- end
- if pchar:FindFirstChild("Shirt Graphic") then
- pchar["Shirt Graphic"].Graphic = ""
- end
- pchar.Torso.Transparency = 1
- pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
- local FakeTorso = Instance.new("Seat", pchar)
- FakeTorso.Name = "FakeTorso"
- FakeTorso.FormFactor = "Symmetric"
- FakeTorso.TopSurface = 0
- FakeTorso.BottomSurface = 0
- FakeTorso.Size = Vector3.new(3,1,4)
- FakeTorso.BrickColor = BrickColor.new("Brown")
- FakeTorso.CFrame = pchar.Torso.CFrame
- local BF = Instance.new("BodyForce", FakeTorso)
- BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
- local W = Instance.new("Weld", pchar.Torso)
- W.Part0 = pchar.Torso
- W.Part1 = FakeTorso
- W.C0 = CFrame.new(0,-.5,0)
- local BC = pchar["Body Colors"]
- BC.HeadColor = BrickColor.new("Brown")
- BC.LeftArmColor = BrickColor.new("Brown")
- BC.LeftLegColor = BrickColor.new("Brown")
- BC.RightArmColor = BrickColor.new("Brown")
- BC.RightLegColor = BrickColor.new("Brown")
- BC.TorsoColor = BrickColor.new("Brown")
- end
- end)
- addcmd('undog','makes player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- execCmd("normal " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('loopheal','loop heals player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("LoopHeal") then
- pchar.LoopHeal.Name = "NotLoopHeal"
- wait(0.1)
- pchar.NotLoopHeal:Destroy()
- end
- local LoopHeal = Instance.new("StringValue", pchar)
- LoopHeal.Name = "LoopHeal"
- repeat wait(0.1)
- pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
- until LoopHeal.Name == "NotLoopHeal"
- end)
- end
- end)
- addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("LoopHeal") then
- pchar.LoopHeal.Name = "NotLoopHeal"
- wait(0.1)
- pchar.NotLoopHeal:Destroy()
- end
- end
- end)
- addcmd('fling','flings player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Humanoid") then
- local xran
- local zran
- repeat
- xran = math.random(-9999,9999)
- until math.abs(xran) >= 5555
- repeat
- zran = math.random(-9999,9999)
- until math.abs(zran) >= 5555
- pchar.Humanoid.Sit = true
- pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
- local BF = Instance.new("BodyForce", pchar.HumanoidRootPart)
- BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
- end
- end
- end)
- addcmd('seizure','makes player have a seizure',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Seizure") then
- end
- local Seizure = Instance.new("StringValue", pchar)
- Seizure.Name = "Seizure"
- pchar.Humanoid.PlatformStand = true
- repeat wait()
- pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
- pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- until Seizure.Name == "NotSeizure"
- end
- end)
- addcmd('fegod','gods you in fe games',{''},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- game.Players.LocalPlayer.Character.Humanoid.Name = 1
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- end
- end)
- addcmd('unseizure','makes player stop having a seizure',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Seizure") then
- pchar.Humanoid.PlatformStand = false
- pchar.Seizure.Name = "NotSeizure"
- wait(0.1)
- pchar.NotSeizure:Destroy()
- end
- end
- end)
- addcmd('m','makes a global message',{'message'},
- function(args, speaker)
- local MSG = GLS(false, 0)
- local newMSG = GLS(false, 0)
- _G.msg(MSG)
- end)
- addcmd('fe','checks filtering status',{'filtering'},
- function(args, speaker)
- if game.Workspace.FilteringEnabled == true then
- Notify('Filtering ENABLED')
- elseif game.Workspace.FilteringEnabled == false then
- Notify('Filtering Disabled')
- end
- end)
- addcmd('paper','makes player thin as paper',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for _, child in pairs( pchar:GetChildren()) do
- if child.ClassName == "CharacterMesh" then
- child:Destroy()
- end
- end
- local LA = DATA.Paper:Clone()
- LA.Parent = pchar["Left Arm"]
- local RA = DATA.Paper:Clone()
- RA.Parent = pchar["Right Arm"]
- local LL = DATA.Paper:Clone()
- LL.Parent = pchar["Left Leg"]
- local RL = DATA.Paper:Clone()
- RL.Parent = pchar["Right Leg"]
- local T = DATA.Paper:Clone()
- T.Parent = pchar.Torso
- local H = DATA.Paper:Clone()
- H.Parent = pchar.Head
- pchar.Head.face:Destroy()
- end
- end)
- addcmd('particles','gives a player particles',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local char = gPlayers[v].Character
- for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:destroy()
- end
- end
- local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart)
- prt.Texture = 'rbxassetid://' .. args[2]
- prt.Rate = 10
- prt.SpreadAngle = Vector2.new(50, 50)
- end
- end)
- addcmd('unparticles','gives a player particles',{'noparticles'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local char = gPlayers[v].Character
- for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:destroy()
- end
- end
- end
- end)
- addcmd('punish','punishs player',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Parent = game.Lighting
- end
- end)
- addcmd('unpunish','unpunishs player',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then
- game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace
- end
- end
- end)
- addcmd('bait',';)',{'troll'},
- function(args, speaker)
- spawn(function()
- local M = Instance.new('Model', workspace) M.Name = 'IYbait'
- local P = Instance.new('Part', M) P.Name = 'Main' P.Position = speaker.Character.Head.Position P.BrickColor = BrickColor.new('Really black') P.Material = 'Neon' P.Size = Vector3.new(4, 1, 4)
- y = Instance.new("BillboardGui")
- y.Size = UDim2.new(0,100,0,150)
- y.StudsOffset = Vector3.new(0,1,0)
- y.Parent = P
- y.Adornee = P
- f = Instance.new("TextLabel")
- f.Parent = y
- f.BackgroundTransparency = 1
- f.Position = UDim2.new(0,0,0,-50)
- f.Size = UDim2.new(0,100,0,100)
- f.Font = "Highway"
- f.FontSize = "Size48"
- f.Text = "Touch for admin!"
- f.TextStrokeColor3 = Color3.new(0,0,0)
- f.TextColor3 = Color3.new(255/255,255/255,255/255)
- f.TextStrokeTransparency = 0
- f.TextYAlignment = "Bottom"
- 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)
- end)
- end)
- addcmd('removebait','clears bait parts',{'nobait'},
- function(args, speaker)
- local function dels(instance)
- for i,v in pairs(instance:GetChildren())do
- if v.name == "IYbait"then v:Destroy()end
- dels(v)
- end
- end
- dels(workspace)
- end)
- addcmd('disco','disco party',{''},
- function(args, speaker)
- Disco = true
- if Disco == true then
- repeat wait(0.3)
- game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
- until Disco == false
- end
- end)
- function CreateInstance(cls,props)
- local inst = Instance.new(cls)
- for i,v in pairs(props) do
- inst[i] = v
- end
- return inst end
- local function createSoundFrame()
- 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)
- 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
- 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)
- 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})
- 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})
- 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)
- 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)
- 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})
- 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
- 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
- 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)
- 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})
- 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})
- 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)
- 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})
- 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})
- 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
- 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)
- return soundFrame end
- local soundFrame = createSoundFrame()
- soundFrame.Visible = true
- local MusicPlayer do
- MusicPlayer = {}
- local playlist = {}
- local currentSong = 1
- local playlistHook = nil
- --local soundFrame = script.Parent:WaitForChild("Sound")
- local soundLine = soundFrame:WaitForChild("Pos")
- local soundTouch = soundLine:WaitForChild("Touch")
- local soundPlayStop = soundFrame:WaitForChild("PlayStop")
- local soundPause = soundFrame:WaitForChild("Pause")
- local soundNext = soundFrame:WaitForChild("NextSong")
- local soundPrev = soundFrame:WaitForChild("PrevSong")
- local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev}
- local mouseDrag = false
- local mouse = game.Players.LocalPlayer:GetMouse()
- local lineBar = soundFrame:WaitForChild("Pos")
- adminSound = Instance.new("Sound",workspace)
- adminSound.Name = "IYsound"
- adminSound.Looped = true
- local function timeConvert(num)
- local mins = math.floor(num/60)
- local secs = math.floor(num % 60)
- return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs)
- end
- local function updateSongLine()
- local linePos = mouse.X - soundLine.AbsolutePosition.X
- if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then
- local movePos = linePos/soundLine.AbsoluteSize.X
- soundTouch.Position = UDim2.new(movePos,0,0,0)
- elseif linePos < 0 then
- soundTouch.Position = UDim2.new(0,0,0,0)
- else
- soundTouch.Position = UDim2.new(1,0,0,0)
- end
- local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength
- adminSound.TimePosition = newTimePos
- soundFrame.TimeStart.Text = timeConvert(newTimePos)
- soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
- end
- local function updateDetails(id)
- local info = game:GetService("MarketplaceService"):GetProductInfo(id)
- soundFrame.SName.Text = info.Name
- end
- local function setPlaylistHook()
- if playlistHook then playlistHook:Disconnect() playlistHook = nil end
- if #playlist == 0 then return end
- playlistHook = adminSound.DidLoop:connect(function()
- if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
- soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
- MusicPlayer:Play(playlist[currentSong],true)
- end)
- end
- local function disconnectPlaylistHook()
- if playlistHook then playlistHook:disconnect() playlistHook = nil end
- end
- game:GetService("RunService").RenderStepped:Connect(function()
- if adminSound.Playing then
- soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0)
- soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition)
- soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
- end
- end)
- lineBar.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- mouseDrag = true
- updateSongLine()
- end
- end)
- lineBar.InputEnded:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- mouseDrag = false
- end
- end)
- mouse.Move:connect(function(prop)
- if mouseDrag then
- updateSongLine()
- end
- end)
- function MusicPlayer:Play(id,plist)
- if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end
- adminSound:Stop()
- if adminSound.Parent == nil then
- adminSound = Instance.new("Sound",workspace)
- adminSound.Name = "IYsound"
- adminSound.Looped = true
- if plist then setPlaylistHook() end
- end
- adminSound.SoundId = "rbxassetid://"..tostring(id)
- adminSound.TimePosition = 0
- --repeat wait() until adminSound.IsLoaded
- adminSound:Play()
- soundPlayStop.BackgroundTransparency = 0
- soundPlayStop.ImageTransparency = 1
- updateDetails(id)
- end
- function MusicPlayer:Playlist(list)
- playlist = list
- soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true
- currentSong = 1
- if adminSound.Parent == nil then
- adminSound = Instance.new("Sound",workspace)
- adminSound.Name = "IYsound"
- adminSound.Looped = true
- end
- soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist)
- MusicPlayer:Play(playlist[1],true)
- setPlaylistHook()
- end
- function MusicPlayer:Stop()
- adminSound:Stop()
- adminSound.TimePosition = 0
- soundTouch.Position = UDim2.new(0,0,0,0)
- soundFrame.TimeStart.Text = "0:00"
- soundPlayStop.BackgroundTransparency = 1
- soundPlayStop.ImageTransparency = 0
- end
- function MusicPlayer:Pause()
- adminSound:Pause()
- soundPlayStop.BackgroundTransparency = 1
- soundPlayStop.ImageTransparency = 0
- end
- function MusicPlayer:Resume()
- adminSound:Resume()
- soundPlayStop.BackgroundTransparency = 0
- soundPlayStop.ImageTransparency = 1
- setPlaylistHook()
- end
- function MusicPlayer:NextSong()
- if #playlist == 0 then return end
- if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
- soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
- MusicPlayer:Play(playlist[currentSong],true)
- end
- function MusicPlayer:PrevSong()
- if #playlist == 0 then return end
- if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end
- soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
- MusicPlayer:Play(playlist[currentSong],true)
- end
- function MusicPlayer:SetSong(ind)
- if ind > #playlist or ind <= 0 then return end
- soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist)
- MusicPlayer:Play(playlist[ind],true)
- end
- playerenabled = false
- function MusicPlayer:Show()
- soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
- end
- function MusicPlayer:Hide()
- soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
- end
- function colorFrames(obj,col)
- for i,v in pairs(obj:GetChildren()) do
- if v:IsA("ImageLabel") then
- v.ImageColor3 = col
- end
- v.BackgroundColor3 = col
- end
- end
- for i,v in pairs(soundButtons) do
- v.MouseEnter:connect(function()
- if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end
- if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end
- v.BackgroundColor3 = Color3.new(1,1,1)
- colorFrames(v,Color3.new(1,1,1))
- end)
- v.MouseLeave:connect(function()
- if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end
- if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end
- v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255)
- colorFrames(v,Color3.new(230/255, 230/255, 230/255))
- end)
- end
- soundPlayStop.MouseButton1Click:connect(function()
- if adminSound.Playing then
- MusicPlayer:Stop()
- else
- MusicPlayer:Resume()
- end
- end)
- soundPause.MouseButton1Click:connect(function()
- MusicPlayer:Pause()
- end)
- soundNext.MouseButton1Click:connect(MusicPlayer.NextSong)
- soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong)
- end
- local testgui = Instance.new("ScreenGui",game.CoreGui)
- soundFrame.Parent = testgui
- addcmd('playlist','makes a noice playlist',{'ids'},
- function(args, speaker)
- if #args > 0 then
- 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) wait(0.1)
- if adminSound.Parent == nil then
- adminSound = Instance.new("Sound",workspace)
- adminSound.Name = "IYsound"
- adminSound.Looped = true
- end
- local idlist = splitString(args[1])
- local workingIds = {}
- for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end
- if #workingIds > 0 then
- playerenabled = true
- NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil)
- MusicPlayer:Playlist(workingIds)
- MusicPlayer:Show() if qopen == true then quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2) qopen = false end end
- else MusicPlayer:Show() NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil) if qopen == true then quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2) playerenabled = true
- quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2) qopen = false end end end)
- local function isNumber(str)
- return tonumber(str) ~= nil
- end
- addcmd('sound', 'plays a sound',{'music','play'},
- function(args, speaker)
- if isNumber(args[1]) then
- 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)
- local c = args[1] or 'stop'
- if std.inTable({'stop'}, c:lower()) then return end
- local s = Instance.new("Sound", workspace)
- s.Name = "IYsound"
- s.Looped = true
- s.SoundId = "rbxassetid://" .. c
- s.Volume = 1
- s:Play()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(c)
- playerenabled = false
- Notify('Playing: ' .. Asset.Name)
- else
- local name = GLS(false, 0)
- playerenabled = false
- Notify('Stopped Audio')
- 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)
- if args[1] ~= "stop" and args[1] ~= "off" then
- local song = game:HttpGet("https://search.roblox.com/catalog/json?CatalogContext=2&SortAggregation=5&LegendExpanded=true&Category=9&Keyword=" .. name, true)
- if song ~= "[]" then
- local Sound = Instance.new("Sound", workspace)
- Sound.Name = "IYsound"
- song = song:sub(13)
- song = song:sub(1, song:find(",") - 1)
- Sound.SoundId = "rbxassetid://" .. song
- Sound.Looped = true
- Sound:Play()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(song)
- Notify('Playing: ' .. Asset.Name) end
- end end end)
- addcmd('undisco','rip disco party',{''},
- function(args, speaker)
- Disco = false
- wait(0.1)
- game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
- end)
- addcmd('setsong','goto a song',{'tosong'},
- function(args, speaker)
- MusicPlayer:SetSong(tonumber(args[1]))
- end)
- addcmd('nextsong','forward a song',{'nxtsong'},
- function(args, speaker)
- MusicPlayer:NextSong()
- end)
- addcmd('prevsong','back a song',{'previoussong'},
- function(args, speaker)
- MusicPlayer:PrevSong()
- end)
- addcmd('fix', 'restores lighting and what not',{},
- function(args, speaker)
- workspace.Gravity = 200
- playerenabled = false
- game.Lighting.Ambient = origsettings.abt
- game.Lighting.OutdoorAmbient = origsettings.oabt
- game.Lighting.Brightness = origsettings.brt
- game.Lighting.TimeOfDay = origsettings.time
- game.Lighting.FogColor = origsettings.fclr
- game.Lighting.FogEnd = origsettings.fe
- game.Lighting.FogStart = origsettings.fs
- 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)
- for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA('Sky') then v:Remove() end end
- for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA('BloomEffect') then v:Remove() end end
- for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA('BlurEffect') then v:Remove() end end
- for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA('ColorCorrectionEffect') then v:Remove() end end
- for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA('SunRaysEffect') then v:Remove() end end
- for i,v in pairs(workspace.Terrain:GetChildren()) do v:Remove() end Notify('Reset') end)
- Floating = false
- addcmd('float', 'makes player float',{},
- function(args,speaker)
- Floating = true
- local players = getPlayer(args[1], speaker)
- for _,v in pairs(players) do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
- spawn(function()
- local float = DATA.Float:Clone()
- float.Parent = pchar
- float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
- spawn(function()
- while wait(0.1) do
- if pchar:FindFirstChild("Float") then
- float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
- else
- break
- end
- end
- end)
- end)
- end
- end
- end)
- addcmd('unfloat','disables floating',{},
- function(args, speaker)
- Floating = false
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Float") then
- pchar.Float:Destroy()
- end
- end
- end)
- Clip = true
- addcmd('noclip','noclip',{},
- function(args, speaker)
- Notify('Noclip enabled')
- Clip = false
- wait(0.1)
- Name = speaker.Name
- game:GetService('RunService').Stepped:connect(function ()
- game.Workspace[Name].Torso.CanCollide = Clip
- game.Workspace[Name].Head.CanCollide = Clip
- end)
- game.Workspace[Name].Torso.Changed:connect(function()
- game.Workspace[Name].Torso.CanCollide = Clip
- game.Workspace[Name].Head.CanCollide = Clip
- end)
- end)
- addcmd('clip','clip',{},
- function(args, speaker)
- Notify('Noclip disabled')
- Clip = true
- end)
- addcmd('prefix','changes prefix',{},
- function(args, speaker)
- cmdprefix = args[1]
- Notify('Set prefix to "' .. args[1] .. '"')
- end)
- addcmd('respawn','respawns',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_iy'
- local H = Instance.new('Humanoid', M)
- local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
- gPlayers[v].Character = M
- end
- end)
- addcmd('version','shows version',{''},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- Notify("Version is " .. Version)
- end
- end)
- local CTPenabled = false
- Mouse.KeyDown:connect(function (Key)
- if Key:byte() == 29 then
- if FLYING == false then
- execCmd("fly me", Player)
- elseif FLYING == true then
- execCmd("unfly me", Player)
- end
- end
- if Key:byte() == 30 then
- if Clip == true then
- execCmd("noclip", Player)
- elseif Clip == false then
- execCmd("clip", Player)
- end
- end
- Key = Key:lower()
- if Key:byte() == 27 then
- CTPenabled = true
- end
- end)
- Mouse.KeyUp:connect(function(Key)
- Key = Key:lower()
- if Key:byte() == 27 then
- CTPenabled = false
- end
- end)
- Mouse.Button1Down:connect(function()
- local charx = game.Players.LocalPlayer.Character
- if charx and CTPenabled == true then
- charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0)
- end
- end)
- -------------------
- ----Command bar----
- -------------------
- cmdbarbind = ";"
- CMDbar = Instance.new('ScreenGui', game.CoreGui)
- CMDbar.Name = 'GUI'
- cont = Instance.new("Frame")
- cmdBAR = Instance.new('TextBox', cont)
- cont.Name = "cont"
- cont.BackgroundTransparency = 1
- cont.Position = UDim2.new(1, -265, 0, -75)
- cont.Size = UDim2.new(0, 270, 0, 45)
- cont.Parent = CMDbar
- cont.Active = true cont.Draggable = true
- cmdBAR.Name = "CMDbar"
- cmdBAR.Parent = cont
- cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- cmdBAR.BackgroundTransparency = 0.7
- cmdBAR.BorderColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- cmdBAR.BorderSizePixel = 0
- cmdBAR.Position = UDim2.new(0, 10, 1, -35)
- cmdBAR.Size = UDim2.new(0, 250, 0, 25)
- cmdBAR.Font = Enum.Font.SourceSans
- cmdBAR.FontSize = Enum.FontSize.Size18
- cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
- cmdBAR.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- -------------------
- ----Data Folder----
- -------------------
- DATA = Instance.new('Folder', game.ContextActionService)
- DATA.Name = 'Data'
- Paper = Instance.new('BlockMesh', DATA)
- Paper.Name = 'Paper'
- Paper.Scale = Vector3.new(1,1,0.1)
- ayylmao = Instance.new('Hat', DATA)
- ayylmao.Name = 'ayylmao'
- ayyHandle = Instance.new('Part', ayylmao)
- ayyHandle.Name = 'Handle'
- ayyHandle.Size = Vector3.new(2,2.4,2)
- ayyHandle.FormFactor = 'Plate'
- ayyMesh = Instance.new('SpecialMesh', ayyHandle)
- ayyMesh.Scale = Vector3.new(1,1.02,1)
- ayyMesh.MeshType = 'FileMesh'
- ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
- ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
- Float = Instance.new('Part', DATA)
- Float.Name = 'Float'
- Float.Transparency = 1
- Float.Size = Vector3.new(6,1,6)
- Float.Anchored = true
- function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end
- missile = Instance.new('Part', DATA)
- missile.Name = 'IY_missile'
- missile.CanCollide = false
- missile.Size = Vector3.new(2, 5, 2)
- Instance.new('CylinderMesh', missile)
- local F = Instance.new('Part', missile)
- F.BrickColor = BrickColor.new('Black')
- F.CanCollide = false
- F.Size = Vector3.new(2, 0.2, 2)
- Instance.new('CylinderMesh', F)
- local fire = Instance.new('Fire', F)
- fire.Size = "15"
- fire.Heat = "25"
- local head = Instance.new('Part', missile)
- head.CanCollide = false
- head.Shape = 'Ball'
- head.Size = Vector3.new(2, 2, 2)
- head.TopSurface = 'Smooth'
- head.BottomSurface = 'Smooth'
- local BF = Instance.new('BodyForce', missile)
- BF.Name = 'force'
- BF.Force = Vector3.new(0, 0, 0)
- local W1 = Instance.new('Weld', missile)
- W1.Part0 = missile
- W1.Part1 = F
- W1.C1 = CFrame.new(0, 2.6, 0)
- local W2 = Instance.new('Weld', missile)
- W2.Part0 = missile
- W2.Part1 = head
- W2.C1 = CFrame.new(0, -2.6, 0)
- ------------------------------
- ---Commands/Settings Window---
- ------------------------------
- cp = Instance.new('ScreenGui', DATA)
- local Frame = Instance.new("Frame")
- local holder = Instance.new("Frame")
- local bar = Instance.new("Frame")
- local cmdss = Instance.new("TextButton")
- local settings = Instance.new("TextButton")
- local Hide = Instance.new("TextButton")
- local Exit = Instance.new("TextButton")
- local FeedbackMain = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local checkboxText = Instance.new("TextLabel")
- local CheckBox = Instance.new("ImageButton")
- local bindInput = Instance.new("TextButton")
- Input = Instance.new("TextBox")
- local preText = Instance.new("TextLabel")
- local setpre = Instance.new("TextButton")
- local everyone = Instance.new("TextButton")
- local JLtext = Instance.new("TextLabel")
- local CheckBoxJL = Instance.new("ImageButton")
- local friends = Instance.new("TextButton")
- local InputBox = Instance.new("TextButton")
- Input_2 = Instance.new("TextBox")
- local MTText = Instance.new("TextLabel")
- local setMT = Instance.new("TextButton")
- local CheckBoxS = Instance.new("ImageButton")
- local slocktext = Instance.new("TextLabel")
- local barBind = Instance.new("TextLabel")
- local setBind = Instance.new("TextButton")
- local MtimeInput = Instance.new("TextButton")
- Input_3 = Instance.new("TextBox")
- local size = Instance.new("Frame")
- local MAIN = Instance.new("Frame")
- local Title_2 = Instance.new("TextLabel")
- local Examplee = Instance.new("TextLabel")
- local Search = Instance.new("TextBox")
- local CMDss = Instance.new("ScrollingFrame")
- cp.Name = "cp"
- Frame.Parent = cp
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.Draggable = true
- Frame.Position = UDim2.new(1, -300, 1, -330)
- Frame.Size = UDim2.new(0, 300, 0, 40)
- holder.Name = "holder"
- holder.Parent = Frame
- holder.BackgroundColor3 = Color3.new(1, 1, 1)
- holder.BackgroundTransparency = 1
- holder.BorderSizePixel = 2
- holder.ClipsDescendants = true
- holder.Size = UDim2.new(0, 300, 0, 330)
- holder.ZIndex = 2
- bar.Name = "bar"
- bar.Parent = holder
- bar.BackgroundColor3 = Color3.new(1, 1, 1)
- bar.Position = UDim2.new(1, -300, 1, -330)
- bar.Size = UDim2.new(0, 300, 0, 40)
- bar.Style = Enum.FrameStyle.DropShadow
- cmdss.Name = "cmds"
- cmdss.Parent = bar
- cmdss.BackgroundColor3 = Color3.new(0, 0, 0)
- cmdss.BackgroundTransparency = 0.80000001192093
- cmdss.BorderColor3 = Color3.new(1, 1, 1)
- cmdss.Position = UDim2.new(0, 0, 0, 1)
- cmdss.Size = UDim2.new(0, 70, 0, 20)
- cmdss.Font = Enum.Font.SourceSans
- cmdss.FontSize = Enum.FontSize.Size14
- cmdss.Text = "Commands"
- cmdss.TextColor3 = Color3.new(1, 1, 1)
- settings.Name = "settings"
- settings.Parent = bar
- settings.BackgroundColor3 = Color3.new(0, 0, 0)
- settings.BackgroundTransparency = 0.80000001192093
- settings.BorderColor3 = Color3.new(1, 1, 1)
- settings.Position = UDim2.new(0, 75, 0, 1)
- settings.Size = UDim2.new(0, 70, 0, 20)
- settings.Font = Enum.Font.SourceSans
- settings.FontSize = Enum.FontSize.Size14
- settings.Text = "Settings"
- settings.TextColor3 = Color3.new(1, 1, 1)
- Hide.Name = "Hide"
- Hide.Parent = bar
- Hide.BackgroundColor3 = Color3.new(1, 1, 1)
- Hide.BackgroundTransparency = 0.30000001192093
- Hide.BorderColor3 = Color3.new(1, 1, 1)
- Hide.Position = UDim2.new(0, 240, 0, 1)
- Hide.Size = UDim2.new(0, 20, 0, 20)
- Hide.FontSize = Enum.FontSize.Size14
- Hide.Text = ""
- Exit.Name = "Exit"
- Exit.Parent = bar
- Exit.BackgroundColor3 = Color3.new(1, 0, 0)
- Exit.BackgroundTransparency = 0.30000001192093
- Exit.BorderColor3 = Color3.new(1, 0, 0)
- Exit.Position = UDim2.new(0, 264, 0, 1)
- Exit.Size = UDim2.new(0, 20, 0, 20)
- Exit.FontSize = Enum.FontSize.Size14
- Exit.Text = ""
- FeedbackMain.Name = "FeedbackMain"
- FeedbackMain.Parent = holder
- FeedbackMain.BackgroundColor3 = Color3.new(1, 1, 1)
- FeedbackMain.Position = UDim2.new(1, -300, 1, -300)
- FeedbackMain.Size = UDim2.new(0, 300, 0, 290)
- FeedbackMain.Style = Enum.FrameStyle.DropShadow
- Title.Name = "Title"
- Title.Parent = FeedbackMain
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Size = UDim2.new(1, 0, 0, 30)
- Title.Font = Enum.Font.SourceSansBold
- Title.FontSize = Enum.FontSize.Size24
- Title.Text = "Settings"
- Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- checkboxText.Name = "checkboxText"
- checkboxText.Parent = FeedbackMain
- checkboxText.BackgroundColor3 = Color3.new(1, 1, 1)
- checkboxText.BackgroundTransparency = 1
- checkboxText.Position = UDim2.new(0, 0, 0, 40)
- checkboxText.Size = UDim2.new(1, 0, 0, 30)
- checkboxText.Font = Enum.Font.SourceSansBold
- checkboxText.FontSize = Enum.FontSize.Size18
- checkboxText.Text = "Suggestions"
- checkboxText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- CheckBox.Name = "CheckBox"
- CheckBox.Parent = FeedbackMain
- CheckBox.BackgroundTransparency = 1
- CheckBox.Position = UDim2.new(0, 10, 0, 40)
- CheckBox.Size = UDim2.new(0, 30, 0, 30)
- CheckBox.Image = "http://www.roblox.com/asset/?id=65492641"
- bindInput.Name = "bindInput"
- bindInput.Parent = FeedbackMain
- bindInput.BackgroundColor3 = Color3.new(1, 1, 1)
- bindInput.Position = UDim2.new(0, 8, 0, 241)
- bindInput.Size = UDim2.new(0, 30, 0, 30)
- bindInput.AutoButtonColor = false
- bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- bindInput.Font = Enum.Font.SourceSans
- bindInput.FontSize = Enum.FontSize.Size14
- bindInput.Text = ""
- Input.Name = "Input"
- Input.Parent = bindInput
- Input.BackgroundColor3 = Color3.new(1, 1, 1)
- Input.BackgroundTransparency = 1
- Input.Position = UDim2.new(0, -8, 0, -8)
- Input.Size = UDim2.new(0, 20, 0, 20)
- Input.Font = Enum.Font.SourceSansBold
- Input.FontSize = Enum.FontSize.Size18
- Input.MultiLine = true
- Input.Text = cmdbarbind
- Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input.TextWrapped = true
- Input.TextXAlignment = Enum.TextXAlignment.Center
- Input.TextYAlignment = Enum.TextYAlignment.Top
- preText.Name = "preText"
- preText.Parent = FeedbackMain
- preText.BackgroundColor3 = Color3.new(1, 1, 1)
- preText.BackgroundTransparency = 1
- preText.Position = UDim2.new(0, 0, 0, 118)
- preText.Size = UDim2.new(1, 0, 0, 30)
- preText.Font = Enum.Font.SourceSansBold
- preText.FontSize = Enum.FontSize.Size18
- preText.Text = "Prefix"
- preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- setpre.Name = "setpre"
- setpre.Parent = FeedbackMain
- setpre.BackgroundColor3 = Color3.new(1, 1, 1)
- setpre.BorderSizePixel = 5
- setpre.Position = UDim2.new(0, 235, 0, 120)
- setpre.Size = UDim2.new(0, 40, 0, 25)
- setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- setpre.Font = Enum.Font.ArialBold
- setpre.FontSize = Enum.FontSize.Size18
- setpre.Text = "Set"
- everyone.Name = "everyone"
- everyone.Parent = FeedbackMain
- everyone.BackgroundColor3 = Color3.new(0, 0, 0)
- everyone.BackgroundTransparency = 0.80000001192093
- everyone.BorderColor3 = Color3.new(0, 0, 0)
- everyone.Position = UDim2.new(0, 230, 0, 217)
- everyone.Size = UDim2.new(0, 50, 0, 20)
- everyone.Font = Enum.Font.SourceSans
- everyone.FontSize = Enum.FontSize.Size14
- everyone.Text = "Everyone"
- everyone.TextColor3 = Color3.new(1, 1, 1)
- JLtext.Name = "JLtext"
- JLtext.Parent = FeedbackMain
- JLtext.BackgroundColor3 = Color3.new(1, 1, 1)
- JLtext.BackgroundTransparency = 1
- JLtext.Position = UDim2.new(0, 0, 0, 197)
- JLtext.Size = UDim2.new(1, 0, 0, 30)
- JLtext.Font = Enum.Font.SourceSansBold
- JLtext.FontSize = Enum.FontSize.Size14
- JLtext.Text = "Joined / Left Notifications"
- JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- CheckBoxJL.Name = "CheckBoxJL"
- CheckBoxJL.Parent = FeedbackMain
- CheckBoxJL.BackgroundTransparency = 1
- CheckBoxJL.Position = UDim2.new(0, 10, 0, 197)
- CheckBoxJL.Size = UDim2.new(0, 30, 0, 30)
- CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641"
- friends.Name = "friends"
- friends.Parent = FeedbackMain
- friends.BackgroundColor3 = Color3.new(0, 0, 0)
- friends.BackgroundTransparency = 0.80000001192093
- friends.BorderColor3 = Color3.new(1, 1, 1)
- friends.Position = UDim2.new(0, 230, 0, 192)
- friends.Size = UDim2.new(0, 50, 0, 20)
- friends.Font = Enum.Font.SourceSans
- friends.FontSize = Enum.FontSize.Size14
- friends.Text = "Friends"
- friends.TextColor3 = Color3.new(1, 1, 1)
- InputBox.Name = "InputBox"
- InputBox.Parent = FeedbackMain
- InputBox.BackgroundColor3 = Color3.new(1, 1, 1)
- InputBox.Position = UDim2.new(0, 8, 0, 120)
- InputBox.Size = UDim2.new(0, 30, 0, 30)
- InputBox.AutoButtonColor = false
- InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- InputBox.Font = Enum.Font.SourceSans
- InputBox.FontSize = Enum.FontSize.Size14
- InputBox.Text = ""
- Input_2.Name = "Input"
- Input_2.Parent = InputBox
- Input_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Input_2.BackgroundTransparency = 1
- Input_2.Position = UDim2.new(0, -8, 0, -8)
- Input_2.Size = UDim2.new(0, 20, 0, 20)
- Input_2.Font = Enum.Font.SourceSansBold
- Input_2.FontSize = Enum.FontSize.Size18
- Input_2.MultiLine = true
- Input_2.Text = cmdprefix
- Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input_2.TextWrapped = true
- Input_2.TextXAlignment = Enum.TextXAlignment.Center
- Input_2.TextYAlignment = Enum.TextYAlignment.Top
- MTText.Name = "MTText"
- MTText.Parent = FeedbackMain
- MTText.BackgroundColor3 = Color3.new(1, 1, 1)
- MTText.BackgroundTransparency = 1
- MTText.Position = UDim2.new(0, 0, 0, 158)
- MTText.Size = UDim2.new(1, 0, 0, 30)
- MTText.Font = Enum.Font.SourceSansBold
- MTText.FontSize = Enum.FontSize.Size18
- MTText.Text = "Message Seconds"
- MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- setMT.Name = "setMT"
- setMT.Parent = FeedbackMain
- setMT.BackgroundColor3 = Color3.new(1, 1, 1)
- setMT.BorderSizePixel = 5
- setMT.Position = UDim2.new(0, 235, 0, 159)
- setMT.Size = UDim2.new(0, 40, 0, 25)
- setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- setMT.Font = Enum.Font.ArialBold
- setMT.FontSize = Enum.FontSize.Size18
- setMT.Text = "Set"
- CheckBoxS.Name = "CheckBoxS"
- CheckBoxS.Parent = FeedbackMain
- CheckBoxS.BackgroundTransparency = 1
- CheckBoxS.Position = UDim2.new(0, 10, 0, 78)
- CheckBoxS.Size = UDim2.new(0, 30, 0, 30)
- CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641"
- slocktext.Name = "slocktext"
- slocktext.Parent = FeedbackMain
- slocktext.BackgroundColor3 = Color3.new(1, 1, 1)
- slocktext.BackgroundTransparency = 1
- slocktext.Position = UDim2.new(0, 0, 0, 79)
- slocktext.Size = UDim2.new(1, 0, 0, 30)
- slocktext.Font = Enum.Font.SourceSansBold
- slocktext.FontSize = Enum.FontSize.Size14
- slocktext.Text = "Allow Friends On Serverlock"
- slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- barBind.Name = "barBind"
- barBind.Parent = FeedbackMain
- barBind.BackgroundColor3 = Color3.new(1, 1, 1)
- barBind.BackgroundTransparency = 1
- barBind.Position = UDim2.new(0, 0, 0, 242)
- barBind.Size = UDim2.new(1, 0, 0, 30)
- barBind.Font = Enum.Font.SourceSansBold
- barBind.FontSize = Enum.FontSize.Size18
- barBind.Text = "Command Bar Keybind"
- barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- setBind.Name = "setBind"
- setBind.Parent = FeedbackMain
- setBind.BackgroundColor3 = Color3.new(1, 1, 1)
- setBind.BorderSizePixel = 5
- setBind.Position = UDim2.new(0, 235, 0, 245)
- setBind.Size = UDim2.new(0, 40, 0, 25)
- setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- setBind.Font = Enum.Font.ArialBold
- setBind.FontSize = Enum.FontSize.Size18
- setBind.Text = "Set"
- MtimeInput.Name = "MtimeInput"
- MtimeInput.Parent = FeedbackMain
- MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1)
- MtimeInput.Position = UDim2.new(0, 8, 0, 159)
- MtimeInput.Size = UDim2.new(0, 30, 0, 30)
- MtimeInput.AutoButtonColor = false
- MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- MtimeInput.Font = Enum.Font.SourceSans
- MtimeInput.FontSize = Enum.FontSize.Size14
- MtimeInput.Text = ""
- Input_3.Name = "Input"
- Input_3.Parent = MtimeInput
- Input_3.BackgroundColor3 = Color3.new(1, 1, 1)
- Input_3.BackgroundTransparency = 1
- Input_3.Position = UDim2.new(0, -8, 0, -8)
- Input_3.Size = UDim2.new(0, 20, 0, 20)
- Input_3.Font = Enum.Font.SourceSansBold
- Input_3.FontSize = Enum.FontSize.Size18
- Input_3.MultiLine = true
- Input_3.Text = Mseconds
- Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input_3.TextWrapped = true
- Input_3.TextXAlignment = Enum.TextXAlignment.Center
- Input_3.TextYAlignment = Enum.TextYAlignment.Top
- size.Name = "size"
- size.Parent = holder
- size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- size.BackgroundTransparency = 1
- size.Position = UDim2.new(1, -600, 1, -300)
- size.Size = UDim2.new(0, 275, 0, 300)
- size.ZIndex = 2
- MAIN.Name = "MAIN"
- MAIN.Parent = size
- MAIN.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- MAIN.Position = UDim2.new(0, 1, 1, -300)
- MAIN.Size = UDim2.new(0, 300, 0, 300)
- MAIN.Style = Enum.FrameStyle.DropShadow
- Title_2.Name = "Title"
- Title_2.Parent = MAIN
- Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- Title_2.BackgroundTransparency = 1
- Title_2.Size = UDim2.new(1, 0, 0, 30)
- Title_2.Font = Enum.Font.SourceSansBold
- Title_2.FontSize = Enum.FontSize.Size24
- Title_2.Text = "Commands"
- Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- Examplee.Name = "Example"
- Examplee.Parent = MAIN
- Examplee.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Examplee.BackgroundTransparency = 1
- Examplee.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Examplee.BorderSizePixel = 0
- Examplee.Size = UDim2.new(0, 190, 0, 20)
- Examplee.Visible = false
- Examplee.Font = Enum.Font.SourceSansBold
- Examplee.FontSize = Enum.FontSize.Size24
- Examplee.Text = "txt"
- Examplee.TextStrokeTransparency = 0
- Examplee.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- Examplee.TextXAlignment = Enum.TextXAlignment.Left
- Search.Name = "Search"
- Search.Parent = MAIN
- Search.BackgroundColor3 = Color3.new(0, 0, 0)
- Search.BackgroundTransparency = 0.69999998807907
- Search.BorderColor3 = Color3.new(1, 1, 1)
- Search.Position = UDim2.new(0.5, -127, 0.200000003, -25)
- Search.Size = UDim2.new(0, 250, 0, 20)
- Search.ClearTextOnFocus = false
- Search.Font = Enum.Font.SourceSansBold
- Search.FontSize = Enum.FontSize.Size18
- Search.Text = "Search"
- Search.TextColor3 = Color3.new(1, 1, 1)
- Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824)
- Search.TextStrokeTransparency = 0
- CMDss.Name = "CMDs"
- CMDss.Parent = MAIN
- CMDss.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CMDss.BackgroundTransparency = 1
- CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CMDss.BorderSizePixel = 0
- CMDss.Position = UDim2.new(0, 0, 0, 55)
- CMDss.Size = UDim2.new(0, 285, 0, 230)
- CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png"
- CMDss.CanvasSize = UDim2.new(0, 0, 0, 4000)
- CMDss.MidImage = "rbxasset://textures/blackBkg_square.png"
- CMDss.ScrollBarThickness = 8
- CMDss.TopImage = "rbxasset://textures/blackBkg_square.png"
- --notify
- notifyMAIN = Instance.new('ScreenGui', DATA)
- notifyMAIN.Name = 'Notification'
- notifyNOT = Instance.new('Frame', notifyMAIN)
- notifyNOT.Name = 'NOTIFY'
- notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
- notifyNOT.BackgroundTransparency = 1
- notifyNOT.BorderColor = BrickColor.new(0,0,0)
- notifyNOT.BorderSizePixel = 2
- notifyNOT.Position = UDim2.new(0,0,-0.06,0)
- notifyNOT.Size = UDim2.new(1,0,0,-40)
- notifyNOTE = Instance.new('TextLabel', notifyNOT)
- notifyNOTE.Name = 'NOTE'
- notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
- notifyNOTE.BackgroundTransparency = 1
- notifyNOTE.BorderColor = BrickColor.new(255,255,255)
- notifyNOTE.BorderSizePixel = 0
- notifyNOTE.Size = UDim2.new(1,0,1,0)
- notifyNOTE.ZIndex = 10
- notifyNOTE.FontSize = 'Size18'
- notifyNOTE.Font = 'SourceSansBold'
- notifyNOTE.Text = 'NOTIFY'
- notifyNOTE.TextColor = BrickColor.new(255,255,255)
- notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0)
- notifyNOTE.TextStrokeTransparency = 0.8
- --jail
- jail = Instance.new('Model', DATA)
- jail.Name = 'JAIL'
- local B = Instance.new('Part', jail)
- B.Name = 'BUTTOM'
- B.BrickColor = BrickColor.new('Black')
- B.Transparency = 0.5
- B.Anchored = true
- B.Locked = true
- B.Size = Vector3.new(6, 1, 6)
- B.TopSurface = 'Smooth'
- B.BottomSurface = 'Smooth'
- local M = Instance.new('Part', jail)
- M.Name = 'MAIN'
- M.BrickColor = BrickColor.new('Black')
- M.Transparency = 1
- M.Anchored = true
- M.CanCollide = false
- M.Locked = true
- M.Position = B.Position + Vector3.new(0, 3, 0)
- M.Size = Vector3.new(1, 1, 1)
- local P1 = Instance.new('Part', jail)
- P1.BrickColor = BrickColor.new('Black')
- P1.Transparency = 0.5
- P1.Position = B.Position + Vector3.new(0, 3.5, -2.5)
- P1.Rotation = Vector3.new(0, 90, 0)
- P1.Anchored = true
- P1.Locked = true
- P1.Size = Vector3.new(1, 6, 6)
- local P2 = Instance.new('Part', jail)
- P2.BrickColor = BrickColor.new('Black')
- P2.Transparency = 0.5
- P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0)
- P2.Rotation = Vector3.new(-180, 0, -180)
- P2.Anchored = true
- P2.Locked = true
- P2.Size = Vector3.new(1, 6, 4)
- local P3 = Instance.new('Part', jail)
- P3.BrickColor = BrickColor.new('Black')
- P3.Transparency = 0.5
- P3.Position = B.Position + Vector3.new(2.5, 3.5, 0)
- P3.Rotation = Vector3.new(0, 0, 0)
- P3.Anchored = true
- P3.Locked = true
- P3.Size = Vector3.new(1, 6, 4)
- local P4 = Instance.new('Part', jail)
- P4.BrickColor = BrickColor.new('Black')
- P4.Transparency = 0.5
- P4.Position = B.Position + Vector3.new(0, 3.5, 2.5)
- P4.Rotation = Vector3.new(0, 90, 0)
- P4.Anchored = true
- P4.Locked = true
- P4.Size = Vector3.new(1, 6, 6)
- local TOP = Instance.new('Part', jail)
- TOP.BrickColor = BrickColor.new('Black')
- TOP.Transparency = 0.5
- TOP.Position = B.Position + Vector3.new(0, 7, 0)
- TOP.Rotation = Vector3.new(0, 0, 0)
- TOP.Anchored = true
- TOP.Locked = true
- TOP.Size = Vector3.new(6, 1, 6)
- TOP.TopSurface = 'Smooth'
- TOP.BottomSurface = 'Smooth'
- addcmd('ayylmao','ayy lmao',{'alien'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Shirt") then
- pchar.Shirt:Destroy()
- end
- if pchar:FindFirstChild("Pants") then
- pchar.Pants:Destroy()
- end
- if pchar:FindFirstChild("Shirt Graphic") then
- pchar["Shirt Graphic"].Graphic = ""
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- local ayylmao = DATA.ayylmao:Clone()
- ayylmao.Parent = pchar
- local BC = pchar["Body Colors"]
- BC.HeadColor = BrickColor.new("Fossil")
- BC.LeftArmColor = BrickColor.new("Fossil")
- BC.LeftLegColor = BrickColor.new("Fossil")
- BC.RightArmColor = BrickColor.new("Fossil")
- BC.RightLegColor = BrickColor.new("Fossil")
- BC.TorsoColor = BrickColor.new("Fossil")
- end
- end)
- ----------------------
- -----Commands GUI-----
- ----------------------
- CMDsFolder = Instance.new("Folder", game.CoreGui)
- for i,v in pairs(CMDs) do
- CMDsValue = Instance.new("StringValue", CMDsFolder)
- CMDsValue.Value = v
- CMDsValue.RobloxLocked = true
- end
- cmdOpen = false
- local function commands()
- if cmdOpen == false then
- cmdOpen = true
- local cmds = cp:Clone()
- cmds.Parent = game.CoreGui
- local CMDsV = CMDsFolder:GetChildren()
- cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quint",0.01,true) wait(0.01)
- cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,0,1,-300),"Out","Quint",0.2,true) wait(0.1)
- cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quint",0.2,true)
- SettingsGUI = game.CoreGui.cp.Frame.holder if MODE == 1 then
- SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
- SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif MODE == 2 then
- SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
- SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
- end
- --joined/left friend option
- game.Players.PlayerAdded:connect(playerAdded)
- SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() changeOptions(1)
- SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
- SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
- end)
- SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() changeOptions(2)
- SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
- SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
- end)
- game.Players.PlayerRemoving:connect(PlayerRemoving)
- SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() changeOptions(1)
- SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
- SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
- end)
- SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() changeOptions(2)
- SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
- SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
- end)
- --Message time
- SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function()
- wait()
- Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text
- Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)')
- end)
- --CMDBAR keybind
- SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function()
- wait()
- cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text
- cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
- Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' )
- end)
- --Change prefix
- SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function()
- wait()
- cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text
- Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"')
- end)
- --Check Box for notify
- checked = "http://www.roblox.com/asset/?id=65492641"
- unchecked = "http://www.roblox.com/asset/?id=65492651"
- if suggestionstoggle == true then
- SettingsGUI.FeedbackMain.CheckBox.Image = checked else
- SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end
- SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function()
- if suggestionstoggle == true then suggestionstoggle = false
- SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else
- suggestionstoggle = true
- SettingsGUI.FeedbackMain.CheckBox.Image = checked end end)
- --Check Box for allow friends on serverlock
- checked2 = "http://www.roblox.com/asset/?id=65492641"
- unchecked2 = "http://www.roblox.com/asset/?id=65492651"
- if allowfriends == true then
- SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else
- SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end
- SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function()
- if allowfriends == true then allowfriends = false
- SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else
- allowfriends = true
- SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end)
- --Check Box for JoinedLeft notifications
- checked3 = "http://www.roblox.com/asset/?id=65492641"
- unchecked3 = "http://www.roblox.com/asset/?id=65492651"
- if JLnotify == true then
- SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else
- SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end
- SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function()
- if JLnotify == true then JLnotify = false MODE = -1
- SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 else JLnotify = true
- SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 MODE = 1
- SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
- SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end) closed = false
- cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function() closed = false
- cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,0,1,-300),"Out","Quint",0.2,true) wait(0.1)
- cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quint",0.2,true) wait(0.2)
- cmds.Frame.holder.bar.Hide.Visible = true
- cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quint",0.2,true) end)
- cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function() closed = false
- cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quint",0.2,true) wait(0.1)
- cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-300),"Out","Quint",0.2,true) wait(0.2)
- cmds.Frame.holder.bar.Hide.Visible = true
- cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quint",0.2,true) end)
- cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function()
- if closed == false then closed = true
- cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quint",0.2,true)
- cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-640),"Out","Quint",0.2,true) wait(0.2)
- cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quint",0.2,true) wait(0.2)
- cmds.Frame.holder.bar.Hide.Visible = false end end)
- cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function() closed = false
- Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
- cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quint",0.2,true) wait(0.3)
- cmds:Destroy() cmdOpen = false end)
- cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quint",0.2,true)
- searchbar()
- for i = 1, #CMDsV do
- local YSize = 25
- local Position = ((i * YSize) - YSize)
- local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone()
- newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs
- newcmd.Visible = true
- newcmd.Position = UDim2.new(0,5,0, Position + 5)
- newcmd.Text = "" .. CMDsV[i].Value
- CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30)
- Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
- end
- else closed = false
- game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,0,1,-300),"Out","Quint",0.2,true) wait(0.1)
- game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quint",0.2,true) wait(0.2)
- game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
- game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quint",0.2,true) end end
- function searchbar()
- local CSP = game.CoreGui.cp.Frame.holder.size.MAIN
- local main = CSP
- local frame = CSP:WaitForChild('CMDs')
- local gui = CSP:WaitForChild('Search')
- local focused = false
- Match = function(name,str)
- return name:lower():find(str:lower()) and true
- end
- gui.FocusLost:connect(function(enterpressed)
- gui.Text = "Search"
- end)
- IndexContents = function(str,bool)
- local Index,SizeY = 0,0
- for i,v in next, frame:GetChildren() do
- if bool then
- if Match(v.Text,str) then
- Index = Index + 1
- v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
- v.Visible = true
- SizeY = SizeY + v.AbsoluteSize.Y
- frame.CanvasSize = UDim2.new(0,0,0,SizeY)
- else
- v.Visible = false
- end
- else
- v.Visible = true
- SizeY = SizeY + v.AbsoluteSize.Y
- frame.CanvasSize = UDim2.new(0,0,0,SizeY)
- end
- end
- end
- game:GetService('RunService').Stepped:connect(function()
- if gui:IsFocused() and gui.Text == "Search" then
- gui.Text = ''
- end
- end)
- gui.Changed:connect(function()
- if gui:IsFocused() then IndexContents(gui.Text,true) end
- end)
- IndexContents('',true)
- end
- addcmd('settings','opens settings window',{'toggles'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- lponly(speaker)
- else
- commands()
- searchbar()
- wait(0.1)
- closed = false
- game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quint",0.2,true)
- wait(0.1)
- game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-300),"Out","Quint",0.2,true)
- wait(0.1)
- game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
- game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quint",0.2,true)
- end
- end)
- addcmd('cmds','opens cmds window',{'commands'},
- function(args, speaker)
- if speaker.userId ~= LP.userId then
- if speaker.Character.Head:FindFirstChild("BillboardGui") then
- speaker.Character.Head:FindFirstChild("BillboardGui"):Remove()
- end
- y = Instance.new("BillboardGui")
- y.Size = UDim2.new(0,100,0,150)
- y.StudsOffset = Vector3.new(0,1,0)
- y.Parent = speaker.Character.Head
- y.Adornee = speaker.Character.Head
- f = Instance.new("TextLabel")
- f.Parent = y
- f.BackgroundTransparency = 1
- f.Position = UDim2.new(0,0,0,-50)
- f.Size = UDim2.new(0,100,0,100)
- f.Font = "ArialBold"
- f.TextSize = 20
- f.Text = "Commands: cmds.infiniteyield.x10host.com (say " .. cmdprefix .. "verify me to dismiss)"
- f.TextStrokeColor3 = Color3.new(0,0,0)
- f.TextColor3 = Color3.new(255/255,255/255,255/255)
- f.TextStrokeTransparency = 0
- f.TextYAlignment = "Bottom"
- else
- commands()
- wait(0.2)
- searchbar()
- end
- end)
- cmdBAR.FocusLost:connect(function(enterpressed)
- if enterpressed and cmdBAR.Text ~= "" then
- spawn(function ()
- execCmd(cmdBAR.Text, Player)
- end)
- end
- game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quint",0.2,true)
- cmdBAR.BorderSizePixel = 1
- wait(0.1)
- cmdBAR.BorderSizePixel = 0
- cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
- end)
- Mouse.KeyDown:connect(function(Key)
- if (Key==cmdbarbind) then
- cmdBAR:CaptureFocus()
- cmdBAR.BorderSizePixel = 1
- wait(0.1)
- cmdBAR.BorderSizePixel = 2
- end
- end)
- cmdBAR.Changed:connect(function (property)
- if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quint",0.3,true) end
- end)
- NOTIFY = DATA.Notification
- NOTIFY.Parent = game.CoreGui
- local usingNOTE = false
- function Notify(msg)
- spawn(function()
- if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
- NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil)
- wait(0.5)
- MusicPlayer:Hide()
- if qopen == true then
- quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2) qopen = false
- NOTIFY.NOTIFY.NOTE.Text = msg
- NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quad", 0.5, true, nil)
- if playerenabled == true then
- wait(4)
- if playerenabled == true then
- MusicPlayer:Show()
- NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil)
- end
- end
- else
- NOTIFY.NOTIFY.NOTE.Text = msg
- NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quad", 0.5, true, nil)
- if playerenabled == true then
- wait(4)
- if playerenabled == true then
- MusicPlayer:Show()
- NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil)
- end
- end
- end end end) end
- 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
- 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)
- Loading.ZIndex = 101 Loading.Font = Enum.Font.ArialBold Loading.FontSize = Enum.FontSize.Size24 Loading.Text = "Loading GUIs" Loading.TextColor3 = Color3.new(0, 0, 0) Loading.TextStrokeColor3 = Color3.new(1, 1, 1) Loading.TextStrokeTransparency = 0.5
- 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
- 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)
- ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0) wait(0.1)
- Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quad", 1, true, nil) wait(0.2)
- commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false
- o1 = Instance.new("ScreenGui") o2 = Instance.new("Frame") o3 = Instance.new("Frame") o4 = Instance.new("Frame") o5 = Instance.new("ScrollingFrame") o6 = Instance.new("TextLabel")
- o7 = Instance.new("ScrollingFrame") o8 = Instance.new("TextLabel") o9 = Instance.new("Frame") o10 = Instance.new("ScrollingFrame") o11 = Instance.new("ScrollingFrame")
- o1.Name = "IntroGui" o1.Parent = game.CoreGui o2.Name = "MainFrame" o2.Parent = o1 o2.Size = UDim2.new(1,0,1,0) o2.BackgroundColor3 = Color3.new(0, 0, 0) o2.BackgroundTransparency = 1
- o2.BorderSizePixel = 0 o3.Name = "Intro" o3.Parent = o2 o3.Size = UDim2.new(1,0,1,0) o3.BackgroundColor3 = Color3.new(0, 0, 0) o3.BackgroundTransparency = 1 o3.BorderSizePixel = 0 o3.ZIndex = 2
- o4.Name = "presents" o4.Parent = o3 o4.Position = UDim2.new(0,0,1,0) o4.Size = UDim2.new(1,0,1,0) o4.Position = UDim2.new(0,0,1,0) o4.BackgroundColor3 = Color3.new(0, 0, 0) o4.BackgroundTransparency = 0.69999998807907
- o4.BorderSizePixel = 0 o4.ZIndex = 3 o5.Name = "text1" o5.Parent = o4 o5.Position = UDim2.new(0,0,0.5,-50) o5.Size = UDim2.new(1,0,0,100) o5.Position = UDim2.new(0,0,0.5,-50) o5.CanvasSize = UDim2.new(0,0,0,0)
- o5.BackgroundColor3 = Color3.new(1, 1, 1) o5.BackgroundTransparency = 1 o5.BorderSizePixel = 0 o5.ZIndex = 3 o5.ScrollBarThickness = 0 o6.Name = "MainTL" o6.Parent = o5
- o6.Position = UDim2.new(0,0,0,100) o6.Size = UDim2.new(1,0,0,100) o6.Text = "Infinite Yield" o6.Position = UDim2.new(0,0,0,100) o6.BackgroundColor3 = Color3.new(1, 1, 1) o6.BackgroundTransparency = 1
- o6.BorderSizePixel = 0 o6.ZIndex = 5 o6.Font = Enum.Font.Highway o6.FontSize = Enum.FontSize.Size14 o6.TextColor3 = Color3.new(1, 1, 1) o6.TextScaled = true o6.TextWrapped = true o7.Name = "text2"
- o7.Parent = o4 o7.Position = UDim2.new(0,0,0.5,50) o7.Size = UDim2.new(1,0,0,30) o7.Position = UDim2.new(0,0,0.5,50) o7.CanvasSize = UDim2.new(0,0,0,0) o7.BackgroundColor3 = Color3.new(1, 1, 1) o7.BackgroundTransparency = 1
- o7.BorderSizePixel = 0 o7.ZIndex = 3 o7.ScrollBarThickness = 0 o8.Name = "MainTL" o8.Parent = o7 o8.Position = UDim2.new(0,0,0,-31) o8.Size = UDim2.new(1,0,0,30) o8.Text = "Admin Commands"
- o8.Position = UDim2.new(0,0,0,-31) o8.BackgroundColor3 = Color3.new(1, 1, 1) o8.BackgroundTransparency = 1 o8.BorderSizePixel = 0 o8.ZIndex = 5 o8.Font = Enum.Font.Highway
- o8.FontSize = Enum.FontSize.Size36 o8.TextColor3 = Color3.new(1, 1, 1) o8.TextWrapped = true o9.Name = "gametitle" o9.Parent = o3 o9.Position = UDim2.new(0,0,1,0) o9.Size = UDim2.new(1,0,1,0)
- o9.Position = UDim2.new(0,0,1,0) o9.BackgroundColor3 = Color3.new(0, 0, 0) o9.BackgroundTransparency = 0.69999998807907 o9.BorderSizePixel = 0 o9.ZIndex = 3 o10.Name = "text1"
- o10.Parent = o9 o10.Position = UDim2.new(0,0,0.5,-50) o10.Size = UDim2.new(1,0,0,100) o10.Position = UDim2.new(0,0,0.5,-50) o10.CanvasSize = UDim2.new(0,0,0,0) o10.BackgroundColor3 = Color3.new(1, 1, 1) o10.BackgroundTransparency = 1
- o10.BorderSizePixel = 0 o10.ZIndex = 3 o10.ScrollBarThickness = 0 o11.Name = "text2" o11.Parent = o9 o11.Position = UDim2.new(0,0,0.5,50) o11.Size = UDim2.new(1,0,0,40) o11.Position = UDim2.new(0,0,0.5,50)
- o11.CanvasSize = UDim2.new(0,0,0,0) o11.BackgroundColor3 = Color3.new(1, 1, 1) o11.BackgroundTransparency = 1 o11.BorderSizePixel = 0 o11.ZIndex = 3 o11.ScrollBarThickness = 0
- Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- local presents = game.CoreGui.IntroGui.MainFrame.Intro.presents
- local presents_text1_mtl = presents.text1.MainTL
- local presents_text2_mtl = presents.text2.MainTL
- local gtitle = game.CoreGui.IntroGui.MainFrame.Intro.gametitle
- presents:TweenPosition(UDim2.new(0,0,0,0),"Out","Quad",0) wait(0.5)
- presents_text1_mtl:TweenPosition(UDim2.new(0,0,0.5,-54),"Out","Quad",1) wait(0.5)
- presents_text2_mtl:TweenPosition(UDim2.new(0,0,0.5,-18),"Out","Quad",0.3) wait(1)
- if game.Workspace.FilteringEnabled == true then Notify('Filtering ENABLED')
- elseif game.Workspace.FilteringEnabled == false then Notify('Filtering Disabled') end
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(01203480675) wait(0.3)
- if Asset.Name == "Infinite Yield " .. Version then
- print('Infinite Yield is up to date! (Version ' .. Version .. ')') UTD = true else
- UTD = false local Update = Instance.new("ScreenGui") local Notification = Instance.new("Frame")
- local Help = Instance.new("Frame") local helpframe = Instance.new("Frame") local Help_2 = Instance.new("Frame") local Notice = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local OKButton = Instance.new("TextButton")
- local Notice_2 = Instance.new("Frame") local TextLabel_2 = Instance.new("TextLabel") local ButtonSeparator = Instance.new("Frame") local HelpButton = Instance.new("TextButton") local OKButton_2 = Instance.new("TextButton")
- local Bar = Instance.new("Frame") Update.Name = "Update" Update.Parent = game.CoreGui Notification.Name = "Notification" Notification.Parent = Update
- Notification.BackgroundColor3 = Color3.new(0, 0, 0) Notification.BackgroundTransparency = 0.5 Notification.BorderSizePixel = 0 Notification.Size = UDim2.new(1, 0, 0, 65) Help.Name = "Help"
- Help.Parent = Notification Help.BackgroundColor3 = Color3.new(0, 0, 0) Help.BackgroundTransparency = 1 Help.BorderSizePixel = 0 Help.Position = UDim2.new(0, 0, 0, 65) Help.Size = UDim2.new(1, 0, 1, -22)
- Help.Visible = false helpframe.Name = "helpframe" helpframe.Parent = Help helpframe.BackgroundColor3 = Color3.new(0, 0, 0) helpframe.BackgroundTransparency = 0.5 helpframe.BorderSizePixel = 0 helpframe.Size = UDim2.new(1, 0, 0, 65)
- Help_2.Name = "Help" Help_2.Parent = helpframe Help_2.BackgroundColor3 = Color3.new(0, 0, 0) Help_2.BackgroundTransparency = 1 Help_2.BorderSizePixel = 0 Help_2.Position = UDim2.new(0, 0, 0, 200) Help_2.Size = UDim2.new(1, 0, 1, -22)
- Notice.Name = "Notice" Notice.Parent = helpframe Notice.BackgroundColor3 = Color3.new(0, 0, 0) Notice.BackgroundTransparency = 1 Notice.BorderSizePixel = 0 Notice.Position = UDim2.new(0, 0, 0, 2) Notice.Size = UDim2.new(1, 0, 1, -22)
- TextLabel.Parent = Notice TextLabel.BackgroundColor3 = Color3.new(0, 0, 0) TextLabel.BackgroundTransparency = 1 TextLabel.BorderColor3 = Color3.new(0, 0, 0) TextLabel.BorderSizePixel = 0 TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Font = Enum.Font.SourceSansBold TextLabel.FontSize = Enum.FontSize.Size14 TextLabel.Text = "You can go to our site at infiniteyield.x10host.com to download the latest version. Otherwise join the discord: discord.gg/9MByKtG" TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextStrokeColor3 = Color3.new(0, 0, 0) TextLabel.TextStrokeTransparency = 0.80000001192093 TextLabel.TextWrapped = true Notice_2.Name = "Notice" Notice_2.Parent = Notification
- Notice_2.BackgroundColor3 = Color3.new(0, 0, 0) Notice_2.BackgroundTransparency = 1 Notice_2.BorderSizePixel = 0 Notice_2.Position = UDim2.new(0, 0, 0, 2) Notice_2.Size = UDim2.new(1, 0, 1, -22) TextLabel_2.Parent = Notice_2
- TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0) TextLabel_2.BackgroundTransparency = 1 TextLabel_2.BorderColor3 = Color3.new(0, 0, 0) TextLabel_2.BorderSizePixel = 0 TextLabel_2.Size = UDim2.new(1, 0, 1, 0)
- TextLabel_2.Font = Enum.Font.SourceSansBold TextLabel_2.FontSize = Enum.FontSize.Size14 TextLabel_2.Text = "The version of Infinite Yield you are using is outdated! (Using version " .. Version .. " when " .. Asset.Name .. " is avalable)" TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextStrokeColor3 = Color3.new(0, 0, 0) TextLabel_2.TextStrokeTransparency = 0.80000001192093 TextLabel_2.TextWrapped = true ButtonSeparator.Name = "ButtonSeparator" ButtonSeparator.Parent = Notification
- ButtonSeparator.BackgroundColor3 = Color3.new(0, 0, 0) ButtonSeparator.BackgroundTransparency = 0.5 ButtonSeparator.BorderColor3 = Color3.new(1, 1, 1) ButtonSeparator.BorderSizePixel = 0 ButtonSeparator.Position = UDim2.new(0.5, 0, 1, -22)
- ButtonSeparator.Size = UDim2.new(0, 2, 0, 22) HelpButton.Name = "HelpButton" HelpButton.Parent = Notification HelpButton.BackgroundColor3 = Color3.new(0, 0, 0) HelpButton.BackgroundTransparency = 0.80000001192093 HelpButton.BorderColor3 = Color3.new(0, 0, 0)
- HelpButton.BorderSizePixel = 0 HelpButton.Position = UDim2.new(0.5, 0, 1, -22) HelpButton.Size = UDim2.new(0.5, 0, 0, 22) HelpButton.Font = Enum.Font.Highway HelpButton.FontSize = Enum.FontSize.Size18 HelpButton.Text = "What should I do?"
- HelpButton.TextColor3 = Color3.new(1, 1, 1) OKButton_2.Name = "OKButton" OKButton_2.Parent = Notification OKButton_2.BackgroundColor3 = Color3.new(0, 0, 0) OKButton_2.BackgroundTransparency = 0.80000001192093 OKButton_2.BorderColor3 = Color3.new(0, 0, 0)
- OKButton_2.BorderSizePixel = 0 OKButton_2.Position = UDim2.new(0, 0, 1, -22) OKButton_2.Size = UDim2.new(0.5, 0, 0, 22) OKButton_2.Font = Enum.Font.Highway OKButton_2.FontSize = Enum.FontSize.Size18 OKButton_2.Text = "Ignore"
- OKButton_2.TextColor3 = Color3.new(1, 1, 1) Bar.Name = "Bar" Bar.Parent = Notification Bar.BackgroundColor3 = Color3.new(1, 0, 0) Bar.BorderSizePixel = 0 Bar.Size = UDim2.new(1, 0, 0, 2)
- Loading.ba:TweenSize(UDim2.new(0.55, 0, 1, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2) end if UTD == false then
- game.CoreGui.Update.Notification.HelpButton.MouseButton1Click:Connect(function() wait() game.CoreGui.Update.Notification.Help.Visible = true end) end
- if UTD ==false then game.CoreGui.Update.Notification.OKButton.MouseButton1Click:Connect(function() wait() game.CoreGui.Update:Destroy() end) end
- local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel")
- local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel")
- local info = Instance.new("ImageButton") local info_2 = Instance.new("TextLabel") local MAIN = Instance.new("TextLabel") iy.Name = "iy" iy.Parent = game.CoreGui.RobloxGui.TopBarContainer
- 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)
- 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)
- 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)
- 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
- settings.Name = "settings" settings.Parent = sheild settings.BackgroundTransparency = 1 settings.Position = UDim2.new(0, 135, 0, 0) settings.Size = UDim2.new(0, 60, 0, 36) settings.AutoButtonColor = false
- 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)
- settings_2.Size = UDim2.new(0, 60, 0, 40) settings_2.Font = Enum.Font.Arial settings_2.FontSize = Enum.FontSize.Size14 settings_2.Text = "Settings" settings_2.TextColor3 = Color3.new(1, 1, 1)
- settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 200, 0, 0)
- 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
- 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
- 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, 265, 0, 0)
- 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)
- 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)
- 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)
- 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
- Loading.ba:TweenSize(UDim2.new(0.7, 0, 1, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2) wait(0.3) quickmenu = game.CoreGui.RobloxGui.TopBarContainer.iy
- 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)
- 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
- local sugg = Instance.new("ScreenGui") local suggestions = Instance.new("Frame") local Title = Instance.new("TextLabel") local SUG = Instance.new("ScrollingFrame") sugg.Name = "sugg" sugg.Parent = game.CoreGui
- suggestions.Name = "suggestions" suggestions.ClipsDescendants = true suggestions.Parent = sugg suggestions.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) suggestions.Position = UDim2.new(0, 1, 1, -200) suggestions.Size = UDim2.new(0, 300, 0, 200)
- suggestions.Style = Enum.FrameStyle.DropShadow Title.Name = "Title" Title.Parent = suggestions Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) Title.BackgroundTransparency = 1 Title.Size = UDim2.new(1, 0, 0, 30)
- Title.Font = Enum.Font.SourceSansBold Title.FontSize = Enum.FontSize.Size24 Title.Text = "Suggestions" Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) SUG.Name = "SUG" SUG.Parent = suggestions
- SUG.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BackgroundTransparency = 1 SUG.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BorderSizePixel = 0 SUG.Position = UDim2.new(0, 0, 0, 45)
- SUG.Size = UDim2.new(0, 285, 0, 130) SUG.BottomImage = "rbxasset://textures/blackBkg_square.png" SUG.CanvasSize = UDim2.new(0, 0, 0, 4100) SUG.MidImage = "rbxasset://textures/blackBkg_square.png" SUG.ScrollBarThickness = 8 SUG.TopImage = "rbxasset://textures/blackBkg_square.png"
- local CMDsV = CMDsFolder:GetChildren() for i = 1, #CMDsV do local YSize = 25 local Position = ((i * YSize) - YSize) local newcmd = cp.Frame.holder.size.MAIN.Example:Clone() newcmd.Parent = SUG
- 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
- game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quint",0.2,true)
- local CSP2 = game.CoreGui.sugg.suggestions
- local main2 = CSP2
- local frame2 = CSP2:WaitForChild('SUG')
- Match2 = function(name,str) return name:lower():find(str:lower()) and true end
- IndexContents2 = function(str,bool)
- local Index,SizeY = 0,0
- for i,v in next, frame2:GetChildren() do
- if bool then
- if Match2(v.Text,str) then
- Index = Index + 1
- v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
- v.Visible = true
- SizeY = SizeY + v.AbsoluteSize.Y
- frame2.CanvasSize = UDim2.new(0,0,0,SizeY) else v.Visible = false end else
- v.Visible = true
- SizeY = SizeY + v.AbsoluteSize.Y
- frame2.CanvasSize = UDim2.new(0,0,0,SizeY) end end end
- IndexContents2('',true)
- Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quad", 0.5, true, nil) wait(0.3) wait(0.1)
- presents:TweenPosition(UDim2.new(0,0,-1,0),"Out","Quad",0.5)
- gtitle:TweenPosition(UDim2.new(0,0,0,0),"Out","Quad",0.5) wait(0.6)
- gtitle:TweenPosition(UDim2.new(0,0,1,0),"Out","Quad",0.5)
- presents:TweenPosition(UDim2.new(0,0,-1,-38),"Out","Quad",0) wait(0.1)
- wait(0.5) o1:Destroy() Loading:TweenPosition(UDim2.new(0.25, 0, 1.5, 0), "InOut", "Quad", 0.5, true, nil) wait(0.7) Loading.Parent:Destroy()
- if game.Players.LocalPlayer.PlayerGui:FindFirstChild("Chat") and game.Players.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and game.Players.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and
- game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then
- chatbox = game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar chatbox.Changed:connect(function (property) if suggestionstoggle == true and property == "Text" then
- if game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar:IsFocused() then IndexContents2(game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true) end
- if game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(1,1) == cmdprefix then
- game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quint",0.3,true) else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quint",0.2,true) end end end) else print('Custom chat detected. Will not provide suggestions for the chat.') end
- game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0) wait(1) -- SET SCREEN SIZE
- quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- qopen = false quickmenu.MouseButton1Click:connect(function()
- if qopen == false then NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil)
- quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2) MusicPlayer:Hide()
- quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2) qopen = true else
- quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
- quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2) qopen = false if playerenabled == true then MusicPlayer:Show() else NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quad", 0.5, true, nil) end end end)
- quickmenu.sheild.cmds.MouseButton1Click:connect(function() commands() end)
- quickmenu.sheild.settings.MouseButton1Click:connect(function() commands() wait(0.2) searchbar() wait(0.3) closed = false game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quint",0.2,true) wait(0.1)
- game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-300),"Out","Quint",0.2,true) wait(0.2) game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quint",0.2,true) end)
- infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true
- Updates = Instance.new("ScreenGui")
- PromptDialog = Instance.new("Frame")
- local ContainerFrame = Instance.new("Frame")
- local PopupText5 = Instance.new("TextLabel")
- local PopupText3 = Instance.new("TextLabel")
- local PopupText4 = Instance.new("TextLabel")
- local UTDV = Instance.new("TextLabel")
- local LOG = Instance.new("TextLabel")
- local shadow = Instance.new("Frame")
- Exit = Instance.new("TextButton")
- local PopupText = Instance.new("TextLabel")
- local vers = Instance.new("TextLabel")
- Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog"
- PromptDialog.Parent = Updates PromptDialog.Active = true PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0
- PromptDialog.Position = UDim2.new(0.5, -219, 0, -400) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8
- ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059)
- ContainerFrame.Position = UDim2.new(0, 0, 0, 45) ContainerFrame.ZIndex = 8
- ContainerFrame.Size = UDim2.new(1, 0, 0.8, 0) -- THIS WILL ADJUST THE SIZE
- ContainerFrame.Style = Enum.FrameStyle.DropShadow PopupText5.Name = "PopupText5" PopupText5.Parent = ContainerFrame PopupText5.BackgroundTransparency = 1 PopupText5.Position = UDim2.new(0, 8, 0, 70)
- PopupText5.Size = UDim2.new(1, -16, 0.100000001, 0) PopupText5.ZIndex = 10 PopupText5.Font = Enum.Font.SourceSansBold PopupText5.FontSize = Enum.FontSize.Size28 PopupText5.Text = "Update Log:"
- PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97) PopupText5.TextStrokeTransparency = 0 PopupText5.TextWrapped = true PopupText5.TextYAlignment = Enum.TextYAlignment.Top PopupText3.Name = "PopupText3"
- PopupText3.Parent = ContainerFrame PopupText3.BackgroundTransparency = 1 PopupText3.Position = UDim2.new(0, 8, 0, 35) PopupText3.Size = UDim2.new(1, -16, 0.100000001, 0) PopupText3.ZIndex = 10
- PopupText3.Font = Enum.Font.SourceSansBold PopupText3.FontSize = Enum.FontSize.Size18 PopupText3.Text = "Edge#3467- Moon#6245 - GodHOLINALILIUS#9156 - bluntboomer#1259" PopupText3.TextColor3 = Color3.new(0.97, 0.97, 0.97)
- PopupText3.TextStrokeTransparency = 0 PopupText3.TextWrapped = true PopupText3.TextScaled = true PopupText3.TextYAlignment = Enum.TextYAlignment.Top PopupText4.Name = "PopupText4" PopupText4.Parent = ContainerFrame
- PopupText4.BackgroundTransparency = 1 PopupText4.Position = UDim2.new(0, 8, 0, 50) PopupText4.Size = UDim2.new(1, -16, 0.100000001, 0) PopupText4.ZIndex = 10 PopupText4.Font = Enum.Font.SourceSansBold
- PopupText4.FontSize = Enum.FontSize.Size18 PopupText4.Text = "infiniteyield.x10host.com - discord.gg/9MByKtG" PopupText4.TextColor3 = Color3.new(0.97, 0.97, 0.97) PopupText4.TextStrokeTransparency = 0
- PopupText4.TextWrapped = true PopupText4.TextYAlignment = Enum.TextYAlignment.Top UTDV.Name = "UTDV" UTDV.Parent = ContainerFrame UTDV.BackgroundTransparency = 1 UTDV.Position = UDim2.new(0, 8, 0, 5)
- UTDV.Size = UDim2.new(1, -16, 0.100000001, 0) UTDV.ZIndex = 10 UTDV.Font = Enum.Font.SourceSansBold UTDV.FontSize = Enum.FontSize.Size28 UTDV.TextColor3 = Color3.new(0.97, 0.97, 0.97)
- UTDV.TextStrokeTransparency = 0 UTDV.TextWrapped = true UTDV.TextYAlignment = Enum.TextYAlignment.Top LOG.Name = "LOG"
- LOG.Parent = ContainerFrame LOG.BackgroundTransparency = 1 LOG.Position = UDim2.new(0, 8, 0, 100) LOG.Size = UDim2.new(1, -16, 0.6, 0) LOG.ZIndex = 10 LOG.Font = Enum.Font.SourceSansBold LOG.FontSize = Enum.FontSize.Size24
- LOG.Text = "Not much new in this update. I have been pretty busy recently. Added click TP by holding F2 and clicking to the desired place. Also added trail plr, untrail plr, and improved car plr." -- UPDATE LOG
- LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97) LOG.TextStrokeTransparency = 0 LOG.TextWrapped = true LOG.TextYAlignment = Enum.TextYAlignment.Top
- shadow.Name = "shadow" shadow.Parent = PromptDialog shadow.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) shadow.Size = UDim2.new(1, 0, 0.180000007, 0) shadow.ZIndex = 100
- shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093 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 Exit.Text = "" PopupText.Name = "PopupText" PopupText.Parent = shadow
- PopupText.BackgroundTransparency = 1 PopupText.Position = UDim2.new(0, 8, 0, 1) PopupText.Size = UDim2.new(1, -16, 0.800000012, 0) PopupText.ZIndex = 110 PopupText.Font = Enum.Font.SourceSansBold PopupText.FontSize = Enum.FontSize.Size36 PopupText.Text = "Information"
- PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) PopupText.TextStrokeTransparency = 0 PopupText.TextWrapped = true PopupText.TextYAlignment = Enum.TextYAlignment.Top vers.Name = "vers" vers.Parent = shadow
- vers.BackgroundTransparency = 1 vers.Position = UDim2.new(0, 2, 0, 1) vers.Size = UDim2.new(0.200000003, -16, 0.400000006, 0) vers.ZIndex = 110 vers.Font = Enum.Font.SourceSansBold vers.FontSize = Enum.FontSize.Size24
- vers.Text = "v" .. Version vers.TextColor3 = Color3.new(0.97, 0.97, 0.97) vers.TextStrokeTransparency = 0 vers.TextWrapped = true vers.TextXAlignment = Enum.TextXAlignment.Left vers.TextYAlignment = Enum.TextYAlignment.Top
- if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end
- PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quad", 0.5, true, nil) Exit.MouseButton1Click:connect(function()
- PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quad", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end)
- quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end)
Add Comment
Please, Sign In to add comment