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

Where do I learn how to script?

I have literally no idea how to script. I'd appreciate it if someone lends me a hand, thanks!

1 comment

0

Ask all your questions here lol

3 answers

The best place to learn how to script is by reading the scripting book at http://wiki.roblox.com/index.php?title=Scripting_Book/Chapter_1#Chapter_1 and also to know if your script is working right you open the output by clicking view then output window and here is a script for you.It will make a leaderboard in your game.

function onPlayerEntered(newPlayer)

    local stats = Instance.new("IntValue")
    stats.Name = "leaderstats"

    local cash = Instance.new("IntValue")
    cash.Name = "Score"
    cash.Value = 0

    cash.Parent = stats
    stats.Parent = newPlayer
end

game.Players.ChildAdded:connect(onPlayerEntered)

Youtube is a great place to learn how to script. (Only recommended for starters)

Its how I first started scripting.

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