If a Function has brackets, the “[” “]” you need to put it inside an if condition because it might fail
In your case you need
if(Guard.TeleportTo[PTran,PRota]):
Print("TELEPORT WORKED")
or if you want no print
if(Guard.TeleportTo[PTran,PRota]){}