Human Kebabs 🍖
6.5k Views
21 Executions

Loop tp behind made by *Ticlr

Human Kebabs
Rust
RustFirst script
2 years ago
Please login to perform these actions:

Loop tp behind made by *Ticlr is a Human Kebabs script for Roblox, uploaded to ScriptBlox on May 8, 2025.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

AssTiclr

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

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

local originalPosition = nil
local isTeleporting = false
local teleportConnection = nil

-- Function to find the closest player
local function findClosestPlayer()
    local closestPlayer = nil
    local shortestDistance = math.huge
    
    for _, otherPlayer in pairs(Players:GetPlayers()) do
        if otherPlayer ~= player and otherPlayer.Character and otherPlayer.Character:FindFirstChild("HumanoidRootPart") then
            local distance = (humanoidRootPart.Position - otherPlayer.Character.HumanoidRootPart.Position).Magnitude
            if distance < shortestDistance then
                shortestDistance = distance
                closestPlayer = otherPlayer
            end
        end
    end
    
    return closestPlayer
end

-- Function to teleport behind a player
local function teleportBehind(targetPlayer)
    if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then
        local targetHRP = targetPlayer.Character.HumanoidRootPart
        local offset = Vector3.new(0, 0, 3) -- 3 studs behind
        local lookDirection = targetHRP.CFrame.LookVector
        local newPosition = targetHRP.Position - (lookDirection * offset.Z)
        humanoidRootPart.CFrame = CFrame.new(newPosition, targetHRP.Position)
    end
end



Comments

1
Log in to join the conversation. Login
KaguyaXScript's profile picture
KaguyaXScript1 year ago

by AI*

1