#Need a quick script

1 messages · Page 1 of 1 (latest)

elfin urchin
#

i have a ui button and i want a script that make a Sound when pointing on that button and make another sound when clicking on that button

simple shuttle
#

i wonder what i should do

#

should i "help someone to look for a guide on youtube to make the system"

elfin urchin
#

that was fun

simple shuttle
elfin urchin
simple shuttle
#

anyways use button.Activated and button.MouseEnter

elfin urchin
simple shuttle
#

youre the only new post

elfin urchin
#

i know that i need these two but idk how to script them

simple shuttle
#

dude 😭

#

hold on

#

i wanna look for that one msg

elfin urchin
simple shuttle
#

from that one guy

elfin urchin
simple shuttle
elfin urchin
#

its optional

simple shuttle
#

i guess bro

#

you know what

simple shuttle
#

wait

#

wheres jarvis

elfin urchin
simple shuttle
#

@radiant night JARVIS I CHOOSE YOU

elfin urchin
simple shuttle
#

idk but the mods muted him before

#

i think its not gonna work

elfin urchin
#

nice

spare sleetBOT
#

studio** You are now Level 8! **studio

simple shuttle
#

mee67 is scary sometimes

carmine night
elfin urchin
carmine night
#

or just show me ur startergui

#

ill do it

simple shuttle
simple shuttle
carmine night
#

for his gui

elfin urchin
simple shuttle
#

thats so bright

elfin urchin
simple shuttle
elfin urchin
carmine night
#

cl thats easy

#

what u wanted to do

#

its extremely easy

#

thing is

#

i cant be bothered to actually code it for you

elfin urchin
simple shuttle
#

see

#

no one wnats to be a slave

carmine night
#

ill tell u what u can do

elfin urchin
elfin urchin
simple shuttle
#

so first

#

uh

#

delete the button

#

then press ctrl z

#

then delete it

#

then press ctrl z

carmine night
#

basically try and get the mouses position and in the localscript see if the mouse has entered/touched the textbutton

simple shuttle
#

then press ctrl y

carmine night
#

then import a sound in textbutton name it and set the asset to whatever

simple shuttle
carmine night
#

and then play do sound:play()

elfin urchin
simple shuttle
carmine night
#

forgot if textbuttons even had those properties

#

mouseenter

simple shuttle
#

i tried telling him taht before he said he cant script

carmine night
#

didnt know button activated done that

#

or functions like that

#

i thought it was just hardcoded into roblox studio

carmine night
#

watch a tutorial

elfin urchin
carmine night
#

ill be honest

#

if ur learning to code

simple shuttle
#

bros tryna jack of all trades

carmine night
#

it depends on what u want to do

elfin urchin
carmine night
#

im saying that because

#

it can get quite brain buggling at times

elfin urchin
carmine night
#

im talking from experience

elfin urchin
#

and it sucks

carmine night
#

indeed

simple shuttle
carmine night
#

theyre harder then rarity systems

#

i swear

simple shuttle
#

what went wrong

carmine night
#

when the dialogevent remote fires, everything in the dialogsys.Dialogues fires at once. Im trying to store each dialogue to a certain npc, then in one of the scripts it checks if the code is fired and the dialogue is set for and to the rig then shows the text

#

i want to see if thats possible

#

and if it is

#

then how?

simple shuttle
#

use modulescript

#

to store the dialog

carmine night
#

little does bro know

simple shuttle
#

like

carmine night
#

i am

#

already

simple shuttle
#

a module script that stores the dialog

carmine night
#

just read the post fully

simple shuttle
#

alrighjt

carmine night
#

thank you

remote wigeon
#

Bri

#

Just do

#

While true do
Print(“clicked button play sound”)
End

#

ez