RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a sword hitbox expander for roblox ClassicSword so the reach is bigger"
-- server script local sword = game.ServerStorage.ClassicSword local hitbox = Instance.new("Part") hitbox.Name = "Hitbox" hitbox.Size = Vector3.new(10, 10, 10) -- Change the size to adjust the reach hitbox.Transparency = 1 hitbox.CanCollide = false hitbox.Parent = sword.Handle local weld = Instance.new("WeldConstraint") weld.Parent = sword.Handle weld.Part0 = sword.Handle weld.Part1 = hitbox sword.Handle.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local humanoid = hit.Parent.Humanoid humanoid.Health = humanoid.Health - 10 -- Change the damage value here end end)