Player = game.Players.LocalPlayer
Disabled = false Enabled = false function onKeyDown(key) key = key:lower()
if key == "q" and Enabled == false then Enabled = true local x = Instance.new("Part") x.CanCollide = false x.Transparency = 0.4
local y = Instance.new("FileMesh") y.MeshId = "http://www.roblox.com/asset/?id=13425802" y.TextureId = "http://www.roblox.com/asset/?id=62630305" y.Scale = Vector3.new(5,5,5) x.Name = "Yoru" x.Touched:connect(function(dmg) if dmg.Parent:FindFirstChild("Humanoid") ~= nil and dmg.Parent.ClassName ~= ("Hat") and dmg.Parent.Name ~= Player.Name then dmg.Parent:FindFirstChild("Humanoid").Health = dmg.Parent:FindFirstChild("Humanoid").Health -14 end end)
local p = Instance.new("BodyVelocity") p.maxForce = Vector3.new(math.huge, math.huge, math.huge) p.velocity = Player.Character.Torso.CFrame.lookVector95 x.Parent = Player.Character y.Parent = x p.Parent = x x.CFrame = Player.Character.Torso.CFrameCFrame.new(0,0,-13) x.CFrame = Player.Character.Torso.CFrameCFrame.new(0,0,-13)CFrame.Angles(-140, -190, 0) wait(4) game.Debris:AddItem(x, 6) game.Debris:AddItem(y, 6) Enabled = false
end
end
Player:GetMouse().KeyDown:connect(onKeyDown)
You should be using a local script. If you were using a local script you could use "player = game.players.localplayer