Advertisement
HenloMyDude

dirtawigotmined

Sep 4th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.45 KB | None | 0 0
  1. --[[
  2. creeper aw man
  3. by ur mom
  4. what does this script do?
  5. absolutely nothing else but creeper awman
  6. enjoy lads
  7. dont look at the messy script pls im bad
  8. ]]
  9.  
  10. local plr = owner
  11. local char = plr.Character
  12. local hum = char.Humanoid
  13. local rarm = char["Right Arm"]
  14. local larm = char["Left Arm"]
  15. local rleg = char["Right Leg"]
  16. local lleg = char["Left Leg"]
  17. local root = char.HumanoidRootPart
  18. local tors = char.Torso
  19. local head = char.Head
  20. local action = ""
  21. local t = tick()
  22. local RunS = game:GetService("RunService")
  23. local playback = 0
  24.  
  25. hum.HipHeight = 0.5
  26. hum.WalkSpeed = 20
  27.  
  28. head.Size = Vector3.new(2, 2, 2)
  29. rarm.Size = Vector3.new(1, 3, 1)
  30. larm.Size = Vector3.new(1, 3, 1)
  31. tors.Size = Vector3.new(2, 3, 1)
  32. --rleg.Size = Vector3.new(1, 3, 1)
  33. --lleg.Size = Vector3.new(1, 3, 1)
  34.  
  35. --creeper legs scale--
  36.  
  37. rleg.Size = Vector3.new(1, 1, 1)
  38. lleg.Size = Vector3.new(1, 1, 1)
  39. legincrease = 1
  40. ----------------------
  41.  
  42.  
  43. local f = Instance.new("Decal", head)
  44. f.Name = "Texture"
  45. f.Texture = "rbxassetid://39644016"
  46. f.Face = "Front"
  47. wait()
  48. local fah = Instance.new("Decal", head)
  49. fah.Name = "Texture"
  50. fah.Texture = "rbxassetid://2582561835"
  51. fah.Face = "Front"
  52. local fc = f:Clone()
  53. fc.Parent = head
  54. fc.Texture = "rbxassetid://39644016"
  55. fc.Face = "Back"
  56. local fc = f:Clone()
  57. fc.Parent = head
  58. fc.Texture = "rbxassetid://39644016"
  59. fc.Face = "Left"
  60. local fc = f:Clone()
  61. fc.Parent = head
  62. fc.Texture = "rbxassetid://39644016"
  63. fc.Face = "Right"
  64. local fc = f:Clone()
  65. fc.Parent = head
  66. fc.Texture = "rbxassetid://39644016"
  67. fc.Face = "Top"
  68.  
  69. --[[
  70. local glasses = Instance.new("Part", char)
  71. glasses.Anchored = false
  72. glasses.CanCollide = false
  73. glasses.Material = "Neon"
  74. glasses.Transparency = 1
  75. glasses.Size = Vector3.new(2.25, 2.25, 2.25)
  76. glasses.CastShadow = false
  77. local g = Instance.new("Decal", glasses)
  78. g.Name = "Texture"
  79. g.Texture = "rbxassetid://179655033"
  80. g.Face = "Front"
  81. local gc = g:Clone()
  82. gc.Parent = glasses
  83. gc.Texture = "rbxassetid://179655033"
  84. gc.Face = "Right"
  85. local gc = g:Clone()
  86. gc.Parent = glasses
  87. gc.Texture = "rbxassetid://179655033"
  88. gc.Face = "Left"
  89. local glassesw = Instance.new("Weld", glasses)
  90. glassesw.Part0 = head
  91. glassesw.Part1 = glasses
  92. ]]--
  93.  
  94. local mouth = Instance.new("Part", char)
  95. mouth.Name = "Mouth"
  96. mouth.BrickColor = BrickColor.new(Color3.new(0, 0, 0))
  97. mouth.Size = Vector3.new(1, 0.5, 2)
  98. mouth.Transparency = 1
  99. local mouthm = Instance.new("Weld", mouth)
  100. mouthm.Part0 = head
  101. mouthm.Part1 = mouth
  102. mouthm.C0 = CFrame.new(0, -0.6, -0.01)
  103. local mouthsize = Instance.new("BlockMesh", mouth)
  104.  
  105. char["Right Arm"].Transparency = 1
  106. char["Left Arm"].Transparency = 1
  107.  
  108. for i,stuff in pairs(char:GetChildren()) do
  109. if stuff:IsA("Shirt") or stuff:IsA("Pants") or stuff:IsA("BodyColors") or stuff:IsA("Hat") or stuff:IsA("Accessory") or stuff:IsA("Accoutrement") or stuff:IsA("CharacterMesh") then
  110. stuff:Destroy()
  111. end
  112. end
  113.  
  114. local music = Instance.new("Sound", head)
  115. music.SoundId = "rbxassetid://3295654382"
  116. music.Name = "Music"
  117. music.Volume = 3
  118. music.Looped = true
  119. music:Play()
  120.  
  121. if head:FindFirstChild("Mesh") then head.Mesh:Destroy() end
  122. if head:FindFirstChild("face") then head.face:Destroy() end
  123.  
  124. local shirt = Instance.new("Shirt", char)
  125. shirt.ShirtTemplate = "rbxassetid://39644016"
  126. local pants = Instance.new("Pants", char)
  127. pants.PantsTemplate = "rbxassetid://39644016"
  128.  
  129.  
  130. local colors = Instance.new("BodyColors", char)
  131. colors.HeadColor = BrickColor.new("Brick yellow")
  132. colors.LeftArmColor = BrickColor.new("Brick yellow")
  133. colors.RightArmColor = BrickColor.new("Brick yellow")
  134. colors.TorsoColor = BrickColor.new("Brick yellow")
  135. colors.LeftLegColor = BrickColor.new("Brick yellow")
  136. colors.RightLegColor = BrickColor.new("Brick yellow")
  137.  
  138. function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name)
  139. local joint = Instance.new("Weld", wp0)
  140. joint.Part0 = wp0
  141. joint.Part1 = wp1
  142. joint.C0 = CFrame.new(wc0x, wc0y, wc0z)
  143. joint.C1 = CFrame.new(wc1x, wc1y, wc1z)
  144. joint.Name = name
  145. return joint
  146. end
  147.  
  148. local RS = createJoint(char.Torso, char["Right Arm"], 1.5, 1, 0, 0, 1, 0, "Right Shoulder")
  149. local TS = createJoint(char.HumanoidRootPart, char.Torso, 0, 0, 0, 0, 0, 0, "RootJoint")
  150. local LS = createJoint(char.Torso, char["Left Arm"], -1.5, 1, 0, 0, 1, 0, "Left Shoulder")
  151. local RH = createJoint(char.Torso, char["Right Leg"], 0.5, -1.5, 0, 0, 1.5, 0, "Right Hip")
  152. local LH = createJoint(char.Torso, char["Left Leg"], -0.5, -1.5, 0, 0, 1.5, 0, "Left Hip")
  153. local NK = createJoint(char.Torso, char.Head, 0, 2, 0, 0, -1/2, 0, "Neck")
  154.  
  155. local rsc0 = RS.C0
  156. local lsc0 = LS.C0
  157. local tsc0 = TS.C0
  158. local rhc0 = RH.C0 * CFrame.new(0, legincrease, 0)
  159. local lhc0 = LH.C0 * CFrame.new(0, legincrease, 0)
  160. local nkc0 = NK.C0
  161.  
  162. local remote = Instance.new("RemoteFunction", char)
  163. remote.Name = "MouthRemote"
  164.  
  165. function recieveInfo(player, info, n, t, ls, rs, lh, rh)
  166. playback = info
  167. NK.C0 = n
  168. TS.C0 = t
  169. LS.C0 = ls
  170. RS.C0 = rs
  171. LH.C0 = lh
  172. RH.C0 = rh
  173. return info
  174. end
  175. remote.OnServerInvoke = recieveInfo
  176.  
  177. NLS([[
  178. local plr = owner
  179. local cam = workspace.CurrentCamera
  180. local char = plr.Character
  181. local NK = char.Torso:WaitForChild("Neck")
  182. local RS = char.Torso:WaitForChild("Right Shoulder")
  183. local LS = char.Torso:WaitForChild("Left Shoulder")
  184. local RH = char.Torso:WaitForChild("Right Hip")
  185. local LH = char.Torso:WaitForChild("Left Hip")
  186. local TS = char.HumanoidRootPart:WaitForChild("RootJoint")
  187. local hum = char.Humanoid
  188.  
  189. local rsc0 = CFrame.new(1.5, 1, 0)
  190. local lsc0 = CFrame.new(-1.5, 1, 0)
  191. local tsc0 = CFrame.new()
  192. local rhc0 = CFrame.new(0.5, -1.5, 0)
  193. local lhc0 =CFrame.new(-0.5, -1.5, 0)
  194. local nkc0 = CFrame.new(0, 2, 0)
  195.  
  196. local music = owner.Character.Head:WaitForChild("Music")
  197. local mouth = char:WaitForChild("Mouth")
  198. local mouthsize = mouth:WaitForChild("Mesh")
  199. local t = tick()
  200. local root = char.HumanoidRootPart
  201. local action = ""
  202.  
  203. function lerp(a, b, t)
  204. return a * (1-t) + (b*t)
  205. end
  206.  
  207. game:GetService("RunService").RenderStepped:connect(function()
  208. t = t + 0.5
  209.  
  210. local playback = music.PlaybackLoudness
  211. local a = playback - 350
  212. a = a * 3
  213. if a < 0 then
  214. a = 0
  215. elseif a > 45 then
  216. a = 45
  217. end
  218. cam.FieldOfView = lerp(cam.FieldOfView, 70 + playback/20, 0.3)
  219. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(a)/3, 0, 0), 0.1)
  220. mouthsize.Scale = mouthsize.Scale:lerp(Vector3.new(0.75+a/45/2, a/45, 1), 0.1)
  221.  
  222.  
  223. if not hum.Sit then
  224. if math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1 and hum:GetState() ~= Enum.HumanoidStateType.Freefall then
  225. action = "Walk"
  226. elseif math.abs(root.Velocity.x) < 1 or math.abs(root.Velocity.z) < 1 then
  227. action = "Idle"
  228. end
  229. else
  230. action = "Sit"
  231. end
  232.  
  233. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(a)/3, 0, 0), 0.1)
  234. mouthsize.Scale = mouthsize.Scale:lerp(Vector3.new(0.75+a/45/2, a/45, 1), 0.1)
  235.  
  236. if action == "Idle" then
  237. speed = 0.5
  238.  
  239. TS.C0 = TS.C0:lerp(tsc0, speed)
  240. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(-2) + -math.sin(t/20)/10/2), speed)
  241. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(2) + math.sin(t/20)/10/2), speed)
  242. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, legincrease, 0),speed)
  243. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, legincrease, 0), speed)
  244. elseif action == "Walk" then
  245. speed = 0.5
  246.  
  247. TS.C0 = TS.C0:lerp(tsc0, speed)
  248. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.sin(t/3)/1.5, 0, 0), speed)
  249. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(-math.sin(t/3)/1.5, 0, 0), speed)
  250. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(-math.sin(t/3)/1.5, 0, 0), speed)
  251. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.sin(t/3)/1.5, 0, 0), speed)
  252. elseif action == "Sit" then
  253. speed = 0.5
  254.  
  255. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0.5, 0), speed)
  256. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(15), 0, math.rad(-2) + -math.sin(t/20)/10/2), speed)
  257. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(15), 0, math.rad(2) + math.sin(t/20)/10/2), speed)
  258. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90) * CFrame.new(0, legincrease, 0), -math.rad(15)), speed)
  259. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90) * CFrame.new(0, legincrease, 0), math.rad(15)), speed)
  260. end
  261.  
  262.  
  263. if owner.Character:WaitForChild("MouthRemote") then
  264. owner.Character.MouthRemote:InvokeServer(music.PlaybackLoudness, NK.C0, TS.C0, LS.C0, RS.C0, LH.C0, RH.C0)
  265. end
  266.  
  267.  
  268.  
  269. end)
  270. ]], char)
  271.  
  272.  
  273.  
  274. RunS.Stepped:connect(function()
  275. t = t + 0.5
  276. local a = playback - 350
  277. a = a * 3
  278. if a < 0 then
  279. a = 0
  280. elseif a > 45 then
  281. a = 45
  282. end
  283.  
  284. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(a)/3, 0, 0), 0.1)
  285. mouthsize.Scale = mouthsize.Scale:lerp(Vector3.new(0.75+a/45/2, a/45, 1), 0.1)
  286.  
  287.  
  288. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement