I want to know what I can do to make this not so late.
When you hit someone it takes like a second or two for the hit particle to come up.
I’ve tried making the particle faster but it did not look how I wanted it to.
local PunchedSound = HitPlayer.HumanoidRootPart.Punched
PunchedSound:Play()
local HitEffect = ReplicatedStorage:WaitForChild("Particles").Hit:Clone()
HitEffect.Parent = HitPlayer.HumanoidRootPart.ParticleAttachment
HitEffect.Enabled = true
Debris:AddItem(HitEffect,0.1)
2 Likes
I recently read something on network ownership. This may be it?
astraIboy
(The Batman)
May 21, 2020, 10:55pm
#3
Try to enabling it before you parent it to the player’s humanoidrootpart?
astraIboy
(The Batman)
May 21, 2020, 10:55pm
#4
Network ownership has nothing to do with that, it just handles the physics for just the client so the server doesnt have to do all the work and also makes the part smoother on others’ clients
I tried that already it’s still delayed.
astraIboy
(The Batman)
May 21, 2020, 10:58pm
#6
Can you show the full script?
[30 Characters]
woot3
(Woot)
May 21, 2020, 10:59pm
#7
You can call the emit method rather than temporarily enabling the effect. From the developer hub:
local emitter = script.Parent
while true do
emitter:Clear()
emitter:Emit(10)
wait(2)
end
As for why it’s taking a while to show this sounds like this is to do with your particles setup.
7 Likes
astraIboy
(The Batman)
May 21, 2020, 11:00pm
#8
He’s already manipulated the properties and it hasnt worked out for him
I’ll try this and see if it works
Yeah this is exactly what I was looking for it solved my problem thanks buddy.
2 Likes