Jump to content

HELP A FELLOW MODDER onUpdate() doesent work.


JuhaJGamer

Recommended Posts

I'm trying to make a PartModule class which would explode if it has too much antimatter but no electric matter to contain it. I have a tempature increasing every frame by a bit in a function which runs every frame by the if-statement in the onUpdate() function. For some reason the onUpdate isn't called even once after I load it to the editor. Also, I would like to see how I could make it not explode in the editor, which it would probably do if I would get this working. Also it should use 1 Electric matter and 20 Antimatter every second. HOW DO I DO THAT. HELP. SOrry if this post contains bad English. I'm not really good at that.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...