HOW TO MAKE A E TO TURN A LIGHT ON AND OFF 🛠️ Roblox Studio Tutorial

Published: 31 May 2023
on channel: Itz_FloppyFish
4,503
292

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


Watch video HOW TO MAKE A E TO TURN A LIGHT ON AND OFF 🛠️ Roblox Studio Tutorial online without registration, duration hours minute second in high quality. This video was added by user Itz_FloppyFish 31 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,503 once and liked it 292 people.