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

Whats wrong here? [closed]

Asked by 10 years ago
pl = game.Players.LocalPlayer
Menu = script.Parent
Play = Menu.Play
Team = Menu.Team

function MouseEnterPlayButton()
    Play.Fontsize = "Size48"
    Play.BackgroundColor3 = Color3.new(1, 1, 0)
    Play.Size = UDim2.new(.45, 0, .225, 0)
end

function MouseLeftPlayButton()
    --0, 0, 0
    Play.Fontsize = "Size36"
    Play.BackgroundColor3 = Color3.new(0, 0, 0)
    Play.Size = UDim2.new(.3, 0, .15, 0)
end

Play.MouseEnter:connect(MouseLeftPlayButton)
Play.MouseLeave:connect(MouseEnterPlayButton)

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?