VERY annoying scripting bug
#1
This might be a problem in the actual script, but I think it's a bug

d = script.Parent
delay =5

function Doorinate()
sleep(0.1)
d.Transparency = 0.5
d.CharacterCollide = false
lastCalled = os.time()
if os.time() - lastCalled < delay then return end
d.CharacterCollide = true
d.Transparency = 0
lastCalled = os.time()
end


link(d.Collided, Doorinate)



This video was taken after something had collided with the object, every time I tried to edit the two values they reset themselves
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)