Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago
Edited 6 years ago

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

Log in to vote
1
Answered by
Elixcore 1337 Moderation Voter
6 years ago
local eyes = script.Parent
if eyes.Orientation == Vector3.new(0, -135, 90) then
    eyes.Transparency = 1
end

see if this works

0
It didn't work but it gave me an example and I made it work but thanks anyway. c: oshawat00 62 — 6y
0
oh Elixcore 1337 — 6y
Ad

Answer this question