✓ Accepted answer
Im assuming that the game has a timer? If not then you can do have a brick placed at the end of the map or game and have them step on it when they have finished with the course. You would also have the made the UI made Separately via Gui. This is an example:
local Animation = game.(Where ever you stored and placed the animation
local Brick = game.workspace.(BrickName) -- Location of explorer were brick/endpoint is located
local function OnBrickTouched() -- When player touches the brick/endpoint
--Have animation play, have UI show up enabled or visible,have code that says how well they did with how fast they finished or amounts of deaths, and then award rank to player code.
You would have the animation stored in a place such as replicated storage, etc..
This is a pretty rough outline though so don't expect this to work. I too am learning to script so i'm giving my take on it and i'm sure that others know more than I do, so if you see a mistake please correct it. The only way to find out to script it on your own is to try it and find out. If you don't take any action then nothing is going to happen. Take care
1 comment
I’ll try it