Advertisement
yyyyyyyippy

aba aura creator

Jun 24th, 2022
1,232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.46 KB | None | 0 0
  1. local AddBackOnDeath = true --if it comes back after you die or not
  2.  
  3. local function AddParticle(t)
  4.     local p = Instance.new("ParticleEmitter")
  5.     local auraColor = Color3.fromRGB(13,105,172) --the color it's gonna be
  6.     if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("AURARARARA") then
  7.         game.Players.LocalPlayer.Character.HumanoidRootPart.AURARARARA:Destroy()
  8.     end
  9.     p.Lifetime = NumberRange.new(0.5)
  10.     p.Color = ColorSequence.new(auraColor)
  11.     p.Rate = 20
  12.     p.Speed = NumberRange.new(0)
  13.     p.Acceleration = Vector3.new(0,0,0)
  14.     p.Brightness = 1
  15.     p.Name = "AURARARARA"
  16.     p.LightEmission = 1 --you can change this, just makes it glowy
  17.     p.LockedToPart = true
  18.     p.Texture = "rbxassetid://347913776"
  19.     p.Size = NumberSequence.new{
  20.         NumberSequenceKeypoint.new(0, 1), -- (time, value)
  21.         NumberSequenceKeypoint.new(0.5,10),
  22.         NumberSequenceKeypoint.new(1, 1)
  23.     }
  24.     p.Transparency = NumberSequence.new{
  25.         NumberSequenceKeypoint.new(0, 0.8), -- (time, value)
  26.         NumberSequenceKeypoint.new(1, 1)
  27.     }
  28.     p.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  29. end
  30.  
  31. AddParticle(game.Players.LocalPlayer.Character)
  32.  
  33. game.Players.LocalPlayer.CharacterAdded:Connect(function(charr)
  34.     if AddBackOnDeath == false then return end
  35.     repeat task.wait() until game.Players.LocalPlayer.PlayerGui:WaitForChild("HUD"):WaitForChild("1").Visible == true
  36.     AddParticle(charr)
  37. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement