local Rayfield = loadstring(game:HttpGet('[Link]
menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "IDK Script Hub",
Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image
(number). 0 to use no icon (default).
LoadingTitle = "Please Wait... It's not working",
LoadingSubtitle = "by YouDontKnow",
Theme = "Default", -- Check
[Link]
DisableRayfieldPrompts = false,
DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script
has a version mismatch with the interface
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Big Hub"
},
Discord = {
Enabled = false, -- Prompt the user to join your Discord server if their
executor supports it
Invite = "noinvitelink", -- The Discord invite code, do not include
[Link]/. E.g. [Link]/ ABCD would be ABCD
RememberJoins = true -- Set this to false to make them join the discord every
time they load it up
},
KeySystem = false, -- Set this to true to use our key system
KeySettings = {
Title = "Untitled",
Subtitle = "Key System",
Note = "No method of obtaining the key is provided", -- Use this to tell the
user how to get a key
FileName = "Key", -- It is recommended to use something unique as other
scripts using Rayfield may overwrite your key file
SaveKey = true, -- The user's key will be saved, but if you change the key,
they will be unable to use your script
GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site
you would like Rayfield to get the key from
Key = {"Hello"} -- List of keys that will be accepted by the system, can be
RAW file links (pastebin, github etc) or simple strings ("hello","key22")
}
})
local PlayerTab = Window:CreateTab("Player Tab.", 4483362458) -- Title, Image
local Section = PlayerTab:CreateSection("ESP Section")
Rayfield:Notify({
Title = "Script has Loaded! (I Don't Care)",
Content = "You Executed the script",
Duration = 6,
Image = 4483362458,
})
local Toggle = PlayerTab:CreateToggle({
Name = "ESP",
CurrentValue = false,
Flag = "Toggle1", -- A flag is the identifier for the configuration file, make
sure every element has a different flag if you're using configuration saving to
ensure no overlaps
Callback = function(Value)
-- Settings
local Settings = {
Box_Color = [Link](255, 0, 0),
Box_Thickness = 2,
Team_Check = false,
Team_Color = false,
Autothickness = true
}
--Locals
local Space = game:GetService("Workspace")
local Player = game:GetService("Players").LocalPlayer
local Camera = [Link]
-- Locals
local function NewLine(color, thickness)
local line = [Link]("Line")
[Link] = false
[Link] = [Link](0, 0)
[Link] = [Link](0, 0)
[Link] = color
[Link] = thickness
[Link] = 1
return line
end
local function Vis(lib, state)
for i, v in pairs(lib) do
[Link] = state
end
end
local function Colorize(lib, color)
for i, v in pairs(lib) do
[Link] = color
end
end
local Black = [Link](0, 0, 0)
local function Rainbow(lib, delay)
for hue = 0, 1, 1/30 do
local color = [Link](hue, 0.6, 1)
Colorize(lib, color)
wait(delay)
end
Rainbow(lib)
end
--Main Draw Function
local function Main(plr)
repeat wait() until [Link] ~= nil and
[Link]:FindFirstChild("Humanoid") ~= nil
local R15
if [Link] == [Link].R15 then
R15 = true
else
R15 = false
end
local Library = {
TL1 = NewLine(Settings.Box_Color, Settings.Box_Thickness),
TL2 = NewLine(Settings.Box_Color, Settings.Box_Thickness),
TR1 = NewLine(Settings.Box_Color, Settings.Box_Thickness),
TR2 = NewLine(Settings.Box_Color, Settings.Box_Thickness),
BL1 = NewLine(Settings.Box_Color, Settings.Box_Thickness),
BL2 = NewLine(Settings.Box_Color, Settings.Box_Thickness),
BR1 = NewLine(Settings.Box_Color, Settings.Box_Thickness),
BR2 = NewLine(Settings.Box_Color, Settings.Box_Thickness)
}
[Link](Rainbow)(Library, 0.15)
local oripart = [Link]("Part")
[Link] = Space
[Link] = 1
[Link] = false
[Link] = [Link](1, 1, 1)
[Link] = [Link](0, 0, 0)
--Updater Loop
local function Updater()
local c
c = game:GetService("RunService").RenderStepped:Connect(function()
if [Link] ~= nil and [Link]:FindFirstChild("Humanoid") ~=
nil and [Link]:FindFirstChild("HumanoidRootPart") ~= nil and
[Link] > 0 and [Link]:FindFirstChild("Head") ~= nil
then
local Hum = [Link]
local HumPos, vis =
Camera:WorldToViewportPoint([Link])
if vis then
[Link] = [Link]([Link].X,
[Link].Y*1.5, [Link].Z)
[Link] =
[Link]([Link], [Link])
local SizeX = [Link].X
local SizeY = [Link].Y
local TL = Camera:WorldToViewportPoint(([Link] *
[Link](SizeX, SizeY, 0)).p)
local TR = Camera:WorldToViewportPoint(([Link] *
[Link](-SizeX, SizeY, 0)).p)
local BL = Camera:WorldToViewportPoint(([Link] *
[Link](SizeX, -SizeY, 0)).p)
local BR = Camera:WorldToViewportPoint(([Link] *
[Link](-SizeX, -SizeY, 0)).p)
if Settings.Team_Check then
if [Link] == [Link] then
Colorize(Library, [Link](0, 255, 0))
else
Colorize(Library, [Link](255, 0, 0))
end
end
if Settings.Team_Color then
Colorize(Library, [Link])
end
local ratio = ([Link].p -
[Link]).magnitude
local offset = [Link](1/ratio*750, 2, 300)
[Link] = [Link](TL.X, TL.Y)
[Link] = [Link](TL.X + offset, TL.Y)
[Link] = [Link](TL.X, TL.Y)
[Link] = [Link](TL.X, TL.Y + offset)
[Link] = [Link](TR.X, TR.Y)
[Link] = [Link](TR.X - offset, TR.Y)
[Link] = [Link](TR.X, TR.Y)
[Link] = [Link](TR.X, TR.Y + offset)
[Link] = [Link](BL.X, BL.Y)
[Link] = [Link](BL.X + offset, BL.Y)
[Link] = [Link](BL.X, BL.Y)
[Link] = [Link](BL.X, BL.Y - offset)
[Link] = [Link](BR.X, BR.Y)
[Link] = [Link](BR.X - offset, BR.Y)
[Link] = [Link](BR.X, BR.Y)
[Link] = [Link](BR.X, BR.Y - offset)
Vis(Library, true)
if [Link] then
local distance =
([Link] - [Link]).magnitude
local value = [Link](1/distance*100, 1, 4) --0.1 is min
thickness, 6 is max
for u, x in pairs(Library) do
[Link] = value
end
else
for u, x in pairs(Library) do
[Link] = Settings.Box_Thickness
end
end
else
Vis(Library, false)
end
else
Vis(Library, false)
if game:GetService("Players"):FindFirstChild([Link]) == nil then
for i, v in pairs(Library) do
v:Remove()
oripart:Destroy()
end
c:Disconnect()
end
end
end)
end
[Link](Updater)()
end
-- Draw Boxes
for i, v in pairs(game:GetService("Players"):GetPlayers()) do
if [Link] ~= [Link] then
[Link](Main)(v)
end
end
game:GetService("Players").PlayerAdded:Connect(function(newplr)
[Link](Main)(newplr)
end)
Toggle:Set(false)
end,
})
local Toggle = PlayerTab:CreateToggle({
Name = "ESP Skeleton",
CurrentValue = false,
Flag = "Toggle2", -- A flag is the identifier for the configuration file, make
sure every element has a different flag if you're using configuration saving to
ensure no overlaps
Callback = function(Value)
local Library =
loadstring(game:HttpGet("[Link]
[Link]"))()
local Skeletons = {}
for _, Player in next, [Link]:GetChildren() do
[Link](Skeletons, Library:NewSkeleton(Player, true));
end
[Link]:Connect(function(Player)
[Link](Skeletons, Library:NewSkeleton(Player, true));
end)
Toggle:Set(false)
end,
})
local Section = PlayerTab:CreateSection("Teleport")
local Button = PlayerTab:CreateButton({
Name = "Teleport (Click somewhere and it will teleport you)",
Callback = function()
mouse = [Link]:GetMouse()
tool = [Link]("Tool")
[Link] = false
[Link] = "Equip to Click TP"
[Link]:connect(function()
local pos = [Link]+[Link](0,2.5,0)
pos = [Link](pos.X,pos.Y,pos.Z)
[Link] = pos
end)
[Link] = [Link]
end,
})
local OtherTab = Window:CreateTab("Other", 4483362458) -- Title, Image
local Section = OtherTab:CreateSection("Infinite Yield")
local Button = OtherTab:CreateButton({
Name = "Infinite Yield (ONLY CLICK ONCE)",
Callback = function()
loadstring(game:HttpGet(('[Link]
infiniteyield/master/source'),true))()
end,
})
local Toggle = PlayerTab:CreateToggle({
Name = "Infinite Jump",
CurrentValue = false,
Flag = "Toggle3", -- A flag is the identifier for the configuration file, make
sure every element has a different flag if you're using configuration saving to
ensure no overlaps
Callback = function(InfiniteJumpEnabled)
local Player = game:GetService'Players'.LocalPlayer;
local UIS = game:GetService'UserInputService';
_G.JumpHeight = 50;
function Action(Object, Function) if Object ~= nil then Function(Object); end end
[Link]:connect(function(UserInput)
if [Link] == [Link] and [Link]
== [Link] then
Action([Link], function(self)
if self:GetState() == [Link] or self:GetState()
== [Link] then
Action([Link], function(self)
[Link] = [Link](0, _G.JumpHeight, 0);
end)
end
end)
end
end)
end,
})
local SliderTab = Window:CreateTab("Sliders", 4483362458) -- Title, Image
local Slider = SliderTab:CreateSlider({
Name = "WalkSpeed",
Range = {16, 150},
Increment = 1,
Suffix = "WalkSpeed",
CurrentValue = 16,
Flag = "Slider1", -- A flag is the identifier for the configuration file, make
sure every element has a different flag if you're using configuration saving to
ensure no overlaps
Callback = function(Value)
[Link] = Value
end,
})
local Slider = SliderTab:CreateSlider({
Name = "JumpPower",
Range = {50, 150},
Increment = 1,
Suffix = "WalkSpeed",
CurrentValue = 50,
Flag = "Slider1", -- A flag is the identifier for the configuration file, make
sure every element has a different flag if you're using configuration saving to
ensure no overlaps
Callback = function(Value)
[Link] = Value
end,
})