im making this morph thing for a game im making and roblox is being weird for some reason about it, can anyone say why this happens? roblox runs a function normally when the value is 0 but doesnt when the value is 1
if player:FindFirstChild('Data').Shirt.Value == 0 then
defaultmorph()
end
if player:FindFirstChild('Data').Shirt.Value == 1 then
shirt1morph()
end

4 comments
that is an if statement.. there is no functions and will only run once unless you put a loop or an event. So I don't know what you are talking about duuuuude
i mean sure the whole script is 200 lines + and im changing the value through studio, this script is called through a remote and the script is in serverscriptservice
use .Changed or a while loop
thank you