Why is the "Parent" in the third block underlined red? (It isn't underlined in scriptinghelpers)
local Parent = script.Parent
Parent.MouseEnter:Connect(function(x, y)
Parent.Position = UDim2.new(0, 0, 0.5, 0)
wait()
Parent:TweenPosition(UDim2.new(0.05, 0, 0.5, 0))
Parent.WooshSound:Play()
Parent.MouseLeave:Connect(function(x, y)
Parent.Position = UDim2.new(0, 0, 0.5, 0)
wait()
Parent:TweenPosition(UDim2.new(0.5, 0, 0.5, 0))
Parent.WooshSound:Play()
end
Parent.MouseButton1Click:Connect(function()
Parent.Image = "rbxgameasset://Images/SoundIconClicked"
Parent.ClickSound:Play()
wait()
Parent.Image = "rbxgameasset://Images/SoundIcon"
end)

2 comments
umm lol it's on line 19 it must be end) to close line 3
Ok, thx!