How To Make A Weight! How To Make A Simulator On Roblox

Опубликовано: 11 Апрель 2026
на канале: DevSimonn
173
5

In Video I Will Be Showing You How To Make A Weight For A Simulator. I Will Start A Series Where I Will Show You How To Make A Simulator!

Script for ServerScriptService: local DS = game:GetService("DataStoreService"):GetDataStore("Data")

game.Players.PlayerAdded:Connect(function(player)
local leader = Instance.new("Folder",player)
leader.Name = "leaderstats"

local weight = Instance.new("IntValue",leader)
weight.Name = "Weight" --The Name Of The Points

local file = DS:GetAsync(player.UserId)

if file then
weight.Value = file[1]
end
end)

game.Players.PlayerRemoving:Connect(function(plr)
DS:SetAsync(plr.UserId,{plr.leaderstats.Weight.Value})
end)

If You Enjoyed Please Leave A Like And Subscribe!

Roblox Account: https://www.roblox.com/users/10510075...


Have A Great Day!