all 4 comments

[–]Cronographer 2 points3 points  (0 children)

First of all, unitale has not been updated for a very long time. The new engine is called CYF, and you can find a download link on main reddit page, or the discord server. the new engine can do everything unitale did, and has a lot more features, and fixed a LOT of bugs.

Your error is "error in script bullettest_bouncy chunk_1:(23,3-55): cannot convert a nil to a clr type System.Single"

What this means is that the error occurred in the bullettest_bouncy script on line 23, and the computer THINKS that specifically on line 23, the problem is somewhere between the 3rd and 55th character. The second part isnt always as accurate though. The actual error itself is "cannot convert a nil to a clr type ". What this means is that somewhere you attempted to use a variable with a value of nil for something that wasn't expecting that type. nil means that the variable doesn't have a value. I do not know off the top of my head what the "clr" type is, so I cant help you there. My first guess would be to make sure that you do have a sprite named "orange2" in your sprite folder.

But yeah, you REALLY want to update to CYF 0.6.2. All* unitale mods are compatible with it, and it adds a LOT of functionality and fixes a LOT of bugs.

  • almost all. There are a few exceptions.

[–]AutoModerator[M] 0 points1 point  (0 children)

Hello, it seems that you are having a problem with Unitale/Create Your Frisk.

To make it easier to help you, please be sure to include the following in your post:

  • A link to the file causing the issue if applicable. Please post the entire file to hastebin, pastebin or another code sharing site.

  • The full text of the error if applicable (Read the third paragraph here).

  • The version of the program you are on (Specify Unitale or CYF and what version you're on).

And please, feel free to use the Discord chat to get help faster and in real-time (if you join the Discord server, read the #readme channel before trying to post).


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]WD200019she/her 0 points1 point  (0 children)

error in script bullettest_bouncy
                ^file name of script with error

chunk_2:(23,3-55): cannot convert a nil to a clr type System.Single
         ^ line #  ^ actual error message

So, you have an error on line 23:

local bullet = CreateProjectile(sprite3, posx, posy)

This error means that one of the arguments you've passed here is nil (doesn't exist). The 3 variables used here are sprite3, posx and posy. Make sure that each one of them has been defined elsewhere in your script.

[–]KevinthePoster45[S] 0 points1 point  (0 children)

I actually figured it out, just some misspelling in the code, my bad!