Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i,v in pairs(game.Player:GetChildren()) do
- if v.Name 'D_rawest15' then
- local part = Instance.new("Part")
- local weld = Instance.new("Weld")
- weld.Part0 = v.Character.HumanoidRootPart
- weld.Part1 = part
- part.Anchored = false
- part.Massless = true
- part.Size = Vector3.new(20,20,20)
- part.CFrame = v.Character.HumanoidRootPart.CFrame
- weld.Parent = game.Workspace
- part.Parent = v.Character
- part.Touched:Connect(function(hit)
- local hum = hit.Parent:FindFirstChild("Humanoid")
- if hum then
- local dmg = hum.MaxHealth
- hum:TakeDamage(dmg)
- end
- end)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement