wait(6)
local Rig = workspace.IEntity_303I2
local animation = workspace.IEntity_303I2.Animation
local load = workspace.IEntity_303I2.Humanoid:LoadAnimation(animation)
load:Play()
script.Parent.Parent.ImageLabel.Visible = true
local function write(object,text)
for i = 1,#text,1 do
object.Text = string.sub(text,1,i)
workspace.Click:Play()
wait(0.05)
end
end
write(script.Parent,"We have arrived at the camp")
wait(3)
write(script.Parent,"Let's go set up the tent! I will teleport instead! see you there!")
wait(2)
game.ReplicatedStorage.Event.Event:Connect(function()
script.Parent.Parent.Parent.Objective.Text = "You have no objective!"
end)
script.Parent.Parent.Parent.Objective.Text = "Go set up the tent"
workspace.Highlight.Transparency = 0.6
workspace.IEntity_303I2:SetPrimaryPartCFrame(workspace.endingPart1.CFrame)
wait(1)
script.Parent.Parent.Parent.Frame.Visible = false
game.ReplicatedStorage.ClickDetector.Parent = workspace.Tentt
repeat wait()
until workspace:FindFirstChild("Tent")
wait(2)
game.Lighting.TimeOfDay = 18
script.Parent.Parent.Parent.Frame.Visible = true
write(script.Parent,"It's getting late. We should light up the logs")
wait(1)
workspace.IEntity_303I2.HumanoidRootPart.CFrame = workspace.tppart2.CFrame
game.ReplicatedStorage.RemoteEvent:FireAllClients()
local weld = Instance.new("Weld",workspace.IEntity_303I2.RightHand)
weld.Part0 = workspace.IEntity_303I2.RightHand
weld.Part1 = workspace.lighter.Handle
local animation1 = Instance.new("Animation",workspace.IEntity_303I2)
animation1.AnimationId = "rbxassetid://5947811044"
local animation2 = workspace.IEntity_303I2.Humanoid:LoadAnimation(animation1)
animation2:Play()
wait(animation2.Length)
workspace.lighter:Destroy()
weld:Destroy()
animation1:Destroy()
Instance.new("Fire",workspace.Campfire.Campfire.Model.Firepart)
wait(7)
workspace.IEntity_303I2.Humanoid:MoveTo(workspace.MoveToPart.Position)
local GrabWater = Instance.new("Animation",Rig)
GrabWater.AnimationId = 'rbxassetid://5949465584'
local GrabWaterPlay = Rig.Humanoid:LoadAnimation(GrabWater)
GrabWaterPlay:Play()
local M6D = Instance.new("Motor6D",Rig.RightHand)
weld.Part0 = Rig.RightHand
weld.Part1 = workspace.WaterCan.Handle2
Rig.Humanoid:MoveTo(workspace.NpcSit2.Position)
Rig.Humanoid.MoveToFinished:Connect(function()
Rig.HumanoidRootPart.CFrame = workspace.NpcSit2.CFrame
local sit1 = Instance.new("Animation",Rig)
sit1.AnimationId = 'rbxassetid://5949457880'
local Sit = Rig.Humanoid:LoadAnimation(sit1)
Sit:Play()
end)
COMMUNITY QUESTION
When i tell the rig's humanoid to MoveTo it doesnt work?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Have you checked the output?