Город МОСКОВСКИЙ
00:03:43

How to make a click counter | Roblox studio

Аватар
Игровой Отдых
Просмотры:
30
Дата загрузки:
30.10.2023 11:17
Длительность:
00:03:43
Категория:
Видеоигры

Описание

In this video I show everyone how to make a click counter.

** If its not working you may have to rename your sign to THESIGN **

Here is a model if it dosen't work for you :D : https://www.roblox.com/library/5899765982/Click-counter

Script 1:
script.Parent.ClickDetector.MouseClick:Connect(function()
if script.Parent.ClickDetector.MouseClick then
game.Workspace.THESIGN.SurfaceGui.Frame.TextLabel.Value.Value = game.Workspace.THESIGN.SurfaceGui.Frame.TextLabel.Value.Value +1
end
end)

Script 2:
function updatevalue()
script.Parent.Text = script.Parent.Value.Value
end

script.Parent.Value.Changed:Connect(updatevalue)

Рекомендуемые видео