Sun = "TanjiroSword"
Thunder = "Thunder"
Water = "Water"
function boop(Player)
if not Player.Backpack:FindFirstChild(Sun) then
local Tool = game.ServerStorage[Sun]:clone()
Tool.Parent = Player.Backpack
if workspace.Lightning or Water then
workspace.Lightning.ClickDetector:Destroy()
workspace.Water.ClickDetector:Destroy()
end
end
end
script.Parent.ClickDetector.MouseClick:Connect(boop)
COMMUNITY QUESTION
why players cant click the lightning and water when i click the sun?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
You're deleting the click detectors on line 10 and 11, without the click detector the item is no longer able to be clicked.
what do i do to click the players the water and thunder
Explain to me a little bit what this script is supposed to be doing, right now I see it giving you an item and then destroying two click detectors, whats its purpose?
im trying to give players a one skill