Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I dont know how to move HumanoidRootPart?w

Asked by 5 years ago

A couple of months ago I made a animations and a script for a crawl mechanic. As soon as I tried it I saw a problem I cant go full under the blocks that I made for it. Today I found out the problem was the HumanoidRootPart. Some people tried to help me from the group I was in but nothing allowed me I tried to turn of CanCollide nothing, tried to move it in the actual animation cant move it. Please help this is the main mechanic of my game here is the script I used: ~~~~~~~~~~~~~~~~~ local player = game.Players.LocalPlayer repeat wait() until player.Character local character = player.Character local UIS = game:GetService("UserInputService") local deb = false

local Animation = Instance.new("Animation", character) Animation.AnimationId = "rbxassetid://2263799192" local track = character:FindFirstChild("Humanoid"):LoadAnimation(Animation)

UIS.InputBegan:connect(function(input,proc) if not proc then if input.KeyCode == Enum.KeyCode.C and deb == false then deb = true track:Play() wait(1) deb = false end end end) ~~~~~~~~~~~~~~~~~

Answer this question