Issue with NumberValue

didn’t work, i’ll try a new approach at this

1 Like

tried this again and it worked! thanks!

2 Likes

Are you sure you aren’t getting any errors in Studio’s output? From the video, the output isn’t even open.

Also, what if the script just doesn’t make any visible changes? Maybe the particle effects and sounds are just broken?

Have you made sure the script is running? Does it print “Value not 60 yet” in output?

1 Like

Glad it finally works now. You are welcome, happy to help!

1 Like

You were on the right track originally, you just made a few mistakes.

systemissue1 = script.Parent.Parent.Parent.Parent.Helicopter.Body.Avanta.Body.systemissue1
smokeL = systemissue1.Parent.Leftengine.Smokes
smokeR = systemissue1.Parent.Rightengine.Smokes
hits = script.Parent

hits.Changed:Connect(function(NewValue)
	if NewValue > 60 then
		smokeR.Parent.Leftengine.Smokes.Enabled = true
		smokeL.Enabled = true
		systemissue1:Play()
	else
		warn("Value not 60 yet")
	end
end)
1 Like