Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
- local Window = OrionLib:MakeWindow({Name = "Universal Hub", HidePremium = true, SaveConfig = false, ConfigFolder = "OrionTest", IntroText = "Universal Hub"})
- task.spawn(function()
- while true do
- wait(35)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't camp! Play the game normally", "All")
- end
- end)
- -- Variables --
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- local Player = game.Players.LocalPlayer
- _G.CurrentSpeed = -0.5
- _G.CurrentJHeight = 50
- _G.InfiniteJumpEnabled = false
- _G.PlayerEspEnabled = false
- local Main = Window:MakeTab({
- Name = "Player",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- Main:AddLabel("Basic Actions")
- Main:AddTextbox({
- Name = "Speed",
- Default = "",
- TextDisappear = true,
- Callback = function(Value)
- if (tonumber(Value)) ~= nil then
- _G.CurrentSpeed = (tonumber(Value) / 2) * -1
- end
- end
- })
- Main:AddTextbox({
- Name = "Jump Height",
- Default = "",
- TextDisappear = true,
- Callback = function(Value)
- if (tonumber(Value)) ~= nil then
- _G.CurrentJHeight = tonumber(Value) * 10
- end
- end
- })
- local function addTracker(Character, Target)
- if Character and (_G.PlayerEspEnabled == true) then
- if Character:FindFirstChildOfClass("Humanoid") then
- Character:FindFirstChildOfClass("Humanoid").DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- end
- if Character:FindFirstChild("Head") then
- local NameTag = Instance.new("BillboardGui", Character.Head)
- NameTag.Name = "_playerTag"
- NameTag.AlwaysOnTop = true
- NameTag.Size = UDim2.new(0, 200, 0, 15)
- NameTag.StudsOffset = Vector3.new(0, 2.1, 0)
- local TextLabel = Instance.new("TextLabel", NameTag)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 200, 0, 15)
- if Target.Name == Target.DisplayName then
- TextLabel.Text = Target.Name
- else
- TextLabel.Text = Target.Name.." | "..Target.DisplayName
- end
- TextLabel.Font = Enum.Font.SourceSansBold
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextStrokeTransparency = 0
- end
- local Highlight = Instance.new("Highlight", Character)
- Highlight.Name = "_playerHighlight"
- Highlight.FillColor = Color3.new(255, 255, 255)
- Highlight.FillTransparency = 0.3
- Highlight.OutlineTransparency = 1
- elseif (_G.PlayerEspEnabled == false) then
- if Character:FindFirstChildOfClass("Humanoid") then
- Character:FindFirstChildOfClass("Humanoid").DisplayDistanceType = Enum.HumanoidDisplayDistanceType.Subject
- end
- if Character:FindFirstChild("Head") then
- if Character.Head:FindFirstChild("_playerTag") then
- Character.Head._playerTag:Destroy()
- end
- if Character.Head:FindFirstChild("_playerHighlight") then
- Character.Head._playerHighlight:Destroy()
- end
- end
- end
- end
- local function toggleEsp(Bool)
- if (Bool == true) then
- for _, Target in pairs(game.Players:GetPlayers()) do
- local Character = Target.Character
- addTracker(Character, Target)
- Target.CharacterAdded:Connect(addTracker(Character, Target))
- end
- end
- end
- Main:AddToggle({
- Name = "Infinite Jump",
- Default = false,
- Callback = function(Value)
- OrionLib:MakeNotification({
- Name = "Success!",
- Content = "Infinite Jump has been toggled to "..string.upper(tostring(Value)),
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- _G.InfiniteJumpEnabled = Value
- toggleEsp(Value)
- end
- })
- Main:AddParagraph("Useful Actions", "Games with anti-cheat can mess this up")
- local PlayerTable = {}
- table.insert(PlayerTable, "Refresh Player List...")
- for _, Target in pairs(game.Players:GetPlayers()) do
- table.insert(PlayerTable, Target.Name)
- end
- PlayerList = Main:AddDropdown({
- Name = "Teleport",
- Default = "Select A Player...",
- Options = PlayerTable,
- Callback = function(Value)
- if Value == "Refresh Player List..." then
- PlayerTable = {}
- table.insert(PlayerTable, "Refresh Player List...")
- for _, Target in pairs(game.Players:GetPlayers()) do
- table.insert(PlayerTable, Target.Name)
- end
- PlayerList:Refresh(PlayerTable, true)
- else
- if game.Players:FindFirstChild(Value) then
- local Target = game.Players:FindFirstChild(Value)
- if Player.Character:FindFirstChild("HumanoidRootPart") then
- Player.Character.HumanoidRootPart.CFrame = Target.Character.HumanoidRootPart.CFrame + Vector3.new(0, 4, 0)
- end
- end
- end
- end,
- })
- Main:AddToggle({
- Name = "Player ESP",
- Default = false,
- Callback = function(Value)
- OrionLib:MakeNotification({
- Name = "Success!",
- Content = "Player ESP has been toggled to "..string.upper(tostring(Value)),
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- _G.PlayerEspEnabled = Value
- toggleEsp(Value)
- end
- })
- OrionLib:Init()
- -- Main Functions --
- local function updateSpeed()
- RunService.Heartbeat:Connect(function()
- if Player.Character:FindFirstChild("Humanoid") and Player.Character:FindFirstChild("HumanoidRootPart") and Player.Character.Humanoid.MoveDirection.Magnitude > 0 then
- Player.Character.HumanoidRootPart.CFrame = (Player.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,_G.CurrentSpeed))
- end
- end)
- end
- local function updateJumpHeight()
- while wait() do
- if Player.Character:FindFirstChild("Humanoid") and Player.Character:FindFirstChild("HumanoidRootPart") then
- Player.Character.Humanoid.UseJumpPower = true
- Player.Character.Humanoid.JumpHeight = _G.CurrentJHeight
- end
- end
- end
- local function updateInfJump()
- UserInputService.JumpRequest:Connect(function()
- if _G.InfiniteJumpEnabled == true then
- Player.Character.Humanoid:ChangeState("Jumping")
- end
- end)
- end
- task.spawn(updateSpeed)
- task.spawn(updateJumpHeight)
- task.spawn(updateInfJump)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement