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

What do i put here?

Asked by 10 years ago

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

Log in to vote
0
Answered by 10 years ago

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

Ad

Answer this question