#Cheeseburger script issue

1 messages · Page 1 of 1 (latest)

chrome storm
#

my friend and i are making a tower game and we decided to add a cheeseburger gamepass for it. but when i play test the game EVERYTIME i click on the screen WITHOUT the cheeseburger equipped it keeps saying the "mm cheesburger" and it also keeps doing it everytime i respawn. idk if im doing something wrong with the script. but can anyone help?

summer river
#

check whether or not the tool is equipped

#

create a boolean named equipped, set it equal to true in tool.equipped event and set it to false in the tool.unequipped event

#

you can also do tool.activated instead of using mouse.button1down

chrome storm
#

alright ill give it a try

#

ok so it fixed it but everytime i reset, it always says "mm cheeseburger" when i spawn back in, is there any fix for that? and also thank you for the help

summer river
#

is the sound that plays opensound or drinksound when you die

chrome storm
#

drinksound

summer river
#

is the mouse.button1down event the only time you use that sound

chrome storm
#

yea

idle kestrelBOT
#

studio** You are now Level 1! **studio

summer river
#

check your r to reset script

chrome storm
summer river
#

try destroying the sound when it ends and then cloning it when you need it to play again

#

in the mouse.button1down

chrome storm
#

alr

#

nop it still keeps doing it sadly

summer river
#

i dont really know id probably need to see the entire thing

#

maybe do ctrl shift f

#

and then type :Play

#

then remove where you dont need it

chrome storm
#

alr ill try it but i gtg either ways

#

ill try some stuff tmr but thank you for the helpman

summer river
#

its not looped right

chrome storm
#

nop

summer river
#

youre welcome