Advertisement
mr2meows

char replace

Mar 11th, 2023 (edited)
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. -- Objects To Lua Make By HairBaconGamming --
  2. local Module_Scripts = {}
  3. local dude = Instance.new("Model")
  4. local Body = Instance.new("MeshPart")
  5. local Humanoid = Instance.new("Humanoid")
  6. local Animator = Instance.new("Animator")
  7. local HumanoidRootPart = Instance.new("Part")
  8. local Body = Instance.new("Weld")
  9.  
  10. -- Properties --
  11.  
  12. dude.Name = [[dude]]
  13. dude.Parent = game[ [[Lighting]] ]
  14. dude.PrimaryPart = Body
  15.  
  16. Body.CFrame = CFrame.new(17.3740082, 14.9142838, 17.4778748, 1, 0, 0, 0, 0.999996662, 0, 0, 0, 0.999996662)
  17. Body.CanCollide = false
  18. Body.Name = [[Body]]
  19. Body.Parent = dude
  20. Body.Position = Vector3.new(17.374008178710938, 14.914283752441406, 17.477874755859375)
  21. Body.Size = Vector3.new(6.286464691162109, 6.672416687011719, 4.929466247558594)
  22. Body.TextureID = [[rbxassetid://10010810327]]
  23.  
  24. Humanoid.HipHeight = 2.799999952316284
  25. Humanoid.Parent = dude
  26. Humanoid.RigType = Enum.HumanoidRigType.R15
  27.  
  28. Animator.Parent = Humanoid
  29.  
  30. HumanoidRootPart.BottomSurface = Enum.SurfaceType.Smooth
  31. HumanoidRootPart.CFrame = CFrame.new(17.4167557, 15.4846716, 15.8252907, 1, 0, 0, 0, 0.999993324, 0, 0, 0, 0.999993324)
  32. HumanoidRootPart.Name = [[HumanoidRootPart]]
  33. HumanoidRootPart.Parent = dude
  34. HumanoidRootPart.Position = Vector3.new(17.41675567626953, 15.484671592712402, 15.82529067993164)
  35. HumanoidRootPart.Size = Vector3.new(1.6296024322509766, 1.847043514251709, 0.9890289306640625)
  36. HumanoidRootPart.TopSurface = Enum.SurfaceType.Smooth
  37. HumanoidRootPart.Transparency = 1
  38.  
  39. Body.C0 = CFrame.new(-0.0427474976, -0.570391655, 1.65259552, 1, 0, 0, 0, 0.999996662, 0, 0, 0, 0.999996662)
  40. Body.Name = [[Body]]
  41. Body.Parent = HumanoidRootPart
  42. Body.Part0 = HumanoidRootPart
  43. Body.Part1 = Body
  44. function replace()
  45. owner.Character:Destroy()
  46. owner.Character = game.Lighting.dude:Clone(workspace)
  47. end
  48. owner.OnCharacterAdded:Connect(replace())
  49. -- End --
  50. -- Thank for using --
  51.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement