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

New error can you help me?(This time the error don't appear in output) and same game

This time the error don't appear in the output but this script is supposed to make the gamepass gui pop up and it don't

Script :

script.Parent.MouseButton1Click:Connect(function()
	local shop = script.Parent.Parent.Frame
	shop:TweenPosition(UDim2.new(0.242, 0,0.092, 0), "Out","Bounce",1,true)
end)

2 comments

0

is the "script.Parent" a button? (TextButton, ImageButton)

0

or maybe the position is incorrect

1 answer

I have 5 ways that this could be fixed

Number 1.

Make sure the script is on local, if it's a basic script then it will not work and not pop up on the screen.

Number 2.

Is the frame a actual frame or is it a Image, cause there may be some conflict between Tweening their positions, (* the system might not move images the same as frames.*)

Number 3.

It must be a ImageButton Or TextButton, many people can sometimes get confused between those and TextBox's (Cause TextButtons and TextBox's have the same icon)

Number 4.

Check if the position matches the X and Y match, sometimes it can not compute the whole position.

Number 5.

Try using a different Instance then TweenPosition, something possibly similar.

That's all I got lol.

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