0% found this document useful (0 votes)
18 views

Liams Utility GUI

Uploaded by

bouquetwilson2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Liams Utility GUI

Uploaded by

bouquetwilson2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

local OrionLib =

loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Orion/main/
source"))()

local Window = OrionLib:MakeWindow({Name = "Liam's Utility GUI", HidePremium =


false, SaveConfig = true, ConfigFolder = "LiamGUI"})

-- Main Tab
local MainTab = Window:MakeTab({
Name = "Main",
Icon = "rbxassetid://4483362458",
PremiumOnly = false
})

local flingPlayers = {}
local disguisePlayers = {}

-- Function to populate player list


local function updatePlayerList()
flingPlayers = {}
disguisePlayers = {}
for _, Player in pairs(game.Players:GetPlayers()) do
table.insert(flingPlayers, Player.Name)
table.insert(disguisePlayers, Player.Name)
end
end

-- ChatService to send chat messages


local ChatService =
require(game:GetService("ServerScriptService").ChatServiceRunner.ChatService)

local function Chat(plr, msg)


if not plr or not plr.Character then
return
end

local speaker = ChatService:GetSpeaker(plr.Name)


if not speaker then
return
end
speaker:SayMessage(msg, "All", {})
end

-- Walk Speed Slider


MainTab:AddSlider({
Name = "Walk Speed",
Min = 16,
Max = 200,
Default = 16,
Color = Color3.fromRGB(255, 255, 255),
Increment = 1,
ValueName = "Speed",
Callback = function(Value)
local Player = game.Players.LocalPlayer
if Player.Character and Player.Character:FindFirstChild("Humanoid") then
Player.Character.Humanoid.WalkSpeed = Value
end
end
})
-- Jump Power Slider
MainTab:AddSlider({
Name = "Jump Power",
Min = 50,
Max = 300,
Default = 50,
Color = Color3.fromRGB(255, 255, 255),
Increment = 1,
ValueName = "Power",
Callback = function(Value)
local Player = game.Players.LocalPlayer
if Player.Character and Player.Character:FindFirstChild("Humanoid") then
Player.Character.Humanoid.JumpPower = Value
end
end
})

-- Infinite Jump Toggle


MainTab:AddToggle({
Name = "Infinite Jump",
Default = false,
Callback = function(Value)
_G.InfiniteJump = Value
if Value then
game:GetService("UserInputService").JumpRequest:Connect(function()
local Player = game.Players.LocalPlayer
if _G.InfiniteJump and Player.Character and
Player.Character:FindFirstChild("Humanoid") then

Player.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end
end)
end
end
})

-- Fling Input
MainTab:AddTextbox({
Name = "Fling Player",
Default = "",
TextDisappear = true,
Callback = function(SelectedPlayer)
local Player = game.Players:FindFirstChild(SelectedPlayer)
if Player and Player.Character and
Player.Character:FindFirstChild("HumanoidRootPart") then
local RootPart = Player.Character.HumanoidRootPart
local BodyVelocity = Instance.new("BodyVelocity", RootPart)
BodyVelocity.Velocity = Vector3.new(9999, 9999, 9999)
BodyVelocity.MaxForce = Vector3.new(9999, 9999, 9999)
wait(1)
BodyVelocity:Destroy()
end
end
})

-- Disguise Input
MainTab:AddTextbox({
Name = "Disguise as Player",
Default = "",
TextDisappear = true,
Callback = function(SelectedPlayer)
local TargetPlayer = game.Players:FindFirstChild(SelectedPlayer)
local LocalPlayer = game.Players.LocalPlayer

if TargetPlayer and TargetPlayer.Character and LocalPlayer.Character then


LocalPlayer.Character:ClearAllChildren()

for _, Object in pairs(TargetPlayer.Character:GetChildren()) do


local Clone = Object:Clone()
Clone.Parent = LocalPlayer.Character
end

LocalPlayer.Character:MakeJoints()
end
end
})

-- Join Player's Game


MainTab:AddButton({
Name = "Join Player's Game",
Callback = function()
local PlayerID = tostring(OrionLib:Prompt({PromptText = "Enter Player ID:",
Default = ""}))
local GameID = tostring(OrionLib:Prompt({PromptText = "Enter Game ID:",
Default = ""}))

if PlayerID and GameID then

game:GetService("TeleportService"):TeleportToPlaceInstance(tonumber(GameID),
tostring(PlayerID), game.Players.LocalPlayer)
end
end
})

-- Send Chat Button


MainTab:AddButton({
Name = "Send Chat Message",
Callback = function()
local playerName = OrionLib:Prompt({PromptText = "Enter Player Name:",
Default = ""})
local message = OrionLib:Prompt({PromptText = "Enter Message:", Default =
""})

local player = game.Players:FindFirstChild(playerName)


if player and message then
Chat(player, message)
end
end
})

-- Friend All Button


MainTab:AddButton({
Name = "Friend All",
Callback = function()
for _, Player in pairs(game.Players:GetPlayers()) do
if Player.UserId ~= game.Players.LocalPlayer.UserId then
pcall(function()
game.Players.LocalPlayer:RequestFriendship(Player)
end)
end
end
end
})

-- Update player list when players join/leave


game.Players.PlayerAdded:Connect(function(Player)
updatePlayerList()
end)

game.Players.PlayerRemoving:Connect(function(Player)
updatePlayerList()
end)

-- Initial population of player list


updatePlayerList()

OrionLib:Init()

You might also like