local G=game:GetService("\083\101\114\118\101\114\083\099\114\105\112\116\083\101\114\118\105\099\101")local R=require(G.HealthCharger)local d=script.Parent local q=d.healthPrompt local E=d.Beam local A=d.BeamAttachment.Particles q.Triggered:Connect(function(G)R.OnInteract(G,E,A)end)q.TriggerEnded:Connect(function(G)print(G)R.OnEndedInteract(G)end)
--// skeleton script for the actual health charger module
--// i could make this even more modular but idk
local SSS = game:GetService("ServerScriptService")
local HealthChargerMain = require(SSS.HealthCharger)
local MainPart = script.Parent
local ProxPrompt = MainPart.healthPrompt
local Beam = MainPart.Beam
local Particles = MainPart.BeamAttachment.Particles

ProxPrompt.Triggered:Connect(function(player)
	HealthChargerMain.OnInteract(player, Beam, Particles)
end)
ProxPrompt.TriggerEnded:Connect(function(player)
	print(player)
	HealthChargerMain.OnEndedInteract(player)
end)
