How To Make an Anti-Leave Script in Roblox Studio! (WORKING 2023)

preview_player
Показать описание
SCRIPT: game:GetService("GuiService").MenuOpened:Connect(function() game:GetService("TeleportService"):Teleport(game.PlaceId); end);
Рекомендации по теме
Комментарии
Автор

FIRST REAL VID WITH 1K VIEWS??? LETS DO IT!!!

EJEYT
Автор

The cool thing is, I've never seen a kid do a tutorial before. And, your way more clear than adults.

Ilove_whippedcreammm
Автор

I tried and followed all of the steps and it didn't work :(

BuggerHugger
Автор

do anyone want a stairs whit block that deletes when you touch it(script)
local block = script.Parent
db = false

function onTouch()
if db == false then
db = true
for i = 1, 20 do
block.Transparency = i/20
wait(0.05)
end
block.CanCollide = false
wait(2)
block.CanCollide = true
block.Transparency = 0
db = false
end
end


imafanofeystreem
Автор

I got error when rejoined Disconnected The server has shut down error code 288

minghaogameing
Автор

POV: My Cousin's Keyboard While She's typing

Game_Zone
Автор

OR you can check if the player is removing so when they actually click the leave button or if they try to do alt F4 it wouldnt work it should send them back

SCRIPT:



local teleportService =
local guiService =
local player = game.Players.LocalPlayer


teleportService:Teleport(game.PlaceId, player)



if leavingPlayer == player then
teleportService:Teleport(game.PlaceId, player)
end
end)
end)

questionmark_m
Автор

Thanks i needed this for my MEEPCITY RON game!

Barnaby
Автор

the players will not guess in any way that it is necessary to press the cross there lol

turmexanika
Автор

Like if you fully fully mad eun leavable no task manager or anything could you get banned or your game taken down?

bennettpearson
Автор

I LOVE PLAYING GTAG AND ROBLOX BROOO IM MAKING MY OWN GTAG FAN GAME UR SO SICK

KingBobMobOfficial
Автор

@EJE bru u are a actuall utuber u have a history with me

parsaMAR_x
Автор

Hi when i put the leave menu it says teleport try failed because of a error can you tell me how to fix it?

Makoto
Автор

good video, and good tutorial, but this game not published lol

МарияМирабелла-ъэ
Автор

nice
now i can make brainrot clicker robux free ugc simulator gambling update!!!!

robotmafiagames_theo
Автор

this is more of a troll because you can Just quit the game but nice

ifz
Автор

IM THAT ONE PERSON THAT HAS 9 GRILLION GAMES

agataee
Автор

TY SO MUCH YOU EARN A SUB SO I CAN SCARE PEOPLE😈😈

gizfish
Автор

not lieing da vid graphics were kinda bad

breanamartin