#arrow go to one part to another once touched

17 messages · Page 1 of 1 (latest)

meager canopyBOT
#

studio** You are now Level 4! **studio

rugged belfry
#

thats a invisible part with a Billboard gui, you can just change the position of that part to the next checkpoint

rugged belfry
# jolly juniper how do i do that?

its simple just change the position of that invisible part to the next checkpoint using TweenService for smooth movement

i cant go in to specifics, thats up to your scripting skills to do that, but you can ask for help when you run in to issues

jolly juniper
# rugged belfry its simple just change the position of that invisible part to the next checkpoin...

i used what i know so far of scripting (not a lot) and a watched a few yt vids and i managed to get this but im not sure how to do it this is what i wrote local tweenService = game:GetService("TweenService")
local part = game.Workspace.Part

local tweenInfo = TweenInfo.new(
1.5,
Enum.easingStyle.Quad,
Enum.EasingDirection.Out,
0,
false,
0
)

local properties = {
["Position"] = -294, 0.25, -206
}

local tween = tweenService:Create(part, tweenInfo, properties)

#

or this screens shot if its better

rugged belfry
#
local properties = {
  Position = Vector3.new(-294, 0.25, -206)
}
#

you need to use Vector3.new() for position

#

also capitalize the letter E in EasingStyle

#

Enum.EasingStyle.Quad

jolly juniper
#

its not moving to any position

#

@rugged belfry

rugged belfry
#

on the next line do tween:Play()

jolly juniper
#

ok ive done it thanks i just need a few things i wanna rename the part that moves to "ArrowMovingPart" and how do i make it so it only moves once i touch a part called "CheckPoint1" and is there a way so instead of saying the positon i want it to be like for example "CheckPoint2" @rugged belfry

jolly juniper
#

@rugged belfry

rugged belfry
#

it depends how you structure your system, you gotta figure that out, try looking in to some uncopylocked lobbies or other games to improve your scripting skill

#

or watch tutorials