How to make mobile buttons in Roblox Studio | Naito11 Dev HD

03.08.2020
How To Make A Loading Screen in Roblox Studio Discord Server: https://discord.gg/wskyRW ROBLOX Group: https://web.roblox.com/groups/6931823/Naito11-Fan-Club#!/about Script: Local contextActionService = game:GetService(“ContextActionService”) --Tell it what to do Function onButtonpress() game.Workspace.Baseplate:Destroy --To destroy baseplate (You can literally do anything else) End --To let the button activate Local mobilebutton = contextActionService:BindAction(“DeleteBaseplateButton”, onButtonPress, true, “d”) --You can change “DeleteBaseplateButton” to any name --The position of the button contextActionService:SetPosition(“DeleteBaseplateButton”, UDim2.new(0.72, -25, 0.2, -25)) --Change “DeleteBaseplateButton” to the name you gave the one before this --The Image of the button contextActionService:SetImage(“DeleteBaseplateButton”, “here”) --Go to https://www.roblox.com/develop/library?CatalogContext=2&Subcategory=8&SortAggregation=5&LegendExpanded=true&Category=8 Then find a picture you want to put it then replace “here” with the link of the picture for example https://www.roblox.com/library/6882267445/Hate-read-desc If You Enjoyed This Video, Remember To Leave A Like, Comment And Subscribe!

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

Показать еще