Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть How to make a fast and slow button in studio lite🚀

  • How to tutorials
  • 2025-11-07
  • 2
How to make a fast and slow button in studio lite🚀
  • ok logo

Скачать How to make a fast and slow button in studio lite🚀 бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно How to make a fast and slow button in studio lite🚀 или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку How to make a fast and slow button in studio lite🚀 бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео How to make a fast and slow button in studio lite🚀

This is how to make fast and slow button in studio lite!

Script put inside button if you want:

-------------------------------------------------------------------------------------
--GuiActivatedScript - This script runs when its parent Gui Button is activated. --
-- When the child GuiActivatedLocal detects a mouse click or tap, it fires a --
-- remote call to this script's OnServerEvent. If you want this script to make --
-- changes to a PlayerGui object, use the ClientAction event which is --
-- automatically provided by Studio Lite in the StarterPlayer.StarterCharacter --
-- folder as shown below. - By ScottSpiritWalker, 05/03/2023. --
-------------------------------------------------------------------------------------

local Debris = game:GetService("Debris") --Roblox utility to destroy unneeded objects.

local GuiActivated = script:FindFirstChild("GuiActivated")
if not GuiActivated then
GuiActivated = Instance.new("RemoteEvent") --This script will wait for its child localscript to detect a click/tap on this script's parent Gui.
GuiActivated.Name = "GuiActivated"
GuiActivated.Parent = script
end

local ClientAction = game.ReplicatedStorage:FindFirstChild("ClientAction")
if not ClientAction then
ClientAction = Instance.new("RemoteEvent") --Allows this server script to :FireAllClients or :FireClient to update the players' Gui objects or other client side changes.
ClientAction.Name = "ClientAction" --The ClientActionEventLocal script in StarterPlayer.StarterCharacterScripts does the work.
ClientAction.Parent = game.ReplicatedStorage
end
GuiActivated.OnServerEvent:Connect(function(player) --Triggered when a player clicks/taps the parent gui.
if player and player.Character then
local h = player.Character:FindFirstChild("Humanoid")
if h then
if h.WalkSpeed == 90 then --If fast, make it slow and change the Gui to say Faster.
h.WalkSpeed = 20
h.JumpHeight = 7.2
ClientAction:FireClient(player,{action="update", path="PlayerGui.ScreenGui.SpeedButton", Text = "Faster"})
else
h.WalkSpeed = 90
h.JumpHeight = 20
ClientAction:FireClient(player,{action="update", path="PlayerGui.ScreenGui.SpeedButton", Text = "Slower"})
end
end
end
end)

Tags:

#roblox #studiolite #fast #slow #mobile

Pls like and sub if this was helpful!

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]