Hi, I have my simple line of code:
while true do
wait(1)
if script.Parent.isactive.Value == true then
print("ACTIVE TRUE")
script.Parent:TweenPosition(UDim2.new(0.35,0,0.3))
script.Parent.isactive.Value = false
else
print("ACTIVE FALSE")
end
end
Works beautifully in Studio. When I play ingame, press F9, it's spamming ACTIVE FALSE. Then when I press a button to make it ACTIVE TRUE, it says ACTIVE TRUE, but it doesnt TweenPosition. It works flawlessly in Studio?
Cheers |