Universal Script 📌
1.9k Views
1.2k Executions

weld abuse hub deobf

Universal Script 📌
koboldpaws
koboldpaws10 followers
6 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No 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 <;-)

View Raw
--// 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


Comments

2
Log in to join the conversation. Login
gulubob's profile picture
gulubob6 months ago

do you think it works on xeno?

1
koboldpaws's profile picture
koboldpawsUploader6 months ago

@gulubob it doesnt have sethiddenproperty so no

1

Tags

More universal scripts

See all
Universal Script 📌
3.7k
184.5k
Bumped 2 hours ago
Script hub
243
18
3 hours ago
Universal Script 📌
28.5k
663.4k
Bumped 4 hours ago
Script hub
13.7k
2.7k
Bumped 6 hours ago
Key System
Paid
Script hub
263.5k
88.1k
Bumped 7 hours ago
Key System
Universal Script 📌
2.7k
9.4k
Bumped 8 hours ago
Universal Script 📌
529
37
Approved 8 hours ago
Universal Script 📌
553
32
Approved 8 hours ago