my script dont work, he stops when he will clone, the last thing that he do is clear all children, and when the value of bazooka is pistol, he work, and i dont know why dont know why isnt working
function Click(mouse)
script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.stats[script.Parent.Name].Value = script.Parent.Parent.Name
wait(0.1)
script.Parent.Parent.Parent.Parent.ResultSkill2.Text = script.Parent.Parent.Name
script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.SkillBar1:ClearAllChildren()
local Skill = game.Lighting.AkumaNoMi.GomuGomuNoMi.GomuGomuNoMi.Bazooka.GomuGomuNoBazooka:Clone()
Skill.Parent = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.SkillBar1
local SkillOff = game.Lighting.SkillInterior.SkillOff:Clone()
SkillOff.Parent = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.SkillBar1
local SkillOffPermanently = game.Lighting.SkillInterior.SkillOffPermanently:Clone()
SkillOffPermanently.Parent = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.SkillBar1
script.Parent.Parent.Skill1.Visible = false
script.Parent.Parent.Skill2.Visible = false
script.Parent.Parent.Skill3.Visible = false
script.Parent.Parent.Skill4.Visible = false
end
script.Parent.MouseButton1Down:connect(Click)

3 comments
There's a chance you cloned it to an unexistent path...
That's alot of parents. Why not just access it directly?
its more easy to use parents, and this exist, jsut isnt working