How to make a leaderstat in Roblox Studio!
Channel:
Subscribers:
545
Published on ● Video Link: https://www.youtube.com/watch?v=UDwHHy_ySsM
In todays video, i show you how to make a leaderstat for your roblox game. enjoy! (:
script:
------------------------------------------------------------------
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local Coin = Instance.new("IntValue")
Coin.Name = "Cash" -- Change this to what you want the leaderstat name to be
Coin.Value = 0
Coin.Parent = leaderstats
end)
--------------------------------------------------------------------
Other Videos By ScriptMaster
Other Statistics
Roblox Statistics For ScriptMaster
There are 15,043 views in 46 videos for Roblox. Less than an hour worth of Roblox videos were uploaded to his channel, roughly 7.06% of the content that ScriptMaster has uploaded to YouTube.