Server Script not seeing int value

  1. What do you want to achieve? Keep it simple and clear!
    when a proximity prompt is triggered i want to add 1 to an int value
  2. What is the issue? Include screenshots / videos if possible!

nothing i have tried has worked
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
explorer
image

player.PlayerGui.MainGui.Valves.Frame.count = player.PlayerGui.MainGui.Valves.Frame.count.Value + 1
	player.PlayerGui.MainGui.Valves.Frame.touch.Text = player.PlayerGui.MainGui.Valves.Frame.count.Value

Simple problem,

  1. You forgot to add .Value
player.PlayerGui.MainGui.Valves.Frame.count.Value = player.PlayerGui.MainGui.Valves.Frame.count.Value + 1
  1. Make your life easier with this
player.PlayerGui.MainGui.Valves.Frame.count.Value += 1
2 Likes

this completely fixed it! tysm

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.