Advertisement
icy-desudesu

(icy) weeping angel

Aug 3rd, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. local players = game:GetService("Players")
  2. local wrkspace = game:GetService("Workspace")
  3. local lighting = game:GetService("Lighting")
  4. local dark = false
  5.  
  6. local plyr = players.IcyMocha
  7. local char = plyr.Character
  8. local head = char.Head
  9. local torso = char.Torso
  10. local rarm = char["Right Arm"]
  11. local larm = char["Left Arm"]
  12. local lleg = char["Left Leg"]
  13. local rleg = char["Right Leg"]
  14. local name = "Weeping Angel"
  15. pcall(function() char[name]:remove() end)
  16. local model = Instance.new("Model", char)
  17. model.Name = name
  18. char.Humanoid.WalkSpeed = 0
  19. pcall(function() char.Animate:remove() end)
  20. function create(part, weld, mesh, sizex, sizey, sizez, scalex, scaley, scalez, type, bevel, id, cz, ca, color, form, anchored, cancollide, trans, reflect, name, topsurf, botsurf)
  21. part.formFactor = form
  22. part.Size = Vector3.new(sizex, sizey, sizez)
  23. part.BrickColor = BrickColor.new(color)
  24. part.Anchored = anchored
  25. part.CanCollide = cancollide
  26. part.Transparency = trans
  27. part.Reflectance = reflect
  28. part.Name = name
  29. part.TopSurface = topsurf
  30. part.BottomSurface = botsurf
  31. part:BreakJoints()
  32. weld.Part0 = part
  33. weld.Part1 = cz
  34. weld.C1 = ca
  35. weld.Parent = part
  36. mesh.Parent = part
  37. mesh.Scale = Vector3.new(scalex, scaley, scalez)
  38. if mesh.className == "BlockMesh" then
  39. mesh.Bevel = bevel
  40. end
  41. if mesh.className == "SpecialMesh" then
  42. mesh.MeshType = type
  43. end
  44. if mesh.className == "SpecialMesh" and mesh.MeshType == "FileMesh" then
  45. mesh.MeshId = id
  46. end
  47. end
  48.  
  49. local part1 = Instance.new("Part", model)
  50. local mesh1 = Instance.new("BlockMesh")
  51. local weld1 = Instance.new("Weld")
  52. create(part1, weld1, mesh1, 0.2, 0.2, 0.2, 10.05, 10.05, 5.05, "", 0, "", torso, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), "Mid stone grey", "Custom", false, false, 0, 0, "Torso", "Smooth", "Smooth")
  53. local part2 = Instance.new("Part", model)
  54. local mesh2 = Instance.new("BlockMesh")
  55. local weld2 = Instance.new("Weld")
  56. create(part2, weld2, mesh2, 0.2, 0.2, 0.2, 5.05, 10.05, 5.05, "", 0, "", rarm, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), "Mid stone grey", "Custom", false, false, 0, 0, "Torso", "Smooth", "Smooth")
  57. local part3 = Instance.new("Part", model)
  58. local mesh3 = Instance.new("BlockMesh")
  59. local weld3 = Instance.new("Weld")
  60. create(part3, weld3, mesh3, 0.2, 0.2, 0.2, 5.05, 10.05, 5.05, "", 0, "", larm, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), "Mid stone grey", "Custom", false, false, 0, 0, "Torso", "Smooth", "Smooth")
  61. local part4 = Instance.new("Part", model)
  62. local mesh4 = Instance.new("BlockMesh")
  63. local weld4 = Instance.new("Weld")
  64. create(part4, weld4, mesh4, 0.2, 0.2, 0.2, 5.05, 10.05, 5.05, "", 0, "", rleg, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), "Mid stone grey", "Custom", false, false, 0, 0, "Torso", "Smooth", "Smooth")
  65. local part5 = Instance.new("Part", model)
  66. local mesh5 = Instance.new("BlockMesh")
  67. local weld5 = Instance.new("Weld")
  68. create(part5, weld5, mesh5, 0.2, 0.2, 0.2, 5.05, 10.05, 5.05, "", 0, "", lleg, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), "Mid stone grey", "Custom", false, false, 0, 0, "Torso", "Smooth", "Smooth")
  69. local part6 = Instance.new("Part", model)
  70. local mesh6 = Instance.new("SpecialMesh")
  71. local weld6 = Instance.new("Weld")
  72. create(part6, weld6, mesh6, 0.2, 0.2, 0.2, 11.5, 6.5, 6.5, "Head", 0, "", head, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), "Mid stone grey", "Custom", false, false, 0, 0, "Head", "Smooth", "Smooth")
  73. local part7 = Instance.new("Part", model)
  74. local mesh7 = Instance.new("BlockMesh")
  75. local weld7 = Instance.new("Weld")
  76. create(part7, weld7, mesh7, 0.2, 0.2, 0.2, 11.5, 1, 1, "", 0, "", torso, CFrame.new(0, 0, 0.75) * CFrame.Angles(0, 0, 0), "Mid stone grey", "Custom", false, false, 0, 0, "Torso", "Smooth", "Smooth")
  77. for i = 1, 8 do
  78. local part7 = Instance.new("Part", model)
  79. local mesh7 = Instance.new("BlockMesh")
  80. local weld7 = Instance.new("Weld")
  81. create(part7, weld7, mesh7, 0.2, 0.2, 0.2, 11.5, 23, 5, "", 0, "", torso, CFrame.new(0-i, i/3.5, 0.75) * CFrame.Angles(0, 0, -i/10), "Mid stone grey", "Custom", false, false, 0, 0, "Torso", "Smooth", "Smooth")
  82. local part8 = Instance.new("Part", model)
  83. local mesh8 = Instance.new("BlockMesh")
  84. local weld8 = Instance.new("Weld")
  85. create(part8, weld8, mesh8, 0.2, 0.2, 0.2, 11.5, 23, 5, "", 0, "", torso, CFrame.new(0+i, i/3.5, 0.75) * CFrame.Angles(0, 0, i/10), "Mid stone grey", "Custom", false, false, 0, 0, "Torso", "Smooth", "Smooth")
  86. wait()
  87. end
  88.  
  89. pcall(function() plyr.PlayerGui.ScreenGui:remove() end)
  90. local sc = Instance.new("ScreenGui", plyr.PlayerGui)
  91.  
  92. local tt = Instance.new("TextButton", sc)
  93. tt.Position = UDim2.new(0, 300, 0, 250)
  94. tt.Size = UDim2.new(0, 200, 0, 20)
  95. tt.Text = "dark"
  96. tt.BackgroundColor = BrickColor.new("White")
  97. tt.MouseButton1Down:connect(function()
  98. if dark == false then
  99. dark = true
  100. coroutine.resume(coroutine.create(function()
  101. game.Lighting.Ambient = Color3.new(-1, -1, -1)
  102. game.Lighting.TimeOfDay = "00:00:00"
  103. char.Humanoid.WalkSpeed = 45
  104. wait(2.5)
  105. game.Lighting.Ambient = Color3.new(1, 1, 1)
  106. game.Lighting.TimeOfDay = "14:00:00"
  107. char.Humanoid.WalkSpeed = 0
  108. wait(0.5)
  109. game.Lighting.Ambient = Color3.new(-1, -1, -1)
  110. game.Lighting.TimeOfDay = "00:00:00"
  111. char.Humanoid.WalkSpeed = 45
  112. wait(5)
  113. game.Lighting.Ambient = Color3.new(1, 1, 1)
  114. game.Lighting.TimeOfDay = "14:00:00"
  115. char.Humanoid.WalkSpeed = 0
  116. wait()
  117. end))
  118. dark = false
  119. end
  120. end)
  121.  
  122. while wait() do
  123. for _,v in pairs(players:GetChildren()) do
  124. if dark == true and (v.Character.Torso.Position - torso.Position).magnitude < 5 then
  125. v.Character:BreakJoints()
  126. end
  127. end
  128. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement