Depending on how you’d wanna implement it:
-
You could use a
ServerScript
to detect when a Humanoid’s Walkspeed changes using theRunning
event, then check if it’s current speed is above 50 to Enable/Disable the trail -
Have the client side deal with the keybinds (Shift) using
UserInputService
to be able to sprint, then send aRemoteEvent
to change the WalkSpeed from the client, to the server -
Not sure about the changing of the lightning color, but maybe every time you sprint it chooses a random color?
These are just my thoughts on how you could implement it