local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "q" then
local po = game.Players.LocalPlayer
local Discharge = Instance.new("Animation")
Discharge.AnimationId = "http://www.roblox.com/Asset?ID=218063418"
local animTrack = po.Character.Humanoid:LoadAnimation(Discharge)
animTrack:Play()
wait(1)
Player = script.Parent.Parent
game:GetService("Chat"):Chat(Player.Character.Head, "Discharge!")-- Change this if you want to say something else
x = Instance.new("Part")
x.Reflectance = 0.5
x.Size = Vector3.new(20, 20, 20)
x.BrickColor = BrickColor.new("Bright yellow")
x.TopSurface = "Smooth"
x.BottomSurface = "Smooth"
x.Shape = "Ball"
x.Name = Player.Name
x.Anchored = true
x.CanCollide = false
x.Transparency = 0.6
y = Instance.new("BodyVelocity")
y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
y.velocity = Player.Character.Torso.CFrame.lookVector*80
x.Parent = Workspace
y.Parent = x
x.CFrame = Player.Character.Torso.CFrame*CFrame.new(0, 0, 0)
w = Instance.new('Weld')
w.Part0 = x
w.Part1 = Player.Character.Torso
w.Parent = x
game.Debris:AddItem(x, 4)
end
end)
I edited the whole script.

3 comments
I wont be able to answer anything I missed out for a couple of hours sorry.
Is this the full script? Because it appears there is code missing.
No I can edit it to the full script but ot right now.