Chiri Posted March 12, 2020 Share Posted March 12, 2020 So I was trying to make a character mod, but it crashes the game, and the error log shows this to me: [string "../mods/mod-bell/modmain.lua"]:1: attempt to call global 'require' (a nil value) And this is what I have in string 1: local MakePlayerCharacter = require ("prefabs/player_common") Which I feel little confused, I will be very appreciated if someone can give me any suggestion to solve this problem Link to comment Share on other sites More sharing options...
Yakuzashi Posted March 12, 2020 Share Posted March 12, 2020 (edited) Do you have something like this? local require = GLOBAL.require I bet you miss that in your mod, thus the problem. Edited March 12, 2020 by Yakuzashi 1 Link to comment Share on other sites More sharing options...
Chiri Posted March 12, 2020 Author Share Posted March 12, 2020 12 hours ago, Yakuzashi said: Do you have something like this? local require = GLOBAL.require I bet you miss that in your mod, thus the problem. Thanks, that solves the problem 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now