if getting a new objective didn't work for you here is the solution script you should replace the other one with! local debounce = false script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player and debounce == false then debounce = true game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: Your Objective") end end end) hope this helps!
Hey man, i dont know if your still reading comments but im glad you upload tutorials liek this and help other people too, you dont know how much you have helped me on my game and i want you to continue what your doing, Thank you so much and have a blessed day.
for lazy people who dont like script by them self.. heres the scripts! script1(local script): --{{ SERVICES }}-- local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") --{{ VARIABLES }}-- local player = Players.LocalPlayer --{{ FUNCTIONS }}-- ReplicatedStorage.Remotes.SetObjective.OnClientEvent:Connect(function(Objective) for i=1, string.len(Objective)do script.Parent.ObjectiveText.Text = string.sub(Objective, 1 i) wait(0.025) end end) script2 (script): game.Players.PlayerAdded:Connect(function(player) wait(5) game.ReplicatedStorage.Remotes.SetObjective:FireClient(player,"Objective: Find trash can.") end) BY THE WAY! AWSOME TUTORIAL IT HELPED SO MUCH!❤❤
You forgot a "," at : script.Parent.ObjectiveText.Text = string.sub(Objective, 1 i) between the 1 and the i there a , so it's : script.Parent.ObjectiveText.Text = string.sub(Objective, 1, i)
third script: local debounce = false script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player and debounce == false then debounce = true game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: Find Dr.Edward At The Lab") end end end)
if getting a new objective didn't work for you here is the solution script you should replace the other one with! local debounce = false script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player and debounce == false then debounce = true game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: Your Objective") end end end) hope this helps!
@wajeehaikram9677 it might be the part aswell since it depends which one isn't working for you, you can put print("this one works!") at the end of every script and if it doesn't print it then you put it in the script that didn't print it
good video but I want to say that you are right, I had a mistake somewhere in the Tycoon SaveData script, I tried to do it all over again and suddenly it works.
How do i make it so that they cant activate the other objective yet if they havent finished the second one? Do i just make a script to turn can touch on?
Can you also make a tutorial on how to make a custom head for facial animation? There's 0 tutorial for it. Pretty please?? Really need it for my rp game 🙏🙏🙏
Hi, would you be able to make a tutorial on how to allow the player to teleport to different experiences (via click of a button or proximity prompt) I have a lobby game that I want the player to be in first before teleporting to the horror game. Thanks in advance if you make a tutorial on this!
@rustysillyband could you show how to make the objectives change for multiple people rather than one because when i tested this it worked for me but not the other people i was playing with and I dont know why.
Remember how you made the tutorial on how to make the pathfinding monster? i was wondering if you could do a tutorial on how to change the speed of the monster
Hey Sour Mango! Thanks for checking in, it's been awhile! I am so blessed to say my channel has been going very well recently. I'm super thankful for an amazing community! How about yourself? Are you still doing Military Tycoon?
All of the codes that i try from you dont work.. i dont know why The objective bar works but any codes and triggers that i try to put on just..dont work
Man I'm so sorry if I'm hating i was so excited i found this video but what are you saying, doing doesn't make sense it's not working for I'm here crying rn It's blurry what u doing and your not showing fully
script here game.Players.PlayerAdded:Connect(Function(player) wait(5) game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: Find the swat")---change to whatever you want end)
THIRD SCRIPT local debounce = false script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player and debounce == false then debounce = true game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "What you want your objective to say")
i finnaly made the scripts ObjectiveGUI local script: local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local player = Players.LocalPlayer ReplicatedStorage.Remotes.SetObjective.OnClientEvent:Connect(function(Objective) for i=1, string.len(Objective) do script.Parent.ObjectiveText.Text = string.sub(Objective, 1, i) wait(0.05) end end) Serverscriptservice script: game.Players.PlayerAdded:Connect(function(player) wait(5)
game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: Find the campfire")
end) part script: local debounce = false script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player and debounce == false then debounce = true game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: find somethink weird 0/5")
if getting a new objective didn't work for you here is the solution script you should replace the other one with!
local debounce = false
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player and debounce == false then
debounce = true
game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: Your Objective")
end
end
end)
hope this helps!
THANK YOU SO MUCH, YOU ARE THE BEST ❤❤❤❤❤
where do i put it in the script or local script ?
Wow man, another great tutorial within the same week, you are awesome!! Thanks for sharing!!!!!!
Hey man, i dont know if your still reading comments but im glad you upload tutorials liek this and help other people too, you dont know how much you have helped me on my game and i want you to continue what your doing, Thank you so much and have a blessed day.
like(
Like*
I juet found this channel, quite underrated tbh. I wanted to start my own game, and this is helping! 😊
just*
@@ashleysignil6935 Thanks spelling police
That Helped me so much! I always tried to figure it out a you had the right Tutorial! Thank you!
for lazy people who dont like script by them self.. heres the scripts!
script1(local script):
--{{ SERVICES }}--
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
--{{ VARIABLES }}--
local player = Players.LocalPlayer
--{{ FUNCTIONS }}--
ReplicatedStorage.Remotes.SetObjective.OnClientEvent:Connect(function(Objective)
for i=1, string.len(Objective)do
script.Parent.ObjectiveText.Text = string.sub(Objective, 1 i)
wait(0.025)
end
end)
script2 (script):
game.Players.PlayerAdded:Connect(function(player)
wait(5)
game.ReplicatedStorage.Remotes.SetObjective:FireClient(player,"Objective: Find trash can.")
end)
BY THE WAY! AWSOME TUTORIAL IT HELPED SO MUCH!❤❤
Thanks for helping but some words are misspelled
@@YourNormalRobloxian oh sorry
Kiss me
You forgot a "," at :
script.Parent.ObjectiveText.Text = string.sub(Objective, 1 i)
between the 1 and the i there a ,
so it's :
script.Parent.ObjectiveText.Text = string.sub(Objective, 1, i)
third script:
local debounce = false
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player and debounce == false then
debounce = true
game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: Find Dr.Edward At The Lab")
end
end
end)
I'm really late to this video but I want my objective to be an ProximityPrompt would the code be different for that
yeah
Very nice! Keep it up mate! ❤🔥❤🔥
This is a grate video I helped me so much but how do I put more objectives in?
just found this channel. it has exactly what i need. thank you so much
bro this helped me sooo much man thank you
tysmm it worked half it doesn't do the thing where it changes for thank u for showing the text thingy!
yeah me too
if getting a new objective didn't work for you here is the solution script you should replace the other one with!
local debounce = false
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player and debounce == false then
debounce = true
game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: Your Objective")
end
end
end)
hope this helps!
@@xxxxkun where do i put this script? in the humanoid or in the part that needs to be touched
@wajeehaikram9677 the one where you fire to the client so i think server script service
@wajeehaikram9677 it might be the part aswell since it depends which one isn't working for you, you can put print("this one works!") at the end of every script and if it doesn't print it then you put it in the script that didn't print it
THANK YOU VERY MUCH
Hii!!
There is no trigger cutscene part?
yeah this doesnt work ive tried its just a huge inconvineience
@@sle9t?
Make your owns
yeah i did my own
Simple. Coolcapidog
yo thanks man !! ur the best :D
I have a question does this only work for player or does the objective change for whole server?
My objective does not change with the type writer effect it stays the same did I do something wrong?
Thank you for this tutorial :)
how do you make the script for the trigger play for everyone in the game once one player touches it?
Thank u it worked
good video but I want to say that you are right, I had a mistake somewhere in the Tycoon SaveData script, I tried to do it all over again and suddenly it works.
it would be better if the script was in the discription or in the comment but it helped
How do i make it so that they cant activate the other objective yet if they havent finished the second one? Do i just make a script to turn can touch on?
Can you also make a tutorial on how to make a custom head for facial animation? There's 0 tutorial for it. Pretty please?? Really need it for my rp game 🙏🙏🙏
when i opened replicated storage i didnt find any folder saying remotes
me too
make a folder named remotes. that simple
Hi, would you be able to make a tutorial on how to allow the player to teleport to different experiences (via click of a button or proximity prompt) I have a lobby game that I want the player to be in first before teleporting to the horror game.
Thanks in advance if you make a tutorial on this!
can you make a quest system? love the videos
yes we want that
That man face has not had sleep lol
guys the objectives dont go step by step, what should i do?
How do I make it so when one objective is done it shows the other?
watch video till the end
For the RemoteStorage I don't get the option to add TriggerCutscene, any advice on that?
i know!
@@NicoleRocks-mv5hx Figured out that you have to go to RemoteStorage, add a new tab then label it as TriggerCutscene. Hope this helps!
@rustysillyband could you show how to make the objectives change for multiple people rather than one because when i tested this it worked for me but not the other people i was playing with and I dont know why.
make "FireClient" to FireAllClients
Man you saved my life.
your so underrated bro im making a game but its quite hard ty
How do I do this to where when I click a part it moves onto the next objective
Remember how you made the tutorial on how to make the pathfinding monster? i was wondering if you could do a tutorial on how to change the speed of the monster
You can change the WalkSpeed property inside of the Humanoid to adjust the speed of the monster. Thanks for watching, have an amazing day!
tysmmm, you too
Do i need to have made the cutscene for this to work?
OMG THANK YOU BRO YOUR A LEGEND 😭😭😭☹️🎉🎉🎉👍👍👍👍👍 I SUBBED👍👍
don't tell me I have to do that for every objective😭
pls make ur gun tutorials into playlist i cant find all of the gun tuts
Thanks!!
thx it worked
please reply: i didn't see the remotes file, do you have another way?
uhm, well HE made it but you can just make it by adding a folder and naming it "Remotes" and inside of that you can add the "SetObjectives" thing
@@ashleysignil6935I don’t see set objectives
@@MORZZYz make it, press the plus and search "remote event" and click that. Then rename it
@@MORZZYz add the "RemoteEvent" to remotes and then rename it to "SetObjectives
You now have 100 comments. Congrats. 🥳
Ty
I tried this method, of trying to get the objective to be typed it, it doesn't even show in 5 seconds
Do you recommend anything?
Can anyone say where did the “Remotes” folder come from? And the “TriggerCutscene”? I didn’t have that in the ReplicatedStorage
It's the cutscene video
@@RyderTheGamer777so how do I see that vid
@@MORZZYz in the playlist
you're amazingggggg
How’s your channel doing? You grew a lot last time I saw your channel, great job on your improvement!
Hey Sour Mango! Thanks for checking in, it's been awhile! I am so blessed to say my channel has been going very well recently. I'm super thankful for an amazing community!
How about yourself? Are you still doing Military Tycoon?
@@rustysillyband I just came back to RUclips again, I took a long break. I’m glad your channel is going well!
@@rustysillyband Can you do a video wherw you show how to animate the player hand when it has an item from starterpack
@@SourMangoRoblox Looking forward to watching the new videos! Thanks, have a great day!
Tysm
Why doesn’t it work 😢
I can’t find remotes😢
i do not have the remotes thing in replicated storage how to get it?
just click the plus and select folder, then rename it to "remotes"
I love this keep it up! I’m not a bot btw
All of the codes that i try from you dont work.. i dont know why
The objective bar works but any codes and triggers that i try to put on just..dont work
same
Me too
idk what im doing wrong but this isnt working for me
yet
hey for the replicated storage how did you get remote and trigger cutscene can you show it pls
pretty sure you have to add it urself
@@sle9t it worked for me
Can you make wave system pls i need it
why do they never work i did everything correct
im about to quit roblox studio'
hey i cant open my repelachon storage please help me
somebody help me pls
pls
pls
….
I spent an hour on this and it didn't work 😭idk what I did wrong
neither does my code lol
Somehow I can’t make more space up there
i dont have the trigger cutscene, can somebody help me please?
You don't need a trigger cutscene event for a ObjectiveSystem Bro
@@SussyFreddy21381 oh alright thanks
Bro this horror game I’m making is lit
Cuz of u
Man I'm so sorry if I'm hating i was so excited i found this video but what are you saying, doing doesn't make sense it's not working for I'm here crying rn
It's blurry what u doing and your not showing fully
Hi!
I have a question does this only work in 1 players screen or does whole server see the new objective
Does Touched work for you guys?
where is emotes in replicated storage i cant find it
remote
add a folder to replicatedstorage and rename it to "Remote"
script here
game.Players.PlayerAdded:Connect(Function(player)
wait(5)
game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: Find the swat")---change to whatever you want
end)
I didn’t have everything to do this
The scripts are not working for me. Can anyone tell why?
Maybey you misspelled something or didnt make a remote
THIRD SCRIPT
local debounce = false
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player and debounce == false then
debounce = true
game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "What you want your objective to say")
end
end
end)
You're a life saver!
epix
Objective: like and subscribe
You bet!
WHY IT DOESNT WORK??????
I don’t work and idk why
I don't have a remotes folder. Can you help me rq?
just add a event
@@piexk_Evie Nvm, I found out how
@@DemonsUniteProductionshow?
How to make commen?
it's not working :(
I just found this channel I don't have remote
its from another tutorial. You don't spawn with a "Remotes" folder in replicatedstorage
you get it by adding a folder to replicatedstorage then renaming it to "Remotes"
WHY DOES IT NOT WORK BROOOOOO I HATE MY LIFE SO MUCH
Same bro
Chill need help?
@@Jeremydomedyou everyone needs help.. It's the trigger cutscene part that's not there
Idk bruh we watch tutorials for so long and after the video is over we check and it didn't work
it doesnt work :(
Not work 😡😡
Didn’t work
Its not working.
Give me my time back bro it doesnt even work and i wasted my night scripting all that
it does
THIS ALWAYS HAPPENS
Ik bro it doesnt even work
All those complaining just did it wrong 😭
im too lazy made scripts :(
aaaaaaaaaaaaaaaaaa
(pls send script..)
Wow it doesn’t work it never works😡
its so long and dosoent work
am i the only one who it didnt work for
Maybe you could read the other comments to find out? Possibly? PERCHANCE!?
waste of time everything doesnt works
It doesn't work 😒 what a waste of time
Bruh if its not working for u don’t go around being annoying
complaining “what a waste of time” 😡
@@irinabaran bruh but its literally a waste of time, it doesn´t work
Maybe you didn't do it right idk
If it doesn’t work that’s on you, it works perfectly fine for me
Maybe you just don’t pay attention cause it works fine for me
Hos to
awds
Objective: escape
- - { { SERVICES } } -
Local ReplicatedStorage = Game : GetService ( " ReplicatedStorage " )
Local Player = game : GetService(" Players " )
- -{ { VARIABLES } } - -
Local player = Players . LocalPlayer
- - { { FUNCTIONS } } - -
ReplicatedStorage . Remotes . SetObjective . OnClientEvent : Connect ( function( Objective )
for i=1, string . Len( Objective ) do
script . Parent . ObjectiveText . Text = string.sub(Objective, 1, i)
wait( 0 . 025 )
end
end)
i finnaly made the scripts
ObjectiveGUI local script:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
ReplicatedStorage.Remotes.SetObjective.OnClientEvent:Connect(function(Objective)
for i=1, string.len(Objective) do
script.Parent.ObjectiveText.Text = string.sub(Objective, 1, i)
wait(0.05)
end
end)
Serverscriptservice script:
game.Players.PlayerAdded:Connect(function(player)
wait(5)
game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: Find the campfire")
end)
part script:
local debounce = false
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player and debounce == false then
debounce = true
game.ReplicatedStorage.Remotes.SetObjective:FireClient(player, "Objective: find somethink weird 0/5")
end
end
end)
i hope it help you (:
man thank you somuc
Dude Ty so munch😊
your awesome bro
THANK YOU BRO
thanks