Advertisement
HenloMyDude

revenge but u can change the song

Sep 17th, 2019
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.11 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://3295654382"
  97. music.Name = "Music"
  98. music.Volume = 3
  99. music.Looped = true
  100. music:Play()
  101.  
  102. plr.Chatted:connect(function(message)
  103. message = message:lower()
  104. if message:sub(1, 2) == "!s" then
  105. music:Stop()
  106. music.SoundId = "rbxassetid://" ..message:sub(4)
  107. wait()
  108. music:Play()
  109. end
  110. end)
  111.  
  112. if head:FindFirstChild("Mesh") then head.Mesh:Destroy() end
  113. if head:FindFirstChild("face") then head.face:Destroy() end
  114.  
  115. local shirt = Instance.new("Shirt", char)
  116. shirt.ShirtTemplate = "rbxassetid://3516317543"
  117. local pants = Instance.new("Pants", char)
  118. pants.PantsTemplate = "rbxassetid://3516314876"
  119.  
  120.  
  121. local colors = Instance.new("BodyColors", char)
  122. colors.HeadColor = BrickColor.new("Brick yellow")
  123. colors.LeftArmColor = BrickColor.new("Brick yellow")
  124. colors.RightArmColor = BrickColor.new("Brick yellow")
  125. colors.TorsoColor = BrickColor.new("Brick yellow")
  126. colors.LeftLegColor = BrickColor.new("Brick yellow")
  127. colors.RightLegColor = BrickColor.new("Brick yellow")
  128.  
  129. function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name)
  130. local joint = Instance.new("Weld", wp0)
  131. joint.Part0 = wp0
  132. joint.Part1 = wp1
  133. joint.C0 = CFrame.new(wc0x, wc0y, wc0z)
  134. joint.C1 = CFrame.new(wc1x, wc1y, wc1z)
  135. joint.Name = name
  136. return joint
  137. end
  138.  
  139. local RS = createJoint(char.Torso, char["Right Arm"], 1.5, 1, 0, 0, 1, 0, "Right Shoulder")
  140. local TS = createJoint(char.HumanoidRootPart, char.Torso, 0, 0, 0, 0, 0, 0, "RootJoint")
  141. local LS = createJoint(char.Torso, char["Left Arm"], -1.5, 1, 0, 0, 1, 0, "Left Shoulder")
  142. local RH = createJoint(char.Torso, char["Right Leg"], 0.5, -1.5, 0, 0, 1.5, 0, "Right Hip")
  143. local LH = createJoint(char.Torso, char["Left Leg"], -0.5, -1.5, 0, 0, 1.5, 0, "Left Hip")
  144. local NK = createJoint(char.Torso, char.Head, 0, 2, 0, 0, -1/2, 0, "Neck")
  145.  
  146. local rsc0 = RS.C0
  147. local lsc0 = LS.C0
  148. local tsc0 = TS.C0
  149. local rhc0 = RH.C0
  150. local lhc0 = LH.C0
  151. local nkc0 = NK.C0
  152.  
  153. local remote = Instance.new("RemoteFunction", char)
  154. remote.Name = "MouthRemote"
  155.  
  156. function recieveInfo(player, info, n, t, ls, rs, lh, rh)
  157. playback = info
  158. NK.C0 = n
  159. TS.C0 = t
  160. LS.C0 = ls
  161. RS.C0 = rs
  162. LH.C0 = lh
  163. RH.C0 = rh
  164. return info
  165. end
  166. remote.OnServerInvoke = recieveInfo
  167.  
  168. NLS([[
  169. local plr = owner
  170. local cam = workspace.CurrentCamera
  171. local char = plr.Character
  172. local NK = char.Torso:WaitForChild("Neck")
  173. local RS = char.Torso:WaitForChild("Right Shoulder")
  174. local LS = char.Torso:WaitForChild("Left Shoulder")
  175. local RH = char.Torso:WaitForChild("Right Hip")
  176. local LH = char.Torso:WaitForChild("Left Hip")
  177. local TS = char.HumanoidRootPart:WaitForChild("RootJoint")
  178. local hum = char.Humanoid
  179.  
  180. local rsc0 = CFrame.new(1.5, 1, 0)
  181. local lsc0 = CFrame.new(-1.5, 1, 0)
  182. local tsc0 = CFrame.new()
  183. local rhc0 = CFrame.new(0.5, -1.5, 0)
  184. local lhc0 =CFrame.new(-0.5, -1.5, 0)
  185. local nkc0 = CFrame.new(0, 2, 0)
  186.  
  187. local music = owner.Character.Head:WaitForChild("Music")
  188. local mouth = char:WaitForChild("Mouth")
  189. local mouthsize = mouth:WaitForChild("Mesh")
  190. local t = tick()
  191. local root = char.HumanoidRootPart
  192. local action = ""
  193.  
  194. function lerp(a, b, t)
  195. return a * (1-t) + (b*t)
  196. end
  197.  
  198. game:GetService("RunService").RenderStepped:connect(function()
  199. t = t + 0.5
  200.  
  201. local playback = music.PlaybackLoudness
  202. local a = playback - 350
  203. a = a * 3
  204. if a < 0 then
  205. a = 0
  206. elseif a > 45 then
  207. a = 45
  208. end
  209. cam.FieldOfView = lerp(cam.FieldOfView, 70 + playback/20, 0.3)
  210. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(a)/3, 0, 0), 0.1)
  211. mouthsize.Scale = mouthsize.Scale:lerp(Vector3.new(0.75+a/45/2, a/45, 1), 0.1)
  212.  
  213.  
  214. if not hum.Sit then
  215. if math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1 and hum:GetState() ~= Enum.HumanoidStateType.Freefall then
  216. action = "Walk"
  217. elseif math.abs(root.Velocity.x) < 1 or math.abs(root.Velocity.z) < 1 then
  218. action = "Idle"
  219. end
  220. else
  221. action = "Sit"
  222. end
  223.  
  224. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(a)/3, 0, 0), 0.1)
  225. mouthsize.Scale = mouthsize.Scale:lerp(Vector3.new(0.75+a/45/2, a/45, 1), 0.1)
  226.  
  227. if action == "Idle" then
  228. speed = 0.5
  229.  
  230. TS.C0 = TS.C0:lerp(tsc0, speed)
  231. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(-2) + -math.sin(t/20)/10/2), speed)
  232. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(2) + math.sin(t/20)/10/2), speed)
  233. LH.C0 = LH.C0:lerp(lhc0, speed)
  234. RH.C0 = RH.C0:lerp(rhc0, speed)
  235. elseif action == "Walk" then
  236. speed = 0.5
  237.  
  238. TS.C0 = TS.C0:lerp(tsc0, speed)
  239. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.sin(t/3)/1.5, 0, 0), speed)
  240. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(-math.sin(t/3)/1.5, 0, 0), speed)
  241. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(-math.sin(t/3)/1.5, 0, 0), speed)
  242. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.sin(t/3)/1.5, 0, 0), speed)
  243. elseif action == "Sit" then
  244. speed = 0.5
  245.  
  246. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0.5, 0), speed)
  247. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(15), 0, math.rad(-2) + -math.sin(t/20)/10/2), speed)
  248. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(15), 0, math.rad(2) + math.sin(t/20)/10/2), speed)
  249. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, -math.rad(15)), speed)
  250. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(15)), speed)
  251. end
  252.  
  253.  
  254. if owner.Character:WaitForChild("MouthRemote") then
  255. owner.Character.MouthRemote:InvokeServer(music.PlaybackLoudness, NK.C0, TS.C0, LS.C0, RS.C0, LH.C0, RH.C0)
  256. end
  257.  
  258.  
  259.  
  260. end)
  261. ]], char)
  262.  
  263.  
  264.  
  265. RunS.Stepped:connect(function()
  266. t = t + 0.5
  267. local a = playback - 350
  268. a = a * 3
  269. if a < 0 then
  270. a = 0
  271. elseif a > 45 then
  272. a = 45
  273. end
  274.  
  275. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(a)/3, 0, 0), 0.1)
  276. mouthsize.Scale = mouthsize.Scale:lerp(Vector3.new(0.75+a/45/2, a/45, 1), 0.1)
  277.  
  278.  
  279. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement