Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------------------------
- ---------------------------------------------------------------
- -- _____ __ _ _ _ __ ___ _ _ --
- -- |_ _| / _(_) (_) | \ \ / (_) | | | | --
- -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | --
- -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | --
- -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | --
- -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| --
- -- --
- ---------------------------------------------------------------
- ---------------------------------------------------------------
- -------------------------Version 3.9.5-------------------------
- ---------------------------------------------------------------
- ---------------------IoIman616---Edge#3467---------------------
- -------------Desiredusername1233--bluntboomer#1259-------------
- --------------------sweg2hip----Master#9156--------------------
- ---------------------------------------------------------------
- --The message system was created by HARKINIAN @ V3RMILLION
- --Bang and fly is from rocky2u
- --Thank you for support 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.LocalPlayer
- local Mouse = Player:GetMouse()
- local char = Player.Character
- local LP = gPlayers.LocalPlayer
- local gPlayers = game:GetService("Players")
- local admin = gPlayers.LocalPlayer.Name
- local _players = game:GetService('Players')
- MSGhook = false
- local services={}
- local cmds={}
- local std={}
- local loopkillT = {}
- local rainbowT = {}
- local disabletoolsT = {}
- local banT = {}
- local admins = {}
- function FIND_CHILD(PATH, NAME) if PATH:FindFirstChild(NAME) then return true end return false end
- local Version = '3.9.5'
- wait(0.1)
- services.players=gPlayers
- services.lighting=game:GetService('Lighting')
- services.workspace=game:GetService('Workspace')
- services.events = {}
- local user = gPlayers.LocalPlayer
- local gCoreGui = game:GetService('CoreGui')
- local gPlayers = game:GetService('Players')
- local gLighting = game:GetService('Lighting')
- local gWorkspace = game:GetService('Workspace')
- local cmdprefix=';'
- local scriptprefix='\\'
- local split=" "
- local Checked = Instance.new("BoolValue")
- Checked.Name = "notify"
- Checked.Value = true
- Checked.Parent = game.Players.LocalPlayer
- local Checked2 = Instance.new("BoolValue")
- Checked2.Name = "allowfriends"
- Checked2.Value = true
- Checked2.Parent = game.Players.LocalPlayer
- local Checked3 = Instance.new("BoolValue")
- Checked3.Name = "JLnotify"
- Checked3.Value = true
- Checked3.Parent = game.Players.LocalPlayer
- local Mtime = Instance.new("IntValue")
- Mtime.Name = "MSGtime"
- Mtime.Value = 7 -- this is adjustable in settings (default is 7 seconds)
- Mtime.Parent = game.Players.LocalPlayer
- slock = false
- local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time =
- game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe =
- game.Lighting.FogEnd, fs = game.Lighting.FogStart}
- 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
- game:GetService('RunService').Stepped:connect(function()
- 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
- end)
- function cmdcheck()
- for _, child in pairs( game.CoreGui:GetChildren()) do
- if child.Name == "CMDs" then
- game.CoreGui.CMDs:Destroy()
- wait(1)
- end
- end
- end
- game:GetService('RunService').Stepped:connect(function()
- for _, child in pairs( game.CoreGui:GetChildren()) do
- if child.Name == "CMDs" then
- game.CoreGui.CMDs.MAIN.Exit.MouseButton1Click:Connect(function()
- cmdwin.MAIN:TweenPosition(UDim2.new(0,-250,1,-200),"Out","Quint",0.3,true)
- wait(0.4)
- cmdOpen = false
- cmdcheck()
- wait(1)
- end)
- end
- end
- end)
- wait(0.5)
- game:GetService('RunService').Stepped:connect(function()
- if workspace:FindFirstChild("IYmessage") then
- MSGhook = true
- else
- MSGhook = false
- end
- end)
- function _G.msg(txt)
- 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(game.Players.LocalPlayer.MSGtime.Value)
- workspace.IYmessage.Text = ''
- b:Destroy()
- elseif MSGhook == false then
- Notify('You need to do ;loadm first! (msg not found)')
- end
- end
- game:GetService('RunService').Stepped:connect(function()
- if MSGhook == true and workspace.IYmessage.Text == '' then
- for _, child in pairs( game.Lighting:GetChildren()) do
- if child.Name == "IYmblur" then
- child:Destroy()
- end
- end
- end
- end)
- game:GetService('RunService').Stepped:connect(function()
- for i,v in pairs(_players:GetPlayers()) do
- if FindTable(loopkillT, v.Name) then
- v.Character:BreakJoints()
- end
- end
- end)
- game:GetService('RunService').Stepped:connect(function()
- for i,v in pairs(_players:GetPlayers()) do
- if FindTable(rainbowT, v.Name) then
- v.Neutral = false
- v.TeamColor = BrickColor.random()
- end
- end
- end)
- local FLYING = false
- game:GetService('RunService').Stepped: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
- end
- end)
- function sFLY()
- repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
- repeat wait() until Mouse
- local T = LP.Character.Torso
- 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
- game:GetService('RunService').Stepped:connect(function()
- 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)
- -------------------------------------------
- ------------Player Joined/Left-------------
- -------------------------------------------
- waitTime=5
- function PlayerEntered(Player)
- if Player ~= nil and game.Players.LocalPlayer.JLnotify.Value == true then
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("ScreenGui")
- o2 = Instance.new("Decal")
- o3 = Instance.new("Frame")
- o4 = Instance.new("ImageLabel")
- o5 = Instance.new("TextBox")
- o1.Name = "PlayerEntered"
- o1.Parent = mas
- o2.Parent = o1
- o2.Texture = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username=Roblox&RAND=7474"
- o3.Parent = o1
- o3.Position = UDim2.new(0,-360,0,400)
- o3.Size = UDim2.new(0,350,0,100)
- o3.Style = Enum.FrameStyle.RobloxSquare
- o3.Position = UDim2.new(0,-360,0,400)
- o3.BackgroundColor3 = Color3.new(0.658824, 0.654902, 0.666667)
- o4.Parent = o3
- o4.Size = UDim2.new(0,90,1,0)
- o4.BackgroundColor3 = Color3.new(1, 1, 1)
- o4.BackgroundTransparency = 0.89999997615814
- o4.BorderColor3 = Color3.new(0, 0, 0)
- o4.Image = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username=Roblox&RAND=7474"
- o5.Parent = o3
- o5.Position = UDim2.new(0,100,0,0)
- o5.Size = UDim2.new(0,230,1,0)
- o5.Text = "-Playername- Joined the Game"
- o5.Position = UDim2.new(0,100,0,0)
- o5.Active = false
- o5.BackgroundColor3 = Color3.new(1, 1, 1)
- o5.BackgroundTransparency = 0.89999997615814
- o5.BorderColor3 = Color3.new(0, 0, 0)
- o5.Font = Enum.Font.ArialBold
- o5.FontSize = Enum.FontSize.Size14
- o5.TextColor3 = Color3.new(1, 1, 1)
- o5.TextStrokeTransparency = 0
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = game.Players.LocalPlayer.PlayerGui
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- spawn(cors[i])
- end
- wait(0.5)
- o2.Parent.Frame.Visible=false
- link = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username="
- o2.Parent.Frame.ImageLabel.Image = link .. Player.Name .. "&RAND=" .. math.random(1,100000)
- o2.Parent.Frame.TextBox.Text= Player.Name .. " Joined"
- o2.Parent.Frame.Visible=true
- o2.Parent.Frame:TweenPosition(UDim2.new(0,0,0,400),"Out","Quint",0.3,true)
- wait(waitTime)
- o2.Parent.Frame:TweenPosition(UDim2.new(0,-360,0,400),"Out","Quint",0.3,true)
- wait(1)
- o1:Destroy()
- for _, child in pairs( game.Players.LocalPlayer.PlayerGui:GetChildren()) do
- if child.Name == "PlayerEntered" then
- child.Frame:TweenPosition(UDim2.new(0,-360,0,400),"Out","Quint",0.3,true)
- wait(1)
- child:Destroy()
- end
- end
- end
- end
- game.Players.ChildAdded:connect(PlayerEntered)
- function PlayerLeft(Player)
- if Player ~= nil and game.Players.LocalPlayer.JLnotify.Value == true then
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("ScreenGui")
- o2 = Instance.new("Decal")
- o3 = Instance.new("Frame")
- o4 = Instance.new("ImageLabel")
- o5 = Instance.new("TextBox")
- o1.Name = "PlayerEntered"
- o1.Parent = mas
- o2.Parent = o1
- o2.Texture = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username=Roblox&RAND=7474"
- o3.Parent = o1
- o3.Position = UDim2.new(0,-360,0,400)
- o3.Size = UDim2.new(0,350,0,100)
- o3.Style = Enum.FrameStyle.RobloxSquare
- o3.Position = UDim2.new(0,-360,0,400)
- o3.BackgroundColor3 = Color3.new(0.658824, 0.654902, 0.666667)
- o4.Parent = o3
- o4.Size = UDim2.new(0,90,1,0)
- o4.BackgroundColor3 = Color3.new(1, 1, 1)
- o4.BackgroundTransparency = 0.89999997615814
- o4.BorderColor3 = Color3.new(0, 0, 0)
- o4.Image = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username=Roblox&RAND=7474"
- o5.Parent = o3
- o5.Position = UDim2.new(0,100,0,0)
- o5.Size = UDim2.new(0,230,1,0)
- o5.Text = "-Playername- Joined the Game"
- o5.Position = UDim2.new(0,100,0,0)
- o5.Active = false
- o5.BackgroundColor3 = Color3.new(1, 1, 1)
- o5.BackgroundTransparency = 0.89999997615814
- o5.BorderColor3 = Color3.new(0, 0, 0)
- o5.Font = Enum.Font.ArialBold
- o5.FontSize = Enum.FontSize.Size14
- o5.TextColor3 = Color3.new(1, 1, 1)
- o5.TextStrokeTransparency = 0
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = game.Players.LocalPlayer.PlayerGui
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- spawn(cors[i])
- end
- wait(0.5)
- link = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username="
- o2.Parent.Frame.ImageLabel.Image = link .. Player.Name .. "&RAND=" .. math.random(1,100000)
- o2.Parent.Frame.TextBox.Text= Player.Name .. " Left"
- o2.Parent.Frame.Visible=true
- o2.Parent.Frame:TweenPosition(UDim2.new(0,0,0,400),"Out","Quint",0.3,true)
- wait(waitTime)
- o2.Parent.Frame:TweenPosition(UDim2.new(0,-360,0,400),"Out","Quint",0.3,true)
- wait(1)
- o1:Destroy()
- for _, child in pairs( game.Players.LocalPlayer.PlayerGui:GetChildren()) do
- if child.Name == "PlayerEntered" then
- child.Frame:TweenPosition(UDim2.new(0,-360,0,400),"Out","Quint",0.3,true)
- wait(1)
- child:Destroy()
- end
- end
- end
- end
- game.Players.PlayerRemoving:connect(PlayerLeft)
- -------------------------------------------
- ---Commands that show up in the CMD list---
- -------------------------------------------
- CMDs = {
- '- settings',
- '1. ff [plr]',
- '2. unff [plr]',
- '3. fire [plr] [R G B]',
- '4. unfire [plr]',
- '5. sparkles [plr] [R G B]',
- '6. unsparkles [plr]',
- '7. smoke [plr]',
- '8. unsmoke [plr]',
- '9. btools [plr]',
- '10. god [plr]',
- '11. ungod [plr]',
- '12. smite [plr]',
- '13. heal [plr]',
- '14. freeze [plr]',
- '15. thaw [plr]',
- '16. kill [plr]',
- '17. sound [ID]',
- '18. volume [num]',
- '19. pitch [num]',
- '20. explode [plr]',
- '21. invisible [plr]',
- '22. visible [plr]',
- '23. goto [plr]',
- '24. bring [plr]',
- '25. tp [plr] [plr]',
- '26. char [plr]',
- '27. speed [plr] [num]',
- '28. time [num]',
- '29. kick [plr]',
- '30. sgod [plr]',
- '31. unlockws',
- '32. lockws',
- '33. unanchor',
- '34. anchor',
- '35. loadm',
- '36. m [msg]',
- '37. light [plr] [R G B]',
- '38. decalspam [ID]',
- '39. undecalspam',
- '40. firstp [plr]',
- '41. thirdp [plr]',
- '42. fart [plr]',
- '43. name [plr]',
- '44. unname [plr]',
- '45. stun [plr]',
- '46. unstun [plr]',
- '47. copytools [plr]',
- '48. serverinfo',
- '49. damage [plr]',
- '50. view [plr]',
- '51. unview [plr]',
- '52. nolimbs [plr]',
- '53. box [plr]',
- '54. nobox [plr]',
- '55. ghost [plr]',
- '56. sphere [plr]',
- '57. loadmap [ID]',
- '58. sky [ID]',
- '59. ambient [R G B]',
- '60. clrterrain',
- '61. jail [plr]',
- '62. unjail [plr]',
- '63. shutdown',
- '64. animation [plr] [anim]',
- '65. normal [plr]',
- '66. creeper [plr]',
- '67. uncreeper [plr]',
- '68. shrek [plr]',
- '69. unshrek [plr]',
- '70. respawn [plr]',
- '71. base',
- '72. control [plr]',
- '73. nuke [plr]',
- '74. infect [plr]',
- '75. uninfect [plr]',
- '76. duck [plr]',
- '77. unduck [plr]',
- '78. disable [plr]',
- '79. enable [plr]',
- '80. size [plr]',
- '81. confuse [plr]',
- '82. unconfuse [plr]',
- '83. clone [plr]',
- '84. spin [plr]',
- '85. unspin [plr]',
- '86. dog [plr]',
- '87. undog [plr]',
- '88. loopheal [plr]',
- '89. unloopheal [plr]',
- '90. fling [plr]',
- '91. ayylmao [plr]',
- '92. nograv [plr]',
- '93. grav [plr]',
- '94. seizure [plr]',
- '95. unseizure [plr]',
- '96. paper [plr]',
- '97. punish [plr]',
- '98. unpunish [plr]',
- '99. fogend [num]',
- '100. fogcolor [R G B]',
- '101. disco',
- '102. undisco',
- '103. fix',
- '104. flood',
- '105. spookyify',
- '106. explorer',
- '107. particles [plr] [ID]',
- '108. noparticles [plr]',
- '109. draw',
- '110. devuzi',
- '111. ban [plr]',
- '112. clrbans',
- '113. float [plr]',
- '114. unfloat [plr]',
- '115. noclip',
- '116. clip',
- '117. hatsize [plr] [num]',
- '118. removehat [plr]',
- '119. cripple [plr]',
- '120. uncripple [plr]',
- '121. blur [num]',
- '122. hipheight [plr] [num]',
- '123. bgui [plr] [text]',
- '124. unbgui [plr]',
- '125. loopkill [plr]',
- '126. unloopkill [plr]',
- '127. removetools [plr]',
- '128. grav [plr] [num]',
- '129. serverlock',
- '130. unserverlock',
- '131. headshake [plr]',
- '132. addstat [plr] [text]',
- '133. change stat [plr] [num]',
- '134. headsize [plr] [num]',
- '135. bang [plr]',
- '136. chat [plr] [msg]',
- '137. gravity [num]',
- '138. disabletools [plr]',
- '139. enabletools [plr]',
- '140. nil [plr]',
- '141. rainbowname [plr]',
- '142. unrainbowname [plr]',
- '143. mesh [plr] [mesh] [texture]',
- '144. neon [plr]',
- '145. longneck [plr]',
- '146. unlongneck [plr]',
- '147. spasm [plr]',
- '148. meteor [plr]',
- '149. countdown [num]',
- '150. bomb [plr]',
- '151. fly',
- '152. unfly',
- '153. crash [plr]',
- '154. admin [plr]',
- '155. unadmin [plr]',
- '156. clradmins',
- '157. executor',
- '158. prefix [string]',
- '159. cmds',
- '160. version'
- }
- -------
- --Lib--
- -------
- updateevents=function()
- for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
- for i,v in pairs(gPlayers:players())do
- local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
- services.events[#services.events+1] = ev
- end
- 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
- isAdmin=function(name)
- for i,v in pairs(_players:GetPlayers()) do
- if FindTable(admins, v.Name) then
- return true
- elseif name==admin then
- return true
- end
- end
- return false
- 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 game.Players.LocalPlayer.allowfriends.Value == false then player.CharacterAdded:connect(function()
- spawn(function()
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') 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)
- elseif slock == true and game.Players.LocalPlayer.allowfriends.Value == true and not player:IsFriendsWith(user.userId) then
- spawn(function()
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') 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
- if FindTable(banT, player.userId) then
- spawn(function()
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') 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 execCmd(str, plr)
- local s_cmd
- local a
- local cmd
- s_cmd = getCmd(str)
- cmd = findCmd(s_cmd[1])
- if cmd == nil then return end
- a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)
- local args=getArgs(a)
- cargs=getCapArgs(a)
- pcall(function()
- cmd.FUNC(args, plr)
- end)
- end
- function do_exec(str,plr)
- if not isAdmin(plr.Name)then return end
- str=str:gsub('/e ','')
- local t=getprfx(str)
- if t==nil 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()
- _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
- function getPlayer(name, speaker)
- local name_table = {}
- name = name:lower()
- if name == 'me' then
- table.insert(name_table, speaker.Name)
- elseif name == 'others' then
- for i,v in pairs(_players:GetPlayers()) do if v.Name ~= speaker.Name then table.insert(name_table, v.Name) end end
- elseif name == 'all' then
- for i,v in pairs(_players:GetPlayers()) do table.insert(name_table, v.Name) end
- elseif name == 'random' then
- table.insert(name_table, _players:GetPlayers()[math.random(1, #_players:GetPlayers())].Name)
- elseif name == 'team' then
- for i,v in pairs(_players:GetPlayers()) do if v.TeamColor == speaker.TeamColor then table.insert(name_table, v.Name) end end
- elseif name == "nonteam" then
- for i,v in pairs(gPlayers:GetChildren()) do
- if v.TeamColor ~= user.TeamColor then
- name_table[#name_table+1]=v.Name
- end
- end
- elseif name == 'nonfriends' then
- for i,v in pairs(_players:GetPlayers()) do if not v:IsFriendsWith(speaker.userId) then table.insert(name_table, v.Name) end end
- elseif name == 'friends' then
- for i,v in pairs(_players:GetPlayers()) do if v ~= speaker and v:IsFriendsWith(speaker.userId) then table.insert(name_table, v.Name) end end
- elseif name == 'guests' then
- for i,v in pairs(_players:GetPlayers()) do if v.Guest then table.insert(name_table, v.Name) end end
- elseif name == 'admins' then
- for i,v in pairs(_players:GetPlayers()) do if FindTable(admins, v.Name) then table.insert(name_table, v.Name) end end
- elseif name == 'nonadmins' then
- for i,v in pairs(_players:GetPlayers()) do if not FindTable(admins, v.Name) then table.insert(name_table, v.Name) end end
- else
- for i,v in pairs(_players:GetPlayers()) do local L_name = v.Name:lower() local F = L_name:find(name) if F == 1 then table.insert(name_table, v.Name) end end
- end
- return name_table
- 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 rape(victim)
- spawn(function()
- local P1 = _players.LocalPlayer.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('exe','gives you a quick executor',{'executor'},
- function(args, speaker)
- local PlayerName = game.Players.LocalPlayer.Name
- Exploit = Instance.new("ScreenGui")
- UI = Instance.new("Frame")
- ScrollingFrame = Instance.new("ScrollingFrame")
- GScrollingFrame = Instance.new("ScrollingFrame")
- Source = Instance.new("TextBox")
- Execute = Instance.new("TextButton")
- Clear = Instance.new("TextButton")
- Close = Instance.new("TextButton")
- Open = Instance.new("TextButton")
- Name = Instance.new("TextLabel")
- TextButton = Instance.new("TextButton")
- -- Properties
- Exploit.Name = "Exploit"
- Exploit.Parent = game.Players.LocalPlayer.PlayerGui
- UI.Name = "UI"
- UI.Parent = Exploit
- UI.Active = true
- UI.BackgroundColor3 = Color3.new(0, 0, 0)
- UI.BorderColor3 = Color3.new(255, 255, 255)
- UI.Draggable = true
- UI.Position = UDim2.new(0, 31, 0, 111)
- UI.Selectable = true
- UI.Size = UDim2.new(0, 600, 0, 300)
- UI.Visible = false
- ScrollingFrame.Parent = UI
- ScrollingFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- ScrollingFrame.BorderColor3 = Color3.new(255, 255, 255)
- ScrollingFrame.Position = UDim2.new(0, 10, 0, 10)
- ScrollingFrame.Size = UDim2.new(0, 580, 0, 240)
- ScrollingFrame.CanvasSize = UDim2.new(0,0,20,0)
- ScrollingFrame.Changed:connect(function()
- GScrollingFrame.CanvasPosition = ScrollingFrame.CanvasPosition
- end)
- Source.Name = "Source"
- Source.Parent = ScrollingFrame
- Source.BackgroundColor3 = Color3.new(0, 0, 0)
- Source.BorderColor3 = Color3.new(0, 0,0)
- Source.Position = UDim2.new(0, 0, 0, 0)
- Source.Size = UDim2.new(0, 550, 0, 3000)
- Source.ClearTextOnFocus = false
- Source.Font = Enum.Font.Code
- Source.FontSize = Enum.FontSize.Size18
- Source.MultiLine = true
- Source.Text = 'print("Hello World!")'
- Source.TextColor3 = Color3.new(255, 255, 255)
- Source.TextSize = 18
- Source.TextWrapped = true
- Source.TextXAlignment = Enum.TextXAlignment.Left
- Source.TextYAlignment = Enum.TextYAlignment.Top
- Execute.Name = "Execute"
- Execute.Parent = UI
- Execute.BackgroundColor3 = Color3.new(0, 0, 0)
- Execute.BorderColor3 = Color3.new(255, 255, 255)
- Execute.Position = UDim2.new(0, 150, 0, 260)
- Execute.Size = UDim2.new(0, 60, 0, 30)
- Execute.Font = Enum.Font.SciFi
- Execute.FontSize = Enum.FontSize.Size14
- Execute.Text = "Execute"
- Execute.TextColor3 = Color3.new(255, 255, 255)
- Execute.TextSize = 14
- Execute.MouseButton1Down:connect(function()
- Name.Text = "Running"
- loadstring(tostring(Source.Text))()
- Name.Text = "Executed"
- wait(1)
- Name.Text = "Quick Exe"
- end)
- Clear.Name = "Clear"
- Clear.Parent = UI
- Clear.BackgroundColor3 = Color3.new(0, 0, 0)
- Clear.BorderColor3 = Color3.new(255, 255, 255)
- Clear.Position = UDim2.new(0, 380, 0, 260)
- Clear.Size = UDim2.new(0, 60, 0, 30)
- Clear.Font = Enum.Font.SciFi
- Clear.FontSize = Enum.FontSize.Size14
- Clear.Text = "Clear"
- Clear.TextColor3 = Color3.new(255, 255, 255)
- Clear.TextSize = 14
- Clear.MouseButton1Down:connect(function()
- Name.Text = "Cleared!"
- Source.Text = ""
- wait(1)
- Name.Text = "Quick Exe"
- end)
- Close.Name = "Close"
- Close.Parent = UI
- Close.BackgroundColor3 = Color3.new(0, 0, 0)
- Close.BorderColor3 = Color3.new(255, 255, 255)
- Close.Position = UDim2.new(0, 270, 0, 301)
- Close.Size = UDim2.new(0, 50, 0, 15)
- Close.Font = Enum.Font.Code
- Close.FontSize = Enum.FontSize.Size14
- Close.Text = "Hide"
- Close.TextColor3 = Color3.new(255, 255, 255)
- Close.TextSize = 14
- Close.MouseButton1Down:connect(function()
- UI.Visible = false
- for Down = 146,600,16 do
- wait(0)
- end
- Open.Visible = true
- end)
- Open.Name = "Open"
- Open.Parent = Exploit
- Open.BackgroundColor3 = Color3.new(0, 0, 0)
- Open.BorderColor3 = Color3.new(255, 255, 255)
- Open.Position = UDim2.new(0, 100, 0.9, 0)
- Open.Size = UDim2.new(0, 300, 0, 30)
- Open.Visible = false
- Open.Font = Enum.Font.Code
- Open.FontSize = Enum.FontSize.Size14
- Open.Text = "Left click = open | Right Click = exit"
- Open.TextColor3 = Color3.new(255, 255, 255)
- Open.TextSize = 14
- Open.MouseButton1Down:connect(function()
- UI.Visible = true
- Open.Visible = false
- for Up = 600,146,-16 do
- wait(0)
- end
- end)
- Open.MouseButton2Down:connect(function()
- Exploit:Destroy()
- for Up = 600,146,-16 do
- wait(0)
- end
- end)
- Name.Name = "Name"
- Name.Parent = UI
- Name.BackgroundColor3 = Color3.new(0, 0, 0)
- Name.BorderColor3 = Color3.new(255, 255, 255)
- Name.Position = UDim2.new(0, 190, 0, -31)
- Name.Size = UDim2.new(0, 220, 0, 30)
- Name.Font = Enum.Font.SciFi
- Name.FontSize = Enum.FontSize.Size24
- Name.Text = "Quick Exe"
- Name.TextColor3 = Color3.new(0.490196, 0.490196, 0.490196)
- Name.TextSize = 24
- UI.Visible = true
- Name.Text = "Quick Exe"
- while true do
- wait(0)
- for i = 255,100,-5 do
- Name.TextColor3 = Color3.fromRGB(i,i,i)
- wait(0)
- end
- for c = 100,255,5 do
- Name.TextColor3 = Color3.fromRGB(c,c,c)
- wait(0)
- end
- end
- 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('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('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('fly','makes you fly',{},
- function(args, speaker)
- sFLY()
- end)
- addcmd('unfly','takes away fly',{'nofly'},
- function(args, speaker)
- NOFLY()
- 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('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)
- 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('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('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 = Player(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)
- 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('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()
- table.insert(banT, _players[v].userId)
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') 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])
- end)
- end
- end)
- addcmd('clearbans', 'welcome back!',{'clrbans'},
- function(args, speaker)
- banT = {}
- Notify('Removed all bans')
- 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)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if not FindTable(admins, _players[v].Name) then
- table.insert(admins, _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.Chat:Chat(gPlayers[v].Character.Head, 'You are now an admin! The prefix is ' .. cmdprefix)
- 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
- 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 = "ArialBold"
- f.TextSize = 20
- f.Text = "Go to cmds.infiniteyield.x10host.com to view commands (say ;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"
- end
- end
- 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)
- end
- end)
- addcmd('clearadmins', 'welcome back!',{'clradmins'},
- function(args, speaker)
- admins = {}
- Notify('Removed all admins')
- end)
- addcmd('unadmin', 'removes the admin',{'noadmin'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if FindTable(admins, _players[v].Name) then
- table.remove(admins, GetInTable(admins, _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.Chat:Chat(gPlayers[v].Character.Head, 'You are no longer an admin')
- 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('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'},
- 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'},
- 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 = LP.Backpack
- end
- end
- end
- end)
- addcmd('gravity', 'workspace gravity',{''},
- function(args, speaker)
- workspace.Gravity = args[1]
- Notify('Gravity set to ' .. args[1])
- end)
- addcmd('serverinfo', 'gives you info about the server',{'info'},
- function(args, speaker)
- wait(0.5)
- -- Objects
- local Sinfo = Instance.new("ScreenGui")
- local Time = Instance.new("TextLabel")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel3 = Instance.new("TextLabel")
- local name = Instance.new("TextLabel")
- local fe = Instance.new("TextLabel")
- local players = Instance.new("TextLabel")
- local maxplayers = Instance.new("TextLabel")
- local TextLabel2 = Instance.new("TextLabel")
- local playerid = Instance.new("TextLabel")
- local appearance = Instance.new("TextLabel")
- local placeid = Instance.new("TextLabel")
- local exit = Instance.new("TextButton")
- -- Properties
- Sinfo.Name = "Sinfo"
- Sinfo.Parent = game.Players.LocalPlayer.PlayerGui
- Time.Name = "Time"
- Time.Parent = Sinfo
- 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, 20, 0.924000025, 0)
- Time.Size = UDim2.new(0, 1000, 0, 20)
- Time.Font = Enum.Font.ArialBold
- Time.FontSize = Enum.FontSize.Size14
- Time.Text = "0 Hours, 0 Minute(s), 0 Seconds"
- Time.TextColor3 = Color3.new(1, 1, 1)
- Time.TextStrokeTransparency = 0
- TextLabel.Name = "Text Label"
- TextLabel.Parent = Sinfo
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel.Position = UDim2.new(0, 50, 0.924000025, 0)
- TextLabel.Size = UDim2.new(0, 600, 0, 20)
- TextLabel.Font = Enum.Font.ArialBold
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = "Server Time:"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextStrokeColor3 = Color3.new(1, 1, 1)
- TextLabel.TextStrokeTransparency = 0
- TextLabel3.Name = "Text Label3"
- TextLabel3.Parent = Sinfo
- TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel3.BackgroundTransparency = 1
- TextLabel3.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel3.Position = UDim2.new(0, -250, 0.924000025, 0)
- TextLabel3.Size = UDim2.new(0, 600, 0, 20)
- TextLabel3.Font = Enum.Font.ArialBold
- TextLabel3.FontSize = Enum.FontSize.Size14
- TextLabel3.Text = "Local Player:"
- TextLabel3.TextColor3 = Color3.new(0, 0, 0)
- TextLabel3.TextStrokeColor3 = Color3.new(1, 1, 1)
- TextLabel3.TextStrokeTransparency = 0
- name.Name = "name"
- name.Parent = Sinfo
- 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, 350, 0.899999976, 0)
- name.Size = UDim2.new(0, 1000, 0, 20)
- 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
- fe.Name = "fe"
- fe.Parent = Sinfo
- 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, 350, 0.949999988, 0)
- fe.Size = UDim2.new(0, 1000, 0, 20)
- fe.Font = Enum.Font.ArialBold
- fe.FontSize = Enum.FontSize.Size14
- fe.Text = "Loading FE Status"
- fe.TextColor3 = Color3.new(1, 1, 1)
- fe.TextStrokeTransparency = 0
- players.Name = "players"
- players.Parent = Sinfo
- 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, 530, 0.899999976, 0)
- players.Size = UDim2.new(0, 1000, 0, 20)
- players.Font = Enum.Font.ArialBold
- players.FontSize = Enum.FontSize.Size14
- players.Text = "Loading Players"
- players.TextColor3 = Color3.new(1, 1, 1)
- players.TextStrokeTransparency = 0
- maxplayers.Name = "maxplayers"
- maxplayers.Parent = Sinfo
- 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, 530, 0.949999988, 0)
- maxplayers.Size = UDim2.new(0, 1000, 0, 20)
- maxplayers.Font = Enum.Font.ArialBold
- maxplayers.FontSize = Enum.FontSize.Size14
- maxplayers.Text = "Loading Max Players"
- maxplayers.TextColor3 = Color3.new(1, 1, 1)
- maxplayers.TextStrokeTransparency = 0
- TextLabel2.Name = "Text Label2"
- TextLabel2.Parent = Sinfo
- TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel2.BackgroundTransparency = 1
- TextLabel2.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel2.Position = UDim2.new(0, 400, 0.924000025, 0)
- TextLabel2.Size = UDim2.new(0, 600, 0, 20)
- TextLabel2.Font = Enum.Font.ArialBold
- TextLabel2.FontSize = Enum.FontSize.Size14
- TextLabel2.Text = "Statistics:"
- TextLabel2.TextColor3 = Color3.new(0, 0, 0)
- TextLabel2.TextStrokeColor3 = Color3.new(1, 1, 1)
- TextLabel2.TextStrokeTransparency = 0
- playerid.Name = "playerid"
- playerid.Parent = Sinfo
- 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, -330, 0.899999976, 0)
- playerid.Size = UDim2.new(0, 1000, 0, 20)
- playerid.Font = Enum.Font.ArialBold
- playerid.FontSize = Enum.FontSize.Size14
- playerid.Text = "Loading Player ID"
- playerid.TextColor3 = Color3.new(1, 1, 1)
- playerid.TextStrokeTransparency = 0
- appearance.Name = "appearance"
- appearance.Parent = Sinfo
- 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, -330, 0.949999988, 0)
- appearance.Size = UDim2.new(0, 1000, 0, 20)
- appearance.Font = Enum.Font.ArialBold
- appearance.FontSize = Enum.FontSize.Size14
- appearance.Text = "Loading Appearance ID"
- appearance.TextColor3 = Color3.new(1, 1, 1)
- appearance.TextStrokeTransparency = 0
- placeid.Name = "placeid"
- placeid.Parent = Sinfo
- 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, 700, 0.899999976, 0)
- placeid.Size = UDim2.new(0, 1000, 0, 20)
- placeid.Font = Enum.Font.ArialBold
- placeid.FontSize = Enum.FontSize.Size14
- placeid.Text = "Loading Place ID"
- placeid.TextColor3 = Color3.new(1, 1, 1)
- placeid.TextStrokeTransparency = 0
- exit.Name = "exit"
- exit.Parent = Sinfo
- exit.BackgroundColor3 = Color3.new(1, 1, 1)
- exit.BorderColor3 = Color3.new(0, 0, 0)
- exit.Position = UDim2.new(0, 1150, 0.944999993, 0)
- exit.Size = UDim2.new(0, 100, 0, 25)
- exit.FontSize = Enum.FontSize.Size10
- exit.Text = "Exit"
- exit.TextColor3 = Color3.new(0, 0, 0)
- wait(0.5)
- game.Players.LocalPlayer.PlayerGui.Sinfo.name.Text = game.Name
- game.Players.LocalPlayer.PlayerGui.Sinfo.playerid.Text = "Player ID: " ..game.Players.LocalPlayer.UserId
- if game.Workspace.FilteringEnabled == true then
- game.Players.LocalPlayer.PlayerGui.Sinfo.fe.Text = "Filtering Enabled"
- elseif game.Workspace.FilteringEnabled == false then
- game.Players.LocalPlayer.PlayerGui.Sinfo.fe.Text = "Filtering Disabled"
- end
- players = game.Players:getPlayers()
- game.Players.LocalPlayer.PlayerGui.Sinfo.maxplayers.Text = game.Players.MaxPlayers.. " Players Max"
- game.Players.LocalPlayer.PlayerGui.Sinfo.placeid.Text = "Place ID: " ..game.PlaceId
- game.Players.LocalPlayer.PlayerGui.Sinfo.exit.MouseButton1Click:Connect(function()
- wait()
- game.Players.LocalPlayer.PlayerGui.Sinfo:Destroy()
- end)
- while true do
- wait()
- game.Players.LocalPlayer.PlayerGui.Sinfo.players.Text = #players.. " Player(s)"
- game.Players.LocalPlayer.PlayerGui.Sinfo.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
- game.Players.LocalPlayer.PlayerGui.Sinfo.Time.Text = seconds .. " Second(s)"
- else
- game.Players.LocalPlayer.PlayerGui.Sinfo.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)"
- end
- else
- game.Players.LocalPlayer.PlayerGui.Sinfo.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
- end
- 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()
- wait(0.5)
- function meep()
- for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
- if child.Name == "IY" then
- child:Destroy()
- end
- end
- local score = Instance.new("StringValue")
- score.Name = "STAT"
- score.Value = GLS(false, 1)
- score.Parent = gPlayers[v].leaderstats
- end
- if gPlayers[v]:FindFirstChild("leaderstats") then
- meep()
- else
- local stats = Instance.new("IntValue")
- stats.Name = "leaderstats"
- stats.Parent = gPlayers[v]
- wait(0.5)
- meep()
- 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)
- local time_=tonumber(1)
- game.Lighting:SetMinutesAfterMidnight(time_*60)
- 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
- 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.Brightness = 1
- game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
- game.Lighting.TimeOfDay = 14
- 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.Torso.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.Torso.Position.X, Ast.Position.Y, pchar.Torso.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(3)
- 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 Torso = Char.Torso
- 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 = Torso
- 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 = Torso
- 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 = Torso
- 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 = Torso
- 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 = Torso
- 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 = Torso
- 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)
- settingsOpen = false
- addcmd('settings', 'gives you settings window',{'options'},
- function(args, speaker)
- if settingsOpen == false then
- -- Objects
- settingsOpen = true
- local SettingsGUI = Instance.new("ScreenGui")
- local FeedbackMain = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local credit = Instance.new("TextLabel")
- local close = Instance.new("TextButton")
- local checkboxText = Instance.new("TextLabel")
- local CheckBox = Instance.new("ImageButton")
- local MtimeInput = Instance.new("TextButton")
- local Input = Instance.new("TextBox")
- local preText = Instance.new("TextLabel")
- local SetBcolor = Instance.new("TextButton")
- local RB = Instance.new("TextButton")
- local Input_2 = Instance.new("TextBox")
- local setpre = Instance.new("TextButton")
- local bcolortxt = Instance.new("TextLabel")
- local BB = Instance.new("TextButton")
- local Input_3 = Instance.new("TextBox")
- local GB = Instance.new("TextButton")
- local Input_4 = Instance.new("TextBox")
- local Rbox = Instance.new("TextButton")
- local Input_5 = Instance.new("TextBox")
- local Gbox = Instance.new("TextButton")
- local Input_6 = Instance.new("TextBox")
- local Bbox = Instance.new("TextButton")
- local Input_7 = Instance.new("TextBox")
- local InputBox = Instance.new("TextButton")
- local Input_8 = Instance.new("TextBox")
- local MTText = Instance.new("TextLabel")
- local setMT = Instance.new("TextButton")
- local CheckBoxS = Instance.new("ImageButton")
- local slocktext = Instance.new("TextLabel")
- local CheckBoxJL = Instance.new("ImageButton")
- local JLtext = Instance.new("TextLabel")
- -- Properties
- SettingsGUI.Name = "SettingsGUI"
- SettingsGUI.Parent = game.CoreGui
- FeedbackMain.Name = "FeedbackMain"
- FeedbackMain.Parent = SettingsGUI
- FeedbackMain.BackgroundColor3 = Color3.new(1, 1, 1)
- FeedbackMain.Position = UDim2.new(1, 100, 1, -300)
- FeedbackMain.Size = UDim2.new(0, 300, 0, 300)
- 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)
- close.Name = "close"
- close.Parent = FeedbackMain
- close.BackgroundColor3 = Color3.new(1, 0, 0)
- close.BackgroundTransparency = 0.30000001192093
- close.BorderColor3 = Color3.new(1, 0, 0)
- close.Position = UDim2.new(1, -20, 1, -284)
- close.Size = UDim2.new(0, 20, 0, 20)
- close.Font = Enum.Font.SourceSans
- close.FontSize = Enum.FontSize.Size14
- close.Text = ""
- checkboxText.Name = "checkboxText"
- checkboxText.Parent = FeedbackMain
- checkboxText.BackgroundColor3 = Color3.new(1, 1, 1)
- checkboxText.BackgroundTransparency = 1
- checkboxText.Position = UDim2.new(0, 0, 0, 43)
- checkboxText.Size = UDim2.new(1, 0, 0, 30)
- checkboxText.Font = Enum.Font.Code
- checkboxText.FontSize = Enum.FontSize.Size18
- checkboxText.Text = "Notifications"
- 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"
- 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.Name = "Input"
- Input.Parent = MtimeInput
- Input.BackgroundColor3 = Color3.new(1, 1, 1)
- Input.BackgroundTransparency = 1
- Input.Position = UDim2.new(-0.699999988, 0, 0, -8)
- Input.Size = UDim2.new(0, 30, 0, 30)
- Input.Font = Enum.Font.SourceSansBold
- Input.FontSize = Enum.FontSize.Size18
- Input.MultiLine = true
- Input.Text = ""
- Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input.TextWrapped = true
- Input.TextXAlignment = Enum.TextXAlignment.Left
- 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.Code
- preText.FontSize = Enum.FontSize.Size18
- preText.Text = "Prefix"
- preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- SetBcolor.Name = "SetBcolor"
- SetBcolor.Parent = FeedbackMain
- SetBcolor.BackgroundColor3 = Color3.new(1, 1, 1)
- SetBcolor.BorderSizePixel = 5
- SetBcolor.Position = UDim2.new(0, 235, 0, 83)
- SetBcolor.Size = UDim2.new(0, 40, 0, 25)
- SetBcolor.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- SetBcolor.Font = Enum.Font.ArialBold
- SetBcolor.FontSize = Enum.FontSize.Size18
- SetBcolor.Text = "Set"
- RB.Name = "RB"
- RB.Parent = FeedbackMain
- RB.BackgroundColor3 = Color3.new(1, 1, 1)
- RB.Position = UDim2.new(0, 8, 0, 80)
- RB.Size = UDim2.new(0, 30, 0, 30)
- RB.AutoButtonColor = false
- RB.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- RB.Font = Enum.Font.SourceSans
- RB.FontSize = Enum.FontSize.Size14
- RB.Text = "R"
- Input_2.Name = "Input"
- Input_2.Parent = RB
- Input_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Input_2.BackgroundTransparency = 1
- Input_2.Position = UDim2.new(0, 0, 0, -8)
- Input_2.Size = UDim2.new(0, 30, 0, 30)
- Input_2.Font = Enum.Font.SourceSansBold
- Input_2.FontSize = Enum.FontSize.Size18
- Input_2.MultiLine = true
- Input_2.Text = ""
- Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input_2.TextWrapped = true
- Input_2.TextXAlignment = Enum.TextXAlignment.Left
- Input_2.TextYAlignment = Enum.TextYAlignment.Top
- 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"
- bcolortxt.Name = "bcolortxt"
- bcolortxt.Parent = FeedbackMain
- bcolortxt.BackgroundColor3 = Color3.new(1, 1, 1)
- bcolortxt.BackgroundTransparency = 1
- bcolortxt.Position = UDim2.new(0, 0, 0, 78)
- bcolortxt.Size = UDim2.new(1, 0, 0, 30)
- bcolortxt.Font = Enum.Font.Code
- bcolortxt.FontSize = Enum.FontSize.Size14
- bcolortxt.Text = "Notification\nBorder Color"
- bcolortxt.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- BB.Name = "BB"
- BB.Parent = FeedbackMain
- BB.BackgroundColor3 = Color3.new(1, 1, 1)
- BB.Position = UDim2.new(0, 60, 0, 80)
- BB.Size = UDim2.new(0, 30, 0, 30)
- BB.AutoButtonColor = false
- BB.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- BB.Font = Enum.Font.SourceSans
- BB.FontSize = Enum.FontSize.Size14
- BB.Text = "B"
- Input_3.Name = "Input"
- Input_3.Parent = BB
- Input_3.BackgroundColor3 = Color3.new(1, 1, 1)
- Input_3.BackgroundTransparency = 1
- Input_3.Position = UDim2.new(0, 0, 0, -8)
- Input_3.Size = UDim2.new(0, 30, 0, 30)
- Input_3.Font = Enum.Font.SourceSansBold
- Input_3.FontSize = Enum.FontSize.Size18
- Input_3.MultiLine = true
- Input_3.Text = ""
- Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input_3.TextWrapped = true
- Input_3.TextXAlignment = Enum.TextXAlignment.Left
- Input_3.TextYAlignment = Enum.TextYAlignment.Top
- GB.Name = "GB"
- GB.Parent = FeedbackMain
- GB.BackgroundColor3 = Color3.new(1, 1, 1)
- GB.Position = UDim2.new(0, 34, 0, 80)
- GB.Size = UDim2.new(0, 30, 0, 30)
- GB.AutoButtonColor = false
- GB.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- GB.Font = Enum.Font.SourceSans
- GB.FontSize = Enum.FontSize.Size14
- GB.Text = "G"
- Input_4.Name = "Input"
- Input_4.Parent = GB
- Input_4.BackgroundColor3 = Color3.new(1, 1, 1)
- Input_4.BackgroundTransparency = 1
- Input_4.Position = UDim2.new(0, 0, 0, -8)
- Input_4.Size = UDim2.new(0, 30, 0, 30)
- Input_4.Font = Enum.Font.SourceSansBold
- Input_4.FontSize = Enum.FontSize.Size18
- Input_4.MultiLine = true
- Input_4.Text = ""
- Input_4.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input_4.TextWrapped = true
- Input_4.TextXAlignment = Enum.TextXAlignment.Left
- Input_4.TextYAlignment = Enum.TextYAlignment.Top
- Rbox.Name = "Rbox"
- Rbox.Parent = FeedbackMain
- Rbox.BackgroundColor3 = Color3.new(1, 1, 1)
- Rbox.Position = UDim2.new(0, 8, 0, 80)
- Rbox.Size = UDim2.new(0, 30, 0, 30)
- Rbox.AutoButtonColor = false
- Rbox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- Rbox.Font = Enum.Font.SourceSans
- Rbox.FontSize = Enum.FontSize.Size14
- Rbox.Text = ""
- Input_5.Name = "Input"
- Input_5.Parent = Rbox
- Input_5.BackgroundColor3 = Color3.new(1, 1, 1)
- Input_5.BackgroundTransparency = 1
- Input_5.Position = UDim2.new(0, -9, 0, -8)
- Input_5.Size = UDim2.new(0, 30, 0, 30)
- Input_5.Font = Enum.Font.SourceSansBold
- Input_5.FontSize = Enum.FontSize.Size18
- Input_5.MultiLine = true
- Input_5.Text = ""
- Input_5.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input_5.TextWrapped = true
- Input_5.TextXAlignment = Enum.TextXAlignment.Left
- Input_5.TextYAlignment = Enum.TextYAlignment.Top
- Gbox.Name = "Gbox"
- Gbox.Parent = FeedbackMain
- Gbox.BackgroundColor3 = Color3.new(1, 1, 1)
- Gbox.Position = UDim2.new(0, 34, 0, 80)
- Gbox.Size = UDim2.new(0, 30, 0, 30)
- Gbox.AutoButtonColor = false
- Gbox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- Gbox.Font = Enum.Font.SourceSans
- Gbox.FontSize = Enum.FontSize.Size14
- Gbox.Text = ""
- Input_6.Name = "Input"
- Input_6.Parent = Gbox
- Input_6.BackgroundColor3 = Color3.new(1, 1, 1)
- Input_6.BackgroundTransparency = 1
- Input_6.Position = UDim2.new(0, -9, 0, -8)
- Input_6.Size = UDim2.new(0, 30, 0, 30)
- Input_6.Font = Enum.Font.SourceSansBold
- Input_6.FontSize = Enum.FontSize.Size18
- Input_6.MultiLine = true
- Input_6.Text = ""
- Input_6.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input_6.TextWrapped = true
- Input_6.TextXAlignment = Enum.TextXAlignment.Left
- Input_6.TextYAlignment = Enum.TextYAlignment.Top
- Bbox.Name = "Bbox"
- Bbox.Parent = FeedbackMain
- Bbox.BackgroundColor3 = Color3.new(1, 1, 1)
- Bbox.Position = UDim2.new(0, 60, 0, 80)
- Bbox.Size = UDim2.new(0, 30, 0, 30)
- Bbox.AutoButtonColor = false
- Bbox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- Bbox.Font = Enum.Font.SourceSans
- Bbox.FontSize = Enum.FontSize.Size14
- Bbox.Text = ""
- Input_7.Name = "Input"
- Input_7.Parent = Bbox
- Input_7.BackgroundColor3 = Color3.new(1, 1, 1)
- Input_7.BackgroundTransparency = 1
- Input_7.Position = UDim2.new(0, -9, 0, -8)
- Input_7.Size = UDim2.new(0, 30, 0, 30)
- Input_7.Font = Enum.Font.SourceSansBold
- Input_7.FontSize = Enum.FontSize.Size18
- Input_7.MultiLine = true
- Input_7.Text = ""
- Input_7.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input_7.TextWrapped = true
- Input_7.TextXAlignment = Enum.TextXAlignment.Left
- Input_7.TextYAlignment = Enum.TextYAlignment.Top
- 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_8.Name = "Input"
- Input_8.Parent = InputBox
- Input_8.BackgroundColor3 = Color3.new(1, 1, 1)
- Input_8.BackgroundTransparency = 1
- Input_8.Position = UDim2.new(0, 0, 0, -8)
- Input_8.Size = UDim2.new(0, 30, 0, 30)
- Input_8.Font = Enum.Font.SourceSansBold
- Input_8.FontSize = Enum.FontSize.Size18
- Input_8.MultiLine = true
- Input_8.Text = ""
- Input_8.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- Input_8.TextWrapped = true
- Input_8.TextXAlignment = Enum.TextXAlignment.Left
- Input_8.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.Code
- MTText.FontSize = Enum.FontSize.Size18
- MTText.Text = "Message Time"
- 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, 195)
- 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, 195)
- slocktext.Size = UDim2.new(1, 0, 0, 30)
- slocktext.Font = Enum.Font.Code
- slocktext.FontSize = Enum.FontSize.Size14
- slocktext.Text = "Allow Friends On Serverlock"
- slocktext.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, 230)
- CheckBoxJL.Size = UDim2.new(0, 30, 0, 30)
- CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641"
- JLtext.Name = "JLtext"
- JLtext.Parent = FeedbackMain
- JLtext.BackgroundColor3 = Color3.new(1, 1, 1)
- JLtext.BackgroundTransparency = 1
- JLtext.Position = UDim2.new(0, 0, 0, 230)
- JLtext.Size = UDim2.new(1, 0, 0, 30)
- JLtext.Font = Enum.Font.Code
- JLtext.FontSize = Enum.FontSize.Size14
- JLtext.Text = "Joined / Left Notifications"
- JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- wait(0.5)
- SettingsGUI.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-300),"Out","Quint",0.3,true)
- wait(0.5)
- SettingsGUI.FeedbackMain.close.MouseButton1Click:Connect(function()
- settingsOpen = false
- wait()
- SettingsGUI.FeedbackMain:TweenPosition(UDim2.new(1,100,1,-300),"Out","Quint",0.3,true)
- wait(1)
- SettingsGUI:Destroy()
- end)
- --Message time
- SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function()
- wait()
- game.Players.LocalPlayer.MSGtime.Value = SettingsGUI.FeedbackMain.MtimeInput.Input.Text
- Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)')
- end)
- --Border Color
- SettingsGUI.FeedbackMain.SetBcolor.MouseButton1Click:Connect(function()
- local frame = SettingsGUI.FeedbackMain
- wait()
- notifyNOT.BorderColor = BrickColor.new(frame.Rbox.Input.Text,frame.Gbox.Input.Text,frame.Bbox.Input.Text)
- Notify('Set Border Color.')
- 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"
- checkValue = game.Players.LocalPlayer.notify
- if checkValue.Value == true then
- SettingsGUI.FeedbackMain.CheckBox.Image = checked
- else
- SettingsGUI.FeedbackMain.CheckBox.Image = unchecked
- end
- SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function()
- if checkValue.Value then
- checkValue.Value = false
- SettingsGUI.FeedbackMain.CheckBox.Image = unchecked
- notifyNOT.Visible = false
- else
- checkValue.Value = true
- SettingsGUI.FeedbackMain.CheckBox.Image = checked
- notifyNOT.Visible = true
- 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"
- checkValue2 = game.Players.LocalPlayer.allowfriends
- if checkValue2.Value == true then
- SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2
- else
- SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2
- end
- SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function()
- if checkValue2.Value then
- checkValue2.Value = false
- SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2
- else
- checkValue2.Value = 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"
- checkValue3 = game.Players.LocalPlayer.JLnotify
- if checkValue3.Value == true then
- SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3
- else
- SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3
- end
- SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function()
- if checkValue3.Value then
- checkValue3.Value = false
- SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3
- else
- checkValue3.Value = true
- SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3
- 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)
- 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=user.PlayerGui;
- 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)
- 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
- _char(v).Head.Anchored = true
- end
- end
- end)
- addcmd('thaw', 'unfreezes a player',{'unfreeze'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i, v in pairs(players) do
- _char(v).Head.Anchored = false
- 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 == "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('sound', 'plays a sound',{'music','play'},
- function(args, speaker)
- 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)
- Notify('Playing: ' .. Asset.Name)
- 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
- end
- end
- end)
- addcmd('loadm','loads global messaging',{},
- function(args, speaker)
- 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.Torso.Anchored = true
- part.Parent = localp.Character
- part.CFrame = localp.Character.Torso.CFrame
- wait(0.5)
- localp.Character.Torso.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.Torso.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('Done!')
- 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]
- 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
- Notify('You need to do ;loadm first! (msg not found)')
- 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("Torso") then
- Instance.new("Explosion", char).Position = char.Torso.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.Torso)
- 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',{},
- 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',{},
- 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
- _char(admin).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 = _char(admin).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('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
- 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('gravity', 'change a players jump height',{'grav'},
- 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('time', 'change the time of day',{},
- function(args, speaker)
- if not args[1]then return end
- local time_=tonumber(args[1])
- Notify('Time set to ' .. args[1])
- game.Lighting:SetMinutesAfterMidnight(time_*60)
- 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()
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') 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])
- 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', 'unanchor the whole workspace',{'unanchor', '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('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',{},
- function(args, speaker)
- loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
- 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('fix', 'restores lighting and what not',{},
- function(args, speaker)
- game.Lighting.Ambient = origsettings.abt
- 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
- 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.Chat:Chat(gPlayers[v].Character.Head, GLS(false, 1))
- end
- end)
- addcmd('name', 'names player',{},
- 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 = 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',{},
- 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('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('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)
- addcmd('jail','jails player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- local JailPlayer = DATA.JAIL:Clone()
- JailPlayer.Parent = game.Workspace
- JailPlayer:MoveTo(pchar.Torso.Position)
- JailPlayer.Name = "JAIL_" .. gPlayers[v].Name
- if pchar:FindFirstChild("HumanoidRootPart") then
- pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame
- end
- end
- end)
- addcmd('unjail','unjails player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy()
- end
- 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 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
- 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()
- 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
- 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", Player.Character.Torso)
- w.Part0 = Player.Character.Torso
- w.Part1 = pchar.Torso
- local w2 = Instance.new("Weld", Player.Character.Head)
- w2.Part0 = Player.Character.Head
- w2.Part1 = pchar.Head
- local w3 = Instance.new("Weld", Player.Character:findFirstChild("Right Arm"))
- w3.Part0 = Player.Character:findFirstChild("Right Arm")
- w3.Part1 = pchar:findFirstChild("Right Arm")
- local w4 = Instance.new("Weld", Player.Character:findFirstChild("Left Arm"))
- w4.Part0 = Player.Character:findFirstChild("Left Arm")
- w4.Part1 = pchar:findFirstChild("Left Arm")
- local w5 = Instance.new("Weld", Player.Character:findFirstChild("Right Leg"))
- w5.Part0 = Player.Character:findFirstChild("Right Leg")
- w5.Part1 = pchar:findFirstChild("Right Leg")
- local w6 = Instance.new("Weld", Player.Character:findFirstChild("Left Leg"))
- w6.Part0 = Player.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("Torso") 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.Torso.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.Torso.Velocity = Vector3.new(0,0,0)
- local BF = Instance.new("BodyForce", pchar.Torso)
- BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
- end
- end
- end)
- addcmd('nograv','makes player have moon gravity',{''},
- 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 == "NoGrav" then
- v:Destroy()
- end
- end
- local BF = Instance.new("BodyForce", pchar.Torso)
- BF.Name = "NoGrav"
- BF.Force = Vector3.new(0,2700,0)
- end
- end)
- addcmd('grav','makes player have normal gravity',{''},
- 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 == "NoGrav" then
- v:Destroy()
- end
- 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('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('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
- 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.Torso:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:destroy()
- end
- end
- local prt = Instance.new('ParticleEmitter', char.Torso)
- 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.Torso: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('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)
- 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)
- Floating = false
- Fly = 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.Torso.CFrame * CFrame.new(0,-3.5,0)
- spawn(function()
- while wait(0.1) do
- if pchar:FindFirstChild("Float") then
- float.CFrame = pchar.Torso.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)
- local Clip = true
- addcmd('noclip','enables noclip',{},
- function(args, speaker)
- Notify('NoClip enabled')
- Clip = false
- wait(1)
- Name = game.Players.LocalPlayer.Name
- game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function (NC)
- delay(0, function()
- if NC.Name ~= "Memes" then
- NC:Destroy()
- end
- end)
- end)
- 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','disables noclip',{},
- function(args, speaker)
- Notify('NoClip disabled')
- Clip = true
- end)
- wait(0.1)
- 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)
- Notify("Version is " .. Version)
- end)
- Mouse.KeyDown:connect(function (Key)
- if Key:byte() == 29 then
- if Fly == false then
- execCmd("fly me", Player)
- Fly = true
- elseif Fly == true then
- execCmd("unfly me", Player)
- Fly = false
- end
- end
- end)
- -------------------
- ----Command bar----
- -------------------
- CMDbar = Instance.new('ScreenGui', game.CoreGui)
- CMDbar.Name = 'GUI'
- cmdBAR = Instance.new('TextBox', CMDbar)
- cmdBAR.Name = 'CMDbar'
- cmdBAR.Active = true
- cmdBAR.BackgroundColor = BrickColor.new(0,0,0)
- cmdBAR.BackgroundTransparency = 0.5
- cmdBAR.BorderColor = BrickColor.new(255,255,255)
- cmdBAR.BorderSizePixel = 1
- cmdBAR.Position = UDim2.new(0, 0, 0.6, 0)
- cmdBAR.Size = UDim2.new(0,200,0,20)
- cmdBAR.Font = 'SourceSans'
- cmdBAR.FontSize = 'Size18'
- cmdBAR.Text = 'Press ; to Execute a Command'
- cmdBAR.TextColor = BrickColor.new(255,255,255)
- cmdBAR.TextStrokeColor3 = Color3.new(0,0,0)
- -------------------
- ----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
- ---------------------------
- --Commands GUI properties--
- ---------------------------
- cmdGUI = Instance.new('ScreenGui', DATA)
- cmdGUI.Name = 'CMDs'
- cmdMAIN = Instance.new('Frame', cmdGUI)
- cmdMAIN.Name = 'MAIN'
- cmdMAIN.Active = true
- cmdMAIN.BackgroundColor = BrickColor.new(0,0,0)
- cmdMAIN.BackgroundTransparency = 0.5
- cmdMAIN.BorderColor = BrickColor.new(0,0,0)
- cmdMAIN.BorderSizePixel = 0
- cmdMAIN.Position = UDim2.new(0, -250, 1, -200)
- cmdMAIN.Size = UDim2.new(0,185,0,15)
- cmdMAIN.Draggable = true
- cmdCMDs = Instance.new('ScrollingFrame', cmdMAIN)
- cmdCMDs.Name = 'CMDs'
- cmdCMDs.BackgroundColor = BrickColor.new(0,0,0)
- cmdCMDs.BackgroundTransparency = 0.8
- cmdCMDs.BorderColor = BrickColor.new(0,0,0)
- cmdCMDs.BorderSizePixel = 0
- cmdCMDs.Position = UDim2.new(0,0,0,15)
- cmdCMDs.Size = UDim2.new(0,200,0,150)
- cmdCMDs.CanvasSize = UDim2.new(0,0,0,0)
- cmdCMDs.TopImage = 'rbxasset://textures/blackBkg_square.png'
- cmdCMDs.MidImage = 'rbxasset://textures/blackBkg_square.png'
- cmdCMDs.BottomImage = 'rbxasset://textures/blackBkg_square.png'
- cmdCMDs.ScrollBarThickness = 5
- cmdExit = Instance.new('TextButton', cmdMAIN)
- cmdExit.Name = 'Exit'
- cmdExit.BackgroundColor = BrickColor.new(255,0,0)
- cmdExit.BackgroundTransparency = 0.5
- cmdExit.BorderColor = BrickColor.new(255,0,0)
- cmdExit.BorderSizePixel = 0
- cmdExit.Position = UDim2.new(0,185,0,0)
- cmdExit.Size = UDim2.new(0,15,0,15)
- cmdExit.Text = ""
- cmdEx = Instance.new('TextLabel', cmdMAIN)
- cmdEx.Name = 'Example'
- cmdEx.BackgroundColor = BrickColor.new(0,0,0)
- cmdEx.BackgroundTransparency = 0.8
- cmdEx.BorderColor = BrickColor.new(0,0,0)
- cmdEx.BorderSizePixel = 0
- cmdEx.Position = UDim2.new(0,5,0,20)
- cmdEx.Size = UDim2.new(0,190,0,20)
- cmdEx.Visible = false
- cmdEx.TextColor = BrickColor.new(255,255,255)
- cmdEx.TextXAlignment = 'Left'
- espMAIN = Instance.new('BillboardGui', DATA)
- espMAIN.Name = 'MAIN'
- espMAIN.AlwaysOnTop = true
- espMAIN.ExtentsOffset = Vector3.new(0,1,0)
- espMAIN.Size = UDim2.new(0,5,0,5)
- espMAIN.StudsOffset = Vector3.new(0,1,0)
- espDot = Instance.new('Frame', espMAIN)
- espDot.BackgroundColor = BrickColor.new(42,181,255)
- espDot.BackgroundTransparency = 0.3
- espDot.BorderSizePixel = 0
- espDot.Position = UDim2.new(-0.5,0,-0.5,0)
- espDot.Size = UDim2.new(2,0,2,0)
- espDot.Visible = false
- espDot.ZIndex = 10
- espName = Instance.new('TextLabel', espMAIN)
- espName.Name = 'Name'
- espName.BackgroundColor = BrickColor.new(0,0,0)
- espName.BackgroundTransparency = 1
- espName.BorderColor = BrickColor.new(0,0,0)
- espName.BorderSizePixel = 0
- espName.Position = UDim2.new(0,0,0,-35)
- espName.Size = UDim2.new(1,0,10,0)
- espName.Visible = false
- espName.ZIndex = 10
- -------------------------
- ----Notify properties----
- -------------------------
- 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 = 0.5
- 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,25)
- 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 = 'SourceSans'
- notifyNOTE.Text = 'NOTIFY'
- notifyNOTE.TextColor = BrickColor.new(255,255,255)
- notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0)
- notifyNOTE.TextStrokeTransparency = 0.8
- modJAIL = Instance.new('Model', DATA)
- modJAIL.Name = 'JAIL'
- botJAIL = Instance.new('Part', modJAIL)
- botJAIL.Name = 'BOTTOM'
- botJAIL.BrickColor = BrickColor.new('Black')
- botJAIL.Transparency = 0.5
- botJAIL.Position = Vector3.new(-6.2,0.5,-11.6)
- botJAIL.Anchored = true
- botJAIL.Locked = true
- botJAIL.Size = Vector3.new(6,1,6)
- botJAIL.TopSurface = 'Smooth'
- botJAIL.BottomSurface = 'Smooth'
- topJAIL = Instance.new('Part', modJAIL)
- topJAIL.Name = 'BOTTOM'
- topJAIL.BrickColor = BrickColor.new('Black')
- topJAIL.Transparency = 0.5
- topJAIL.Position = Vector3.new(-6.2,7.5,-11.6)
- topJAIL.Anchored = true
- topJAIL.Locked = true
- topJAIL.Size = Vector3.new(6,1,6)
- topJAIL.TopSurface = 'Smooth'
- topJAIL.BottomSurface = 'Smooth'
- p1 = Instance.new('Part', modJAIL)
- p1.Name = 'MAIN'
- p1.BrickColor = BrickColor.new('Black')
- p1.Transparency = 1
- p1.Position = Vector3.new(-8.7,4,-11.6)
- p1.Rotation = Vector3.new(-180,0,-180)
- p1.Anchored = true
- p1.Locked = true
- p1.Size = Vector3.new(1,6,4)
- p1.TopSurface = 'Smooth'
- p1.BottomSurface = 'Smooth'
- p2 = Instance.new('Part', modJAIL)
- p2.BrickColor = BrickColor.new('Black')
- p2.Transparency = 0.5
- p2.Position = Vector3.new(-3.7,4,-14.1)
- p2.Anchored = true
- p2.Locked = true
- p2.Size = Vector3.new(1,6,1)
- p2.TopSurface = 'Smooth'
- p2.BottomSurface = 'Smooth'
- p3 = Instance.new('Part', modJAIL)
- p3.BrickColor = BrickColor.new('Black')
- p3.Transparency = 0.5
- p3.Position = Vector3.new(-8.7,4,-9.1)
- p3.Anchored = true
- p3.Locked = true
- p3.Size = Vector3.new(1,6,1)
- p3.TopSurface = 'Smooth'
- p3.BottomSurface = 'Smooth'
- p4 = Instance.new('Part', modJAIL)
- p4.BrickColor = BrickColor.new('Black')
- p4.Transparency = 0.5
- p4.Position = Vector3.new(-3.7,4,-9.1)
- p4.Anchored = true
- p4.Locked = true
- p4.Size = Vector3.new(1,6,1)
- p4.TopSurface = 'Smooth'
- p4.BottomSurface = 'Smooth'
- p5 = Instance.new('Part', modJAIL)
- p5.BrickColor = BrickColor.new('Black')
- p5.Transparency = 0.5
- p5.Position = Vector3.new(-8.7,4,-14.1)
- p5.Anchored = true
- p5.Locked = true
- p5.Size = Vector3.new(1,6,1)
- p5.TopSurface = 'Smooth'
- p5.BottomSurface = 'Smooth'
- p6 = Instance.new('Part', modJAIL)
- p6.BrickColor = BrickColor.new('Black')
- p6.Transparency = 1
- p6.Position = Vector3.new(-6.2,4,-14.1)
- p6.Rotation = Vector3.new(0,90,0)
- p6.Anchored = true
- p6.Locked = true
- p6.Size = Vector3.new(1,6,4)
- p6.TopSurface = 'Smooth'
- p6.BottomSurface = 'Smooth'
- p7 = Instance.new('Part', modJAIL)
- p7.BrickColor = BrickColor.new('Black')
- p7.Transparency = 1
- p7.Position = Vector3.new(-3.7,4,-11.6)
- p7.Anchored = true
- p7.Locked = true
- p7.Size = Vector3.new(1,6,4)
- p7.TopSurface = 'Smooth'
- p7.BottomSurface = 'Smooth'
- p8 = Instance.new('Part', modJAIL)
- p8.BrickColor = BrickColor.new('Black')
- p8.Transparency = 1
- p8.Position = Vector3.new(-6.2,4,-9.1)
- p8.Rotation = Vector3.new(0,90,0)
- p8.Anchored = true
- p8.Locked = true
- p8.Size = Vector3.new(1,6,4)
- p8.TopSurface = 'Smooth'
- p8.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 = DATA.CMDs:Clone()
- cmds.Parent = game.CoreGui
- local CMDsV = CMDsFolder:GetChildren()
- for i = 1, #CMDsV do
- local YSize = 25
- local Position = ((i * YSize) - YSize)
- local newcmd = cmds.MAIN.Example:Clone()
- newcmd.Parent = cmds.MAIN.CMDs
- newcmd.Visible = true
- newcmd.Position = UDim2.new(0,5,0, Position + 5)
- newcmd.Text = "" .. CMDsV[i].Value
- cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
- cmdwin = game.CoreGui.CMDs
- cmdwin.MAIN:TweenPosition(UDim2.new(0,15,1,-200),"Out","Quint",0.3,true)
- end
- end
- end
- addcmd('cmds','prints cmds',{},
- function(args, speaker)
- commands()
- end)
- -----------------
- ---Command Bar---
- -----------------
- CMDbar.CMDbar.FocusLost:connect(function(enterpressed)
- if enterpressed and CMDbar.CMDbar.Text ~= "" then
- spawn(function ()
- execCmd(CMDbar.CMDbar.Text, Player)
- end)
- end
- CMDbar.CMDbar:TweenPosition(UDim2.new(0, -500, 0.6, 0), "InOut", "Quad", 0.5, true, nil)
- end)
- Mouse.KeyDown:connect(function(Key)
- if Key:byte() == 59 then
- CMDbar.CMDbar:TweenPosition(UDim2.new(0.03, 0, 0.6, 0), "InOut", "Quad", 0.5, true, nil)
- CMDbar.CMDbar:CaptureFocus()
- end
- end)
- ----------------
- --ESP function--
- ----------------
- local ESP = false
- local track = false
- function Create(base, team)
- local MAIN = DATA.MAIN:Clone()
- local F = MAIN.DOT
- local ESP = MAIN.NAME
- MAIN.Parent = Player.PlayerGui
- MAIN.Adornee = base
- F.Visible = true
- ESP.Text = base.Parent.Name:upper()
- ESP.Visible = true
- end
- function Clear()
- for _,v in pairs(Player.PlayerGui:children()) do
- if v.Name == "MAIN" and v:IsA("BillboardGui") then
- v:Destroy()
- end
- end
- end
- function Find()
- Clear()
- track = true
- spawn(function()
- while wait() do
- if track then
- Clear()
- for i,v in pairs(game.Players:players()) do
- if v.Character and v.Character.Head then
- Create(v.Character.Head, true)
- end
- end
- end
- wait(1)
- end
- end)
- end
- Mouse.KeyDown:connect(function(Key)
- if Key:byte() == 30 then
- if ESP == false then
- Find()
- ESP = true
- elseif ESP == true then
- Clear()
- track = false
- ESP = false
- end
- end
- end)
- ---------------------------------
- ----Notify animation/movement----
- ---------------------------------
- local NOTIFY = DATA.Notification
- NOTIFY.Parent = game.CoreGui
- local usingNOTE = false
- function Notify(msg)
- if usingNOTE == false then
- if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
- spawn(function()
- NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quad", 0.5, true, nil)
- NOTIFY.NOTIFY.NOTE.Text = msg
- usingNOTE = true
- wait(3.5)
- NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,-0.2,0), "InOut", "Quad", 0.5, true, nil)
- usingNOTE = false
- end)
- end
- end
- end
- -------------------------
- --Startup notifications--
- -------------------------
- 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
- wait(1)
- 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(3)
- 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)
- if game.Workspace.FilteringEnabled == true then
- NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
- Notify('Filtering Status: ENABLED!')
- elseif game.Workspace.FilteringEnabled == false then
- NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
- Notify('Filtering Status: Disabled.')
- end
- wait(4)
- o1:Destroy()
- NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,255,255)
- local IY = Instance.new("ScreenGui")
- local IYM = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- IY.Name = "IY"
- IY.Parent = game.CoreGui
- IYM.Name = "IYM"
- IYM.Parent = IY
- IYM.BackgroundTransparency = 1
- IYM.Position = UDim2.new(0, 0, 0, 50)
- IYM.Size = UDim2.new(1, -10, 1, -10)
- TextLabel.Parent = IYM
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.00300000003, 0, 0.25, 10)
- TextLabel.Size = UDim2.new(1, -14, 1, 0)
- TextLabel.Font = Enum.Font.SourceSansItalic
- TextLabel.FontSize = Enum.FontSize.Size18
- TextLabel.Text = "Thanks for using Infinite Yield v3.9.5. Say ;cmds for commands."
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextStrokeTransparency = 0.75
- TextLabel.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel.TextYAlignment = Enum.TextYAlignment.Top
- wait(2)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(1,1,1)
- wait(0.05)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.2,0.2,0.2)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0,0,0)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.2,0.2,0.2)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(1,1,1)
- wait(0.05)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0.2,0.2,0.2)
- wait(0.01)
- IYM.TextLabel.TextStrokeColor3 = Color3.new(0,0,0)
- wait(1)
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(937297244)
- wait(1)
- if Asset.Name == "Infinite Yield 3.9.5" then
- print('Infinite Yield is up to date! (Version ' .. Version .. ')')
- UTD = true
- else
- UTD = false
- -- Objects
- 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")
- -- Properties
- 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."
- 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)
- 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
- wait(10)
- IYM.TextLabel.TextStrokeTransparency = 0.65
- wait(0.05)
- IYM.TextLabel.TextStrokeTransparency = 0.75
- wait(0.05)
- IYM.TextLabel.TextStrokeTransparency = 0.85
- wait(0.05)
- IYM.TextLabel.TextStrokeTransparency = 0.95
- wait(0.05)
- IYM.TextLabel.TextStrokeTransparency = 1
- wait(0.05)
- IYM.TextLabel.TextTransparency = 0.10
- wait(0.05)
- IYM.TextLabel.TextTransparency = 0.20
- wait(0.05)
- IYM.TextLabel.TextTransparency = 0.30
- wait(0.05)
- IYM.TextLabel.TextTransparency = 0.40
- wait(0.05)
- IYM.TextLabel.TextTransparency = 0.50
- wait(0.05)
- IYM.TextLabel.TextTransparency = 0.60
- wait(0.05)
- IYM.TextLabel.TextTransparency = 0.70
- wait(0.05)
- IYM.TextLabel.TextTransparency = 0.80
- wait(0.05)
- IYM.TextLabel.TextTransparency = 0.90
- wait(0.05)
- IYM.TextLabel.TextTransparency = 1
- wait(0.05)
- IY:Destroy()
Add Comment
Please, Sign In to add comment