What is this grey text on my code?

Hello!
I was working on my game, and I noticed this little “helper” code in my script.


What exactly is this? how do I utilize this? and why does it match exactly how I type? its kinda creepy.

In my main script, I want the combo to end when they swung three times, but somehow, the script knew i was going to do that and added a return true at the end.

Any help is appreciated. (I am looking for what it is, and how to use it)

you havent closed the comment after the false

1 Like

What is this even supposed to mean? “I havent closed the comment”?
Besides, even if I am making a script without comments, it still appears

the hyphens after the false

try starting it with this

—[[
and ending with this
—]]

Well, I know what a “comment table” is, but that doesnt matter because I didnt do that, and besides, its a one line comment, so I dont need to do all that extra stuff

You guys buggin, i think thats the new roblox AI for script completion, press Tab to get the commented code into your real script.

2 Likes

oh he might be right

do you got that turned on?

I dont know how to turn it on nor turn it off lol

You probs got it on, its fine just keep it on, if really despised then go to beta features in studio settings and remove it, im sure thats the AI (to also get the code in grey, simply press the Tab key)

go file then beta settings and turn off the ai

oh i didnt see that before lol

1 Like

Ai bouta take over roblox man, first ai material, now ai code

1 Like

This is the new AI feature Roblox recently rolled out, please actually read prompts before blindly pressing “Agree” to enabling the feature.
You can disable it via the Beta menu:
image


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.