local light = script.Parent.PointLight
local red = Color3.fromRGB(255, 0, 0)
local green Color3.fromRGB(85, 255, 0)
while true do
wait(0.4)
script.Parent.PointLight.Color = red
script.Parent.PointLight.Enabled = true
wait(0.4)
script.Parent.PointLight.Enabled = false
wait(0.4)
script.Parent.PointLight.Color = green
script.Parent.PointLight.Enabled = true
wait(0.4)
script.Parent.PointLight.Enabled = false
end
上のローカルでカラーうんぬん、色設定したら下の書くときにgreenだけで済む、みたいな…???日本語おかしい…
初めてのゲーム制作だからお前たちに意見を聞きたい
207スレ主
2024/09/06(金) 19:25:27.02ID:U79XMRu8レスを投稿する
