Highlighted blue is the script I’m showing in this image:
And the other picture?..
Oh right, Copy the variables from the long script in to the short script. But don’t remove them from the long one.
Which ones are the variables? I don’t know how to script, just needed to do this small thing really fast, so I’m truly confused.
local CameraPart = workspace.CameraPart
local Camera = workspace.CurrentCamera
Done, and tested. Still not working.
Can you show me the output? (303033030303033)
15:28:17.092 - Touched is not a valid member of ServerScriptService
15:28:17.093 - Stack Begin
15:28:17.096 - Script ‘ServerScriptService.Script’, Line 36
15:28:17.096 - Stack End
15:28:22.589 - Cannot Teleport in the Roblox Studio.
15:28:22.590 - Stack Begin
15:28:22.591 - Stack End
Picture of the scrips again. (303033030303030)
I don’t know if this will help with the problem but try to remove the TextButton and replace it with a TextLabel and put the scripts from the TextButton in the ImageButton.
I’d prefer if I didn’t remove the textbutton, but I’ll put the scripts in the ImageButton.
Why do you need 2 buttons? (3030330)
1, the imagebutton is for the round part of the GUI.
2. The textbutton is to be clicked so a player can teleport to another game.
Then why not replace the imageButton with an ImageLabel?
I don’t know, I just did that because a YouTube tutorial told me too. By making the ImageButton an ImageLabel, will it make what I need done to work?
I don’t know, it should work already but that is the only mayor diffrence i see compared to my scripts from before.
Well I just discovered, I went to test it. I reset my character, and everything started working (I think at least)
So, basically everything is working. I’ll probably just add a kill brick where the player spawns to make everything work.
Put a wait() efter the repeat until.