Can You please help me?
script.Parent.ClickDetector(function(Clicked) local Player = game.Players.LocalPlayer if Player.Clicked == true then print("pressed") end end)
script.Parent.ClickDetector.MouseClick:Connect(function(whom) local Player = game.Players.LocalPlayer if whom.Name == game.Players.LocalPlayer.Name then print("pressed") end end)
should work now!