if shared.OriginalCookie then
shared.CookieCount = shared.CookieCount+1
wait()
elseif shared.UFOCookie then
shared.CookieCount = shared.CookieCount+1
wait()
elseif shared.OOBCOokie then
shared.CookieCount = shared.CookieCount+1
wait()
elseif shared.BaconCookie then
shared.CookieCount = shared.CookieCount+1
wait()
elseif shared.SandstoneCookie then
shared.CookieCount = shared.CookieCount+1
wait()
elseif shared.BurntCookie then
shared.CookieCount = shared.CookieCount+1
wait()
elseif shared.CactusCookie then
shared.CookieCount = shared.CookieCount+1
wait()
elseif shared.CFCookie then
shared.CookieCount = shared.CookieCount+1
wait()
elseif shared.TinyCookie then
shared.CookieCount = shared.CookieCount+1
wait()
end
What this does is when data from a datastore script (this piece of code is inside the datastore script) is it checks for what variables are equal to true. In a separate script it prints shared.CookieCount constantly. Different remote events fire for each variable when they equal true. Every variable you see is equal to do because the separate remote event fires, so it is confirmed true, but CookieCount is printed as 1 constantly. Can somebody help?
