Neu 1
Neu 1
local RS = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local V3 = Vector3.new
local V3 = Vector2.new
local u2 = UDim2.new
local CF = CFrame.new
local RGB = Color3.fromRGB
local tween = TweenInfo.new
local ESP_API = {}
ESP_API.NewText = function(info)
local t = DRAWING("Text")
t.Visible = info.Visible or false
t.Transparency = info.Transparency or 1
t.Color = info.Color or RGB(0,0,0)
return t
end
ESP_API.NewLine = function(info)
local l = DRAWING("Line")
l.Visible = info.Visible or false
l.Transparency = info.Transparency or 1
l.Color = info.Color or RGB(0,0,0)
l.Thickness = info.Thickness or 1
return l
end
ESP_API.NewSquare = function(info)
local q = DRAWING("Square")
q.Visible = info.Visible or false
q.Transparency = info.Transparency or 1
q.Color = info.Color or RGB(0,0,0)
q.Thickness = info.Thickness or 1
q.Filled = info.Filled or false
return q
end
ESP_API.NewCircle = function(info)
local c = DRAWING("Circle")
c.Visible = info.Visible or false
c.Transparency = info.Transparency or 1
c.Color = info.Color or RGB(0,0,0)
c.Thickness = info.Thickness or 1
c.NumSides = info.NumSides or 50
c.Radius = info.Radius or 100
c.Filled = info.Filled or false
return c
end
local Library =
loadstring(game:HttpGet("https://raw.githubusercontent.com/Blissful4992/NAVY-RCX-
UI/main/src.lua"))()
local RCX = {
ESP = {
Toggle = true;
Info = false;
Max_Info_Distance = 100;
Hover_Info = false;
Names = false;
Health = false;
Distance = false;
Boxes = false;
Boxes_Mode = "Corners";
Boxes_Distance = 100;
Health_Bar = false;
Health_Bar_Distance = 100;
Show_Target = false;
Target_Color = {R = 255, G = 255, B = 255};
Team_Check = false;
Team_Color = {R = 255, G = 255, B = 0};
Enemy_Color = {R = 255, G = 0, B = 0};
View_Tracer = false;
View_Tracer_Length = 10;
View_Tracer_Distance = 100;
};
AIMBOT = {
Toggle = false;
Bone = "Head";
Smoothness = 0.5;
Distance_Type = "Mouse";
Aim_Key = "Q";
Aim_Mode = "Key";
Team_Check = false;
FOV = false;
FOV_Radius = 50;
FOV_Color = {R = 255, G = 255, B = 0};
};
UI = {
UI_Toggle_Key = "End";
Save_Settings_Key = "Home";
Window_Size = {X = 750, Y = 550}
};
}
LoadRCX()
-- ESP
local ESP_Page = RCX_Window.NewPage("Visuals")
-- MAIN
local MAIN_ESP_Category = ESP_Page.NewCategory("Main")
do
local temp = RCX.ESP.Color
MAIN_ESP_Category.NewColorpicker("color", function(col)
RCX.ESP.Color = {R = col.R*255, G = col.G*255, B = col.B*255}
end, {default = RGB(temp.R, temp.G, temp.B)})
end
do
local temp = RCX.ESP.Team_Color
MAIN_ESP_Category.NewColorpicker("team", function(col)
RCX.ESP.Team_Color = {R = col.R*255, G = col.G*255, B = col.B*255}
end, {default = RGB(temp.R, temp.G, temp.B)})
end
do
local temp = RCX.ESP.Enemy_Color
MAIN_ESP_Category.NewColorpicker("target", function(col)
RCX.ESP.Enemy_Color = {R = col.R*255, G = col.G*255, B = col.B*255}
end, {default = RGB(temp.R, temp.G, temp.B)})
end
do
local temp = RCX.ESP.Target_Color
MAIN_ESP_Category.NewColorpicker("target", function(col)
RCX.ESP.Target_Color = {R = col.R*255, G = col.G*255, B = col.B*255}
end, {default = RGB(temp.R, temp.G, temp.B)})
end
-- BOXES
local BOXES_Category = ESP_Page.NewCategory("Boxes")
do
local default_option
local list = {
"Corners";
"Outline";
}
for i = 1, #list do
local v = list[i]
if v == RCX.ESP.Boxes_Mode then
default_option = i
end
end
BOXES_Category.NewDropdown("type", function(option)
RCX.ESP.Boxes_Mode = option
end, {options = list, default = default_option})
end
BOXES_Category.NewToggle("health", function(bool)
RCX.ESP.Health_Bar = bool
end, {default = RCX.ESP.Health_Bar})
-- AIMBOT
local AIMBOT_Page = RCX_Window.NewPage("aimbot")
MAIN_AIMBOT_Category.NewToggle("Start", function(bool)
RCX.AIMBOT.Toggle = bool
end, {default = RCX.AIMBOT.Toggle})
do
local default_option
local list = {
"Key";
"Mouse";
}
for i = 1, #list do
local v = list[i]
if v == RCX.AIMBOT.Aim_Mode then
default_option = i
end
end
MAIN_AIMBOT_Category.NewDropdown("mode", function(option)
RCX.AIMBOT.Aim_Mode = option
end, {options = list, default = default_option})
end
MAIN_AIMBOT_Category.NewSlider("smoothness", function(newvalue)
RCX.AIMBOT.Smoothness = newvalue
end, {default = RCX.AIMBOT.Smoothness, min = 0.01, max = 1, decimals = 2, suffix =
" factor"})
do
local default_option
local list = {
"Head";
"Neck";
"Torso";
"Feet";
"Random";
}
for i = 1, #list do
local v = list[i]
if v == RCX.AIMBOT.Bone then
default_option = i
end
end
MAIN_AIMBOT_Category.NewDropdown("bone", function(option)
RCX.AIMBOT.Bone = option
end, {options = list, default = default_option})
end
do
local default_option
local list = {
"Mouse";
"Character";
}
for i = 1, #list do
local v = list[i]
if v == RCX.AIMBOT.Distance_Type then
default_option = i
end
end
MAIN_AIMBOT_Category.NewDropdown(" aimmode", function(option)
RCX.AIMBOT.Distance_Type = option
end, {options = list, default = default_option})
end
FOV_Category.NewToggle("toggle", function(bool)
RCX.AIMBOT.FOV = bool
end, {default = RCX.AIMBOT.FOV})
FOV_Category.NewSlider("size", function(newvalue)
RCX.AIMBOT.FOV_Radius = newvalue
end, {default = RCX.AIMBOT.FOV_Radius, min = 0, max = 500, decimals = 0, suffix = "
px"})
do
local temp = RCX.AIMBOT.FOV_Color
FOV_Category.NewColorpicker("color", function(col)
RCX.AIMBOT.FOV_Color = {R = col.R*255, G = col.G*255, B = col.B*255}
end, {default = RGB(temp.R, temp.G, temp.B)})
end
-- SETTINGS
local SETTINGS_Page = RCX_Window.NewPage("Settings")
local MAIN_SETTINGS_Category = SETTINGS_Page.NewCategory("Main")
-- SCRIPT
local LerpColorModule =
loadstring(game:HttpGet("https://pastebin.com/raw/wRnsJeid"))()
local HealthBarLerp = LerpColorModule:Lerp(RGB(255, 0, 0), RGB(0, 255, 0))
-- DETECT STUCTURE
local Character_Folder = Space
local Player_Characters = {}
do
local t = Space:GetDescendants()
for i = 1, #t do
local v = t[i]
if v:IsA("Model") and Players:FindFirstChild(v.Name) and
(v:FindFirstChild("HumanoidRootPart") or v.PrimaryPart ~= nil) then
Character_Folder = v.Parent
end
end
end
local temp = {}
do
local t = Players:GetChildren()
for i = 1, #t do
local v = t[i]
temp[v.Name] = v.Name
end
end
local t = Character_Folder:GetChildren()
for i = 1, #t do
local v = t[i]
if temp[v.Name] ~= nil then
Player_Characters[v.Name] = v
end
end
end
coroutine.wrap(function()
coroutine.wrap(ResetStructure)()
while wait(5) do
if DESTROY then
coroutine.yield()
else
coroutine.wrap(ResetStructure)()
end
end
end)()
-- ESP PLAYERS
ESP_API.AddPlayer = function(plr_name)
repeat wait() until Player_Characters[plr_name] ~= nil and
Player_Characters[plr_name]:FindFirstChildOfClass("Humanoid")
local Box_Lines = {}
for i = 1, 8 do
Box_Lines[i] = ESP_API.NewLine({})
end
Camera = Space.CurrentCamera
local root_pos, onscreen =
Camera:WorldToViewportPoint(root_part.Position)
viewTracer.Visible = true
else
viewTracer.Visible = false
end
else
viewTracer.Visible = false
end
if onscreen then
-- TEAM CHECK
local Current_Color
if RCX.ESP.Team_Check and
Players:FindFirstChild(plr_name):IsA("Player") and Player:IsA("Player") then
if Players:FindFirstChild(plr_name).TeamColor ==
Player.TeamColor then
Current_Color = RCX.ESP.Team_Color
else
Current_Color = RCX.ESP.Enemy_Color
end
else
Current_Color = RCX.ESP.Color
end
Lines_Color(Current_Color)
-- BOXES
if RCX.ESP.Boxes and dist < RCX.ESP.Boxes_Distance then
local box_mode = RCX.ESP.Boxes_Mode
Health_Bar.Visible = true
Bar.Visible = true
else
Health_Bar.Visible = false
Bar.Visible = false
end
-- 1
Box_Lines[1].From = TL
Box_Lines[1].To = TL + Dir1
Box_Lines[2].From = TL
Box_Lines[2].To = TL + Dir2
-- 2
Box_Lines[3].From = TR
Box_Lines[3].To = TR - Dir1
Box_Lines[4].From = TR
Box_Lines[4].To = TR + Dir2
-- 3
Box_Lines[5].From = BL
Box_Lines[5].To = BL + Dir1
Box_Lines[6].From = BL
Box_Lines[6].To = BL - Dir2
-- 4
Box_Lines[7].From = BR
Box_Lines[7].To = BR - Dir1
Box_Lines[8].From = BR
Box_Lines[8].To = BR - Dir2
if Box_Lines[8].Visible == false or
Box_Lines[1].Visible == false then
Box_Vis(true, 2)
end
else
-- 1
Box_Lines[1].From = TR
Box_Lines[1].To = TL
Box_Lines[2].From = TL
Box_Lines[2].To = BL
-- 2
Box_Lines[3].From = BL
Box_Lines[3].To = BR
Box_Lines[4].From = BR
Box_Lines[4].To = TR
if Box_Lines[8].Visible == true or
Box_Lines[1].Visible == false then
Box_Vis(true, 1)
end
end
else
Health_Bar.Visible = false
Bar.Visible = false
Box_Vis(false)
end
if RCX.ESP.Info then
local function show_info()
if dist ~= nil and dist <
RCX.ESP.Max_Info_Distance then
INFO.Position = V3(root_x, root_y-
newsize_y-INFO.TextBounds.Y)
INFO.Text = ""
hum.DisplayDistanceType = hide_name
if RCX.ESP.Names then
INFO.Text = plr_name
end
if RCX.ESP.Health then
INFO.Text =
tostring(round(hum.Health/hum.MaxHealth*100)).."% ".. INFO.Text
end
if RCX.ESP.Distance then
INFO.Text = INFO.Text.."
("..tostring(round(dist))..")"
end
INFO.Visible = true
else
INFO.Visible = false
end
end
if RCX.ESP.Hover_Info then
if (V3(Mouse.X, Mouse.Y + inset.Y) - V3(root_x,
root_y)).magnitude < clamp(ratio*1.25, 5, huge) then
show_info()
else
INFO.Visible = false
end
else
show_info()
end
else
INFO.Visible = false
hum.DisplayDistanceType = show_name
end
else
Box_Vis(false)
INFO.Visible = false
Health_Bar.Visible = false
Bar.Visible = false
hum.DisplayDistanceType = show_name
end
else
Box_Vis(false)
INFO.Visible = false
Health_Bar.Visible = false
Bar.Visible = false
viewTracer.Visible = false
hum.DisplayDistanceType = show_name
end
else
Box_Vis(false)
INFO.Visible = false
Health_Bar.Visible = false
Bar.Visible = false
viewTracer.Visible = false
if Players:FindFirstChild(plr_name) == nil then
Destroy_ESP()
connection:Disconnect()
end
end
end
end)
end
coroutine.wrap(Update_ESP)()
end
do
local t = Players:GetChildren()
for i = 1, #t do
local v = t[i]
if v.Name ~= Player.Name then
coroutine.wrap(ESP_API.AddPlayer)(v.Name)
end
end
end
Players.ChildAdded:Connect(function(v)
ResetStructure()
coroutine.wrap(ESP_API.AddPlayer)(v.Name)
end)
-- AIMBOT PLAYERS
local aim_c_1
aim_c_1 = UIS.InputBegan:Connect(function(input)
if DESTROY then
aim_c_1:Disconnect()
elseif RCX.AIMBOT.Aim_Mode == "Key" and input.UserInputType ==
Enum.UserInputType.Keyboard and input.KeyCode == Enum.KeyCode[RCX.AIMBOT.Aim_Key]
then
random_part = random(1, 3)
Aiming = true
elseif RCX.AIMBOT.Aim_Mode == "Mouse" and input.UserInputType ==
Enum.UserInputType.MouseButton2 then
random_part = random(1, 3)
Aiming = true
end
end)
local aim_c_2
aim_c_2 = UIS.InputEnded:Connect(function(input)
if DESTROY then
aim_c_1:Disconnect()
Aiming = false
elseif RCX.AIMBOT.Aim_Mode == "Key" and input.UserInputType ==
Enum.UserInputType.Keyboard and input.KeyCode == Enum.KeyCode[RCX.AIMBOT.Aim_Key]
then
random_part = 0
Aiming = false
elseif RCX.AIMBOT.Aim_Mode == "Mouse" and input.UserInputType ==
Enum.UserInputType.MouseButton2 then
random_part = 0
Aiming = false
end
end)
if RCX.AIMBOT.FOV then
FOV.Radius = RCX.AIMBOT.FOV_Radius
FOV.Thickness = 1
local fov_col = RCX.AIMBOT.FOV_Color
FOV.Color = RGB(fov_col.R, fov_col.G, fov_col.B)
FOV.Position = Camera.ViewportSize / 2
FOV.Visible = false
end