#can i make a beam disaper after some time

9 messages · Page 1 of 1 (latest)

pseudo hinge
#

i want a beam to disaper after some time and damage u when come backs i know i would need to use parts for damage or kill the player pls help

#

i want a damaging beam with turn off after some time

quiet lantern
#

you need to post code and show us what you have tried, you're never going to learn relying on handouts like this

old ginkgo
#

probably you could modify the cancollide and transparency property and set it back to normal after a set amount of time. You would need to send the code tho

pseudo hinge
#

@pseudo hinge its made with ai pla change it

pseudo hinge
#

found out the script

#

.

#

local beam = script.Parent
local disappearanceTime = 5 -- Time in seconds before the beam disappears
local reappearanceTime = 10 -- Time in seconds before the beam reappears

-- Disable the beam after disappearanceTime seconds
task.wait(disappearanceTime)
beam.Enabled = false

-- Re-enable the beam after reappearanceTime seconds
task.wait(reappearanceTime)
beam.Enabled = true

#

this script