so guys, I have a save script, it works perfect.. vars and all are perfect but, in my replicated storage, i made a section where characters are. The characters name is why I made the script.
so far this is what i am trying to do, 2 scripts..
local a = game.Players.LocalPlayer.SaveMonsters
if script.Parent.Name == a:WaitForChild(script.Parent.Name) then
local b = a:WaitForChild(script.Parent.Name)
c = script.Parent:Clone(a.Value)
c.Parent = game.Workspace
end
this is for the the item to match its int name...
then comes this to add value to my save script value
while true do
wait()
if script.Parent.Parent == game.Workspace then
if script.Parent.Name == game.Players.LocalPlayer.SaveMonsters:WaitForChild(script.Parent.Name) then
a = game.Players.LocalPlayer.SaveMonsters:WaitForChild(script.Parent.Name)
a.Value = a.Value + 1
script:Destroy()
end
end
if script.Parent.Parent == game.Workspace.Monsters then
if script.Parent.Name == game.Players.LocalPlayer.SaveMonsters:WaitForChild(script.Parent.Name) then
a = game.Players.LocalPlayer.SaveMonsters:WaitForChild(script.Parent.Name)
a.Value = a.Value + 1
script:Destroy()
end
end
end
with this I am suppose to make a monsters name from the replicated storage math its name found in the save script then clone the monster and place it in workspace. how would I do this? this is really hard i would LOVE some feedback, please help!

5 comments
Why is your second script repeating the same thing except the second portion has
game.Workspace.Monstersfrom the previousgame.Workspace?shows if its parent is .Monsters
this post is a train wreck
agreed
lmao the title HELP?!?!??!?