trexinator universal infinity
Key RequiredUniversal

trexinator universal infinity

Universal Scriptrolledrick581rolledrick581 1.4K views 26 executesUpdated Aug 15, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•101 lines (3293 chars)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer

local CoreGui = game:GetService("CoreGui")

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Parent = CoreGui
ScreenGui.Name = "InfinityUI"
ScreenGui.ResetOnSpawn = false

local ToggleButton = Instance.new("TextButton")
ToggleButton.Parent = ScreenGui
ToggleButton.Text = "∞"
ToggleButton.Size = UDim2.new(0, 40, 0, 40)
ToggleButton.Position = UDim2.new(0, 20, 0.5, -20)
ToggleButton.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleButton.Draggable = true
ToggleButton.Active = true

local MainFrame = Instance.new("Frame")
MainFrame.Parent = ScreenGui
MainFrame.Size = UDim2.new(0, 200, 0, 120)
MainFrame.Position = UDim2.new(0.5, -100, 0.5, -60)
MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
MainFrame.Visible = false
MainFrame.Active = true
MainFrame.Draggable = true

local Title = Instance.new("TextLabel")
Title.Parent = MainFrame
Title.Text = "Infinity UI"
Title.Size = UDim2.new(1, 0, 0, 30)
Title.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
Title.TextColor3 = Color3.fromRGB(255, 255, 255)

local InfinityToggle = Instance.new("TextButton")
InfinityToggle.Parent = MainFrame
InfinityToggle.Text = "Infinity: OFF"
InfinityToggle.Size = UDim2.new(1, -20, 0, 30)
InfinityToggle.Position = UDim2.new(0, 10, 0, 40)
InfinityToggle.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
InfinityToggle.TextColor3 = Color3.fromRGB(255, 255, 255)

local flingEnabled = false
local auraPart

local function createAura()
    auraPart = Instance.new("Part")
    auraPart.Shape = Enum.PartType.Ball
    auraPart.Size = Vector3.new(5, 5, 5)
    auraPart.Transparency = 0.5
    auraPart.Anchored = false
    auraPart.CanCollide = false
    auraPart.Material = Enum.Material.Neon
    auraPart.Color = Color3.fromRGB(100, 150, 255)
    auraPart.Parent = LocalPlayer.Character
    local weld = Instance.new("Weld")
    weld.Part0 = LocalPlayer.Character:WaitForChild("HumanoidRootPart")
    weld.Part1 = auraPart
    weld.Parent = auraPart
end

local function fling()
    local root = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
    if not root then return end
    local oldPos = root.CFrame
    for _, player in ipairs(Players:GetPlayers()) do
        if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
            local targetRoot = player.Character.HumanoidRootPart
            root.CFrame = targetRoot.CFrame
            task.wait(0.1)
            root.CFrame = oldPos
        end
    end
end

InfinityToggle.MouseButton1Click:Connect(function()
    flingEnabled = not flingEnabled
    InfinityToggle.Text = flingEnabled and "Infinity: ON" or "Infinity: OFF"
    if flingEnabled then
        if not auraPart then
            createAura()
        end
        RunService.Heartbeat:Connect(function()
            if flingEnabled then
                fling()
            end
        end)
    else
        if auraPart then
            auraPart:Destroy()
            auraPart = nil
        end
    end
end)

ToggleButton.MouseButton1Click:Connect(function()
    MainFrame.Visible = not MainFrame.Visible
end)

Features & Information

creates barrier around

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts