Jump to content

Recommended Posts

5 minutes ago, maganam said:

I created an item and i want to start with it coz my game crash every time i activ the mod.

Is this line correct or not?

local start_inv = {Spiky_Bat}

Yeah... my item name is literally Spiky_Bat

prefabs are referenced as strings, you'll want to change Spiky_Bat to "Spiky_Bat" with "" because atm Spiky_Bat is a pointer/variable referencing nil data which is incorrect and giving you the error.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...