FlipManager
This item only works when running on the client. Client
Manager module responsible for handling corner flips.
Functions
TryFlip
FlipManager:
TryFlip
(
) →
(
)
Performs a corner flip on any flip parts the player is touching. Parts can be marked as flip parts by:
- Adding a Tag or
Instance
inside the part calledCanFlip
- Adding a callback on the part with
FlipManager:BindToFlip()
If the flip part has a TeleToObject
ObjectValue
present and set, the player
will teleport to that object rather than to the other end of the flip part.
BindToFlip
Binds the callback
function to the part
, executing the callback when
the player performs a corner flip on it.
** Please add this to your Scope! **