Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 10:15 PM |
basically trying to make intro gui when mouse scrolls over x button (called play in script) it play sound and when clicked make play another (s1 and s2) doesnt work for next button though
Player = game.Players.LocalPlayer S1 = script.Parent.Sound1 S2 = script.Parent.Sound2 Play = script.Parent.Frame.Play Box = script.Parent.Frame HasPressedPlay = false Next = script.Parent.Frame.Next HasPressedNext = false
function MouseEnterPlayButton() Play.FontSize = "Size48" S1:Play() end
function MouseLeftPlayButton() Play.FontSize = "Size24" S1:Play() end
function PlayGame() if HasPressedPlay == false then S2:Play() end Box:remove() end
function NextOne() if HasPressedNext == false then S2:Play() end
Next:remove()
end
Play.MouseEnter:connect(MouseEnterPlayButton) Play.MouseLeave:connect(MouseLeftPlayButton) Play.MouseButton1Down:connect(PlayGame) Play.MouseButton1Down:connect(NextOne)
Send trade on my hats |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2015 10:17 PM |
make the gui a model? qq
This is my siggy, get your own |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 10:17 PM |
need to be starter gui thank y ou though :D
Send trade on my hats |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
| |
|
|
| 17 Jan 2015 10:18 PM |
no make a model so I can take and fix dear god u don't understand
This is my siggy, get your own |
|
|
| Report Abuse |
|
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37141 |
|
|
| 17 Jan 2015 10:20 PM |
Instead of this
Play = script.Parent.Frame.Play
try using this
Frame = script.Parent.Frame
then do
Frame:Play()
brb sobbing R$64 |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 10:21 PM |
here go firesliding
http://www.roblox.com/welcomegui-item?id=205098110
and ok i try that salinas 1 second
Send trade on my hats |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 10:33 PM |
ok gonna redo script see if help
Send trade on my hats |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 10:38 PM |
aha found problem now just neeed fix to :D
Send trade on my hats |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 10:43 PM |
i gave up :(
Send trade on my hats |
|
|
| Report Abuse |
|
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37141 |
|
|
| 17 Jan 2015 10:45 PM |
Im trying to fix it but its done in a really inefficient way
tell me what you want it to do and I will do it
brb sobbing R$64 |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 10:46 PM |
its ok salinas even if got this work i would not be able script rest of game
Send trade on my hats |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 10:46 PM |
thx tho :D :D
Send trade on my hats |
|
|
| Report Abuse |
|
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37141 |
|
|
| 17 Jan 2015 10:47 PM |
Still gonna do it
lelele
brb sobbing R$64 |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 10:49 PM |
well what was trying to do was
play was an x in corner of gui that close gui and if mouse hover over play it plays sound 1 when stop hoving over plays sound 1 again (s1) if u click x it does box:remove() or gets rid of gui and plays sound 2 (s2)
then i tried to make a next button with set of instructions by it that does same thing as play except when click on next it just deletes x not whole gui and stopped working when i try to change script :(
good luck :D :D
Send trade on my hats |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 10:52 PM |
deletes next**
Send trade on my hats |
|
|
| Report Abuse |
|
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37141 |
|
|
| 17 Jan 2015 10:58 PM |
Here you go :D
http://www.roblox.com/For-parkways-item?id=205107646
brb sobbing R$64 |
|
|
| Report Abuse |
|
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37141 |
|
|
| 17 Jan 2015 11:00 PM |
Ughhhh
Just realised youre using TextBoxs instead of TextLabels
ughhhhhhhhhh I can fix it but would take me 10 minutes
brb sobbing R$64 |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 11:00 PM |
is bad?? D: textbox i mean
should use textlabels instead??
Send trade on my hats |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 11:01 PM |
even if dont get it to work thank you salinas so much :D are awesome!!!!
Send trade on my hats |
|
|
| Report Abuse |
|
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37141 |
|
|
| 17 Jan 2015 11:02 PM |
There are 3 different text guis:
TextLabels: Simplpe guis that show texts, nothing can be done to them TextBoxs: You can click on these and type down any text you want TextButtons: You click them, and stuff happens
brb sobbing R$64 |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 11:03 PM |
ohhhh thank you for explaining and sorry i mess up :(
Send trade on my hats |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 11:09 PM |
salinas seem like very good scripter can you tell me where i can learn lua i want to make really good game but dont knwo where to learn
Send trade on my hats |
|
|
| Report Abuse |
|
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37141 |
|
|
| 17 Jan 2015 11:12 PM |
Ive learned everything on the wiki :p
anyways I fixed the problem
take the model again
brb sobbing R$64 |
|
|
| Report Abuse |
|
|
Parkways
|
  |
| Joined: 02 Jan 2015 |
| Total Posts: 539 |
|
|
| 17 Jan 2015 11:14 PM |
works awesome thanks salinas! :D you are best
Send trade on my hats |
|
|
| Report Abuse |
|
|