![robloxvids](/img/default-banner.jpg)
- Видео 39
- Просмотров 1 210
robloxvids
Добавлен 13 июл 2021
pls sub
Видео
tsb again!!!!!!!!! (check description)
Просмотров 114 дней назад
OK SO WE WILL PLAY SOME RANDOM GAMES TOMMOROW IF FRIEND IS ONLINE LIKE ( HORROR GAMES FIGHTING GAMES ANS THATS IT)
The blox fruits experience.... (part one)
Просмотров 214 дней назад
The blox fruits experience.... (part one)
RGAHHHHH NEW VIDEO (dont forget to u know the words Have a good day and bless u cya
Просмотров 321 день назад
RGAHHHHH NEW VIDEO (dont forget to u know the words Have a good day and bless u cya
king of fake beyblades has returned...
Просмотров 25 месяцев назад
king of fake beyblades has returned...
local zombie = script.Parent local humanoid = zombie:FindFirstChild("Humanoid") local targetPlayer local attackRange = 5 -- Distance within which the zombie can attack local damage = 10 -- Amount of damage the zombie deals local isAttacking = false -- Function to find the closest player local function findClosestPlayer() local closestDistance = math.huge for _, player in pairs(game.Players:GetPlayers()) do if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local distance = (zombie.PrimaryPart.Position - player.Character.HumanoidRootPart.Position).magnitude if distance < closestDistance then closestDistance = distance targetPlayer = player end end end end -- Function to move the zombie towards the player local function moveToPlayer() while wait(0.1) do -- Check every 0.1 seconds findClosestPlayer() -- Find the closest player if targetPlayer and targetPlayer.Character then local playerPosition = targetPlayer.Character.HumanoidRootPart.Position local distanceToPlayer = (zombie.PrimaryPart.Position - playerPosition).magnitude if distanceToPlayer > attackRange then humanoid:MoveTo(playerPosition) -- Move the zombie to the player's position else -- Attack the player if in range if not isAttacking then isAttacking = true targetPlayer:FindFirstChild("Humanoid"):TakeDamage(damage) wait(1) -- Wait before allowing another attack isAttacking = false end end -- Optional: Make the zombie face the player zombie:SetPrimaryPartCFrame(CFrame.new(playerPosition) * CFrame.Angles(0, math.rad(180), 0)) end end end moveToPlayer() -- Start moving the zombie
local zombie = script.Parent local humanoid = zombie:FindFirstChild("Humanoid") local targetPlayer -- Function to find the closest player local function findClosestPlayer() local closestDistance = math.huge for _, player in pairs(game.Players:GetPlayers()) do if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local distance = (zombie.HumanoidRootPart.Position - player.Character.HumanoidRootPart.Position).magnitude if distance < closestDistance then closestDistance = distance targetPlayer = player end end end end -- Function to move the zombie towards the player local function moveToPlayer() while wait(0.5) do findClosestPlayer() -- Find the closest player if targetPlayer and targetPlayer.Character then local playerPosition = targetPlayer.Character.HumanoidRootPart.Position humanoid:MoveTo(playerPosition) -- Move the zombie to the player's position -- Optional: You can make the zombie face the player zombie:SetPrimaryPartCFrame(CFrame.new(playerPosition) * CFrame.Angles(0, math.rad(180), 0)) end end end moveToPlayer() -- Start moving the zombie
Atleast my hard work is paying off!
Should be copyright cause of the name so imma stop adding experience
Dont mind the exucutor
man no comments
creds to vibe
credits to loosinghealt
credits to frifunkin
credits to:rose._.annn
i miss this tiktoker
Hi
Hello, are you okay in the US?
@@TreFDm 𝕀'𝕞 𝕚𝕟 ℙ𝕙𝕚𝕝
@@mariachristmalaarninobleza5908 Wow, this is the first time I see a chela in Phil
sorry i forgot to give credits@@TreFDm