КАК СДЕЛАТЬ МАГАЗИН ОРУЖИЯ В РОБЛОКС СТУДИО??? PRIMES ОТВЕТИТ!
Описание
Скрипты из видео:
скрипт на кнопку открыть:
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
player.PlayerGui.ScreenGui.Frame.Visible = true
end)
Скрипт на кнопку закрыть:
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
player.PlayerGui.ScreenGui.Frame.Visible = false
end)
Скрипт на валюту leaderstats:
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local cash = Instance.new("NumberValue")
cash.Name = "Cash" -- То что Будет В leaderstats (Points,Money,Cash) и тд
cash.Value = 5000 -- Сколько Будет При Спавне Игрока
cash.Parent = leaderstats
end)
Скрипт на покупку предмета buytools:
он сюда не поместился загружу на гит хаб
https://github.com/Primes123/Primes123/commit/4d6a0bf71ae1ccd577614c5bd8d7dd53d7147345
Скрипт на кнопку покупки:
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.EventShop.Ak47Event:FireServer()
end)
Ссылка на мой с другом плейс:
https://www.roblox.com/games/10955551858/War-22#!/about
Ссылка на мой аккаунт в роблокс:
https://www.roblox.com/users/2881021323/profile
Ссылка на аккаунт друга в роблокс:
https://www.roblox.com/users/2624745076/profile
Ссылка на мой дискорд сервер:
https://discord.gg/nKQhKqG6T9
Рекомендуемые видео
















![[38-51] Ранкер живущий во второй раз](/images/video/c4/37/c43740e612254e5f8335ef48fc05ba83.jpg?width=640)