How can I make the pressing button script work?

image
well turns out it was giving me a “Unable to cast to Dictionary” error :sob: for line code 19

Ohh i see you set the position to be = to both the position and color

1 Like

What Mythic Said

You’re doing
{Position = Vector3(blah, blah, blah), Color3.new(blah, blah, blah}
You’re trying to cast the vector3 AND the color3 to the position, try
{Position = Vector3(blah, blah, blah), Color = Color3.new(blah, blah, blah} (though I don’t tween multiple stuff a lot i don’t know if this will work

Also you’re setting a color3.new as (255, 0, 0) which is a rgb value on the “UpTween” you should change that

Also, I read ZonePlus document and it seems like the events are .playerEntered and .playerExited, not with a capital “player” like you did (PlayerEntered) so that might error out

Holy crap lol it works now. I didn’t catch that “PlayerExited” error until you said lol. TYSM for your help!!!

I guess I learned a lot from yall today :smiley: Thank yall both fr

2 Likes