i try to code this but it does not work
local particle = game:GetService("ServerStorage"):WaitForChild("ParticleEmitter")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local cloneguis = particle:Clone()
local f = player.leaderstats:WaitForChild("Kepintaran")
if f.Value > 0 and f.Value < 20 then
cloneguis.Color = Color3.fromRGB(109, 116, 84)ColorSequence.new(Color3.fromRGB(109, 116, 84))
cloneguis.Parent = player.character.LeftUpperArm and player.character.RightUpperArm
end
if f.Value >= 20 then
cloneguis.Color = ColorSequence.new(Color3.fromRGB(109, 116, 84))
cloneguis.Parent = player.character.LeftUpperArm and player.character.RightUpperArm
end
end)
end)

1 comment
nope