Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait(1) until game:IsLoaded()
- --vars
- local PlayIntro = true --Change to false to not play intro
- local JayPrefix = ";"
- local uis = game:GetService("UserInputService")
- local plr = game.Players.LocalPlayer
- local CoreGui = game.CoreGui--plr.PlayerGui
- local MainGui = Instance.new("ScreenGui",CoreGui)
- local RunService = game:GetService("RunService")
- local Aflyoop = false
- local Clip = true
- local Col1 = Color3.new(47/255,47/255,47/255)
- local Col2 = Color3.new(1,1,1)
- local Col3 = Color3.new(0,0,0)
- local mouse = plr:GetMouse()
- MainGui.Name = "JayAdminMain"
- --Noclip
- local NoclipLoop = function()
- for i, child in pairs(plr.Character:GetDescendants()) do
- if Clip == false then
- if child:IsA("BasePart") and child.CanCollide == true then
- child.CanCollide = false
- end
- elseif Clip == true then
- if child:IsA("BasePart") and child.CanCollide == false then
- child.CanCollide = true
- end
- end
- end
- end
- Noclipping = game:GetService('RunService').Stepped:connect(NoclipLoop)
- --fly
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local torso = plr.Character.Head
- local flying = false
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- end
- local FlyActivator = function()
- if Aflyoop == true then
- Aflyoop = false
- flying = true
- Fly()
- else
- flying = false
- Aflyoop = true
- end
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- end
- end)
- --Spam Function
- local Spam = false
- local SpamFunction = function(Speach)
- while Spam == true do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Speach, "All")
- wait(1)
- end
- end
- -- Commands Window
- local CommandsWindow = Instance.new("Frame",MainGui)
- CommandsWindow.Name = "CommandsWindow"
- CommandsWindow.BackgroundColor3 = Color3.new(21/255,21/255,21/255)
- CommandsWindow.Size = UDim2.new(0.275,0,0.035,0)
- CommandsWindow.Position = UDim2.new(0.3,0,0.3,0)
- CommandsWindow.BorderSizePixel = 0
- CommandsWindow.Visible = false
- CommandsWindow.Active = false
- CommandsWindow.Draggable = true
- CommandsWindow.Selectable = true
- local CommandFrame = Instance.new("ScrollingFrame",CommandsWindow)
- CommandFrame.Name = "CommandFrame"
- CommandFrame.Size = UDim2.new(1,0,9,0)
- CommandFrame.Position = UDim2.new(0,0,1,0)
- CommandFrame.BackgroundColor3 = Color3.new(47/255,47/255,47/255)
- CommandFrame.BorderSizePixel = 0
- CommandFrame.ScrollBarThickness = 10
- CommandFrame.TopImage = ""
- CommandFrame.BottomImage = ""
- CommandFrame.MidImage = "rbxassetid://4933533316"
- local CommandLayout = Instance.new("UIListLayout",CommandFrame)
- CommandLayout.Name = "CommandLayout"
- local CreateAdminLabel = function(text,name)
- local ALabel = Instance.new("TextLabel",CommandFrame)
- ALabel.Size = UDim2.new(1,0,0.05,0)
- ALabel.Text = text
- ALabel.Name = name
- ALabel.Font = "Legacy"
- ALabel.TextSize = math.ceil(CommandFrame.AbsoluteSize.Y*0.04)
- ALabel.TextColor3 = Col2
- ALabel.BackgroundTransparency = 1
- ALabel.TextXAlignment = "Left"
- CommandFrame.CanvasSize = UDim2.new(0,CommandLayout.AbsoluteContentSize.X,0,CommandLayout.AbsoluteContentSize.Y*1.1)
- CommandLayout.Padding = UDim.new(0,CommandFrame.AbsoluteSize.Y*0.025)
- CommandLayout.SortOrder = Enum.SortOrder.Name
- end
- local Disc = CreateAdminLabel("Commands CAN be typed with or without caps.","1DiscLabel")
- local Disc2 = CreateAdminLabel("The prefix is optional when executing a command.","2Disc2Label")
- local FLYLabel = CreateAdminLabel("FLY - Makes you fly","3FLYLabel")
- local UNFLYLabel = CreateAdminLabel("UNFLY - Disables Fly","4UNFLYLabel")
- local DESTROYLabel = CreateAdminLabel("DESTROY - Destroys Jay Admin","DESTROYLabel")
- local UNSHIRTLabel = CreateAdminLabel("UNSHIRT - Removes your shirt","UNSHIRTLabel")
- local UNPANTLabel = CreateAdminLabel("UNPANT - Removes your pants","UNPANTLabel")
- local NOCLIPLabel = CreateAdminLabel("NOCLIP - Makes you walk through walls","NOCLIPLabel")
- local WSLabel = CreateAdminLabel("WS / SPEED (num) - Changes walkspeed to set number","WSLabel")
- local GOTOLabel = CreateAdminLabel("GOTO (plr) - Teleports you to a player in the server","GOTOLabel")
- local ERIGLabel = CreateAdminLabel("ERIG - Loads ERIG","ERIGLabel")
- local CMDSLabel = CreateAdminLabel("CMDS / COMMANDS - Shows commands list (this)","CMDSLabel")
- local DEXLabel = CreateAdminLabel("DEX / EXPLORER - Loads Dex Explorer","DEXLabel")
- local JPLabel = CreateAdminLabel("JP / JUMPPOWER (num) - Changes JumpPower to set number","JPLabel")
- local RJLabel = CreateAdminLabel("RJ / REJOIN - Forces you to rejoin the game","RJLabel")
- local SPAMLabel = CreateAdminLabel("SPAM (msg) - Repeats message in chat","SPAMLabel")
- local UNSPAMLabel = CreateAdminLabel("UNSPAM - Disabled the Spam command","UNSPAMLabel")
- local CEB = Instance.new("TextButton",CommandsWindow)
- CEB.Text = "X"
- CEB.Size = UDim2.new(0.03,0,1,0)
- CEB.Position = UDim2.new(0.005,0,0,0)
- CEB.Name = "CEB"
- CEB.TextColor3 = Col2
- CEB. BackgroundTransparency = 1
- CEB.TextSize = math.ceil(CommandsWindow.AbsoluteSize.Y*0.6)
- CEB.Font = "Arial"
- CEB.LineHeight = 0
- CEB.MouseButton1Click:Connect(function()
- CommandsWindow.Visible = false
- CommandsWindow.Active = false
- end)
- local CMB = Instance.new("TextButton",CommandsWindow)
- local CommandFrameOpen = true
- CMB.Text = "–"
- CMB.Size = UDim2.new(0.03,0,1,0)
- CMB.Position = UDim2.new(0.045,0,0,0)
- CMB.Name = "CMB"
- CMB.TextColor3 = Col2
- CMB. BackgroundTransparency = 1
- CMB.TextSize = math.ceil(CommandsWindow.AbsoluteSize.Y*0.6)
- CMB.Font = "Arial"
- CMB.LineHeight = 0
- CMB.MouseButton1Click:Connect(function()
- if CommandFrameOpen == true then
- CommandFrameOpen = false
- CommandFrame.Visible = false
- CMB.Text = "+"
- CMB.TextSize = math.ceil(CommandsWindow.AbsoluteSize.Y*0.8)
- else
- CommandFrameOpen = true
- CommandFrame.Visible = true
- CMB.Text = "–"
- CMB.TextSize = math.ceil(CommandsWindow.AbsoluteSize.Y*0.6)
- end
- end)
- -- message Function
- local MessageFolder = Instance.new("Folder",MainGui)
- local MessageWindow = Instance.new("Frame",MessageFolder)
- MessageWindow.Visible = false
- MessageWindow.Name = "MessageWindow"
- MessageWindow.Size = UDim2.new(0.15,0,0.2,0)
- MessageWindow.Position = UDim2.new(0.85,0,0.8,0)
- MessageWindow.BackgroundColor3 = Col1
- MessageWindow.BorderSizePixel = 0
- local MessageBar = Instance.new("Frame",MessageWindow)
- MessageBar.BackgroundColor3 = Col3
- MessageBar.BorderSizePixel = 0
- MessageBar.Size = UDim2.new(1,0,0.15,0)
- local MBEB = Instance.new("TextButton",MessageBar)
- MBEB.Text = "X"
- MBEB.Size = UDim2.new(0.075,0,1,0)
- MBEB.Name = "MBEB"
- MBEB.TextColor3 = Col2
- MBEB. BackgroundTransparency = 1
- MBEB.TextSize = math.ceil(MessageBar.AbsoluteSize.Y*0.6)
- MBEB.Font = "Arial"
- MBEB.LineHeight = 0
- local MTittle = Instance.new("TextLabel",MessageBar)
- MTittle.Size = UDim2.new(0.5,0,1,0)
- MTittle.Position = UDim2.new(0.25,0,0,0)
- MTittle.BackgroundTransparency = 1
- MTittle.Font = "Legacy"
- MTittle.TextScaled = true
- MTittle.TextColor3 = Col2
- local MText = Instance.new("TextLabel",MessageWindow)
- MText.TextScaled = true
- MText.BackgroundTransparency = 1
- MText.Size = UDim2.new(1,0,0.85,0)
- MText.Position = UDim2.new(0,0,0.15,0)
- MText.Font = "Legacy"
- MText.TextColor3 = Col2
- MBEB.MouseButton1Click:Connect(function()
- MessageWindow.Visible = false
- end)
- local message = function(text,tittle,time)
- MessageWindow.Visible = true
- MTittle.Text = tittle
- MText.Text = text
- wait(time)
- MessageWindow.Visible = false
- end
- --Players Teleport Function
- local GotoPlr = function(FName)
- local TN
- local FP = game.Players:GetChildren()
- local TFN = string.len(FName)
- for i= 1, #FP do
- local child = FP[i]
- local CNC = string.upper(child.Name)
- if string.sub(CNC,1,TFN) == FName then
- plr.Character:SetPrimaryPartCFrame(CFrame.new(child.Character.PrimaryPart.Position) +Vector3.new(-2,0,-2))
- message("You Teleported to:"..child.Name,"Teleported",10)
- end
- end
- end
- --Jay Admin
- local JayBarFrame = Instance.new("Frame",MainGui)
- JayBarFrame.Name = "JayBarFrame"
- JayBarFrame.BackgroundColor3 = Color3.new(0,0,0)
- JayBarFrame.BackgroundTransparency = 0.4
- JayBarFrame.Size = UDim2.new(1,0,1,0)
- JayBarFrame.Visible = false
- local JBar = Instance.new("TextBox",JayBarFrame)
- JBar.BackgroundColor3 = Color3.new(47/255,47/255,47/255)
- JBar.Size = UDim2.new(1,0,0.05,0)
- JBar.Position = UDim2.new(0,0,0.05,0)
- JBar.BorderSizePixel = 0
- JBar.TextColor3 = Color3.new(1,1,1)
- JBar.Text = "Text"
- JBar.Font = "GothamBold"
- JBar.TextScaled = true
- JBar.Name = "JayAdminBar"
- local FL = Instance.new("BoolValue",script)
- mouse.KeyDown:connect(function(input)
- if input:lower() == ";" then
- if FL.Value == false then
- FL.Value = true
- JayBarFrame.Visible = true
- JBar:CaptureFocus()
- JBar.FocusLost:Connect(function()
- local msg = string.upper(JBar.Text)
- JayBarFrame.Visible = false
- if string.sub(msg, 1,4) == JayPrefix.."FLY" or string.sub(msg, 1,3) == "FLY" then
- Aflyoop = true
- FlyActivator()
- message("Flying enabled, use Unfly to discontinue.","Flying",10)
- elseif string.sub(msg, 1,6) == JayPrefix.."UNFLY" or string.sub(msg, 1,5) == "UNFLY" then
- Aflyoop = false
- FlyActivator()
- message("Flying disabled, use Fly to enable.","Unflying",10)
- elseif string.sub(msg, 1,8) == JayPrefix.."DESTROY" or string.sub(msg, 1,7) == "DESTROY" then
- message("Destroying ALL of Jay Admin in 5 seconds.","Destroy",4.5)
- wait(0.5)
- MainGui:Destroy()
- script:Destroy()
- elseif string.sub(msg, 1,8) == JayPrefix.."UNSHIRT" or string.sub(msg, 1,7) == "UNSHIRT" then
- local Shirt = plr.Character:FindFirstChildWhichIsA("Shirt")
- if Shirt == nil then
- else
- Shirt:Destroy()
- message("You took your shirt off lol. Use Unpant to take your pants off.","Took Shirt Off",10)
- end
- elseif string.sub(msg, 1,7) == JayPrefix.."UNPANT" or string.sub(msg, 1,6) == "UNPANT" then
- local Pants = plr.Character:FindFirstChildWhichIsA("Pants")
- if Pants == nil then
- else
- Pants:Destroy()
- message("You took your pants off lol. Use Unshirt to take your shirt off.","Took Pants Off",10)
- end
- elseif string.sub(msg, 1,7) == JayPrefix.."NOCLIP" or string.sub(msg, 1,6) == "NOCLIP" then
- Clip = false
- message("Nocliped, use Clip to discontinue.","Nocliped",10)
- elseif string.sub(msg, 1,5) == JayPrefix.."CLIP" or string.sub(msg, 1,4) == "CLIP" then
- Clip = true
- message("Cliped, use Noclip to discontinue.","Cliped",10)
- elseif string.sub(msg, 1,4) == JayPrefix.."WS " then
- plr.Character.Humanoid.WalkSpeed = (string.sub(msg, 5))
- message("Your WalkSpeed was set to:"..string.sub(msg, 5),"WalkSpeed Changed",10)
- elseif string.sub(msg, 1,3) == "WS " then
- plr.Character.Humanoid.WalkSpeed = (string.sub(msg, 4))
- message("Your WalkSpeed was set to:"..string.sub(msg, 4),"WalkSpeed Changed",10)
- elseif string.sub(msg, 1,7) == JayPrefix.."SPEED " then
- plr.Character.Humanoid.WalkSpeed = (string.sub(msg, 8))
- message("Your WalkSpeed was set to:"..string.sub(msg, 8),"WalkSpeed Changed",10)
- elseif string.sub(msg, 1,6) == "SPEED " then
- plr.Character.Humanoid.WalkSpeed = (string.sub(msg, 7))
- message("Your WalkSpeed was set to:"..string.sub(msg, 7),"WalkSpeed Changed",10)
- elseif string.sub(msg, 1,6) == JayPrefix.."GOTO " then
- GotoPlr(string.sub(msg, 7))
- elseif string.sub(msg, 1,5) == "GOTO " then
- GotoPlr(string.sub(msg, 6))
- elseif string.sub(msg, 1,5) == JayPrefix.."ERIG" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/Y4sMattZ'),true))()
- message("ERIG loaded successfully!","ERIG loaded!",10)
- elseif string.sub(msg, 1,4) == "ERIG" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/Y4sMattZ'),true))()
- message("ERIG loaded successfully!","ERIG loaded!",10)
- elseif string.sub(msg, 1,9) == JayPrefix.."COMMANDS" or string.sub(msg, 1,8) == "COMMANDS" or string.sub(msg, 1,5) == JayPrefix.."CMDS" or string.sub(msg, 1,4) == "CMDS" then
- CommandsWindow.Visible = true
- CommandsWindow.Active = true
- elseif string.sub(msg, 1,4) == JayPrefix.."DEX" or string.sub(msg, 1,3) == "DEX" or string.sub(msg, 1,9) == JayPrefix.."EXPLORER" or string.sub(msg, 1,8) == "EXPLORER" then
- loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
- message("Dex loaded successfully!","Dex loaded!",10)
- elseif string.sub(msg, 1,4) == JayPrefix.."JP " then
- plr.Character.Humanoid.JumpPower = (string.sub(msg, 5))
- message("Your JumpPower was set to:"..string.sub(msg, 5),"JumpPower Changed",10)
- elseif string.sub(msg, 1,3) == "JP " then
- plr.Character.Humanoid.JumpPower = (string.sub(msg, 4))
- message("Your JumpPower was set to:"..string.sub(msg, 4),"JumpPower Changed",10)
- elseif string.sub(msg, 1,11) == JayPrefix.."JUMPPOWER " then
- plr.Character.Humanoid.JumpPower = (string.sub(msg, 12))
- message("Your JumpPower was set to:"..string.sub(msg, 12),"JumpPower Changed",10)
- elseif string.sub(msg, 1,10) == "JUMPPOWER " then
- plr.Character.Humanoid.JumpPower = (string.sub(msg, 11))
- message("Your JumpPower was set to:"..string.sub(msg, 11),"JumpPower Changed",10)
- elseif string.sub(msg, 1,7) == JayPrefix.."REJOIN" or string.sub(msg, 1,6) == "REJOIN" or string.sub(msg, 1,3) == JayPrefix.."RJ" or string.sub(msg, 1,2) == "RJ" then
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- elseif string.sub(msg, 1,6) == JayPrefix.."SPAM " then
- Spam = true
- SpamFunction((string.sub(msg, 7)))
- elseif string.sub(msg, 1,5) == "SPAM " then
- Spam = true
- SpamFunction((string.sub(msg, 6)))
- message("Started Spamming.","Spam",10)
- elseif string.sub(msg, 1,7) == JayPrefix.."UNSPAM" or string.sub(msg, 1,6) == "UNSPAM" then
- Spam = false
- message("Stoped Spamming.","Unspam",10)
- end
- end)
- wait(1)
- FL.Value = false
- end
- end
- end)
- if PlayIntro == true then
- local IntroFrame = Instance.new("Frame",MainGui)
- IntroFrame.BackgroundTransparency = 0.5
- IntroFrame.Size = UDim2.new(1,0,1,0)
- IntroFrame.BackgroundColor3 = Color3.new(48/255,188/255,237/255)
- IntroFrame.BorderSizePixel = 0
- local IntroLabel = Instance.new("ImageLabel",IntroFrame)
- IntroLabel.BorderSizePixel = 0
- IntroLabel.Size = UDim2.new(0.5,0,0.5,0)
- IntroLabel.Position = UDim2.new(0.25,0,1,0)
- IntroLabel.BackgroundTransparency = 1
- IntroLabel.Image = "rbxassetid://4921113189"
- IntroLabel:TweenPosition(UDim2.new(0.25,0,0.25,0),Enum.EasingDirection.InOut,Enum.EasingStyle.Elastic,5)
- wait(5)
- IntroFrame:Destroy()
- end
Add Comment
Please, Sign In to add comment