At Westonci.ca, we provide clear, reliable answers to all your questions. Join our vibrant community and get the solutions you need. Get quick and reliable solutions to your questions from a community of seasoned experts on our user-friendly platform. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.

local Damage = function(Part)
local A = Part
local B = Part.Position
local C = {
origin = Player.Character.Head.Position,
position = Part.Position,
velocity = Player.Character.Head.CFrame.lookVector * math.clamp(500, 100, 500),
acceleration = Vector3.new(0, -156.2, 0),
age = os.time(),
toolFrom = "Magnetite Crossbow",
object = game:GetService("ReplicatedStorage").Projectiles:findFirstChild("Bolt")
}
local D = (Player.Character.Head.Position - Part.Position).magnitude
game:GetService("ReplicatedStorage").Events.ProjectileImpact:FireServer(A, B, C, D)
end

Mouse.KeyUp:connect(function(key)
if key == "e" then
for i = 1, 20 do
if Mouse.Target and Mouse.Target.ClassName ~= "Terrain" then
Damage(Mouse.Target)
end
end
end
end)


Sagot :

We appreciate your visit. Hopefully, the answers you found were beneficial. Don't hesitate to come back for more information. Thank you for your visit. We're committed to providing you with the best information available. Return anytime for more. Westonci.ca is your go-to source for reliable answers. Return soon for more expert insights.