Universal Script 📌
1.3k Views
6.2k Executions

ChaseGPT

Universal Script 📌
Mediastinker48284
Mediastinker48284First script
1 month ago

Reviewed by QueueSpeedDemonPaid revieweron How review works

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

It's a script that chases! Perfect to become a monster with a fling hack. Version: 0.1

View Raw
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local CHASE_DISTANCE = 50
local WANDER_DISTANCE = 25
local WANDER_DELAY = 2

local function start(character)
	local humanoid = character:WaitForChild("Humanoid")
	local root = character:WaitForChild("HumanoidRootPart")

	while character.Parent and humanoid.Health > 0 do
		local target = nil
		local closestDistance = CHASE_DISTANCE

		-- Check for players within CHASE_DISTANCE
		for _, otherPlayer in Players:GetPlayers() do
			if otherPlayer ~= player and otherPlayer.Character then
				local otherRoot = otherPlayer.Character:FindFirstChild("HumanoidRootPart")
				local otherHumanoid = otherPlayer.Character:FindFirstChild("Humanoid")

				if otherRoot and otherHumanoid and otherHumanoid.Health > 0 then
					local distance = (root.Position - otherRoot.Position).Magnitude

					if distance <= CHASE_DISTANCE then
						if distance < closestDistance then
							closestDistance = distance
							target = otherRoot
						end
					end
				end
			end
		end

		-- PLAYER IS CLOSE → CHASE
		if target then
			humanoid:MoveTo(target.Position)

		-- NOBODY IS CLOSE → WANDER
		else


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
9.6k
70.7k
Bumped 10 minutes ago
Key System
Script hub
186.9k
1.9M
Bumped 2 hours ago
Key System

Script hub

#13 this week

Verified script badgeAirflow HUB

Script hub
602.2k
52.8k
Bumped 2 hours ago
Script hub
45.6k
11.1k
Bumped 3 hours ago
Key System
Paid

Script hub

#25 this month

Verified script badgeZekeHub - 58 Games, 1,300+ Features

Universal Script 📌
52
236
Approved 3 hours ago