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

Will someone actually ANSWER my question on tweenPositioning of a GUI? [closed]

Asked by
Prioxis 673 Moderation Voter
10 years ago

somebody please actually ANSWER my question i've asked about 8 questions now and haven't got ANYTHING back on them no feedback not a single little comment jesus is this too hard to ask??

whenever my menu frame tweens into the players view theres a button that will cause it to tween out of their view when clicked but when that is clicked nothing happens...

Here's the script that causes it to come into view

01local target = workspace.CamPart
02local angle = 0
03local camera = workspace.CurrentCamera
04local GUI = script.Parent.Parent
05local GUI2 = script.Parent.Parent.Parent.Menu
06 
07 
08script.Parent.MouseEnter:connect(function(Enter)
09    script.Parent.Size = UDim2.new(0, 215, 0, 55)
10    script.Parent.FontSize = "Size36"
11end)
12 
13script.Parent.MouseLeave:connect(function(Leave)
14    script.Parent.Size = UDim2.new(0, 200, 0, 50)
15    script.Parent.FontSize = "Size24"
View all 32 lines...

Here's script 2 that causes it to leave the view

01    local GUI = script.Parent.Parent
02    local GUI2 = script.Parent.Parent.Parent.Join
03 
04 
05script.Parent.MouseEnter:connect(function(Enter)
06    script.Parent.Size = UDim2.new(0, 215, 0, 55)
07    script.Parent.FontSize = "Size36"
08end)
09 
10script.Parent.MouseLeave:connect(function(Leave)
11    script.Parent.Size = UDim2.new(0, 200, 0, 50)
12    script.Parent.FontSize = "Size24"
13end)
14 
15 
View all 21 lines...
0
I don't understand why people disliked my post for my Brutal Honesty it seems this community spends more time answering non-constructive / request questions instead of just locking them and helping people with legitimate questions that need to be helped.. Prioxis 673 — 10y

Locked by TheeDeathCaster and Shawnyg

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

1 answer

Log in to vote
2
Answered by 10 years ago

You could also accept the fact that not everyone knows everything and rude people, like you, no one wants to help.

The problem is you put while wait() do and tweened the gui which will make it always that position. Try using this for the first script.

01local target = workspace.CamPart
02local angle = 0
03local camera = workspace.CurrentCamera
04local GUI = script.Parent.Parent
05local GUI2 = script.Parent.Parent.Parent.Menu
06 
07 
08script.Parent.MouseEnter:connect(function(Enter)
09    script.Parent.Size = UDim2.new(0, 215, 0, 55)
10    script.Parent.FontSize = "Size36"
11end)
12 
13script.Parent.MouseLeave:connect(function(Leave)
14    script.Parent.Size = UDim2.new(0, 200, 0, 50)
15    script.Parent.FontSize = "Size24"
View all 28 lines...
0
okay #1 I've put up many questions and days have gone by and nobody has answered my and its really annoying i'm the only person working on my games and this is my only way to get help is by this site but what kind of scriptinghelpers site would it be if people aren't getting the help needed so you need to stop since you don't know what you're talking about.. -_- Prioxis 673 — 10y
1
I haven't seen your posts. XtremeSpy 80 — 10y
0
Also even though you we're rude in the beginning thank you for answering my question with a working solution Prioxis 673 — 10y
0
No problem. Just a simple error. XtremeSpy 80 — 10y
Ad