RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a sword hitbox expander for roblox ClassicSword"
-- server script local sword = game.Workspace:WaitForChild("ClassicSword") local hitbox = sword.Handle local function expandHitbox() hitbox.Size = Vector3.new(10, 10, 10) -- Change the size to the desired hitbox size hitbox.CanCollide = false hitbox.Transparency = 0.5 -- Change this to 1 if you don't want the hitbox to be visible end local function resetHitbox() hitbox.Size = Vector3.new(1, 1, 1) -- Reset the hitbox size to the original size hitbox.CanCollide = true hitbox.Transparency = 0 end sword.Activated:Connect(expandHitbox) sword.Deactivated:Connect(resetHitbox)