Advertisement
Guest User

qwsegrtyree

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