#ACS Hitmarkers
1 messages · Page 1 of 1 (latest)
You should make the hitmarker seperately which you can test to make sure it works
Then you need to find the part inside ACS where hits are done and just call your hitmarker function there
Tried this out today and multiple methods all crapped out when trying to identify the client that made the shot.
it would be something along the lines of
Evt.HitEffect.OnServerEvent:Connect(function(Player, Position, HitPart, Normal, Material, Settings)
Evt.HitEffect:FireAllClients(Player, Position, HitPart, Normal, Material, Settings)
local character = HitPart.Parent
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
HitNotify:FireClient(Player)
print(Player)
end
end)
The print always returned nil, no matter what
HitEffect is the default Hit Calling Event for ACS, and HitNotify is the RemoteEvent linked to my hitmarker GUI
Nvm fixed this