This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --!strict | |
| math.randomseed(os.time()) --for good luck | |
| --//services// these are abbreviated but yardy know | |
| local P = game:GetService("Players") | |
| local TS = game:GetService("TweenService") | |
| local SS = game:GetService("ServerStorage") | |
| local RS = game:GetService("ReplicatedStorage"); local genUI = RS.GenerateUI; local aliasAdded = RS.AliasAdded; local runCommand = RS.RunCommand | |
| local commandEvents = RS.CommandEvents; local push = commandEvents.Push | |
| --generateUI prompts the player to create the command list, aliasAdded gives the player an updated list of aliases when new ones are added, runCommand requests a command be run (when execute button is pressed on client) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local function playResults() | |
| -- show + slide results bar in | |
| resultsBar.Visible = true | |
| resultsBar.Position = resultsBarStart | |
| playArrow(arrow1, arrowDelay1) | |
| playArrow(arrow2, arrowDelay2) | |
| playArrow(arrow3, arrowDelay3) | |
| task.wait(0.01) |