Run it
Copy the script and paste it into your executor.
local tool = script.Parent
local allowedPlayerName = "YOUR_USERNAME_HERE" -- change this to your Roblox username
local damage = 100 -- 100 will instantly kill most players
local debounce = false
tool.Activated:Connect(function()
if debounce then return end
debounce = true
local character = tool.Parent
local player = game.Players:GetPlayerFromCharacter(character)
-- Only allow you to use it
if not player or player.Name ~= allowedPlayerName then
debounce = false
return
end
local handle = tool:FindFirstChild("Handle")
if not handle then return end
-- Raycast shooting
local origin = handle.Position
direction = handle.CFrame.LookVector *
raycastParams = RaycastParams.()
raycastParams.FilterDescendantsInstances = {character}
raycastParams.FilterType = .RaycastFilterType.Blacklist
result = :(origin, direction, raycastParams)
result
hitPart = result.Instance
hitCharacter = hitPart:()
hitCharacter
humanoid = hitCharacter:://Xphxdhydxufuf

Universal