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

Message 1

The document shows how to load and configure an Orion GUI library and create tabs and buttons. It includes scripts for ESP, fly, infinite jump, noclip and teleport that are added as buttons to demonstrate functionality.

Uploaded by

danieleirich19
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Message 1

The document shows how to load and configure an Orion GUI library and create tabs and buttons. It includes scripts for ESP, fly, infinite jump, noclip and teleport that are added as buttons to demonstrate functionality.

Uploaded by

danieleirich19
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 11

local OrionLib =

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

local Window = OrionLib:MakeWindow({Name = "Traze", HidePremium = false, SaveConfig


= true, ConfigFolder = "OrionTest"})

OrionLib:MakeNotification({
Name = "Notification!",
Content = "U Just Execute Traze",
Image = "rbxassetid://4483345998",
Time = 5
})

local Tab = Window:MakeTab({


Name = "Scripts",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})

Tab:AddButton({
Name = "ESP 1",
Callback = function()local Holder = Instance.new("Folder", game.CoreGui)
Holder.Name = "ESP"

local Box = Instance.new("BoxHandleAdornment")


Box.Name = "nilBox"
Box.Size = Vector3.new(4, 7, 4)
Box.Color3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
Box.Transparency = 0.7
Box.ZIndex = 0
Box.AlwaysOnTop = true
Box.Visible = true

local NameTag = Instance.new("BillboardGui")


NameTag.Name = "nilNameTag"
NameTag.Enabled = false
NameTag.Size = UDim2.new(0, 200, 0, 50)
NameTag.AlwaysOnTop = true
NameTag.StudsOffset = Vector3.new(0, 1.8, 0)
local Tag = Instance.new("TextLabel", NameTag)
Tag.Name = "Tag"
Tag.BackgroundTransparency = 1
Tag.Position = UDim2.new(0, -50, 0, 0)
Tag.Size = UDim2.new(0, 300, 0, 20)
Tag.TextSize = 20
Tag.TextColor3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
Tag.TextStrokeColor3 = Color3.new(0 / 255, 0 / 255, 0 / 255)
Tag.TextStrokeTransparency = 0.4
Tag.Text = "nil"
Tag.Font = Enum.Font.SourceSansBold
Tag.TextScaled = false

local LoadCharacter = function(v)


repeat wait() until v.Character ~= nil
v.Character:WaitForChild("Humanoid")
local vHolder = Holder:FindFirstChild(v.Name)
vHolder:ClearAllChildren()
local b = Box:Clone()
b.Name = v.Name .. "Box"
b.Adornee = v.Character
b.Parent = vHolder
local t = NameTag:Clone()
t.Name = v.Name .. "NameTag"
t.Enabled = true
t.Parent = vHolder
t.Adornee = v.Character:WaitForChild("Head", 5)
if not t.Adornee then
return UnloadCharacter(v)
end
t.Tag.Text = v.Name
b.Color3 = Color3.new(v.TeamColor.r, v.TeamColor.g, v.TeamColor.b)
t.Tag.TextColor3 = Color3.new(v.TeamColor.r, v.TeamColor.g,
v.TeamColor.b)
local Update
local UpdateNameTag = function()
if not pcall(function()
v.Character.Humanoid.DisplayDistanceType =
Enum.HumanoidDisplayDistanceType.None
local maxh = math.floor(v.Character.Humanoid.MaxHealth)
local h = math.floor(v.Character.Humanoid.Health)
t.Tag.Text = v.Name .. "\n" .. ((maxh ~= 0 and
tostring(math.floor((h / maxh) * 100))) or "0") .. "% " .. tostring(h) .. "/" ..
tostring(maxh)
end) then
Update:Disconnect()
end
end
UpdateNameTag()
Update = v.Character.Humanoid.Changed:Connect(UpdateNameTag)
end

local UnloadCharacter = function(v)


local vHolder = Holder:FindFirstChild(v.Name)
if vHolder and (vHolder:FindFirstChild(v.Name .. "Box") ~= nil or
vHolder:FindFirstChild(v.Name .. "NameTag") ~= nil) then
vHolder:ClearAllChildren()
end
end

local LoadPlayer = function(v)


local vHolder = Instance.new("Folder", Holder)
vHolder.Name = v.Name
v.CharacterAdded:Connect(function()
pcall(LoadCharacter, v)
end)
v.CharacterRemoving:Connect(function()
pcall(UnloadCharacter, v)
end)
v.Changed:Connect(function(prop)
if prop == "TeamColor" then
UnloadCharacter(v)
wait()
LoadCharacter(v)
end
end)
LoadCharacter(v)
end
local UnloadPlayer = function(v)
UnloadCharacter(v)
local vHolder = Holder:FindFirstChild(v.Name)
if vHolder then
vHolder:Destroy()
end
end

for i,v in pairs(game:GetService("Players"):GetPlayers()) do


spawn(function() pcall(LoadPlayer, v) end)
end

game:GetService("Players").PlayerAdded:Connect(function(v)
pcall(LoadPlayer, v)
end)

game:GetService("Players").PlayerRemoving:Connect(function(v)
pcall(UnloadPlayer, v)
end)

game:GetService("Players").LocalPlayer.NameDisplayDistance = 0
print("button pressed")
end
})

Tab:AddButton({
Name = "Fly",
Callback = function()repeat wait()
until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and
game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") and
game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
local mouse = game.Players.LocalPlayer:GetMouse()
repeat wait() until mouse
local plr = game.Players.LocalPlayer
local torso = plr.Character.HumanoidRootPart
local flying = true
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
mouse.KeyDown:connect(function(key)
if key:lower() == "e" then
if flying then flying = false
else
flying = true
Fly()
end
elseif 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)
Fly()
print("button pressed")
end
})

Tab:AddButton({
Name = "crtl+click=tp execute this ones",
Callback = function()local UIS = game:GetService("UserInputService")

local Player = game.Players.LocalPlayer


local Mouse = Player:GetMouse()

function GetCharacter()
return game.Players.LocalPlayer.Character
end

function Teleport(pos)
local Char = GetCharacter()
if Char then
Char:MoveTo(pos)
end
end

UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 and
UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
Teleport(Mouse.Hit.p)
end
end)
print("button pressed")
end
})

Tab:AddButton({
Name = "esp 2",
Callback = function()while wait(1) do
local players = game.Players:GetPlayers()

for i,v in pairs(players) do


local esp = Instance.new("Highlight")
esp.Name = v.Name
esp.FillTransparency = 0.5
esp.FillColor = Color3.new(0, 0, 0)
esp.OutlineColor = Color3.new(255, 255, 255)
esp.OutlineTransparency = 0
esp.Parent = v.Character
end
end
print("button pressed")
end
})

Tab:AddButton({
Name = "infinite jump",
Callback = function()
game:GetService("UserInputService").JumpRequest:connect(function()

game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':Chan
geState("Jumping")
end)
print("button pressed")
end
})

local Tab = Window:MakeTab({


Name = "Gui",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})

Tab:AddButton({
Name = "noclip execute it 1 time if u dont want many gui",
Callback = function()local Workspace = game:GetService("Workspace")
local CoreGui = game:GetService("CoreGui")
local Players = game:GetService("Players")
local Noclip = Instance.new("ScreenGui")
local BG = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local Toggle = Instance.new("TextButton")
local StatusPF = Instance.new("TextLabel")
local Status = Instance.new("TextLabel")
local Credit = Instance.new("TextLabel")
local Plr = Players.LocalPlayer
local Clipon = false

Noclip.Name = "Noclip"
Noclip.Parent = game.CoreGui

BG.Name = "BG"
BG.Parent = Noclip
BG.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
BG.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
BG.BorderSizePixel = 2
BG.Position = UDim2.new(0.149479166, 0, 0.82087779, 0)
BG.Size = UDim2.new(0, 210, 0, 127)
BG.Active = true
BG.Draggable = true

Title.Name = "Title"
Title.Parent = BG
Title.BackgroundColor3 = Color3.new(0.266667, 0.00392157, 0.627451)
Title.BorderColor3 = Color3.new(0.180392, 0, 0.431373)
Title.BorderSizePixel = 2
Title.Size = UDim2.new(0, 210, 0, 33)
Title.Font = Enum.Font.Highway
Title.Text = "Noclip+"
Title.TextColor3 = Color3.new(1, 1, 1)
Title.FontSize = Enum.FontSize.Size32
Title.TextSize = 30
Title.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
Title.TextStrokeTransparency = 0

Toggle.Parent = BG
Toggle.BackgroundColor3 = Color3.new(0.266667, 0.00392157, 0.627451)
Toggle.BorderColor3 = Color3.new(0.180392, 0, 0.431373)
Toggle.BorderSizePixel = 2
Toggle.Position = UDim2.new(0.152380958, 0, 0.374192119, 0)
Toggle.Size = UDim2.new(0, 146, 0, 36)
Toggle.Font = Enum.Font.Highway
Toggle.FontSize = Enum.FontSize.Size28
Toggle.Text = "Toggle"
Toggle.TextColor3 = Color3.new(1, 1, 1)
Toggle.TextSize = 25
Toggle.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
Toggle.TextStrokeTransparency = 0

StatusPF.Name = "StatusPF"
StatusPF.Parent = BG
StatusPF.BackgroundColor3 = Color3.new(1, 1, 1)
StatusPF.BackgroundTransparency = 1
StatusPF.Position = UDim2.new(0.314285725, 0, 0.708661377, 0)
StatusPF.Size = UDim2.new(0, 56, 0, 20)
StatusPF.Font = Enum.Font.Highway
StatusPF.FontSize = Enum.FontSize.Size24
StatusPF.Text = "Status:"
StatusPF.TextColor3 = Color3.new(1, 1, 1)
StatusPF.TextSize = 20
StatusPF.TextStrokeColor3 = Color3.new(0.333333, 0.333333, 0.333333)
StatusPF.TextStrokeTransparency = 0
StatusPF.TextWrapped = true

Status.Name = "Status"
Status.Parent = BG
Status.BackgroundColor3 = Color3.new(1, 1, 1)
Status.BackgroundTransparency = 1
Status.Position = UDim2.new(0.580952346, 0, 0.708661377, 0)
Status.Size = UDim2.new(0, 56, 0, 20)
Status.Font = Enum.Font.Highway
Status.FontSize = Enum.FontSize.Size14
Status.Text = "off"
Status.TextColor3 = Color3.new(0.666667, 0, 0)
Status.TextScaled = true
Status.TextSize = 14
Status.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
Status.TextWrapped = true
Status.TextXAlignment = Enum.TextXAlignment.Left

Credit.Name = "Credit"
Credit.Parent = BG
Credit.BackgroundColor3 = Color3.new(1, 1, 1)
Credit.BackgroundTransparency = 1
Credit.Position = UDim2.new(0.195238099, 0, 0.866141737, 0)
Credit.Size = UDim2.new(0, 128, 0, 17)
Credit.Font = Enum.Font.SourceSans
Credit.FontSize = Enum.FontSize.Size18
Credit.Text = "Created by Traze"
Credit.TextColor3 = Color3.new(1, 1, 1)
Credit.TextSize = 16
Credit.TextStrokeColor3 = Color3.new(0.196078, 0.196078, 0.196078)
Credit.TextStrokeTransparency = 0
Credit.TextWrapped = true

Toggle.MouseButton1Click:connect(function()
if Status.Text == "off" then
Clipon = true
Status.Text = "on"
Status.TextColor3 = Color3.new(0,185,0)
Stepped = game:GetService("RunService").Stepped:Connect(function()
if not Clipon == false then
for a, b in pairs(Workspace:GetChildren()) do
if b.Name == Plr.Name then
for i, v in pairs(Workspace[Plr.Name]:GetChildren()) do
if v:IsA("BasePart") then
v.CanCollide = false
end end end end
else
Stepped:Disconnect()
end
end)
elseif Status.Text == "on" then
Clipon = false
Status.Text = "off"
Status.TextColor3 = Color3.new(170,0,0)
end
end)
print("button pressed")
end
})

Tab:AddButton({
Name = "Fling gui",
Callback = function()local lp = game:FindService("Players").LocalPlayer

local function gplr(String)


local Found = {}
local strl = String:lower()
if strl == "all" then
for i,v in pairs(game:FindService("Players"):GetPlayers()) do
table.insert(Found,v)
end
elseif strl == "others" then
for i,v in pairs(game:FindService("Players"):GetPlayers()) do
if v.Name ~= lp.Name then
table.insert(Found,v)
end
end
elseif strl == "me" then
for i,v in pairs(game:FindService("Players"):GetPlayers()) do
if v.Name == lp.Name then
table.insert(Found,v)
end
end
else
for i,v in pairs(game:FindService("Players"):GetPlayers()) do
if v.Name:lower():sub(1, #String) == String:lower() then
table.insert(Found,v)
end
end
end
return Found
end

local function notif(str,dur)


game:FindService("StarterGui"):SetCore("SendNotification", {
Title = "yeet gui",
Text = str,
Icon = "rbxassetid://2005276185",
Duration = dur or 3
})
end

--// sds

local h = Instance.new("ScreenGui")
local Main = Instance.new("ImageLabel")
local Top = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local TextBox = Instance.new("TextBox")
local TextButton = Instance.new("TextButton")

h.Name = "h"
h.Parent = game:GetService("CoreGui")
h.ResetOnSpawn = false

Main.Name = "Main"
Main.Parent = h
Main.Active = true
Main.Draggable = true
Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Main.BorderSizePixel = 0
Main.Position = UDim2.new(0.174545452, 0, 0.459574461, 0)
Main.Size = UDim2.new(0, 454, 0, 218)
Main.Image = "rbxassetid://2005276185"

Top.Name = "Top"
Top.Parent = Main
Top.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
Top.BorderSizePixel = 0
Top.Size = UDim2.new(0, 454, 0, 44)

Title.Name = "Title"
Title.Parent = Top
Title.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
Title.BorderSizePixel = 0
Title.Position = UDim2.new(0, 0, 0.295454562, 0)
Title.Size = UDim2.new(0, 454, 0, 30)
Title.Font = Enum.Font.SourceSans
Title.Text = "Traze yeet (trollface edition)"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextScaled = true
Title.TextSize = 14.000
Title.TextWrapped = true

TextBox.Parent = Main
TextBox.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
TextBox.BorderSizePixel = 0
TextBox.Position = UDim2.new(0.0704845786, 0, 0.270642221, 0)
TextBox.Size = UDim2.new(0, 388, 0, 62)
TextBox.Font = Enum.Font.SourceSans
TextBox.PlaceholderText = "who should i fling(can be shortened)"
TextBox.Text = ""
TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TextBox.TextScaled = true
TextBox.TextSize = 14.000
TextBox.TextWrapped = true
TextButton.Parent = Main
TextButton.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
TextButton.BorderSizePixel = 0
TextButton.Position = UDim2.new(0.10352423, 0, 0.596330225, 0)
TextButton.Size = UDim2.new(0, 359, 0, 50)
TextButton.Font = Enum.Font.SourceSans
TextButton.Text = "Cheese em'"
TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton.TextScaled = true
TextButton.TextSize = 14.000
TextButton.TextWrapped = true

TextButton.MouseButton1Click:Connect(function()
local Target = gplr(TextBox.Text)
if Target[1] then
Target = Target[1]

local Thrust = Instance.new('BodyThrust',


lp.Character.HumanoidRootPart)
Thrust.Force = Vector3.new(9999,9999,9999)
Thrust.Name = "YeetForce"
repeat
lp.Character.HumanoidRootPart.CFrame =
Target.Character.HumanoidRootPart.CFrame
Thrust.Location = Target.Character.HumanoidRootPart.Position
game:FindService("RunService").Heartbeat:wait()
until not Target.Character:FindFirstChild("Head")
else
notif("Invalid player")
end
end)
print("button pressed")
end
})

Tab:AddButton({
Name = "Teleport player execute it 1 if u dont want many gui",
Callback = function()local Library =
loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/
main/source.lua"))()
local Window = Library.CreateLib("Traze hub", "DarkTheme")
local Tab = Window:NewTab("Players")
local Section = Tab:NewSection("Teleport")

--------------------

players = {}

for i,v in pairs(game:GetService("Players"):GetChildren()) do


table.insert(players,v.Name)
end

Section:NewDropdown("pick a player", " ", players, function(abc)


Select = abc
end)

Section:NewButton("refrest players", " ", function()


table.clear(players)
for i,v in pairs(game:GetService("Players"):GetChildren()) do
table.insert(players,v.Name)
end
end)

Section:NewButton("Teleport to player", " ", function()


game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
game.Players[Select].Character.HumanoidRootPart.CFrame
end)

print("button pressed")
end
})

Tab:AddButton({
Name = "Spectate gui",
Callback = function()gui =
Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
nextb = Instance.new("TextButton", gui)
nextb.Position = UDim2.new(0.88,0,0.9,0)
nextb.Size = UDim2.new(0.1,0,0.07,0)
nextb.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
nextb.Text = "Next"
prevb = nextb:Clone()
prevb.Position = UDim2.new(0.02,0,0.9,0)
prevb.Text = "Previous"
prevb.Parent = gui
plrNum = 1
for i,v in pairs(game.Players:GetPlayers()) do
if i == plrNum then
game.Workspace.Camera.CameraSubject = v.Character.Humanoid
end
end

prevb.MouseButton1Down:connect(function()
if plrNum ~= 1 then
plrNum = plrNum - 1
end
for i,v in pairs(game.Players:GetPlayers()) do
if i == plrNum then
game.Workspace.Camera.CameraSubject = v.Character.Humanoid
end
end
end)

nextb.MouseButton1Down:connect(function()
if plrNum < #game.Players:GetPlayers() then
plrNum = plrNum + 1
for i,v in pairs(game.Players:GetPlayers()) do
if i == plrNum then
game.Workspace.Camera.CameraSubject = v.Character.Humanoid
end
end
end
end)
print("button pressed")
end
})

You might also like