Roblox-scripter

RPG – Rising of Difficulty Chart script – (Damage Multiplier)

Functions: Damage Multiplier

Script developer: grandpapapa
Installation guide:
Copy the script from the button below.
Run any Injector (We recommend KRNL Injector)
Install it, insert the script and click execute
Enjoy it)

Thank you for using our website
Your script:

				
					local settings = {repeatamount = 10, inclusions = {"DamageEvent"}} --Remote Name

local mt = getrawmetatable(game)
local old = mt.__namecall
setreadonly(mt, false)

local function isincluded(uh)
  for i,o in next, settings.inclusions do
      if uh.Name == o then
          return true
      end
  end
  return false
end

mt.__namecall = function(uh, ...)
  local args = {...}
  local method = getnamecallmethod()
  if method == "FireServer" or method == "InvokeServer" and isincluded(uh) then
      for i = 1,settings.repeatamount do
          old(uh, ...)
      end
  end
  return old(uh, ...)
end

setreadonly(mt, true)