Alright so, I am making a computer. This script is for the computer screen. The background of it. Kind of like a TV changing the picture every few seconds or so.
But it errors, Workspace.Computer.ComputerScreen.Decal.Script:2: Expected identifier when parsing method name, got '/'
This is where it errors.
1 | game.Workspace.Computer.ComputerScreen.Decal.Texture = http://www.roblox.com/asset/?id = 2079763285 |
Here is the whole script.
01 | while true do |
02 | game.Workspace.Computer.ComputerScreen.Decal.Texture = http://www.roblox.com/asset/?id = 2079763285 |
03 | wait( 0.2 ) |
04 | game.Workspace.Computer.ComputerScreen.Decal.Texture = http://www.roblox.com/asset/?id = 1302270539 |
05 | wait( 0.4 ) |
06 | game.Workspace.Computer.ComputerScreen.Decal.Texture = http://www.roblox.com/asset/?id = 1336481354 |
07 | wait( 0.1 ) |
08 | game.Workspace.Computer.ComputerScreen.Decal.Texture = http://www.roblox.com/asset/?id = 1302270539 |
09 | wait( 0.5 ) |
10 | game.Workspace.Computer.ComputerScreen.Decal.Texture = http://www.roblox.com/asset/?id = 1302270539 |
11 | wait( 0.1 ) |
12 | game.Workspace.Computer.ComputerScreen.Decal.Texture = http://www.roblox.com/asset/?id = 2079763285 |
13 | wait( 1 ) |
14 | game.Workspace.Computer.ComputerScreen.Decal.Texture = http://www.roblox.com/asset/?id = 1336481354 |
15 | end |
And here is a picture of the parts, script, decal etc.
Sorry for this, it's probably a simple fix. I am new to scripting. Ha!
The texture must be a string, so you have to wrap your URLs in "
Ex: "http://www.roblox.com/asset/?id=1336481354"