Because both the scripts have the same name and when you are doing “.” you are referencing another script’s name instead
Also I see that the script coil is cloned like this:
local newSpeedCoil = script.Parent.SpeedCoil:Clone()
And the gravity coil is cloned like this:
local newGravityCoil = script.Parent.Script.GravityCoil:Clone()
I think this is a problem since you are calling .Script only for the gravity coil
In the post, you said the tools were inside of a script.
local newSpeedCoil = script.Parent.SpeedCoil:Clone() -- You didn't check inside a script
script.Parent.Script.GravityCoil:Clone() -- You did check inside a script here
Be sure that the two scripts have different names as well.
what would I be referencing? would it be the gui part not sure
Rename the 2 scripts to gravitycoilscript and speedcoilscript then do this:
local newSpeedCoil = script.Parent.speedcoilscript.SpeedCoil:Clone()
local newGravityCoil = script.Parent.gravitycoilscript.GravityCoil:Clone()
the scripts that have the coils underneath them?
Yes those scripts
char limit is very annoying
oh my god ur an actual legend man a savior a gift from the lord ive been trying to do this and been trying to ask for help for 3 days thanks man
I told you how to do it lol
Anyways, good job!
thank you too man! u also gave me an understanding on the problem