#jump through platform
1 messages · Page 1 of 1 (latest)
So basically check npc height 🤯
bro what if an npc is already standing on the platform?
the npc tht wanted to jump up will cause the platform to be non colliable and made the npc standing up there fell
you cant use local script
Then use a server script?
.
Elaborate dawg i dont even understand u
basically this but i want it to work with npcs
not just players
so u cant use local script
Are the platforms client sided
server
Ok so this isnt that hard
Copy and paste the local script into a server script and replace player and player.character with npc
you cant
the script will set the collision for all npcs
like imagine this
npc1 is standing on it
npc2 want to jump up
and when npc2 jump up npc1 fell bc the collision is set to false
Ok so when you do something like plrchar.humanoid.health = 0 replace it with for i, v in NPCsFolder:GetChildren do v.Humaboid.Health = 0
??
wat does that even hav to do with this
im saying that setting the collision on server side will mess up with other npcs
use collision service
how?
i mean i thought changing part collision group constantly is bad
don't see why as long as you're judicious with it
could set the npc's collision group to not collide with platforms based on touch
maybe using a dummy hitbox just below the actual platform
im thinking if you wanna use collision group we can make several different collision groups for each height and set the npc's collision group based on its height