Currently, I am making a campaign game where you can select separate chapters, and the corresponding buttons would teleport the player to the chapter place. However, I am encountering an abundance of problems when teleporting. This includes:
ID-17 Error
Client Initiated Disconnect (COULDN’T FIND ANY POST OR VIDEO ABOUT THIS ONE)
Endless loading
I have edited many settings in my computer itself, such as drivers, control panel, and WIFI, but none works. I also re-installed the Roblox client, but still nothing. Therefore, I’m assuming this is a bug from Roblox’s end, a Place setting isn’t right, or my script has something wrong in it.
local selectsound = game.Workspace.Select
local TeleportService = game:GetService("TeleportService")
local player = game.Players.LocalPlayer
script.Parent.MouseEnter:Connect(function()
selectsound:Play()
end)
script.Parent.MouseButton1Click:Connect(function()
sound:Play()
TeleportService:Teleport(8740381975, player)
end)
local sound = game.Workspace.ButtongoBRR
local selectsound = game.Workspace.Select
local TeleportService = game:GetService("TeleportService")
local player = game.Players.LocalPlayer
local PLACE_ID = 8751541050
script.Parent.MouseEnter:Connect(function()
selectsound:Play()
end)
script.Parent.MouseButton1Click:Connect(function()
sound:Play()
game:GetService("TeleportService"):Teleport(PLACE_ID, player)
end)