Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- local play = game.Players.LocalPlayer
- local mou = play:GetMouse()
- local char = play.Character or play.CharacterAdded:wait()
- local hum = char:WaitForChild("Humanoid")
- local Tool = script.Parent
- local a = hum:LoadAnimation(Tool.Soul1)
- local a3 = hum:LoadAnimation(Tool.Idle)
- local i = 0
- local enabled = false
- local enabled2 = false
- ParticleLeft = game.Workspace.Soul.ParticleEmitter:Clone()
- ParticleRight = game.Workspace.Soul.ParticleEmitter:Clone()
- Tool.unequipped:connect(function(part)
- enabled = false
- enabled2 = false
- a3:Stop()
- a:Stop()
- ParticleLeft.Transparency = NumberSequence.new(1)
- ParticleRight.Transparency = NumberSequence.new(1)
- end)
- Tool.Equipped:connect(function(part)
- enabled = true
- enabled2 = true
- a3:Play()
- ParticleRight.Parent = char["Right Arm"]
- ParticleLeft.Parent = char["Left Arm"]
- ParticleLeft.Transparency = NumberSequence.new(0)
- ParticleRight.Transparency = NumberSequence.new(0)
- end)
- local LightAttack = Instance.new("Part")
- local connection
- connection = mou.Button1Up:connect(function()
- if enabled == false then return end
- enabled = true
- wait(.1)
- a:Stop()
- i = 0
- local LightAttack = Instance.new("Part")
- local Particle = game.Workspace.Soul.ParticleEmitter:Clone()
- Particle.Parent = LightAttack
- LightAttack.Name = "LightAttack"
- LightAttack.Shape = "Ball"
- LightAttack.Material = "Neon"
- LightAttack.BrickColor = BrickColor.new("Lily White")
- LightAttack.CanCollide = false
- LightAttack.Parent = char.Parent
- LightAttack.CFrame = char.Torso.CFrame*CFrame.new(0,0,-4.7)
- local BV = Instance.new("BodyVelocity")
- BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- BV.velocity = char.Torso.CFrame.lookVector*100
- BV.Parent = LightAttack
- local DMG = game.workspace.Script:clone()
- DMG.Parent = LightAttack
- wait(5)
- LightAttack:Destroy()
- end)
- mou.Button1Down:connect(function()
- if enabled == false then return end
- if enabled2 == false then return end
- enabled = false
- enabled2 = false
- char.Torso.Anchored = true
- a:Play()
- i = 0
- enabled = true
- enabled2 = true
- end)
- mou.Button1Up:connect(function()
- a:Stop()
- wait(1.5)
- char.Torso.Anchored = false
- end)
- local con
- mou.Button1Down:connect(function()
- if enabled == false then return end
- char.Torso.CFrame = CFrame.new(char.Torso.Position, mou.hit.p)
- con = mou.Move:connect(function()
- char.Torso.CFrame = CFrame.new(char.Torso.Position, mou.hit.p)
- end)
- end)
- mou.Button1Up:connect(function()
- if enabled == true then
- con:Disconnect()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement