#Need help fixing my "EquipAura" script, new to scripting.

1 messages · Page 1 of 1 (latest)

wispy vine
#

Whenever I roll an aura in my game, for some reason it takes auras that have been rolled before and equips those instead of the new aura I just rolled (as you can see in the video).
The script is shown here, it's a **Script **placed in ServerScriptService. You can also see the AURAS folder in ReplicatedStorage to see where they are.
If someone can help but needs more information, please say!
Thank you for reading.

tall leaf
#

Local scripts in ServerScriptService is a big no no. You should have it inside starterplayerscript or startercharacterscripts or starterGui

wooden lightBOT
#

studio** You are now Level 4! **studio

wispy vine
tall leaf
#

oh

#

well you can't acces the player's gui from a script. Only from a LocalScript. I suggest using a remote event

tall leaf
#

Did you take a prebuilt system?

#

If yes then i can't really help you because idek how the game is structered there. It's hard to tell from only one script since you have some many remote events. And please stop taking free systems, try coding yourself

wispy vine
#

Copied it from a tutorial on youtube, yes

#

All good, thank you for looking into it

languid elk
#

h