1 | local S 049 = game.ServerStorage [ "SCP-049" ] |
2 |
3 | function spawnS 049 () |
4 | if game.workspace:FindFirstChild(S 049 ) = = false then |
5 | S 049 = game.Workspace |
6 | end |
7 | end |
8 | spawnS 049 () |
1 | local SCP = game.ServerStorage:FindFirstChild( "SCP-049" ) -- declares the variable as the SCP model |
2 |
3 | function spawnSCP() |
4 | if game.Workspace:FindFirstChild( "SCP-049" ) = = nil then -- if it doesn't exist then |
5 | SCP:Clone().Parent = workspace -- clone it and set it's parent to workspace |
6 | end |
7 | end |
8 |
9 | spawnSCP() |