#ACS Hitmarkers

1 messages · Page 1 of 1 (latest)

sacred rain
#

Spent two whole days trying to add Hitmarkers to the ACS weapon system, but all of my scripts just somehow dont work. Anybody have any help?

trim badger
#

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

sacred rain
#

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

sacred rain
#

Nvm fixed this