Zanance
(Zan)
#1
The ParticleEmitter isn’t cloning to the players torso & there are no errors in the output.
Code below:
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local Humanoid = character:WaitForChild("Humanoid")
local HeartEffect = game.ServerStorage.Effects:WaitForChild("Hearts"):Clone()
local Torso = character:FindFirstChild("UpperTorso")
HeartEffect.Parent = Torso
end)
end)
Any feedback is appreciated
1 Like
Change UpperTorso to HumanoidRootPart.
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local Humanoid = character:WaitForChild("Humanoid")
local HeartEffect = game.ServerStorage.Effects:WaitForChild("Hearts"):Clone()
local Torso = character:FindFirstChild("HumanoidRootPart")
HeartEffect.Parent = Torso
end)
end)
1 Like
Zanance
(Zan)
#3
Well that was easy haha thank you.
system
(system)
Closed
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.