I do this post again because the first one didn’t have answers
-
What do you want to achieve? I want to make a working surfboard (it is not anchored). Players will also be able to get on it
-
What is the issue? I don’t really know how to do it, i tried to use this local script using Motor6D. And then i want that the player will be centre on the surfboard (i put only the right foot with motor6D because i don’t know how to make sure that the player’s feet are at the right place) and when the player walk on the surfboard i made an animation (without moving legs, just hands)
local part = game.Workspace.surfpart
part.ClickDetector.MouseClick:Connect(function()
local character = game.Players.LocalPlayer.Character
local clonesurf = game.ReplicatedStorage.surf:Clone()
clonesurf.Parent = character
local motor = Instance.new("Motor6D", character:FindFirstChild("RightFoot"))
motor.Part0 = clonesurf
motor.Part1 = character:FindFirstChild("RightFoot")
local anim = Instance.new("Animation", character)
anim.AnimationId = "rbxassetid://12099132832"
local animationloaded = character:FindFirstChild("Humanoid"):LoadAnimation(anim)
character:FindFirstChild("Humanoid").Running:Connect(function()
animationloaded:Play()
end)
end)
All answers are welcome : D, thank you
Btw the errors in the script are too much… i only say that the player in the surfboard literally fly
i don’t really know how to attach the plr on the surfboard, i did the script just for try something