Fandom

ROBLOX Wikia

ChangeHistoryService

12,569pages on
this wiki
Add New Page
Talk0 Share
While this class technically inherits all Instance class members, some (if not all) have been hidden because they serve no purpose for this object.
The ChangeHistoryService is a feature implemented in ROBLOX which makes you available to revert changes made to your place. This provides easy access to fixing major mistakes you've made to your game while making it.

​Functions

bool, string GetCanRedo ( ) [PluginSecurity] Returns whether there are actions that can be redone, and, if there are, returns the last of them.
bool, string GetCanUndo ( ) [PluginSecurity] Returns whether there are actions that can be undone, and, if there are, returns the last of them.
void Redo ( ) [PluginSecurity] Executes the last action that was undone.
void ResetWaypoints ( ) [PluginSecurity] Clears the history, causing all undo/redo waypoints to be removed.
void SetEnabled ( bool state ) [PluginSecurity] Sets whether or not the ChangeHistoryService is enabled.
void SetWaypoint ( string name ) [PluginSecurity] Sets a new waypoint which can be used as an undo or redo point.
void Undo ( ) [PluginSecurity] Undos the last action taken, for which there exists a waypoint.

​Events

OnRedo ( string waypoint ) [PluginSecurity Fired when the user reverses the undo command. Waypoint describes the type action that has been redone.
UnRedo ( string waypoint ) [PluginSecurity Fired when the user undoes an action in studio. Waypoint describes the type action that has been undone.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.