of     1   

ANDREW50060
#212659739Friday, March 24, 2017 1:39 AM GMT

Im having trouble making a script when the number in my text box reaches higher or the same number then a certain number in the text box it will play a sound Here is the script: (Please help me fix it) if game.workspace.MainTemp.SurfaceGui.TextBox.Text >= "3000" then game.Workspace.RandomMusic:Play() end
Computer2467
#212662958Friday, March 24, 2017 2:17 AM GMT

Your doing an inequality on two strings, to convert it from a string to number just add zero. #code "100" + 0 = 100
ANDREW50060
#212665965Friday, March 24, 2017 2:56 AM GMT

How do you do that? Btw the number changes like every second :P can u re-write it for me pelase :)

    of     1