#Fetch Quest Coding Help?
1 messages · Page 1 of 1 (latest)
ok so what ur saying is u have a system where players can collect characters and you want a character that requires u to have a specifc item before u can collect it?
Yea
hold on i think ik how u can do this
Noice
so do u already have the character collecting system ready?
Sorta
** You are now Level 1! **
so how doesw it work so far
Well it just has an open/close function and has all of the characters currently in-game, although a couple slots are still missing
ok
** You are now Level 2! **
ill hv to make u a system for that first
dont worry its simple (ive never done this before but it should work)
Okay
ok create a sceript in server script service and paste in this code:
local plrs = game.Players
plrs.PlayerAdded:Connect(function(plr)
local inventory = Instance.new("Folder")
inventory.Name = "inventory"
inventory.Parent = plr
end)
Thanks
Aight
ok so imma write sm code rn so just add a proximity prompt to all of ur collectabkle characters
Now how would I add the NPC that gives you the badge/character?
oh so u want to make a badge for each character u collect (this will make saving tghese characters a lot easier)
Yeah
so do u want plrs to wsalk naround and collect chsaracters or a character thsat gives the plr the character
In the game you walk around to find characters
ok
alr just add a proximity prompt inside of your chsaracters and add a sceript inside of the proximity prompt and put this cdoe in it:
script.Parent.ActionText = "Collect"
script.Parent.ObjectText = script.Parent.Parent.Name
(sry this is taking so long)
hey if i made a free model for u so u can import everythnig in easily would that be good?
Yea sounds good
ok
Thanks!
** You are now Level 2! **
np also i cant use my oc rn but i csn tell u how to mwke the rest
Okay
nah bro my typing is so inaccurate xd
ok so to make the plr require an item in order to get the item this is how
ok so send in the collectscript code from inside the proximity prompt