Narratrr Posted July 27, 2021 Share Posted July 27, 2021 So I Have This Skript Here... function createHolo(l: Location, t: Text, length: Timespan): create hologram "%{_t}%" at {_l} for {_length} on damage: loop blocks in radius 1 around head of victim: add location of loop-block to {_blocks::*} set {_bl} to random element of {_blocks::*} createHolo({_bl}, "&c%damage * 2%", 25 ticks) So This is Supposed To Only Show 1 Hologram But It Show 1 - 4 Holograms?? Can Someone Help?? IGN: LastMC Discord: LastXD#7171 Rank: PRO Join date: Monday - December - 23rd - 2019 Link to comment Share on other sites More sharing options...
D4isDAVID Posted July 27, 2021 Share Posted July 27, 2021 Your indentation is wrong. Skript is creating more than 1 hologram since the loop happens more than once. Here are a few tutorials that can help you with indentation just in case: https://skripthub.net/tutorials/33 https://forums.skunity.com/wiki/indentation/ 1 Link to comment Share on other sites More sharing options...
Narratrr Posted July 28, 2021 Author Share Posted July 28, 2021 thank you my guy 19 hours ago, D4isDAVID said: Your indentation is wrong. Skript is creating more than 1 hologram since the loop happens more than once. Here are a few tutorials that can help you with indentation just in case: https://skripthub.net/tutorials/33 https://forums.skunity.com/wiki/indentation/ IGN: LastMC Discord: LastXD#7171 Rank: PRO Join date: Monday - December - 23rd - 2019 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now