I keep getting attempt to concatenate string with Instance what does it mean? SOLVED
Asked by
4 years ago Edited 4 years ago
1 | local inter = game.ReplicatedFirst.Round.Inter |
3 | local intert = game.ReplicatedFirst.Round.Time.Value |
4 | local Start = game.ReplicatedFirst.Round.Starting |
5 | local selmap = game.ReplicatedFirst.Round.CurrentMap.Value |
7 | T.Text = "Game Starting." |
8 | T.Text = "Map: " ..selmap |
This is my code and if I run it, it gives the Players.Player1.PlayerGui.RoundDis.Frame.TextLabel.Start:8: attempt to concatenate string with Instance
Error message in output
I realized all I needed to do was do
local selmap = game.ReplicatedFirst.Round.CurrentMap.Value.Name