Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how do i add aura from server storage into player arm?

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

1

nope

1 answer

On line 7, you have a ColorSequence.new which is not needed. Mark this as a solution if this helps!

1 comment

0

it because i try to change the color

This discussion is preserved as it was. New answers, comments, and votes are closed.