Ok so i need this to work for all balls called “Ball” But it only works for the first one you click then no other ones work.
local Ball = nil
game.Players.LocalPlayer:GetMouse().Button1Down:Connect(function()
if game.Players.LocalPlayer:GetMouse().Target.Name == "Ball"then
Ball = game.Players.LocalPlayer:GetMouse().Target
game.Players.LocalPlayer.PlayerGui.BillboardGui.Adornee = Ball
end
end)