Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by PhoenixClockworks
- --Hey, dont delete this one, please and thank you. >B^(
- --MY TAIL IS STILL HERE
- print("Tail script - Made by PhoenixClockworks")
- print("(Note: The tail will reload whenever your character loads, though it will get laggier each time, so eventually the script may appear slower).")
- local ch = owner.Character
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Heartbeat:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Heartbeat:wait(0)
- end
- end
- end
- function tail()
- local specs = {PhoenixClockworks = {Color = Color3.new(1,1,1), segdetail = {Clone = {CloneCol = {Color3.new(1,0.5,1), Color3.new(0.5,1,1)}, CloneMat = "ForceField"}}, lastpfunc = function(th)
- local CF = CFrame.new
- local ANG = CFrame.Angles
- local RAN = math.random
- local C3 = Color3.new
- local RGB = Color3.fromRGB
- local VT = Vector3.new
- local UD = UDim2.new
- local SEQ = NumberSequence.new
- local CSEQ = ColorSequence.new
- local NKEY = NumberSequenceKeypoint.new
- local RANGE = NumberRange.new
- local pte = function(parent, lightemission, lightinfluence, color, transparency, drag, locked, accel, rate, lifetime, rotspeed, rotation, spread, speed, size, texture, z, direction, enabled)
- local pe = Instance.new("ParticleEmitter")
- pe.LightEmission = lightemission
- pe.LightInfluence = lightinfluence
- pe.Color = color
- pe.Size = size
- pe.Transparency = transparency
- pe.ZOffset = z
- pe.EmissionDirection = direction
- pe.Rate = rate
- pe.LockedToPart = locked
- pe.Acceleration = accel or Vector3.new(0,0,0)
- pe.Lifetime = lifetime
- pe.RotSpeed = rotspeed
- pe.Rotation = rotation
- pe.SpreadAngle = spread
- pe.Speed = speed
- pe.Texture = texture
- pe.Enabled = enabled
- pe.Drag = drag
- pe.Parent = parent
- return pe
- end
- --local pt = pte(th, 1, 0, CSEQ(RGB(255, 125, 255)), SEQ({NKEY(0,1),NKEY(0.2,0), NKEY(0.8,0), NKEY(1,1)}), 0, false, nil, 100, NumberRange.new(0.1,1), NumberRange.new(-180,180), NumberRange.new(-180,180), Vector2.new(0), NumberRange.new(1,2), SEQ({NKEY(0,0),NKEY(1,1)}), "rbxassetid://2273224484", 3, "Top", true)
- --[[local fi = Instance.new("Fire", th)
- fi.Color = Color3.new(1,0.5,1)
- fi.Size = 0.5
- fi.Heat = 0
- fi.SecondaryColor = Color3.new(0.2,1,1)]]
- local li = Instance.new("PointLight", th)
- li.Color = Color3.new(255, 85, 255)
- local trail = Instance.new("Trail")
- trail.FaceCamera = true
- trail.LightEmission = 1
- trail.Color = CSEQ(RGB(255, 125, 255), RGB(125,255,255))
- trail.Transparency = SEQ({NKEY(0,0), NKEY(0.8,0), NKEY(1,1)})
- trail.Lifetime = 1
- trail.Parent = th
- att = Instance.new("Attachment", th)
- att.Position = Vector3.new(0,th.Size.Y/2,0)
- att2 = Instance.new("Attachment", th)
- att2.Position = Vector3.new(0,-th.Size.Y/2,0)
- trail.Attachment0 = att
- trail.Attachment1 = att2
- end}, PhoenixsFirstOmen = {Color = Color3.new(0,0,0), segdetail = {Clone = {CloneCol = {Color3.new(1,0.5,0), Color3.new(1, 0.9, 0)}, CloneMat = "ForceField"}}, lastpfunc = function(th)
- local CF = CFrame.new
- local ANG = CFrame.Angles
- local RAN = math.random
- local C3 = Color3.new
- local RGB = Color3.fromRGB
- local VT = Vector3.new
- local UD = UDim2.new
- local SEQ = NumberSequence.new
- local CSEQ = ColorSequence.new
- local NKEY = NumberSequenceKeypoint.new
- local RANGE = NumberRange.new
- local pte = function(parent, lightemission, lightinfluence, color, transparency, drag, locked, accel, rate, lifetime, rotspeed, rotation, spread, speed, size, texture, z, direction, enabled)
- local pe = Instance.new("ParticleEmitter")
- pe.LightEmission = lightemission
- pe.LightInfluence = lightinfluence
- pe.Color = color
- pe.Size = size
- pe.Transparency = transparency
- pe.ZOffset = z
- pe.EmissionDirection = direction
- pe.Rate = rate
- pe.LockedToPart = locked
- pe.Acceleration = accel or Vector3.new(0,0,0)
- pe.Lifetime = lifetime
- pe.RotSpeed = rotspeed
- pe.Rotation = rotation
- pe.SpreadAngle = spread
- pe.Speed = speed
- pe.Texture = texture
- pe.Enabled = enabled
- pe.Drag = drag
- pe.Parent = parent
- return pe
- end
- --local pt = pte(th, 1, 0, CSEQ(RGB(255, 125, 255)), SEQ({NKEY(0,1),NKEY(0.2,0), NKEY(0.8,0), NKEY(1,1)}), 0, false, nil, 100, NumberRange.new(0.1,1), NumberRange.new(-180,180), NumberRange.new(-180,180), Vector2.new(0), NumberRange.new(1,2), SEQ({NKEY(0,0),NKEY(1,1)}), "rbxassetid://2273224484", 3, "Top", true)
- local fi = Instance.new("Fire", th)
- fi.Color = Color3.new(1,0.5,0)
- fi.Size = 0.5
- fi.Heat = 0
- fi.SecondaryColor = Color3.new(0, 0, 0)
- local li = Instance.new("PointLight", th)
- li.Color = Color3.new(1, 0.5, 0)
- local trail = Instance.new("Trail")
- trail.FaceCamera = true
- trail.LightEmission = 1
- trail.Color = CSEQ(RGB(255, 125, 0), RGB(255, 230, 0))
- trail.Transparency = SEQ({NKEY(0,0), NKEY(0.8,0), NKEY(1,1)})
- trail.Lifetime = 1
- trail.Parent = th
- att = Instance.new("Attachment", th)
- att.Position = Vector3.new(0,th.Size.Y/2,0)
- att2 = Instance.new("Attachment", th)
- att2.Position = Vector3.new(0,-th.Size.Y/2,0)
- trail.Attachment0 = att
- trail.Attachment1 = att2
- end}}
- local tab = {}
- Instance.new("ForceField", ch).Visible = false
- mainp = Instance.new("FlagStand", ch)
- mainp.Material = "Glass"
- mainp.Size = Vector3.new(0.5,0.5,0.5)
- mainp.Anchored = false
- mainp.CanCollide = false
- mainp.Color = ch:WaitForChild("Body Colors").TorsoColor3
- table.insert(tab, mainp)
- pcall(function()
- mainp.Color = specs[owner.Name].Color
- end)
- w = Instance.new("Weld", mainp)
- if ch:FindFirstChild("Torso") then
- w.Part0 = ch.Torso
- w.Part1 = mainp
- w.C0 = CFrame.new(0,-0.7,0.5)
- elseif ch:FindFirstChild("LowerTorso") then
- w.Part0 = ch.LowerTorso
- w.Part1 = mainp
- w.C0 = CFrame.new(0,-0.25,0.5)
- else
- error("LowerTorso/Torso not found (Rig needs to be R15 or R6).")
- end
- local lastp = mainp
- for i = 1,25 do
- local p = Instance.new("FlagStand", ch)
- p.Material = "Glass"
- p.Size = Vector3.new(0.5-(i/50),0.5-(i/50),0.5-(i/50))
- p.Anchored = false
- p.CanCollide = false
- p.Color = lastp.Color
- table.insert(tab, p)
- local w = Instance.new("Weld", p)
- w.Part0 = lastp
- w.Part1 = p
- w.C0 = CFrame.new(0,0,((0.5-(i/50))/10*9)) * CFrame.Angles(-math.rad(0.2*i),0,0)
- local sine = 0
- spawn(function()
- while true do
- if p ~= nil then
- sine = sine + 1
- w.C0 = w.C0:Lerp(w.C0 * CFrame.Angles(0, math.rad(5)*math.cos(-sine/20), 0), 0.05)
- else
- return
- end
- swait()
- end
- end)
- lastp = p
- end
- pcall(function()
- for i,v in pairs(tab) do
- mat = specs[owner.Name].segdetail.Clone.CloneMat
- a = v:Clone()
- a:ClearAllChildren()
- a.Size = v.Size + Vector3.new(0.01,0.01,0.01)
- a.Material = mat
- a.Parent = v
- a.Color = specs[owner.Name].segdetail.Clone.CloneCol[1]
- wel = Instance.new("Weld", a)
- wel.Part0 = v
- wel.Part1 = a
- wel.C0 = CFrame.new(0,0,0)
- specs[owner.Name].segdetail.Clone.CloneCol[1] = specs[owner.Name].segdetail.Clone.CloneCol[1]:Lerp(specs[owner.Name].segdetail.Clone.CloneCol[2], 0.1)
- end
- end)
- pcall(function()
- specs[owner.Name].lastpfunc(lastp)
- end)
- end
- tail()
- owner.CharacterAdded:Connect(function()
- ch = owner.Character
- tail()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement