Creating arrows for obby stages

Can Someone Help me Script Obby Arrow for Stages please
i am starter Programmer i cant do it :frowning:

i Need make When Player touches checkpoint in obby the arrow that on checkpoint go to next checkpoint and same action again

Arrows on every checkpoint example Down Below:
https://www.roblox.com/games/12996397/Mega-Fun-Obby-2090-Stages

3 Likes

You have to say exactly what you want to do, or else no one can help you.

I want that when player touch checkpoint arrow go to next checkpoint i think i explained

Well i cant help since im also new to programming but if you need help with any Kill Bricks or Kill Parts then i can help you otherwise i cant because im new too.

I have no idea what you mean by “arrow go to next checkpoint”.

Can we meet in roblox and i will show you?

Sorry, can you just tell me here?

In Obbys there is Arrow that on checkpoint its like show you where you need to go when you touch checkpoint it go on next checkpoint and same again

Make sure everyone stays on topic here, @hakobmher we can’t help you unless you fully explain what you want to achieve. Can you please rethink what to write for your topic and then edit it in, so we can help you.

Writing a sentence or 2 isn’t enough for an explanation.

Oh, just make a new billboard gui, set it’s Adornee property to your checkpoint, and put an image button in it.

Thx i am noob its my first Topix :slight_smile:

By the way, when making a post here on Scripting Support, please keep in minds these 3 things:

  1. What do you want to achieve? Keep it simple and clear!
  2. What is the issue? Include screenshots / videos if possible!
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub ?
2 Likes
local Checkpoint = game.Workspace.CheckPoint1
local Player = game.Players.LocalPlayer
local Humanoid = Player:WaitForChild("Humanoid")
local Arrow = Checkpoint.Arrow

Checkpoint.Touched:Connect(function(Humanoid ))
   Arrow.Position = -- position of the next checkpoint
end)
1 Like

You have alot of mistakes in the script. The humanoid is in the character of the player not in the player itself. Secondly, it would require like one touched event for every checkpoint.

This seems like a simple action of adorning a part above the current checkpoint part and then changing what part the arrow is adorned over when the value of “Level” changes (or whatever you use to determine what stage a player is on).

Have you made an attempt before posting this thread? If not, please go do so and use existing resources for support (I’m sure checkpoint arrow assets exist in the toolbox). If yes and it didn’t work, please show your implementation and explain what was wrong with it.

Yes i tried many times but it is not working i want make it like automatic but i am not good enough Lua is too hard for me i am trying to learn already 3 years but…

If you’ve already tried, please supply information regarding your attempts. Show the code you’ve used and what’s wrong with that as well, plus anything else that would help to see how you tried this out and what may be the cause of your attempt not working.

somone tryed to help me but its not working and i think its for one touched action

local Checkpoint = game.Workspace.CheckPoint1
local Player = game.Players.LocalPlayer
local Humanoid = Player:WaitForChild(“Humanoid”)
local Arrow = Checkpoint.Arrow

Checkpoint.Touched:Connect(function(Humanoid ))
Arrow.Position = – position of the next checkpoint
end)

That’s just the code that was posted above earlier which in itself is just sample code, not actual code for you to copy and paste (the code sample doesn’t even work and it’s not finished either). I was talking about your attempts. Did you attempt this prior to posting the thread and if so what did you use? If you didn’t attempt this before posting this thread, then that’s what you should be doing. Use existing resources for help, such as toolbox assets or the Developer Hub for API reference.

1 Like

yes made it and it worked but i made it for 1 time i cant make it automatic i think it need to work with for i = inpairs… but idk how to do it
i did very simple script.parent.Touched:Connect(function()
game.workspace.arrow.Position = Position.Udim2.new(…)
end)