Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

This basic script only works on solo and not server. Any idea why?

Asked by 6 years ago
Edited 6 years ago
wait(44)
game.Lighting.Cut1Part.Parent = game.Workspace

Literally, I don't understand why it won't work on the server...

1 answer

Log in to vote
0
Answered by
GingeyLol 338 Moderation Voter
6 years ago
Edited 6 years ago

First of all

game.Lighting.Cut1Part.Parent

is an attempt to move the service Lighting into Workspace. But you placed the parent of Cut1Part which is unnecessary and invalid to place Lighting.

I suggest if you try to move Cut1Part then define the part first. Try doing

local part = game.Lighting.Cut1Part
wait(44)
part.Parent = game.Workspace
0
Didn't work JackThePro202 -2 — 6y
0
try local part = game.Lighting.Cut1Part wait(44) part.Parent = game.Workspace GingeyLol 338 — 6y
Ad

Answer this question