Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tool = Instance.new("Tool",owner.Backpack)
- tool.Grip = CFrame.new(0,-0.35,0.5)
- part2 = Instance.new("SpawnLocation",tool)
- part2.Enabled = false
- part2.Name = "Handle"
- part2.Size = Vector3.new(0.58, 1.34, 2.48)
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.0625
- local object = tool
- local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Cubic)
- local goal = {}
- goal.Grip = CFrame.new(0,-0.75,0.75) * CFrame.Angles(math.rad(-55),0,0)
- local tween = tweenService:Create(object, tweenInfo, goal)
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.0825
- local object = tool
- local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Cubic)
- local goal2 = {}
- goal2.Grip = CFrame.new(0,-0.35,0.5) * CFrame.Angles(math.rad(0),0,0)
- local tween2 = tweenService:Create(object, tweenInfo, goal2)
- local light = Instance.new("PointLight",part2)
- light.Shadows = true
- light.Brightness = 1.5
- light.Color = Color3.fromRGB(222, 240, 250)
- light.Range = 0.1
- part = Instance.new("SpawnLocation",part2)
- part.Enabled = false
- part.Transparency = 1
- part.Size = Vector3.new(3,0.85,0.85)
- part.CanCollide = false
- part2.Reflectance = 0.15
- local weld = Instance.new("Weld",part2)
- weld.Part0 = part
- weld.Part1 = part2
- weld.C0 = CFrame.Angles(math.rad(90),0,math.rad(90))
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = part
- Mesh.MeshId = "http://www.roblox.com/asset/?id=6116133190"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=6116133252"
- Mesh.Scale = Vector3.new(0.05,0.05,0.05)
- Mesh2 = Instance.new("SpecialMesh")
- Mesh2.Parent = part2
- Mesh2.MeshId = "http://www.roblox.com/asset/?id=130099641"
- Mesh2.TextureId = "http://www.roblox.com/asset/?id=209727730"
- Mesh2.Scale = Vector3.new(0.65,0.65,0.65)
- AAAAAA = Instance.new("Sound")
- AAAAAA.SoundId = "rbxassetid://8272768532"
- AAAAAA.PlayOnRemove = true
- AAAAAA.Volume = 0.25
- active = false
- tool.Activated:Connect(function()
- active = true
- end)
- tool.Deactivated:Connect(function()
- active = false
- end)
- while task.wait() do
- if active then
- AAAAAA.Parent = part
- AAAAAA.SoundId = "rbxassetid://9061973224"
- AAAAAA.Volume = 1
- AAAAAA.TimePosition = 0.75
- AAAAAA.Parent = nil
- local shockwave = Instance.new("SpawnLocation",script)
- shockwave.Enabled = false
- shockwave.CanCollide = false
- shockwave.CanTouch = false
- shockwave.Anchored = true
- shockwave.Size = Vector3.new()
- shockwave.CFrame = part.CFrame * CFrame.new(0,1,0) * CFrame.Angles(0,math.rad(0),0)
- shockwave.Material = "ForceField"
- shockwave.Transparency = 0.125
- game:GetService("Debris"):AddItem(shockwave,5)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = shockwave
- Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- Mesh.Scale = Vector3.new(0,0,0)
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.235
- local object = Mesh
- local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Cubic)
- local goal3 = {}
- goal3.Scale = Vector3.new(6,0.75,6)
- local tween3 = tweenService:Create(object, tweenInfo, goal3)
- tween3:Play()
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.235
- local object = shockwave
- local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Cubic)
- local goal4 = {}
- goal4.Transparency = 1
- local tween4 = tweenService:Create(object, tweenInfo, goal4)
- tween4:Play()
- local shockwave2 = Instance.new("SpawnLocation",script)
- shockwave2.Enabled = false
- shockwave2.CanCollide = false
- shockwave2.CanTouch = false
- shockwave2.Anchored = true
- shockwave2.Size = Vector3.new()
- shockwave2.CFrame = part.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(0,math.rad(0),0)
- shockwave2.Material = "ForceField"
- shockwave2.Transparency = 0.125
- game:GetService("Debris"):AddItem(shockwave2,5)
- shockwave2.Color = Color3.new(0.75,0.75,0.75)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = shockwave2
- Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- Mesh.Scale = Vector3.new(0,0,0)
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.265
- local object = Mesh
- local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Cubic)
- local goal3 = {}
- goal3.Scale = Vector3.new(3,1.75,3)
- local tween3 = tweenService:Create(object, tweenInfo, goal3)
- tween3:Play()
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.265
- local object = shockwave2
- local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Cubic)
- local goal4 = {}
- goal4.Transparency = 1
- local tween4 = tweenService:Create(object, tweenInfo, goal4)
- tween4:Play()
- local shockwave3 = Instance.new("SpawnLocation",script)
- shockwave3.Enabled = false
- shockwave3.CanCollide = false
- shockwave3.CanTouch = false
- shockwave3.Anchored = true
- shockwave3.Size = Vector3.new()
- shockwave3.CFrame = part.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(0,math.rad(0),0)
- shockwave3.Material = "ForceField"
- shockwave3.Transparency = 0.125
- game:GetService("Debris"):AddItem(shockwave3,5)
- shockwave3.Color = Color3.new(1,1,1)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = shockwave3
- Mesh.MeshId = "http://www.roblox.com/asset/?id=5812640290"
- Mesh.Scale = Vector3.new(0,0,0)
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.365
- local object = Mesh
- local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Cubic)
- local goal3 = {}
- goal3.Scale = Vector3.new(1,4,1)
- local tween3 = tweenService:Create(object, tweenInfo, goal3)
- tween3:Play()
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.365
- local object = shockwave3
- local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Cubic)
- local goal4 = {}
- goal4.Transparency = 1
- local tween4 = tweenService:Create(object, tweenInfo, goal4)
- tween4:Play()
- local shockwave4 = Instance.new("SpawnLocation",script)
- shockwave4.Enabled = false
- shockwave4.CanCollide = false
- shockwave4.CanTouch = false
- shockwave4.Anchored = true
- shockwave4.CFrame = part.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(0,math.rad(0),0)
- shockwave4.Material = "ForceField"
- game:GetService("Debris"):AddItem(shockwave4,5)
- shockwave4.Transparency = 0.125
- shockwave4.Color = Color3.new(1,1,1)
- shockwave4.Size = Vector3.new()
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = shockwave4
- Mesh.MeshId = "http://www.roblox.com/asset/?id=2855431753"
- Mesh.Scale = Vector3.new(0,0,0)
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.565
- local object = Mesh
- local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Cubic)
- local goal3 = {}
- goal3.Scale = Vector3.new(1,1,1)
- local tween3 = tweenService:Create(object, tweenInfo, goal3)
- tween3:Play()
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.565
- local object = shockwave4
- local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Cubic)
- local goal4 = {}
- goal4.Transparency = 1
- goal4.CFrame = object.CFrame * CFrame.Angles(0,math.rad(180),0)
- local tween4 = tweenService:Create(object, tweenInfo, goal4)
- tween4:Play()
- local p = part:Clone()
- p.Parent = script
- p.Transparency = 0
- p.Touched:Connect(function(v)
- if v.Name ~= "Base" then
- v.Velocity = v.Velocity + p.Velocity
- AAAAAA.Parent = p
- AAAAAA.SoundId = "rbxassetid://8272768532"
- AAAAAA.Volume = 0.25
- AAAAAA.TimePosition = 0
- AAAAAA.Parent = nil
- end
- end)
- game:GetService("Debris"):AddItem(p,5)
- p.CFrame = part.CFrame * CFrame.new(0,10,0)
- p.CanCollide = true
- p:ApplyImpulse(part2.CFrame.lookVector * 1000)
- local tr = Instance.new("Trail",p)
- local attach1 = Instance.new("Attachment", p)
- local attach2 = Instance.new("Attachment", p)
- attach1.CFrame = CFrame.new(0.35,0,0)
- attach2.CFrame = CFrame.new(-0.35,0,0)
- tr.Attachment0 = attach1
- tr.Attachment1 = attach2
- tr.LightInfluence = 1
- tr.Transparency = NumberSequence.new(0.8125,1)
- tr.Lifetime = 0.185
- tr.WidthScale = NumberSequence.new{NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 0)}
- tr.FaceCamera = true
- tween:Play()
- light.Range = 7
- wait(0.125)
- tween2:Play()
- light.Range = 0.1
- wait(0.0925)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement