ORTAF
Key Required

ORTAF

RIVALSReallMadrit7075ReallMadrit7075 119 views 224 executesUpdated Aug 8, 2026
Unrated
00
Lua Script•199 lines (6180 chars)
--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- Made By "ORTAF" (Modified: No Weapon Modifications) + ONLY CHAMS + CFRAME SPEED (auto on, no menu)
loadstring([[
--!native
--!optimize 2
if game.GameId == 6035872082 then
local Run = game:GetService("RunService")
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local player = Players.LocalPlayer
local camera = Workspace.CurrentCamera
local vec = Vector2.new
local color = Color3.fromRGB
local convert = camera.WorldToViewportPoint
local byte = string.byte
local caller = checkcaller
local hookmetamethod = hookmetamethod
local target = nil
local distance = 1000
local visibility = false

local parent = Instance.new("ScreenGui", (gethui and gethui()) or game:GetService("CoreGui"))
parent.Name = "ORTAF_CHAMS"
parent.IgnoreGuiInset = true
parent.ResetOnSpawn = false

local label = Instance.new("TextLabel", parent)
label.Size, label.Position = UDim2.fromOffset(250, 25), UDim2.new(1, -260, 0, 10)
label.BackgroundTransparency, label.TextColor3 = 1, color(255, 255, 255)
label.Font, label.TextSize = Enum.Font.Code, 12
label.TextXAlignment = Enum.TextXAlignment.Right
label.Text = "READY"

-- ===================== ONLY CHAMS =====================
local CHAMS = {
	Enabled = true,
	FillColor = color(0, 255, 150),
	OutlineColor = color(0, 0, 0),
	FillTransparency = 0.4,
	OutlineTransparency = 0,
	DepthMode = Enum.HighlightDepthMode.AlwaysOnTop,
}

local highlights = {}

local function applyChams(plr)
	if not CHAMS.Enabled then return end
	if highlights[plr] then return end
	local char = plr.Character
	if not char then return end
	local hl = Instance.new("Highlight")
	hl.Name = "ORTAF_Chams"
	hl.Adornee = char
	hl.FillColor = CHAMS.FillColor
	hl.OutlineColor = CHAMS.OutlineColor
	hl.FillTransparency = CHAMS.FillTransparency
	hl.OutlineTransparency = CHAMS.OutlineTransparency
	hl.DepthMode = CHAMS.DepthMode
	hl.Parent = char
	highlights[plr] = hl
end

local function removeChams(plr)
	local hl = highlights[plr]
	if hl then
		hl:Destroy()
		highlights[plr] = nil
	end
end

local function updateChams()
	if not CHAMS.Enabled then
		for plr in pairs(highlights) do
			removeChams(plr)
		end
		return
	end
	for _, plr in Players:GetPlayers() do
		if plr == player then continue end
		local char = plr.Character
		local hum = char and char:FindFirstChildOfClass("Humanoid")
		if not (char and hum and hum.Health > 0) then
			removeChams(plr)
			continue
		end
		local ours, theirs = player:GetAttribute("EnvironmentID"), plr:GetAttribute("EnvironmentID")
		if ours and theirs and byte(ours or "\0") ~= byte(theirs or "\0") then
			removeChams(plr)
			continue
		end
		ours, theirs = player:GetAttribute("TeamID"), plr:GetAttribute("TeamID")
		if ours and theirs and byte(ours or "\0") == byte(theirs or "\0") then
			removeChams(plr)
			continue
		end
		applyChams(plr)
	end
end

Players.PlayerRemoving:Connect(removeChams)
Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function()
		task.wait(0.3)
		if CHAMS.Enabled then applyChams(plr) end
	end)
end)
for _, plr in Players:GetPlayers() do
	if plr ~= player then
		plr.CharacterAdded:Connect(function()
			task.wait(0.3)
			if CHAMS.Enabled then applyChams(plr) end
		end)
	end
end
-- =====================================================

-- ===================== CFRAME SPEED (auto on, no menu) =====================
local CFRAME_SPEED = 55 -- change this number if you want faster/slower

Run.Heartbeat:Connect(function(dt)
	local char = player.Character
	if not char then return end
	local hum = char:FindFirstChildOfClass("Humanoid")
	local root = char:FindFirstChild("HumanoidRootPart")
	if not (hum and root and hum.Health > 0) then return end
	if hum.MoveDirection.Magnitude > 0 then
		root.CFrame = root.CFrame + (hum.MoveDirection * CFRAME_SPEED * dt)
	end
end)
-- =====================================================

local function bite(attr)
	return byte(attr or "\0")
end

local function visible(targetPart, cam)
	if not visibility then return true end
	local dir = (targetPart.Position - cam)
	local params = RaycastParams.new()
	params.FilterType = Enum.RaycastFilterType.Exclude
	params.FilterDescendantsInstances = { player.Character, targetPart.Parent, Workspace:FindFirstChild("Debris") }
	local result = Workspace:Raycast(cam, dir.Unit * distance, params)
	return result == nil or result.Instance:IsDescendantOf(targetPart.Parent)
end

local function valid(plr, cam)
	local char = plr.Character
	if not char then return false end
	local hum = char:FindFirstChildOfClass("Humanoid")
	local head = char:FindFirstChild("Head")
	if not (hum and head and hum.Health > 0) then return false end
	local mag = (head.Position - cam).Magnitude
	if mag > distance then return false end
	local ours, theirs = player:GetAttribute("EnvironmentID"), plr:GetAttribute("EnvironmentID")
	if ours and theirs and bite(ours) ~= bite(theirs) then return false end
	local ours, theirs = player:GetAttribute("TeamID"), plr:GetAttribute("TeamID")
	if ours and theirs and bite(ours) == bite(theirs) then return false end
	return visible(head, cam)
end

Run.Heartbeat:Connect(function()
	camera = Workspace.CurrentCamera
	local cam = camera.CFrame.Position
	local best, bestDist = nil, math.huge
	local center = camera.ViewportSize / 2

	for _, plr in Players:GetPlayers() do
		if plr ~= player and valid(plr, cam) then
			local pos, on = convert(camera, plr.Character.Head.Position)
			if on then
				local d = (vec(pos.X, pos.Y) - center).Magnitude
				if d < bestDist then
					bestDist, best = d, plr
				end
			end
		end
	end

	target = best and best.Character.Head.Position or nil
	label.Text = best and "LOCKED: " .. best.Name:upper() or "SCANNING..."
	label.TextColor3 = best and color(0, 255, 150) or color(255, 80, 80)

	updateChams()
end)

local _idx
_idx = hookmetamethod(game, "__index", newcclosure(function(self, idx, ...)
	if target and not caller() and idx == "ViewportSize" and self == camera then
		local pos, on = convert(self, target)
		if on then
			return vec(pos.X * 2, pos.Y * 2)
		end
	end
	return _idx(self, idx, ...)
end))
end
]])()

Features & Information

--Silent Aim (auto on) -- ESP (auto on) -- CFrame Speed (auto on) Creating With My Friend New Version with Menu GUI i mean
#rivalsscript

Community Comments (0)

No comments yet for this script.

More Scripts for RIVALS