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

How do you Fix Workspace.nathanjohns123.ZAWURLDO:60: attempt to index nil with 'Parent'?

Asked by 4 years ago

I Want To Make A Time Freeze Mechanic But I Keep Getting This Error Saying

Workspace.nathanjohns123.ZAWURUDO:60: attempt to index nil with 'Parent' Can You Either Tell Me how to print A Directory eg: Instead Of Printing "Part" It Prints "game.Workspace.Part" or Tell Me how To Fix It? (if you want to test it put the script in the startercharacterscripts) Here's My Time Freeze Code The Error Is happening At the function loop2()

001T = 1
002Frame = 10
003children = game.Workspace:GetChildren()
004Wow = false
005Time = true
006Break = false
007WaveSpeed = game.Workspace.Terrain.WaterWaveSpeed
008RespawnTime = game.Players.RespawnTime
009TimeC = Time
010function loop1(Child)
011    for i = 1, #Child do
012        local Children = Child[i]:GetChildren()
013        local Parent = Child[i]
014        local Issues = {}
015        while true do
View all 136 lines...

(Yes It Is Long) Anyways Can You Help Me With This?

0
Acually I Fixed It nathanjohns123 20 — 4y

Answer this question