-
What do you want to achieve? I want make that button with has static when the mouse hover over it. which similar to apeirophobia. here a video which from apeirophobia
-
What is the issue? I don’t know how to make. I have lot hard times to figure out.
-
What solutions have you tried so far? I searches ton of these and non of these similar to what I want.
!!REMINDER!! I’m a beginner, I had lack of understanding how to make that.
5 Likes
In steps:
Have a Frame containing A TextButton and over that is an ImageLabel
Set The ImageLabel’s ImageTransparency to .5-ish and set Visible to False
Do A For Loop to get the frame and reference the Button and The ImageLabel
Use The .MouseEnter method to check if someone hovers over the button
Set the ImageLabel to Visible then
Use The .MouseLeave method to check if they removed from the button then set the ImageLabel to invisible
To Make The ImageLabel have Static, there are more than 1 image. They probably set up a while loop with a for loop in it and reference all the ImageLabels
1 Like
Alr! I going try it. I going let you know if its working or not.
does I need to make script or? I kinda not understand about your steps
Yea you need to script it in lol
ah I see lol. I going try make one. hopefully gonna be work lol
do you know there any can help with make script? I been try to make it but non of these successful. I’m lacking in script field due I am completely beginner. so I don’t understand in these. Do you know if there any tutorial or similar to that which can help? I cannot find tutorial which about the image loop or something like that.
just use a texture and then set the offset and rotation to something random in a repeat loop that doesnt stop until you dont hover over the button.
how? it about script or? Im kinda lost
you know the Texture object? you can set the offset, just set it to math.Random(0, 100) on both the x and the y coörds, if you wanna use gui just make a frame with the texture and edit rotation with a script. make sure the frame is parented to the button! or it wont work. thats should also work.
alright, I going try it. thanks for help!
I did put texture, however I cannot put (0,100) on offset. there only OffsetStudsU and OffestStudsV. did I do something wrong?
no thats comepletely normal, U and V are the X and Y of the texture, use a script to set the offset between 0 and 100, tweak where needed and it should work!