Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What do i put here?

What do i put here

part = script.Parent -- assuming this script is in part
LastTimesAmount = 1
Score = 0
part.Touched:connect(function(partThatTouched) -- note that the event gives me the part that touched it
    if partThatTouched.Parent:FindFirstChild("Humanoid") and LastTimesAmount > Score then
        Score = 3 
        -- leaderboard stuff here--what do i put here?
    end
end)

1 answer

Oh wow, I'm the guy who scripted this for you yesterday... In the answer I gave you I asked you to read over the basics of scripting, this isn't a request site and you are currently treating it as one. I would recommend starting here: http://wiki.roblox.com/index.php/Absolute_beginner's_guide_to_scripting and make your way through the chapters.

If you get stuck take a look at videos on youtube by user "PeasPod" or ask here on scriptinghelpers.org

Here is a link for leaderboards just for the sake of it: http://wiki.roblox.com/index.php?title=Leaderboards

This discussion is preserved as it was. New answers, comments, and votes are closed.