Туториал на х силу для лифтинг симулятора

Опубликовано: 15 Октябрь 2024
на канале: VKAKOMRUP
1,151
31

скрипт
function lift(p)
if deb == false then
local Stats = DataStore2("Stats",p):Get()
local tool = script.Parent.Name
local module = require(game.StarterGui:WaitForChild("ClientModule"))

local item = game.StarterGui.UI.Frames.ToolShop.ScrollingFrame.Frame[tool]

local get = (item:WaitForChild("Strength").Value*Stats.RankBoost)*player.WorldBoost.Value*10

local OwnedGamepasses = Instance.new("Folder")
for _,gamepass in pairs(Stats.Gamepasses) do
local OwnedGamepass = Instance.new("Folder")
OwnedGamepass.Name = gamepass
OwnedGamepass.Parent = OwnedGamepasses
end

if OwnedGamepasses:FindFirstChild(112175623) then
get = get*2
end

Stats.Strength = Stats.Strength + get
Stats.TotalStrength = Stats.TotalStrength +
get


script.Parent.Script.Lift:Play()

--DataStore2("Stats",p):Set(Stats)
Save_Data(p,Stats)
end
end
модель https://create.roblox.com/marketplace...