Elias555 Posted April 19, 2018 Share Posted April 19, 2018 I have a script that will fire over and over for a set amount of time, within the script is a play visual effect. It currently will stack with itself for the full duration. How can I limit it to only playing once until the effect subsides and then playing once again when it's over?In other words, how can I get something like this to work: If MyEffect.Play(Game.GetPlayer()) == False MyEffect.Play(Game.GetPlayer(), 0.1) EndIf Link to comment Share on other sites More sharing options...
TheWormpie Posted April 19, 2018 Share Posted April 19, 2018 Make an ability magic effect that plays the visual effect, add the spell to target at script start, then remove the spell when the specified time has past. Think that would be the ideal way to do it since you avoid all the looping. Link to comment Share on other sites More sharing options...
Recommended Posts