Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help! if eyes.Orientation = ("0, -135, 90") then? [SOLVED]

I want to be able to change somethings transparency when the orientation becomes the same as the orientation in the name of this post.

local eyes = script.Parent
if eyes.Orientation == ("0, -135, 90") then
	eyes.Transparency = 1
end

This doesn't seem to work if you can fix/redo this please help by commenting. (When the orientation becomes as what it is in the script it doesn't change its transparency)

1 answer

✓ Accepted answer
local eyes = script.Parent
if eyes.Orientation == Vector3.new(0, -135, 90) then
    eyes.Transparency = 1
end

see if this works

2 comments

0

It didn't work but it gave me an example and I made it work but thanks anyway. c:

0

oh

This discussion is preserved as it was. New answers, comments, and votes are closed.