I tried using a gui script that teleports you to a specific place. It works normally with the on screen gui but when I use billboard gui's, it won't work. Here's the script
function Click() script.Parent.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(-0.5, 734, 7.5) end script.Parent.MouseButton1Down:connect(Click)
If you have any fix please share it!
Thanks,
Exsius,
I'm going to have a go at answering and hope I don't get loads of thumbs downs like usual.
So, it is in the player so I assume that it is a local script? If so, try changing it to this just to make it a bit better:
script.Parent.MouseButton1Down:connect(function() game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-0.5, 734, 7.5)) end)
I changed it to :MoveTo() so that it moves the whole character, just to prevent any errors whatsoever and made it an anonymous function so that it is a shorter script so it's more neat. If this does not work then it will be an issue with the billboard gui.
But the script itself should work fine!