#i dont know, how to fix
1 messages · Page 1 of 1 (latest)
This syntax (Input: "Made" | "by") is just type annotation. Which means it just expects the Input to be "Made" or "by". It doesn't really change any logic.
u must write luau only, i mean my luau function that not checking string “Made” or “by”, only allowed “Made”, “by” string to print true, For example i translated to lua function Test(Input) return Input == 'Made' or Input == 'by' end print(Test('testt')) -- returns false print(Test('Made')) -- returns true
read
Sorry. Creator Hub gets auto translated to german in a weird way and I don't know how to not make it auto translate. Could you explain here again?
What exactly your trying to achieve I mean
can someone help me with one of my profilestore module scripts. im trying to make it for my incremental game?
help me identify the mistake
Create a post
i dont understand about "What do you want to achieve? Keep it simple and clear!"
its template roblox devforum
Like what do you want to make.
But we need to know what your trying to do. Do you want your function to return True when Input is "Made" or "By" or what are you trying to do?
yes
input == Made or by that return true
i used chatgpt 1 hour ago
Yeah so what is the problem
You already have two solutions
i dont know "problem" word, i want fix&optimize my luau script
Ahh. But this is very optimized already