|
| 02 Aug 2016 09:27 PM |
So this script that changes text in a tips feature doesn't work? I'm using PlayerGui and everything, but nothing prints in studio and NOTHING works in game. Here's the script: P.S., there's an error in the Local Log saying
print 'it works here maybe' Hints = game.Players.LocalPlayer.PlayerGui.Hints.Tips
print 'so far it works' while true do print 'so far so good' wait(1) print 'it works here i hope' Hints.Text = "Clicking the GUIs too much at the same time will break them for a few seconds." wait(12) Hints.Text = "Take cover against enemy bullets with Land, Buildings, or even Furniture!" wait(40) Hints.Text = "Don't stay in a map if it's deserted or else you won't get any more kills." wait(40) Hints.Text = "It's a good idea to jump alot if people are shooting you so that you don't get killed easily." wait(40) end
It probably has a really easy solution. I'd be greatful if you could help
28,469 |
|
|
| Report Abuse |
|
|
| |
|
Laedere
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 23601 |
|
|
| 02 Aug 2016 09:29 PM |
| i'm not going to help you because you think print '' is acceptable |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2016 09:31 PM |
bump23421234242342342342342342342342432423423423432423423423423423xd
28,469 |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2016 09:31 PM |
mate its just printing something
#RAP |
|
|
| Report Abuse |
|
|
Laedere
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 23601 |
|
|
| 02 Aug 2016 09:33 PM |
| yes but you use a ' which denotes a character not a string |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2016 09:42 PM |
Kk, anything other than that? I fixed and it still wont work
28,469 |
|
|
| Report Abuse |
|
|
| |
|
Eslerp
|
  |
| Joined: 07 May 2016 |
| Total Posts: 205 |
|
|
| 02 Aug 2016 11:00 PM |
Look at this line:
Hints = game.Players.LocalPlayer.PlayerGui.Hints.Tips
Should hints = Tips? If it is, then I don't know. |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2016 11:19 PM |
Alright try this,
Local text = " your tip no. 1 here"
Hints = -- put address here
Hints.Text = " " .. text
|
|
|
| Report Abuse |
|
|