Jak zrobić Menu w Roblox Studio - Tutorial
HTML-код
- Опубликовано: 27 янв 2025
- skrypt 1
local Gui = script.Parent.Parent
script.Parent.MouseButton1Click:Connect(function(clicked)
Gui:TweenPosition(UDim2.new(0,0,1,0), "InOut", "Sine",3.5)
for i = 1,25 do
wait (0.05)
game.Lighting.Blur.Size = game.Lighting.Blur.Size - 3
end
end)
----------------------
skrypt 2
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.CreditsFrame.Visible = not script.Parent.Parent.Parent.CreditsFrame.Visible
if script.Parent.Parent.Parent.CreditsFrame.Visible then
script.Parent.Parent.Visible = false
else script.Parent.Parent.Visible = true
end
end)
----------------------
skrypt 3
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Visible = false
if not script.Parent.Parent.Visible then
script.Parent.Parent.Parent.Menu.Visible = true
end
end)