#any1 can help me with 1 problem on quest system dm if you can
1 messages · Page 1 of 1 (latest)
no. explain here
(bad eng)i have a quest system and if i click on accept button he dont do anything
show all needed code
send my code here?
this quest system i use https://www.youtube.com/watch?v=-o8RXaptqIM&t=270s
my problem is i dont know whare is the problem
** You are now Level 1! **
i dont know if in accept button
fom all this what code you want to sent
with this information i am unable to help u with anything
i tell you i don't know where is the problem i sent you all this because maybe you know whare is the problem
all working but if i go to take the quest and press accept he dont do anything
If you don't know where the error is, just send all the code that may not work
Also you don't have to hide your stuff, I don't think people will try to steal something that comes from an unexperienced scripter anyways
i dont try to hide i want to show all this is for quest system
Ok
If you send all the code shown on the right screenshot, someome might figure it out
Me, I'm going to nap/sleep, bye 👋
bye
U going to send the code?
Or are there any errors in output to refer to
yes
(LocalScript1)
while true do
local player = game.Players.LocalPlayer
local Lead = player:FindFirstChild("Quest")
local Num = Lead:FindFirstChild("Num")
wait(0.1)
if Num.Value == script.Num.Value then
script.Parent.Visible = true
else
script.Parent.Visible = false
end
end
(exit)
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent:Destroy()
end)
(Main)
script.Parent.RemoteEvent.OnServerEvent:Connect(function(plr)
local Type = plr:WaitForChild("Quest"):WaitForChild("Num")
Type.Value = 0
local Max = plr:WaitForChild("Quest"):WaitForChild("Max")
Max.Value = 1
local Amount = plr:WaitForChild("Quest"):WaitForChild("Amount")
Amount.Value = 0
end)
(Quest)
script.Parent.MouseButton1Click:Connect(function()
script.Parent.RemoteEvent:FireServer()
end)
(localscript2)
while true do
wait(0.1)
local player = game.Players.LocalPlayer
local leader = player:FindFirstChild("Quest")
local Kills = leader:FindFirstChild("Kills")
local Max = leader:FindFirstChild("Max")
local Num = leader:FindFirstChild("Num")
script.Parent.Text = math.floor(Kills.Value).."/"..math.floor(Max.Value)
end
** You are now Level 2! **