What the script is supposed to do is on the player clicks on the torso, it tells them their race, by making the text visible and changing it to telling them their race, but the problem is it doesn't produce any errors it just doesnt do anything when i click on the torso.
how would i go about fixing this error? (its a server script btw)
EDIT: on closer inspection, the script does change the text of the script and makes it visible, however it doesn't actually make it visible. (visible is checked but its not visible).
clickdetector = script.Parent text = game.StarterGui.ScreenGui.currentrace Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) repeat wait() until player.Character chosenRace = player.Character:WaitForChild("CurrentRace").Value clickdetector.MouseClick:Connect(function() text.Text = "You are a " ..chosenRace text.Visible = true end) end)
Fixed this error by changing startergui into playergui (as startergui is a replicator lol) oops