Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------------------------
- ---------------------------------------------------------------
- -- _____ __ _ _ _ __ ___ _ _ --
- -- |_ _| / _(_) (_) | \ \ / (_) | | | | --
- -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | --
- -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | --
- -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | --
- -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| --
- -- --
- ---------------------------------------------------------------
- ---------------------------------------------------------------
- -------------------------Version 4.6.5-------------------------
- ---------------------------------------------------------------
- ---------------------IoIman616---Edge#3467---------------------
- -------------Desiredusername1233--mspcarl#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 _players = game:GetService('Players')
- MSGhook = false
- cmdbarpos = '1'
- cmdbarpos2 = '-24'
- cmdbarpos3 = '0'
- cmdbarpos4 = '5'
- local services={}
- local cmds={}
- local std={}
- local loopkillT = {}
- local rainbowT = {}
- local disabletoolsT = {}
- local banT = {}
- local adminT = {}
- function FIND_CHILD(PATH, NAME) if PATH:FindFirstChild(NAME) then return true end return false end
- function _G.ADD_ADMIN(ID) table.insert(adminT, ID) end
- local Version = '4.6.5'
- 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.CoreGui
- local Checked2 = Instance.new("BoolValue")
- Checked2.Name = "allowfriends"
- Checked2.Value = true
- Checked2.Parent = game.CoreGui
- local Checked3 = Instance.new("BoolValue")
- Checked3.Name = "JLnotify"
- Checked3.Value = true
- Checked3.Parent = game.CoreGui
- local Mtime = Instance.new("IntValue")
- Mtime.Name = "MSGtime"
- Mtime.Value = 7 -- this is adjustable in settings (default is 7 seconds)
- Mtime.Parent = game.CoreGui
- slock = false
- local jl = Instance.new("ScreenGui")
- jl.Name = "jl"
- jl.Parent = game.CoreGui
- MODE = 1
- game:GetService('RunService').Stepped:connect(function()
- wait(0.3)
- if game.CoreGui:FindFirstChild("SettingsGUI") and MODE == 1 then
- game.CoreGui.SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
- game.CoreGui.SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
- elseif game.CoreGui:FindFirstChild("SettingsGUI") and MODE == 2 then
- game.CoreGui.SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
- game.CoreGui.SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
- end
- end)
- jl = game.CoreGui.jl
- POPUP_SIZE = UDim2.new(0,0,-0.15,350)
- db = false
- PopUps = {}
- function changeOptions(N)
- MODE = N
- if N == 1 then
- game.CoreGui.SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
- game.CoreGui.SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
- elseif N == 2 then
- game.CoreGui.SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
- game.CoreGui.SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
- end
- end
- 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)
- game:GetService('RunService').Stepped:connect(function()
- if workspace:FindFirstChild("IYmessage") then
- MSGhook = true
- else
- MSGhook = false
- 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)
- function createPopUp(Name,N)
- local Frame = Instance.new("Frame")
- local ImageLabel = Instance.new("ImageLabel")
- local TextBox = Instance.new("TextBox")
- Frame.Parent = game.CoreGui
- Frame.BackgroundColor3 = Color3.new(0.658824, 0.654902, 0.666667)
- Frame.Position = UDim2.new(0,-360,0,330)
- Frame.Size = UDim2.new(0, 230, 0, 60)
- Frame.Style = Enum.FrameStyle.RobloxSquare
- ImageLabel.Parent = Frame
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 0.89999997615814
- ImageLabel.BorderColor3 = Color3.new(0, 0, 0)
- ImageLabel.Size = UDim2.new(0, 50, 1, 0)
- ImageLabel.Image = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..Name..[[&RAND]] .. math.random(1,100000000)
- TextBox.Parent = Frame
- TextBox.Active = false
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.BackgroundTransparency = 0.89999997615814
- TextBox.BorderColor3 = Color3.new(0, 0, 0)
- TextBox.Position = UDim2.new(0, 55, 0, 0)
- TextBox.Size = UDim2.new(0, 158, 1, 0)
- TextBox.ClearTextOnFocus = false
- TextBox.Font = Enum.Font.ArialBold
- TextBox.FontSize = Enum.FontSize.Size10
- TextBox.Text = "-Playername- Joined the Game"
- TextBox.TextColor3 = Color3.new(1, 1, 1)
- TextBox.TextStrokeTransparency = 0
- Frame:TweenPosition(UDim2.new(0,0,0,330),"Out","Quint",0.1,true)
- if N == 1 then
- TextBox.Text = Name.." Joined"
- elseif N == 2 then
- TextBox.Text = Name.." Joined"
- elseif N == 3 then
- TextBox.Text = Name.." Left"
- elseif N == 4 then
- TextBox.Text = Name.." Left"
- end
- Frame.Parent = jl
- table.insert(PopUps,Frame)
- local LocalPopUps = {}
- for i,v in pairs(PopUps) do
- table.insert(LocalPopUps,v)
- v.Position = v.Position + UDim2.new(0,0,0,20)
- end
- for j = 0, POPUP_SIZE.X.Offset,2 do
- for i,v in pairs(LocalPopUps) do
- if v ~= nil then
- v.Position = v.Position + UDim2.new(0,0,0,40)
- end
- end
- wait()
- end
- wait(5)
- table.remove(PopUps,1)
- Frame:TweenPosition(UDim2.new(0,-360,0,330),"Out","Quint",0.2,true)
- wait(0.3)
- Frame:remove()
- end
- function playerAdded(newPlayer)
- if (LP:isFriendsWith(newPlayer.userId)) and MODE >= 1 then
- coroutine.resume(coroutine.create(createPopUp),newPlayer.Name,1)
- elseif MODE == 2 then
- coroutine.resume(coroutine.create(createPopUp),newPlayer.Name,2)
- end
- end
- function PlayerRemoving(PlayerLeft)
- if (LP:isFriendsWith(PlayerLeft.userId)) and MODE >= 1 then
- coroutine.resume(coroutine.create(createPopUp),PlayerLeft.Name,3)
- elseif MODE == 2 then
- coroutine.resume(coroutine.create(createPopUp),PlayerLeft.Name,4)
- end
- end
- 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)
- -------------------------------------------
- ---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] [ID]',
- '27. charplr [plr] [plr]',
- '28. unchar [plr]',
- '29. speed [plr] [num]',
- '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. jumppower [plr] [num]',
- '129. shiny [plr]',
- '130. serverlock',
- '131. unserverlock',
- '132. headshake [plr]',
- '133. addstat [plr] [text]',
- '134. change [stat] [plr] [num]',
- '135. headsize [plr] [num]',
- '136. bang [plr]',
- '137. chat [plr] [msg]',
- '138. gravity [num]',
- '139. disabletools [plr]',
- '140. enabletools [plr]',
- '141. nil [plr]',
- '142. rainbowname [plr]',
- '143. unrainbowname [plr]',
- '144. mesh [plr] [mesh] [txtr]',
- '145. neon [plr]',
- '146. longneck [plr]',
- '147. unlongneck [plr]',
- '148. time [num]',
- '149. spasm [plr]',
- '150. meteor [plr]',
- '151. countdown [num]',
- '152. bomb [plr]',
- '153. terrain',
- '154. rocket [plr]',
- '155. fly',
- '156. unfly',
- '157. crash [plr]',
- '158. kick [plr]',
- '159. admin [plr]',
- '160. unadmin [plr]',
- '161. admins',
- '162. bans',
- '163. bait',
- '164. strobe',
- '165. esp [plr]',
- '166. noesp [plr]',
- '167. executor',
- '168. prefix [string]',
- '169. cmds',
- '170. rejoin',
- '171. version'
- }
- -------
- --Lib--
- -------
- function updateevents(player) local C = player.Chatted:connect(function(M) if isAdmin(player) then do_exec(M, player) end end) table.insert(services.events, C) end
- std.inTable=function(tbl,val)
- if tbl==nil then return false end
- for _,v in pairs(tbl)do
- if v==val then return true end
- end
- return false
- end
- std.out=function(str)
- print(str)
- end
- std.list=function(tbl)
- local str=''
- for i,v in pairs(tbl)do
- str=str..tostring(v)
- if i~=#tbl then str=str..', ' end
- end
- return str
- end
- std.endat=function(str,val)
- local z=str:find(val)
- if z then
- return str:sub(0,z-string.len(val)),true
- else
- return str,false
- end
- end
- std.first=function(str) return str:sub(1,1) end
- function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end
- local exec=function(str)
- spawn(function()
- local script, loaderr = loadstring(str)
- if not script then
- error(loaderr)
- else
- script()
- end
- end)
- end
- local findCmd=function(cmd_name)
- for i,v in pairs(cmds)do
- if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
- return v
- end
- end
- end
- local getCmd=function(msg)
- local cmd,hassplit=std.endat(msg:lower(),split)
- if hassplit then
- return {cmd,true}
- else
- return {cmd,false}
- end
- end
- local getprfx=function(strn)
- if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
- elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
- end return
- end
- function getArgs(str) local A = {} local NA = nil local HS = nil local S = str repeat NA, HS = std.endat(S:lower(), split) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(split) + 1) end until not HS return A end
- function getCapArgs(str) local A = {} local NA = nil local HS = nil local S = str repeat NA, HS = std.endat(S, split) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(split) + 1) end until not HS return A end
- _players.PlayerAdded:connect(function(player)
- if slock == true and game.CoreGui.allowfriends.Value == false then player.CharacterAdded:connect(function()
- spawn(function()
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
- local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- Plat.Name = 'IYkick'
- Plat.Size = Vector3.new(100, 1, 100)
- local PART = Instance.new('Part', PLAYER.Character)
- PART.Position = Plat.Position - Vector3.new(0, 3, 0)
- PART.Size = Vector3.new(100, 1, 100)
- PART.Anchored = true
- PART.Transparency = 1
- Plat.Transparency = 1
- repeat wait(1)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- end
- Kick(PLAYER)
- until not game.Players:findFirstChild(PLAYER)
- end
- end
- Kick(player)
- end)
- end)
- elseif slock == true and game.CoreGui.allowfriends.Value == true and not player:IsFriendsWith(user.userId) then
- spawn(function()
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
- local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- Plat.Name = 'IYkick'
- Plat.Size = Vector3.new(100, 1, 100)
- local PART = Instance.new('Part', PLAYER.Character)
- PART.Position = Plat.Position - Vector3.new(0, 3, 0)
- PART.Size = Vector3.new(100, 1, 100)
- PART.Anchored = true
- PART.Transparency = 1
- Plat.Transparency = 1
- repeat wait(1)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- end
- Kick(PLAYER)
- until not game.Players:findFirstChild(PLAYER)
- end
- end
- Kick(player)
- end)
- end
- if FindTable(banT, player.userId) then
- spawn(function()
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- Notify('Banned player, ' .. PLAYER.Name .. ' attepted to join')
- 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) then return end str = str:gsub('/e ', '') local t = getprfx(str) if not t then return end str = str:sub(t[2]) if t[1]=='exec' then exec(str) elseif t[1]=='cmd' then execCmd(str, plr) end end
- updateevents(LP)
- _players.PlayerAdded:connect(function(player)
- updateevents(player)
- end)
- _G.exec_cmd = execCmd
- --game.Players.LocalPlayer.Chatted:connect(doexec)
- function GLS(lower, start) local AA = '' for i,v in pairs(cargs) do if i > start then if AA ~= '' then AA = AA .. ' ' .. v else AA = AA .. v end end end if not lower then return AA else return string.lower(AA) end end
- local _char=function(plr_name)
- for i,v in pairs(game.Players:GetChildren())do
- if v:IsA'Player'then
- if v.Name==plr_name then return v.Character end
- end
- end
- return
- end
- local _plr=function(plr_name)
- for i,v in pairs(game.Players:GetChildren())do
- if v:IsA'Player'then
- if v.Name==plr_name then return v end
- end
- end
- return
- end
- function addcmd(name,desc,alias,func)
- cmds[#cmds+1]=
- {
- NAME=name;
- DESC=desc;
- ALIAS=alias;
- FUNC=func;
- }
- end
- 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 isAdmin(v) then table.insert(name_table, v.Name) end end
- elseif name == 'nonadmins' then
- for i,v in pairs(_players:GetPlayers()) do if not isAdmin(v) 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 _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.CoreGui.MSGtime.Value)
- workspace.IYmessage.Text = ''
- b:Destroy()
- elseif MSGhook == false then
- execCmd("loadm")
- repeat wait() until MSGhook == true
- 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.CoreGui.MSGtime.Value)
- workspace.IYmessage.Text = ''
- b:Destroy()
- end
- end
- function rape(victim, speaker)
- spawn(function()
- local P1 = speaker.Character.Torso
- local V1 = _players[victim].Character.Torso
- V1.Parent.Humanoid.PlatformStand = true
- P1['Left Shoulder']:destroy() local LA1 = Instance.new('Weld', P1) LA1.Part0 = P1 LA1.Part1 = P1.Parent['Left Arm'] LA1.C0 = CFrame.new(-1.5, 0, 0) LA1.Name = 'Left Shoulder'
- P1['Right Shoulder']:destroy() local RS1 = Instance.new('Weld', P1) RS1.Part0 = P1 RS1.Part1 = P1.Parent['Right Arm'] RS1.C0 = CFrame.new(1.5, 0, 0) RS1.Name = 'Right Shoulder'
- V1['Left Shoulder']:destroy() local LS2 = Instance.new('Weld', V1) LS2.Part0 = V1 LS2.Part1 = V1.Parent['Left Arm'] LS2.C0 = CFrame.new(-1.5, 0, 0) LS2.Name = 'Left Shoulder'
- V1['Right Shoulder']:destroy() local RS2 = Instance.new('Weld', V1) RS2.Part0 = V1 RS2.Part1 = V1.Parent['Right Arm'] RS2.C0 = CFrame.new(1.5, 0, 0) RS2.Name = 'Right Shoulder'
- V1['Left Hip']:destroy() local LH2 = Instance.new('Weld', V1) LH2.Part0 = V1 LH2.Part1 = V1.Parent['Left Leg'] LH2.C0 = CFrame.new(-0.5, -2, 0) LH2.Name = 'Left Hip'
- V1['Right Hip']:destroy() local RH2 = Instance.new('Weld', V1) RH2.Part0 = V1 RH2.Part1 = V1.Parent['Right Leg'] RH2.C0 = CFrame.new(0.5, -2, 0) RH2.Name = 'Right Hip'
- local D = Instance.new('Part', P1) D.TopSurface = 0 D.BottomSurface = 0 D.CanCollide = false D.BrickColor = BrickColor.new('Pastel brown') D.Shape = 'Ball' D.Size = Vector3.new(1, 1, 1)
- local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
- fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
- local D2 = D:Clone() D2.Parent = P1
- fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
- local C = Instance.new('Part', P1) C.TopSurface = 0 C.BottomSurface = 0 C.CanCollide = false C.BrickColor = BrickColor.new('Pastel brown') C.Size = Vector3.new(0.4, 1.3, 0.4)
- fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
- local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
- fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
- local CM = Instance.new('CylinderMesh', C)
- local BL = Instance.new('Part', V1) BL.TopSurface = 0 BL.BottomSurface = 0 BL.CanCollide = false BL.BrickColor = BrickColor.new('Pastel brown') BL.Shape = 'Ball' BL.Size = Vector3.new(1, 1, 1)
- local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
- fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
- local BR = Instance.new('Part', V1) BR.TopSurface = 0 BR.BottomSurface = 0 BR.CanCollide = false BR.BrickColor = BrickColor.new('Pastel brown') BR.Shape = 'Ball' BR.Size = Vector3.new(1, 1, 1)
- local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
- fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
- local BLN = Instance.new('Part', V1) BLN.TopSurface = 0 BLN.BottomSurface = 0 BLN.CanCollide = false BLN.BrickColor = BrickColor.new('Pink') BLN.Shape = 'Ball' BLN.Size = Vector3.new(1, 1, 1)
- local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
- fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
- local BRN = Instance.new('Part', V1) BRN.TopSurface = 0 BRN.BottomSurface = 0 BRN.CanCollide = false BRN.BrickColor = BrickColor.new('Pink') BRN.Shape = 'Ball' BRN.Size = Vector3.new(1, 1, 1)
- local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
- fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
- LH2.C1 = CFrame.new(0.2, 1.6, 0.4) * CFrame.Angles(3.9, -0.4, 0) RH2.C1 = CFrame.new(-0.2, 1.6, 0.4) * CFrame.Angles(3.9, 0.4, 0)
- LS2.C1 = CFrame.new(-0.2, 0.9, 0.6) * CFrame.Angles(3.9, -0.2, 0) RS2.C1 = CFrame.new(0.2, 0.9, 0.6) * CFrame.Angles(3.9, 0.2, 0)
- LA1.C1 = CFrame.new(-0.5, 0.7, 0) * CFrame.Angles(-0.9, -0.4, 0) RS1.C1 = CFrame.new(0.5, 0.7, 0) * CFrame.Angles(-0.9, 0.4, 0)
- if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
- WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
- local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
- end)
- spawn(function() while wait() do for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, -0.3, 0) end for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, 0.3, 0) end end end)
- end
- ----------------
- ----Commands----
- ----------------
- addcmd('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('rocket','attaches a player to a rocket',{'missile'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- spawn(function()
- local m = missile:Clone()
- m.Parent = workspace
- local W = Instance.new('Weld', m)
- W.Part0 = W.Parent
- W.Part1 = pchar.Torso
- W.C1 = CFrame.new(0, 0.5, 1)
- m.force.Force = Vector3.new(0, 15000, 0)
- wait(0.01)
- pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
- wait(5)
- Instance.new('Explosion', m).Position = m.Position
- wait(0.01)
- pchar:BreakJoints()
- wait(1)
- m:destroy()
- end)
- end
- end)
- addcmd('rejoin','makes you rejoin the game',{'rj'},
- function(args, speaker)
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- 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('shiny', 'makes a player shine',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- for i,v in pairs(pchar:GetChildren()) do
- if v.ClassName == "Decal" or v.ClassName == "Texture" then
- v:Remove()
- end
- if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then
- v.Reflectance = 1
- v.Material = "Plastic"
- end
- end
- end)
- end
- end)
- addcmd('light', 'givs em light',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar=_char(v)
- 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 = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if FindTable(loopkillT, _players[v].Name) then
- table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name))
- if args[1] == "all" then
- Notify('No longer loopkilling everyone')
- elseif args[1] == "others" then
- Notify('No longer loopkilling others')
- elseif args[1] == "friends" then
- Notify('No longer loopkilling friends')
- elseif args[1] == "nonfriends" then
- Notify('No longer loopkilling nonfriends')
- elseif args[1] == "team" then
- Notify('No longer loopkilling your team')
- elseif args[1] == "nonteam" then
- Notify('No longer loopkilling the opposing team')
- elseif args[1] == "guests" then
- Notify('No longer loopkilling guests')
- elseif args[1] == "admins" then
- Notify('No longer loopkilling admins')
- elseif args[1] == "nonadmins" then
- Notify('No longer loopkilling nonadmins')
- else
- Notify('No longer loopkilling ' .. gPlayers[v].Name)
- end
- end
- end
- end)
- addcmd('disabletools', 'removes their tools',{'loopremovetools'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if not FindTable(disabletoolsT, _players[v].Name) then
- table.insert(disabletoolsT, _players[v].Name)
- if args[1] == "all" then
- Notify('Disabled tools for everyone')
- elseif args[1] == "others" then
- Notify('Disabled tools for others')
- elseif args[1] == "friends" then
- Notify('Disabled tools for friends')
- elseif args[1] == "nonfriends" then
- Notify('Disabled tools for nonfriends')
- elseif args[1] == "team" then
- Notify('Disabled tools for your team')
- elseif args[1] == "nonteam" then
- Notify('Disabled tools for the opposing team')
- elseif args[1] == "guests" then
- Notify('Disabled tools for guests')
- elseif args[1] == "admins" then
- Notify('Disabled tools for admins')
- elseif args[1] == "nonadmins" then
- Notify('Disabled tools for nonadmins')
- else
- Notify('Disabled tools for ' .. gPlayers[v].Name)
- end
- end
- end
- end)
- addcmd('rainbowname', 'color spam their name tag',{'rname'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if not FindTable(rainbowT, _players[v].Name) then
- table.insert(rainbowT, _players[v].Name)
- if args[1] == "all" then
- Notify('Gave everyone rainbow name')
- elseif args[1] == "others" then
- Notify('Gave others rainbow name')
- elseif args[1] == "friends" then
- Notify('Gave friends rainbow name')
- elseif args[1] == "nonfriends" then
- Notify('Gave nonfriends rainbow name')
- elseif args[1] == "team" then
- Notify('Gave your team rainbow name')
- elseif args[1] == "nonteam" then
- Notify('Gave the opposing team rainbow name')
- elseif args[1] == "guests" then
- Notify('Gave guests rainbow name')
- elseif args[1] == "admins" then
- Notify('Gave admins rainbowname')
- elseif args[1] == "nonadmins" then
- Notify('Gave nonadmins rainbow name')
- else
- Notify('Gave ' .. gPlayers[v].Name .. ' rainbow name')
- end
- end
- end
- end)
- addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if FindTable(rainbowT, _players[v].Name) then
- table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name))
- _players[v].Neutral = true
- if args[1] == "all" then
- Notify('Disabled rainbow name for everyone')
- elseif args[1] == "others" then
- Notify('Disabled others rainbow name')
- elseif args[1] == "friends" then
- Notify('Disabled friends rainbow name')
- elseif args[1] == "nonfriends" then
- Notify('Disabled non friends rainbow name')
- elseif args[1] == "team" then
- Notify('Disabled rainbow name for your team')
- elseif args[1] == "nonteam" then
- Notify('Disabled rainbow name for the opposing team')
- elseif args[1] == "guests" then
- Notify('Disabled rainbow name for guests')
- elseif args[1] == "admins" then
- Notify('Disabled rainbow name for admins')
- elseif args[1] == "nonadmins" then
- Notify('Disabled rainbow name for non admins')
- else
- Notify('Disabled rainbow name for ' .. gPlayers[v].Name)
- end
- end
- end
- end)
- addcmd('terrain', 'gives you terrain tools',{'tt'},
- function(args, speaker)
- --Terrain Script
- --Edge#3467/IoIman616
- for _, child in pairs( game.Players.LocalPlayer.PlayerGui:GetChildren()) do
- if child.Name == "MaterialGui" then
- child:Destroy()
- end
- end
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- HopperBin0 = Instance.new("HopperBin")
- HopperBin0.Name = "Terrain Build"
- HopperBin0.Parent = mas
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- wait(0.01)
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- ScreenGui0 = Instance.new("ScreenGui")
- ImageLabel1 = Instance.new("ImageLabel")
- ImageButton2 = Instance.new("ImageButton")
- Frame3 = Instance.new("Frame")
- NumberValue4 = Instance.new("NumberValue")
- ImageButton5 = Instance.new("ImageButton")
- Frame6 = Instance.new("Frame")
- NumberValue7 = Instance.new("NumberValue")
- ImageButton8 = Instance.new("ImageButton")
- Frame9 = Instance.new("Frame")
- NumberValue10 = Instance.new("NumberValue")
- ImageButton11 = Instance.new("ImageButton")
- Frame12 = Instance.new("Frame")
- NumberValue13 = Instance.new("NumberValue")
- ImageButton14 = Instance.new("ImageButton")
- Frame15 = Instance.new("Frame")
- NumberValue16 = Instance.new("NumberValue")
- ImageButton17 = Instance.new("ImageButton")
- Frame18 = Instance.new("Frame")
- NumberValue19 = Instance.new("NumberValue")
- ImageButton20 = Instance.new("ImageButton")
- Frame21 = Instance.new("Frame")
- NumberValue22 = Instance.new("NumberValue")
- ImageButton23 = Instance.new("ImageButton")
- Frame24 = Instance.new("Frame")
- NumberValue25 = Instance.new("NumberValue")
- ImageButton26 = Instance.new("ImageButton")
- Frame27 = Instance.new("Frame")
- NumberValue28 = Instance.new("NumberValue")
- ImageButton29 = Instance.new("ImageButton")
- Frame30 = Instance.new("Frame")
- NumberValue31 = Instance.new("NumberValue")
- ImageButton32 = Instance.new("ImageButton")
- Frame33 = Instance.new("Frame")
- NumberValue34 = Instance.new("NumberValue")
- ImageButton35 = Instance.new("ImageButton")
- Frame36 = Instance.new("Frame")
- NumberValue37 = Instance.new("NumberValue")
- ImageButton38 = Instance.new("ImageButton")
- Frame39 = Instance.new("Frame")
- NumberValue40 = Instance.new("NumberValue")
- ImageButton41 = Instance.new("ImageButton")
- Frame42 = Instance.new("Frame")
- NumberValue43 = Instance.new("NumberValue")
- ImageButton44 = Instance.new("ImageButton")
- Frame45 = Instance.new("Frame")
- NumberValue46 = Instance.new("NumberValue")
- ImageButton47 = Instance.new("ImageButton")
- Frame48 = Instance.new("Frame")
- NumberValue49 = Instance.new("NumberValue")
- ImageButton50 = Instance.new("ImageButton")
- Frame51 = Instance.new("Frame")
- NumberValue52 = Instance.new("NumberValue")
- ImageButton53 = Instance.new("ImageButton")
- Frame54 = Instance.new("Frame")
- ScreenGui0.Name = "MaterialGui"
- ScreenGui0.Parent = mas
- ImageLabel1.Name = "MaterialMenu"
- ImageLabel1.Parent = ScreenGui0
- ImageLabel1.Transparency = 1
- ImageLabel1.Size = UDim2.new(0, 100, 0, 450)
- ImageLabel1.Position = UDim2.new(0, 0, 1, -550)
- ImageLabel1.BackgroundTransparency = 1
- ImageLabel1.ZIndex = 2
- ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png"
- ImageButton2.Name = "Grass"
- ImageButton2.Parent = ImageLabel1
- ImageButton2.Transparency = 1
- ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0)
- ImageButton2.BackgroundTransparency = 1
- ImageButton2.ZIndex = 4
- ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112"
- Frame3.Name = "Selection"
- Frame3.Parent = ImageButton2
- Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame3.BorderSizePixel = 0
- Frame3.ZIndex = 3
- NumberValue4.Name = "num"
- NumberValue4.Parent = ImageButton2
- NumberValue4.Value = 1
- ImageButton5.Name = "Sand"
- ImageButton5.Parent = ImageLabel1
- ImageButton5.Transparency = 1
- ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0)
- ImageButton5.BackgroundTransparency = 1
- ImageButton5.ZIndex = 4
- ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652"
- Frame6.Name = "Selection"
- Frame6.Parent = ImageButton5
- Frame6.Transparency = 1
- Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame6.BackgroundTransparency = 1
- Frame6.BorderSizePixel = 0
- Frame6.ZIndex = 3
- NumberValue7.Name = "num"
- NumberValue7.Parent = ImageButton5
- NumberValue7.Value = 2
- ImageButton8.Name = "Brick"
- ImageButton8.Parent = ImageLabel1
- ImageButton8.Transparency = 1
- ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0)
- ImageButton8.BackgroundTransparency = 1
- ImageButton8.ZIndex = 4
- ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537"
- Frame9.Name = "Selection"
- Frame9.Parent = ImageButton8
- Frame9.Transparency = 1
- Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame9.BackgroundTransparency = 1
- Frame9.BorderSizePixel = 0
- Frame9.ZIndex = 3
- NumberValue10.Name = "num"
- NumberValue10.Parent = ImageButton8
- NumberValue10.Value = 3
- ImageButton11.Name = "Granite"
- ImageButton11.Parent = ImageLabel1
- ImageButton11.Transparency = 1
- ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0)
- ImageButton11.BackgroundTransparency = 1
- ImageButton11.ZIndex = 4
- ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153"
- Frame12.Name = "Selection"
- Frame12.Parent = ImageButton11
- Frame12.Transparency = 1
- Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame12.BackgroundTransparency = 1
- Frame12.BorderSizePixel = 0
- Frame12.ZIndex = 3
- NumberValue13.Name = "num"
- NumberValue13.Parent = ImageButton11
- NumberValue13.Value = 4
- ImageButton14.Name = "Asphalt"
- ImageButton14.Parent = ImageLabel1
- ImageButton14.Transparency = 1
- ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0)
- ImageButton14.BackgroundTransparency = 1
- ImageButton14.ZIndex = 4
- ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038"
- Frame15.Name = "Selection"
- Frame15.Parent = ImageButton14
- Frame15.Transparency = 1
- Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame15.BackgroundTransparency = 1
- Frame15.BorderSizePixel = 0
- Frame15.ZIndex = 3
- NumberValue16.Name = "num"
- NumberValue16.Parent = ImageButton14
- NumberValue16.Value = 5
- ImageButton17.Name = "Iron"
- ImageButton17.Parent = ImageLabel1
- ImageButton17.Transparency = 1
- ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0)
- ImageButton17.BackgroundTransparency = 1
- ImageButton17.ZIndex = 4
- ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093"
- Frame18.Name = "Selection"
- Frame18.Parent = ImageButton17
- Frame18.Transparency = 1
- Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame18.BackgroundTransparency = 1
- Frame18.BorderSizePixel = 0
- Frame18.ZIndex = 3
- NumberValue19.Name = "num"
- NumberValue19.Parent = ImageButton17
- NumberValue19.Value = 6
- ImageButton20.Name = "Aluminum"
- ImageButton20.Parent = ImageLabel1
- ImageButton20.Transparency = 1
- ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0)
- ImageButton20.BackgroundTransparency = 1
- ImageButton20.ZIndex = 4
- ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995"
- Frame21.Name = "Selection"
- Frame21.Parent = ImageButton20
- Frame21.Transparency = 1
- Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame21.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame21.BackgroundTransparency = 1
- Frame21.BorderSizePixel = 0
- Frame21.ZIndex = 3
- NumberValue22.Name = "num"
- NumberValue22.Parent = ImageButton20
- NumberValue22.Value = 7
- ImageButton23.Name = "Gold"
- ImageButton23.Parent = ImageLabel1
- ImageButton23.Transparency = 1
- ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0)
- ImageButton23.BackgroundTransparency = 1
- ImageButton23.ZIndex = 4
- ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118"
- Frame24.Name = "Selection"
- Frame24.Parent = ImageButton23
- Frame24.Transparency = 1
- Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame24.BackgroundTransparency = 1
- Frame24.BorderSizePixel = 0
- Frame24.ZIndex = 3
- NumberValue25.Name = "num"
- NumberValue25.Parent = ImageButton23
- NumberValue25.Value = 8
- ImageButton26.Name = "Plank"
- ImageButton26.Parent = ImageLabel1
- ImageButton26.Transparency = 1
- ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0)
- ImageButton26.BackgroundTransparency = 1
- ImageButton26.ZIndex = 4
- ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015"
- Frame27.Name = "Selection"
- Frame27.Parent = ImageButton26
- Frame27.Transparency = 1
- Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame27.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame27.BackgroundTransparency = 1
- Frame27.BorderSizePixel = 0
- Frame27.ZIndex = 3
- NumberValue28.Name = "num"
- NumberValue28.Parent = ImageButton26
- NumberValue28.Value = 9
- ImageButton29.Name = "Log"
- ImageButton29.Parent = ImageLabel1
- ImageButton29.Transparency = 1
- ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0)
- ImageButton29.BackgroundTransparency = 1
- ImageButton29.ZIndex = 4
- ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051"
- Frame30.Name = "Selection"
- Frame30.Parent = ImageButton29
- Frame30.Transparency = 1
- Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame30.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame30.BackgroundTransparency = 1
- Frame30.BorderSizePixel = 0
- Frame30.ZIndex = 3
- NumberValue31.Name = "num"
- NumberValue31.Parent = ImageButton29
- NumberValue31.Value = 10
- ImageButton32.Name = "Gravel"
- ImageButton32.Parent = ImageLabel1
- ImageButton32.Transparency = 1
- ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0)
- ImageButton32.BackgroundTransparency = 1
- ImageButton32.ZIndex = 4
- ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206"
- Frame33.Name = "Selection"
- Frame33.Parent = ImageButton32
- Frame33.Transparency = 1
- Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame33.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame33.BackgroundTransparency = 1
- Frame33.BorderSizePixel = 0
- Frame33.ZIndex = 3
- NumberValue34.Name = "num"
- NumberValue34.Parent = ImageButton32
- NumberValue34.Value = 11
- ImageButton35.Name = "Cinder"
- ImageButton35.Parent = ImageLabel1
- ImageButton35.Transparency = 1
- ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0)
- ImageButton35.BackgroundTransparency = 1
- ImageButton35.ZIndex = 4
- ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103"
- Frame36.Name = "Selection"
- Frame36.Parent = ImageButton35
- Frame36.Transparency = 1
- Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame36.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame36.BackgroundTransparency = 1
- Frame36.BorderSizePixel = 0
- Frame36.ZIndex = 3
- NumberValue37.Name = "num"
- NumberValue37.Parent = ImageButton35
- NumberValue37.Value = 12
- ImageButton38.Name = "Stone"
- ImageButton38.Parent = ImageLabel1
- ImageButton38.Transparency = 1
- ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0)
- ImageButton38.BackgroundTransparency = 1
- ImageButton38.ZIndex = 4
- ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804"
- Frame39.Name = "Selection"
- Frame39.Parent = ImageButton38
- Frame39.Transparency = 1
- Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame39.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame39.BackgroundTransparency = 1
- Frame39.BorderSizePixel = 0
- Frame39.ZIndex = 3
- NumberValue40.Name = "num"
- NumberValue40.Parent = ImageButton38
- NumberValue40.Value = 13
- ImageButton41.Name = "Cement"
- ImageButton41.Parent = ImageLabel1
- ImageButton41.Transparency = 1
- ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0)
- ImageButton41.BackgroundTransparency = 1
- ImageButton41.ZIndex = 4
- ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059"
- Frame42.Name = "Selection"
- Frame42.Parent = ImageButton41
- Frame42.Transparency = 1
- Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame42.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame42.BackgroundTransparency = 1
- Frame42.BorderSizePixel = 0
- Frame42.ZIndex = 3
- NumberValue43.Name = "num"
- NumberValue43.Parent = ImageButton41
- NumberValue43.Value = 14
- ImageButton44.Name = "Red Plastic"
- ImageButton44.Parent = ImageLabel1
- ImageButton44.Transparency = 1
- ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0)
- ImageButton44.BackgroundTransparency = 1
- ImageButton44.ZIndex = 4
- ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848"
- Frame45.Name = "Selection"
- Frame45.Parent = ImageButton44
- Frame45.Transparency = 1
- Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame45.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame45.BackgroundTransparency = 1
- Frame45.BorderSizePixel = 0
- Frame45.ZIndex = 3
- NumberValue46.Name = "num"
- NumberValue46.Parent = ImageButton44
- NumberValue46.Value = 15
- ImageButton47.Name = "Blue Plastic"
- ImageButton47.Parent = ImageLabel1
- ImageButton47.Transparency = 1
- ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0)
- ImageButton47.BackgroundTransparency = 1
- ImageButton47.ZIndex = 4
- ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924"
- Frame48.Name = "Selection"
- Frame48.Parent = ImageButton47
- Frame48.Transparency = 1
- Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame48.BackgroundTransparency = 1
- Frame48.BorderSizePixel = 0
- Frame48.ZIndex = 3
- NumberValue49.Name = "num"
- NumberValue49.Parent = ImageButton47
- NumberValue49.Value = 16
- ImageButton50.Name = "Water"
- ImageButton50.Parent = ImageLabel1
- ImageButton50.Transparency = 1
- ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0)
- ImageButton50.BackgroundTransparency = 1
- ImageButton50.ZIndex = 4
- ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697"
- Frame51.Name = "Selection"
- Frame51.Parent = ImageButton50
- Frame51.Transparency = 1
- Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame51.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame51.BackgroundTransparency = 1
- Frame51.BorderSizePixel = 0
- Frame51.ZIndex = 3
- NumberValue52.Name = "num"
- NumberValue52.Parent = ImageButton50
- NumberValue52.Value = 17
- ImageButton53.Name = "Dig"
- ImageButton53.Parent = ImageLabel1
- ImageButton53.Transparency = 1
- ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
- ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0)
- ImageButton53.BackgroundTransparency = 1
- ImageButton53.ZIndex = 4
- ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201"
- Frame54.Name = "Selection"
- Frame54.Parent = ImageButton53
- Frame54.Transparency = 1
- print('Terrain Script Loaded. Made by Edge#3467/IoIman616')
- Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
- Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
- Frame54.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame54.BackgroundTransparency = 1
- Frame54.BorderSizePixel = 0
- Frame54.ZIndex = 3
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game.Players.LocalPlayer.PlayerGui
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- wait(0.01)
- game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
- material = 1
- local Terrain = game.Workspace.Terrain
- local CC = game.Workspace.CurrentCamera
- local SelB = Instance.new("SelectionBox")
- SelB.Color = BrickColor.new("Bright green")
- local SelP = Instance.new("Part")
- SelP.Anchored = true
- SelP.formFactor = Enum.FormFactor.Custom
- HopperBin0.Selected:connect(function(M)
- SelB.Parent = game.Players.LocalPlayer.PlayerGui
- game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true
- SelB.Adornee = nil
- local ClickState = "None"
- local ClickType = 1
- local TerrainClick = 1
- local P1 = nil
- M.KeyDown:connect(function(K)
- if K == "q" then
- ClickType = 1
- elseif K == "e" then
- ClickType = 2
- elseif K == "z" then
- TerrainClick = 0
- elseif K == "x" then
- TerrainClick = 1
- elseif K == "c" then
- TerrainClick = 2
- elseif K == "v" then
- TerrainClick = 3
- elseif K == "b" then
- TerrainClick = 4
- end
- end)
- M.Button1Down:connect(function()
- if not M.Target then return end
- local Hit = M.Hit
- local cellPos
- if ClickType == 1 then
- cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
- else
- cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
- end
- if ClickState == "None" then
- ClickState = "Click1"
- P1 = cellPos
- end
- end)
- M.Button1Up:connect(function()
- if not M.Target then return end
- local Hit = M.Hit
- local cellPos
- if ClickType == 1 then
- cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
- else
- cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
- end
- if ClickState == "Click1" then
- ClickState = "None"
- local MinX = math.min(P1.x,cellPos.x)
- local MaxX = math.max(P1.x,cellPos.x)
- local MinY = math.min(P1.y,cellPos.y)
- local MaxY = math.max(P1.y,cellPos.y)
- local MinZ = math.min(P1.z,cellPos.z)
- local MaxZ = math.max(P1.z,cellPos.z)
- for y=MinY,MaxY do
- for x=MinX,MaxX do
- for z=MinZ,MaxZ do
- Terrain:SetCell(x, y, z, material, 0, 0)
- end
- end
- wait()
- end
- SelB.Adornee = nil
- end
- end)
- M.Move:connect(function()
- if not M.Target then return end
- local Hit = M.Hit
- local cellPos
- if ClickType == 1 then
- cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
- else
- cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
- end
- if ClickState == "Click1" then
- SelB.Adornee = SelP
- local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z)
- local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z)
- local Size = W1-W2
- Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4)
- local Pos = (W1+W2)/2
- SelP.Size = Size
- SelP.CFrame = CFrame.new(Pos)
- end
- end)
- end)
- HopperBin0.Deselected:connect(function()
- SelB.Parent = nil
- SelB.Adornee = nil
- game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
- end)
- game:GetService('RunService').Stepped:connect(function()
- if game.Players.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
- for _, child in pairs( game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
- if child:FindFirstChild("num") and material ~= child.num.Value then
- child.Selection.BackgroundTransparency = 1
- end
- end
- end
- end)
- for _, child in pairs( game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
- local enterCon = child.MouseButton1Click:connect(function()
- if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
- material = child.num.Value
- if child:FindFirstChild("Selection") then
- child.Selection.BackgroundTransparency = 0
- end
- end
- end)
- end
- local clr = game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function()
- workspace.Terrain:Clear()
- end)
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- HopperBin0 = Instance.new("HopperBin")
- HopperBin0.Name = "Terrain Delete"
- HopperBin0.Parent = mas
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- function onClick(mouse)
- p = game.Players.LocalPlayer
- if (p == nil) then return end
- if (p.Character == nil) then return end
- if (mouse.Hit.p - p.Character.Torso.Position).magnitude > 500 then return end
- c = game.Workspace.Terrain
- local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
- local x = cellPos.x
- local y = cellPos.y
- local z = cellPos.z
- c:SetCell(x, y, z, 0, 0, 0)
- end
- function onSelect(mouse)
- mouse.Button1Down:connect(function () onClick(mouse) end)
- end
- HopperBin0.Selected:connect(onSelect)
- end)
- addcmd('devuzi', 'op af',{'uzi'},
- function(args, speaker)
- wait(0.25);
- _clear=function()
- local c={char;bag;gui;};
- for i=1,#c do
- local c=c[i]:children();
- for i=1,#c do
- if(c[i].Name==name)then
- c[i].Parent=nil;
- end;
- end;
- end;
- local n=name..user.Name;
- local c=workspace:children();
- for i=1,#c do
- if(c[i].Name==n)then
- c[i].Parent=nil;
- end;
- end;
- end;
- _valid_key=function(object,key)
- return object[key],key;
- end;
- _new=function(class)
- return function(props)
- if(type(list_base_props)=='table')then
- for i,v in next,list_base_props do
- if(props[i]==nil)then
- props[i]=v;
- end;
- end;
- end;
- local object=class;
- if(type(class)=='string')then
- object=Instance.new(class:sub(1,1):upper()..class:sub(2));
- end;
- local parent=props[1];
- props[1]=nil;
- for i,v in next,props do
- local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
- if(not load)then
- load,res,key=pcall(_valid_key,object,i);
- end;
- if(key)then
- t=type(res);
- s=tostring(res);
- if(t=='userdata'and s=='Signal '..key)then
- if(type(v)=='table')then
- for i=1,#v do
- res:connect(v[i]);
- end;
- else
- res:connect(v);
- end;
- else
- object[key]=v;
- end;
- end;
- end;
- if(parent)then
- object.Parent=parent;
- end;
- return object;
- end;
- end;
- _RGB=function(r,g,b)
- return Color3.new(r/255,g/255,b/255);
- end;
- _copy=function(o)
- local def=o.archivable;
- o.archivable=true;
- local c=o:clone();
- o.archivable=def;
- return c;
- end;
- _hum=function(char)
- local hum=char:findFirstChild'Humanoid';
- if(not hum or hum.className~='Humanoid')then
- local c=char:children();
- for i=1,#c do
- if(c[i].className=='Humanoid')then
- return c[i];
- end;
- end;
- else
- return hum;
- end;
- end;
- _hum_tag=function(hum)
- local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
- c.Name='creator';
- c.Value=user;
- if(hum.Health==0 and not hum:findFirstChild'killed')then
- Instance.new('BoolValue',hum).Name='killed';
- bullets.clip=bullets.clip+10;
- end;
- end;
- _hum_dam=function(hum,dam,percent)
- hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
- if(hum.Health<=hum.MaxHealth*0.1)then
- _hum_tag(hum);
- end;
- end;
- _ray=function(v0,v1,i)
- local mag=(v0-v1).magnitude;
- local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
- return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
- end;
- _must=function(v0,v1,i)
- local hit,pos=_ray(v0,v1,i);
- return not hit and mouse.target or hit,pos;
- end;
- _cframe=function(x,y,z,r0,r1,r2)
- return CFrame.Angles(
- math.rad(r0 or 0),
- math.rad(r1 or 0),
- math.rad(r2 or 0)
- )*CFrame.new(x,y,z);
- end;
- _update=function()
- if(bool_active and not screen.Parent)then
- screen.Parent=gui;
- elseif(not bool_active and screen.Parent)then
- screen.Parent=nil;
- end;
- end;
- _light=function(v0,v1)
- local mag=(v0-v1).magnitude;
- local len=math.random(2,7);
- len=len>mag/2 and mag/2 or len;
- --local light=_new'part'{
- -- cFrame=CFrame.new(v0,v1);
- -- size=Vector3.new(1,1,1);
- -- color=_RGB(255,255,0);
- -- anchored=true;
- -- inv;
- --};
- _new'blockMesh'{
- scale=Vector3.new(0.2,0.2,len);
- offset=Vector3.new(0,0,-len/2);
- light;
- };
- local bb=_new'billboardGui'{
- size=UDim2.new(2,0,2,0);
- adornee=light;
- light;
- };
- _new'imageLabel'{
- image=url:format(109101526);
- backgroundTransparency=1;
- size=UDim2.new(1,0,1,0);
- bb;
- };
- -- _rem(light,0.15);
- end;
- _rem=function(object,del)
- if(del)then
- delay(del,function()
- if(object.Parent)then
- object.Parent=nil;
- end;
- end);
- else
- pcall(function()
- if(object.Parent)then
- object.Parent=nil;
- end;
- end);
- end;
- end;
- _blood=function(pos,count)
- for i=1,count do
- local p=_new'part'{
- rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
- position=pos+Vector3.new(math.random(),math.random(),math.random());
- velocity=Vector3.new(math.random(),math.random(),math.random())*50;
- size=Vector3.new(math.random(),math.random(),math.random())/3;
- color=_RGB(255,0,0);
- transparency=0.5;
- canCollide=true;
- bottomSurface=0;
- topSurface=0;
- formFactor=3;
- locked=true;
- inv;
- };
- delay(5,function()
- p.Parent=nil;
- end);
- end;
- end;
- _make_hue=function()
- h_hue=_new'part'{
- size=Vector3.new(0.25,1.8,0.35);
- color=_RGB(100,100,100);
- formFactor=3;
- name='hue';
- handle;
- };
- hh_weld=_new'weld'{
- c1=_cframe(0,0.5,0);
- part0=handle;
- part1=h_hue;
- handle;
- };
- end;
- _shot=function(v0,v1)
- if(not time_left)then
- time_left=0;
- end;
- if(time_left>time())then
- return nil;
- else
- time_left=time()+math.random(1,10)/100;
- end;
- if(bullets.current<1)then
- local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
- soundId='rbxasset://sounds/SWITCH3.wav';
- name='tick_sound';
- volume=0.2;
- pitch=2;
- head;
- };
- tick_sound:play();
- if(bullets.clip>0)then
- time_left=time()+2;
- h_hue:breakJoints();
- h_hue.CanCollide=true;
- h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
- _rem(h_hue,10);
- delay(1.9,function()
- _make_hue();
- local got=(bullets.clip>bullets.maximum and
- bullets.maximum or
- bullets.clip)-bullets.current;
- bullets.clip=bullets.clip-got;
- bullets.current=bullets.current+got;
- end);
- end;
- return nil;
- else
- bullets.current=bullets.current-1;
- h_weld.C1=_cframe(0,0.75,0,
- -math.random(1000,1100)/10,180,0);
- d_weld.C1=_cframe(0,-0.25,0.3);
- lightstuff.Visible=true;
- delay(0.1,function()
- lightstuff.Visible=false;
- end);
- _rem(_new'part'{
- velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
- cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
- size=Vector3.new(0.1,0.1,0.4);
- color=_RGB(200,200,0);
- material='Slate';
- canCollide=true;
- formFactor=3;
- inv;
- },5);
- delay(0.1,function()
- d_weld.C1=_cframe(0,-0.25,0);
- if(bool_active)then
- h_weld.C1=h_weld_cf_active;
- end;
- end)
- end;
- local hit,pos=_must(v0,v1,char);
- shot_sound:play();
- _rem(_new'part'{
- cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
- size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
- color=_RGB(255,255,0);
- transparency=0.6;
- reflectance=0.5;
- canCollide=false;
- bottomSurface=0;
- anchored=true;
- formFactor=3;
- topSurface=0;
- inv;
- },.15);
- _light(v0,v1);
- if(not hit)then return nil;end;
- if(hit.Parent.className=='Hat')then
- hit:breakJoints();
- hit.CanCollide=true;
- hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
- hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
- else
- local hum=_hum(hit.Parent);
- if(not hum)then
- if(hit.Anchored==false and hit.Size.magnitude<4)then
- hit:breakJoints();
- hit.CanCollide=true;
- end;
- else
- _hum_dam(hum,math.random(4,6));
- _blood(pos,math.random(3,6));
- hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
- if(hit.Name=='Head')then
- hum.Health=0;
- _blood(pos,math.random(3,6));
- delay(0.001,function()
- _new(workspace:FindFirstChild'head_shot'or'sound'){
- pitch=math.random(70,100)*0.01;
- soundId=url:format(1876552);
- name='head_shot';
- workspace;
- }:play();
- end);
- _hum_tag(hum);
- _rem(_new'part'{
- cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
- size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
- color=torso.Color;
- transparency=0.5;
- canCollide=false;
- bottomSurface=0;
- anchored=true;
- formFactor=3;
- topSurface=0;
- inv;
- },30);
- hit.Parent=nil;
- for b=0,1 do
- for a=0,1 do
- for i=0,1 do
- _rem(_new'part'{
- velocity=CFrame.new(v0,pos).lookVector*20;
- cFrame=hit.CFrame*CFrame.new(i,-b,a);
- size=Vector3.new(0.5,0.5,0.5);
- color=_RGB(255,255,255);
- bottomSurface=0;
- canCollide=true;
- transparency=0;
- formFactor=3;
- topSurface=0;
- hum;
- },30);
- end;
- end;
- end;
- end;
- end;
- end;
- end;
- _cf_select=function(mouse)
- mouse.Icon=url:format(109111387);--108999296
- bool_active=true;
- local arm=char:findFirstChild'Right Arm';
- local weld=torso:findFirstChild'Right Shoulder';
- if(arm and weld)then
- h_weld.Part0=arm;
- h_weld.C1=h_weld_cf_active;
- weld.Part1=nil;
- weld.Part0=nil;
- weld=_new(torso:findFirstChild'right_arml'or'weld'){
- name='right_arml';
- part0=torso;
- part1=arm;
- torso;
- };
- arml=(arml or 0)+1;
- local alv=arml;
- local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
- gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
- gyro.P=30000;
- gyro.D=1000;
- gyro.Name='p_gyro';
- repeat
- local pos=mouse.hit.p;
- local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
- val=-math.pi*0.5;
- valp=val*-1;
- p0=torso.CFrame;
- p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
- p1=p0+((p0.p-pos).unit*-2);
- p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
- hitpos=torso.Position;
- cj=CFrame.new(hitpos);
- c0=torso.CFrame:inverse()*cj;
- c1=p2:inverse()*cj;
- weld.C0=c0;
- weld.C1=c1;
- gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
- wait(0.001);
- until arml~=alv;
- gyro.Parent=nil;
- end;
- end;
- _cf_deselect=function()
- bool_active=false;
- arml=(arml or 0)+1;
- loop_shot=(loop_shot or 0)+1;
- h_weld.Part0=torso;
- h_weld.C1=h_weld_cf_inactive;
- local weld=torso:findFirstChild'right_arml';
- if(weld)then
- weld.Part1=nil;
- weld.Part0=nil;
- end;
- local arm=char:findFirstChild'Right Arm';
- local weld=torso:findFirstChild'Right Shoulder';
- if(arm and weld)then
- weld.Part0=torso;
- weld.Part1=arm;
- end;
- end;
- _cf_mouse=function(event,fun)
- mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
- if(bool_active)then
- fun(...);
- end;
- end);
- end;
- do
- local main=getfenv(0);
- local c=game:children();
- local check=function(v)
- if(v.className~=''and v.className~='Instance'and game:service(v.className))then
- main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
- end;
- end;
- for i=1,#c do
- pcall(check,c[i]);
- end;
- end;
- bullets={
- maximum=51111111111111111111111111110;
- current=511111111111111111111111111111110;
- clip=501111111111111111111111111111111*4;
- };
- list_base_props={
- backgroundColor3=_RGB(0,0,0);
- textColor3=_RGB(200,200,200);
- borderSizePixel=0;
- color=_RGB(0,0,0);
- archivable=false;
- canCollide=false;
- bottomSurface=0;
- topSurface=0;
- formFactor=0;
- locked=true;
- };
- user=players.localPlayer;
- mouse=user:getMouse();
- char=user.Character;
- gui=user.PlayerGui;
- bag=user.Backpack;
- torso=char.Torso;
- head=char.Head;
- hum=_hum(char);
- url='rbxassetid://%d';
- name='dev-uzi';
- h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
- 0,90,-70);
- h_weld_cf_active=_cframe(0,0.75,0,
- -110,180,0);
- assert(hum,'humanoid is not found');
- _clear();
- _cf_mouse('button1Down',function()
- loop_shot=(loop_shot or 0)+1;
- local vers=loop_shot;
- local step=runService.Stepped;
- repeat
- _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
- step:wait();--wait(0.001);
- until vers~=loop_shot;
- end);
- _cf_mouse('button1Up',function()
- loop_shot=(loop_shot or 0)+1;
- end);
- _cf_mouse('move',function()
- cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
- end);
- _cf_mouse('keyDown',function(k)
- if(k=='r')then
- if(bullets.clip>0 and time_left<=time())then
- local got=(bullets.clip>bullets.maximum and
- bullets.maximum or
- bullets.clip)-bullets.current;
- bullets.clip=bullets.clip-got;
- bullets.current=bullets.current+got;
- if(got~=0)then
- time_left=time()+2;
- end;
- end;
- end;
- end);
- screen=_new'screenGui'{
- name=name;
- };
- cross_f=_new'frame'{
- size=UDim2.new(0,21,0,21);
- backgroundTransparency=1;
- screen;
- };
- for i=0,1 do
- _new'frame'{
- position=UDim2.new(0,13*i,0,11);
- size=UDim2.new(0,10,0,1);
- cross_f;
- };
- end;
- for i=0,1 do
- _new'frame'{
- position=UDim2.new(0,11,0,13*i);
- size=UDim2.new(0,1,0,10);
- cross_f;
- };
- end;
- shot_sound=_new(head:findFirstChild'2920959'or'sound'){
- soundId=url:format(2920959);
- pitch=1.4;
- head;
- };
- if(shot_sound.Name~='2920959')then
- shot_sound.Name='2920959';
- shot_sound:play();
- end;
- bin=_new'hopperBin'{
- deselected=_cf_deselect;
- selected=_cf_select;
- name=name;
- bag;
- };
- inv=_new'model'{
- name=name;
- char;
- };
- handle=_new'part'{
- size=Vector3.new(0.3,1.3,0.4);
- color=_RGB(140,140,140);
- name='handle';
- formFactor=3;
- inv;
- touched=function(hit)
- if(hit.Parent.className=='Model')then
- local hum=_hum(hit.Parent);
- if(hum~=nil)then
- _hum_dam(hum,handle.Velocity.magnitude);
- end;
- end;
- end;
- };
- h_weld=_new'weld'{
- c1=h_weld_cf_inactive;
- part1=handle;
- part0=torso;
- handle;
- };
- _make_hue();
- h_part=_new'part'{
- size=Vector3.new(0.4,0.4,1.4);
- color=_RGB(140,140,140);
- name='handle';
- formFactor=3;
- handle;
- };
- hp_weld=_new'weld'{
- c1=_cframe(0,-1.3/2,-0.3,
- 20,0,0);
- part0=handle;
- part1=h_part;
- handle;
- };
- drag=_new'part'{
- size=Vector3.new(0.5,0.45,1.5);
- color=_RGB(100,100,100);
- name='handle';
- formFactor=3;
- handle;
- };
- d_weld=_new'weld'{
- c1=_cframe(0,-0.25,0);
- part0=h_part;
- part1=drag;
- handle;
- };
- tube=_new'part'{
- size=Vector3.new(0.2,0.2,1.5);
- color=_RGB(0,0,0);
- name='handle';
- formFactor=3;
- handle;
- };
- t_weld=_new'weld'{
- c1=_cframe(0,-0.3,-0.1);
- part0=h_part;
- part1=tube;
- handle;
- };
- bullets_label=_new'textLabel'{
- textStrokeColor3=_RGB(0,0,0);
- textColor3=_RGB(200,200,200);
- textStrokeTransparency=0;
- backgroundTransparency=1;
- fontSize=5;
- screen;
- };
- lightstuff=_new'frame'{
- backgroundColor3=_RGB(255,255,255);
- position=UDim2.new(0,0,0,-1);
- backgroundTransparency=0.5;
- size=UDim2.new(1,0,1,1);
- borderSizePixel=0;
- visible=false;
- screen;
- };
- coroutine.wrap(function()
- local red,white,green;
- repeat
- if(screen.Parent)then
- if(not green and bullets.current==bullets.maximum)then
- green=true;
- bullets_label.TextColor3=_RGB(0,200,0);
- elseif(not red and bullets.current==0)then
- red=true;
- bullets_label.TextColor3=_RGB(200,0,0);
- elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
- bullets_label.TextColor3=_RGB(200,200,200);
- green=false;
- red=false;
- end;
- bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
- bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
- bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
- end;
- wait(0.001);
- until nil;
- end)();
- _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
- local vers=_G.dev_pistol_version;
- repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
- if(hum.Health==0)then
- _clear();
- end;
- end)
- 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)
- table.insert(banname, _players[v].Name)
- function Kick(PLAYER)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
- local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- Plat.Name = 'IYkick'
- Plat.Size = Vector3.new(100, 1, 100)
- local PART = Instance.new('Part', PLAYER.Character)
- PART.Position = Plat.Position - Vector3.new(0, 3, 0)
- PART.Size = Vector3.new(100, 1, 100)
- PART.Anchored = true
- PART.Transparency = 1
- Plat.Transparency = 1
- repeat wait(1)
- if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
- Plat.Position = PLAYER.Character.HumanoidRootPart.Position
- end
- Kick(PLAYER)
- until not game.Players:findFirstChild(PLAYER)
- end
- end
- Kick(gPlayers[v])
- end)
- end
- end)
- addcmd('clearbans', 'welcome back!',{'clrbans'},
- function(args, speaker)
- banT = {}
- banname = {}
- 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 isAdmin(_players[v]) then
- table.insert(adminT, _players[v].userId)
- table.insert(adminname, _players[v].Name)
- if args[1] == "all" then
- Notify('Everyone has been given admin')
- elseif args[1] == "others" then
- Notify('Others have been given admin')
- elseif args[1] == "friends" then
- Notify('Friends have been given admin')
- elseif args[1] == "team" then
- Notify('Your team has been given admin')
- elseif args[1] == "nonteam" then
- Notify('The opposing team has been given admin')
- else
- Notify(gPlayers[v].Name .. ' has been given admin')
- game.Chat:Chat(gPlayers[v].Character.Head, 'You are now an admin! The prefix is ' .. cmdprefix)
- updateevents(gPlayers[v])
- for a, mod in pairs(gPlayers[v].Character:children()) do
- if mod:FindFirstChild("TAG") then
- gPlayers[v].Character.Head.Transparency = 0
- mod:Destroy()
- end
- end
- 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)
- adminname = {}
- addcmd('admins','prints admins',{'adminlist'},
- function(args, speaker)
- print('ADMINS:')
- wait(0.1)
- for i, v in pairs (adminname) do print(v) end
- Notify('Printed admins in the console (F9)')
- end)
- banname = {}
- addcmd('bans','prints bans',{'banlist'},
- function(args, speaker)
- print('BANLAND:')
- wait(0.1)
- for i, v in pairs (banname) do print(v) end
- Notify('Printed bans in the console (F9)')
- end)
- addcmd('bang','owo',{'rape'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- rape(_players[v].Name, speaker)
- end
- end)
- addcmd('unadmin', 'removes the admin',{'noadmin'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then
- if FindTable(adminT, _players[v].userId) then
- table.remove(adminT, GetInTable(adminT, _players[v].userId))
- table.remove(adminname, GetInTable(adminname, _players[v].Name))
- if args[1] == "all" then
- Notify('Removed everyones admin')
- elseif args[1] == "others" then
- Notify('Others no longer have admin')
- elseif args[1] == "friends" then
- Notify('Friends no longer have admin')
- elseif args[1] == "team" then
- Notify('Your team no longer has admin')
- elseif args[1] == "nonteam" then
- Notify('The opposing team no longer has admin')
- else
- Notify(gPlayers[v].Name .. ' no longer has admin')
- end
- end
- game.Chat:Chat(gPlayers[v].Character.Head, 'You are no longer an admin')
- end
- end
- end)
- addcmd('bgui', 'gives player billboard gui presenting text',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
- gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
- end
- y = Instance.new("BillboardGui")
- y.Size = UDim2.new(0,100,0,150)
- y.StudsOffset = Vector3.new(0,1,0)
- y.Parent = gPlayers[v].Character.Head
- y.Adornee = gPlayers[v].Character.Head
- f = Instance.new("TextLabel")
- f.Parent = y
- f.BackgroundTransparency = 1
- f.Position = UDim2.new(0,0,0,-50)
- f.Size = UDim2.new(0,100,0,100)
- f.Font = "Highway"
- f.FontSize = "Size48"
- f.Text = GLS(false, 1)
- f.TextStrokeColor3 = Color3.new(0,0,0)
- f.TextColor3 = Color3.new(255/255,255/255,255/255)
- f.TextStrokeTransparency = 0
- f.TextYAlignment = "Bottom"
- end
- end)
- addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
- gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
- end
- end
- end)
- addcmd('esp', 'lets you see a players location',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
- gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui"):Remove()
- end
- y = Instance.new("BillboardGui")
- y.Size = UDim2.new(0,100,0,150)
- y.StudsOffset = Vector3.new(0,1,0)
- y.Parent = gPlayers[v].Character.HumanoidRootPart
- y.Adornee = gPlayers[v].Character.HumanoidRootPart
- f = Instance.new("TextLabel")
- f.Parent = y
- f.BackgroundTransparency = 1
- f.Position = UDim2.new(0,0,0,-50)
- f.Size = UDim2.new(0,100,0,100)
- f.Font = "Highway"
- f.FontSize = "Size48"
- f.Text = "v"
- f.TextStrokeColor3 = Color3.new(0,0,0)
- f.TextColor3 = Color3.new(255/255,255/255,255/255)
- f.TextStrokeTransparency = 0
- f.TextYAlignment = "Bottom"
- y.AlwaysOnTop = true
- end
- end)
- addcmd('unesp', 'gives player billboard gui presenting text',{'noesp'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
- gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui"):Remove()
- end
- end
- end)
- addcmd('rhats', 'no more hats',{'removehats'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA('Accessory') then
- v:destroy()
- end
- end
- end
- end)
- addcmd('removetools', 'no more tools',{'rtools'},
- 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 = speaker.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 == "STAT" then
- child:Destroy()
- end
- end
- local score = Instance.new("StringValue")
- score.Name = "STAT"
- score.Value = GLS(false, 1)
- score.Parent = gPlayers[v].leaderstats
- end
- 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.HumanoidRootPart.Position + Vector3.new(0,500,0) Ast.Size = Vector3.new(12,12,12)
- local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
- local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
- local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
- local f = Instance.new("Sound")
- f.Name = "fly"
- f.SoundId = "rbxassetid://179438534"
- f.Volume = 3
- f.Pitch = 1
- f.Looped = true
- f.archivable = true
- f.Parent = Ast
- f:play()
- local Touched = false
- coroutine.wrap(function()
- repeat wait(0.1)
- Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z)
- until not Ast or Ast.Parent == nil or Touched == true
- end)()
- Ast.Touched:connect(function(Part)
- if Touched == false then
- Touched = true
- Part:BreakJoints()
- local Boom = Instance.new("Explosion", workspace)
- Boom.Position = Ast.Position
- Boom.BlastPressure = 1000000
- Boom.BlastRadius = 30
- Fire.Heat = 0
- Smoke.RiseVelocity = 0
- f:Destroy()
- local s = Instance.new("Sound")
- s.Name = "boom"
- s.SoundId = "rbxassetid://188590169"
- s.Volume = 3
- s.Pitch = 1
- s.Looped = true
- s.archivable = true
- s.Parent = Ast
- s:play()
- coroutine.wrap(function()
- wait(10)
- s:Destroy()
- if Ast and Ast.Parent ~= nil then
- Ast:Destroy()
- end
- end)()
- end
- end)
- end)
- end
- end)
- addcmd('bomb','gives you a bomb vest',{'terrorist'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local Char=_char(v)
- local HumanoidRootPart = Char.HumanoidRootPart
- local TickWait = 1
- local Dead = false
- local Position = Vector3.new(0,100,0)
- function NewPart(Parent)
- local Part = Instance.new("Part", Parent)
- Part.CanCollide = false
- Part.Position = Position
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Position = Position + Vector3.new(0,10,0)
- return Part
- end
- local Model = Char:FindFirstChild("Bomb")
- if Model then Model:Destroy() end
- local Model = Instance.new("Model", Char)
- Model.Name = "Bomb"
- local Belt = NewPart(Model)
- Belt.Size = Vector3.new(2.2,0.5,1.2)
- local Weld = Instance.new("Weld", Belt)
- Weld.Part0 = Belt
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(0,1.1,0)
- local Light = Instance.new("PointLight", Belt)
- Light.Range = 15
- Light.Brightness = 5
- Light.Color = Color3.new(1,0,0)
- local Beep = Instance.new("Sound", Belt)
- Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
- local ExplodeSound = Instance.new("Sound", Belt)
- ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003
- ExplodeSound.Pitch = 2.8
- ExplodeSound.Volume = 3
- local Back = NewPart(Model)
- Back.Size = Vector3.new(1.5,1.5,0.5)
- local Weld = Instance.new("Weld", Back)
- Weld.Part0 = Back
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(0,0.1,-0.75)
- local StrapLeft = NewPart(Model)
- StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
- local Weld = Instance.new("Weld", StrapLeft)
- Weld.Part0 = StrapLeft
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
- local BuckleLeft = NewPart(Model)
- BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
- local Weld = Instance.new("Weld", BuckleLeft)
- Weld.Part0 = BuckleLeft
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(0.65,0.1,0.5)
- local StrapRight = NewPart(Model)
- StrapRight.Size = Vector3.new(0.2,0.5,1.6)
- local Weld = Instance.new("Weld", StrapRight)
- Weld.Part0 = StrapRight
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
- local BuckleRight = NewPart(Model)
- BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
- local Weld = Instance.new("Weld", BuckleRight)
- Weld.Part0 = BuckleRight
- Weld.Part1 = HumanoidRootPart
- Weld.C0 = CFrame.new(-0.65,0.1,0.5)
- LightEnabled = true
- coroutine.wrap(function()
- repeat
- wait(TickWait)
- LightEnabled = not LightEnabled
- Light.Enabled = LightEnabled
- Beep:Play()
- until Dead == true or Char:FindFirstChild("Bomb") == nil
- end)()
- wait(10)
- if Dead == false then
- Dead = true
- ExplodeSound:Play(); wait(1.4)
- local Explosion = Instance.new("Explosion")
- Explosion.Position = Belt.Position
- Explosion.BlastPressure = 100000
- Explosion.DestroyJointRadiusPercent = 0.7
- Explosion.ExplosionType = "CratersAndDebris"
- Explosion.BlastRadius = 50
- Explosion.Parent = workspace
- end
- end)
- end
- end)
- settingsOpen = false
- addcmd('settings', 'gives you settings window',{'options'},
- function(args, speaker)
- if settingsOpen == false then
- settingsOpen = true
- local SettingsGUI = Instance.new("ScreenGui")
- local FeedbackMain = Instance.new("Frame")
- local Title = 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")
- local friends = Instance.new("TextButton")
- local everyone = Instance.new("TextButton")
- 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, -310)
- FeedbackMain.Size = UDim2.new(0, 300, 0, 310)
- 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, -294)
- 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)
- friends.Name = "friends"
- friends.Parent = FeedbackMain
- friends.BackgroundColor3 = Color3.new(0, 0, 0)
- friends.BackgroundTransparency = 0.80000001192093
- friends.BorderColor3 = Color3.new(1, 1, 1)
- friends.Position = UDim2.new(0, 95, 0, 270)
- friends.Size = UDim2.new(0, 50, 0, 20)
- friends.Font = Enum.Font.SourceSans
- friends.FontSize = Enum.FontSize.Size14
- friends.Text = "Friends"
- friends.TextColor3 = Color3.new(1, 1, 1)
- everyone.Name = "everyone"
- everyone.Parent = FeedbackMain
- everyone.BackgroundColor3 = Color3.new(0, 0, 0)
- everyone.BackgroundTransparency = 0.80000001192093
- everyone.BorderColor3 = Color3.new(0, 0, 0)
- everyone.Position = UDim2.new(0, 150, 0, 270)
- everyone.Size = UDim2.new(0, 50, 0, 20)
- everyone.Font = Enum.Font.SourceSans
- everyone.FontSize = Enum.FontSize.Size14
- everyone.Text = "Everyone"
- everyone.TextColor3 = Color3.new(1, 1, 1)
- wait(0.5)
- SettingsGUI.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-310),"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,-310),"Out","Quint",0.3,true)
- wait(1)
- SettingsGUI:Destroy()
- end)
- --joined/left friend option
- game.Players.PlayerAdded:connect(playerAdded)
- game.CoreGui.SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() changeOptions(1) end)
- game.CoreGui.SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() changeOptions(2) end)
- game.Players.PlayerRemoving:connect(PlayerRemoving)
- game.CoreGui.SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() changeOptions(1) end)
- game.CoreGui.SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() changeOptions(2) end)
- --Message time
- SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function()
- wait()
- game.CoreGui.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.CoreGui.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.CoreGui.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.CoreGui.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
- MODE = -1
- SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3
- else
- checkValue3.Value = true
- SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3
- MODE = 1
- 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 == "CharacterMesh" then
- child:Destroy()
- end
- end
- for _, child in pairs( _char(v):GetChildren()) do
- if child.ClassName == "Shirt" then
- child:Destroy()
- end
- end
- for _, child in pairs( _char(v):GetChildren()) do
- if child.ClassName == "Pants" then
- child:Destroy()
- end
- end
- for _, child in pairs( _char(v):GetChildren()) do
- if child.ClassName == "Part" then
- child.Material = "Neon"
- end
- end
- end
- end
- end)
- addcmd('kill', 'kills a player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
- end
- end)
- addcmd('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
- wait(1)
- 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.HumanoidRootPart.Anchored = true
- part.Parent = localp.Character
- part.CFrame = localp.Character.HumanoidRootPart.CFrame
- wait(0.5)
- localp.Character.HumanoidRootPart.Anchored = false
- repeat wait() until localp:FindFirstChild'ChessMsg'
- part:Remove()
- local message = localp:FindFirstChild'ChessMsg'
- message.Text = ''
- message.Parent = workspace
- message.Name = "IYmessage"
- if part ~= nil then part:Remove() end
- localp.Character.HumanoidRootPart.Anchored = false
- for _, child in pairs( workspace:GetChildren()) do
- if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then
- child:Destroy()
- end
- end
- if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end
- if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end
- if _G.msg ~= nil then
- print'Loaded Message System'
- Notify('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
- execCmd("loadm")
- repeat wait() until MSGhook == true
- local h = game.Workspace.IYmessage
- for i = time, 1, -1 do
- wait(1)
- h.Text = "Countdown: "..i..""
- end
- wait(1)
- h.Text = "Times Up!"
- wait(2)
- h.Text = ''
- end
- end
- end)
- addcmd('explode', 'explode a player', {},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i, v in pairs(players) do
- local char = _char(v)
- if char:FindFirstChild("HumanoidRootPart") then
- Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position
- end
- end
- end)
- addcmd('flood', 'makes a flood e.e', {},
- function(args, speaker)
- game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
- end)
- addcmd('spookyify', 'makes it sp00ky', {},
- function(args, speaker)
- local music = Instance.new("Sound", workspace)
- music.SoundId = "http://www.roblox.com/asset/?id=257569267"
- music.Volume = 20
- music.Looped = true
- music:Play()
- tex1 = "http://www.roblox.com/asset/?id=185495987"
- tex2 = "http://www.roblox.com/asset/?id=260858020"
- tex3 = "http://www.roblox.com/asset/?id=149213919"
- tex4 = "http://www.roblox.com/asset/?id=171905673"
- local w = game.Workspace:GetChildren()
- for i= 1,#w do
- if w[i]:isA("BasePart") then
- pe = Instance.new("ParticleEmitter", w[i])
- pe.Texture = tex4
- pe.VelocitySpread = 5
- end
- end
- local playerLeaderstats = {}
- for i, v in pairs(game.Players:GetChildren()) do
- table.insert(playerLeaderstats, v)
- end
- for i, v in pairs(playerLeaderstats) do
- pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart)
- pe.Texture = "http://www.roblox.com/asset/?id=171905673"
- pe.VelocitySpread = 50
- end
- texture = "http://www.roblox.com/asset/?id=185495987"
- local A = game.Workspace:GetChildren()
- local B = game.Workspace:GetChildren()
- local C = game.Workspace:GetChildren()
- local D = game.Workspace:GetChildren()
- local E = game.Workspace:GetChildren()
- local F = game.Workspace:GetChildren()
- for i,v in pairs(A) do
- if v:IsA("Part") then
- local d = Instance.new("Decal",v)
- v.Decal.Face = "Top"
- v.Decal.Texture = texture
- v.Anchored = true
- end
- end
- for i,v in pairs(B) do
- if v:IsA("Part") then
- local s = Instance.new("Decal",v)
- s.Face = "Front"
- s.Texture = texture
- end
- end
- for i,v in pairs(C) do
- if v:IsA("Part") then
- local h = Instance.new("Decal",v)
- h.Face = "Back"
- h.Texture = texture
- end
- end
- for i,v in pairs(D) do
- if v:IsA("Part") then
- local j = Instance.new("Decal",v)
- j.Face = "Left"
- j.Texture = texture
- end
- end
- for i,v in pairs(E) do
- if v:IsA("Part") then
- local k = Instance.new("Decal",v)
- k.Face = "Right"
- k.Texture = texture
- end
- end
- for i,v in pairs(F) do
- if v:IsA("Part") then
- local l = Instance.new("Decal",v)
- l.Face = "Bottom"
- l.Texture = texture
- end
- imageOne = "http://www.roblox.com/asset/?id=169585459"
- imageTwo = "http://www.roblox.com/asset/?id=169585475"
- imageThree = "http://www.roblox.com/asset/?id=169585485"
- imageFour = "http://www.roblox.com/asset/?id=169585502"
- imageFive = "http://www.roblox.com/asset/?id=169585515"
- imageSix = "http://www.roblox.com/asset/?id=169585502"
- imageSeven = "http://www.roblox.com/asset/?id=169585485"
- imageEight = "http://www.roblox.com/asset/?id=169585475"
- Spooky = Instance.new("Sound", workspace)
- Spooky.Name = "Spooky"
- Spooky.SoundId = "rbxassetid://174270407"
- Spooky.Volume = 15
- Spooky.Looped = true
- Spooky:Play()
- Sky = Instance.new("Sky", game.Lighting)
- Sky.SkyboxBk = imageOne
- Sky.SkyboxDn = imageOne
- Sky.SkyboxFt = imageOne
- Sky.SkyboxLf = imageOne
- Sky.SkyboxRt = imageOne
- Sky.SkyboxUp = imageOne
- while true do
- Sky.SkyboxBk = imageOne
- Sky.SkyboxDn = imageOne
- Sky.SkyboxFt = imageOne
- Sky.SkyboxLf = imageOne
- Sky.SkyboxRt = imageOne
- Sky.SkyboxUp = imageOne
- wait(0.15)
- Sky.SkyboxBk = imageTwo
- Sky.SkyboxDn = imageTwo
- Sky.SkyboxFt = imageTwo
- Sky.SkyboxLf = imageTwo
- Sky.SkyboxRt = imageTwo
- Sky.SkyboxUp = imageTwo
- wait(0.15)
- Sky.SkyboxBk = imageThree
- Sky.SkyboxDn = imageThree
- Sky.SkyboxFt = imageThree
- Sky.SkyboxLf = imageThree
- Sky.SkyboxRt = imageThree
- Sky.SkyboxUp = imageThree
- wait(0.15)
- Sky.SkyboxBk = imageFour
- Sky.SkyboxDn = imageFour
- Sky.SkyboxFt = imageFour
- Sky.SkyboxLf = imageFour
- Sky.SkyboxRt = imageFour
- Sky.SkyboxUp = imageFour
- wait(0.15)
- Sky.SkyboxBk = imageFive
- Sky.SkyboxDn = imageFive
- Sky.SkyboxFt = imageFive
- Sky.SkyboxLf = imageFive
- Sky.SkyboxRt = imageFive
- Sky.SkyboxUp = imageFive
- wait(0.15)
- Sky.SkyboxBk = imageSix
- Sky.SkyboxDn = imageSix
- Sky.SkyboxFt = imageSix
- Sky.SkyboxLf = imageSix
- Sky.SkyboxRt = imageSix
- Sky.SkyboxUp = imageSix
- wait(0.15)
- Sky.SkyboxBk = imageSeven
- Sky.SkyboxDn = imageSeven
- Sky.SkyboxFt = imageSeven
- Sky.SkyboxLf = imageSeven
- Sky.SkyboxRt = imageSeven
- Sky.SkyboxUp = imageSeven
- wait(0.15)
- Sky.SkyboxBk = imageEight
- Sky.SkyboxDn = imageEight
- Sky.SkyboxFt = imageEight
- Sky.SkyboxLf = imageEight
- Sky.SkyboxRt = imageEight
- Sky.SkyboxUp = imageEight
- wait(0.15)
- end
- end
- end)
- addcmd('invisible', 'make a player invisible',{},
- 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
- speaker.Character.HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
- end
- end)
- addcmd('bring', 'bring a player to you',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if _char(v):FindFirstChild("HumanoidRootPart") then
- _char(v).HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame
- end
- end
- end)
- addcmd('tp', 'teleport player 1 to player 2',{},
- function(args, speaker)
- local players1=getPlayer(args[1], speaker)
- local players2=getPlayer(args[2], speaker)
- if not players2[1] then return end
- for i,v in pairs(players1) do
- if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
- _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
- wait(0.1)
- _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
- end
- end
- end)
- addcmd('charplr','charplr [plr] [plr]',{'cp'},
- function(args, speaker)
- local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
- for i,v in pairs(players1) do for a,b in pairs(players2) do
- if _players[v].Character and _players[b].Character then
- _players[v].CharacterAppearanceId = _players[b].userId
- _players[v].Character:BreakJoints()
- end
- end
- end
- end)
- addcmd('char', 'change a players appearance',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if not args[1]or not args[2]then return end
- local id=args[2]
- if players ~= nil then
- for i,v in pairs(players) do
- gPlayers[v].CharacterAppearanceId = id
- gPlayers[v].Character:BreakJoints()
- end
- end
- end)
- addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i,v in pairs(players) do
- gPlayers[v].CharacterAppearanceId = 0
- if _char(v):FindFirstChild("Head") then
- _char(v).Head:Destroy()
- end
- end
- end
- end)
- addcmd('speed', 'change a players walkspeed',{'ws'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if not args[1]or not args[2]then return end
- local num=args[2]
- for i,v in pairs(players) do
- if _char(v):FindFirstChild("Humanoid") then
- _char(v).Humanoid.WalkSpeed=tonumber(num)
- end
- end
- end)
- addcmd('jpower', 'change a players jump height',{'grav','jumppower'},
- 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') 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('sphere', 'puts sphere around player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- local SS = Instance.new("SelectionSphere", pchar)
- SS.Adornee = SS.Parent
- end
- end)
- addcmd('unsphere', 'removes sphere around player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar=_char(v)
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA("SelectionSphere") then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('ambient','changes ambient',{},
- function(args, speaker)
- game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
- end)
- addcmd('fogend','changes the fogend',{},
- function(args, speaker)
- game.Lighting.FogEnd = args[1]
- end)
- addcmd('fogcolor','changes the fogs color',{},
- function(args, speaker)
- game.Lighting.FogColor = Color3.new(args[1],args[2],args[3])
- end)
- injail = {}
- addcmd('jail','jails player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if FindTable(injail, _players[v].Name) then return end
- table.insert(injail, _players[v].Name)
- local pchar=gPlayers[v].Character
- local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name
- repeat wait(0.5)
- pchar = _players[v].Character if pchar and pchar:FindFirstChild('HumanoidRootPart') and J:FindFirstChild('MAIN') then pchar.HumanoidRootPart.CFrame = J.MAIN.CFrame + Vector3.new(0, 1, 0) end
- until not FindTable(injail, _players[v].Name)
- end
- end)
- addcmd('unjail','unjails player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end
- game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy()
- end
- end)
- strobe = false
- addcmd('strobe','makes the server flash',{'flash'},
- function(args, speaker)
- if strobe == false then
- strobep = Instance.new("ColorCorrectionEffect")
- strobep.Brightness = 1
- strobep.Parent = game.Lighting
- strobe = true
- repeat wait(0.01)
- strobep.Enabled = true
- wait(0.01)
- strobep.Enabled = false
- until strobe == false
- end
- end)
- addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'},
- function(args, speaker)
- strobe = false
- strobep:Destroy()
- end)
- addcmd('shutdown', 'shuts the server down',{},
- function(args, speaker)
- Notify('Shutting Down...')
- wait(1)
- workspace.Gravity = 1/0*0
- end)
- addcmd('animation','makes player animate',{'anim'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- local ID = args[2]
- if args[2] == "climb" then
- ID = "180436334"
- end
- if args[2] == "fall" then
- ID = "180436148"
- end
- if args[2] == "jump" then
- ID = "125750702"
- end
- if args[2] == "sit" then
- ID = "178130996"
- end
- for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
- if x:IsA("StringValue") then
- for _,c in pairs(x:GetChildren()) do
- if c:IsA("Animation") then
- c.AnimationId = "rbxassetid://" .. ID
- end
- end
- end
- end
- end
- end)
- addcmd('normal','turns player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
- Player.Character["Shirt Graphic"].Graphic = ""
- end
- local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
- HeadMesh.MeshType = "Head"
- HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- pchar.Head.Transparency = 0
- pchar.Torso.Transparency = 0
- pchar["Left Arm"].Transparency = 0
- pchar["Right Arm"].Transparency = 0
- pchar["Left Leg"].Transparency = 0
- pchar["Right Leg"].Transparency = 0
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("Decal") then
- v:Destroy()
- end
- end
- local face = Instance.new("Decal", pchar.Head)
- face.Name = "face"
- face.Texture = "rbxasset://textures/face.png"
- face.Face = "Front"
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Seat") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("Weld") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
- pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
- pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
- pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
- pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
- pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
- for _,v in pairs(Player.Character:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('creeper','make the player a creeper',{'crpr'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
- if pchar:FindFirstChild("Shirt") then
- pchar.Shirt.Parent = pchar.Torso
- end
- if pchar:FindFirstChild("Pants") then
- pchar.Pants.Parent = pchar.Torso
- end
- if pchar:FindFirstChild("Shirt Graphic") then
- pchar["Shirt Graphic"].Graphic = ""
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
- pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
- pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
- pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
- pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
- pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
- end
- end
- end)
- addcmd('uncreeper','makes player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- execCmd("normal " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('crash','crashes a player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if 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()
- if gPlayers[v].Character.Head:FindFirstChild("Died") then gPlayers[v].Character.Head.Died.Looped = true wait(0.1) gPlayers[v].Character.Head.Died.Playing = true
- gPlayers[v].Character.Head.Died.Volume = 10
- gPlayers[v].Character.Head.Died.Pitch = 0.5
- end
- execCmd("size " .. gPlayers[v].Name .. ' -1')
- execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000')
- wait(5)
- execCmd("explode " .. gPlayers[v].Name)
- wait(0.1)
- gPlayers[v].Character.Humanoid.Health = 0
- end)
- end
- end)
- addcmd('control','controls player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar then
- pchar.Humanoid.PlatformStand = true
- local w = Instance.new("Weld", 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("HumanoidRootPart") then
- local nuke = Instance.new("Part", game.Workspace)
- nuke.Anchored = true
- nuke.CanCollide = false
- nuke.FormFactor = "Symmetric"
- nuke.Shape = "Ball"
- nuke.Size = Vector3.new(1,1,1)
- nuke.BrickColor = BrickColor.new("New Yeller")
- nuke.Transparency = 0.5
- nuke.Reflectance = 0.2
- nuke.TopSurface = 0
- nuke.BottomSurface = 0
- nuke.Touched:connect(function (hit)
- if hit and hit.Parent then
- local boom = Instance.new("Explosion", game.Workspace)
- boom.Position = hit.Position
- boom.BlastRadius = 11
- boom.BlastPressure = math.huge
- end
- end)
- local CF = pchar.HumanoidRootPart.CFrame
- nuke.CFrame = CF
- for i = 1,333 do
- nuke.Size = nuke.Size + Vector3.new(3,3,3)
- nuke.CFrame = CF
- wait(1/44)
- end
- nuke:Destroy()
- end
- end
- end)
- addcmd('infect','infects player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- function infect(rip)
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
- v:Destroy()
- end
- end
- if pchar.Torso:FindFirstChild("roblox") then
- pchar.Torso.roblox:Destroy()
- end
- if pchar.Head:FindFirstChild("face") then
- pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
- end
- if pchar:FindFirstChild("Body Colors") then
- local Colors = pchar["Body Colors"]
- local Skin = BrickColor.new("Pastel green")
- local Clothes = BrickColor.new("Reddish brown")
- Colors.HeadColor = Skin
- Colors.LeftArmColor = Skin
- Colors.RightArmColor = Skin
- Colors.LeftLegColor = Clothes
- Colors.RightLegColor = Clothes
- Colors.TorsoColor = Clothes
- end
- local w1 = Instance.new("Weld", pchar)
- w1.Part0 = pchar["Right Arm"]
- w1.Part1 = pchar.Torso
- w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
- local w2 = Instance.new("Weld", pchar)
- w2.Part0 = pchar["Left Arm"]
- w2.Part1 = pchar.Torso
- w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
- local rip = false
- local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
- if connect1 == false then
- connect1 = true
- if game.Players:FindFirstChild(hit.Parent.Name) then
- infect(game.Players[hit.Parent.Name])
- end
- wait(0.5)
- connect1 = true
- end
- end)
- local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
- if connect2 == false then
- connect2 = true
- if game.Players:FindFirstChild(hit.Parent.Name) then
- infect(game.Players[hit.Parent.Name])
- end
- wait(0.5)
- connect2 = true
- end
- end)
- local IV = Instance.new("IntValue", pchar)
- IV.Name = "Infected"
- IV.Value = 0
- IV.Changed:connect(function()
- connect1:disconnect()
- connect2:disconnect()
- end)
- end
- infect(v)
- end
- end)
- addcmd('uninfect','makes player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- execCmd("normal " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('duck','makes players head a duck',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("Decal") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- local duck = Instance.new("SpecialMesh", pchar.Torso)
- duck.MeshType = "FileMesh"
- duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
- duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
- duck.Scale = Vector3.new(5, 5, 5)
- pchar.Head.Transparency = 1
- pchar["Left Arm"].Transparency = 1
- pchar["Right Arm"].Transparency = 1
- pchar["Left Leg"].Transparency = 1
- pchar["Right Leg"].Transparency = 1
- pchar.Head.face.Transparency = 1
- end
- end)
- addcmd('unduck','makes player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- execCmd("normal " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('mesh','makes a player into a mesh',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("Decal") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- pchar.Head.Transparency = 1
- pchar["Left Arm"].Transparency = 1
- pchar["Right Arm"].Transparency = 1
- pchar["Left Leg"].Transparency = 1
- pchar["Right Leg"].Transparency = 1
- pchar.Head.face.Transparency = 1
- local msh = Instance.new("SpecialMesh", pchar.Torso)
- msh.MeshType = "FileMesh"
- msh.Scale = Vector3.new(3, 3, 3)
- msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2]
- msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3]
- msh.Scale = Vector3.new(3, 3, 3)
- end
- end)
- addcmd('disable','removes players humanoid',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Humanoid") then
- pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
- local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
- humanoid.Parent = game.ContextActionService
- if args[1] == "all" then
- Notify('Everyone has been disabled')
- elseif args[1] == "others" then
- Notify('Others have been disabled')
- elseif args[1] == "friends" then
- Notify('Friends have been disabled')
- elseif args[1] == "nonfriends" then
- Notify('Non friends have been disabled')
- elseif args[1] == "team" then
- Notify('Your team has been disabled')
- elseif args[1] == "nonteam" then
- Notify('The opossing team been disabled')
- elseif args[1] == "guests" then
- Notify('Guests have been disabled')
- elseif args[1] == "nonadmins" then
- Notify('Nonadmins have been disabled')
- else
- Notify(gPlayers[v].Name .. ' has been disabled')
- end
- end
- end
- end)
- addcmd('enable','gives player humanoid',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Humanoid") then
- return
- else
- local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
- humanoid.Parent = pchar
- humanoid.Name = "Humanoid"
- if args[1] == "all" then
- Notify('Everyone has been enabled')
- elseif args[1] == "others" then
- Notify('Others have been enabled')
- elseif args[1] == "friends" then
- Notify('Friends have been enabled')
- elseif args[1] == "nonfriends" then
- Notify('Non friends have been enabled')
- elseif args[1] == "team" then
- Notify('Your team has been enabled')
- elseif args[1] == "nonteam" then
- Notify('The opossing team has been enabled')
- elseif args[1] == "guests" then
- Notify('Guests have been enabled')
- elseif args[1] == "nonadmins" then
- Notify('Nonadmins have been enabled')
- elseif args[1] == "admins" then
- Notify('Admins have been enabled')
- else
- Notify(gPlayers[v].Name .. ' has been enabled')
- end
- end
- end
- end)
- addcmd('size','changes size of player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- local function scale(chr,scl)
- for _,v in pairs(pchar:GetChildren()) do
- if v:IsA("Accessory") then
- v:Clone()
- v.Parent = game.Lighting
- end
- end
- local Head = chr['Head']
- local Torso = chr['Torso']
- local LA = chr['Left Arm']
- local RA = chr['Right Arm']
- local LL = chr['Left Leg']
- local RL = chr['Right Leg']
- local HRP = chr['HumanoidRootPart']
- wait(0.1)
- Head.formFactor = 3
- Torso.formFactor = 3
- LA.formFactor = 3
- RA.formFactor = 3
- LL.formFactor = 3
- RL.formFactor = 3
- HRP.formFactor = 3
- Head.Size = Vector3.new(scl * 2, scl, scl)
- Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
- LA.Size = Vector3.new(scl, scl * 2, scl)
- RA.Size = Vector3.new(scl, scl * 2, scl)
- LL.Size = Vector3.new(scl, scl * 2, scl)
- RL.Size = Vector3.new(scl, scl * 2, scl)
- HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
- local Motor1 = Instance.new('Motor6D', Torso)
- Motor1.Part0 = Torso
- Motor1.Part1 = Head
- Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.Name = "Neck"
- local Motor2 = Instance.new('Motor6D', Torso)
- Motor2.Part0 = Torso
- Motor2.Part1 = LA
- Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.Name = "Left Shoulder"
- local Motor3 = Instance.new('Motor6D', Torso)
- Motor3.Part0 = Torso
- Motor3.Part1 = RA
- Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.Name = "Right Shoulder"
- local Motor4 = Instance.new('Motor6D', Torso)
- Motor4.Part0 = Torso
- Motor4.Part1 = LL
- Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.Name = "Left Hip"
- local Motor5 = Instance.new('Motor6D', Torso)
- Motor5.Part0 = Torso
- Motor5.Part1 = RL
- Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.Name = "Right Hip"
- local Motor6 = Instance.new('Motor6D', HRP)
- Motor6.Part0 = HRP
- Motor6.Part1 = Torso
- Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- end
- scale(pchar, args[2])
- for _,v in pairs(game.Lighting:GetChildren()) do
- if v:IsA("Accessory") then
- v.Parent = pchar
- end
- end
- end
- end)
- addcmd('clone','clones player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Archivable = true
- local clone = pchar:Clone()
- clone.Parent = game.Workspace
- clone:MoveTo(pchar:GetModelCFrame().p)
- clone:MakeJoints()
- pchar.Archivable = false
- end
- end)
- addcmd('spin','spins player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v.Name == "Spinning" then
- v:Destroy()
- end
- end
- local Torso = pchar.Torso
- local BG = Instance.new("BodyGyro", Torso)
- BG.Name = "Spinning"
- BG.maxTorque = Vector3.new(0, math.huge, 0)
- BG.P = 11111
- BG.cframe = Torso.CFrame
- repeat wait(1/44)
- BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
- until not BG or BG.Parent ~= Torso
- end
- end)
- addcmd('unspin','stops spinning player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v.Name == "Spinning" then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('dog','makes player a dog',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Shirt") then
- pchar.Shirt:Destroy()
- end
- if pchar:FindFirstChild("Pants") then
- pchar.Pants:Destroy()
- end
- if pchar:FindFirstChild("Shirt Graphic") then
- pchar["Shirt Graphic"].Graphic = ""
- end
- pchar.Torso.Transparency = 1
- pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
- local FakeTorso = Instance.new("Seat", pchar)
- FakeTorso.Name = "FakeTorso"
- FakeTorso.FormFactor = "Symmetric"
- FakeTorso.TopSurface = 0
- FakeTorso.BottomSurface = 0
- FakeTorso.Size = Vector3.new(3,1,4)
- FakeTorso.BrickColor = BrickColor.new("Brown")
- FakeTorso.CFrame = pchar.Torso.CFrame
- local BF = Instance.new("BodyForce", FakeTorso)
- BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
- local W = Instance.new("Weld", pchar.Torso)
- W.Part0 = pchar.Torso
- W.Part1 = FakeTorso
- W.C0 = CFrame.new(0,-.5,0)
- local BC = pchar["Body Colors"]
- BC.HeadColor = BrickColor.new("Brown")
- BC.LeftArmColor = BrickColor.new("Brown")
- BC.LeftLegColor = BrickColor.new("Brown")
- BC.RightArmColor = BrickColor.new("Brown")
- BC.RightLegColor = BrickColor.new("Brown")
- BC.TorsoColor = BrickColor.new("Brown")
- end
- end)
- addcmd('undog','makes player back to normal',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- execCmd("normal " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('loopheal','loop heals player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("LoopHeal") then
- pchar.LoopHeal.Name = "NotLoopHeal"
- wait(0.1)
- pchar.NotLoopHeal:Destroy()
- end
- local LoopHeal = Instance.new("StringValue", pchar)
- LoopHeal.Name = "LoopHeal"
- repeat wait(0.1)
- pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
- until LoopHeal.Name == "NotLoopHeal"
- end)
- end
- end)
- addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("LoopHeal") then
- pchar.LoopHeal.Name = "NotLoopHeal"
- wait(0.1)
- pchar.NotLoopHeal:Destroy()
- end
- end
- end)
- addcmd('fling','flings player',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Humanoid") then
- local xran
- local zran
- repeat
- xran = math.random(-9999,9999)
- until math.abs(xran) >= 5555
- repeat
- zran = math.random(-9999,9999)
- until math.abs(zran) >= 5555
- pchar.Humanoid.Sit = true
- pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
- local BF = Instance.new("BodyForce", pchar.HumanoidRootPart)
- BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
- end
- end
- end)
- addcmd('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
- for _, child in pairs( pchar:GetChildren()) do
- if child.ClassName == "CharacterMesh" then
- child:Destroy()
- end
- end
- local LA = DATA.Paper:Clone()
- LA.Parent = pchar["Left Arm"]
- local RA = DATA.Paper:Clone()
- RA.Parent = pchar["Right Arm"]
- local LL = DATA.Paper:Clone()
- LL.Parent = pchar["Left Leg"]
- local RL = DATA.Paper:Clone()
- RL.Parent = pchar["Right Leg"]
- local T = DATA.Paper:Clone()
- T.Parent = pchar.Torso
- local H = DATA.Paper:Clone()
- H.Parent = pchar.Head
- pchar.Head.face:Destroy()
- end
- end)
- addcmd('particles','gives a player particles',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local char = gPlayers[v].Character
- for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:destroy()
- end
- end
- local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart)
- prt.Texture = 'rbxassetid://' .. args[2]
- prt.Rate = 10
- prt.SpreadAngle = Vector2.new(50, 50)
- end
- end)
- addcmd('unparticles','gives a player particles',{'noparticles'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local char = gPlayers[v].Character
- for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:destroy()
- end
- end
- end
- end)
- addcmd('punish','punishs player',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Parent = game.Lighting
- end
- end)
- addcmd('unpunish','unpunishs player',{''},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then
- game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace
- end
- end
- end)
- addcmd('bait',';)',{'troll'},
- function(args, speaker)
- spawn(function()
- local M = Instance.new('Model', workspace) M.Name = 'IYadmin'
- local P = Instance.new('Part', M) P.Name = 'Main' P.Position = speaker.Character.Head.Position P.BrickColor = BrickColor.new('Bright green') P.Material = 'Neon' P.Size = Vector3.new(4, 1, 4)
- y = Instance.new("BillboardGui")
- y.Size = UDim2.new(0,100,0,150)
- y.StudsOffset = Vector3.new(0,1,0)
- y.Parent = P
- y.Adornee = P
- f = Instance.new("TextLabel")
- f.Parent = y
- f.BackgroundTransparency = 1
- f.Position = UDim2.new(0,0,0,-50)
- f.Size = UDim2.new(0,100,0,100)
- f.Font = "Highway"
- f.FontSize = "Size48"
- f.Text = "Touch for admin!"
- f.TextStrokeColor3 = Color3.new(0,0,0)
- f.TextColor3 = Color3.new(255/255,255/255,255/255)
- f.TextStrokeTransparency = 0
- f.TextYAlignment = "Bottom"
- P.Touched:connect(function(oof) if oof.Parent.Name ~= speaker.Name or oof.Parent.Name ~= LP.Name then if oof.Parent:FindFirstChild('Humanoid') then execCmd("oof " .. oof.Parent.Name, Player) end end end)
- end)
- end)
- addcmd('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.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
- spawn(function()
- while wait(0.1) do
- if pchar:FindFirstChild("Float") then
- float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
- else
- break
- end
- end
- end)
- end)
- end
- end
- end)
- addcmd('unfloat','disables floating',{},
- function(args, speaker)
- Floating = false
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Float") then
- pchar.Float:Destroy()
- end
- end
- end)
- 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, 5, cmdbarpos, cmdbarpos2)
- 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
- function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end
- missile = Instance.new('Part', DATA)
- missile.Name = 'IY_missile'
- missile.CanCollide = false
- missile.Size = Vector3.new(2, 5, 2)
- Instance.new('CylinderMesh', missile)
- local F = Instance.new('Part', missile)
- F.BrickColor = BrickColor.new('Black')
- F.CanCollide = false
- F.Size = Vector3.new(2, 0.2, 2)
- Instance.new('CylinderMesh', F)
- local fire = Instance.new('Fire', F)
- fire.Size = "15"
- fire.Heat = "25"
- local head = Instance.new('Part', missile)
- head.CanCollide = false
- head.Shape = 'Ball'
- head.Size = Vector3.new(2, 2, 2)
- head.TopSurface = 'Smooth'
- head.BottomSurface = 'Smooth'
- local BF = Instance.new('BodyForce', missile)
- BF.Name = 'force'
- BF.Force = Vector3.new(0, 0, 0)
- local W1 = Instance.new('Weld', missile)
- W1.Part0 = missile
- W1.Part1 = F
- W1.C1 = CFrame.new(0, 2.6, 0)
- local W2 = Instance.new('Weld', missile)
- W2.Part0 = missile
- W2.Part1 = head
- W2.C1 = CFrame.new(0, -2.6, 0)
- ---------------------------
- --Commands GUI properties--
- ---------------------------
- local CMDss = Instance.new('ScreenGui', DATA)
- local MAINN = Instance.new("Frame")
- local CMDs_2 = Instance.new("ScrollingFrame")
- local Titlee = Instance.new("TextLabel")
- local Exitt = Instance.new("TextButton")
- local Hidee = Instance.new("TextButton")
- Searchh = Instance.new("TextBox")
- local Examplee = Instance.new("TextLabel")
- local HideFramee = Instance.new("Frame")
- local rtrn = Instance.new("TextButton")
- CMDss.Name = "CMDs"
- MAINN.Name = "MAIN"
- MAINN.Parent = CMDss
- MAINN.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- MAINN.Position = UDim2.new(0, -350, 1, -300)
- MAINN.Size = UDim2.new(0, 300, 0, 300)
- MAINN.Style = Enum.FrameStyle.DropShadow
- CMDs_2.Name = "CMDs"
- CMDs_2.Parent = MAINN
- CMDs_2.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CMDs_2.BackgroundTransparency = 1
- CMDs_2.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CMDs_2.BorderSizePixel = 0
- CMDs_2.Position = UDim2.new(0, 0, 0, 55)
- CMDs_2.Size = UDim2.new(0, 285, 0, 230)
- CMDs_2.BottomImage = "rbxasset://textures/blackBkg_square.png"
- CMDs_2.CanvasSize = UDim2.new(0, 0, 0, 3280)
- CMDs_2.MidImage = "rbxasset://textures/blackBkg_square.png"
- CMDs_2.ScrollBarThickness = 8
- CMDs_2.TopImage = "rbxasset://textures/blackBkg_square.png"
- Titlee.Name = "Title"
- Titlee.Parent = MAINN
- Titlee.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- Titlee.BackgroundTransparency = 1
- Titlee.Size = UDim2.new(1, 0, 0, 30)
- Titlee.Font = Enum.Font.SourceSansBold
- Titlee.FontSize = Enum.FontSize.Size24
- Titlee.Text = "Commands"
- Titlee.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- Exitt.Name = "Exit"
- Exitt.Parent = MAINN
- Exitt.BackgroundColor3 = Color3.new(1, 0, 0)
- Exitt.BackgroundTransparency = 0.30000001192093
- Exitt.BorderColor3 = Color3.new(1, 0, 0)
- Exitt.Position = UDim2.new(1, -284, 1, -284)
- Exitt.Size = UDim2.new(0, 20, 0, 20)
- Exitt.FontSize = Enum.FontSize.Size14
- Exitt.Text = ""
- Hidee.Name = "Hide"
- Hidee.Parent = MAINN
- Hidee.BackgroundColor3 = Color3.new(1, 1, 1)
- Hidee.BackgroundTransparency = 0.30000001192093
- Hidee.BorderColor3 = Color3.new(1, 1, 1)
- Hidee.Position = UDim2.new(1, -261, 1, -284)
- Hidee.Size = UDim2.new(0, 20, 0, 20)
- Hidee.FontSize = Enum.FontSize.Size14
- Hidee.Text = ""
- Searchh.Name = "Search"
- Searchh.Parent = MAINN
- Searchh.BackgroundColor3 = Color3.new(0, 0, 0)
- Searchh.BackgroundTransparency = 0.69999998807907
- Searchh.BorderColor3 = Color3.new(1, 1, 1)
- Searchh.Position = UDim2.new(0.5, -127, 0.200000003, -25)
- Searchh.Size = UDim2.new(0, 250, 0, 20)
- Searchh.ClearTextOnFocus = false
- Searchh.Font = Enum.Font.Code
- Searchh.FontSize = Enum.FontSize.Size18
- Searchh.Text = "Search"
- Searchh.TextColor3 = Color3.new(1, 1, 1)
- Searchh.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824)
- Searchh.TextStrokeTransparency = 0
- Examplee.Name = "Example"
- Examplee.Parent = MAINN
- Examplee.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Examplee.BackgroundTransparency = 1
- Examplee.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Examplee.BorderSizePixel = 0
- Examplee.Size = UDim2.new(0, 190, 0, 20)
- Examplee.Visible = false
- Examplee.Font = Enum.Font.Code
- Examplee.FontSize = Enum.FontSize.Size18
- Examplee.Text = "txt"
- Examplee.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- Examplee.TextXAlignment = Enum.TextXAlignment.Left
- HideFramee.Name = "HideFrame"
- HideFramee.Parent = CMDss
- HideFramee.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- HideFramee.BackgroundTransparency = 1
- HideFramee.BorderSizePixel = 0
- HideFramee.Position = UDim2.new(0, -350, 1, -300)
- HideFramee.Size = UDim2.new(0, 300, 0, 300)
- HideFramee.Visible = false
- rtrn.Name = "rtrn"
- rtrn.Parent = HideFramee
- rtrn.BackgroundColor3 = Color3.new(1, 1, 1)
- rtrn.BackgroundTransparency = 0.30000001192093
- rtrn.BorderColor3 = Color3.new(1, 1, 1)
- rtrn.Position = UDim2.new(1, -292, 1, -292)
- rtrn.Size = UDim2.new(0, 20, 0, 20)
- rtrn.FontSize = Enum.FontSize.Size14
- rtrn.Text = ""
- 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,1,1,-300),"Out","Quint",0.3,true)
- cmdBAR:TweenPosition(UDim2.new(0,300,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true)
- cmdbarpos3 = '0'
- cmdbarpos4 = '300'
- game.CoreGui.CMDs.MAIN.Hide.MouseButton1Click:Connect(function()
- cmdwin.MAIN:TweenPosition(UDim2.new(0,-350,1,-300),"Out","Quint",0.3,true)
- cmdwin.HideFrame.Visible = true
- cmdBAR:TweenPosition(UDim2.new(0,5,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true)
- cmdbarpos3 = '0'
- cmdbarpos4 = '5'
- wait(0.4)
- cmdwin.HideFrame:TweenPosition(UDim2.new(0,1,1,-300),"Out","Quint",0.3,true)
- wait(1)
- end)
- game.CoreGui.CMDs.MAIN.Exit.MouseButton1Click:Connect(function()
- cmdwin.MAIN:TweenPosition(UDim2.new(0,-350,1,-300),"Out","Quint",0.3,true)
- cmdBAR:TweenPosition(UDim2.new(0,5,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true)
- cmdbarpos3 = '0'
- cmdbarpos4 = '5'
- wait(0.4)
- cmdOpen = false
- game.CoreGui.CMDs:Destroy()
- end)
- end
- game.CoreGui.CMDs.HideFrame.rtrn.MouseButton1Click:Connect(function()
- cmdwin.HideFrame:TweenPosition(UDim2.new(0,-100,1,-300),"Out","Quint",0.3,true)
- cmdBAR:TweenPosition(UDim2.new(0,300,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true)
- cmdbarpos3 = '0'
- cmdbarpos4 = '300'
- wait(0.4)
- cmdwin.HideFrame.Visible = false
- cmdwin.MAIN:TweenPosition(UDim2.new(0,1,1,-300),"Out","Quint",0.3,true)
- end)
- end
- end
- addcmd('cmds','prints cmds',{},
- function(args, speaker)
- commands()
- wait(0.2)
- local main = game.CoreGui.CMDs
- local frame = main.MAIN:WaitForChild('CMDs')
- local gui = main.MAIN:WaitForChild('Search')
- local focused = false
- Match = function(name,str)
- return name:lower():find(str:lower()) and true
- end
- gui.FocusLost:connect(function(enterpressed)
- gui.Text = "Search"
- end)
- IndexContents = function(str,bool)
- local Index,SizeY = 0,0
- for i,v in next, frame:GetChildren() do
- if bool then
- if Match(v.Text,str) then
- Index = Index + 1
- v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
- v.Visible = true
- SizeY = SizeY + v.AbsoluteSize.Y
- frame.CanvasSize = UDim2.new(0,0,0,SizeY)
- else
- v.Visible = false
- end
- else
- v.Visible = true
- SizeY = SizeY + v.AbsoluteSize.Y
- frame.CanvasSize = UDim2.new(0,0,0,SizeY)
- end
- end
- end
- game:GetService('RunService').Stepped:connect(function()
- if gui:IsFocused() and gui.Text == "Search" then
- gui.Text = ''
- end
- end)
- gui.Changed:connect(function()
- if gui:IsFocused() then IndexContents(gui.Text,true) end
- end)
- IndexContents('',true)
- end)
- -----------------
- ---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(cmdbarpos3, cmdbarpos4, 1, 0), "InOut", "Quad", 0.5, true, nil)
- cmdbarpos = '1'
- cmdbarpos2 = '0'
- end)
- Mouse.KeyDown:connect(function(Key)
- if Key:byte() == 59 then
- CMDbar.CMDbar:TweenPosition(UDim2.new(cmdbarpos3, cmdbarpos4, 1, -24), "InOut", "Quad", 0.5, true, nil)
- CMDbar.CMDbar:CaptureFocus()
- cmdbarpos = '1'
- cmdbarpos2 = '-24'
- 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 v4.6.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 4.6.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. Otherwise join the discord: discord.gg/9MByKtG"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
- TextLabel.TextStrokeTransparency = 0.80000001192093
- TextLabel.TextWrapped = true
- Notice_2.Name = "Notice"
- Notice_2.Parent = Notification
- Notice_2.BackgroundColor3 = Color3.new(0, 0, 0)
- Notice_2.BackgroundTransparency = 1
- Notice_2.BorderSizePixel = 0
- Notice_2.Position = UDim2.new(0, 0, 0, 2)
- Notice_2.Size = UDim2.new(1, 0, 1, -22)
- TextLabel_2.Parent = Notice_2
- TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Size = UDim2.new(1, 0, 1, 0)
- TextLabel_2.Font = Enum.Font.SourceSansBold
- TextLabel_2.FontSize = Enum.FontSize.Size14
- TextLabel_2.Text = "The version of Infinite Yield you are using is outdated! (Using version " .. Version .. " when " .. Asset.Name .. " is avalable)"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextStrokeColor3 = Color3.new(0, 0, 0)
- TextLabel_2.TextStrokeTransparency = 0.80000001192093
- TextLabel_2.TextWrapped = true
- ButtonSeparator.Name = "ButtonSeparator"
- ButtonSeparator.Parent = Notification
- ButtonSeparator.BackgroundColor3 = Color3.new(0, 0, 0)
- ButtonSeparator.BackgroundTransparency = 0.5
- ButtonSeparator.BorderColor3 = Color3.new(1, 1, 1)
- ButtonSeparator.BorderSizePixel = 0
- ButtonSeparator.Position = UDim2.new(0.5, 0, 1, -22)
- ButtonSeparator.Size = UDim2.new(0, 2, 0, 22)
- HelpButton.Name = "HelpButton"
- HelpButton.Parent = Notification
- HelpButton.BackgroundColor3 = Color3.new(0, 0, 0)
- HelpButton.BackgroundTransparency = 0.80000001192093
- HelpButton.BorderColor3 = Color3.new(0, 0, 0)
- HelpButton.BorderSizePixel = 0
- HelpButton.Position = UDim2.new(0.5, 0, 1, -22)
- HelpButton.Size = UDim2.new(0.5, 0, 0, 22)
- HelpButton.Font = Enum.Font.Highway
- HelpButton.FontSize = Enum.FontSize.Size18
- HelpButton.Text = "What should I do?"
- HelpButton.TextColor3 = Color3.new(1, 1, 1)
- OKButton_2.Name = "OKButton"
- OKButton_2.Parent = Notification
- OKButton_2.BackgroundColor3 = Color3.new(0, 0, 0)
- OKButton_2.BackgroundTransparency = 0.80000001192093
- OKButton_2.BorderColor3 = Color3.new(0, 0, 0)
- OKButton_2.BorderSizePixel = 0
- OKButton_2.Position = UDim2.new(0, 0, 1, -22)
- OKButton_2.Size = UDim2.new(0.5, 0, 0, 22)
- OKButton_2.Font = Enum.Font.Highway
- OKButton_2.FontSize = Enum.FontSize.Size18
- OKButton_2.Text = "Ignore"
- OKButton_2.TextColor3 = Color3.new(1, 1, 1)
- Bar.Name = "Bar"
- Bar.Parent = Notification
- Bar.BackgroundColor3 = Color3.new(1, 0, 0)
- Bar.BorderSizePixel = 0
- Bar.Size = UDim2.new(1, 0, 0, 2)
- 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