我試圖製作一個腳本,如果我在文本框中寫入名爲 的玩家在服務器中,他/她會死,但它給了我這個錯誤: attempt to index local 'textBox' (a nil value) 這裏是我的腳本: local screenGui = script.Parent
local textBox = screenGui:FindFirstChild("TextBox", true)
te
所以我想要一個圖形用戶界面,告訴你你有多少錢。 當前腳本: local playerEntry = {}
local player = playerEntry.Player
local leaderstats = player:FindFirstChild('leaderstats')
wait(.1)
script.Parent.Text = leaderstats
我已經做了數據
soo在桌面上做console.log工作,但是當我嘗試獲取單個值時,它返回undefined像這樣[undefined:「text」],第二個for循環變量總是5出於某種原因。我不知道如何重現這一點。 groupCache和shoutCache是空數組 //userid, groupCache, shoutCache defined above
function arraysEqual(
我在我的遊戲中製作了一個效果,它可以滾動選擇某個選項,然後在一個選項中減速停止。 有4個屏幕,我希望每個人都能同時播放效果,所有的guis同時出現,但效果永遠不會播放。我標誌着確實在下面的代碼塊中的作用的代碼部分: message.chooseduel = function(spins)
local lobby=workspace.Lobby
local screens=lob