Advertisement
ttyyuu12345

slendy

Feb 10th, 2017
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.26 KB | None | 0 0
  1. mode = 3
  2. --Mode 1 makes people dissapear--
  3. --Mode 2 makes him ask for 20 dollars--
  4. --Mode 3 makes it randomly switch between mode 1 and 2--
  5. --Mode 4 makes him appear closer to you and damage on touch--
  6. while true do
  7. if mode==3 then
  8. setmode = math.random(1,2)
  9. else
  10. setmode = mode
  11. end
  12. Players=game.Players:GetChildren()
  13. ttr=math.random(1,#Players)
  14. selected = Players[ttr]
  15. tor=selected.Character:findFirstChild("Torso")
  16. if tor~=nil then
  17. Character = Instance.new("Model")
  18. Character.Name = "SlenderMan"
  19. Character.Parent = workspace
  20. local Head = Instance.new("Part")
  21. Head.Name = "Head"
  22. Head.formFactor = 0
  23. Head.Size = Vector3.new(2, 1, 1)
  24. Head.TopSurface = 0
  25. Head.BottomSurface = "Weld"
  26. Head.BrickColor = BrickColor.new("White")
  27. Head.Parent = Character
  28. local Mesh = Instance.new("SpecialMesh")
  29. Mesh.MeshType = "Head"
  30. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  31. Mesh.Parent = Head
  32. local Torso = Instance.new("Part")
  33. Torso.Name = "Torso"
  34. Torso.formFactor = 0
  35. Torso.Size = Vector3.new(2, 2, 1)
  36. Torso.TopSurface = "Studs"
  37. Torso.BottomSurface = "Inlet"
  38. Torso.LeftSurface = "Weld"
  39. Torso.RightSurface = "Weld"
  40. Torso.BrickColor = BrickColor.new("White")
  41. Torso.Parent = Character
  42. if mode==4 then
  43. Torso.Touched:connect(function(hit)
  44. hum=hit.Parent:findFirstChild("Humanoid")
  45. if hum~=nil then
  46. hum.Health = hum.Health - 20
  47. end
  48. end)
  49. end
  50. local TShirt = Instance.new("Decal")
  51. TShirt.Name = "roblox"
  52. TShirt.Face = "Front"
  53. TShirt.Texture = "http://www.roblox.com/asset/?id=64494357"
  54. TShirt.Parent = Torso
  55. local Limb = Instance.new("Part")
  56. Limb.formFactor = 0
  57. Limb.Size = Vector3.new(1, 2, 1)
  58. Limb.TopSurface = "Studs"
  59. Limb.BottomSurface = "Inlet"
  60. Limb.BrickColor = BrickColor.new("White")
  61. local Limb2 = Instance.new("Part")
  62. Limb2.formFactor = 0
  63. Limb2.Size = Vector3.new(1, 2, 1)
  64. Limb2.TopSurface = "Studs"
  65. Limb2.BottomSurface = "Inlet"
  66. Limb2.BrickColor = BrickColor.new("White")
  67. local LeftArm = Limb2:Clone()
  68. LeftArm.Name = "Left Arm"
  69. LeftArm.Parent = Character
  70. local RightArm = Limb2:Clone()
  71. RightArm.Name = "Right Arm"
  72. RightArm.Parent = Character
  73. local LeftLeg = Limb:Clone()
  74. LeftLeg.Name = "Left Leg"
  75. LeftLeg.Parent = Character
  76. local RightLeg = Limb:Clone()
  77. RightLeg.Name = "Right Leg"
  78. RightLeg.Parent = Character
  79. Character:BreakJoints()
  80. local Neck = Instance.new("Motor6D")
  81. Neck.Name = "Neck"
  82. Neck.Part0 = Torso
  83. Neck.Part1 = Head
  84. Neck.C0 = CFrame.new(0, 2, 0)
  85. Neck.C1 = CFrame.new(0, 0.5, 0)
  86. Neck.MaxVelocity = 0
  87. Neck.Parent = Torso
  88. local LeftShoulder = Instance.new("Motor6D")
  89. LeftShoulder.Name = "Left Shoulder"
  90. LeftShoulder.Part0 = Torso
  91. LeftShoulder.Part1 = LeftArm
  92. LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  93. LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  94. LeftShoulder.MaxVelocity = 0.5
  95. LeftShoulder.Parent = Torso
  96. local RightShoulder = Instance.new("Motor6D")
  97. RightShoulder.Name = "Right Shoulder"
  98. RightShoulder.Part0 = Torso
  99. RightShoulder.Part1 = RightArm
  100. RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  101. RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  102. RightShoulder.MaxVelocity = 0.5
  103. RightShoulder.Parent = Torso
  104. local LeftHip = Instance.new("Motor6D")
  105. LeftHip.Name = "Left Hip"
  106. LeftHip.Part0 = Torso
  107. LeftHip.Part1 = LeftLeg
  108. LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  109. LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  110. LeftHip.MaxVelocity = 0.1
  111. LeftHip.Parent = Torso
  112. local RightHip = Instance.new("Motor6D")
  113. RightHip.Name = "Right Hip"
  114. RightHip.Part0 = Torso
  115. RightHip.Part1 = RightLeg
  116. RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  117. RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  118. RightHip.MaxVelocity = 0.1
  119. RightHip.Parent = Torso
  120. local Humanoid = Instance.new("Humanoid")
  121. Humanoid.Parent = Character
  122. Humanoid.WalkSpeed = 20
  123. local BodyColors = Instance.new("BodyColors")
  124. BodyColors.Name = "Body Colors"
  125. BodyColors.HeadColor = Head.BrickColor
  126. BodyColors.TorsoColor = Torso.BrickColor
  127. BodyColors.LeftArmColor = LeftArm.BrickColor
  128. BodyColors.RightArmColor = RightArm.BrickColor
  129. BodyColors.LeftLegColor = LeftLeg.BrickColor
  130. BodyColors.RightLegColor = RightLeg.BrickColor
  131. BodyColors.Parent = Character
  132. local Shirt = Instance.new("Shirt")
  133. Shirt.Name = "Shirt"
  134. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=33209766"
  135. Shirt.Parent = Character
  136. local ShirtGraphic = Instance.new("ShirtGraphic")
  137. ShirtGraphic.Name = "Shirt Graphic"
  138. ShirtGraphic.Graphic = ""
  139. ShirtGraphic.Parent = Character
  140. local Pants = Instance.new("Pants")
  141. Pants.Name = "Pants"
  142. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=33210029"
  143. Pants.Parent = Character
  144. if mode==4 then
  145. Torso.CFrame = CFrame.new( tor.Position.X+0.5, tor.Position.Y+0.5, tor.Position.Z+0.5)
  146. else
  147. Torso.CFrame = CFrame.new( tor.Position.X+5, tor.Position.Y+5, tor.Position.Z+5)
  148. end
  149. chmesh1=Instance.new("CharacterMesh")
  150. chmesh1.Parent = Character
  151. chmesh1.MeshId = "27111419"
  152. chmesh1.BodyPart = "LeftArm"
  153. chmesh2=Instance.new("CharacterMesh")
  154. chmesh2.Parent = Character
  155. chmesh2.MeshId = "27111857"
  156. chmesh2.BodyPart = "LeftLeg"
  157. chmesh3=Instance.new("CharacterMesh")
  158. chmesh3.Parent = Character
  159. chmesh3.MeshId = "27111864"
  160. chmesh3.BodyPart = "RightArm"
  161. chmesh4=Instance.new("CharacterMesh")
  162. chmesh4.Parent = Character
  163. chmesh4.MeshId = "27111882"
  164. chmesh4.BodyPart = "RightLeg"
  165. chmesh5=Instance.new("CharacterMesh")
  166. chmesh5.Parent = Character
  167. chmesh5.MeshId = "27111894"
  168. chmesh5.BodyPart = "Torso"
  169. if setmode==1 then
  170. game:GetService("Chat"):Chat(selected.Character.Head, "Oh no slendys after me", Enum.ChatColor.Red)
  171. wait(5)
  172. char=Players[ttr].Character:GetChildren()
  173. for i=1,#char do
  174. if char[i].className=="Part" then
  175. char[i]:Remove()
  176. elseif char[i].className=="Hat" then
  177. char[i]:Remove()
  178. end
  179. end
  180. end
  181. if setmode==2 then
  182. game:GetService("Chat"):Chat(Head,"Can i have 20 dollars",Enum.ChatColor.Green)
  183. wait(2)
  184. game:GetService("Chat"):Chat(selected.Character:findFirstChild("Head"),"*Gives 20 dollars*",Enum.ChatColor.Green)
  185. wait(2)
  186. game:GetService("Chat"):Chat(Head,"thx",Enum.ChatColor.Green)
  187. wait(2)
  188. end
  189. if mode==4 then
  190. wait(5)
  191. end
  192. Character:Remove()
  193. end
  194. wait(5)
  195. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement