Advertisement
HenloMyDude

mine turtle

Sep 21st, 2019
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.98 KB | None | 0 0
  1.  
  2. size = 0.5
  3. plr = owner
  4. char = plr.Character
  5. tors = char.Torso
  6. hed = char.Head
  7. root = char.HumanoidRootPart
  8. ra = char["Right Arm"]
  9. la = char["Left Arm"]
  10. rl = char["Right Leg"]
  11. ll = char["Left Leg"]
  12.  
  13. function HELLO()
  14. local MINETURTLE = Instance.new("Sound",char.Head)
  15. MINETURTLE.SoundId = "rbxassetid://870692662"
  16. MINETURTLE.TimePosition = 24.6
  17. MINETURTLE.Playing = true
  18. MINETURTLE.Volume = 10
  19. wait(1)
  20. MINETURTLE:Destroy()
  21. end
  22. function PRESS()
  23. local PUSH = Instance.new("Sound",char.Head)
  24. PUSH.SoundId = "rbxassetid://870692662"
  25. PUSH.TimePosition = 25.456
  26. PUSH.Playing = true
  27. PUSH.Volume = 10
  28. wait(0.6137)
  29. PUSH:Destroy()
  30. end
  31. function TURTLE()
  32. local TURTLE = Instance.new("Sound",char.Head)
  33. TURTLE.SoundId = "rbxassetid://870692662"
  34. TURTLE.TimePosition = 23.98
  35. TURTLE.Playing = true
  36. TURTLE.Volume = 10
  37. wait(0.6137)
  38. TURTLE:Destroy()
  39. end
  40. function BOOMSOUND()
  41. local BOOM = Instance.new("Sound",char.Head)
  42. BOOM.SoundId = "rbxassetid://870692662"
  43. BOOM.TimePosition = 25.98
  44. BOOM.Playing = true
  45. BOOM.Volume = 10
  46. wait(1.6137)
  47. BOOM:Destroy()
  48. end
  49.  
  50.  
  51. --Converted with ttyyuu12345's model to script plugin v4
  52. function sandbox(var,func)
  53. local env = getfenv(func)
  54. local newenv = setmetatable({},{
  55. __index = function(self,k)
  56. if k=="script" then
  57. return var
  58. else
  59. return env[k]
  60. end
  61. end,
  62. })
  63. setfenv(func,newenv)
  64. return func
  65. end
  66. cors = {}
  67. mas = Instance.new("Model",game:GetService("Lighting"))
  68. ScreenGui0 = Instance.new("ScreenGui")
  69. TextLabel3 = Instance.new("TextLabel")
  70. ImageLabel1 = Instance.new("ImageLabel")
  71. Script2 = Instance.new("Script")
  72. ScreenGui0.Name = "intro"
  73. ScreenGui0.Parent = mas
  74. ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  75. TextLabel3.Name = "background"
  76. TextLabel3.Parent = ScreenGui0
  77. TextLabel3.Position = UDim2.new(-0.239423811, 0, -0.759343445, 0)
  78. TextLabel3.Size = UDim2.new(0, 1974, 0, 1682)
  79. TextLabel3.BackgroundColor = BrickColor.new("Institutional white")
  80. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  81. TextLabel3.BorderSizePixel = 0
  82. TextLabel3.Font = Enum.Font.SourceSans
  83. TextLabel3.FontSize = Enum.FontSize.Size32
  84. TextLabel3.Text = "a s d f m o v i e"
  85. TextLabel3.TextColor = BrickColor.new("Really black")
  86. TextLabel3.TextColor3 = Color3.new(0, 0, 0)
  87. TextLabel3.TextSize = 30
  88. ImageLabel1.Name = "mineturtle"
  89. ImageLabel1.Parent = ScreenGui0
  90. ImageLabel1.Position = UDim2.new(0.310958892, 0, 0.556818187, 0)
  91. ImageLabel1.Size = UDim2.new(0, 273, 0, 198)
  92. ImageLabel1.BackgroundColor = BrickColor.new("Institutional white")
  93. ImageLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
  94. ImageLabel1.BackgroundTransparency = 1
  95. ImageLabel1.Image = "http://www.roblox.com/asset/?id=97291063"
  96. Script2.Name = "spin"
  97. Script2.Parent = ImageLabel1
  98. table.insert(cors,sandbox(Script2,function()
  99.  
  100.  
  101. --scripted by youngmacka123
  102.  
  103. while wait() do
  104. if script.Parent then
  105. script.Parent.Rotation = script.Parent.Rotation + 6
  106. end
  107. end
  108. end))
  109. for i,v in pairs(mas:GetChildren()) do
  110. v.Parent = plr.PlayerGui
  111. pcall(function() v:MakeJoints() end)
  112. end
  113. mas:Destroy()
  114. for i,v in pairs(cors) do
  115. spawn(function()
  116. pcall(v)
  117. end)
  118. end
  119.  
  120. HELLO()
  121.  
  122. for i = 1,25 do
  123. wait()
  124. TextLabel3.BackgroundTransparency = TextLabel3.BackgroundTransparency + 0.1
  125. TextLabel3.TextTransparency = TextLabel3.TextTransparency + 0.1
  126. ImageLabel1.ImageTransparency = ImageLabel1.ImageTransparency + 0.1
  127. end
  128.  
  129. ScreenGui0:Destroy()
  130.  
  131. outline = Instance.new("SelectionBox")
  132. outline.Adornee = nil
  133. outline.Color3 = Color3.new(0, 0, 0)
  134. outline.LineThickness = 0.035
  135.  
  136. outline2 = Instance.new("SelectionSphere")
  137. outline2.Adornee = nil
  138. outline2.Color3 = Color3.new(0, 0, 0)
  139. outline2.Visible = true
  140.  
  141. function addoutline(part)
  142. local newoutline = outline:Clone()
  143. newoutline.Adornee = part
  144. newoutline.Parent = part
  145. return newoutline
  146. end
  147.  
  148. function sphereoutline(part)
  149. local newoutline = outline2:Clone()
  150. newoutline.Adornee = part
  151. newoutline.Parent = part
  152. return newoutline
  153. end
  154.  
  155. tors.Size = Vector3.new(2 * size, 1 * size, 3 * size)
  156. addoutline(tors)
  157. hed.Size = Vector3.new(1 * size, 1 * size, 1 * size)
  158. addoutline(hed)
  159. root.Size = tors.Size
  160. addoutline(ra)
  161. ra.Size = Vector3.new(1 * size, 2 * size, 1 * size)
  162. addoutline(la)
  163. la.Size = Vector3.new(1 * size, 2 * size, 1 * size)
  164. addoutline(rl)
  165. rl.Size = Vector3.new(1 * size, 2 * size, 1 * size)
  166. addoutline(ll)
  167. ll.Size = Vector3.new(1 * size, 2 * size, 1 * size)
  168.  
  169. button = Instance.new("Part",char)
  170. button.Shape = "Cylinder"
  171. button.CanCollide = false
  172. button.Size = Vector3.new(0.75, 0.75, 0.75)
  173. button.Touched:connect(function(hit)
  174. if not button:FindFirstChild("Boom") then
  175. local boom = Instance.new("NumberValue",button)
  176. boom.Name = "Boom"
  177. HELLO()
  178. PRESS()
  179. local explode = Instance.new("Explosion",button)
  180. explode.Position = button.Position
  181. BOOMSOUND()
  182. end
  183. end)
  184.  
  185. butweld = Instance.new("Weld",char)
  186. butweld.Part0 = button
  187. butweld.Part1 = tors
  188. butweld.C0 = CFrame.new(0, 0, -0.15)
  189. butweld.C1 = CFrame.Angles(0, 0, 77)
  190.  
  191. local hum = char.Humanoid
  192. local RS = char.Torso["Right Shoulder"]
  193. local LS = char.Torso["Left Shoulder"]
  194. local RH = char.Torso["Right Hip"]
  195. local LH = char.Torso["Left Hip"]
  196. local neck = char.Torso["Neck"]
  197. local anim = char.Animate
  198. local rootj = char.HumanoidRootPart.RootJoint
  199. local sine = 0
  200. local RSnor = RS.C0
  201. local LSnor = LS.C0
  202. local RHnor = RH.C0
  203. local LHnor = LH.C0
  204. local rootjnor = rootj.C0
  205. local necknor = neck.C0
  206. local Cos = math.cos
  207.  
  208. plr.Chatted:connect(function(msg)
  209. msg=msg:lower()
  210. if msg == "hello" then
  211. HELLO()
  212. end
  213. if msg == "destruct" then
  214. local boom = Instance.new("NumberValue",button)
  215. boom.Name = "Boom"
  216. HELLO()
  217. PRESS()
  218. local explode = Instance.new("Explosion",button)
  219. explode.Position = button.Position
  220. BOOMSOUND()
  221. end
  222. end)
  223.  
  224. while true do
  225. wait()
  226. --[[
  227. --original animations
  228. RS.C0 = RS.C0:Lerp(RSnor * CFrame.new(0.85 * size, -1.25 * size, -0.75 * size), 0.15)
  229. LS.C0 = LS.C0:Lerp(LSnor * CFrame.new(-0.85 * size, -1.25 * size, -0.75 * size), 0.15)
  230. RH.C0 = RH.C0:Lerp(RHnor * CFrame.new(-0.85 * size, 0.75 * size, -1.25 * size), 0.15)
  231. LH.C0 = LH.C0:Lerp(LHnor * CFrame.new(0.85 * size, 0.75 * size, -1.25 * size), 0.15)
  232. neck.C0 = neck.C0:Lerp(necknor * CFrame.new(0, -1.25, -0.55), 0.15)
  233. ]]--
  234.  
  235. --small animations
  236. RS.C0 = RS.C0:Lerp(RSnor * CFrame.new(0.85 * size, -1.25 * size, -2 * size), 0.15)
  237. LS.C0 = LS.C0:Lerp(LSnor * CFrame.new(-0.85 * size, -1.25 * size, -2 * size), 0.15)
  238. RH.C0 = RH.C0:Lerp(RHnor * CFrame.new(-0.85 * size, 2.75 * size, -2 * size), 0.15)
  239. LH.C0 = LH.C0:Lerp(LHnor * CFrame.new(0.85 * size, 2.75 * size, -2 * size), 0.15)
  240. neck.C0 = neck.C0:Lerp(necknor * CFrame.new(0 * size, -1.25 * size, -2 * size), 0.15)
  241. for turtle,v in pairs (char:children()) do
  242. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  243. v:Destroy()
  244. end
  245. if v:IsA("Part") then
  246. v.BrickColor = BrickColor.new("Institutional white")
  247. if v.Shape == "Ball" then
  248. if not v:FindFirstChild("SelectionSphere") then
  249. sphereoutline(v)
  250. end
  251. end
  252. end
  253. end
  254. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement