Test fe hub
Key RequiredUniversal

Test fe hub

Universal Scriptryanscreationzryanscreationz 3.4K views 186 executesUpdated Dec 24, 2024
5.0/ 5(1 votes)
10100% Positive
Lua Script•290 lines (7718 chars)
local player = game.Players.LocalPlayer

local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))() 

local Window = OrionLib:MakeWindow({Name = "0oop0Kidd Hub", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})

--[[
Name = <string> - The name of the UI.
HidePremium = <bool> - Whether or not the user details shows Premium status or not.
SaveConfig = <bool> - Toggles the config saving in the UI.
ConfigFolder = <string> - The name of the folder where the configs are saved.
IntroEnabled = <bool> - Whether or not to show the intro animation.
IntroText = <string> - Text to show in the intro animation.
IntroIcon = <string> - URL to the image you want to use in the intro animation.
Icon = <string> - URL to the image you want displayed on the window.
CloseCallback = <function> - Function to execute when the window is closed.
]]

local Tab = Window:MakeTab({
	Name = "Main Scripts",
	Icon = "rbxassetid://4483345998",
	PremiumOnly = false
})

--[[
Name = <string> - The name of the tab.
Icon = <string> - The icon of the tab.
PremiumOnly = <bool> - Makes the tab accessible to Sirus Premium users only.
]]

local Section = Tab:AddSection({
	Name = "Main Scripts"
})

--[[
Name = <string> - The name of the section.
]]

OrionLib:MakeNotification({
	Name = "Script Executed",
	Content = "HAVE FUN!",
	Image = "rbxassetid://140661291140562",
	Time = 5
})

--[[
Title = <string> - The title of the notification.
Content = <string> - The content of the notification.
Image = <string> - The icon of the notification.
Time = <number> - The duration of the notfication.
]]

Tab:AddButton({
	Name = "Fe Sonic",
	Callback = function()
      		-- Sonic Wahahah
local userInputService = game:GetService("UserInputService")
local runService = game:GetService("RunService")
local tweenService = game:GetService("TweenService")  -- Added TweenService for sound fading
local players = game:GetService("Players")


local player = players.LocalPlayer
local isPC = userInputService.KeyboardEnabled
local isActive = false
local runSoundId = "rbxassetid://1847683491"
local runAnimationId = "rbxassetid://16584466961"
local stopAnimationId = "rbxassetid://13876406148"


local sound = Instance.new("Sound")
sound.SoundId = runSoundId
sound.Looped = true
sound.Volume = 1  -- Default volume set to 1
sound.Parent = player:WaitForChild("PlayerGui")

local tool = Instance.new("Tool")
tool.Name = "Sonic"
tool.RequiresHandle = false
tool.Parent = player.Backpack


local animationTrack
local stopAnimationTrack
local moveConnection
local moveSpeed = 250
local initialSpeed = 0.5
local speed = initialSpeed
local elapsedTime = 0
local changeTime = 2.3

local fadeDuration = 1

local trail

local function createTrail(rootPart)
    trail = Instance.new("Trail")
    trail.Attachment0 = Instance.new("Attachment", rootPart)
    trail.Attachment1 = Instance.new("Attachment", rootPart)
    trail.Attachment1.Position = Vector3.new(0, -2, 0)
    trail.Lifetime = 0.5  -- Adjust as needed
    trail.Color = ColorSequence.new(Color3.new(0 , 255, 255))
    trail.Transparency = NumberSequence.new({
        NumberSequenceKeypoint.new(0, 0),
        NumberSequenceKeypoint.new(1, 1)
    })
    trail.Enabled = false
    trail.Parent = rootPart
end

local function startMoving(rootPart)
    trail.Enabled = true
    moveConnection = runService.RenderStepped:Connect(function(deltaTime)
        elapsedTime = elapsedTime + deltaTime
        if elapsedTime >= changeTime then
            moveSpeed = 250
        end

        local lookVector = rootPart.CFrame.LookVector
        local newVelocity = lookVector * moveSpeed * speed
        rootPart.Velocity = newVelocity
    end)
end

local function stopMoving(rootPart)
    if moveConnection then
        moveConnection:Disconnect()
        moveConnection = nil
        speed = initialSpeed
        elapsedTime = 0 -- Reset elapsed time
        rootPart.Velocity = Vector3.new(0, 0, 0)
        trail.Enabled = false
    end
end

local function playStopAnimation(humanoid)
    local stopAnimation = Instance.new("Animation")
    stopAnimation.AnimationId = stopAnimationId
    stopAnimationTrack = humanoid:LoadAnimation(stopAnimation)
    stopAnimationTrack:Play()
end

local function fadeOutSound()
    local tweenInfo = TweenInfo.new(fadeDuration)
    local goal = { Volume = 0 }


    local tween = tweenService:Create(sound, tweenInfo, goal)
    tween:Play()

    tween.Completed:Connect(function()
        sound:Stop()
        sound.Volume = 1
    end)
end

local function activate()
    local character = player.Character or player.CharacterAdded:Wait()
    local humanoid = character:WaitForChild("Humanoid")
    local rootPart = character:WaitForChild("HumanoidRootPart")

    rootPart.Anchored = false

    if not trail then
        createTrail(rootPart)
    end

    local runAnimation = Instance.new("Animation")
    runAnimation.AnimationId = runAnimationId
    animationTrack = humanoid:LoadAnimation(runAnimation)
    animationTrack:Play()
    animationTrack:AdjustSpeed(1)

    sound:Play()

    startMoving(rootPart)
end

local function deactivate()
    local character = player.Character
    local humanoid = character:WaitForChild("Humanoid")
    local rootPart = character:WaitForChild("HumanoidRootPart")

    if animationTrack then
        animationTrack:Stop()
    end

    fadeOutSound()

    stopMoving(rootPart)

    playStopAnimation(humanoid)
end

local function toggleAbility()
    if not isActive then
        activate()
    else
        deactivate()
    end
    isActive = not isActive
end

local function onKeyPress(input)
    if input.KeyCode == Enum.KeyCode.K then
        toggleAbility()
    end
end

local function onToolActivated()
    toggleAbility()
end

if isPC then
    userInputService.InputBegan:Connect(onKeyPress)
else
    tool.Activated:Connect(onToolActivated)
end

local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local function updateBarColor()
    local screenGui = playerGui:FindFirstChild("ScreenGui")
    if not screenGui then return end

    local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
    if not magicHealthFrame then return end

    local healthFrame = magicHealthFrame:FindFirstChild("Health")
    if not healthFrame then return end

    local barFrame = healthFrame:FindFirstChild("Bar")
    if not barFrame then return end

    local imageLabel = barFrame:FindFirstChild("Bar")
    if not imageLabel or not imageLabel:IsA("ImageLabel") then return end

    imageLabel.ImageColor3 = Color3.fromRGB(255, 255, 0)
end

local function onCharacterAdded(character)
    updateBarColor()
end

local function onPlayerAdded()
    local character = player.Character or player.CharacterAdded:Wait()
    onCharacterAdded(character)

    player.CharacterAdded:Connect(onCharacterAdded)
end

Players.PlayerAdded:Connect(onPlayerAdded)
if player then
    onPlayerAdded()
end
  	end    
})

--[[
Name = <string> - The name of the button.
Callback = <function> - The function of the button.
]]

Tab:AddButton({
	Name = "ChatBypass gui (OP)",
	Callback = function()
      		loadstring(game:HttpGet("https://raw.githubusercontent.com/AlgariBot/lua/refs/heads/Lua-Script-Executor/LocalNeverPatchedBypass.txt"))()
  	end    
})

--[[
Name = <string> - The name of the button.
Callback = <function> - The function of the button.
]]

Tab:AddButton({
	Name = "Button!",
	Callback = function()
      		print("button pressed")
  	end    
})

--[[
Name = <string> - The name of the button.
Callback = <function> - The function of the button.
]]

Features & Information

We

Community Comments (3)

FE_ScriptsFE_ScriptsDec 24, 2024(edited)

I like it

ryanscreationzryanscreationzDec 24, 2024(edited)

Thank you

ryanscreationzryanscreationzDec 24, 2024(edited)

I’m updating it

More Scripts for Universal Scripts