so here are the scripts, how do i make it 2
this one prints 1 on touch.
local pedestal = 0
function hit2()
wait(0.1)
if script.Parent.Transparency == 0.5 then
pedestal = pedestal + 1
print(pedestal)
script:Destroy()
end
end
script.Parent.Touched:Connect(hit2)
this one also prints 1 on touch
local pedestal = 0
function hit2()
wait(0.1)
if script.Parent.Transparency == 0 then
pedestal = pedestal + 1
print(pedestal)
script:Destroy()
end
end
script.Parent.Touched:Connect(hit2)
