Hello everyone.
I need some indications because i am not sure how i would do that.
What i need/Want : Okay so my game is MMORPG and there is skill but i can’t load skills for everyone so its not laggy so i made a render distance to bypass the lag.
But there is a problem imagine as a effect i make a beam and destroy it after 5 seconds and a player is higher than the render distance but after 3 seconds he is in.How i will make it visible to him after 3 seconds ?
1 Like
as i understand you need a tip on how to optimize your [special] abilities and effects? If so you have 2 options:
- Manually set Workspace.StreamingEnabled to true.
- Create a remotefunction to set a callback between two scripts, Client and Server. Server will create the effect and send a call to client to which it will then get a Vector3 position and find magnitude between your camera and an effect, if the effect is out of range set these values: Transparency = 1 CanCollide=false CanTouch=false. Check for effects such as particles sparkles fire smoke trail and beam (set their respective settings in your manner).
Hope this helped!
1 Like