Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Written By LordDracius
- local remotes=game:GetService("ReplicatedStorage"):WaitForChild("Remotes")
- local physicsService = game:GetService("PhysicsService")
- remotes.FireBlast.OnServerInvoke = function(player)
- local character then
- local humanoid = character:FindFirstChild("Humanoid")
- local rightArm = character:FindFirstChild("Right Arm")
- local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
- if humanoid and humanoid:FindFirstChild("Animator") and rightArm and humanoidRootPart then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://904178122"
- animation = humanoid:LoadAnimation(animation)
- animation:Play()
- animation:KeyframeReached:Wait()
- local energyBall = Instance.new("Part")
- energyBall.Material = "Neon"
- energyBall.BrickColor = BrickColor.new("Cyan")
- energyBall.CanCollide = true
- energyBall.Shape = "Ball"
- energyBall.Size = Vector3.new(2.5, 2.5, 2.5)
- energyBall.CFrame = rightArm.CFrame * CFrame.new(0, -2.4, 0)
- local velocity = Instance.new("BodyVelocity")
- velocity.MaxForce = Vector3.new(marh.huge, math.huge, math.huge)
- velocity.Velocity = humanoidRootPart.CFrame.lookVector * 100
- velocity.Parent = energyBall
- energyBall.Parent = workspace
- game.Debris:AddItem(energyBall)
- energyBall:SetNetworkOwner(nil)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement