"Clicks" not increasing

Something like this:
Screenshot_2834

You should send an image of the Explorer where the scripts are at.

(DisplayClicks is a script for giving the number of clicks to a TextBox)

That’s the script editor tabs, not the Explorer. You can read my post I just made for an example.

However, based on this image it seems like you are using Server Scripts for all of them. Click Detect has to be a local script because you are detecting mouse inputs :slight_smile:

1 Like

Yup! clickDetect should be a LocalScript.

By the way if you go into the “View” tab, you can open up the console to see errors, which should show you that you can’t fire remotes from server scripts.

You can fire remotes from both the Client and the Server.

Haha you got me. I even went to test it :sob:

(It’s called FireServer() for a reason, you are firing from the client to the server. Also when you do .OnServerEvent() it returns a player variable so that wouldn’t make any sense either loll)

Wait on second thought, if you mean’t firing to the clients then yea you can do that :sob:

I meant firing to the clients.

mbmb, probably would’ve been better to specify firing to clients in order to not confuse OP (and me :sob: ) lolllllll.

True. I definitely should’ve specified that.

It’s his second script that needs to be a local script :slight_smile: we solved this earlier but we kinda went on a small side quest lol.

I’m back, I was eating!

Thanks for the tips, @Pure_Bacn ; I’ll convert clickDetect to a LocalScript.

Guys, I’ve run into another problem (however clicks are now being sensed :grinning:):


:upside_down_face:

Can you me what that script looks like as well as what line 6 is? Thanks.

	local leaderstats = player.leaderstats
1 Like

Can I see the full script? (also try printing out player to see what happens)

You should use:

local leaderstats = player:WaitForChild(“leaderstats”)
local multiplier = player:WaitForChild(“multiplier”)

Try local leaderstats = player:WaitForChild("leaderstats")

also one thing I need to check, your multiplier value isn’t equal to 0, right?

1 Like