我正在尝试创建一个每5秒改变一次的TextLabel。我有这段代码,但不起作用。
local player = game.Players:GetPlayerFromCharacter(part.Parent) —this is our gateway to getting the PlayerGui object.
local PlayerUI = player:WaitForChild(“PlayerGui”)
local txtLabel = PlayerUI[“Welcome_Text”].TextLabel
while x < 1 do
wait(5)
txtLa
因此,我一直在使用roblox,这是lua的自定义版本,它有一个wait()函数,但是lua没有。我的问题是,我应该如何在循环中创建等待?我在roblox工作室离线时使用lua,并使用它来规划我的代码。有人知道如何在lua中使用wait()语句吗?
到目前为止,我尝试过的代码是这样的,它不起作用,这是roblox所使用的,所以我不知道如何在常规lua中使用wait语句。
while true do
wait()
-- code here
是关于Lua/Roblox的。(免责声明:必须与roblox兼容。)我有一个名为"array1“的数组,数值"num”为0。
local array1 = {"1","2","3","etc."}
local num = 0
我知道:
while 1 do
wait(1) -- just a little delay between loops
num = num + 1 -- every loop I'm increasing that "num" value with 1.
我是roblox的新开发人员,我认为这将是一个开始学习制作游戏的好地方。我今天在做我的游戏,我遇到了一个问题。我想在NPC旁边按下“E”,然后我就开始工作了。唯一的问题是,当我按下E键时,我不知道如何让GUI出现和消失。这是我写的,
local HumanoidRootPart = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
local UIS = game:GetService("UserInputService")
local Npc = game.Workspace
我想在cmd中卸载Rollox,代码:
@echo off
wmic product where "description='???' " uninstall
del /f %LocalAppdata%\Roblox
del /f %Temp%\Roblox
我是用"Roblox“还是"Roblox for XXX”来描述?
我已经用ROBLOX做了一个迷你游戏有一段时间了,我的游戏中有一个滚动效果,当它选择一个游戏时。你可以看到我在说什么,。同样在这个gif中,你可以看到我的问题。效果从下到上滚动。它应该从上到下。
我真的不明白它为什么这样做,所以我不确定该怎么做。
下面是产生这种效果的代码:
for i, v in pairs(P:GetChildren()) do
local ll
local lastpicked
local t = P:GetChildren()
local menuItems = #t -- number of menu items
代码本应替换图像链接的字母,但有时它会替换,例如: heyho to heoo,这就是问题所在。请帮我解决这个问题!
Imports System.Text.RegularExpressions
Public Class Form1
Dim DefURL = "http://www.roblox.com/-------------------------------" & _
"-----------------------------------------------------&
我试图从c#推出roblox,但似乎找不到roblox协议。
我尝试了我在windows运行中使用的代码,它确实找到了,但是一旦我用Process.Start来尝试它,它就说找不到这个文件。
public static string LaunchRoblox(string authTicket)
{
Random rnd = new Random();
long browserTrackerId = 55393295400 + rnd.Next(1, 100);
TimeSpan t = (DateTim
{"Keyword":"roblox","StartIndex":0,"MaxRows":12,"TotalResults":10000,"UserSearchResults":[{"UserId":1,"Name":"ROBLOX","DisplayName":"ROBLOX","Blurb":"Welcome to the Roblox profile! This is where you
我试图用chrome发送一个httpget请求,但是我得到了这个错误,参考资料必须列在web_accessible_resources清单键中
这是我的按钮代码
contentInput.onclick = function(){
var assetid = $('.thumbnail-span').attr("data-3d-url")
var baseurl = 'http://www.roblox.com'
var xhr = new XMLHttpRequest();
xhr.open("GET
function Autobuy(id, price){
$.ajax({
type: "GET",
url: "http://m.roblox.com/Catalog/VerifyPurchase?assetid=" + id + "&type=robux&expectedPrice=" + price,
success: function(Data){
var link = "http://m.roblox.com/Catalog/Veri
我有一个命令,可以检查人们是否存在,然后检查他们是否在组中,然后提升他们。这个命令起作用了,它正在提升他们,但当我输入promote某人时,它会回复这条消息: ? 它也无法找到排名的名称并将其替换为undefined。 这是我的代码: import * as Discord from "discord.js";
import { IBotCommand } from "../api";
import * as ConfigFile from "../config";
let express = require("express
我试图为我的应用程序创建一个启动游戏的协议,但我似乎很难从URI启动它。我尝试使用的协议是roblox://,但是如果我输入它,它似乎没有启动应用程序,Windows告诉我它找不到一个应用程序来启动这个URL。
我使用的代码是:
If (My.User.IsInRole(ApplicationServices.BuiltInRole.Administrator)) Then
Dim newRegKey As RegistryKey
newRegKey = Registry.ClassesRoot.CreateSubKey("RobloxProtocol", Re
我正在尝试发布一个API。
这是我的代码:
function update(object){
var data = '<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd"
version=
代码:
from sys import exit
didlogcorrect = 1
Minecraft = 'Minecraft'
Roblox = 'Roblox'
Exit = 'Exit'
chrome = 'chrome'
print('Welcome To PotatOS')
user_input = input("What would you like to do on PotatOS: ")
if user_input == Roblox:
print('U
我正在尝试从Roblox's API获取并解码JSON数据。如果我在我的搜索引擎中输入它生成的链接,它返回的JSON数据是: {
"id": 5214199,
"name": "Fruso",
"description": "\"Blended with Delight\"\n\nEstablished October 2019, Fruso's main objective is to bring something exclusive and breathtaking to Roblo
嗨,如何用python和selenium打开打开的roblox按钮。
代码:
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
import time
from csv import DictReader
from selenium.webdriver.chrome.options import Options
options = webdriver.ChromeOptions()
s