Hidjusn

Untitled

Aug 10th, 2024
3,034
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. local function onCharacterAdded(character)
  2. wait(1) -- Wait for the character to fully load
  3.  
  4. local head = character:FindFirstChild("Head")
  5. if head then
  6. head.MeshId = "http://www.roblox.com/asset/?id=6686307858"
  7. head.TextureID = "http://www.roblox.com/asset/?id=6686307858"
  8. head.Transparency = 1
  9. end
  10.  
  11. local rightLowerLeg = character:FindFirstChild("RightLowerLeg")
  12. if rightLowerLeg then
  13. rightLowerLeg.MeshId = "http://www.roblox.com/asset/?id=902942093"
  14. rightLowerLeg.Transparency = 1
  15. end
  16.  
  17. local rightUpperLeg = character:FindFirstChild("RightUpperLeg")
  18. if rightUpperLeg then
  19. rightUpperLeg.MeshId = "http://www.roblox.com/asset/?id=902942096"
  20. rightUpperLeg.TextureID = "http://www.roblox.com/asset/?id=902843398"
  21. end
  22.  
  23. local rightFoot = character:FindFirstChild("RightFoot")
  24. if rightFoot then
  25. rightFoot.MeshId = "http://www.roblox.com/asset/?id=902942089"
  26. rightFoot.Transparency = 1
  27. end
  28. end
  29.  
  30. game.Players.LocalPlayer.CharacterAdded:Connect(onCharacterAdded)
  31.  
  32. -- In case the character is already spawned when the script runs
  33. if game.Players.LocalPlayer.Character then
  34. onCharacterAdded(game.Players.LocalPlayer.Character)
  35. end
Add Comment
Please, Sign In to add comment