Hi, Its mr doge again. So I know the last post was pretty confusing so I’m just going to clear things on what I need. 1 is a mud block and the other is a “water” block. The purpose of the mud block is so when a player touches it, the player turns brown. When they touch the water block they return back to normal to the color they originally had. I need help with those 2, have tried so many times and would appreciate your help.
Hi Mr. Doge.
I can point you in the right direction, but I’m not really going to explain a whole lot, so you’ll have to do some research on your own.
You could have a Vector3Value in the player, and then save what color their skin is on spawning, just by getting the Color of one of their limbs or something.
You could then have it so on the touched() event of the mud block, it then loops through the player’s body part’s and sets them to brown. Depending on what you mean exactly by that.
Then if you hit water, loop through them, set them back to the Vector3Value, if their skin color is brown.
This is a way of doing it.
Here are some other dandy links.
Okay thank you I’ll check them out tomorrow, I’m busy today.
Hey long time no talk, 2 years old comment lol! I decided to come back to dev forum and thank you, this helped. You helped me exactly to getting what I was trying to script. I was successfully able to make the mud and water blocks!
Haha, well…
Happy I was able to help! Good luck on your endeavors!