Skip to content

Instantly share code, notes, and snippets.

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)
--!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)