Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Torso = game.Players.Crystal5241.Character.UpperTorso
- function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
- A = Instance.new("Attachment", PARENT)
- A.Position = POSITION1
- A.Name = "A"
- B = Instance.new("Attachment", PARENT)
- B.Position = POSITION2
- B.Name = "B"
- tr1 = Instance.new("Trail", PARENT)
- tr1.Attachment0 = A
- tr1.Attachment1 = B
- tr1.Enabled = true
- tr1.Lifetime = LIFETIME
- tr1.TextureMode = "Static"
- tr1.LightInfluence = 0
- tr1.Color = COLOR
- tr1.Transparency = NumberSequence.new(0, 1)
- end
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld", a)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- return weld
- end
- locpart = Instance.new("Part",Torso)
- locpart.Size = Vector3.new(1.1,1.1,1.1)
- locpart.Transparency = 1
- locpart.CanCollide = false
- locweld = weldBetween(locpart,Torso)
- circlepart = Instance.new("Part",Torso)
- circlepart.Size = Vector3.new(1,1,1)
- circlepart.Transparency = 1
- circlepart.CanCollide = false
- circlepart.Anchored = false
- circlepart.Name = "c1"
- circlepartweld = weldBetween(circlepart,locpart)
- circlepart2 = Instance.new("Part",Torso)
- circlepart2.Size = Vector3.new(1,1,1)
- circlepart2.Transparency = 1
- circlepart2.CanCollide = false
- circlepart2.Anchored = false
- circlepart2.Name = "c2"
- circlepart2weld = weldBetween(circlepart2,locpart)
- circlepart3 = Instance.new("Part",Torso)
- circlepart3.Size = Vector3.new(1,1,1)
- circlepart3.Transparency = 1
- circlepart3.CanCollide = false
- circlepart3.Anchored = false
- circlepart3.Name = "c3"
- circlepart3weld = weldBetween(circlepart3,locpart)
- circlepart4 = Instance.new("Part",Torso)
- circlepart4.Size = Vector3.new(1,1,1)
- circlepart4.Transparency = 1
- circlepart4.CanCollide = false
- circlepart4.Anchored = false
- circlepart4.Name = "c4"
- circlepart4weld = weldBetween(circlepart4,locpart)
- A = Instance.new("Attachment", circlepart3)
- A.Position = Vector3.new(0,.05,0)
- A.Name = "A"
- B = Instance.new("Attachment", circlepart3)
- B.Position = Vector3.new(0,-.05,0)
- B.Name = "B"
- trail = Instance.new("Trail", circlepart3)
- trail.Attachment0 = A
- trail.Attachment1 = B
- trail.Enabled = true
- trail.LightEmission = 1
- trail.Lifetime = 2.5
- trail.TextureMode = "Static"
- trail.LightInfluence = 0
- trail.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
- trail.Transparency = NumberSequence.new(0, 1)
- A2 = Instance.new("Attachment", circlepart4)
- A2.Position = Vector3.new(0,.05,0)
- A.Name = "A"
- B2 = Instance.new("Attachment", circlepart4)
- B2.Position = Vector3.new(0,-.05,0)
- B.Name = "B"
- trail2 = Instance.new("Trail", circlepart4)
- trail2.Attachment0 = A2
- trail2.Attachment1 = B2
- trail2.Enabled = true
- trail2.LightEmission = 1
- trail2.Lifetime = 2.5
- trail2.TextureMode = "Static"
- trail2.LightInfluence = 0
- trail2.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
- trail2.Transparency = NumberSequence.new(0, 1)
- A = Instance.new("Attachment", circlepart)
- A.Position = Vector3.new(0,.05,0)
- A.Name = "A"
- B = Instance.new("Attachment", circlepart)
- B.Position = Vector3.new(0,-.05,0)
- B.Name = "B"
- trail3 = Instance.new("Trail", circlepart)
- trail3.Attachment0 = A
- trail3.Attachment1 = B
- trail3.Enabled = true
- trail3.LightEmission = 1
- trail3.Lifetime = 1
- trail3.TextureMode = "Static"
- trail3.LightInfluence = 0
- trail3.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
- trail3.Transparency = NumberSequence.new(0, 1)
- A2 = Instance.new("Attachment", circlepart2)
- A2.Position = Vector3.new(0,.05,0)
- A.Name = "A"
- B2 = Instance.new("Attachment", circlepart2)
- B2.Position = Vector3.new(0,-.05,0)
- B.Name = "B"
- trail4 = Instance.new("Trail", circlepart2)
- trail4.Attachment0 = A2
- trail4.Attachment1 = B2
- trail4.Enabled = true
- trail4.Lifetime = 1
- trail4.LightEmission = 1
- trail4.TextureMode = "Static"
- trail4.LightInfluence = 0
- trail4.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
- trail4.Transparency = NumberSequence.new(0, 1)
- x = 0
- g = 0
- range = 2.5
- range2 = 5
- coroutine.wrap(function()
- while true do
- x = x + 2
- g = g + 1
- wait()
- circlepartweld.C0 = CFrame.new(-3,range,0) * CFrame.Angles(math.rad(x),math.rad(0),math.rad(0))
- circlepart2weld.C0 = CFrame.new(-3,-range,0) * CFrame.Angles(math.rad(x),math.rad(0),math.rad(0))
- circlepart3weld.C0 = CFrame.new(-3,-range,0) * CFrame.Angles(math.rad( g),math.rad(0),math.rad(0))
- circlepart4weld.C0 = CFrame.new(-3,range,0) * CFrame.Angles(math.rad(g),math.rad(0),math.rad(0))
- end
- end)()
- wind = Instance.new("Part", Torso)
- wind.BrickColor = BrickColor.new("Cyan")
- wind.Size = Vector3.new(10,5,10)
- wind.CanCollide = false
- wind.Anchored = true
- wind.Name = "wind"
- wind.Transparency = 0
- wind.Material = "Neon"
- windmesh = Instance.new("SpecialMesh", wind)
- windmesh.Scale = Vector3.new(.5,.8,.5)
- windmesh.MeshId = "rbxassetid://168892432"
- n = 0
- coroutine.wrap(function()
- while true do
- wait()
- n = n + 3
- wind.CFrame = Root.CFrame * CFrame.new(0,-1,-1.5) * CFrame.Angles(math.rad(0),math.rad(n),0)
- if hum.Health < .1 then
- deadsound = Instance.new("Sound", Torso)
- deadsound.Volume = 6
- deadsound.SoundId = "rbxassetid://1411352723"
- deadsound:Play()
- immortality()
- end
- end
- end)()
Add Comment
Please, Sign In to add comment