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

The Parent property of Felipe is locked, current parent: NULL, new parent Workspace?

Asked by 5 years ago
Edited 5 years ago

I was trying to make a cool game, and all of a sudden the game stops working and this comes up in the output " 15:52:05.267 - The Parent property of Felipe is locked, current parent: NULL, new parent Workspace" here's the script I used ~~~~~~~~~~~~~~~~~ local Ss = game:GetService("ServerStorage") local Rs = game:GetService("ReplicatedStorage") local ws = game:GetService("Workspace") local plrs = game:GetService("Players") local events = Ss:WaitForChild("Events") local availableEvents = events:GetChildren() local chosenEvent = availableEvents[math.random(1,#availableEvents)] local clonedEvent = chosenEvent:Clone()

script.Parent.MouseClick:Connect(function() clonedEvent.Parent = workspace script.Parent.Parent.Material = Enum.Material.SmoothPlastic script.Parent.Parent.Color = Color3.fromRGB(255,0,0) wait(10) clonedEvent:Destroy() script.Parent.Parent.Material = Enum.Material.Neon script.Parent.Parent.Color = Color3.fromRGB(0,255,0) end) ~~~~~~~~~~~~~~~~~

0
What is the parennof Felipe royaltoe 5144 — 5y
0
Parent royaltoe 5144 — 5y
0
It's a folder in server storage, I used a script to clone him from server storage to thw workspace. jorcorrs 76 — 5y

Answer this question