I fixed yesterday's error by using a localscript and referencing
game.Players.LocalPlayer to get the player. This fixed the problem, I was only rewarded another error, I looked online for this and got no hope.
Error:
Unable to cast Instance to Int
Script:
script.Parent.MouseButton1Down:connect(function()
local player = game.Players.LocalPlayer
local TeleportService = game:GetService("TeleportService")
TeleportService:Teleport(player,483825326)
end)
Help Is Appreciated
PLEASE DO NOT DOWNVOTE WITHOUT TELLING ME WHAT TO DO DIFFERENTLY WITH MY QUESTION
Will Accept Answer If It Helped Me
