This commit is contained in:
2024-04-17 23:25:40 -04:00
parent ffca7ff16b
commit 9e94d56a9f

View File

@@ -53,7 +53,7 @@ for _, LightProperties in Interactables.LightSwitches do
LightEnabled = not LightEnabled LightEnabled = not LightEnabled
local Switch = LightProperties.Switch local Switch = LightProperties.Switch
if Enabled then if LightEnabled then
LightSwitchTween:Start(Switch, { LightSwitchTween:Start(Switch, {
CFrame = CFrame.new(Switch.Position)*CFrame.Angles(0,math.rad(90),0)+Vector3.new(0,.15,0) CFrame = CFrame.new(Switch.Position)*CFrame.Angles(0,math.rad(90),0)+Vector3.new(0,.15,0)
}) })