Script is acting weird, help!

i dont think inf should be a string value, remove the quotation marks.

1 Like

That is incorrect. In Lua, the term for infinite is math.huge.

I’m going to take guess, this may be a problem with your debounce variable in the local script that fires the knockback remote event.

1 Like

I would refrain from naming any parts “Model” as multiple parts in game will be named this. Try renaming it to something different and changing the name of it in the script

1 Like

Still doesn’t work. What if I give you the game file and you see it by yourself?

I’m not sure, but we can discuss about that in post messages.

1 Like