LocalScript = "WaterWheel"
LocalScript2 = "Whirlpool"
Toolname = "LocalScript"
Toolname2 = "LocalScript2"

function boop(Player)
 if not Player.Backpack:FindFirstChild(LocalScript)and(LocalScript2) then
  local Tool = game.ServerStorage[LocalScript]:clone()
  Tool.Parent = Player.Backpack
 local Tool = game.ServerStorage[LocalScript2]:clone()
  Tool.Parent = Player.Backpack
if not Player.ServerStorage:FindFirstChild(Toolname) and (Toolname2) then
	  local Tool = game.Backpack[Toolname]:clone()
  Tool.Parent = Player.ServerStorage
 local Tool = game.Backpack[Toolname2]:clone()
  Tool.Parent = Player.ServerStorage
	
end
 end
end
script.Parent.ClickDetector.MouseClick:Connect(boop)

5 comments

0

By default there is no "ServerStorage" inside of a player that is why you are getting this error

0

Is there anyway to remove a script on backpack?

0

or StarterGui?

0

Do not spam questions, I already answered this on your other question, which is the exact same question, so delete this one and accept the answer on the second one.

0

This is so confusing, the one I answered was the latest one you spammed, but you spammed this question 3 times in the past day...