Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Gui Text Not Changing From My Value?

Asked by 5 years ago
local num = game.ServerStorage.Value
while true do
    wait(0.1)
    if num.Value == 1 then
        script.Parent.Text = "Grass God:"
    end
    if num.Value == 2 then
        script.Parent.Text = "Crimson Angel:"
    end
    end

1 answer

Log in to vote
0
Answered by 5 years ago

Here's what you did you wrong:

1) Local scripts can't access ServerStorage or ServerScriptService

Instead, you can put the value in Workspace or ReplicatedStorage

Ad

Answer this question