Anti teleport script
Key RequiredUniversal

Anti teleport script

Universal Scriptsampangmatthewsampangmatthew 11.6K views 1.6K executesUpdated Apr 12, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•36 lines (1219 chars)
local players = game:GetService('Players')
local lplr = players.LocalPlayer
local lastCF, stop, heartbeatConnection
local function start()
    heartbeatConnection = game:GetService('RunService').Heartbeat:Connect(function()
        if stop then
            return 
        end 
        lastCF = lplr.Character:FindFirstChildOfClass('Humanoid').RootPart.CFrame
    end)
    lplr.Character:FindFirstChildOfClass('Humanoid').RootPart:GetPropertyChangedSignal('CFrame'):Connect(function()
        stop = true
        lplr.Character:FindFirstChildOfClass('Humanoid').RootPart.CFrame = lastCF
        game:GetService('RunService').Heartbeat:Wait()
        stop = false
    end)    
    lplr.Character:FindFirstChildOfClass('Humanoid').Died:Connect(function()
        heartbeatConnection:Disconnect()
    end)
end

lplr.CharacterAdded:Connect(function(character)
    repeat 
        game:GetService('RunService').Heartbeat:Wait() 
    until character:FindFirstChildOfClass('Humanoid')
    repeat 
        game:GetService('RunService').Heartbeat:Wait() 
    until character:FindFirstChildOfClass('Humanoid').RootPart
    start()
end)

lplr.CharacterRemoving:Connect(function()
    heartbeatConnection:Disconnect()
end)

start()

Features & Information

Fixes getting teleported when in a restricted place with noclip Useful for getting through restricted places that teleport you back
#universal#no key#free#anti#op

Community Comments (3)

I6996II6996IDec 26, 2025

it makes ur root part glitch a lot, only fly fixing it

gadgetinggadgetingJun 4, 2026

make an option to turn it on and off, because once I use it i cant turn it off and now the game can't teleport me anywhere anymore

Bipolar_ScriptsBipolar_ScriptsSep 25, 2026

client btw

More Scripts for Universal Scripts