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

It was working but i changed stuff and now its not please help?

Can Some One Please Help?

p = Instance.new("Part", game.Workspace)	
s = Instance.new("SurfaceGui", game.Workspace.Part)
t = Instance.new("TextButton",s)
hum = script.Parent.Parent.Parent.Parent.Character:FindFirstChild("Humanoid")


function onMouseButton1Click()
	p.Anchored = true
	p.Size = Vector3.new(5,5,5)
	t.Size = UDim2.new(1, 0, 1, 0)
	t.BackgroundColor3 = Color3.new("Bright red")
	t.Text = "Your Text"
	t.TextColor3 = Color3.new(25,25,25)
	t.FontSize = 'Size48' 
end
script.Parent.MouseButton1Click:connect(onMouseButton1Click)

1 answer

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