So, in my game, after a remote event fires, I want your character to walk to a part. The problem is, the character doesn't. I did the "game.ReplicatedStorage.TheNextTalk:FireServer()" in a normal script and local script, but something tells me that it's the walking script. Walking script (Local script):
local player = game.Players.LocalPlayer
character = player.Character
humanoid = character:WaitForChild("Humanoid")
local model = workspace.Parts
start = model.StarterPoint
endpoint = model.EndPoint
turn = model.Turn
--
start.Touched:Connect(function()
game.ReplicatedStorage.TheNextTalk.OnServerEvent:Connect(function(plr)
wait(2)
humanoid.TargetPoint = turn.Position
humanoid.WalkToPoint = turn.Position
wait(2)
humanoid.TargetPoint = endpoint.Position
humanoid.WalkToPoint = endpoint.Position
end)
end)
The firing script (Local):
script.Parent.MouseButton1Click:Connect(function()
local Camera = game.Workspace.CurrentCamera
local Player = game.Players.LocalPlayer
-- Camera --
repeat wait() until Player.Character
Camera.CameraType = "Scriptable"
Camera.CFrame = game.Workspace.Cutscene5.CFrame
local character = game.Players.LocalPlayer.Character
game.ReplicatedStorage.TheNextTalk:FireServer()
script.Parent.Parent.Parent.Enabled = false
script.Parent.Parent.Visible = false
end)
I also removed the touched but it didn't work. So, please help! Thank you!

2 comments
Put a print statement under OnServerEvent and see if it prints. Also, you can't use FireServer() from the client (LocalScript.) https://developer.roblox.com/en-us/articles/Remote-Functions-and-Events
@ItzFoxz, thank you!