Mryeetmemes

WaveLabel Script

Dec 9th, 2021
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  2.  
  3. local Map = Workspace:WaitForChild("Map")
  4. local Path = Map:WaitForChild("Path")
  5. local Arrows = Map:WaitForChild("Arrows")
  6. local Sounds = Map:WaitForChild("Sounds")
  7. local Configuration = Map:WaitForChild("Configuration")
  8.  
  9. local Self = script.Parent
  10.  
  11. Configuration.Wave.Changed:Connect(function()
  12. Self.Text = "Wave: ".. Configuration.Wave.Value
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment