Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- local animation = Instance.new("Animation")
- animation.Parent = workspace
- animation.Name = "Right"
- animation.AnimationId = "rbxassetid://945586415"
- local animation2 = Instance.new("Animation")
- animation2.Parent = workspace
- animation2.Name = "Left"
- animation2.AnimationId = "rbxassetid://945590254"
- local KiBlastEventOn = game.ReplicatedStorage.Events.KiBlastEventOn
- local function KiBlastEvent(Player, mp)
- wait()
- local animTrack = Player.Character.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- local eee = script.Sound:Clone()
- eee.Parent = workspace
- eee:Play()
- local x = Instance.new("Part")
- x.BrickColor = BrickColor.new("Institutional white")
- x.Shape = "Ball"
- x.Material = "Neon"
- x.Size = Vector3.new(1.75,1.75,1.75)
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- x.CanCollide = false
- x.Transparency = 0
- x.Name = Player.Name
- local xx = Instance.new("Part")
- xx.BrickColor = BrickColor.new("Cyan")
- xx.Shape = "Ball"
- xx.Material = "Neon"
- xx.Size = Vector3.new(2,2,2)
- xx.TopSurface = "Smooth"
- xx.BottomSurface = "Smooth"
- xx.CanCollide = false
- xx.Transparency = .4
- xx.Name = Player.Name
- x.Touched:connect(function(hit)
- if hit.Parent.Name == Player.Name then
- print("")
- else if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-10
- end
- end
- end)
- x.CFrame = Player.Character:FindFirstChild("RightHand").CFrame*CFrame.new(0,0,0)
- xx.CFrame = Player.Character:FindFirstChild("RightHand").CFrame*CFrame.new(0,0,0)
- local pos1 = mp
- local direction1 = (pos1 - x.Position).unit
- Player.Character.UpperTorso.CFrame = CFrame.new(Player.Character.UpperTorso.Position,pos1)
- y = Instance.new("BodyVelocity")
- y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- y.Velocity = direction1 * 100
- x.Parent = game.Workspace
- xx.Parent = game.Workspace
- y.Parent = x
- local pos = mp
- local direction = (pos - xx.Position).unit
- yy = Instance.new("BodyVelocity")
- yy.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- yy.Velocity = direction * 100
- yy.Parent = xx
- wait()
- end
- KiBlastEventOn.OnServerEvent:Connect(KiBlastEvent)
- -- 1 --
- local KiBlastEventOn2 = game.ReplicatedStorage.Events.KiBlastEventOn2
- local function KiBlastEvent(Player, mp)
- wait()
- local animTrack = Player.Character.Humanoid:LoadAnimation(animation2)
- animTrack:Play()
- local eee = script.Sound:Clone()
- eee.Parent = workspace
- eee:Play()
- local x = Instance.new("Part")
- x.BrickColor = BrickColor.new("Institutional white")
- x.Shape = "Ball"
- x.Material = "Neon"
- x.Size = Vector3.new(1.75,1.75,1.75)
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- x.CanCollide = false
- x.Transparency = 0
- x.Name = Player.Name
- local xx = Instance.new("Part")
- xx.BrickColor = BrickColor.new("Cyan")
- xx.Shape = "Ball"
- xx.Material = "Neon"
- xx.Size = Vector3.new(2,2,2)
- xx.TopSurface = "Smooth"
- xx.BottomSurface = "Smooth"
- xx.CanCollide = false
- xx.Transparency = .4
- xx.Name = Player.Name
- x.Touched:connect(function(hit)
- if hit.Parent.Name == Player.Name then
- print("")
- else if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-10
- end
- end
- end)
- x.CFrame = Player.Character:FindFirstChild("LeftHand").CFrame*CFrame.new(0,0,0)
- xx.CFrame = Player.Character:FindFirstChild("LeftHand").CFrame*CFrame.new(0,0,0)
- local pos1 = mp
- local direction1 = (pos1 - x.Position).unit
- Player.Character.UpperTorso.CFrame = CFrame.new(Player.Character.UpperTorso.Position,pos1)
- y = Instance.new("BodyVelocity")
- y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- y.Velocity = direction1 * 100
- x.Parent = game.Workspace
- xx.Parent = game.Workspace
- y.Parent = x
- local pos = mp
- local direction = (pos - xx.Position).unit
- yy = Instance.new("BodyVelocity")
- yy.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- yy.Velocity = direction * 100
- yy.Parent = xx
- wait()
- end
- KiBlastEventOn2.OnServerEvent:Connect(KiBlastEvent)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement