so my clone to starter gear is not working and the parent to the inventory folder too any fix??? (Local Script)Code:
local plr = game.Players.LocalPlayer
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")--gets ReplicatedStorage
local ToolsFolder = ReplicatedStorage:FindFirstChild("Tools")-- gets the tools folder
local InventoriesFolder = ReplicatedStorage:FindFirstChild("Inventories")-- gets the inventories folder
local button = script.Parent-- gets the button
local SpeedCoil = ToolsFolder:FindFirstChild("SpeedCoil")
print("VariablesDone!")--prints "VariablesDone!"
--MainScript--
button.MouseButton1Click:Connect(function()--when a player presses the button in left click
print("Pressed")-- when a player presses the button then it will print out "Pressed"
local inventory_folder = InventoriesFolder[plr.Name]
print("No Errror BRUH")
SpeedCoil:Clone().Parent = plr.Backpack
SpeedCoil:Clone().Parent = plr.StarterGear
SpeedCoil:Clone().Parent = inventory_folder
end)
ThankYou!

1 comment
Wait I know how to fix your problem.