Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

hello, this script wont let me change a gui text for some reason? norma script

script.Parent.Touched:Connect(function(hit)
	if hit and hit.Parent:FindFirstChild("Humanoid") then
		local hum = hit.Parent
		hum.HumanoidRootPart.Position = Vector3.new(130.6, -64.1, -77.7)
		game.StarterGui.LouStart.ChangeText.Visible = false
		game.StarterGui.LouStart.better.Text = "hmmm... everything seems normal"
		wait(5)
		game.StarterGui.LouStart.better.Text = "POV: Fortnite launcher opens"
		game.Workspace.bomba.Script.Enabled = true
	end
end)

1 answer

Hello, it's me from the future, it turns out you need to change the playergui, not the starter gui so u have to get the player from character and then do player.playergui so you can acces their gui, lua is amazing

1 comment

0

Good you figured it out!!

This discussion is preserved as it was. New answers, comments, and votes are closed.