I have a code here:
SkillRemoteFunction:InvokeServer({Skill = p4, ID = p5, Key = p6, Mhit = _G.GetMR(), Target = _G.GetMClosest(), Arg = "Start"})
task.wait(0.25)
SkillRemoteFunction:InvokeServer({Skill = p4, ID = p5, Key = p6, Mhit = _G.GetMR(), Target = _G.GetMClosest(), Arg = "Release"})
So basically, the first InvokeServer, you may notice the Arg is “Start”, this is to apply Stun to the player and then after the StartUp timer (task.wait(0.25)) is reached, it then InvokeServer again with Arg “Release” and what that is supposed to do is to shoot out the projectile.
So to sum it up, it’s a projectile skill with start up of 0.25s then shoot,
My question is, is this practice bad and if so, why?
Or is there an alternative I can do instead of InvokeServer back to back with a time frame of 0.25s wait inbetween