So I have a running animation that works amazing in studios is a double tap “w” but when I published the game and played the game public the animation didn’t work. someone will ask to see the code so here ya go
I do.
Let’s just imagine we have a task
But you must know how to weld/positioning things
Task:
Make a player wear a army vest when they join.
Example Source:
game.Players.PlayerAdded:Connect(function(plr)
local vest = game.ReplicatedStorage.Vest -- Your 3d clothing
local char = plr.CharacterAdded:Wait() -- The player character
local humanoidRootPart = char.HumanoidRootPart or char:WaitForChild("HumanoidRootPart")
-- Time to do some welding
vest.CanCollide = false
vest.Anchored = false
vest.CFrame = humanoidRootPart
-- Weld
local weld = Instance.new("WeldConstraint")
weld.Parent = vest
weld.Part0 = vest -- The mesh/part must not be a group or a folder.
weld.Part1 = humanoidRootPart -- The mesh/part must not be a group or a folder.
end)