Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players:FindFirstChild('ClockworkHorror')
- local Char = Player.Character
- local Torso = Char:FindFirstChild('Torso')
- function trail(obj)
- local lastPos = obj.CFrame.p
- coroutine.wrap(function()
- while obj ~= nil do
- game:service'RunService'.Stepped:wait()
- local objC = obj:Clone()
- objC.Locked = true
- objC.FormFactor = 'Custom'
- objC.Parent = obj.Parent
- objC.Anchored = true
- local distance = (lastPos- obj.CFrame.p).magnitude
- objC.Size = Vector3.new(0.8,0.8,distance)
- objC.CFrame = CFrame.new(lastPos,obj.Position)*CFrame.new(0,0,-distance/2)
- coroutine.wrap(function()
- for i = 0,1,.1 do
- wait(.1)
- objC.Transparency = i
- end
- objC:Destroy()
- end)()
- lastPos = obj.CFrame.p
- end
- end)()
- end
- local part = Instance.new('Part', workspace)
- Instance.new('Fire', workspace.Part)
- Instance.new('PointLight', part)
- part.FormFactor = Enum.FormFactor.Custom
- part.Size = Vector3.new(2,2,2)
- part.Anchored = true
- part.Locked = true
- part.CanCollide = false
- part.BrickColor = BrickColor.new('1003') --Really black
- part.TopSurface,part.BottomSurface=0,0
- trail(part)
- local point
- local loop = coroutine.create(function()
- while true do
- for i=1,360,8 do -- i=1,360,8
- if Player.Character and not point then
- point = Player.Character:FindFirstChild("Torso")
- end
- if point.Parent.Name == Player.Character.Name then
- point = Player.Character:FindFirstChild("Torso")
- end
- if part then
- --Full_Loop = math.rad(i)
- part.CFrame = CFrame.new(point.CFrame.p)*CFrame.fromEulerAnglesXYZ(0.3,math.rad(i),0.5) * CFrame.new(0,0,-4) --CFrame.new(0,0,-4.75)
- end
- wait()
- end
- end
- end)
- coroutine.resume(loop)
- local Player = game.Players:FindFirstChild('ClockworkHorror')
- local Char = Player.Character
- local Torso = Char:FindFirstChild('Torso')
- function trail(obj)
- local lastPos = obj.CFrame.p
- coroutine.wrap(function()
- while obj ~= nil do
- game:service'RunService'.Stepped:wait()
- local objC = obj:Clone()
- objC.Locked = true
- objC.FormFactor = 'Custom'
- objC.Parent = obj.Parent
- objC.Anchored = true
- local distance = (lastPos- obj.CFrame.p).magnitude
- objC.Size = Vector3.new(0.8,0.8,distance)
- objC.CFrame = CFrame.new(lastPos,obj.Position)*CFrame.new(0,0,-distance/2)
- coroutine.wrap(function()
- for i = 0,1,.1 do
- wait(.1)
- objC.Transparency = i
- end
- objC:Destroy()
- end)()
- lastPos = obj.CFrame.p
- end
- end)()
- end
- local part = Instance.new('Part', workspace)
- Instance.new('PointLight', part)
- part.FormFactor = Enum.FormFactor.Custom
- part.Size = Vector3.new(2,2,2)
- part.Anchored = true
- part.Locked = true
- part.CanCollide = false
- trail(part)
- part.BrickColor = BrickColor.new('1003') --Really black
- part.TopSurface,part.BottomSurface=0,0
- local point
- local loop = coroutine.create(function()
- while true do
- for i=1,360,8 do -- i=1,360,0
- if Player.Character and not point then
- point = Player.Character:FindFirstChild("Torso")
- end
- if point.Parent.Name == Player.Character.Name then
- point = Player.Character:FindFirstChild("Torso")
- end
- if part then
- --Full_Loop = math.rad(i)
- part.CFrame = CFrame.new(point.CFrame.p)*CFrame.fromEulerAnglesXYZ(0.3,math.rad(i),0.5) * CFrame.new(2,0,-8) --CFrame.new(0,0,-4.75)
- end
- wait()
- end
- end
- end)
- coroutine.resume(loop)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement