Advertisement
memberhero

meme script

Jan 12th, 2021
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.71 KB | None | 0 0
  1. local plr = owner
  2. local char = plr.Character
  3. if char:FindFirstChild("Animate") then
  4. char.Animate:Destroy()
  5. end
  6. local hum = char:FindFirstChildOfClass("Humanoid")
  7. local tors = char.Torso
  8. local head = char.Head
  9. local rootpart = char.HumanoidRootPart
  10. local RS = tors["Right Shoulder"]
  11. local LS = tors["Left Shoulder"]
  12. local RH = tors["Right Hip"]
  13. local LH = tors["Left Hip"]
  14. local neck = tors.Neck
  15. local rootj = rootpart.RootJoint
  16. local RSnor = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  17. local LSnor = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  18. local RHnor = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  19. local LHnor = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  20. local necknor = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  21. local rootjnor = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  22. local sine = 0
  23. local music = Instance.new("Sound")
  24. music.Parent = tors
  25. local timepos = 0
  26. local attack = false
  27. local rooted = false
  28. local playing = true
  29. local speed = 16
  30.  
  31. local nokill = {
  32. "mrfunnylaughs4",
  33. "v_Sado"
  34. }
  35.  
  36. local wig = Instance.new("Part")
  37. wig.Size = Vector3.new(1.4, 1.99, 0.84)
  38. wig.Parent = head
  39. local mesh = Instance.new("SpecialMesh")
  40. mesh.MeshType = Enum.MeshType.FileMesh
  41. mesh.MeshId = "rbxassetid://952995462"
  42. mesh.Scale = Vector3.new(1.44, 1.4, 1.22)
  43. mesh.TextureId = "rbxassetid://949743130"
  44. mesh.VertexColor = Vector3.new(1, 0.839, 0.73)
  45. mesh.Parent = wig
  46. local weld = Instance.new("Weld")
  47. weld.Part0 = wig
  48. weld.Part1 = head
  49. weld.C1 = CFrame.new(0, -0.8, 0.25)
  50. weld.Parent = wig
  51.  
  52. local rem = Instance.new("RemoteEvent")
  53. rem.Name = "Events"
  54. rem.Parent = NLS([==[
  55. local plr = game:GetService("Players").LocalPlayer
  56. local char = plr.Character
  57. local hum = char:FindFirstChildOfClass("Humanoid")
  58. local rem = script:WaitForChild("Events")
  59.  
  60. game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
  61. if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
  62. rem:FireServer(string.lower(input.KeyCode.Name))
  63. end
  64. end)
  65.  
  66. while game:GetService("RunService").RenderStepped:Wait() do
  67. for i,v in pairs(hum:GetPlayingAnimationTracks()) do
  68. v:Stop()
  69. end
  70. end
  71. ]==], char)
  72. rem.OnServerEvent:Connect(function(player, key)
  73. if player == plr then
  74. if attack == false then
  75. if key == "t" then
  76. local sound = Instance.new("Sound")
  77. sound.SoundId = "rbxassetid://145757437"
  78. sound.Volume = 10
  79. sound.Parent = head
  80. local effect = Instance.new("PitchShiftSoundEffect")
  81. effect.Octave = 1.75
  82. effect.Parent = sound
  83. sound:Play()
  84. for i = 1, 120 do
  85. game:GetService("RunService").Stepped:Wait()
  86. head.Size = Vector3.new(2 + 1 * math.sin(sine / 5), 1 + 1 * math.sin(sine / 5), 1 + 1 * math.sin(sine / 5))
  87. neck.C0 = necknor * CFrame.new(0, 0, math.sin(sine / 5))
  88. end
  89. head.Size = Vector3.new(2, 1, 1)
  90. end
  91. if key == "r" then
  92. attack = true
  93. rooted = true
  94. playing = false
  95. local scream = Instance.new("Sound")
  96. scream.SoundId = "rbxassetid://176238381"
  97. scream.Parent = head
  98. scream:Play()
  99. repeat
  100. game:GetService("RunService").Stepped:Wait()
  101. RS.C0 = RSnor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  102. LS.C0 = LSnor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  103. RH.C0 = RHnor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  104. LH.C0 = LHnor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  105. rootj.C0 = rootjnor * CFrame.new(0, 0, 3 * math.sin(sine / 2)) * CFrame.Angles(sine / 2, 0, 0)
  106. neck.C0 = necknor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  107. until scream.Playing == false
  108. scream:Destroy()
  109. rooted = false
  110. if math.random(1, 3) == 1 then
  111. local sound = Instance.new("Sound")
  112. sound.SoundId = "rbxassetid://2878822762"
  113. sound.Volume = 10
  114. sound.PlaybackSpeed = 2
  115. sound.Parent = head
  116. sound:Play()
  117. repeat
  118. game:GetService("RunService").Stepped:Wait()
  119. head.Size = Vector3.new(2 + 1 * math.sin(sine / 2), 1 + 1 * math.sin(sine / 2), 1 + 1 * math.sin(sine / 2))
  120. RS.C0 = RSnor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  121. LS.C0 = LSnor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  122. RH.C0 = RHnor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  123. LH.C0 = LHnor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  124. rootj.C0 = rootjnor
  125. neck.C0 = necknor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  126. until sound.Playing == false
  127. head.Size = Vector3.new(2, 1, 1)
  128. end
  129. playing = true
  130. attack = false
  131. end
  132. if key == "y" then
  133. local sound = Instance.new("Sound")
  134. sound.SoundId = "rbxassetid://3475233802"
  135. sound.Volume = 10
  136. sound.Parent = head
  137. sound:Play()
  138. local thing = head.Touched:Connect(function(hit)
  139. local found = false
  140. for i,v in pairs(nokill) do
  141. if game:GetService("Players"):FindFirstChild(v) then
  142. if hit:IsDescendantOf(game:GetService("Players")[v].Character) then
  143. found = true
  144. end
  145. end
  146. end
  147. if found == false and hit.Size.Magnitude < 300 then
  148. local parent = hit.Parent
  149. hit.Parent = nil
  150. wait(math.random(20, 50) / 10)
  151. hit.Anchored = false
  152. hit.BrickColor = BrickColor.new("Bright green")
  153. hit.CFrame = head.CFrame
  154. hit.Velocity = head.CFrame.LookVector * 150
  155. hit.Parent = parent
  156. local sound = Instance.new("Sound")
  157. sound.SoundId = "rbxassetid://704088758"
  158. sound.Volume = 10
  159. sound.Parent = head
  160. sound:Play()
  161. end
  162. end)
  163. for i = 1, 180 do
  164. game:GetService("RunService").Stepped:Wait()
  165. head.Size = Vector3.new(20, 10, 10)
  166. neck.C0 = necknor * CFrame.new(0, -10, 0)
  167. end
  168. thing:Disconnect()
  169. head.Size = Vector3.new(2, 1, 1)
  170. end
  171. if key == "p" then
  172. attack = true
  173. playing = false
  174. local sound = Instance.new("Sound")
  175. sound.SoundId = "rbxassetid://2533880583"
  176. sound.Volume = 3
  177. sound.TimePosition = 20.15
  178. sound.Parent = head
  179. sound:Play()
  180. wig.Parent = nil
  181. local hat = Instance.new("Part")
  182. hat.Name = "JevilHat"
  183. hat.CanCollide = false
  184. hat.Size = Vector3.new(1, 1, 1)
  185. hat.Parent = char
  186. local mesh = Instance.new("SpecialMesh")
  187. mesh.MeshType = Enum.MeshType.FileMesh
  188. mesh.MeshId = "rbxassetid://193760002"
  189. mesh.TextureId = "rbxassetid://193760041"
  190. mesh.VertexColor = Vector3.new(0.5, 0, 0.5)
  191. mesh.Parent = hat
  192. local weld = Instance.new("Weld")
  193. weld.Part0 = head
  194. weld.Part1 = hat
  195. weld.C0 = CFrame.new(0, 0.5, 0.31)
  196. weld.Parent = hat
  197. for i,v in pairs(head:GetChildren()) do
  198. if v:IsA("Decal") then
  199. local old = v.Texture
  200. v.Texture = "rbxassetid://241553801"
  201. coroutine.resume(coroutine.create(function()
  202. repeat game:GetService("RunService").Stepped:Wait() until sound.Playing == false or sound.TimePosition > 30.35
  203. v.Texture = old
  204. end))
  205. end
  206. end
  207. local anything = Instance.new("Sound")
  208. anything.SoundId = "rbxassetid://2544975373"
  209. anything.Volume = 10
  210. anything.Parent = head
  211. anything:Play()
  212. speed = 50
  213. repeat
  214. game:GetService("RunService").Stepped:Wait()
  215. RS.C0 = RSnor * CFrame.Angles(0, 0, math.pi / 2 - 1 * math.sin(sine / 3))
  216. LS.C0 = LSnor * CFrame.Angles(0, 0, -math.pi / 2 + 1 * math.sin(sine / 3))
  217. RH.C0 = RHnor
  218. LH.C0 = LHnor
  219. rootj.C0 = rootjnor
  220. neck.C0 = necknor
  221. until sound.Playing == false or sound.TimePosition > 30.35
  222. speed = 16
  223. hat:Destroy()
  224. wig.Parent = head
  225. sound:Destroy()
  226. playing = true
  227. attack = false
  228. end
  229. if key == "f" then
  230. attack = true
  231. playing = false
  232. speed = 150
  233. local sound = Instance.new("Sound")
  234. sound.SoundId = "rbxassetid://2259766079"
  235. sound.Volume = 10
  236. sound.Parent = head
  237. sound:Play()
  238. local timepos = 0
  239. local thing = 1
  240. repeat
  241. game:GetService("RunService").Stepped:Wait()
  242. if sound.Parent ~= head then
  243. local sound = Instance.new("Sound")
  244. sound.TimePosition = timepos
  245. sound.Parent = head
  246. end
  247. sound.Volume = 10
  248. sound.PlaybackSpeed = 1
  249. sound.Playing = true
  250. timepos = sound.TimePosition
  251. RS.C0 = RSnor * CFrame.Angles(0, 0, math.pi / 2 - 1 * math.sin(sine / (15 / thing)))
  252. LS.C0 = LSnor * CFrame.Angles(0, 0, -math.pi / 2 + 1 * math.sin(sine / (15 / thing)))
  253. RH.C0 = RHnor
  254. LH.C0 = LHnor
  255. rootj.C0 = rootjnor
  256. neck.C0 = necknor
  257. thing = thing + 0.005
  258. until sound.Playing == false or sound.TimePosition > 10
  259. local old = head.BrickColor
  260. repeat
  261. game:GetService("RunService").Stepped:Wait()
  262. if sound.TimePosition > 20 then
  263. head.BrickColor = BrickColor.new("Sunrise")
  264. end
  265. sound.PlaybackSpeed = sound.PlaybackSpeed + 0.001
  266. head.Size = head.Size + Vector3.new(0.01, 0.01, 0.01)
  267. neck.C0 = necknor * CFrame.Angles(math.random(-100, 100) / 20, math.random(-100, 100) / 20, math.random(-100, 100) / 20)
  268. until sound.Playing == false
  269. for i = 1, 20 do
  270. local clone = head:Clone()
  271. clone.Parent = workspace
  272. clone.Velocity = Vector3.new(0, 200, 0)
  273. local sound = Instance.new("Sound")
  274. sound.SoundId = "rbxassetid://2878822762"
  275. sound.Volume = 0.5
  276. sound.Parent = head
  277. sound:Play()
  278. end
  279. head.Size = Vector3.new(2, 1, 1)
  280. head.BrickColor = old
  281. speed = 16
  282. playing = true
  283. attack = false
  284. end
  285. if key == "u" then
  286. local part = Instance.new("Part")
  287. part.CFrame = rootpart.CFrame * CFrame.new(0, 0, 5)
  288. part.Size = Vector3.new(3, 4, 3)
  289. part.Parent = workspace
  290. local click = Instance.new("ClickDetector")
  291. click.Parent = part
  292. local mesh = Instance.new("SpecialMesh")
  293. mesh.MeshType = Enum.MeshType.FileMesh
  294. mesh.MeshId = "rbxassetid://430897733"
  295. mesh.Scale = Vector3.new(4, 4, 4)
  296. mesh.TextureId = "rbxassetid://430897961"
  297. mesh.Parent = part
  298. local sound = Instance.new("Sound")
  299. sound.SoundId = "rbxassetid://741801027"
  300. sound.Volume = 3
  301. sound.Parent = part
  302. sound:Play()
  303. click.MouseClick:Connect(function()
  304. local banana = Instance.new("Part")
  305. banana.Size = Vector3.new(1, 1, 1)
  306. banana.CFrame = part.CFrame * CFrame.new(0, 5, 0)
  307. banana.Velocity = Vector3.new(math.random(-25, 25), 200, math.random(-25, 25))
  308. banana.Parent = workspace
  309. local mesh = Instance.new("SpecialMesh")
  310. mesh.MeshType = Enum.MeshType.FileMesh
  311. mesh.MeshId = "rbxassetid://28937301"
  312. mesh.TextureId = "rbxassetid://28937670"
  313. mesh.Scale = Vector3.new(0.8, 0.8, 0.8)
  314. mesh.Parent = banana
  315. local sound = Instance.new("Sound")
  316. sound.SoundId = "rbxassetid://28976727"
  317. sound.Volume = 2
  318. sound.Parent = banana
  319. sound:Play()
  320. local touched = false
  321. banana.Touched:Connect(function(hit)
  322. if hit.Parent and hit.Parent:FindFirstChild("Head") and not hit:IsDescendantOf(char) and touched == false then
  323. touched = true
  324. coroutine.resume(coroutine.create(function()
  325. for i = 1, 60 do
  326. game:GetService("RunService").Stepped:Wait()
  327. mesh.Scale = mesh.Scale + Vector3.new(0.3, 0.3, 0.3)
  328. banana.Size = banana.Size + Vector3.new(0.3, 0.3, 0.3)
  329. end
  330. banana:Destroy()
  331. end))
  332. local sound = Instance.new("Sound")
  333. sound.SoundId = "rbxassetid://168411776"
  334. sound.Volume = 10
  335. sound.Parent = hit.Parent.Head
  336. sound:Play()
  337. end
  338. end)
  339. end)
  340. repeat game:GetService("RunService").Stepped:Wait() until sound.Playing == false
  341. part:Destroy()
  342. end
  343. end
  344. end
  345. end)
  346.  
  347. while game:GetService("RunService").Stepped:Wait() do
  348. sine = sine + 1
  349. if attack then
  350. if rooted then
  351. hum.WalkSpeed = 0
  352. hum.JumpPower = 0
  353. else
  354. hum.WalkSpeed = speed
  355. hum.JumpPower = 50
  356. end
  357. else
  358. hum.WalkSpeed = 16
  359. hum.JumpPower = 50
  360. end
  361. for i,v in pairs(char:GetChildren()) do
  362. if v:IsA("Accessory") then
  363. v:Destroy()
  364. end
  365. end
  366. if music.Parent ~= tors then
  367. music = Instance.new("Sound")
  368. music.Parent = tors
  369. music.TimePosition = timepos
  370. else
  371. timepos = music.TimePosition
  372. end
  373. music.PlaybackSpeed = 0.84
  374. music.Volume = 1
  375. music.SoundId = "rbxassetid://3015811673"
  376. music.Playing = playing
  377. local torsvel = (tors.Velocity * Vector3.new(1, 0, 1)).Magnitude
  378. local hitfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
  379. if attack == false then
  380. if torsvel < 1 and hitfloor then
  381. RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0, math.pi / 2 + 0.3 * math.cos(sine / 7) + 0.5 * math.sin(sine / 14)), 0.15)
  382. LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, 0, 0.5 + 0.2 * math.sin(sine / 7) + 0.15 * math.cos(sine / 14)), 0.15)
  383. RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, -0.5 + 1 * math.sin(sine / 14) - 0.5 * math.cos(sine / 28)), 0.15)
  384. LH.C0 = LH.C0:Lerp(LHnor * CFrame.new(0.1 * math.sin(sine / 3.5) + 0.2 * math.cos(sine / 14), 0, 0) * CFrame.Angles(0, 0.2 * math.cos(sine / 28) - 0.3 * math.sin(sine / 48) + 0.15 * math.cos(sine / 3.5) - 0.25 * math.sin(sine / 3.5), -0.1 * math.sin(sine / 3.5) - 0.2 * math.cos(sine / 14)), 0.15)
  385. rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.3 * math.cos(sine / 4.5)), 0.15)
  386. neck.C0 = neck.C0:Lerp(necknor * CFrame.Angles(math.sin(sine / 10), math.cos(sine / 10), 0), 0.15)
  387. end
  388. if torsvel > 1 and hitfloor then
  389. RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, sine / 5, -1 * math.sin(sine / 7)), 0.15)
  390. LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, sine / 5, -1 * math.sin(sine / 7)), 0.15)
  391. RH.C0 = RH.C0:Lerp(RHnor * CFrame.new(1 * math.cos(sine / 7), 0.15 + 0.5 * math.cos(sine / 7), 0) * CFrame.Angles(0, 0.3 * math.sin(sine / 7), -0.23 + 1 * math.sin(sine / 7)), 0.15)
  392. LH.C0 = LH.C0:Lerp(LHnor * CFrame.new(1 * math.cos(sine / 7), 0.15 - 0.5 * math.cos(sine / 7), 0) * CFrame.Angles(0, 0.3 * math.sin(sine / 7), 0.23 + 1 * math.sin(sine / 7)), 0.15)
  393. rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, -0.1 + 0.2 * math.cos(sine / 3.5)) * CFrame.Angles(0.2 - 0.4 * math.sin(sine / 3.5), rootpart.RotVelocity.Y / 50, -0.3 * math.sin(sine / 7)), 0.15)
  394. neck.C0 = neck.C0:Lerp(necknor * CFrame.Angles(0.4 * math.sin(sine / 3.5), 0, -head.RotVelocity.Y / 15 + 0.3 * math.sin(sine / 7)), 0.15)
  395. end
  396. if not hitfloor then
  397. RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(math.clamp(tors.Velocity.Y / 200 - 0.3, -hum.JumpPower / 200 - 0.3, hum.JumpPower / 200 - 0.3), 0, math.pi / 1.5), 0.15)
  398. LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(math.clamp(tors.Velocity.Y / 200 - 0.3, -hum.JumpPower / 200 - 0.3, hum.JumpPower / 200 - 0.3), 0, -math.pi / 1.5), 0.15)
  399. RH.C0 = RH.C0:Lerp(RHnor + Vector3.new(0, -0.6, 0.4), 0.15)
  400. LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, -0.3) + Vector3.new(0, -0.1, 0), 0.15)
  401. rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-math.clamp(tors.Velocity.Y / 100, -hum.JumpPower / 100, hum.JumpPower / 100), 0, 0), 0.15)
  402. neck.C0 = neck.C0:Lerp(necknor * CFrame.Angles(math.random(-100, 100) / 1000, math.random(-100, 100) / 1000, math.random(-100, 100) / 1000), 0.15)
  403. end
  404. end
  405. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement