Advertisement
AgentVK

DIO Shotgun

Dec 18th, 2017
1,099
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.05 KB | None | 0 0
  1. --By Rufus14
  2. --ears: 391268255
  3. --bamalam: 720451528
  4. --columb: 1202637744
  5. music = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  6. music.Volume = 0
  7. music.SoundId = "rbxassetid://0"
  8. music.Looped = true
  9. music:Play()
  10. mouse = game.Players.LocalPlayer:GetMouse()
  11. gun = Instance.new("Part", game.Players.LocalPlayer.Character)
  12. gun:BreakJoints()
  13. gun.CanCollide = false
  14. gun.Name = "Shotgun"
  15. mesh = Instance.new("SpecialMesh", gun)
  16. mesh.MeshId = "rbxassetid://477037714"
  17. mesh.TextureId = "rbxassetid://477037796"
  18. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  19. weld = Instance.new("Weld", gun)
  20. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  21. weld.Part1 = gun
  22. weld.C0 = weld.C0 * CFrame.Angles(-1.5,0,0) * CFrame.new(0,0,-2.5)
  23. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  24. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  25. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  26. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  27. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  28. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  29. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  30. lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  31. shot = Instance.new("Sound", gun)
  32. shot.Volume = 10
  33. shot.SoundId = "rbxassetid://276152532"
  34. pump = Instance.new("Sound", gun)
  35. pump.Volume = 10
  36. pump.SoundId = "rbxassetid://686423225"
  37. pump.PlaybackSpeed = 0.7
  38. function owtheedge()
  39. workspace.CurrentCamera.FieldOfView = 70 + music.PlaybackLoudness / 80
  40. end
  41. game:GetService("RunService").RenderStepped:connect(owtheedge)
  42. for i = 0,0.7 , 0.01 do
  43. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  44. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.399175882, -0.578536987, 0.978147507, 0.204753578, -0.0361040607, -0.0289359875, -0.0378959738, -0.998862624, -0.205888897, 0.978079677, -0.0311431047),i)
  45. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.472423553, 0.409558296, -1.4746933, 0.939692736, -0.342019886, -2.0985492e-06, 0.0238559935, 0.0655499771, -0.997564137, 0.341186911, 0.937403619, 0.0697560608),i)
  46. game:GetService("RunService").RenderStepped:wait()
  47. end
  48. using = false
  49. ammo = 5
  50. function shoot()
  51. if not using then
  52. using = true
  53. shot:Play()
  54. for i = 1,5 do
  55. local missle = Instance.new("Part", workspace)
  56. missle:BreakJoints()
  57. missle.Name = "bullet"
  58. missle.CanCollide = false
  59. missle.Material = "Neon"
  60. missle.Size = Vector3.new(0.1,0.1,0.1)
  61. missle.CFrame = gun.CFrame * CFrame.new(0,0,2)
  62. missle.Transparency = 1
  63. local vel = Instance.new("BodyVelocity", missle)
  64. vel.Velocity = mouse.Hit.lookVector * math.random(500,500) + Vector3.new(math.random(-50,50),math.random(-50,50),0)
  65. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  66. local function hit(part)
  67. local hitval = math.random(25,40)
  68. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  69. if humanoid then
  70. if humanoid.Health == math.huge or humanoid.Health >= 600 then
  71. humanoid.Health = 100
  72. end
  73. if humanoid.MaxHealth == math.huge or humanoid.MaxHealth >= 600 then
  74. humanoid.MaxHealth = 100
  75. end
  76. if humanoid.Parent.Name == game.Players.LocalPlayer.Name then
  77.  
  78. else
  79. if humanoid.Health < hitval then
  80. humanoid.JumpPower = 0
  81. humanoid.PlatformStand = true
  82. humanoid.WalkSpeed = 0
  83. local findlefthip = humanoid.Parent.Torso:findFirstChild("Left Hip")
  84. if findlefthip then
  85. findlefthip:Remove()
  86. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  87. glue.Part0 = humanoid.Parent.Torso
  88. glue.Part1 = humanoid.Parent["Left Leg"]
  89. glue.Name = "Left leg"
  90. local collider = Instance.new("Part", humanoid.Parent["Left Leg"])
  91. collider.Position = Vector3.new(0,999,0)
  92. collider.Size = Vector3.new(1.5, 1, 1)
  93. collider.Shape = "Cylinder"
  94. local weld = Instance.new("Weld", collider)
  95. weld.Part0 = humanoid.Parent["Left Leg"]
  96. weld.Part1 = collider
  97. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  98. collider.TopSurface = "Smooth"
  99. collider.BottomSurface = "Smooth"
  100. collider.formFactor = "Symmetric"
  101. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  102. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  103. collider.Transparency = 1
  104. end
  105. --
  106. local findrighthip = humanoid.Parent.Torso:findFirstChild("Right Hip")
  107. if findrighthip then
  108. findrighthip:Remove()
  109. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  110. glue.Part0 = humanoid.Parent.Torso
  111. glue.Part1 = humanoid.Parent["Right Leg"]
  112. glue.Name = "Right leg"
  113. local collider = Instance.new("Part", humanoid.Parent["Right Leg"])
  114. collider.Position = Vector3.new(0,999,0)
  115. collider.Size = Vector3.new(1.5, 1, 1)
  116. collider.Shape = "Cylinder"
  117. local weld = Instance.new("Weld", collider)
  118. weld.Part0 = humanoid.Parent["Right Leg"]
  119. weld.Part1 = collider
  120. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  121. collider.TopSurface = "Smooth"
  122. collider.BottomSurface = "Smooth"
  123. collider.formFactor = "Symmetric"
  124. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  125. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  126. collider.Transparency = 1
  127. end
  128. --
  129. local findrightshoulder = humanoid.Parent.Torso:findFirstChild("Right Shoulder")
  130. if findrightshoulder then
  131. findrightshoulder:Remove()
  132. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  133. glue.Part0 = humanoid.Parent.Torso
  134. glue.Part1 = humanoid.Parent["Right Arm"]
  135. glue.Name = "Right arm"
  136. local collider = Instance.new("Part", humanoid.Parent["Right Arm"])
  137. collider.Position = Vector3.new(0,999,0)
  138. collider.Size = Vector3.new(1.5, 1, 1)
  139. collider.Shape = "Cylinder"
  140. local weld = Instance.new("Weld", collider)
  141. weld.Part0 = humanoid.Parent["Right Arm"]
  142. weld.Part1 = collider
  143. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  144. collider.TopSurface = "Smooth"
  145. collider.BottomSurface = "Smooth"
  146. collider.formFactor = "Symmetric"
  147. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  148. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  149. collider.Transparency = 1
  150. end
  151. --
  152. local findleftshoulder = humanoid.Parent.Torso:findFirstChild("Left Shoulder")
  153. if findleftshoulder then
  154. findleftshoulder:Remove()
  155. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  156. glue.Part0 = humanoid.Parent.Torso
  157. glue.Part1 = humanoid.Parent["Left Arm"]
  158. glue.Name = "Left arm"
  159. local collider = Instance.new("Part", humanoid.Parent["Left Arm"])
  160. collider.Position = Vector3.new(0,999,0)
  161. collider.Size = Vector3.new(1.5, 1, 1)
  162. collider.Shape = "Cylinder"
  163. local weld = Instance.new("Weld", collider)
  164. weld.Part0 = humanoid.Parent["Left Arm"]
  165. weld.Part1 = collider
  166. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  167. collider.TopSurface = "Smooth"
  168. collider.BottomSurface = "Smooth"
  169. collider.formFactor = "Symmetric"
  170. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  171. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  172. collider.Transparency = 1
  173. end
  174. local findhead = humanoid.Parent:findFirstChild("Head")
  175. if findhead then
  176. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  177. attachment.Position = Vector3.new(0, -0.5, 0)
  178. attachment.Name = "lol"
  179. attachment.Visible = false
  180. humanoid.Parent.Torso.NeckAttachment.Visible = false
  181. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  182. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  183. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  184. ball.Attachment1 = attachment
  185. ball.LimitsEnabled = true
  186. ball.TwistLimitsEnabled = true
  187. ball.UpperAngle = 90
  188. ball.Restitution = 0.5
  189. ball.TwistUpperAngle = 90
  190. ball.TwistLowerAngle = -90
  191. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  192. collidepartofleftleg.Name = "Bone"
  193. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  194. collidepartofleftleg.Transparency = 1
  195. collidepartofleftleg:BreakJoints()
  196. local weeld = Instance.new("Weld", collidepartofleftleg)
  197. weeld.Part0 = collidepartofleftleg
  198. weeld.Part1 = humanoid.Parent["Head"]
  199. if humanoid.Parent.Torso:findFirstChild("Neck") then
  200. humanoid.Parent.Torso.Neck:destroy()
  201. end
  202. end
  203. wait(10)
  204. humanoid.Health = 0
  205. else
  206. humanoid.Health = humanoid.Health - hitval
  207. end
  208. end
  209. else
  210. if part.Name == "Shotgun" or "bullet" then
  211.  
  212. else
  213. missle:destroy()
  214. end
  215. end
  216. end
  217. missle.Touched:connect(hit)
  218. end
  219. for i = 0,1 , 0.07 do
  220. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  221. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  222. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.472423553, 0.748803854, -1.02752113, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  223. game:GetService("RunService").RenderStepped:wait()
  224. end
  225. for i = 0,1 , 0.05 do
  226. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  227. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  228. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.201648712, 0.903478384, -1.75520706, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  229. game:GetService("RunService").RenderStepped:wait()
  230. end
  231. pump:Play()
  232. for i = 0,1 , 0.05 do
  233. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  234. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  235. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.44393158, 0.765078783, -1.10408783, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  236. game:GetService("RunService").RenderStepped:wait()
  237. end
  238. for i = 0,1 , 0.05 do
  239. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  240. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  241. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.201648712, 0.903478384, -1.75520706, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  242. game:GetService("RunService").RenderStepped:wait()
  243. end
  244. for i = 0,0.7 , 0.04 do
  245. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  246. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.399175882, -0.578536987, 0.978147507, 0.204753578, -0.0361040607, -0.0289359875, -0.0378959738, -0.998862624, -0.205888897, 0.978079677, -0.0311431047),i)
  247. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.472423553, 0.409558296, -1.4746933, 0.939692736, -0.342019886, -2.0985492e-06, 0.0238559935, 0.0655499771, -0.997564137, 0.341186911, 0.937403619, 0.0697560608),i)
  248. game:GetService("RunService").RenderStepped:wait()
  249. end
  250. using = false
  251. end
  252. end
  253. mouse.Button1Down:connect(shoot)
  254.  
  255. wait(2)
  256. wait(2)
  257. ----Made by RealMrBrainEater, Tyefoodmania---
  258.  
  259. ----Credit to NextFlame for the derpy animation running sorry Idk how to animate yet </3
  260. ---- and Credits to EthanHong0407 for the humping animation, Fixing time stop and hump knife, and MUDA.
  261. function clerp(c1,c2,al)
  262. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  263. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  264. for i,v in pairs(com1) do
  265. com1[i] = v+(com2[i]-v)*al
  266. end
  267. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  268. end
  269.  
  270. local BeeSpeed= 100
  271.  
  272. plr = game:service'Players'.LocalPlayer
  273. plrgui = plr.PlayerGui
  274. char = plr.Character
  275. mouse = plr:GetMouse()
  276. humanoid = char:findFirstChild("Humanoid")
  277. torso = char:findFirstChild("Torso")
  278. head = char.Head
  279. ra = char:findFirstChild("Right Arm")
  280. la = char:findFirstChild("Left Arm")
  281. rl = char:findFirstChild("Right Leg")
  282. ll = char:findFirstChild("Left Leg")
  283. rs = torso:findFirstChild("Right Shoulder")
  284. ls = torso:findFirstChild("Left Shoulder")
  285. rh = torso:findFirstChild("Right Hip")
  286. lh = torso:findFirstChild("Left Hip")
  287. neck = torso:findFirstChild("Neck")
  288. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  289. rootpart = char:findFirstChild("HumanoidRootPart")
  290. camera = workspace.CurrentCamera
  291. anim = char:findFirstChild("Animate")
  292. frozen = false
  293. timestopcool = false
  294. humping = false
  295. mudaing = false
  296. knifeSpeed = 150
  297. stuffFrozen = {}
  298. frozenSounds = {}
  299. if anim then
  300. anim:Destroy()
  301. end
  302. local Create = LoadLibrary("RbxUtility").Create
  303. for i,v in pairs(char:children()) do
  304. if v:IsA("Hat") then
  305. v:Destroy()
  306. end
  307. end
  308. for i,v in pairs(char:children()) do
  309. if v:IsA("Accessory") then
  310. v:Destroy()
  311. end
  312. end
  313. for i,v in pairs(char:children()) do
  314. if v:IsA("Hair") then
  315. v:Destroy()
  316. end
  317. end
  318. head.face.Texture = "rbxassetid://396389196"
  319. local KonoDioDa = Instance.new("Part",char)
  320. KonoDioDa.Size = Vector3.new(1.67, 2.38, 1.7)
  321. KonoDioDa.CanCollide = false
  322. KonoDioDa.BrickColor = BrickColor.new("Fire Yellow")
  323. local KonoDioDa2 = Instance.new("SpecialMesh",KonoDioDa)
  324. KonoDioDa2.MeshId = "rbxassetid://867480786"
  325. KonoDioDa2.TextureId = "rbxassetid://591885543"
  326. KonoDioDa2.Offset = Vector3.new(0.08, 0, 0.3)
  327. KonoDioDa2.Scale = Vector3.new(0.04, 0.04, 0.04)
  328. local KonoDioDa3 = Instance.new("Weld",KonoDioDa)
  329. KonoDioDa3.Part0 = head
  330. KonoDioDa3.Part1 = KonoDioDa
  331. KonoDioDa3.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  332. char.Shirt.ShirtTemplate = "rbxassetid://536831523"
  333. char.Pants.PantsTemplate = "rbxassetid://547264976"
  334.  
  335. function chatfunc(text)
  336. local chat = coroutine.wrap(function()
  337. if char:FindFirstChild("TalkingBillBoard")~= nil then
  338. char:FindFirstChild("TalkingBillBoard"):destroy()
  339. end
  340. local naeeym2 = Instance.new("BillboardGui",char)
  341. naeeym2.Size = UDim2.new(0,100,0,40)
  342. naeeym2.StudsOffset = Vector3.new(0,3,0)
  343. naeeym2.Adornee = char.Head
  344. naeeym2.Name = "TalkingBillBoard"
  345. tecks2 = Instance.new("TextLabel",naeeym2)
  346. tecks2.BackgroundTransparency = 1
  347. tecks2.BorderSizePixel = 0
  348. tecks2.Text = ""
  349. tecks2.Font = "Fantasy"
  350. tecks2.TextSize = 30
  351. tecks2.TextStrokeTransparency = 0
  352. tecks2.TextColor3 = Color3.new(0,0,0)
  353. tecks2.TextStrokeColor3 = Color3.new(0,0,255)
  354. tecks2.Size = UDim2.new(1,0,0.5,0)
  355. local tecks3 = Instance.new("TextLabel",naeeym2)
  356. tecks3.BackgroundTransparency = 1
  357. tecks3.BorderSizePixel = 0
  358. tecks3.Text = ""
  359. tecks3.Font = "Fantasy"
  360. tecks3.TextSize = 30
  361. tecks3.TextStrokeTransparency = 0
  362. tecks3.TextColor3 = Color3.new(255,255,0)
  363. tecks3.TextStrokeColor3 = Color3.new(0,255,0)
  364. tecks3.Size = UDim2.new(1,0,0.5,0)
  365. for i = 1,string.len(text),1 do
  366.  
  367. tecks2.Text = string.sub(text,1,i)
  368. tecks3.Text = string.sub(text,1,i)
  369. wait(0.01)
  370. end
  371. wait(2)
  372. for i = 1, 50 do
  373.  
  374. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  375. tecks2.Rotation = tecks2.Rotation - .8
  376. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  377. tecks2.TextTransparency = tecks2.TextTransparency + .04
  378. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  379. tecks3.Rotation = tecks2.Rotation + .8
  380. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  381. tecks3.TextTransparency = tecks2.TextTransparency + .04
  382. end
  383. naeeym2:Destroy()
  384. end)
  385. chat()
  386.  
  387. end
  388. function onChatted(msg)
  389. chatfunc(msg)
  390.  
  391. end
  392. plr.Chatted:connect(onChatted)
  393.  
  394. function timeFreezeFunction()
  395. function spread(model)
  396. for i,p in pairs(model:GetChildren()) do
  397. spread(p)
  398. if p.Name == "Humanoid" and p:IsDescendantOf(char) == false then
  399. for i,d in pairs(p.Parent:GetChildren()) do
  400. if d:IsA("BasePart") and d:IsDescendantOf(char) == false and d.Name ~= "HumanoidRootPart" and d.Anchored == false and stuffFrozen[d] == nil then
  401. table.insert(stuffFrozen, d)
  402. d.Anchored = true
  403. elseif d:IsA("Sound") and d.IsPlaying then
  404. table.insert(frozenSounds, d)
  405. d:Pause()
  406. end
  407. end
  408. end
  409. end
  410. end
  411. spread(workspace)
  412. end
  413.  
  414. abss = Instance.new("BillboardGui",char)
  415. abss.Size = UDim2.new(10,0,10,0)
  416. abss.Enabled = false
  417. abss.Name = "KONODIODA"
  418. imgl = Instance.new("ImageLabel",abss)
  419. imgl.Position = UDim2.new(0,0,0,0)
  420. imgl.Size = UDim2.new(1,0,1,0)
  421. imgl.Image = "rbxassetid://711463989"
  422. imgl.BackgroundTransparency = 1
  423. imgl.ImageColor3 = Color3.new(0,255,255)
  424. img2 = Instance.new("ImageLabel",abss)
  425. img2.Position = UDim2.new(0,0,0,0)
  426. img2.Size = UDim2.new(1,0,1,0)
  427. img2.Image = "rbxassetid://711463989"
  428. img2.BackgroundTransparency = 1
  429. img2.ImageColor3 = Color3.new(0,255,255)
  430.  
  431.  
  432. animation = Instance.new("Animation",script.Parent) -- Pose Wink Wonk
  433. animation.AnimationId = 'rbxassetid://965558263'
  434.  
  435. local animTrack = humanoid:LoadAnimation(animation)
  436.  
  437.  
  438. --Sounds
  439. --Folder
  440. soundfolder = Instance.new("Model",char)
  441. soundfolder.Name = "Sound Folder"
  442. --Sounds
  443. yes = Instance.new("Sound",soundfolder)
  444. yes.Volume = 30
  445. yes.Name = "Jojo"
  446. yes.Looped = true
  447. yes.SoundId = "rbxassetid://626066737"
  448. KonoDioDAA = Instance.new("Sound",soundfolder)
  449. KonoDioDAA.Volume = 30
  450. KonoDioDAA.Name = "Dio"
  451. KonoDioDAA.Looped = false
  452. KonoDioDAA.SoundId = "rbxassetid://686423225"
  453. WhatKindOfDioIsThis = Instance.new("Sound",soundfolder)
  454. WhatKindOfDioIsThis.Volume = 30
  455. WhatKindOfDioIsThis.Name = "Bakana"
  456. WhatKindOfDioIsThis.Looped = true
  457. WhatKindOfDioIsThis.SoundId = "rbxassetid://664294083"
  458. NANI = Instance.new("Sound",soundfolder)
  459. NANI.Volume = 30
  460. NANI.Name = "Japanese Screeching"
  461. NANI.Looped = false
  462. NANI.SoundId = "rbxassetid://853224808"
  463. Stop = Instance.new("Sound",soundfolder)
  464. Stop.Volume = 5
  465. Stop.Name = "Oof"
  466. Stop.Looped = false
  467. Stop.SoundId = "rbxassetid://1055792303"
  468. Stop2 = Instance.new("Sound",soundfolder)
  469. Stop2.Volume = 1
  470. Stop2.Name = "Of"
  471. Stop2.Looped = false
  472. Stop2.SoundId = "rbxassetid://840567549"
  473. Stop3 = Instance.new("Sound",soundfolder)
  474. Stop3.Volume = 10
  475. Stop3.Name = "O0f"
  476. Stop3.Looped = false
  477. Stop3.SoundId = "rbxassetid://274699177"
  478. Start = Instance.new("Sound",soundfolder)
  479. Start.Volume = 10
  480. Start.Name = "00f"
  481. Start.Looped = false
  482. Start.SoundId = "rbxassetid://1054568598"
  483. Start2 = Instance.new("Sound",soundfolder)
  484. Start2.Volume = 4
  485. Start2.Name = "HaiDer"
  486. Start2.Looped = false
  487. Start2.SoundId = "rbxassetid://864569342"
  488. Start2d = Instance.new("Sound",soundfolder)
  489. Start2d.Volume = 5
  490. Start2d.Name = "HaiDer2"
  491. Start2d.Looped = false
  492. Start2d.SoundId = "rbxassetid://491887941"
  493. Wrry = Instance.new("Sound",soundfolder)
  494. Wrry.Volume = 30
  495. Wrry.Name = "Wry"
  496. Wrry.Looped = false
  497. Wrry.SoundId = "rbxassetid://445339523"
  498. Muda = Instance.new("Sound", soundfolder)
  499. Muda.Volume = 4
  500. Muda.Name = "Muda"
  501. Muda.Looped = false
  502. Muda.SoundId = "rbxassetid://601465752"
  503. -------------------------------------------
  504.  
  505. wait(1)
  506.  
  507. local rm = Instance.new("Motor", torso)
  508. rm.C0 = CFrame.new(1.5, 0.5, 0)
  509. rm.C1 = CFrame.new(0, 0.5, 0)
  510. rm.Part0 = torso
  511. rm.Part1 = ra
  512. rm.Name = 'Right Shoulder'
  513.  
  514. local lm = Instance.new("Motor", torso)
  515. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  516. lm.C1 = CFrame.new(0, 0.5, 0)
  517. lm.Part0 = torso
  518. lm.Part1 = la
  519. lm.Name = 'Left Shoulder'
  520.  
  521. local rlegm = Instance.new("Motor", torso)
  522. rlegm.C0 = CFrame.new(0.5, -1, 0)
  523. rlegm.C1 = CFrame.new(0, 1, 0)
  524. rlegm.Part0 = torso
  525. rlegm.Part1 = rl
  526. local llegm = Instance.new("Motor", torso)
  527. llegm.C0 = CFrame.new(-0.5, -1, 0)
  528. llegm.C1 = CFrame.new(0, 1, 0)
  529. llegm.Part0 = torso
  530. llegm.Part1 = ll
  531.  
  532. rj.C0 = CFrame.new()
  533. rj.C1 = CFrame.new()
  534.  
  535. neck.C0 = CFrame.new(0, 1, 0)
  536. neck.C1 = CFrame.new(0, -0.5, 0)
  537.  
  538. local speed = 0.3
  539. local angle = 0
  540. local anglespeed = 1
  541. rsc0 = rm.C0
  542. lsc0 = lm.C0
  543. llc0 = llegm.C0
  544. rlc0 = rlegm.C0
  545. rootc0 = rj.C0
  546. neckc0 = neck.C0
  547. ----------------------------------------------
  548. wait()
  549. function descend(obj,class,func)
  550. for i,v in pairs(obj:GetChildren()) do
  551. if v:IsA(class) then
  552. func(v)
  553. end
  554. descend(v,class,func)
  555. end
  556. end
  557. local pls = game:GetService("Players").LocalPlayer
  558. function initiateCharacter(char)
  559. if not char then return end
  560. wait()
  561. descend(char,"BasePart",function(obj)
  562. obj.Anchored = false
  563. obj.Changed:connect(function()
  564. if obj.Anchored then
  565. obj.Anchored = false
  566. end
  567. end)
  568. end)
  569. descend(char,"Humanoid",function(obj)
  570. obj.WalkSpeed = 16
  571. obj.Changed:connect(function()
  572. if obj.WalkSpeed == 0 then
  573. obj.WalkSpeed = 16
  574. end
  575. end)
  576. end)
  577. end
  578. initiateCharacter(pls.Character)
  579. pls.CharacterAdded:connect(function(c)
  580. initiateCharacter(c)
  581. end)
  582. ----------------------------------------------
  583. mouse.KeyDown:connect(function(key)
  584. if key == "m" then
  585. yes:Play()
  586. wait(2)
  587. end
  588.  
  589. end)
  590.  
  591. mouse.KeyDown:connect(function(key)
  592. if key == "x" then
  593. yes:Stop()
  594. WhatKindOfDioIsThis:Stop()
  595. wait(2)
  596. end
  597.  
  598. end)
  599.  
  600.  
  601. mouse.KeyDown:connect(function(key)
  602. if key == "n" then
  603. KonoDioDAA:Play()
  604. wait(0.3)
  605. chatfunc("KONO DIO DA!!!")
  606. head.face.Texture = "rbxassetid://605435926"
  607. wait(0.1)
  608. head.face.Texture = "rbxassetid://849833250"
  609. wait(0.1)
  610. head.face.Texture = "rbxassetid://605435926"
  611. wait(0.1)
  612. head.face.Texture = "rbxassetid://849833250"
  613. wait(0.1)
  614. head.face.Texture = "rbxassetid://605435926"
  615. wait(0.2)
  616. head.face.Texture = "rbxassetid://849833250"
  617. wait(0.1)
  618. head.face.Texture = "rbxassetid://849833250"
  619. wait(0.1)
  620. head.face.Texture = "rbxassetid://605435926"
  621. wait(0.2)
  622. head.face.Texture = "rbxassetid://849833250"
  623. wait(0.2)
  624. head.face.Texture = "rbxassetid://396389196"
  625. wait(1)
  626. chatfunc("")
  627. wait(0.2)
  628. end
  629.  
  630. end)
  631.  
  632. mouse.KeyDown:connect(function(key)
  633. if key == "b" then
  634. WhatKindOfDioIsThis:Play()
  635. wait(0.3)
  636. chatfunc("What a beautiful KONO DIO DA")
  637. wait(1.8)
  638. end
  639.  
  640. end)
  641.  
  642. mouse.KeyDown:connect(function(key)
  643. if key == "v" then
  644. yes:Play()
  645. wait(2)
  646. end
  647.  
  648. end)
  649.  
  650. mouse.KeyDown:connect(function(key)
  651. if key == "f" then
  652. Wrry:Play()
  653. wait(0.1)
  654. chatfunc("WRRRRRRY")
  655. head.face.Texture = "rbxassetid://605435926"
  656. wait(0.3)
  657. head.face.Texture = "rbxassetid://849833250"
  658. wait(1.5)
  659. head.face.Texture = "rbxassetid://396389196"
  660. wait(0.1)
  661. wait(1.65)
  662. end
  663.  
  664. end)
  665.  
  666. mouse.KeyDown:connect(function(key)
  667. if key == "g" then
  668. NANI:Play()
  669. chatfunc("CHO I TOMO IMO MANUHINGA . . . . . HINJAKU HINJAKU!")
  670. head.face.Texture = "rbxassetid://605435926"
  671. wait(0.1)
  672. head.face.Texture = "rbxassetid://849833250"
  673. wait(0.1)
  674. head.face.Texture = "rbxassetid://605435926"
  675. wait(0.1)
  676. head.face.Texture = "rbxassetid://849833250"
  677. wait(0.1)
  678. head.face.Texture = "rbxassetid://605435926"
  679. wait(0.2)
  680. head.face.Texture = "rbxassetid://849833250"
  681. wait(0.1)
  682. head.face.Texture = "rbxassetid://849833250"
  683. wait(0.1)
  684. head.face.Texture = "rbxassetid://605435926"
  685. wait(0.2)
  686. head.face.Texture = "rbxassetid://849833250"
  687. wait(0.1)
  688. head.face.Texture = "rbxassetid://605435926"
  689. wait(0.1)
  690. head.face.Texture = "rbxassetid://849833250"
  691. wait(0.1)
  692. head.face.Texture = "rbxassetid://605435926"
  693. wait(0.1)
  694. head.face.Texture = "rbxassetid://849833250"
  695. wait(0.1)
  696. head.face.Texture = "rbxassetid://605435926"
  697. wait(0.2)
  698. head.face.Texture = "rbxassetid://849833250"
  699. wait(0.1)
  700. head.face.Texture = "rbxassetid://849833250"
  701. wait(0.1)
  702. head.face.Texture = "rbxassetid://605435926"
  703. wait(0.2)
  704. head.face.Texture = "rbxassetid://849833250"
  705. wait(0.2)
  706. head.face.Texture = "rbxassetid://396389196"
  707. wait(1)
  708. head.face.Texture = "rbxassetid://605435926"
  709. wait(0.1)
  710. head.face.Texture = "rbxassetid://849833250"
  711. wait(0.1)
  712. head.face.Texture = "rbxassetid://605435926"
  713. wait(0.1)
  714. head.face.Texture = "rbxassetid://849833250"
  715. wait(0.1)
  716. head.face.Texture = "rbxassetid://605435926"
  717. wait(0.2)
  718. head.face.Texture = "rbxassetid://849833250"
  719. wait(0.1)
  720. head.face.Texture = "rbxassetid://849833250"
  721. wait(0.1)
  722. head.face.Texture = "rbxassetid://605435926"
  723. wait(0.2)
  724. head.face.Texture = "rbxassetid://849833250"
  725. wait(0.1)
  726. head.face.Texture = "rbxassetid://605435926"
  727. wait(0.1)
  728. head.face.Texture = "rbxassetid://849833250"
  729. wait(0.1)
  730. head.face.Texture = "rbxassetid://605435926"
  731. wait(0.1)
  732. head.face.Texture = "rbxassetid://849833250"
  733. wait(0.1)
  734. head.face.Texture = "rbxassetid://605435926"
  735. wait(0.5)
  736. head.face.Texture = "rbxassetid://396389196"
  737. wait(0.1)
  738. end
  739.  
  740. end)
  741.  
  742. canworld = true
  743. mouse.KeyDown:connect(function(key)
  744. if key == "t" and not frozen then
  745. if canworld == false then return end
  746. if canworld then
  747. canworld = false
  748. Stop:Play()
  749. chatfunc("ZA WARUDO!!!")
  750. head.face.Texture = "rbxassetid://605435926"
  751. wait(0.1)
  752. head.face.Texture = "rbxassetid://849833250"
  753. wait(0.3)
  754. head.face.Texture = "rbxassetid://605435926"
  755. wait(0.1)
  756. head.face.Texture = "rbxassetid://849833250"
  757. wait(0.3)
  758. head.face.Texture = "rbxassetid://605435926"
  759. wait(0.1)
  760. head.face.Texture = "rbxassetid://849833250"
  761. wait(0.1)
  762. head.face.Texture = "rbxassetid://605435926"
  763. wait(0.1)
  764. head.face.Texture = "rbxassetid://396389196"
  765. wait(0.8)
  766. wait(1.5)
  767. Stop3:Play()
  768. head.face.Texture = "rbxassetid://605435926"
  769. wait(0.1)
  770. head.face.Texture = "rbxassetid://849833250"
  771. wait(0.1)
  772. head.face.Texture = "rbxassetid://605435926"
  773. wait(0.1)
  774. head.face.Texture = "rbxassetid://849833250"
  775. wait(0.1)
  776. head.face.Texture = "rbxassetid://849833250"
  777. wait(0.1)
  778. head.face.Texture = "rbxassetid://605435926"
  779. wait(0.1)
  780. head.face.Texture = "rbxassetid://849833250"
  781. wait(0.4)
  782. head.face.Texture = "rbxassetid://605435926"
  783. wait(0.1)
  784. head.face.Texture = "rbxassetid://396389196"
  785.  
  786. local function spawnpart()
  787. sphere = Instance.new("Part")
  788. game.Debris:AddItem(sphere,3)
  789. local sm = Instance.new("SpecialMesh", sphere)
  790. sm.MeshType = "Sphere"
  791. sphere.Transparency = 0.5
  792. sphere.Anchored = true
  793. sphere.CanCollide = false
  794. sphere.Material = "Neon"
  795. sphere.BrickColor = BrickColor.new("Black")
  796. end
  797.  
  798. local function weld(lol)
  799. local weld = Instance.new("Weld", plr.Character.Torso)
  800. weld.Part0 = plr.Character.Torso
  801. weld.Part1 = lol
  802. weld.C0 = plr.Character.Torso.CFrame:inverse()
  803. weld.C1 = lol.CFrame:inverse()
  804. end
  805. wait()
  806. spawnpart()
  807.  
  808. weld(sphere)
  809. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  810. cce.Saturation = -5
  811. knifeSpeed = 0
  812. --game.Debris:AddItem(cce, 5)
  813. sphere.Parent = char.Torso
  814. for i = 1,3 do
  815. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  816. wait()
  817. end
  818. wait()
  819. sphere:Destroy()
  820. BeeSpeed = 0
  821. frozen = true
  822. cce.Saturation = -0.1
  823. wait(0.3)
  824. cce.Saturation = -0.2
  825. wait(0.3)
  826. cce.Saturation = -0.3
  827. wait(0.2)
  828. cce.Saturation = -1.5
  829. wait()
  830.  
  831. canworld = true
  832.  
  833. end
  834. end
  835. end
  836. )
  837.  
  838. mouse.KeyDown:connect(function(key)
  839. key = key:lower()
  840. if key == "y" and frozen and canworld then
  841. canworld = false
  842. chatfunc("Time continues moving again.")
  843. Start:Play()
  844. head.face.Texture = "rbxassetid://605435926"
  845. wait(0.1)
  846. head.face.Texture = "rbxassetid://849833250"
  847. wait(0.1)
  848. head.face.Texture = "rbxassetid://605435926"
  849. wait(0.2)
  850. head.face.Texture = "rbxassetid://849833250"
  851. wait(0.1)
  852. head.face.Texture = "rbxassetid://605435926"
  853. wait(0.1)
  854. head.face.Texture = "rbxassetid://849833250"
  855. wait(0.1)
  856. head.face.Texture = "rbxassetid://849833250"
  857. wait(0.1)
  858. head.face.Texture = "rbxassetid://605435926"
  859. wait(0.1)
  860. head.face.Texture = "rbxassetid://849833250"
  861. wait(0.1)
  862. head.face.Texture = "rbxassetid://605435926"
  863. wait(0.1)
  864. head.face.Texture = "rbxassetid://849833250"
  865. wait(0.1)
  866. head.face.Texture = "rbxassetid://605435926"
  867. wait(0.1)
  868. head.face.Texture = "rbxassetid://396389196"
  869. wait(0.5)
  870. Start2:Play()
  871. Start2d:Play()
  872. wait()
  873. BeeSpeed = 1
  874. cce.Saturation = -1.3
  875. wait(0.5)
  876. BeeSpeed = 1.2
  877. cce.Saturation = -0.5
  878. wait(0.5)
  879. BeeSpeed = 1.4
  880. cce.Saturation = -0.4
  881. wait(0.3)
  882. BeeSpeed = 1.5
  883. cce.Saturation = -0.2
  884. wait(0.2)
  885. cce.Saturation = 0
  886.  
  887. for i, v in pairs(game.Players:GetChildren()) do
  888. t = v.Character:FindFirstChild("Torso")
  889. if t then
  890. t.Anchored = false
  891. end
  892. RA = v.Character:FindFirstChild("Right Arm")
  893. if RA then
  894. RA.Anchored = false
  895. end
  896. LA = v.Character:FindFirstChild("Left Arm")
  897. if LA then
  898. LA.Anchored = false
  899. end
  900. RL = v.Character:FindFirstChild("Right Leg")
  901. if RL then
  902. RL.Anchored = false
  903. end
  904. LL = v.Character:FindFirstChild("Left Leg")
  905. if LL then
  906. LL.Anchored = false
  907. end
  908. end
  909. BeeSpeed = 100
  910. knifeSpeed = 150
  911. canworld = true
  912. frozen = false
  913. tecks2.Text = plr.Name
  914.  
  915. end
  916. end)
  917.  
  918. humanoid.Died:connect(function()
  919. frozen = false
  920. if cce then
  921. cce:Remove()
  922. end
  923. end)
  924. mouse.KeyDown:connect(function(k)
  925. if string.byte(k) == 48 then
  926. humanoid.WalkSpeed = 24
  927. end
  928. end)
  929.  
  930. mouse.KeyUp:connect(function(k)
  931. if string.byte(k) == 48 then
  932. humanoid.WalkSpeed = 16
  933. end
  934. end)
  935.  
  936. local action = 'None'
  937. plr.Chatted:connect(function(msg)
  938. if msg == '/e dance' or msg == '/emote dance' then
  939. action = 'Dance'
  940. end
  941. if msg == '/e wrry' or msg == '/emote wrry' then
  942. action = 'Wrrrry'
  943. end
  944. end)
  945.  
  946.  
  947. local dance_move_wait = 0
  948.  
  949. game:service'RunService'.RenderStepped:connect(function()
  950. rm.MaxVelocity = 0
  951. lm.MaxVelocity = 0
  952. rm.DesiredAngle = 0
  953. rm.CurrentAngle = 0
  954. lm.DesiredAngle = 0
  955. lm.CurrentAngle = 0
  956. angle = (angle % 100) + anglespeed/10
  957. mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  958. local rscf = rsc0
  959. local lscf = lsc0
  960. local rlcf = rlc0
  961. local llcf = llc0
  962. local rjcf = rootc0
  963. local ncf = neckc0
  964. local ray = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0))
  965. local hitz, enz = workspace:FindPartOnRay(ray, char)
  966. for i,object in pairs(char:children()) do
  967. if object:IsA("Tool") then
  968. tool = true
  969. if not debounce then
  970. for x,value in pairs(object:children()) do
  971. if value:IsA("StringValue") and value.Name == "toolanim" and value.Value == "Slash" then
  972. debounce = true
  973. coroutine.wrap(function()
  974. slashing = true
  975. wait(.15)
  976. slashing = false
  977. debounce = false
  978. end)()
  979. value:Destroy()
  980. end
  981. end
  982. end
  983. elseif not object:IsA'Tool' then
  984. tool = false
  985. end
  986. end
  987. if action == 'Dance' then
  988. anglespeed = 2
  989. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  990. rjcf = rootc0 * CFrame.Angles(math.rad(2), math.sin(angle)*.15, 0)
  991. 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)
  992. 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)
  993. rlcf = rlc0 * CFrame.new(0, .3 + math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0)
  994. llcf = llc0 * CFrame.new(0, .3 - math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0)
  995. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0)
  996. else
  997. action = 'None'
  998. end
  999. elseif action == 'prepareHump' then
  1000. --animations by ethan
  1001. ncf = neckc0 * CFrame.Angles(math.rad(40), 0, 0)
  1002. rjcf = rootc0 * CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(-45), 0, 0)
  1003. rscf = rsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0)
  1004. lscf = lsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0)
  1005. rlcf = rlc0 * CFrame.Angles(math.rad(90), 0, 0)
  1006. llcf = llc0 * CFrame.Angles(math.rad(90), 0, 0)
  1007. elseif action == 'Hump' then
  1008. --animations by ethan
  1009. ncf = neckc0 * CFrame.Angles(math.rad(-10), 0, 0)
  1010. rjcf = rootc0 * CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(45), 0, 0)
  1011. rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10))
  1012. lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10))
  1013. rlcf = rlc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10))
  1014. llcf = llc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10))
  1015. elseif action == "Muda1" then
  1016.  
  1017. ncf = neckc0 * CFrame.Angles(0, math.rad(-30), 0)
  1018. rjcf = rootc0 * CFrame.Angles(0, math.rad(45), 0)
  1019. rscf = rsc0 * CFrame.Angles(math.rad(90), 0, math.rad(10))
  1020. lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10))
  1021. rlcf = rlc0 * CFrame.Angles(math.rad(45), 0, math.rad(10))
  1022. llcf = llc0 * CFrame.Angles(math.rad(-45), 0, math.rad(-10))
  1023. elseif action == "Muda2" then
  1024.  
  1025. ncf = neckc0 * CFrame.Angles(0, math.rad(30), 0)
  1026. rjcf = rootc0 * CFrame.Angles(0, math.rad(-45), 0)
  1027. rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10))
  1028. lscf = lsc0 * CFrame.Angles(math.rad(90), 0, math.rad(-10))
  1029. rlcf = rlc0 * CFrame.Angles(math.rad(-45), 0, math.rad(10))
  1030. llcf = llc0 * CFrame.Angles(math.rad(45), 0, math.rad(-10))
  1031. elseif action == 'Wrrrry' then
  1032. anglespeed = 1+math.random()
  1033. dance_move_wait = (dance_move_wait%40) + 1/60
  1034. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  1035. if dance_move_wait <= 20 then
  1036. rjcf = rootc0 * CFrame.new(0, -.2, .6) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0)
  1037. 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)
  1038. 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)
  1039. rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, .1)
  1040. llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, -.1)
  1041. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0)
  1042. elseif dance_move_wait > 20 then
  1043. rjcf = rootc0 * CFrame.new(0, -.2, -.6) * CFrame.Angles(-math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0)
  1044. 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)
  1045. 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)
  1046. rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, .1)
  1047. llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, -.1)
  1048. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0)
  1049. end
  1050.  
  1051. else
  1052. action = 'None'
  1053. end
  1054. elseif not hitz and (torso.Velocity.y > 1 or torso.Velocity.y < -1) then
  1055. anglespeed = 3
  1056. rjcf = rootc0 * CFrame.Angles(math.rad(5), 0, 0)
  1057. rscf = rsc0 * CFrame.Angles(math.rad(130) + math.sin(angle)*.8, 0, .15)
  1058. lscf = lsc0 * CFrame.Angles(math.rad(130) + -math.sin(angle)*.8, 0, -.15)
  1059. 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)
  1060. 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)
  1061. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.8, 0)
  1062. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  1063. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 20 then
  1064. anglespeed = 2
  1065. 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)
  1066. rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.7, 0, .05)
  1067. lscf = lsc0 * CFrame.Angles(-math.sin(angle)*1.7, 0, -.05)
  1068. rlcf = rlc0 * CFrame.Angles(-math.sin(angle)*1.4, 0, 0)
  1069. llcf = llc0 * CFrame.Angles(math.sin(angle)*1.4, 0, 0)
  1070. ncf = neckc0 * CFrame.Angles(-math.rad(30) + math.abs(math.sin(angle))*.95, math.sin(angle)*.8, 0)
  1071. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 20 then
  1072. anglespeed = 2.5
  1073. 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)
  1074. 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)
  1075. 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)
  1076. 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))
  1077. 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))
  1078. ncf = neckc0 * CFrame.Angles(math.cos(angle), math.sin(angle), 0)
  1079. end
  1080. if tool then
  1081. rscf = rsc0 * CFrame.Angles(math.pi/2, 0, 0)
  1082. if slashing then
  1083. rscf = rsc0 * CFrame.Angles(-math.pi/12, 0, -.1)
  1084. end
  1085. end
  1086. rm.C0 = clerp(rm.C0,rscf,speed)
  1087. lm.C0 = clerp(lm.C0,lscf,speed)
  1088. rj.C0 = clerp(rj.C0,rjcf,speed)
  1089. neck.C0 = clerp(neck.C0,ncf,speed)
  1090. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  1091. llegm.C0 = clerp(llegm.C0,llcf,speed)
  1092. if frozen then
  1093. timeFreezeFunction()
  1094. else
  1095.  
  1096. for i,p in pairs(stuffFrozen) do
  1097. p.Anchored = false
  1098. end
  1099. for i,s in pairs(frozenSounds) do
  1100. s:Resume()
  1101. end
  1102. stuffFrozen = {}
  1103. frozenSounds = {}
  1104. end
  1105. end)
  1106.  
  1107. function punchDamage()
  1108. coroutine.resume(coroutine.create(function()
  1109. function Damage(model)
  1110. for i,s in pairs(model:GetChildren()) do
  1111. Damage(s)
  1112. if s.Name == "HumanoidRootPart" or s.Name == "Torso" and s:IsA("BasePart") then
  1113. if (rootpart.Position - s.Position).magnitude < 4 then
  1114. local vichum = s.Parent:FindFirstChild("Humanoid")
  1115. if vichum and vichum ~= humanoid then
  1116. local punch = Instance.new("Sound", soundfolder)
  1117. punch.Volume = 3
  1118. punch.Name = "POOCH"
  1119. punch.SoundId = "rbxassetid://511340819"
  1120. punch:Play()
  1121. game:GetService("Debris"):AddItem(punch, 2)
  1122. repeat wait() until not frozen
  1123. if vel then
  1124. vel:Remove()
  1125. end
  1126.  
  1127. vel = Instance.new("BodyVelocity", s)
  1128. vel.Velocity = CFrame.new(s.CFrame.p, rootpart.CFrame.lookVector * 120).lookVector
  1129. game:GetService("Debris"):AddItem(vel, 0.25)
  1130.  
  1131. vichum:TakeDamage(15 +(math.random(-10, 10)/10))
  1132. end
  1133. end
  1134. end
  1135. end
  1136. end
  1137.  
  1138. Damage(workspace)
  1139. end))
  1140. end
  1141.  
  1142. mouse.KeyDown:connect(function(k)
  1143. if k == "q" and not humping then
  1144.  
  1145. humping = true
  1146. action = 'prepareHump'
  1147. wait(0.25)
  1148. action = 'Hump'
  1149. wait(0.03)
  1150. local knife = Instance.new("Part", char)
  1151. knife.Size = Vector3.new(0.2, 0.4, 2)
  1152. knife.CanCollide = false
  1153. knife.Anchored = false
  1154. knife:BreakJoints()
  1155. knife.CFrame = rootpart.CFrame * CFrame.new(0, -1, -2)
  1156. 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)
  1157. knife.BrickColor = BrickColor.new("Buttermilk")
  1158. local knifeMesh = Instance.new("SpecialMesh", knife)
  1159. knifeMesh.MeshId = "rbxassetid://202083123"
  1160. local vel = Instance.new("BodyVelocity", knife)
  1161. knife.Touched:connect(function(part)
  1162. if part.Parent ~= nil then
  1163. local vichum = part.Parent:FindFirstChild("Humanoid")
  1164. if vichum and vichum ~= humanoid then
  1165. local stabbedKnife = knife:Clone()
  1166. stabbedKnife.Parent = workspace
  1167. stabbedKnife:WaitForChild("BodyVelocity"):Remove()
  1168. local stabweld = Instance.new("Weld", stabbedKnife)
  1169. stabweld.Part0 = part
  1170. stabweld.Part1 = stabbedKnife
  1171. stabweld.C0 = part.CFrame:toObjectSpace(knife.CFrame)
  1172. knife:Destroy()
  1173. repeat wait() until not frozen
  1174. game:GetService("Debris"):AddItem(stabbedKnife, 10)
  1175. vichum:TakeDamage(16, 24)
  1176. end
  1177. end
  1178. end)
  1179. coroutine.wrap(function()
  1180. game:GetService("RunService").RenderStepped:connect(function()
  1181. vel.Velocity = knife.CFrame.lookVector * knifeSpeed
  1182. if (knife.Position - rootpart.Position).magnitude > 500 then
  1183.  
  1184. knife:Destroy()
  1185. end
  1186. end)
  1187. end)()
  1188.  
  1189. wait(0.47)
  1190. humping = false
  1191. action = 'None'
  1192. elseif k == "e" and not mudaing then
  1193. speed = 0.8
  1194. Muda:Play()
  1195. mudaing = true
  1196. for i = 1,39 do
  1197. action = "Muda1"
  1198. punchDamage()
  1199. wait(0.03)
  1200. action = "Muda2"
  1201. punchDamage()
  1202. wait(0.03)
  1203. end
  1204.  
  1205.  
  1206. wait()
  1207. action = 'None'
  1208. speed = 0.3
  1209. mudaing = false
  1210. end
  1211. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement