so I made this script to make fish spawn after 5 seconds, not sure why it doesn't work. Any ideas will be appreciated :D
while wait(5) do local Mod = game.ServerStorage.Fish local clone = Mod:clone() clone.Parent = workspace clone:MakeJoints() end
In line 4.
It’s :Clone(), not :clone(). You must spell everything with its proper capitalisation. Missing/adding an uppercase will cause code to error. Scripting is case sensitive.
while true do local fish = game:GetService('ServerStorage').Fish:Clone() fish.Parent = game.Workspace --not 'workspace'. that recently got deprecated. fish:MakeJoints() --If the fish is a model, call this method. Else, don’t. wait(5) --forgot this lol end