datdude3
|
  |
| Joined: 23 Apr 2010 |
| Total Posts: 577 |
|
|
| 05 Feb 2012 01:57 PM |
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if msg == "McDonalds" then game.Workspace.Part1.Transparency = 1 game.Workspace.Part1.Cancollide = false wait(8) game.Workspace.Part.Cancollide = true game.Workspace.Part1.Transparency = 0 end) end) end
It says that an unexpected symbol is near one of the )'s thX |
|
|
| Report Abuse |
|
|
magnalite
|
  |
| Joined: 18 Oct 2009 |
| Total Posts: 2467 |
|
|
| 05 Feb 2012 02:00 PM |
| You didn't put all your code onto one line did you? Spread it out properly so it is easier to read and indicate the problematic line, |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2012 02:00 PM |
Oh dear Lord, use the Enter button.
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if msg == "McDonalds" then game.Workspace.Part1.Transparency = 1 game.Workspace.Part1.Cancollide = false wait(8) game.Workspace.Part.Cancollide = true game.Workspace.Part1.Transparency = 0 end --The end without the ) should go here. I've taken the liberty to do it for you end) end)
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 05 Feb 2012 02:01 PM |
| looks like a stolen script to me. |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2012 02:01 PM |
@Swim you forgot another enter. :S
game.Players.PlayerAdded:connect(function(player) layer.Chatted:connect(function(msg) if msg == "McDonalds" then game.Workspace.Part1.Transparency = 1 game.Workspace.Part1.Cancollide = false wait(8) game.Workspace.Part.Cancollide = true game.Workspace.Part1.Transparency = 0 end --The end without the ) should go here. I've taken the liberty to do it for you end) end)
† KMXD † |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2012 02:03 PM |
@knight Yea I know D: I'm sick, don't judge.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
datdude3
|
  |
| Joined: 23 Apr 2010 |
| Total Posts: 577 |
|
|
| 05 Feb 2012 02:07 PM |
Srry its just im new to scripting
@mage its not stolen its just that i took it from the wiki and edited it
@knight&Swim-so a space before the script? |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2012 02:08 PM |
No, use mine, I just added another enter to Swim's.
† KMXD † |
|
|
| Report Abuse |
|
|
datdude3
|
  |
| Joined: 23 Apr 2010 |
| Total Posts: 577 |
|
|
| 05 Feb 2012 04:07 PM |
| The problem wasnt the enter the problem was the end thanks anyways :S |
|
|
| Report Abuse |
|
|