
KeylessUniversal

local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local StarterGui = game:GetService("StarterGui")
local player = Players.LocalPlayer
local antiTpActive = false
local lastSafeCFrame = nil
local maxWalkSpeedBuffer = 3
StarterGui:SetCore("SendNotification", {
Title = "Notice",
Text = "This script is not for Anti Teleport BYPASS, is for preventing you from getting teleported by the game. Idk why would u use this.",
Duration = 10
})
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "AntiTpMobileUltimate"
screenGui.Parent = player.PlayerGui
screenGui.ResetOnSpawn = false
local mainFrame = Instance.new("Frame", screenGui)
mainFrame.Size = UDim2.new(0, 180, 0, 90)
mainFrame.Position = UDim2.new(0.5, -90, 0.15, 0)
mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
mainFrame.Active = true
mainFrame.Draggable = true
Instance.new("UICorner", mainFrame)
local toggleBtn = Instance.new("TextButton", mainFrame)
toggleBtn.Size = UDim2.new(0, 150, 0, 50)
toggleBtn.Position = UDim2.new(0.5, -75, 0.5, -5)
toggleBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
toggleBtn.Text = "ANTI-TP: OFF"
toggleBtn.TextColor3 = Color3.new(1, 1, 1)
toggleBtn.Font = Enum.Font.SourceSansBold
toggleBtn.TextSize = 18
Instance.new("UICorner", toggleBtn)
toggleBtn.MouseButton1Click:Connect(function()
antiTpActive = not antiTpActive
local character = player.Character
local root = character and character:FindFirstChild("HumanoidRootPart")
if antiTpActive then
toggleBtn.Text = "ANTI-TP: ON"
toggleBtn.BackgroundColor3 = Color3.fromRGB(50, 200, 50)
if root then lastSafeCFrame = root.CFrame end
else
toggleBtn.Text = "ANTI-TP: OFF"
toggleBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
lastSafeCFrame = nil
end
end)
RunService.PostSimulation:Connect(function()
if not antiTpActive then return end
local character = player.Character
local root = character and character:FindFirstChild("HumanoidRootPart")
if root then
if not lastSafeCFrame then
lastSafeCFrame = root.CFrame
return
end
local distanceMoved = (root.Position - lastSafeCFrame.Position).Magnitude
if distanceMoved > maxWalkSpeedBuffer then
root.CFrame = lastSafeCFrame
root.AssemblyLinearVelocity = Vector3.new(0,0,0)
else
lastSafeCFrame = root.CFrame
end
end
end)



I'ma test
In forwaken
Works pretty * good
Dude I can say Da_m
Can't*
kicks you out make sure to not move