Hello! I am here to ask for help with my climbing system that Im making. Almost Everything is going well, but the position system dont replicate. This is how Im doing (Done in client):
--Climb Inputs(W)
UIS.InputBegan:Connect(function(key, processed)
if key.UserInputType == Enum.UserInputType.Keyboard then
if key.KeyCode == Enum.KeyCode.W and Climbing == true and CanClimbW == true and SDED == false then
WDED = true
local CoroutineThread = coroutine.wrap(function()
local Y = Instance.new("NumberValue")
Y.Parent = character
Y.Name = "YValue"
db:AddItem(Y,1.6)
TweenService:Create(Y, TweenInfo.new(1.5), {Value = 0.5}):Play()
repeat wait(0.0625)
ClimbAnimation:AdjustSpeed(1)
local CF = character.PrimaryPart.CFrame + Vector3.new(0,Y.Value,0)
character:SetPrimaryPartCFrame(CF)
until WDED == false or CanClimbW == false or Climbing == false
end)
CoroutineThread()
end
end
end)
That is basically to the character go up while hes climbing. I thinked character position replicated automatically.
