In todays short I show you how to make a E to turn a light on and off. I Hope you enjoyed the video, Have a lovely rest of your day! If you are a bit confused what to do, Feel free to message me on Discord and Ill help you out!
If you would like to support me even more, Super Thanks and Becoming a Member is also another way to show your appreciation!
🌟 Floppys Discord Server: / discord
Script :
local ProximityPrompt = script.Parent
local Part = game.Workspace.YourPartName -- Change "YourPartName" to whatever part you want to open when a player clicks E
local PointLight = Part.PointLight -- Change PointLight to whatever your Light is called
ProximityPrompt.Triggered:Connect(function(player)
if PointLight.Enabled then
PointLight.Enabled = false
ProximityPrompt.ActionText = "On" --
else
PointLight.Enabled = true
ProximityPrompt.ActionText = "Off"
end
end)
🌟 Floppys Roblox Game : https://www.roblox.com/games/11301003...
Roblox Studio Tutorial
Roblox Studio
Studio Tutorials
Смотрите видео HOW TO MAKE A E TO TURN A LIGHT ON AND OFF 🛠️ Roblox Studio Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Itz_FloppyFish 31 Май 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,503 раз и оно понравилось 292 людям.