Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Making a table for auto matic giving money and KOs when poeple kill?

Asked by 8 years ago

I am flattered by that this is so hard! even with the wiki page up helping! Is it easier to do a gui or a table? of which if a table is easier then why is it difficult to do:

local People = game.Players.NumPlayers


wait (10)

Print(People "Are online") 

-- People check online WIP



function calculate(num)
    return (num+math.random(-9,9))*math.random(1,10)/math.random(1,10)
end


calculate(1)
print(calculate(20))
for i = 1, 10 do print(calculate(10)*calculate(10)) end 



function addSum(num, min)
    if num<=min then
        return num
    end
    return num+addSum(num-1, min)
end


{Money,Points} 

-- If anything wrong with my calculator, pls tell me.
-- If possible pls help here with a gui script to get items and other things. automatic money would help 2.

I find it difficult to read lua code cause im new to coding deep stuff. I know basic 1 line commands however. Please help.

0
You should learn Lua syntax before even looking at this script :/ TheDeadlyPanther 2460 — 8y

Answer this question