#Im trying to make it so whatever i typed in the textbox it like directs in the explorer

1 messages · Page 1 of 1 (latest)

fallen aurora
#

My textbox wont really update and even tho the text is in the propertys in the game, it still doesnt wanna send and work with the other like scripts and like updatevily like update its text.

local Assignment = script.Parent.Parent.Parent.SBT.Text
script.Parent.MouseButton1Click:Connect(function()
game.Workspace["TrainSystem_RÖRINTE"]:WaitForChild(Assignment).kor.Value = false
game.Workspace["TrainSystem_RÖRINTE"]:WaitForChild(Assignment).stopp.Value = false
game.Workspace["TrainSystem_RÖRINTE"]:WaitForChild(Assignment).kor40.Value = false
game.Workspace["TrainSystem_RÖRINTE"]:WaitForChild(Assignment).Nstopp.Value = false
wait(0.6)
game.Workspace["TrainSystem_RÖRINTE"]:WaitForChild(Assignment).Nkor.Value = true
end)

#

Because i wanna do it so In game whatever i type ingame in the textbox it directs whenever i click the the UI button

hollow palm
fallen aurora
#

Like it prints nothing even tho i type

hollow palm
fallen aurora
torpid rootBOT
#

studio** You are now Level 5! **studio

hollow palm
#

You'd have to reference the SurfaceGui inside a local script.

#

Be sure to put your local script in one of these three

fallen aurora
#

Is there any way

hollow palm
#

Does this help @fallen aurora or where is the problem?

fallen aurora
# hollow palm Does this help <@1029458575166279711> or where is the problem?

this code is in a localscript in StarterGUI:

`local Assignment = game.Workspace["TrainSystem_RÖRINTE"].TVS.Screen.SurfaceGui.SBF.SBT
local Btn = game.Workspace["TrainSystem_RÖRINTE"].TVS.Screen.SurfaceGui.SBF.SBB

Btn.Nkor.MouseButton1Click:Connect(function()

game.ReplicatedStorage.DestroyModelEvent:FireServer(Assignment.Text)

end)`

For some reason after i typed Btn. it didnt prefer or give ideas of what i should put next. So it didnt prefer to do Nkor.MouseButton1Click

hollow palm
#

i could guess that "btn" means button. But what does sbf, sbb, nkor or sbt mean

#

The way you choose your names is totally okay if you work alone on this project or don't need anybody else to read this code.

torpid rootBOT
#

studio** You are now Level 22! **studio

hollow palm
#

But if you want help you might want to consider at least explaining what your abbreviations mean.