This is suppose to be my "Death Finger" Tool, but seems to not work :(
Here is the script:
function onButton1Down(mouse)
if mouse.Target ~= nil then
local hit = mouse.Target
local humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid then
humanoid.Health = 0
game.Workspace.Evil.Pitch = math.random(0.7,1.3)
game.Workspace.Evil:play()
mouse.Icon = "rbxasset://textures\\GunCursor.png"
wait(0.1)
mouse.Icon = "rbxasset://textures\\GunCursor.png"
end
end
end
function onSelected(mouse)
mouse.Icon = "rbxasset://textures\\GunCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end |