#Clicker Multiplier

1 messages · Page 1 of 1 (latest)

umbral stump
#

im not very good at this yet so im abit confused on what went wrong

#

i thought i had all the booleans good and it all figured out but i guess not?

#

i just want it so if the upgrade button is pressed then the multiplier goes from +1 to +2

clever raptor
#

This code is poorly made

hoary heart
#

you dont check if its 'activated', you check if its active

#

and you cant set a gui type to a boolean

candid gazelle
#

💀The code just cooked fr

umbral stump
#

Alr cheers for the help 💀 like are yall Ed, I don't know how to code so that's why I'm here, so instead of rinsing me how I can't code then help me which is what this forum is for

lean turtle
#

atleast he tries todo this on his own, yall can laugh at him but help him 😭

#

@umbral stump you still on

#

you are making things pretty complicated

#

you an detect wehn a button was pressed with button.Activated

#
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local screenGui = script.Parent
local multButton = screenGui.Frame.Upgrades
local pawClicker = screenGui.Frame.PawClicker

multButton.Activated:Connect(function()
    print("mult button was pressed")
    ReplicatedStorage:FindFirstChild("Multiplier"):FireServer()
end)

--Im guessing pawClicker is also a button
pawClicker.Activated:Connect(function()
    print("paw clicker was pressed")
    ReplicatedStorage:FindFirstChild("PawClicker"):FireServer()
end)
``` look at this
umbral stump
#

@lean turtle so what I have is pawclicker is like the main clicker, what I want is when the upgrade button is pressed, then the paw clicker will give +2 instead of +1, which is why I have 2 events, I just don't know how to do it

#

That's why I tried to do if multiplier button has been pressed then the multiplier remote event else the normal one so it checks if there's been a multiplier upgrade but idrk how to do it

lean turtle
#

you just need to check if the mult button is pressed with multButton.Activated and make it on the server so wehn you press pawclicker the value is 2X

#

idk if that makes sense

umbral stump
#

@lean turtle are u able to like show me how to check if multbutton is pressed and how to make the pawclicker value 2x?, so it can stack for future upgrades

#

If not that's okay

lean turtle