How Would i make a player run on water and run up walls and phase through walls

Started by llamalife on Sun, 04/05/2020 - 20:00

Topic category: Help with modding

Last seen on 20:03, 13. May 2020
Joined Jul 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
How Would i make a player run on water and run up walls and phase through walls
Sun, 04/05/2020 - 20:00

I'm making a flash mod and it needs to have said abilities.

Last seen on 21:32, 24. May 2020
Joined May 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
to run on water just check…
Fri, 04/24/2020 - 17:20

to run on water just check for water block at y-1 and give 1 tick levitation each time

to run up walls use if entity is sprinting, and check for

if block at x+1,y+1≠air

or if x-1,y-1≠air

or z-1,y+1≠air

or z+1,y-1≠air

give levitation

Run through walls, just check for if entity is printing, and check for

if block at x+1≠air

or if x-1≠air

or z-1≠air

or z+1≠air

then teleport