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

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

Asked by 9 years ago

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

Log in to vote
-2
Answered by 9 years ago

Never Mind I Fixed it!

Ad

Answer this question