Advance Quest system for a story game [HELP]

So ive been following a youtube tutorial on how to make an advance quest system for my new game and i cant seem to get it to work, its ment to look like this when you touch a part
Screenshot 2022-05-30 083953
Screenshot 2022-05-30 083935

local new = script.parent.parent.Objectives.Objectives.Objective1
local complete = script.Parent.parent.Objectives.Objectives.Objective1

function QuestOpen()

game.Workspace.Start:Play()

local neverchangeobjective = script.parent.parent.Objectives.ObjTextCenter.ObjTextcenter

local objectivetextlogocenter = script.Parent.parent.Objectives.ObjCenter.ObjCenter
local objectivetextlogo = script.parent.parent.Objectives.RightObj

local info = TweenInfo.new(1)

local tween1 = game:GetService(“TweenSerice”):Create(neverchangeobjective, info {TextTransparency=0})
local tween2 = game:GetService(“TweenSerice”):Create(objectivetextlogocenter, info {ImageTransparency=0})

tween1:Play()
tween2: Play()

objectivetextlogocenter:TweenPosition(
UDim2.new(0,0,0,0),
Enum. EasingDirection. Out,
Enum. EasingStyle.Quad,
2,
true,
nil
)

neverchangeobjective:TweenPosition(
UDim2.new(0,0,0,0),
Enum. EasingDirection. Out,
Enum. EasingStyle.Quad,
3,
true,
nil
)

wait(2)

local Tweenservice = game:GetService(“Tweenservice”)
local goal = {ImageColor3 = Color3. fronRGB(255,0,0)}
local tweencolor = Tweenservice:Create(objectivetextlogocenter, info, goal)
tweencolor:Play()

wait(2)

objectivetextlogocenter:TweenPosition(
UDim2.new(0,0,-1,0),
Enum. EasingDirection. Out,
Enum. EasingStyle.Quad,
2,
true,
nil
)

neverchangeobjective:TweenPosition(
UDim2.new(0,0,-1,0),
Enum. EasingDirection. Out,
Enum. EasingStyle.Quad,
3,
true,
nil
)

wait(0.3)

local tween1 = game:GetService(“TweenSerice”):Create(neverchangeobjective, info {TextTransparency=1})
local tween2 = game:GetService(“TweenSerice”):Create(objectivetextlogocenter, info {ImageTransparency=1})

tween1:Play()
tween2: Play()

wait(1)

game.Workspace.Violin:Play()

local tweencolor2 = TweenService:Create(objectivetextlogo, info, goal)
tweencolor2:Play()

local WillTween = new.icon:TweenSize(
UDim2.new(0.125, 0, 0.45, 0),
Enum. EasingDirection. In,
Enum.EasingStyle.Sine,
0.1,
true,
nil
)

new.Objective:TweenPosition(
UDim2.new(0,0,0,0),
Enum. EasingDirection. Out,
Enum. EasingStyle.Quad,
3,
true,
nil
)

wait(2)

local goal2 = {ImageColor3 = Color3. fromRGB( 255,255,255)}
local tweencolor2 = Tweenservice:Create(objectivetextlogo, info, goal2)
tweencolor2:Play()

objectivetextlogocenter. ImageColor = Color3.new(255,255,255)
neverchangeobjective.Position = UDim2.new(0,0,1,0)
objectivetextlogocenter.Position = UDim2.new(0,0,1,0)
end

local start = game. ReplicatedStorage.Quests.QuestStart

start.OnClientEvent:Connect(function()
script.Parent.parent.Objectives.ObjTextCenter.ObjTextCenter.Text = “This Works Now!”
new.Objective.Text = “This Works Now!”
QuestOpen()
end)

Screenshot 2022-05-30 083626
Screenshot 2022-05-30 083524

1 Like

can you please include the error in the output (normally its coloured red)

Can you send an image of the workspace and what is inside it?

Uploading: Screenshot 2022-05-30 093355.png…
Uploading: Screenshot 2022-05-30 093343.png…
Screenshot 2022-05-30 093311

These are the parts that are connected or should I say meant to start a quest and end a quest

inside the parts [workspace]
TouchPartStart script:
script.Parent.Touched:Connect(function(hit)
script.Disabled = true

local RemoteEvent = game.ReplicatedStorage.Quests.QuestStart
RemoteEvent:FireAllClients()

game.Workspace.TouchPartEnd.Script.Disabled = true

end)

TouchPartEnd script:
script.Parent.Touched:Connect(function(hit)
script.Disabled = true

local RemoteEvent = game.ReplicatedStorage.Quests.QuestEnd
RemoteEvent:FireAllCliends()

end)

Hello there!
I think you made a mistake, is “Start” in the Workspace?

Screenshot 2022-05-30 094220
Only think in workspace is the TouchPartStart part am i missing something?

Yes, in the start of the script you have something called “game.Workspace.Start:Play” is it an sound that should be in replicated storage? It gave you an error so i think that’s the problem

Delete “game.Workspace.Start:Play” in your script and I think it should work.


Left with this now

nvm fixed only 1 showing now is

Can you send the script again?

local new = script.parent.parent.Objectives.Objectives.Objective1
local complete = script.Parent.parent.Objectives.Objectives.Objective1

function QuestOpen()

local neverchangeobjective = script.parent.parent.Objectives.ObjTextCenter.ObjTextCenter

local objectivetextlogocenter = script.Parent.parent.Objectives.ObjCenter.ObjCenter
local objectivetextlogo = script.parent.parent.Objectives.RightObj

local info = TweenInfo.new(1)

local tween1 = game:GetService(“TweenService”):Create(neverchangeobjective, info {TextTransparency=0})
local tween2 = game:GetService(“TweenSerice”):Create(objectivetextlogocenter, info {ImageTransparency=0})

tween1:Play()
tween2: Play()

objectivetextlogocenter:TweenPosition(
UDim2.new(0,0,0,0),
Enum. EasingDirection. Out,
Enum. EasingStyle.Quad,
2,
true,
nil
)

neverchangeobjective:TweenPosition(
UDim2.new(0,0,0,0),
Enum. EasingDirection. Out,
Enum. EasingStyle.Quad,
3,
true,
nil
)

wait(2)

local Tweenservice = game:GetService(“Tweenservice”)
local goal = {ImageColor3 = Color3. fronRGB(255,0,0)}
local tweencolor = Tweenservice:Create(objectivetextlogocenter, info, goal)
tweencolor:Play()

wait(2)

objectivetextlogocenter:TweenPosition(
UDim2.new(0,0,-1,0),
Enum. EasingDirection. Out,
Enum. EasingStyle.Quad,
2,
true,
nil
)

neverchangeobjective:TweenPosition(
UDim2.new(0,0,-1,0),
Enum. EasingDirection. Out,
Enum. EasingStyle.Quad,
3,
true,
nil
)

wait(0.3)

local tween1 = game:GetService(“TweenSerice”):Create(neverchangeobjective, info {TextTransparency=1})
local tween2 = game:GetService(“TweenSerice”):Create(objectivetextlogocenter, info {ImageTransparency=1})

tween1:Play()
tween2: Play()

wait(1)

game.Workspace.Violin:Play()

local tweencolor2 = TweenService:Create(objectivetextlogo, info, goal)
tweencolor2:Play()

local WillTween = new.icon:TweenSize(
UDim2.new(0.125, 0, 0.45, 0),
Enum. EasingDirection. In,
Enum.EasingStyle.Sine,
0.1,
true,
nil
)

new.Objective:TweenPosition(
UDim2.new(0,0,0,0),
Enum. EasingDirection. Out,
Enum. EasingStyle.Quad,
3,
true,
nil
)

wait(2)

local goal2 = {ImageColor3 = Color3. fromRGB( 255,255,255)}
local tweencolor2 = Tweenservice:Create(objectivetextlogo, info, goal2)
tweencolor2:Play()

objectivetextlogocenter. ImageColor = Color3.new(255,255,255)
neverchangeobjective.Position = UDim2.new(0,0,1,0)
objectivetextlogocenter.Position = UDim2.new(0,0,1,0)
end

local start = game. ReplicatedStorage.Quests.QuestStart

start.OnClientEvent:Connect(function()
script.Parent.parent.Objectives.ObjTextCenter.ObjTextCenter.Text = “This Works Now!”
new.Objective.Text = “This Works Now!”
QuestOpen()
end)

In line 13 instead of {TextTransparency=0} do (TextTransparency=0) I think it should work

Hmmm I don’t know then, you should check the tutorial again and find the solution, I hope i helped!

Do ‘:’ instead of ‘=’. charcters

Add , next to info on line 13 and 15.

Just did that but I am getting this error now