Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i=1,#collisionBlocks do
- t=collisionBlocks[i]
- print(#collisionBlocks)
- print(i)
- if player.y-1<t[4] and player.y-1>t[2] and ((player.x>=t[1] and player.x<=t[3]) or (player.x+50>=t[1] and player.x<=t[3])) then print'nao da para andar pra cima' return false end
- return true
- end
- >5
- >1
- >5
- >1
- >2
- >3
- >4
- >5
Add Comment
Please, Sign In to add comment