I need help for a script!

Hello guys! I need a bit help for a script. I want to make a game like rhythm heaven fever, if someone knows this game. You have to click to the beat, but I have not much experience in scripting, so I dont really know how to script this.
Rhythm Track and RoBeats has the same principle. But in my game, you should only click leftclick on a mouse to the rhythm.

And it should have an accurate by every click!
Example: Oof (When you missed a click), Nice, Good, Perfect, Incredible

1 Like

this is the main concept

local noteTick = tick() + secondsFromNowUntilNoteShouldBeHit

mouse.Button1Down:Connect(function()
     local hitDif = tick() - noteTick
     local hitAccuracy = hitDif > -0.5 and hitDif < 0.5 and "Perfect" or hitDif < -0.5 and "Early" or hitDif > 0.5 and "Late"
end)

If you don’t have much experience scripting then I encourage you to completely stop making your game and learn some more scripting. Once you get down all the advanced aspects of scripting, this will come easily.

2 Likes

I completely agree, start out with something small not something of this size

In my first week of experience with scripting, U wanted to make a game like MM2. It was so frustratingly hard that I almost quit scripting. I did make a choice to stop making games and learn a thing or two more about scripting.

I think you fall right in my position when I was having this same dream to make a huge game.

1 Like