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

This shuts down in online?

Asked by
wackem 50
9 years ago

I have a script that makes a new pre-set character and it works in studio play solo but not online here is the code:

game.Players.PlayerAdded:connect(function(plr)
    plr.CharacterAdded:wait()
    local modl = game.ServerStorage.Preset:Clone()
    modl.Parent = workspace
    modl:MakeJoints()
    local char = plr.Character
    char:Destroy()
    plr.Character = modl
end)

if game.Workspace:FindFirstChild("Message") then
game.Workspace.Message:Destroy()
end

(it shuts down for some reason)

1 answer

Log in to vote
0
Answered by 9 years ago

There may be an external script affecting your game. You should try to check every script to see which one affects the game. You can also try to re-upload the place.

0
There is no other script. wackem 50 — 9y
Ad

Answer this question