Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why won't this script work?

Hi this script was only working in solo mode can you help please? At the end when I try to clone it into the player it only works in solo mode. And yes it's in a local script.

plr = game.Players.LocalPlayer
script.Parent.TextWrapped = true
plr.CameraMinZoomDistance = 1
plr.CameraMaxZoomDistance = 1
wait(5)
script.Parent.Text = "Hello " ..plr.Name.. ", and welcome to Conscious!"
wait(3)
script.Parent.Text = "You are probably wondering who I am..."
wait(3)
script.Parent.Text = "I am your Conscious telling you what to do and when to do it."
wait(3)
script.Parent.Text = "I am you."
wait(3)
script.Parent.Text = ""
plr.CameraMaxZoomDistance = 10
plr.CameraMinZoomDistance = 10
local a = game.ServerStorage.Flashlight:Clone()
a.Parent = plr.Backpack
local b = game.ServerStorage.Flashlight:Clone()
b.Parent = plr.StartPack
wait(2)
script.Parent.Text = "To be continued..."

1 answer

✓ Accepted answer

LocalScripts cannot access the ServerStorage.

This discussion is preserved as it was. New answers, comments, and votes are closed.