Ludipup
|
  |
| Joined: 28 Dec 2013 |
| Total Posts: 4347 |
|
|
| 12 Aug 2015 08:03 PM |
Instance.new("SpotLight", game.Workspace).Name = "SpotLightS"
the error is:
Workspace.FireWorks.SpotLightGenerator:8: unexpected symbol near '='
how do i fix it? |
|
|
| Report Abuse |
|
|
Ludipup
|
  |
| Joined: 28 Dec 2013 |
| Total Posts: 4347 |
|
| |
|
Ludipup
|
  |
| Joined: 28 Dec 2013 |
| Total Posts: 4347 |
|
| |
|
Ludipup
|
  |
| Joined: 28 Dec 2013 |
| Total Posts: 4347 |
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 12 Aug 2015 08:09 PM |
local light = Instance.new("SpotLight", workspace) light.Name = "SpotLightS"
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|
Iterum
|
  |
| Joined: 30 Jan 2009 |
| Total Posts: 1982 |
|
|
| 12 Aug 2015 08:11 PM |
Funny when TimeTicks goes around accusing others of being bad of scripting.
OP, please post more code?
-ChiefDelta/Discommodate/iC7G/Vulnerite + 100 other accounts |
|
|
| Report Abuse |
|
|
Ludipup
|
  |
| Joined: 28 Dec 2013 |
| Total Posts: 4347 |
|
|
| 12 Aug 2015 08:14 PM |
local SpotLightA = Instance.new("SpotLight",game.Workspace.FireWorks).Name "SpotLightS" game.Workspace.SpotLightA.Angle = 180 game.Workspace.SpotLightA.Brightness = 15 game.Workspace.SpotLightA.Range = 30 |
|
|
| Report Abuse |
|
|
Iterum
|
  |
| Joined: 30 Jan 2009 |
| Total Posts: 1982 |
|
|
| 12 Aug 2015 08:16 PM |
You missed your equals sign there, man. Also it's probably easier to just define a variable for this.
-ChiefDelta/Discommodate/iC7G/Vulnerite + 100 other accounts |
|
|
| Report Abuse |
|
|
Ludipup
|
  |
| Joined: 28 Dec 2013 |
| Total Posts: 4347 |
|
| |
|
|
| 12 Aug 2015 08:19 PM |
local SpotLight = Instance.new("Part") SpotLight.Name = "SpotLightS" SpotLight.Parent = workspace
--Might work, idk |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2015 08:21 PM |
A big fat russian cat! Christ almighty!
|
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 12 Aug 2015 08:21 PM |
Already posted the solution.
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|