swipeEvent.OnServerEvent:Connect(function(plr,name)
if plr.ScytheDebounce.Value == false then
plr.ScytheDebounce.Value = true
local amount = sytheData[name]["Strength"].Value
local double = 1
if plr.Data.DoubleStrength.Value == true then
double = 2
end
plr.leaderstats.Strength.Value = plr.leaderstats.Strength.Value + (((amount + getMultiplier(plr,"Multiplier1"))*((plr.leaderstats.Rebirths.Value/10)))*double)
waitM.Wait(0.38)
plr.ScytheDebounce.Value = false
end
end)
This can’t be the solution, since the error says string and number, it is actually in order meaning the first variable is the string and the second one is the number.
Sorry I can’t be hired, but could you make sure you copy pasted the script that I sent? I did not change the line that’s causing the error, I changed another one
local function getMultiplier(Player, multiplierName)
local Multi = 0
for i,v in pairs(Player.Pets:GetChildren()) do
if v.Equipped.Value == true then
Multi = Multi + v[multiplierName].Value
end
end
return Multi
end