Advertisement
subaru112g

kid the master xd

Jan 25th, 2019
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.19 KB | None | 0 0
  1. local plr = owner
  2. wait(0.1)
  3.  
  4. local m = Instance.new("Model", game.Workspace)
  5. m.Name = "KidROBLOXKZweitAcc2 the master"
  6.  
  7. local h = Instance.new("Part",m)
  8. h.Name = "Head"
  9. local me = plr.Character.Head.Mesh:Clone()
  10. me.Parent = h
  11. local facee = plr.Character.Head.face:Clone()
  12. facee.Parent = h
  13. h.Size = plr.Character.Head.Size
  14. h:BreakJoints()
  15. h.CanCollide = false
  16. h.Position = plr.Character.Head.Position
  17. h.Position = h.Position + Vector3.new(0, 10, 0)
  18. h.face.Texture = "http://www.roblox.com/asset/?id=28999175"
  19.  
  20. local t = Instance.new("Part",m)
  21. t.Name = "Torso"
  22. t.Size = plr.Character.Torso.Size
  23. t:BreakJoints()
  24. t.CanCollide = false
  25. t.Position = plr.Character.Torso.Position
  26. t.Position = t.Position + Vector3.new(0, 10, 0)
  27.  
  28. local ra = Instance.new("Part",m)
  29. ra.Name = "Right Arm"
  30. ra.Size = plr.Character["Right Arm"].Size
  31. ra:BreakJoints()
  32. ra.Position = plr.Character["Right Arm"].Position
  33. ra.Position = ra.Position + Vector3.new(0, 10, 0)
  34.  
  35. local la = Instance.new("Part",m)
  36. la.Name = "Left Arm"
  37. la.Size = plr.Character["Left Arm"].Size
  38. la:BreakJoints()
  39. la.Position = plr.Character["Left Arm"].Position
  40. la.Position = la.Position + Vector3.new(0, 10, 0)
  41.  
  42. local ll = Instance.new("Part",m)
  43. ll.Name = "Left Leg"
  44. ll.Size = plr.Character["Left Leg"].Size
  45. ll:BreakJoints()
  46. ll.Position = plr.Character["Left Leg"].Position
  47. ll.Position = ll.Position + Vector3.new(0, 10, 0)
  48.  
  49. local rl = Instance.new("Part",m)
  50. rl.Name = "Right Leg"
  51. rl.Size = plr.Character["Right Leg"].Size
  52. rl:BreakJoints()
  53. rl.Position = plr.Character["Right Leg"].Position
  54. rl.Position = rl.Position + Vector3.new(0, 10, 0)
  55.  
  56. for i,v in pairs(m:GetChildren()) do
  57. v:BreakJoints()
  58. end
  59.  
  60. local neck = Instance.new("Motor6D")
  61. neck.Name = "Neck"
  62. neck.Part0 = t
  63. neck.Part1 = h
  64. neck.Parent = t
  65. neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  66. neck.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  67.  
  68. local rs = Instance.new("Motor6D")
  69. rs.Name = "Right Shoulder"
  70. rs.Part0 = t
  71. rs.Part1 = ra
  72. rs.Parent = t
  73. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  74. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  75.  
  76. local ls = Instance.new("Motor6D")
  77. ls.Name = "Left Shoulder"
  78. ls.Part0 = t
  79. ls.Part1 = la
  80. ls.Parent = t
  81. ls.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  82. ls.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  83.  
  84. local lh = Instance.new("Motor6D")
  85. lh.Name = "Left Hip"
  86. lh.Part0 = t
  87. lh.Part1 = ll
  88. lh.Parent = t
  89. lh.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  90. lh.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  91.  
  92. local rh = Instance.new("Motor6D")
  93. rh.Name = "Right Hip"
  94. rh.Part0 = t
  95. rh.Part1 = rl
  96. rh.Parent = t
  97. rh.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  98. rh.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  99.  
  100. local hair = Instance.new("Accessory")
  101. hair.Name = "Pal Hair"
  102. hair.AttachmentPos = Vector3.new(0, 0.25, 0.25)
  103. local ha = Instance.new("Part",hair)
  104. ha.Name = "Handle"
  105. ha.Size = Vector3.new(1, 1, 2)
  106. local me = Instance.new("SpecialMesh", ha)
  107. me.MeshId = "http://www.roblox.com/asset/?id=83293901"
  108. me.TextureId = "http://www.roblox.com/asset/?id=83284747"
  109. me.Scale = Vector3.new(1, 1.05, 1)
  110. me.VertexColor = Vector3.new(1.2, 1.4, 1.4)
  111.  
  112. local sh = Instance.new("Shirt",m)
  113. sh.ShirtTemplate = "http://www.roblox.com/asset/?id=2630752950"
  114. sh.Name = "Shirt"
  115.  
  116. local sh2 = Instance.new("Pants",m)
  117. sh2.PantsTemplate = "http://www.roblox.com/asset/?id=2630771285"
  118. sh2.Name = "Pants"
  119.  
  120. wait(0.000000000000001)
  121.  
  122. local hu = Instance.new("Humanoid", m)
  123. hu.MaxHealth = 100
  124. hu.Health = 100
  125. hu.WalkSpeed = 13
  126.  
  127. h.BrickColor = BrickColor.new("Light orange")
  128. ra.BrickColor = BrickColor.new("Light orange")
  129. la.BrickColor = BrickColor.new("Light orange")
  130. t.BrickColor = BrickColor.new("Light orange")
  131. rl.BrickColor = BrickColor.new("Light orange")
  132. ll.BrickColor = BrickColor.new("Light orange")
  133.  
  134. local animation = Instance.new("Animation", script)
  135. animation.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  136.  
  137. local hum = m:WaitForChild("Humanoid")
  138. local anim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation"))
  139. anim.Looped = true
  140. anim:Play()
  141.  
  142.  
  143. hair.Parent = m
  144.  
  145. local CurrentPart = nil
  146. local MaxInc = 30
  147.  
  148. function onTouched(hit)
  149. if hit.Parent == nil then
  150. return
  151. end
  152.  
  153. local humanoid = hit.Parent:findFirstChild("Humanoid")
  154.  
  155. if humanoid == nil then
  156. CurrentPart = hit
  157. end
  158. end
  159.  
  160. function waitForChild(parent, childName)
  161. local child = parent:findFirstChild(childName)
  162.  
  163. if child then
  164. return child
  165. end
  166.  
  167. while true do
  168. print(childName)
  169.  
  170. child = parent.ChildAdded:wait()
  171.  
  172. if child.Name==childName then
  173. return child
  174. end
  175. end
  176. end
  177.  
  178. local Figure = m
  179. local Humanoid = waitForChild(Figure, "Humanoid")
  180. local Torso = waitForChild(Figure, "Torso")
  181. local Left = waitForChild(Figure, "Left Leg")
  182. local Right = waitForChild(Figure, "Right Leg")
  183.  
  184. Humanoid.Jump = true
  185.  
  186. Left.Touched:connect(onTouched)
  187. Right.Touched:connect(onTouched)
  188.  
  189. while true do
  190. wait(0.5)
  191. if CurrentPart ~= nil then
  192. if math.random(5, 7) == 1 then
  193. Humanoid.Jump = true
  194. end
  195.  
  196. Humanoid:MoveTo(Torso.Position + Vector3.new(math.random(-MaxInc, MaxInc), 0, math.random(-MaxInc, MaxInc)), CurrentPart)
  197. end
  198. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement