
1.9k Views
1.2k Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
pretty cool i guess. you can learn from it, but i pretty much did this to learn how to deobf <;-)
--// deobf by me, vars renamedd and some formatting, good luck reading this bs 🤷 //--
local players_service = game:GetService("Players")
local run_service = game:GetService("RunService")
local local_player = players_service.LocalPlayer
local player_character = local_player.Character or local_player.CharacterAdded:Wait()
local humanoid_root_part = player_character:WaitForChild("HumanoidRootPart")
local humanoid = player_character:WaitForChild("Humanoid")
local spawn_position = Vector3.new(0, 100, 0)
local min_height_threshold = 5
local max_height_threshold = -20
local max_y_position = 500
local velocity_threshold = 100
local last_safe_position = humanoid_root_part.Position
local is_anti_exploit_active = false
run_service.Heartbeat:Connect(function()
local current_pos = humanoid_root_part.Position
if current_pos.Y > min_height_threshold and current_pos.Y < max_y_position then
last_safe_position = current_pos
end
end)
run_service.Heartbeat:Connect(function()
if is_anti_exploit_active then
return
end
is_anti_exploit_active = true
local current_pos = humanoid_root_part.Position
local velocity_magnitude = humanoid_root_part.AssemblyLinearVelocity.Magnitude
local velocity_y = humanoid_root_part.AssemblyLinearVelocity.Y
if velocity_magnitude > velocity_threshold or math.abs(velocity_y) > 90 then
humanoid_root_part.CFrame = CFrame.new(spawn_position)
humanoid_root_part.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
humanoid.Health = humanoid.MaxHealth
return
end
if current_pos.Y > max_y_position then
humanoid_root_part.CFrame = CFrame.new(spawn_position)
humanoid_root_part.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
humanoid.Health = humanoid.MaxHealth
return










do you think it works on xeno?
@gulubob it doesnt have sethiddenproperty so no