Advertisement
ericdesouza

Derp dio

Jan 7th, 2018
995
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.13 KB | None | 0 0
  1. wait(2)
  2. ----Made by Ericdesouza, Ericdesouza---
  3.  
  4. ----Credit to NextFlame for the derpy animation running sorry Idk how to animate yet </3
  5. ---- and Credits to EthanHong0407 for the humping animation, Fixing time stop and hump knife, and MUDA.
  6. function clerp(c1,c2,al)
  7. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  8. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  9. for i,v in pairs(com1) do
  10. com1[i] = v+(com2[i]-v)*al
  11. end
  12. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  13. end
  14.  
  15. local BeeSpeed= 100
  16.  
  17. plr = game:service'Players'.LocalPlayer
  18. plrgui = plr.PlayerGui
  19. char = plr.Character
  20. mouse = plr:GetMouse()
  21. humanoid = char:findFirstChild("Humanoid")
  22. torso = char:findFirstChild("Torso")
  23. head = char.Head
  24. ra = char:findFirstChild("Right Arm")
  25. la = char:findFirstChild("Left Arm")
  26. rl = char:findFirstChild("Right Leg")
  27. ll = char:findFirstChild("Left Leg")
  28. rs = torso:findFirstChild("Right Shoulder")
  29. ls = torso:findFirstChild("Left Shoulder")
  30. rh = torso:findFirstChild("Right Hip")
  31. lh = torso:findFirstChild("Left Hip")
  32. neck = torso:findFirstChild("Neck")
  33. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  34. rootpart = char:findFirstChild("HumanoidRootPart")
  35. camera = workspace.CurrentCamera
  36. anim = char:findFirstChild("Animate")
  37. frozen = false
  38. timestopcool = false
  39. humping = false
  40. mudaing = false
  41. knifeSpeed = 150
  42. stuffFrozen = {}
  43. frozenSounds = {}
  44. if anim then
  45. anim:Destroy()
  46. end
  47.  
  48. head.face.Texture = "rbxassetid://30395097"
  49. local KonoDioDa = Instance.new("Part",char)
  50. KonoDioDa.Size = Vector3.new(1.67, 2.38, 1.7)
  51. KonoDioDa.CanCollide = false
  52. KonoDioDa.BrickColor = BrickColor.new("Fire Yellow")
  53. local KonoDioDa2 = Instance.new("SpecialMesh",KonoDioDa)
  54. KonoDioDa2.Offset = Vector3.new(0.08, 0, 0.3)
  55. KonoDioDa2.Scale = Vector3.new(0.04, 0.04, 0.04)
  56. local KonoDioDa3 = Instance.new("Weld",KonoDioDa)
  57. KonoDioDa3.Part0 = head
  58. KonoDioDa3.Part1 = KonoDioDa
  59. KonoDioDa3.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  60.  
  61. function chatfunc(text)
  62. local chat = coroutine.wrap(function()
  63. if char:FindFirstChild("TalkingBillBoard")~= nil then
  64. char:FindFirstChild("TalkingBillBoard"):destroy()
  65. end
  66. local naeeym2 = Instance.new("BillboardGui",char)
  67. naeeym2.Size = UDim2.new(0,100,0,40)
  68. naeeym2.StudsOffset = Vector3.new(0,3,0)
  69. naeeym2.Adornee = char.Head
  70. naeeym2.Name = "TalkingBillBoard"
  71. tecks2 = Instance.new("TextLabel",naeeym2)
  72. tecks2.BackgroundTransparency = 1
  73. tecks2.BorderSizePixel = 0
  74. tecks2.Text = ""
  75. tecks2.Font = "Fantasy"
  76. tecks2.TextSize = 30
  77. tecks2.TextStrokeTransparency = 0
  78. tecks2.TextColor3 = Color3.new(0,0,0)
  79. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  80. tecks2.Size = UDim2.new(1,0,0.5,0)
  81. local tecks3 = Instance.new("TextLabel",naeeym2)
  82. tecks3.BackgroundTransparency = 1
  83. tecks3.BorderSizePixel = 0
  84. tecks3.Text = ""
  85. tecks3.Font = "Fantasy"
  86. tecks3.TextSize = 30
  87. tecks3.TextStrokeTransparency = 0
  88. tecks3.TextColor3 = Color3.new(255,0,0)
  89. tecks3.TextStrokeColor3 = Color3.new(0,255,0)
  90. tecks3.Size = UDim2.new(1,0,0.5,0)
  91. for i = 1,string.len(text),1 do
  92.  
  93. tecks2.Text = string.sub(text,1,i)
  94. tecks3.Text = string.sub(text,1,i)
  95. wait(0.01)
  96. end
  97. wait(2)
  98. for i = 1, 50 do
  99.  
  100. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  101. tecks2.Rotation = tecks2.Rotation - .8
  102. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  103. tecks2.TextTransparency = tecks2.TextTransparency + .04
  104. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  105. tecks3.Rotation = tecks2.Rotation + .8
  106. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  107. tecks3.TextTransparency = tecks2.TextTransparency + .04
  108. end
  109. naeeym2:Destroy()
  110. end)
  111. chat()
  112.  
  113. end
  114. function onChatted(msg)
  115. chatfunc(msg)
  116.  
  117. end
  118. plr.Chatted:connect(onChatted)
  119.  
  120. function timeFreezeFunction()
  121. function spread(model)
  122. for i,p in pairs(model:GetChildren()) do
  123. spread(p)
  124. if p.Name == "Humanoid" and p:IsDescendantOf(char) == false then
  125. for i,d in pairs(p.Parent:GetChildren()) do
  126. if d:IsA("BasePart") and d:IsDescendantOf(char) == false and d.Name ~= "HumanoidRootPart" and d.Anchored == false and stuffFrozen[d] == nil then
  127. table.insert(stuffFrozen, d)
  128. d.Anchored = true
  129. elseif d:IsA("Sound") and d.IsPlaying then
  130. table.insert(frozenSounds, d)
  131. d:Pause()
  132. end
  133. end
  134. end
  135. end
  136. end
  137. spread(workspace)
  138. end
  139.  
  140. abss = Instance.new("BillboardGui",char)
  141. abss.Size = UDim2.new(10,0,10,0)
  142. abss.Enabled = false
  143. abss.Name = "KONODIODA"
  144. imgl = Instance.new("ImageLabel",abss)
  145. imgl.Position = UDim2.new(0,0,0,0)
  146. imgl.Size = UDim2.new(1,0,1,0)
  147. imgl.Image = "rbxassetid://711463989"
  148. imgl.BackgroundTransparency = 1
  149. imgl.ImageColor3 = Color3.new(0,255,255)
  150. img2 = Instance.new("ImageLabel",abss)
  151. img2.Position = UDim2.new(0,0,0,0)
  152. img2.Size = UDim2.new(1,0,1,0)
  153. img2.Image = "rbxassetid://711463989"
  154. img2.BackgroundTransparency = 1
  155. img2.ImageColor3 = Color3.new(0,255,255)
  156.  
  157.  
  158. animation = Instance.new("Animation",script.Parent) -- Pose Wink Wonk
  159. animation.AnimationId = 'rbxassetid://965558263'
  160.  
  161. local animTrack = humanoid:LoadAnimation(animation)
  162.  
  163.  
  164. --Sounds
  165. --Folder
  166. soundfolder = Instance.new("Model",char)
  167. soundfolder.Name = "Sound Folder"
  168. --Sounds
  169. yes = Instance.new("Sound",soundfolder)
  170. yes.Volume = 30
  171. yes.Name = "Jojo"
  172. yes.Looped = true
  173. yes.SoundId = "rbxassetid://767619805"
  174. KonoDioDAA = Instance.new("Sound",soundfolder)
  175. KonoDioDAA.Volume = 30
  176. KonoDioDAA.Name = "Dio"
  177. KonoDioDAA.Looped = false
  178. KonoDioDAA.SoundId = "rbxassetid://686423225"
  179. WhatKindOfDioIsThis = Instance.new("Sound",soundfolder)
  180. WhatKindOfDioIsThis.Volume = 30
  181. WhatKindOfDioIsThis.Name = "Bakana"
  182. WhatKindOfDioIsThis.Looped = true
  183. WhatKindOfDioIsThis.SoundId = "rbxassetid://152828706"
  184. NANI = Instance.new("Sound",soundfolder)
  185. NANI.Volume = 30
  186. NANI.Name = "Japanese Screeching"
  187. NANI.Looped = false
  188. NANI.SoundId = "rbxassetid://853224808"
  189. Stop = Instance.new("Sound",soundfolder)
  190. Stop.Volume = 5
  191. Stop.Name = "Oof"
  192. Stop.Looped = false
  193. Stop.SoundId = "rbxassetid://1055792303"
  194. Stop2 = Instance.new("Sound",soundfolder)
  195. Stop2.Volume = 1
  196. Stop2.Name = "Of"
  197. Stop2.Looped = false
  198. Stop2.SoundId = "rbxassetid://840567549"
  199. Stop3 = Instance.new("Sound",soundfolder)
  200. Stop3.Volume = 10
  201. Stop3.Name = "O0f"
  202. Stop3.Looped = false
  203. Stop3.SoundId = "rbxassetid://274699177"
  204. Start = Instance.new("Sound",soundfolder)
  205. Start.Volume = 10
  206. Start.Name = "00f"
  207. Start.Looped = false
  208. Start.SoundId = "rbxassetid://1054568598"
  209. Start2 = Instance.new("Sound",soundfolder)
  210. Start2.Volume = 4
  211. Start2.Name = "HaiDer"
  212. Start2.Looped = false
  213. Start2.SoundId = "rbxassetid://864569342"
  214. Start2d = Instance.new("Sound",soundfolder)
  215. Start2d.Volume = 5
  216. Start2d.Name = "HaiDer2"
  217. Start2d.Looped = false
  218. Start2d.SoundId = "rbxassetid://491887941"
  219. Wrry = Instance.new("Sound",soundfolder)
  220. Wrry.Volume = 30
  221. Wrry.Name = "Wry"
  222. Wrry.Looped = false
  223. Wrry.SoundId = "rbxassetid://616576437"
  224. Muda = Instance.new("Sound", soundfolder)
  225. Muda.Volume = 4
  226. Muda.Name = "Muda"
  227. Muda.Looped = false
  228. Muda.SoundId = "rbxassetid://616593932"
  229. -------------------------------------------
  230.  
  231. wait(1)
  232.  
  233. local rm = Instance.new("Motor", torso)
  234. rm.C0 = CFrame.new(1.5, 0.5, 0)
  235. rm.C1 = CFrame.new(0, 0.5, 0)
  236. rm.Part0 = torso
  237. rm.Part1 = ra
  238. rm.Name = 'Right Shoulder'
  239.  
  240. local lm = Instance.new("Motor", torso)
  241. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  242. lm.C1 = CFrame.new(0, 0.5, 0)
  243. lm.Part0 = torso
  244. lm.Part1 = la
  245. lm.Name = 'Left Shoulder'
  246.  
  247. local rlegm = Instance.new("Motor", torso)
  248. rlegm.C0 = CFrame.new(0.5, -1, 0)
  249. rlegm.C1 = CFrame.new(0, 1, 0)
  250. rlegm.Part0 = torso
  251. rlegm.Part1 = rl
  252. local llegm = Instance.new("Motor", torso)
  253. llegm.C0 = CFrame.new(-0.5, -1, 0)
  254. llegm.C1 = CFrame.new(0, 1, 0)
  255. llegm.Part0 = torso
  256. llegm.Part1 = ll
  257.  
  258. rj.C0 = CFrame.new()
  259. rj.C1 = CFrame.new()
  260.  
  261. neck.C0 = CFrame.new(0, 1, 0)
  262. neck.C1 = CFrame.new(0, -0.5, 0)
  263.  
  264. local speed = 0.3
  265. local angle = 0
  266. local anglespeed = 1
  267. rsc0 = rm.C0
  268. lsc0 = lm.C0
  269. llc0 = llegm.C0
  270. rlc0 = rlegm.C0
  271. rootc0 = rj.C0
  272. neckc0 = neck.C0
  273. ----------------------------------------------
  274. wait()
  275. function descend(obj,class,func)
  276. for i,v in pairs(obj:GetChildren()) do
  277. if v:IsA(class) then
  278. func(v)
  279. end
  280. descend(v,class,func)
  281. end
  282. end
  283. local pls = game:GetService("Players").LocalPlayer
  284. function initiateCharacter(char)
  285. if not char then return end
  286. wait()
  287. descend(char,"BasePart",function(obj)
  288. obj.Anchored = false
  289. obj.Changed:connect(function()
  290. if obj.Anchored then
  291. obj.Anchored = false
  292. end
  293. end)
  294. end)
  295. descend(char,"Humanoid",function(obj)
  296. obj.WalkSpeed = 16
  297. obj.Changed:connect(function()
  298. if obj.WalkSpeed == 0 then
  299. obj.WalkSpeed = 16
  300. end
  301. end)
  302. end)
  303. end
  304. initiateCharacter(pls.Character)
  305. pls.CharacterAdded:connect(function(c)
  306. initiateCharacter(c)
  307. end)
  308. ----------------------------------------------
  309. mouse.KeyDown:connect(function(key)
  310. if key == "m" then
  311. yes:Play()
  312. wait(2)
  313. end
  314.  
  315. end)
  316.  
  317. mouse.KeyDown:connect(function(key)
  318. if key == "x" then
  319. yes:Stop()
  320. WhatKindOfDioIsThis:Stop()
  321. wait(2)
  322. end
  323.  
  324. end)
  325.  
  326.  
  327. mouse.KeyDown:connect(function(key)
  328. if key == "n" then
  329. KonoDioDAA:Play()
  330. wait(0.3)
  331. chatfunc("KONO DIO DA!!!")
  332. head.face.Texture = "rbxassetid://30395097"
  333. wait(0.1)
  334. head.face.Texture = "rbxassetid://17138027"
  335. wait(0.1)
  336. head.face.Texture = "rbxassetid://30395097"
  337. wait(0.1)
  338. head.face.Texture = "rbxassetid://17138027"
  339. wait(0.1)
  340. head.face.Texture = "rbxassetid://30395097"
  341. wait(0.2)
  342. head.face.Texture = "rbxassetid://17138027"
  343. wait(0.1)
  344. head.face.Texture = "rbxassetid://30395097"
  345. wait(0.1)
  346. head.face.Texture = "rbxassetid://17138027"
  347. wait(0.2)
  348. head.face.Texture = "rbxassetid://30395097"
  349. wait(0.2)
  350. head.face.Texture = "rbxassetid://17138027"
  351. wait(1)
  352. chatfunc("")
  353. wait(0.2)
  354. end
  355.  
  356. end)
  357.  
  358. mouse.KeyDown:connect(function(key)
  359. if key == "b" then
  360. WhatKindOfDioIsThis:Play()
  361. wait(0.3)
  362. chatfunc("What a beautiful KONO DIO DA")
  363. wait(1.8)
  364. end
  365.  
  366. end)
  367.  
  368. mouse.KeyDown:connect(function(key)
  369. if key == "v" then
  370. yes:Play()
  371. wait(2)
  372. end
  373.  
  374. end)
  375.  
  376. mouse.KeyDown:connect(function(key)
  377. if key == "f" then
  378. Wrry:Play()
  379. wait(0.1)
  380. chatfunc("WRRRRRRY")
  381. head.face.Texture = "rbxassetid://17138027"
  382. wait(0.3)
  383. head.face.Texture = "rbxassetid://17138027"
  384. wait(1.5)
  385. head.face.Texture = "rbxassetid://15324577"
  386. wait(0.1)
  387. wait(1.65)
  388. end
  389.  
  390. end)
  391.  
  392. mouse.KeyDown:connect(function(key)
  393. if key == "g" then
  394. NANI:Play()
  395. chatfunc("!")
  396. head.face.Texture = "rbxassetid://17138027"
  397. wait(0.1)
  398. head.face.Texture = "rbxassetid://849833250"
  399. wait(0.1)
  400. head.face.Texture = "rbxassetid://15324577"
  401. wait(0.1)
  402. head.face.Texture = "rbxassetid://17138027"
  403. wait(0.1)
  404. head.face.Texture = "rbxassetid://605435926"
  405. wait(0.2)
  406. head.face.Texture = "rbxassetid://849833250"
  407. wait(0.1)
  408. head.face.Texture = "rbxassetid://15324577"
  409. wait(0.1)
  410. head.face.Texture = "rbxassetid://17138027"
  411. wait(0.2)
  412. head.face.Texture = "rbxassetid://30395097"
  413. wait(0.1)
  414. head.face.Texture = "rbxassetid://17138027"
  415. wait(0.1)
  416. head.face.Texture = "rbxassetid://15324577"
  417. wait(0.1)
  418. head.face.Texture = "rbxassetid://17138027"
  419. wait(0.1)
  420. head.face.Texture = "rbxassetid://30395097"
  421. wait(0.1)
  422. head.face.Texture = "rbxassetid://15324577"
  423. wait(0.2)
  424. head.face.Texture = "rbxassetid://30395097"
  425. wait(0.1)
  426. head.face.Texture = "rbxassetid://30395097"
  427. wait(0.1)
  428. head.face.Texture = "rbxassetid://17138027"
  429. wait(0.2)
  430. head.face.Texture = "rbxassetid://15324577"
  431. wait(0.2)
  432. head.face.Texture = "rbxassetid://396389196"
  433. wait(1)
  434. head.face.Texture = "rbxassetid://17138027"
  435. wait(0.1)
  436. head.face.Texture = "rbxassetid://15324577"
  437. wait(0.1)
  438. head.face.Texture = "rbxassetid://17138027"
  439. wait(0.1)
  440. head.face.Texture = "rbxassetid://30395097"
  441. wait(0.1)
  442. head.face.Texture = "rbxassetid://15324577"
  443. wait(0.2)
  444. head.face.Texture = "rbxassetid://30395097"
  445. wait(0.1)
  446. head.face.Texture = "rbxassetid://849833250"
  447. wait(0.1)
  448. head.face.Texture = "rbxassetid://30395097"
  449. wait(0.2)
  450. head.face.Texture = "rbxassetid://30395097"
  451. wait(0.1)
  452. head.face.Texture = "rbxassetid://17138027"
  453. wait(0.1)
  454. head.face.Texture = "rbxassetid://15324577"
  455. wait(0.1)
  456. head.face.Texture = "rbxassetid://17138027"
  457. wait(0.1)
  458. head.face.Texture = "rbxassetid://849833250"
  459. wait(0.1)
  460. head.face.Texture = "rbxassetid://17138027"
  461. wait(0.5)
  462. head.face.Texture = "rbxassetid://30395097"
  463. wait(0.1)
  464. end
  465.  
  466. end)
  467.  
  468. canworld = true
  469. mouse.KeyDown:connect(function(key)
  470. if key == "t" and not frozen then
  471. if canworld == false then return end
  472. if canworld then
  473. canworld = false
  474. Stop:Play()
  475. chatfunc("ZA WARUDO!!!")
  476. head.face.Texture = "rbxassetid://30395097"
  477. wait(0.1)
  478. head.face.Texture = "rbxassetid://17138027"
  479. wait(0.3)
  480. head.face.Texture = "rbxassetid://30395097"
  481. wait(0.1)
  482. head.face.Texture = "rbxassetid://17138027"
  483. wait(0.3)
  484. head.face.Texture = "rbxassetid://30395097"
  485. wait(0.1)
  486. head.face.Texture = "rbxassetid://17138027"
  487. wait(0.1)
  488. head.face.Texture = "rbxassetid://30395097"
  489. wait(0.1)
  490. head.face.Texture = "rbxassetid://17138027"
  491. wait(0.8)
  492. wait(1.5)
  493. Stop3:Play()
  494. head.face.Texture = "rbxassetid://605435926"
  495. wait(0.1)
  496. head.face.Texture = "rbxassetid://30395097"
  497. wait(0.1)
  498. head.face.Texture = "rbxassetid://605435926"
  499. wait(0.1)
  500. head.face.Texture = "rbxassetid://30395097"
  501. wait(0.1)
  502. head.face.Texture = "rbxassetid://30395097"
  503. wait(0.1)
  504. head.face.Texture = "rbxassetid://605435926"
  505. wait(0.1)
  506. head.face.Texture = "rbxassetid://30395097"
  507. wait(0.4)
  508. head.face.Texture = "rbxassetid://605435926"
  509. wait(0.1)
  510. head.face.Texture = "rbxassetid://30395097"
  511.  
  512. local function spawnpart()
  513. sphere = Instance.new("Part")
  514. game.Debris:AddItem(sphere,3)
  515. local sm = Instance.new("SpecialMesh", sphere)
  516. sm.MeshType = "Sphere"
  517. sphere.Transparency = 0.5
  518. sphere.Anchored = true
  519. sphere.CanCollide = false
  520. sphere.Material = "Neon"
  521. sphere.BrickColor = BrickColor.new("White")
  522. end
  523.  
  524. local function weld(lol)
  525. local weld = Instance.new("Weld", plr.Character.Torso)
  526. weld.Part0 = plr.Character.Torso
  527. weld.Part1 = lol
  528. weld.C0 = plr.Character.Torso.CFrame:inverse()
  529. weld.C1 = lol.CFrame:inverse()
  530. end
  531. wait()
  532. spawnpart()
  533.  
  534. weld(sphere)
  535. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  536. cce.Saturation = -5
  537. knifeSpeed = 0
  538. --game.Debris:AddItem(cce, 5)
  539. sphere.Parent = char.Torso
  540. for i = 1,3 do
  541. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  542. wait()
  543. end
  544. wait()
  545. sphere:Destroy()
  546. BeeSpeed = 0
  547. frozen = true
  548. cce.Saturation = -0.1
  549. wait(0.3)
  550. cce.Saturation = -0.2
  551. wait(0.3)
  552. cce.Saturation = -0.3
  553. wait(0.2)
  554. cce.Saturation = -1.5
  555. wait()
  556.  
  557. canworld = true
  558.  
  559. end
  560. end
  561. end
  562. )
  563.  
  564. mouse.KeyDown:connect(function(key)
  565. key = key:lower()
  566. if key == "y" and frozen and canworld then
  567. canworld = false
  568. chatfunc("Time continues moving again. lol")
  569. Start:Play()
  570. head.face.Texture = "rbxassetid://17138027"
  571. wait(0.1)
  572. head.face.Texture = "rbxassetid://30395097"
  573. wait(0.1)
  574. head.face.Texture = "rbxassetid://17138027"
  575. wait(0.2)
  576. head.face.Texture = "rbxassetid://30395097"
  577. wait(0.1)
  578. head.face.Texture = "rbxassetid://17138027"
  579. wait(0.1)
  580. head.face.Texture = "rbxassetid://30395097"
  581. wait(0.1)
  582. head.face.Texture = "rbxassetid://30395097"
  583. wait(0.1)
  584. head.face.Texture = "rbxassetid://17138027"
  585. wait(0.1)
  586. head.face.Texture = "rbxassetid://30395097"
  587. wait(0.1)
  588. head.face.Texture = "rbxassetid://17138027"
  589. wait(0.1)
  590. head.face.Texture = "rbxassetid://30395097"
  591. wait(0.1)
  592. head.face.Texture = "rbxassetid://17138027"
  593. wait(0.1)
  594. head.face.Texture = "rbxassetid://30395097"
  595. wait(0.5)
  596. Start2:Play()
  597. Start2d:Play()
  598. wait()
  599. BeeSpeed = 1
  600. cce.Saturation = -1.3
  601. wait(0.5)
  602. BeeSpeed = 1.2
  603. cce.Saturation = -0.5
  604. wait(0.5)
  605. BeeSpeed = 1.4
  606. cce.Saturation = -0.4
  607. wait(0.3)
  608. BeeSpeed = 1.5
  609. cce.Saturation = -0.2
  610. wait(0.2)
  611. cce.Saturation = 0
  612.  
  613. for i, v in pairs(game.Players:GetChildren()) do
  614. t = v.Character:FindFirstChild("Torso")
  615. if t then
  616. t.Anchored = false
  617. end
  618. RA = v.Character:FindFirstChild("Right Arm")
  619. if RA then
  620. RA.Anchored = false
  621. end
  622. LA = v.Character:FindFirstChild("Left Arm")
  623. if LA then
  624. LA.Anchored = false
  625. end
  626. RL = v.Character:FindFirstChild("Right Leg")
  627. if RL then
  628. RL.Anchored = false
  629. end
  630. LL = v.Character:FindFirstChild("Left Leg")
  631. if LL then
  632. LL.Anchored = false
  633. end
  634. end
  635. BeeSpeed = 100
  636. knifeSpeed = 150
  637. canworld = true
  638. frozen = false
  639. tecks2.Text = plr.Name
  640.  
  641. end
  642. end)
  643.  
  644. humanoid.Died:connect(function()
  645. frozen = false
  646. if cce then
  647. cce:Remove()
  648. end
  649. end)
  650. mouse.KeyDown:connect(function(k)
  651. if string.byte(k) == 48 then
  652. humanoid.WalkSpeed = 24
  653. end
  654. end)
  655.  
  656. mouse.KeyUp:connect(function(k)
  657. if string.byte(k) == 48 then
  658. humanoid.WalkSpeed = 16
  659. end
  660. end)
  661.  
  662. local action = 'None'
  663. plr.Chatted:connect(function(msg)
  664. if msg == '/e dance' or msg == '/emote dance' then
  665. action = 'Dance'
  666. end
  667. if msg == '/e wrry' or msg == '/emote wrry' then
  668. action = 'Wrrrry'
  669. end
  670. end)
  671.  
  672.  
  673. local dance_move_wait = 0
  674.  
  675. game:service'RunService'.RenderStepped:connect(function()
  676. rm.MaxVelocity = 0
  677. lm.MaxVelocity = 0
  678. rm.DesiredAngle = 0
  679. rm.CurrentAngle = 0
  680. lm.DesiredAngle = 0
  681. lm.CurrentAngle = 0
  682. angle = (angle % 100) + anglespeed/10
  683. mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  684. local rscf = rsc0
  685. local lscf = lsc0
  686. local rlcf = rlc0
  687. local llcf = llc0
  688. local rjcf = rootc0
  689. local ncf = neckc0
  690. local ray = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0))
  691. local hitz, enz = workspace:FindPartOnRay(ray, char)
  692. for i,object in pairs(char:children()) do
  693. if object:IsA("Tool") then
  694. tool = true
  695. if not debounce then
  696. for x,value in pairs(object:children()) do
  697. if value:IsA("StringValue") and value.Name == "toolanim" and value.Value == "Slash" then
  698. debounce = true
  699. coroutine.wrap(function()
  700. slashing = true
  701. wait(.15)
  702. slashing = false
  703. debounce = false
  704. end)()
  705. value:Destroy()
  706. end
  707. end
  708. end
  709. elseif not object:IsA'Tool' then
  710. tool = false
  711. end
  712. end
  713. if action == 'Dance' then
  714. anglespeed = 2
  715. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  716. rjcf = rootc0 * CFrame.Angles(math.rad(2), math.sin(angle)*.15, 0)
  717. lscf = lsc0 * CFrame.new(0, .5 + math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/1.2-math.cos(angle)*0.4, math.sin(angle)*0.1, -.15 - -math.sin(angle)*0.4)
  718. rscf = rsc0 * CFrame.new(0, .5 + math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/1.2+math.cos(angle)*0.4, math.sin(-angle)*0.1, .15 + -math.sin(angle)*0.4)
  719. rlcf = rlc0 * CFrame.new(0, .3 + math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0)
  720. llcf = llc0 * CFrame.new(0, .3 - math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0)
  721. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0)
  722. else
  723. action = 'None'
  724. end
  725. elseif action == 'prepareHump' then
  726. --animations by ethan
  727. ncf = neckc0 * CFrame.Angles(math.rad(40), 0, 0)
  728. rjcf = rootc0 * CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(-45), 0, 0)
  729. rscf = rsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0)
  730. lscf = lsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0)
  731. rlcf = rlc0 * CFrame.Angles(math.rad(90), 0, 0)
  732. llcf = llc0 * CFrame.Angles(math.rad(90), 0, 0)
  733. elseif action == 'Hump' then
  734. --animations by ethan
  735. ncf = neckc0 * CFrame.Angles(math.rad(-10), 0, 0)
  736. rjcf = rootc0 * CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(45), 0, 0)
  737. rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10))
  738. lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10))
  739. rlcf = rlc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10))
  740. llcf = llc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10))
  741. elseif action == "Muda1" then
  742.  
  743. ncf = neckc0 * CFrame.Angles(0, math.rad(-30), 0)
  744. rjcf = rootc0 * CFrame.Angles(0, math.rad(45), 0)
  745. rscf = rsc0 * CFrame.Angles(math.rad(90), 0, math.rad(10))
  746. lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10))
  747. rlcf = rlc0 * CFrame.Angles(math.rad(45), 0, math.rad(10))
  748. llcf = llc0 * CFrame.Angles(math.rad(-45), 0, math.rad(-10))
  749. elseif action == "Muda2" then
  750.  
  751. ncf = neckc0 * CFrame.Angles(0, math.rad(30), 0)
  752. rjcf = rootc0 * CFrame.Angles(0, math.rad(-45), 0)
  753. rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10))
  754. lscf = lsc0 * CFrame.Angles(math.rad(90), 0, math.rad(-10))
  755. rlcf = rlc0 * CFrame.Angles(math.rad(-45), 0, math.rad(10))
  756. llcf = llc0 * CFrame.Angles(math.rad(45), 0, math.rad(-10))
  757. elseif action == 'Wrrrry' then
  758. anglespeed = 1+math.random()
  759. dance_move_wait = (dance_move_wait%40) + 1/60
  760. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  761. if dance_move_wait <= 20 then
  762. rjcf = rootc0 * CFrame.new(0, -.2, .6) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0)
  763. lscf = lsc0 * CFrame.new(0, math.sin(angle)*0.025, 0) * CFrame.Angles(-math.pi/6 + -math.cos(angle)*0.4, math.sin(angle)*0.1, -.15 - -math.sin(angle)*0.4)
  764. rscf = rsc0 * CFrame.new(0, math.sin(angle)*0.025, 0) * CFrame.Angles(-math.pi/6 + math.cos(angle)*0.4, math.sin(-angle)*0.1, .15 + -math.sin(angle)*0.4)
  765. rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, .1)
  766. llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, -.1)
  767. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0)
  768. elseif dance_move_wait > 20 then
  769. rjcf = rootc0 * CFrame.new(0, -.2, -.6) * CFrame.Angles(-math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0)
  770. lscf = lsc0 * CFrame.new(0, math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/6 + math.cos(angle)*0.4, math.sin(angle)*0.1, -.15 - -math.sin(angle)*0.4)
  771. rscf = rsc0 * CFrame.new(0, math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/6 + -math.cos(angle)*0.4, math.sin(-angle)*0.1, .15 + -math.sin(angle)*0.4)
  772. rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, .1)
  773. llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, -.1)
  774. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0)
  775. end
  776.  
  777. else
  778. action = 'None'
  779. end
  780. elseif not hitz and (torso.Velocity.y > 1 or torso.Velocity.y < -1) then
  781. anglespeed = 3
  782. rjcf = rootc0 * CFrame.Angles(math.rad(5), 0, 0)
  783. rscf = rsc0 * CFrame.Angles(math.rad(130) + math.sin(angle)*.8, 0, .15)
  784. lscf = lsc0 * CFrame.Angles(math.rad(130) + -math.sin(angle)*.8, 0, -.15)
  785. rlcf = rlc0 * CFrame.new(0, .3 + -math.cos(angle)*.3, -.3 + -math.cos(angle)*.3) * CFrame.Angles(math.pi/14 + -math.sin(angle)*1, 0, 0)
  786. llcf = llc0 * CFrame.new(0, .3 - -math.cos(angle)*.3, -.3 - -math.cos(angle)*.3) * CFrame.Angles(math.pi/14 + math.sin(angle)*1, 0, 0)
  787. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.8, 0)
  788. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  789. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 20 then
  790. anglespeed = 2
  791. rjcf = rootc0 * CFrame.new(0, math.abs(math.sin(angle))*.65, 0) * CFrame.Angles(math.rad(10)+math.rad(torso.Velocity.y)*2, 0, 0)
  792. rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.7, 0, .05)
  793. lscf = lsc0 * CFrame.Angles(-math.sin(angle)*1.7, 0, -.05)
  794. rlcf = rlc0 * CFrame.Angles(-math.sin(angle)*1.4, 0, 0)
  795. llcf = llc0 * CFrame.Angles(math.sin(angle)*1.4, 0, 0)
  796. ncf = neckc0 * CFrame.Angles(-math.rad(30) + math.abs(math.sin(angle))*.95, math.sin(angle)*.8, 0)
  797. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 20 then
  798. anglespeed = 2.5
  799. rjcf = rootc0 * CFrame.new(0, -.3 + math.abs(math.sin(angle))*.65, 0) * CFrame.Angles(-math.rad(10)+math.rad(torso.Velocity.y)*2, 0, 0)
  800. rscf = rsc0 * CFrame.new(0, math.cos(angle)*.5, math.sin(angle)*.5) * CFrame.Angles(math.cos(angle)*2.8, 0, math.abs(math.sin(angle))*.5)
  801. lscf = lsc0 * CFrame.new(0, -math.cos(angle)*.5, -math.sin(angle)*.5) * CFrame.Angles(-math.cos(angle)*2.8, 0, -math.abs(math.sin(angle))*.5)
  802. rlcf = rlc0 * CFrame.new(0, .3 + -math.cos(-angle)*.3, -.2+math.sin(angle)*0.25) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.4, 0, math.rad(.5))
  803. llcf = llc0 * CFrame.new(0, .3 - -math.cos(angle)*.3, -.05-math.sin(angle)*0.25) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.4, 0, -math.rad(.5))
  804. ncf = neckc0 * CFrame.Angles(math.cos(angle), math.sin(angle), 0)
  805. end
  806. if tool then
  807. rscf = rsc0 * CFrame.Angles(math.pi/2, 0, 0)
  808. if slashing then
  809. rscf = rsc0 * CFrame.Angles(-math.pi/12, 0, -.1)
  810. end
  811. end
  812. rm.C0 = clerp(rm.C0,rscf,speed)
  813. lm.C0 = clerp(lm.C0,lscf,speed)
  814. rj.C0 = clerp(rj.C0,rjcf,speed)
  815. neck.C0 = clerp(neck.C0,ncf,speed)
  816. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  817. llegm.C0 = clerp(llegm.C0,llcf,speed)
  818. if frozen then
  819. timeFreezeFunction()
  820. else
  821.  
  822. for i,p in pairs(stuffFrozen) do
  823. p.Anchored = false
  824. end
  825. for i,s in pairs(frozenSounds) do
  826. s:Resume()
  827. end
  828. stuffFrozen = {}
  829. frozenSounds = {}
  830. end
  831. end)
  832.  
  833. function punchDamage()
  834. coroutine.resume(coroutine.create(function()
  835. function Damage(model)
  836. for i,s in pairs(model:GetChildren()) do
  837. Damage(s)
  838. if s.Name == "HumanoidRootPart" or s.Name == "Torso" and s:IsA("BasePart") then
  839. if (rootpart.Position - s.Position).magnitude < 4 then
  840. local vichum = s.Parent:FindFirstChild("Humanoid")
  841. if vichum and vichum ~= humanoid then
  842. local punch = Instance.new("Sound", soundfolder)
  843. punch.Volume = 3
  844. punch.Name = "POOCH"
  845. punch.SoundId = "rbxassetid://511340819"
  846. punch:Play()
  847. game:GetService("Debris"):AddItem(punch, 2)
  848. repeat wait() until not frozen
  849. if vel then
  850. vel:Remove()
  851. end
  852.  
  853. vel = Instance.new("BodyVelocity", s)
  854. vel.Velocity = CFrame.new(s.CFrame.p, rootpart.CFrame.lookVector * 120).lookVector
  855. game:GetService("Debris"):AddItem(vel, 0.25)
  856.  
  857. vichum:TakeDamage(15 +(math.random(-10, 10)/10))
  858. end
  859. end
  860. end
  861. end
  862. end
  863.  
  864. Damage(workspace)
  865. end))
  866. end
  867.  
  868. mouse.KeyDown:connect(function(k)
  869. if k == "q" and not humping then
  870.  
  871. humping = true
  872. action = 'prepareHump'
  873. wait(0.25)
  874. action = 'Hump'
  875. wait(0.03)
  876. local knife = Instance.new("Part", char)
  877. knife.Size = Vector3.new(0.2, 0.4, 2)
  878. knife.CanCollide = false
  879. knife.Anchored = false
  880. knife:BreakJoints()
  881. knife.CFrame = rootpart.CFrame * CFrame.new(0, -1, -2)
  882. knife.CFrame = CFrame.new(knife.Position, mouse.Hit.p) * CFrame.new(math.random(-10, 10)/100, math.random(-10, 10)/100, math.random(-10, 10)/100)
  883. knife.BrickColor = BrickColor.new("Buttermilk")
  884. local knifeMesh = Instance.new("SpecialMesh", knife)
  885. knifeMesh.MeshId = "rbxassetid://202083123"
  886. local vel = Instance.new("BodyVelocity", knife)
  887. knife.Touched:connect(function(part)
  888. if part.Parent ~= nil then
  889. local vichum = part.Parent:FindFirstChild("Humanoid")
  890. if vichum and vichum ~= humanoid then
  891. local stabbedKnife = knife:Clone()
  892. stabbedKnife.Parent = workspace
  893. stabbedKnife:WaitForChild("BodyVelocity"):Remove()
  894. local stabweld = Instance.new("Weld", stabbedKnife)
  895. stabweld.Part0 = part
  896. stabweld.Part1 = stabbedKnife
  897. stabweld.C0 = part.CFrame:toObjectSpace(knife.CFrame)
  898. knife:Destroy()
  899. repeat wait() until not frozen
  900. game:GetService("Debris"):AddItem(stabbedKnife, 10)
  901. vichum:TakeDamage(16, 24)
  902. end
  903. end
  904. end)
  905. coroutine.wrap(function()
  906. game:GetService("RunService").RenderStepped:connect(function()
  907. vel.Velocity = knife.CFrame.lookVector * knifeSpeed
  908. if (knife.Position - rootpart.Position).magnitude > 500 then
  909.  
  910. knife:Destroy()
  911. end
  912. end)
  913. end)()
  914.  
  915. wait(0.47)
  916. humping = false
  917. action = 'None'
  918. elseif k == "e" and not mudaing then
  919. speed = 0.8
  920. Muda:Play()
  921. mudaing = true
  922. for i = 1,39 do
  923. action = "Muda1"
  924. punchDamage()
  925. wait(0.03)
  926. action = "Muda2"
  927. punchDamage()
  928. wait(0.03)
  929. end
  930.  
  931.  
  932. wait()
  933. action = 'None'
  934. speed = 0.3
  935. mudaing = false
  936. end
  937. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement