Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- random = math.random(1,5)
- toolout = false
- local tweenService = game:GetService("TweenService")
- Tool = Instance.new("Tool")
- Part1 = Instance.new("Part")
- Part1.Name = "Handle"
- Part1.Parent = Tool
- Part2 = Instance.new("Part")
- Part2.Parent = Part1
- Part2.CanTouch = false
- Part2.CanCollide = false
- Part2.Massless = true
- Part1.Transparency = 1
- Part1.Size = Vector3.new(3.3 * 0.5, 7.7* 0.5 ,3.96 * 0.5)
- pcall(function()
- fridg = Instance.new("Sound",Part1)
- fridg.SoundId = "rbxassetid://5082737062"
- fridg.Volume = 2
- fridg.Looped = true
- fridg:Play()
- end)
- weld = Instance.new("Weld",Part1)
- weld.Part0 = Part2
- weld.Part1 = Part1
- weld.C0 = Part1.CFrame * CFrame.Angles(0,0,math.rad(-90)) * CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),0,0)
- Mesh2 = Instance.new("SpecialMesh")
- Mesh2.Parent = Part2
- Mesh2.MeshId = "http://www.roblox.com/asset/?id=473465434"
- Mesh2.TextureId = "http://www.roblox.com/asset/?id=473469432"
- Mesh2.Scale = Vector3.new(0.375 * 0.5,0.375 * 0.5,0.375 * 0.5)
- Part2.Size = Vector3.new(3.3 * 0.5, 3.96 * 0.5, 7.7* 0.5)
- Tool.Parent = owner.Character
- Tool.Equipped:Connect(function()
- toolout = true
- fridg:Resume()
- coroutine.wrap(function()
- while toolout do
- task.wait()
- Mesh2.Scale = Vector3.new(0.375 * 0.5,0.375 * 0.5+math.sin(tick()*5)/20,0.375 * 0.5+math.cos(tick()*2.5)/40)
- end
- end)()
- coroutine.wrap(function()
- while toolout do
- wait(random)
- local timeToFade3 = random
- local object3 = fridg
- local tweenInfo3 = TweenInfo.new(timeToFade3)
- local goal4 = {}
- goal4.PlaybackSpeed = math.random(0.5,2)
- local tween4 = tweenService:Create(object3, tweenInfo3, goal4)
- tween4:Play()
- random = math.random(1,5)
- end
- end)()
- end)
- Tool.Unequipped:Connect(function()
- toolout = false
- fridg:Pause()
- end)
- Tool.Activated:Connect(function()
- Part = Instance.new("Part",script)
- Part.Size = Vector3.new(3.3, 3.96, 7.7)
- Part.Velocity = Vector3.new(0,-math.huge * math.huge,0)
- Part.Anchored = true
- pcall(function()
- death = Instance.new("Sound",Part)
- death.SoundId = "rbxassetid://329564183"
- death.Volume = 6
- end)
- game:GetService("Debris"):AddItem(Part,15)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = Part
- Mesh.MeshId = "http://www.roblox.com/asset/?id=473465434"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=473469432"
- Mesh.Scale = Vector3.new(0.375,0.375,0.375)
- Part.CFrame = Part1.CFrame * CFrame.Angles(0,math.rad(90),0) * CFrame.new(3,1,-1.5) * CFrame.Angles(math.rad(-90),0,0)
- wait(0.5)
- local timeToFade = 1
- local object = Part
- local tweenInfo = TweenInfo.new(timeToFade)
- local goal = {}
- goal.CFrame = Part1.CFrame * CFrame.Angles(0,math.rad(90),0) * CFrame.new(100,1,-1.5) * CFrame.Angles(math.rad(-90),0,0)
- local tween = tweenService:Create(object, tweenInfo, goal)
- tween:Play()
- coroutine.wrap(function()
- while true do
- wait(Part.Velocity.Magnitude * -0.03125)
- local Flame2 = Instance.new("SpawnLocation", script)
- Flame2.CanTouch = false
- Flame2.Size = Vector3.new(1,1,1)
- Flame2.Neutral = false
- Flame2.Enabled = false
- Flame2.CFrame = Part.CFrame * CFrame.new(0,0,-3.85)
- Flame2.CanCollide = false
- Flame2.Color = Color3.fromRGB(255, 255, 255)
- Flame2.Material = "Neon"
- Flame2.Name = "Flameslol3"
- Flame2.Anchored = true
- game:GetService("Debris"):AddItem(Flame2,1)
- Flame5 = Flame2
- local timeToFade3 = 1
- local object3 = Flame2
- local tweenInfo3 = TweenInfo.new(timeToFade3)
- local goal4 = {}
- goal4.CFrame = Flame2.CFrame * CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- local tween4 = tweenService:Create(object3, tweenInfo3, goal4)
- tween4:Play()
- local timeToFade4 = 1
- local object4 = Flame2
- local tweenInfo4 = TweenInfo.new(timeToFade4)
- local goal5 = {}
- goal5.Color = Color3.fromRGB(150, 150, 150)
- local tween5 = tweenService:Create(object4, tweenInfo4, goal5)
- local goal6 = {}
- goal6.Transparency = 1
- local tween6 = tweenService:Create(object4, tweenInfo4, goal6)
- tween5:Play()
- tween6:Play()
- end
- end)()
- coroutine.wrap(function()
- Part.Touched:Connect(function(hit)
- if hit.Name ~= "Base" then
- if hit.Name ~= "Walls" then
- if hit ~= owner.Character then
- hit:Destroy()
- death:Play()
- end
- end
- end
- end)
- end)()
- end)
- coroutine.wrap(function()
- while true do
- wait(0.03125)
- if toolout then
- local Flame2 = Instance.new("SpawnLocation", script)
- Flame2.CanTouch = false
- Flame2.Size = Vector3.new(0.25,0.25,0.25)
- Flame2.Neutral = false
- Flame2.Enabled = false
- Flame2.CFrame = Part1.CFrame * CFrame.new(math.random(-0.5,0.5),math.random(-2,2),math.random(-0.5,0.5))
- Flame2.CanCollide = false
- Flame2.Color = Color3.fromRGB(255, 255, 255)
- Flame2.Material = "Neon"
- Flame2.Name = "Flameslol3"
- Flame2.Anchored = true
- game:GetService("Debris"):AddItem(Flame2,1)
- Flame5 = Flame2
- local timeToFade3 = 1
- local object3 = Flame2
- local tweenInfo3 = TweenInfo.new(timeToFade3)
- local goal4 = {}
- goal4.CFrame = Flame2.CFrame * CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- local tween4 = tweenService:Create(object3, tweenInfo3, goal4)
- tween4:Play()
- local timeToFade4 = 1
- local object4 = Flame2
- local tweenInfo4 = TweenInfo.new(timeToFade4)
- local goal5 = {}
- goal5.Color = Color3.fromRGB(150, 150, 150)
- local tween5 = tweenService:Create(object4, tweenInfo4, goal5)
- local goal6 = {}
- goal6.Transparency = 1
- local tween6 = tweenService:Create(object4, tweenInfo4, goal6)
- tween5:Play()
- tween6:Play()
- end
- end
- end)()
Add Comment
Please, Sign In to add comment