#Workspace.V2.Folder.6.Twin's Tycoon Kit (UPDATED) (AUTO-SAVE).Tycoons.Azula.Purchases.Giver5.Script
16 messages · Page 1 of 1 (latest)
because wep is defined as script.Parent.WeaponName.Value, so you're trying to clone a value which isn't possible
ok thank you i will fix it
You are only using FindFirstChild, which is a bad practice.
Only use it when your sure of a instance being in that place, and when the game and its assets are actually loaded in.
UseWaitForChild() instead.
Probably why it's printing out attempt to index nil
Because it can't find the provided instance in the index, or it can mean that the index sent is nil.
** You are now Level 6! **
shut mee6
Already figured out, also FindFirstChild isn't bad when it comes to humanoids
You do realize, that FindFirstChild should be used when things are loaded in? FindFirstChild should be used when you sure that an instance is loaded in, while WaitForChild waits until its loaded in. You can try putting an object in the workspace and using `print(workspace:FindFirstChild("ObjectName"))
Exactly, and in this case it won't affect anything to use FindFirstChild as opposed to WaitForChild
Could you elaborate?
Could you read the actual script?