codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 14 Dec 2011 11:37 PM |
So what happens what you create a message script and place it in a brick it works and not touch it for a month. Then a month goes by you try it out again and it doesn't work. Tell me that. Anyway here's the script:
local enabled = true script.Parent.Touched:connect(function(hit) if enabled == false then return end enabled = false h = hit.Parent:FindFirstChild("Humanoid") local plyr = game.Players:GetPlayerFromCharacter(hit.Parent) if plyr and h then local g = Instance.new("ScreenGui",plyr.PlayerGui) g.Name = "MessageGui" local t = Instance.new("TextLabel",g) t.Name = "TEXT" t.BackgroundTransparency = 0.2 t.BorderSizePixel = 0 t.Size = UDim2.new(.25,0,.25,0) t.Position = UDim2.new(.1,0,.1,0) t.BackgroundColor3 = Color3.new("Really black") t.TextColor3 = Color3.new(51,0,0) t.FontSize = "Size12" t.Text = "Welcome to some dark cave wait(4) t.Text = "Your first task wait(4) t.Text = "try to find your way out of it" wait(4) t.Text = "Be sure to avoid the things that can kill you" wait(4) t.Text = "But be sure to collect the things that can help you" wait(4) t.Text = "This has been a warning" wait(4) enabled = true g:Remove() end end)
So you put it in a birck and it inserts a GUI in the corner of the screen. So tell me why in the world does it suddenly not work? Is there a script I can put in the game that will fix all my message scripts that don't work (yes all of them don't work) Does anyone know what's going on? |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2011 11:54 PM |
tl;dr
~What you think is wrong~ |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
| |
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
| |
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 16 Dec 2011 12:12 AM |
| come on someone just tell me |
|
|
| Report Abuse |
|
|
|
| 16 Dec 2011 04:26 AM |
| Probably an update to ROBLOX broke it. |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 16 Dec 2011 06:51 PM |
| what i'm asking is how do I fix it? |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 16 Dec 2011 11:05 PM |
| come on anyone. Please someone must know how to fix it |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 16 Dec 2011 11:07 PM |
tl;dr = too long; didn't read AKA i have the attention span of a 3 year old.
ROBLOX often breaks some scripts with updates. Try to redo it. |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 17 Dec 2011 12:21 AM |
| ok so how do I redo it? Just copy the things inside the script and then delete it then paste it back in? And do I have to do this everytime roblox updates or is there a script that can fix it everytime? |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2011 12:28 AM |
| try putting 'if enabled == false then' to 'if (enabled == false) then ' |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2011 12:29 AM |
| do not call a local on a instance create. |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 17 Dec 2011 12:32 AM |
| what does "do not call a local on a instance create" mean? |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 18 Dec 2011 01:19 AM |
| changing 'if enabled == false then' to 'if (enabled == false) then' doesn't work. any other suggestions |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 18 Dec 2011 07:22 PM |
| Like I said. This stupid roblox update broke the script so is there a way I can reset it so it can work again? |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
| |
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
| |
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 21 Dec 2011 02:31 AM |
| this is not working no matter what I do can someone please help me |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2011 02:49 AM |
t.Text = "Welcome to some dark cave wait(4) t.Text = "Your first task
**change too:**
t.Text = "Welcome to some dark cave" wait(4) t.Text = "Your first task" |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 21 Dec 2011 03:13 AM |
| that's not the problem it was just copied wrong |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 22 Dec 2011 05:00 PM |
| comeon I just want to know |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 22 Dec 2011 06:58 PM |
| please this is starting to annoy me and I just want it to be fixed |
|
|
| Report Abuse |
|
|
352ynnhoj
|
  |
| Joined: 21 Sep 2010 |
| Total Posts: 1054 |
|
|
| 22 Dec 2011 07:00 PM |
| Roblox removed a few scripting commands so it is broken |
|
|
| Report Abuse |
|
|
352ynnhoj
|
  |
| Joined: 21 Sep 2010 |
| Total Posts: 1054 |
|
|
| 22 Dec 2011 07:01 PM |
Try using a true function and connection function name()
script.Parent.Touched:Connect(name)
commands like above |
|
|
| Report Abuse |
|
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 24 Dec 2011 05:52 PM |
| I'm still trying to get it to work using those commands but it's still not working. Maybe I'm not using them right. Can someone put those in my script. |
|
|
| Report Abuse |
|
|