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?
#Cheeseburger script issue
1 messages · Page 1 of 1 (latest)
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
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
https://medal.tv/games/roblox-studio/clips/kJWDd8Rs8uR3j7Mym?invite=cr-MSx6UVosMTg5MjYyNzU a clip if you wanna see what i mean ab resetting
Watch Untitled by Niumer29 and millions of other Roblox Studio videos on Medal. Tags: Roblox Studio
is the sound that plays opensound or drinksound when you die
drinksound
is the mouse.button1down event the only time you use that sound
yea
** You are now Level 1! **
check your r to reset script
try destroying the sound when it ends and then cloning it when you need it to play again
in the mouse.button1down
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
alr ill try it but i gtg either ways
ill try some stuff tmr but thank you for the helpman
its not looped right
nop
youre welcome