Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local character = player.Character or player.CharacterAdded:Wait()
- local originalEffects = ReplicatedStorage.Assets.Auras.Puzzle.Particles.Head:FindFirstChild("Aura")
- -- Check if originalEffects is valid
- if not originalEffects then
- error("The original effects object was not found in ReplicatedStorage.")
- end
- local toros = character:FindFirstChild("Toros")
- local head = character:FindFirstChild("Head")
- local lefta = character:FindFirstChild("Left Arm")
- local righta = character:FindFirstChild("Right Arm")
- local leftl = character:FindFirstChild("Left Leg")
- local rightl = character:FindFirstChild("Right Leg")
- local function applyEffect(part)
- if part then -- Check if the part exists
- local effects = originalEffects:Clone() -- Clone the effects for each part
- -- Set the color using ColorSequence
- effects.Color = ColorSequence.new({
- ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 224)), -- Light yellow at the start
- ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 224)) -- Light yellow at the end
- })
- effects.Parent = part -- Set the parent to the specified part
- else
- warn("Part not found!") -- Warn if the part is nil
- end
- end
- -- Apply the effect to each part
- applyEffect(toros)
- applyEffect(head)
- applyEffect(righta)
- applyEffect(lefta)
- applyEffect(leftl)
- applyEffect(rightl)
- wait(0.05)
- applyEffect(toros)
- applyEffect(head)
- applyEffect(righta)
- applyEffect(lefta)
- applyEffect(leftl)
- applyEffect(rightl)
- wait(0.05)
- applyEffect(toros)
- applyEffect(head)
- applyEffect(righta)
- applyEffect(lefta)
- applyEffect(leftl)
- applyEffect(rightl)
- wait(0.05)
- applyEffect(toros)
- applyEffect(head)
- applyEffect(righta)
- applyEffect(lefta)
- applyEffect(leftl)
- applyEffect(rightl)
- wait(0.05)
- applyEffect(toros)
- applyEffect(head)
- applyEffect(righta)
- applyEffect(lefta)
- applyEffect(leftl)
- applyEffect(rightl)
- wait(0.05)
- applyEffect(toros)
- applyEffect(head)
- applyEffect(righta)
- applyEffect(lefta)
- applyEffect(leftl)
- applyEffect(rightl)
Advertisement
Add Comment
Please, Sign In to add comment