I don’t know but i can’t clone a model. Here is my code
local Model:Model = game.ReplicatedStorage.Builderman:FindFirstChild(v.Name)
local Copy = Model:Clone()
Copy.Parent = workspace
And the error message is:
Players.efetur06_Developer.PlayerGui.AbilityBar.Frame.Builderman.LocalScript:9: attempt to index nil with 'Clone'
awry_y
(ciphered)
#2
The model simply doesn’t exist. Problem solved. Make sure it exists and v.Name
is proper.
No it exists and It is in the replicatedstorage
The v is used in for i,v in pairs thing
awry_y
(ciphered)
#4
Try printing v.Name
then. Make sure it’s properly spelled.
1 Like
I printed it and It prints out the right thing
Oh i found why it is not working i had a typo sorry and thanks for giving your time to my problem.
system
(system)
Closed
#7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.