Advertisement
Guest User

Untitled

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