Hi,
I am trying to attach a particle effect at a players location in a local script for a few seconds and then remove it. The code below works but when active the player can’t move, I want the effect to follow the player until I remove it.
What am I doing wrong, effect is not anchored.
local character = player.Character
local clonedModel = Effect:Clone()
clonedModel.Parent = workspace.CloneTemp
clonedModel.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
local weld = Instance.new("Weld", game.Players.LocalPlayer.Character.HumanoidRootPart)
weld.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
weld.Part1 = clonedModel
wait(time)
clonedModel:Remove()