debounce = false plr = nil attackdebounce = false…
- User
debounce = false plr = nil attackdebounce = false script.Parent.Activated:Connect(function() if debounce == false then if plr == nil then plr = game.Players:GetPlayerFromCharacter(script.Parent.Parent) end local anim = nil if script.Parent.Parent:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then anim = script.Parent.Parent:FindFirstChildOfClass("Humanoid").Animator:LoadAnimation(script.Parent.Handle.SlashR6) else anim = script.Parent.Parent:FindFirstChildOfClass("Humanoid").Animator:LoadAnimation(script.Parent.Handle.SlashR15) end script.Parent.Handle.Slash:Play() anim:Play() debounce = true script.Parent.Trail.Enabled = true task.wait(anim.Length) script.Parent.Trail.Enabled = false task.wait(0) debounce = false end end) script.Parent.Handle.Touched:Connect(function(h) if h.Parent then local hum = h.Parent:FindFirstChildOfClass("Humanoid") if hum and hum.Health > 0 then if attackdebounce == false and h.Parent:FindFirstChild("_enemytag") then if script.Parent.Trail.Enabled then script.Parent.Handle.Hit:Play() attackdebounce = true local damage = script.Parent.Damage.Value + (script.Parent.DamageModify.Value * (plr.LOVE.Value - 1)) local damageboost = math.floor(damage*script.Parent.DamageIncrease.Value) hum:TakeDamage(damage+damageboost) task.wait(0) attackdebounce = false end end end end
end) add this script a skill script that when hit it will dealing 0,005% of maxhealth ( with attack debounce time) and have 0,1% chance to deal 2% damage of maxhealth while dealing damage it exist for 10 sencond also it has a require to active , we can use the skill at the first hit but the next time we need to hit 20 times to active it again and the hit connect with a sound called hit inside the Handle of AttackTool
- Assistant
- User
add it will do 10 times damage in every sencond
- Assistant
- User
i mean the skill is dealing continuous 0,05% damage of maxhealth for 10 sencond every sencond hit 10 times
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.