So everything is working flawlessly except it is not changing the text after the wait unless the wait = wait(1) nothing more which i'm finding odd
local newpart = Instance.new("Part",game.ServerStorage)
local newgui = Instance.new("ScreenGui",game.ServerStorage)
--Main
newpartclone = newpart:Clone()
newpartclone.Parent = game.Workspace
newpart.Anchored = true
newpart.Position = Vector3.new(5,5,5)
newguiclone = newgui:Clone()
newguiclone.Parent = game.StarterGui
newguiclone.Name = "GUI"
Instance.new("TextLabel",game.StarterGui.GUI) -- adding textlabel
local GUI_TextLabel = game.StarterGui.GUI.TextLabel
local GUI = game.StarterGui.GUI
GUI.Enabled = true
GUI_TextLabel.Size = UDim2.new(0, 200, 0, 50)
GUI_TextLabel.Text = "PART HAS BEEN INSERTED"
wait(2)
GUI_TextLabel.Text = "EVERYTHING IS GOOD"

1 comment
so i can keep everything how it is but in like line 27 address the player gui? and would i need to transfer this to a local script?