Client Anti Place TP
Key RequiredUniversal

Client Anti Place TP

Universal ScriptAmirikiAmiriki 36.1K views 331 executesUpdated Aug 28, 2023
5.0/ 5(2 votes)
20100% Positive
Lua Script•42 lines (1452 chars)
--[[
    Anti Client Place Teleport script
    This will only work on client-sided teleports (this means you can't bypass DH or Jailbreak bans lol)
    Requested by vyrfz
    Written by Amiriki
--]]

local gui = game:GetService('StarterGui')
local tele = game:GetService('TeleportService')
local LocalPlayer = game:GetService('Players').LocalPlayer

namecall = hookmetamethod(game, '__namecall', newcclosure(function(...)
    if not checkcaller() then
        local args = {...}
        local self = args[1]
        local method = getnamecallmethod()
        
        if method == 'Teleport' or method == 'TeleportToPlaceInstance' then
            return gui:SetCore('SendNotification', {Title = 'Teleport Blocked', Text = 'Teleport successfully blocked'})
        end
    end

    return namecall(...)
end))

local oldtp = hookfunction(tele.Teleport, function(...)
    local plr, id = ...
    if plr == LocalPlayer then
        return gui:SetCore('SendNotification', {Title = 'Teleport Blocked', Text = 'Teleport successfully blocked'})
    end
    return oldtp(...)
end)

local oldttpi = hookfunction(tele.TeleportToPlaceInstance, function(...)
    local plr, id = ...
    if plr == LocalPlayer then
        return gui:SetCore('SendNotification', {Title = 'Teleport Blocked', Text = 'Teleport successfully blocked'})
    end
    return oldttpi(...)
end)

return gui:SetCore('SendNotification', {Title = 'Anti-TP Loaded', Text = 'Written by Amiriki'})

Features & Information

This is a client-sided anti-place-teleporting script. This is useful for spam games that teleport you to many different places, etc. Works in auto-exec, compatible with any decent exploit that supports hookmetamethod & hookfunction. Showcase: https://streamable.com/9ds6gk (Note: This won't bypass server-sided teleports such as DH or Jailbreak. Don't expect this to be a ban bypass)
#anti teleport#teleport#placetp#teleportservice#no teleport

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts