Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Qualquer problema me contacte no Discord mistr#2399.
- ----------------------------------------------------
- local event = game:GetService("ReplicatedStorage")
- event.OnServerEvent:connect(function(plr, mouse)
- local char = plr.Character
- local part = game:GetService("ServerStorage").powerPart:Clone()
- local hrp = char.HumanoidRootPart
- part.Position = hrp.Position
- part.Parent = workspace
- local vel = Instance.new("BodyVelocity", part)
- vel.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- vel.Velocity = CFrame.new(hrp.Position, mouse).LookVector * 100
- wait(.4)
- part.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid").Health -= 100
- end
- end)
- wait(2)
- part:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement