local plar = game.Players.LocalPlayer
local Mouse = plar:GetMouse()
local char = plar.Character
local charge = 0
function press(key)
if charge >= 2 then return
end
key = key:lower()
if key == "t" then
charge = charge + 1
local I = Instance.new("Part")
I.Material = "Ice"
I.BrickColor = BrickColor.new("Medium blue")
I.BottomSurface = "Smooth"
I.TopSurface = "Smooth"
I.Shape = "Cylinder"
I.Size = Vector3.new(25, 1, 2)
I.Transparency = .4
I.CFrame = char.Torso.CFrame * CFrame.new(0, 0, -10)
I.Parent = workspace
I.Touched:connect(function(char)
if char.Parent:FindFirstChild("Humanoid")~= nil then
char.Parent:FindFirstChild("Humanoid").Health = char.Parent:FindFirstChild("Humanoid").Health - 5
end
end)
local BV = Instance.new("BodyVelocity")
BV.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
BV.Velocity = char.Torso.CFrame.lookVector * 40
BV.Parent = I
for c = 1,90 do
I.CFrame = I.CFrame * CFrame.fromEulerAnglesXYZ(0, .3, 0)
wait(.03)
end
I:Remove()
charge = charge - 1
end
end
Mouse.KeyDown:connect(press)
help.

2 comments
Are you sure it isn't spawning in? When you're online press shift + f9 and you can see any error that pops up. It might just be the script trying to find the character and the character not being loaded yet.
Why are people still using KeyDown...