How To Make A Toolshop In Roblox Studio Lite (First Video!)

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • In This video I will Show You How To Make A Toolshop In Studio Lite
    Scripts:
    Open gui local script:
    local player = game.Players.LocalPlayer
    script.Parent.MouseButton1Click:Connect(function()
    player.PlayerGui.ToolShop.Frame.Visible = true
    end)
    Close gui local script:
    local player = game.Players.LocalPlayer
    script.Parent.MouseButton1Click:Connect(function()
    player.PlayerGui.ToolShop.Frame.Visible = false
    end)
    Sword button local script:
    script.Parent.MouseButton1Click:Connect(function()
    game.ReplicatedStorage.ToolEvents.SwordEvent:FireServer()
    end)
  • Ігри

КОМЕНТАРІ • 5

  • @adepressedperson5668
    @adepressedperson5668 15 днів тому +1

    nice I was really struggling on this step you deserve more views

  • @kyrarstudio
    @kyrarstudio  15 днів тому +2

    Server script service script
    game.ReplicatedStorage.ToolEvents.SwordEvent.OnServerEvent:Connect(function(player)
    if player.leaderstats.Coins.Value >=10 then ---- add >= 10
    player.leaderstats.Coins.Value = player.leaderstats.Coins.Value - 10 game.ServerStorage.Tools.sword:Clone().Parent = player.Backpack
    end
    end)

    • @Superastro-b3j
      @Superastro-b3j 7 днів тому

      Hello this is a really nice video and mines was like 2 months ago?

    • @kyrarstudio
      @kyrarstudio  6 днів тому

      ik I just started feel free to do ur choice

    • @EsmaelGomonsang
      @EsmaelGomonsang 2 дні тому

      Make it copy able pls