I don't know if this is a problem with a script, or Roblox, but this breaks a big part of my game for mobile players.
So I have script in a button, that when you click on it, it moves around some other Guis and then teleports the player to another place.
The weird part is, it teleports the player to the place, but then the place doesn't load. The player loads (can chat, reset, etc) but the map or character isn't in at all.
What's the problem? It works perfectly in computer version of the game.
This is the script:
player = game.Players.LocalPlayer Map = script.Parent.Parent:WaitForChild("Map") placeId = 260743174 button = script.Parent Back2 = script.Parent.Parent:WaitForChild("Back2") Karachi = script.Parent.Parent:WaitForChild("MultiKarachi") Spooky = script.Parent.Parent:WaitForChild("MultiSpooky") script.Parent.MouseButton1Down:connect(function() Back2.ClickSound:Play() Back2.Rotation = 17 Back2:TweenPosition(UDim2.new(0.8, 0, 10, 0), "Out", "Quad", 1, false) wait(0.4) script.Parent.ClickSound:Play() script.Parent.Rotation = 17 script.Parent:TweenPosition(UDim2.new(0.8, 0, 10, 0), "Out", "Quad", 1, false) wait(0.4) Spooky.ClickSound:Play() Spooky.Rotation = 17 Spooky:TweenPosition(UDim2.new(0.8, 0, 10, 0), "Out", "Quad", 1, false) wait(0.4) Karachi.ClickSound:Play() Karachi.Rotation = 17 Karachi:TweenPosition(UDim2.new(0.8, 0, 10, 0), "Out", "Quad", 1, false) wait(0.4) Map.ClickSound:Play() Map.Rotation = 17 Map:TweenPosition(UDim2.new(0.8, 0, 10, 0), "Out", "Quad", 1, false) game:GetService("TeleportService"):Teleport(placeId , player) end)