For some reason my TeleportService Script won't work. I kept on reading the wiki and had no mistakes. Here is my script.
local TeleportService = game:GetService("TeleportService")
local BNZId = 406186071
function onTouched(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
TeleportService:Teleport(BNZId, player)
end
end
script.Parent:connect(onTouched)
(BNZId is the place) Compare this to this link:http://wiki.roblox.com/index.php?title=TeleportService_guide If you find any mistakes or could fix this, please answer. (Used LocalScript)
