NOT a local script FE is on

Works 100% in studio, please help!

script.Parent.MouseButton1Click:Connect(function()
	game.Workspace[script.Parent.Parent.Player.Text].Rank.Frame.TextLabel.TextColor3 = Color3.fromRGB(85, 255, 0)
	game.Workspace[script.Parent.Parent.Player.Text].Rank.Frame.TextLabel.Text = script.Parent.parent.Reason.Text
end)

4 comments

0

Don't use Play Solo to test your scripts. Use local server.

0

You can also press F9 in-game to see errors.

0

Where is this script located?

0

This must be a LocalScript.