the scripts are pretty self explanatory but the local does not print anything and the server doesn't play any sounds
localscript:
script.Parent.ClickDetector.MouseClick:Connect(function()
print("clicked")
game.ReplicatedStorage.HealingEvents.SmallHeal:FireServer()
print("sent")
script.Parent:Destroy()
end)
script:
game.ReplicatedStorage.HealingEvents.SmallHeal.OnServerEvent:Connect(function()
game.Players.PlayerAdded:Connect(function(plr)
local hum = plr.Character.Humanoid
game.Workspace.Sounds.Crunch:Play()
hum.Health = hum.Health + 10
end)
end)

1 comment
Connect must be "connect"